/* BrightReels landing, v3.0 design refresh ("Bright Play", SPEC-v3.0 Part 1).
   Every theme value lives in :root. Fonts: Fredoka (headlines), Nunito (body/UI) from Google Fonts. */
:root {
  /* Brand tokens (single source, research/design-patterns-2026-10-07.md §4) */
  --violet: #7C3AED;
  --violet-deep: #5B21B6;
  --ink: #2E1065;
  --sun: #FDE047;
  --sky: #38BDF8;
  --mint: #34D399;
  --coral: #FB7185;
  --cloud: #FAF7FF;
  --white: #FFFFFF;

  /* Roles */
  --text: var(--ink);
  --muted: #5B4F7A;
  --line: #E7DEFB;
  --bg: var(--white);
  --good: #047857;
  --good-soft: #ECFDF5;
  --bad: #BE123C;

  --font-head: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-s: 12px;
  --r-m: 20px;
  --r-l: 32px;
  --shadow: 0 18px 40px -18px rgba(46, 16, 101, .35);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 200ms;
  --t-slow: 400ms;

  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 9vw, 112px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4.6vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: var(--violet); }
b { font-weight: 800; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
h2.center { margin-inline: auto; max-width: 18ch; margin-bottom: clamp(28px, 4vw, 48px); }
.accent { color: var(--violet); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(250, 247, 255, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo > span:not(.logo-mark) { color: var(--violet); }
.logo-mark { width: 30px; height: 30px; margin-right: 8px; flex: none; border-radius: 9px; background: var(--violet); position: relative; }
.logo-mark::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 11px solid var(--sun); border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-radius: 2px; }
.nav-links { display: flex; gap: clamp(10px, 2.4vw, 28px); }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: .95rem; opacity: .8; transition: opacity var(--t-fast) var(--ease); white-space: nowrap; }
.nav-links a:hover { opacity: 1; }

/* ---------- Buttons ---------- */
.cta { display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; font-family: var(--font-body); font-weight: 800; font-size: 1.12rem; color: var(--ink); text-decoration: none; padding: 18px 36px; border-radius: 999px; background: var(--sun); box-shadow: 0 6px 0 #CA8A04, var(--shadow); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #CA8A04, var(--shadow); }
.cta:active { transform: translateY(4px); box-shadow: 0 2px 0 #CA8A04, var(--shadow); }
.cta[disabled] { opacity: .6; cursor: wait; transform: none; }
.cta.wide { width: 100%; }
.cta.light { background: var(--violet); color: var(--white); box-shadow: 0 6px 0 var(--ink), var(--shadow); }
.cta.light:hover { box-shadow: 0 8px 0 var(--ink), var(--shadow); }
.fine { font-size: .88rem; color: var(--muted); margin-top: 14px; }

/* ---------- Hero (full-bleed violet, split) ---------- */
.hero { position: relative; background: var(--violet); color: var(--white); overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.hero::before { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -10vw; top: -14vw; background: radial-gradient(circle at 30% 30%, #9F67FF, transparent 65%); }
.hero::after { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: -12vw; bottom: -16vw; background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 112px); }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero h1 .accent { color: var(--ink); background: var(--sun); padding: 0 .14em; border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: inline-block; transform: rotate(-2deg); }
.sub { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 34ch; margin-bottom: 1.1em; }
.hero .sub { color: rgba(255, 255, 255, .92); }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.checks li { display: inline-block; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: .95rem; }
.checks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232E1065' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; display: inline-block; vertical-align: -3px; margin-right: 8px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.guarantee-badge { display: inline-block; max-width: 270px; font-size: .88rem; font-weight: 800; line-height: 1.35; color: var(--good); background: var(--good-soft); border-radius: var(--r-s); padding: 9px 14px; }
.hero .guarantee-badge { color: var(--white); background: transparent; border: 1.5px dashed rgba(255, 255, 255, .5); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: clamp(420px, 44vw, 600px); }
.phone { position: relative; z-index: 2; width: clamp(220px, 22vw, 300px); padding: 10px; border-radius: 44px; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(20, 5, 50, .7), inset 0 0 0 2px rgba(255, 255, 255, .12); transform: rotate(3deg); }
.phone::before { content: ""; position: absolute; z-index: 3; top: 18px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); border-radius: 999px; background: var(--ink); }
.phone-screen { position: relative; width: 100%; aspect-ratio: 9 / 18.5; overflow: hidden; border-radius: 34px; background: #000; }
.feed-loop { position: absolute; left: 0; top: 0; width: 100%; height: 400%; animation: feed 12s var(--ease) infinite; }
.feed-loop .slide { width: 100%; height: 25%; object-fit: cover; }
@keyframes feed {
  0%, 26% { transform: translateY(0); }
  33%, 59% { transform: translateY(-25%); }
  66%, 92% { transform: translateY(-50%); }
  100% { transform: translateY(-75%); }
}
.float-card { position: absolute; z-index: 1; width: clamp(130px, 13vw, 190px); aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-m); border: 5px solid var(--white); box-shadow: var(--shadow); }
.fc1 { left: 2%; top: 8%; transform: rotate(-10deg); animation: bob 6s ease-in-out infinite; }
.fc2 { right: 0; bottom: 6%; transform: rotate(9deg); animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ---------- Trust row + clip strip ---------- */
.strip-band { background: var(--ink); color: var(--white); padding-bottom: clamp(28px, 4vw, 44px); overflow: hidden; }
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 0 auto; padding-top: 28px; padding-bottom: 26px; font-family: var(--font-head); font-weight: 600; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); }
.trust li { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); }
.strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 16px; width: max-content; animation: drift 60s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track img { width: clamp(120px, 12vw, 170px); aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-m); flex: none; }
.strip-track img:nth-child(3n+1) { transform: rotate(-2deg); }
.strip-track img:nth-child(3n+2) { transform: translateY(10px) rotate(1.5deg); }
@keyframes drift { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- Problem (ink split: claim | quote) ---------- */
.band { position: relative; }
.band.dark { background: var(--ink); color: #EDE7FF; }
.band.dark h2 { color: var(--white); }
.band.dark .accent { color: var(--coral); }
.problem-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 80px); }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--ink); background: var(--coral); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.lead-text { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: rgba(237, 231, 255, .88); margin: 0; }
.review { position: relative; margin: 0; padding: clamp(28px, 4vw, 44px); padding-top: 60px; background: var(--white); color: var(--ink); border-radius: var(--r-l); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); transform: rotate(-1.2deg); }
.review::before { content: "\201C"; position: absolute; top: -28px; left: 28px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: var(--ink); font-family: var(--font-head); font-size: 3.4rem; line-height: 1; padding-top: 22px; }
.review p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.35; }
.review cite { display: block; font-size: .9rem; color: var(--muted); font-style: normal; font-weight: 800; }

/* ---------- How it works (Bento) ---------- */
.band.cloud { background: var(--cloud); }
.bento { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "one two two" "three two two" "lock lock lock"; gap: clamp(14px, 1.6vw, 20px); }
.tile { position: relative; border-radius: var(--r-l); padding: clamp(24px, 2.6vw, 36px); overflow: hidden; }
.tile h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); font-weight: 700; }
.tile p { margin: 0; font-size: 1.02rem; }
.t-one { grid-area: one; background: var(--sun); }
.t-three { grid-area: three; background: var(--mint); }
.t-one p, .t-three p { color: rgba(46, 16, 101, .82); }
.t-two { grid-area: two; background: var(--violet); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; padding: 0; }
.tile-media { position: absolute; inset: 0 0 auto 0; height: 74%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; border-radius: var(--r-m); }
.tile-media img:nth-child(2) { transform: translateY(18px); }
.tile-text { position: relative; padding: clamp(24px, 2.6vw, 36px); padding-top: 120px; background: linear-gradient(rgba(124, 58, 237, 0), var(--violet) 45%); }
.tile-text p { color: rgba(255, 255, 255, .9); max-width: 44ch; }
.num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 16px; background: var(--ink); color: var(--white); }
.t-two .num { background: var(--sun); color: var(--ink); }
.t-lock { grid-area: lock; background: var(--sky); display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: clamp(20px, 2.4vw, 32px); }
.lock-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.6rem, 2.6rem + 4vw, 6.5rem); line-height: .9; color: var(--ink); }
.lock-num small { font-size: .32em; margin-left: .2em; }
.lock-text { flex: 1 1 260px; margin: 0; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); font-weight: 800; color: var(--ink); max-width: 36ch; }
.lock-ui { display: flex; align-items: center; gap: 16px; }
.lock-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FDE047' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/28px no-repeat; }
.lock-chips { display: flex; gap: 8px; }
.lock-chips i { font-style: normal; font-family: var(--font-head); font-weight: 600; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .55); color: var(--ink); }
.lock-chips i.on { background: var(--ink); color: var(--sun); }

/* ---------- Versus (Split) ---------- */
.versus-band { background: var(--white); }
.versus { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.col { border-radius: var(--r-l); padding: clamp(22px, 3vw, 40px); }
.col.good { background: var(--cloud); border: 3px solid var(--violet); box-shadow: var(--shadow); }
.col.good h3 { color: var(--violet); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); font-weight: 700; }
.col.bad { background: #F4F3F6; border: 3px dashed #D6D3DC; align-self: center; }
.col.bad h3 { color: #6B6577; }
.col ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.col li { position: relative; padding-left: 30px; }
.col li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; }
.col.good li::before { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232E1065' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.col.bad li { color: #6B6577; }
.col.bad li::before { background: #E4E1EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23BE123C' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.mini-phone { display: grid; gap: 10px; }
.mini-phone .card { display: flex; align-items: center; gap: 12px; border-radius: var(--r-m); padding: 16px 18px; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; line-height: 1.25; background: linear-gradient(120deg, var(--a), var(--b)); }
.mini-phone .emo { font-size: 1.8rem; flex: none; }
.mini-phone.grey .card { background: #E4E1EA; color: #77707F; font-family: var(--font-body); font-weight: 600; font-size: .98rem; }

/* ---------- Offer (bold plan cards) ---------- */
.offer-band { background: var(--cloud); background-image: radial-gradient(circle at 15% 0%, rgba(124, 58, 237, .1), transparent 40%), radial-gradient(circle at 90% 100%, rgba(56, 189, 248, .14), transparent 40%); }
h2.offer-title { max-width: 20ch; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); align-items: end; max-width: 980px; margin: 0 auto 28px; }
.plan { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t r" "p p" "n n"; align-content: start; gap: 6px; padding: 26px 24px; border: 3px solid var(--line); border-radius: var(--r-l); cursor: pointer; background: var(--white); transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan input { grid-area: r; width: 24px; height: 24px; margin: 0; accent-color: var(--violet); }
.p-title { grid-area: t; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; }
.p-price { grid-area: p; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 2rem + 1.6vw, 3.4rem); line-height: 1; margin-top: 14px; }
.p-price small { font-size: .4em; font-weight: 600; opacity: .7; }
.p-note { grid-area: n; color: var(--muted); font-size: .92rem; }
.plan:has(input:checked) { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 58, 237, .18), var(--shadow); }
.plan.best { background: var(--violet); border-color: var(--violet); color: var(--white); padding-top: 52px; padding-bottom: 34px; }
.plan.best .p-note { color: rgba(255, 255, 255, .85); }
.plan.best input { accent-color: var(--sun); }
.plan.best:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 4px var(--sun), var(--shadow); }
.badge { position: absolute; top: 14px; left: 22px; background: var(--sun); color: var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .02em; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.offer-foot { max-width: 560px; margin: 0 auto; text-align: center; }
.plan-guarantee { font-size: .98rem; font-weight: 800; color: var(--good); margin: 0 0 16px; }
.guarantee { display: flex; gap: 18px; align-items: center; margin-top: 28px; padding: 22px 24px; text-align: left; border-radius: var(--r-m); background: var(--good-soft); border: 2px solid #A7F3D0; }
.guarantee h3 { margin-bottom: .25em; }
.guarantee p { margin: 0; color: var(--muted); }
.shield { flex: none; width: 58px; height: 64px; display: grid; place-items: center; padding-bottom: 6px; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); background: var(--mint); clip-path: path("M29 0 L58 10 V30 C58 48 46 58 29 64 C12 58 0 48 0 30 V10 Z"); }

/* ---------- FAQ (accordion) ---------- */
.faq-band { background: var(--white); }
.faq { border-top: 2px solid var(--line); }
details { border-bottom: 2px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cloud) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' fill='none' stroke='%237C3AED' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
details[open] summary::after { transform: rotate(45deg); background-color: var(--sun); }
summary:hover { color: var(--violet); }
details p { margin: 0 4px 22px; color: var(--muted); max-width: 62ch; }

/* ---------- Final CTA ---------- */
.band.final { background: var(--sun); color: var(--ink); overflow: hidden; isolation: isolate; }
.band.final::before, .band.final::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.band.final::before { width: 220px; height: 220px; left: -60px; top: -80px; background: var(--coral); }
.band.final::after { width: 300px; height: 300px; right: -90px; bottom: -150px; background: var(--sky); }
.band.final h2 { max-width: 20ch; margin-inline: auto; margin-bottom: .8em; }
.band.final .fine { color: rgba(46, 16, 101, .75); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .78); }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding-top: 32px; padding-bottom: 32px; }
.footer .logo { color: var(--white); }
.footer .logo > span:not(.logo-mark) { color: var(--sun); }
.footer nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.footer nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .95rem; }
.footer nav a:hover { color: var(--sun); }
.copy { font-size: .88rem; }

/* ---------- Modals (email step + exit intent) ---------- */
.modal { border: 0; border-radius: var(--r-l); padding: 0; width: min(460px, calc(100vw - 32px)); color: var(--ink); background: var(--white); box-shadow: 0 40px 90px -20px rgba(46, 16, 101, .55); }
.modal[open] { animation: pop var(--t-slow) var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.modal::backdrop { background: rgba(46, 16, 101, .55); backdrop-filter: blur(3px); }
.modal-body { position: relative; padding: 34px 28px 28px; border-top: 8px solid var(--violet); }
.modal h3 { padding-right: 28px; font-size: 1.45rem; font-weight: 700; }
.modal p { color: var(--muted); }
.modal input[type=email] { width: 100%; font: inherit; color: var(--ink); padding: 15px 16px; border: 2px solid var(--line); border-radius: var(--r-s); margin: 6px 0 16px; background: var(--cloud); transition: border-color var(--t-fast) var(--ease); }
.modal input[type=email]:focus { outline: none; border-color: var(--violet); background: var(--white); }
.x { position: absolute; top: 18px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--cloud); font-size: 1rem; cursor: pointer; color: var(--ink); }
.x:hover { background: var(--line); }
.choices { display: grid; gap: 10px; margin-top: 16px; }
.choices button { font: inherit; font-weight: 800; color: var(--ink); padding: 15px; border-radius: var(--r-s); border: 2px solid var(--line); background: var(--white); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.choices button:hover { border-color: var(--violet); background: var(--cloud); }
.error { color: var(--bad) !important; font-size: .92rem; margin: 10px 0 0; }
code { font-family: var(--font-head); background: var(--sun); color: var(--ink); padding: 2px 10px; border-radius: 8px; }

/* ---------- Simple pages (thanks, checkout stub, privacy, terms) ---------- */
.page { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter); }
.page.center .sub { margin-inline: auto; }
.page h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); }
.page.center h1 { color: var(--violet); }
.page.center { position: relative; }
.page.center .cta { margin-top: 8px; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.store { display: inline-block; padding: 12px 18px; border-radius: var(--r-s); border: 2px dashed var(--line); color: var(--muted); text-decoration: none; font-weight: 800; }
body:has(.page) { background: var(--cloud); }
.page h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.7rem); margin-top: 2em; color: var(--violet); }
.page h3 { font-size: 1.12rem; margin-top: 1.4em; }
.page:not(.center) { font-weight: 400; line-height: 1.7; }
.page:not(.center) b, .page:not(.center) strong { font-weight: 800; }
.page ul { padding-left: 1.2em; }
.page li { margin: .4em 0; }
.page li::marker { color: var(--violet); }
.page table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.draft-banner { background: #FEF9C3; border: 2px solid var(--sun); border-radius: var(--r-s); padding: 12px 14px; font-size: .95rem; }
.ph { background: #FEF9C3; padding: 0 .25em; border-radius: 4px; }

/* ---------- Reveal on enter (motion.js adds .js-reveal) ---------- */
.js-reveal .reveal { opacity: 0; translate: 0 18px; transition: opacity var(--t-slow) var(--ease), translate var(--t-slow) var(--ease); }
.js-reveal .reveal.in { opacity: 1; translate: 0 0; }
.js-reveal .bento .reveal:nth-child(2) { transition-delay: 80ms; }
.js-reveal .bento .reveal:nth-child(3) { transition-delay: 160ms; }
.js-reveal .bento .reveal:nth-child(4) { transition-delay: 220ms; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-inline: auto; }
  .checks, .cta-row { justify-content: center; }
  .hero-visual { min-height: 0; padding: 12px 0 8px; }
  .float-card { width: clamp(110px, 30vw, 170px); }
  .fc1 { left: 4%; top: 6%; }
  .fc2 { right: 4%; bottom: 4%; }
  .problem-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "two two" "one three" "lock lock"; }
  .versus { grid-template-columns: 1fr; }
  .col.bad { align-self: stretch; }
  .plans { grid-template-columns: 1fr; max-width: 520px; align-items: stretch; }
}
@media (max-width: 600px) {
  .nav-links a { font-size: .85rem; }
  .logo { font-size: 1.2rem; }
  .logo-mark { width: 26px; height: 26px; }
  .logo-mark::after { left: 9px; top: 7px; border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "one" "two" "three" "lock"; }
  .t-two { min-height: 420px; }
  .t-lock { justify-content: center; text-align: center; }
  .lock-text { flex-basis: 100%; }
  .phone { width: min(62vw, 240px); }
  .cta { width: 100%; max-width: 380px; }
  .guarantee-badge { max-width: 380px; width: 100%; text-align: center; }
  .guarantee { flex-direction: column; text-align: center; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 374px) {
  .nav-links { gap: 10px; }
  .nav-links a:first-child { display: none; }
  .lock-chips i { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .feed-loop, .float-card { animation: none !important; }
  .strip { overflow-x: auto; }
  .strip-track { animation: none !important; }
}

/* Post-checkout install flow: the native download is primary; browser access stays available. */
.download-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 18px; }
.browser-link { color: var(--violet); font-weight: 800; text-underline-offset: 4px; padding: 10px; }
