/* /pro/: Havely Pro. The hero and the close are the night of the Pro icon (plum, a warm glow, the golden house) as
   wide rounded panels, whatever the light/dark setting; the rest follows the site's tokens (site.css) and sits open on
   the page, like the homepage. Gold is for Pro only. assets/pro/pro.js runs the Yearly / Monthly switch. */
.pro-page { --gold-1: #FFF1BF; --gold-2: #FFDD80; --gold-3: #F4BF4F; --night-1: #3E2649; --night-2: #1B1022; --on-night: #FFF6F0; --night-muted: #D6C6DA; }
section.pv-hero, section.pv-sec, section.pv-offer, section.pv-end { padding-block: 0; }

/* ── 1 · hero: the Pro night over the full width, from the very top (it runs on under the floating menu bar),
   centred, the Pro icon in a warm glow ── */
.pv-hero { padding: 0 !important; margin-top: -96px; }
.pv-panel { position: relative; overflow: hidden; isolation: isolate; color: var(--on-night); color-scheme: dark;
  padding: calc(96px + clamp(40px, 6vh, 80px)) 24px clamp(48px, 7vh, 88px);
  background:
    radial-gradient(36% 34% at 50% 20%, rgba(255, 214, 120, .17), transparent 70%),
    radial-gradient(70% 55% at 50% 0%, #563463 0%, transparent 65%),
    linear-gradient(180deg, #3A2244 0%, #26162E 55%, var(--night-2) 100%); }
.pro-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pro-sky i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); background: #FFE08A;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: .7; animation: pro-twinkle 3.8s ease-in-out var(--d) infinite; }
@keyframes pro-twinkle { 0%, 100% { opacity: .75; scale: 1; } 50% { opacity: .2; scale: .6; } }
.pro-hero-inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 20px; padding-bottom: clamp(36px, 6vh, 64px); }
.pro-mark { margin: 0; line-height: 0; }
.pro-mark { margin-top: -4px; }
.pro-mark img { height: clamp(40px, 4.2vw, 54px); width: auto; }
.pro-h1 { font-size: clamp(42px, 6.4vw, 86px); line-height: .98; letter-spacing: -0.045em; max-width: 12em; color: var(--on-night); }
.pro-h1 span { display: block; }
.pro-h1 em { display: block; font-style: normal; padding-bottom: .06em;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 50%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not (background-clip: text) { .pro-h1 em { color: var(--gold-2); } }
.pro-lead { font-size: clamp(17px, 1.55vw, 20px); color: var(--night-muted); max-width: 33em; }
.pro-prices { list-style: none; margin: 4px 0 0; padding: 6px; display: inline-flex; gap: 6px; border-radius: 24px;
  background: rgba(255, 246, 240, .06); border: 1px solid rgba(255, 246, 240, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pro-price-opt { display: grid; justify-items: center; gap: 4px; padding: 10px 20px 12px; border-radius: 18px; min-width: 150px; }
.pro-price-opt.yearly { background: rgba(255, 221, 128, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 221, 128, .55); }
.pro-trial, .pro-opt-label { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pro-trial { color: var(--gold-2); }
.pro-opt-label { color: var(--night-muted); }
.pro-amount { font-size: 15px; color: var(--night-muted); }
.pro-amount b { font-family: var(--f-display); font-weight: 900; font-size: 28px; letter-spacing: -0.02em; color: var(--on-night); }
.yearly .pro-amount b { color: var(--gold-2); }
.pv-panel .stores { justify-content: center; margin-top: 4px; }
.pro-where { font-size: 15px; color: var(--night-muted); }
.pro-where b { color: var(--on-night); }
.pv-panel a { color: var(--on-night); }
.pv-panel :focus-visible { outline-color: var(--on-night); }

.pro-crest { position: relative; width: clamp(104px, 10vw, 136px); aspect-ratio: 1; margin-bottom: 4px; }
.pro-halo { position: absolute; left: 50%; top: 50%; width: 340%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255, 214, 120, .38) 0%, rgba(255, 190, 90, .12) 34%, transparent 64%); animation: pro-breathe 6s ease-in-out infinite; }
@keyframes pro-breathe { 0%, 100% { opacity: .85; scale: 1; } 50% { opacity: 1; scale: 1.06; } }
.pro-stage-icon { display: block; width: 100%; height: auto; border-radius: 23%;
  box-shadow: 0 0 0 1px rgba(255, 224, 138, .35), 0 0 80px rgba(255, 210, 110, .32), 0 30px 60px rgba(7, 3, 10, .55);
  animation: pro-float 7s ease-in-out infinite; }
.pro-spark { position: absolute; fill: #FF8C72; filter: drop-shadow(0 0 12px rgba(255, 140, 114, .6)); animation: pro-twinkle 4.4s ease-in-out infinite; }
.pro-spark.s1 { width: 30px; right: -34px; top: -14px; }
.pro-spark.s2 { width: 18px; left: -30px; top: 46%; animation-delay: -2s; fill: #FFE08A; filter: drop-shadow(0 0 10px rgba(255, 224, 138, .6)); }
@keyframes pro-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ── the waitlist offer: one straight butter strip ── */
.pv-offer { padding: 40px max(16px, env(safe-area-inset-left, 0px)) 0 !important; }
.pv-offer-strip { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px 40px; align-items: center; background: var(--butter); color: var(--on-butter); border-radius: 32px; padding: 26px clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); }
.pv-offer-head { display: grid; gap: 6px; }
.pv-offer-head h2 { font-size: clamp(25px, 2.8vw, 32px); letter-spacing: -0.03em; color: var(--on-butter); }
.pv-offer-head p { color: var(--on-butter); font-size: 15px; }
.pv-offer-tag { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--butter-label); }
.pv-offer-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: offer; }
.pv-offer-steps li { counter-increment: offer; display: grid; gap: 8px; align-content: start; background: rgba(255,255,255,.55); border-radius: 20px; padding: 14px 16px 16px; font-size: 15px; line-height: 1.4; color: var(--on-butter); }
.pv-offer-steps li::before { content: counter(offer); width: 28px; height: 28px; border-radius: 50%; background: #2E1838; color: #FFF6F0; font-family: var(--f-display); font-weight: 900; font-size: 15px; display: grid; place-items: center; }

/* ── sections ── */
.pv-sec { padding-top: clamp(64px, 9vw, 112px) !important; }
.pv-wrap { max-width: 1200px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.pv-narrow { max-width: 860px; }
.pro-head { display: grid; gap: 10px; justify-items: center; text-align: center; margin-bottom: 40px; }
.pro-head h2 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.035em; line-height: 1; max-width: 16em; }

/* 2 · what you get: four in one open row, gold-ringed icons, then two short lines */
.pv-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 44px); }
.pv-perks li { display: grid; gap: 10px; align-content: start; }
.pv-perks h3 { font-size: 22px; letter-spacing: -0.02em; }
.pv-perks p { color: var(--muted); }
.pro-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 6px; background: linear-gradient(180deg, var(--night-1), var(--night-2)); box-shadow: 0 0 0 1px rgba(255, 221, 128, .35), 0 10px 24px rgba(46, 24, 56, .18); }
.pro-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-lines { list-style: none; margin: 48px 0 0; padding: 24px 0 0; border-top: 2px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px clamp(24px, 4vw, 56px); }
.pv-lines li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; color: var(--muted); }
.pv-lines .pro-ico { width: 40px; height: 40px; border-radius: 13px; margin: 0; }
.pv-lines .pro-ico svg { width: 20px; height: 20px; }
.pv-lines b { color: var(--ink); }

/* 3 · plans: Free and Pro, the Pro card with a Yearly / Monthly switch */
.pv-plans { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.pv-plan { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 32px; padding: 30px 30px 32px; display: grid; gap: 10px; align-content: start; }
.pv-plan h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.pv-plan-icon { width: 30px; height: 30px; border-radius: 9px; }
.pv-price { font-size: 17px; color: var(--muted); }
.pv-price b { font-family: var(--f-display); font-weight: 900; font-size: 52px; letter-spacing: -0.03em; color: var(--ink); margin-right: 4px; }
.pv-note { font-size: 15.5px; color: var(--muted); }
.pv-compare { margin-top: auto; padding-top: 10px; color: var(--ink); font-weight: 700; font-size: 15.5px; }
.pv-plan { grid-template-rows: auto; }
#compare { scroll-margin-top: 80px; }
.pv-pro { color: var(--on-night); border-color: transparent; color-scheme: dark;
  background: radial-gradient(90% 70% at 50% 0%, #4A2E55, transparent 70%), linear-gradient(180deg, var(--night-1), var(--night-2));
  box-shadow: 0 0 0 2px rgba(255, 221, 128, .55), var(--shadow-lg); }
.pv-pro h3 { color: var(--on-night); }
.pv-pro .pv-price, .pv-pro .pv-note { color: var(--night-muted); }
.pv-pro .pv-price b { background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-plan-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pv-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 246, 240, .08); border: 1px solid rgba(255, 246, 240, .16); }
.pv-switch[hidden] { display: none; }
.pv-switch button { border: 0; border-radius: 999px; background: none; color: var(--night-muted); font-weight: 700; font-size: 14px; padding: 7px 14px; }
.pv-switch button[aria-pressed="true"] { background: var(--gold-2); color: #2E1838; }
.pv-switch button:focus-visible { outline-color: var(--on-night); }
.pv-opt { display: grid; gap: 8px; justify-items: start; }
.pv-opt + .pv-opt { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 246, 240, .12); }
.pv-pro.has-switch .pv-opt { display: none; }
.pv-pro.has-switch .pv-opt.is-on { display: grid; margin-top: 4px; padding-top: 0; border-top: 0; }
.pro-badge { display: inline-block; background: var(--gold-2); color: #2E1838; border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.pro-fine { margin: 26px auto 0; max-width: 760px; text-align: center; font-size: 14px; color: var(--muted); }

/* 4 · Free and Pro: open rows, no card */
.pro-table-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }
.pro-table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.pro-table th, .pro-table td { padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pro-table thead th { font-family: var(--f-display); font-size: 20px; font-weight: 800; border-bottom-width: 2px; }
.pro-table tbody th { font-weight: 600; }
.pro-table td { color: var(--muted); width: 28%; }
.pro-table td:last-child { color: var(--ink); font-weight: 700; background: color-mix(in srgb, var(--gold-2) 10%, transparent); }
.pro-table thead th:last-child { background: color-mix(in srgb, var(--gold-2) 10%, transparent); border-radius: 18px 18px 0 0; }
.pro-pill { display: inline-block; background: var(--gold-2); color: #2E1838; border-radius: 999px; padding: 3px 14px; }
.yes { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: #C7EBD9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.4' fill='none' stroke='%232E1838' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; vertical-align: middle; }

/* 5 · when Pro ends: an open row */
.pv-calm { max-width: 900px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center; }
.pv-calm h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; margin-bottom: 8px; }
.pv-calm p { color: var(--muted); font-size: 17.5px; }
.pro-calm-art { width: 170px; height: auto; }
.pro-z { fill: var(--ink); font-family: var(--f-display); font-weight: 900; font-size: 26px; }

/* 6 · questions: calm rows, as on /faq/ */
.pv-faq { gap: 0; }
.pv-faq details { background: none; box-shadow: none; border-radius: 0; padding: 0 18px; border-top: 1px solid var(--line); transition: background .2s; }
.pv-faq details:last-child { border-bottom: 1px solid var(--line); }
.pv-faq details[open] { background: var(--surface); border-radius: 22px; border-color: transparent; box-shadow: var(--shadow); }
.pv-faq details[open] + details { border-top-color: transparent; }
.pv-faq summary { padding: 20px 0; font-size: 17.5px; }
.pv-faq summary::after { width: 32px; height: 32px; font-size: 20px; background: var(--surface-2); }
.pv-faq details[open] summary::after { background: var(--ink); color: var(--on-ink); }
.pro-more { text-align: center; margin-top: 22px; color: var(--muted); }

/* 7 · close: the Pro night as a wide panel */
.pv-end { padding: clamp(64px, 9vw, 112px) max(12px, env(safe-area-inset-left, 0px)) 8px !important; }
.pv-end-panel { max-width: 1320px; margin: 0 auto; border-radius: 44px; color: var(--on-night); color-scheme: dark; display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(44px, 6vw, 80px) 24px;
  background: radial-gradient(40% 60% at 50% 0%, rgba(255, 214, 120, .16), transparent 70%), linear-gradient(180deg, #3A2244, var(--night-2)); }
.pro-end-icon { width: 96px; height: 96px; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255, 224, 138, .35), 0 0 60px rgba(255, 210, 110, .28); }
.pv-end-panel h2 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.04em; color: var(--on-night); }
.pv-end-panel p { color: var(--night-muted); max-width: 30em; }
.pv-end-panel .stores { justify-content: center; margin-top: 6px; }

@media (max-width: 1000px) {
  .pv-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-offer-strip { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pv-plans { grid-template-columns: 1fr; max-width: 520px; }
  .pv-lines { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pv-end-panel { border-radius: 32px; }
  .pro-sky i:nth-child(2), .pro-sky i:nth-child(3), .pro-sky i:nth-child(6), .pro-sky i:nth-child(8), .pro-sky i:nth-child(12) { display: none; }
  .pro-prices { width: 100%; }
  .pro-price-opt { min-width: 0; flex: 1; padding-inline: 8px; }
  .pro-amount { white-space: nowrap; font-size: 13.5px; }
  .pro-amount b { font-size: 24px; }
  .pv-offer { padding-inline: max(12px, env(safe-area-inset-left, 0px)) !important; }
  .pv-offer-steps { grid-template-columns: 1fr; gap: 8px; }
  .pv-offer-steps li { grid-template-columns: 28px 1fr; align-items: center; padding: 10px 14px; }
  .pv-perks { grid-template-columns: 1fr; gap: 26px; }
  .pv-perks li { grid-template-columns: 56px 1fr; column-gap: 16px; row-gap: 4px; }
  .pv-perks .pro-ico { grid-row: span 2; margin: 0; }
  .pv-plan { padding: 24px 22px 26px; border-radius: 26px; }
  .pv-price b { font-size: 44px; }
  .pv-calm { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pro-calm-art { width: 120px; }
  .pro-table { font-size: 15px; }
  .pro-table th, .pro-table td { padding: 13px 6px; }
  .pro-table thead th { font-size: 17px; }
  .pv-faq details { padding: 0 14px; }
  .pv-faq summary { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) { .pro-sky i, .pro-halo, .pro-stage-icon, .pro-spark { animation: none; } }
