/* ClientRadar — see DESIGN.md for roles */
:root {
  --night: #13111f;
  --night-2: #1c1830;
  --night-line: #2e2848;
  --violet: #6b2cf5;
  --violet-dark: #5320d6;
  --violet-ink: #4a1fc2;
  --lavender: #b69cff;
  --lilac: #ece6ff;
  --surface: #f4f2fb;
  --ink: #14112a;
  --text: #46435a;
  --muted: #77738c;
  --line: #e4e0f0;
  --on-night: #d9d2f5;
  --on-night-muted: #a49bc7;
  --sans: "Montserrat", Helvetica, Arial, sans-serif;
  --script: "Ranga", "Montserrat", cursive;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.65; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1.1em; }
b, strong { color: var(--ink); }
h1, h2, h3 { margin: 0; line-height: 1.12; color: var(--ink); letter-spacing: -.4px; }
a { color: var(--violet-ink); }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 4px; }
.center { text-align: center; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.read { max-width: 680px; margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 200; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ── Sections ── */
.sec { padding: clamp(56px, 7vw, 88px) 0; }
.sec.soft { background: var(--surface); }
.sec.night { background: radial-gradient(900px 380px at 50% -10%, rgba(107,44,245,.30), transparent 70%), var(--night); color: var(--on-night); }
.sec.night h2, .sec.night h3, .sec.night b, .sec.night strong { color: #fff; }

.eyebrow { font-family: var(--script); font-size: clamp(26px, 3.2vw, 32px); line-height: 1.2; color: var(--violet-ink); margin-bottom: .25em; }
.night .eyebrow, .hero .eyebrow { color: var(--lavender); }
.h2 { font-weight: 900; font-size: clamp(32px, 4.6vw, 50px); margin-bottom: .45em; }
.hl { color: var(--violet); }
.night .hl { color: var(--lavender); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--text); }
.night .lede { color: var(--on-night); }
.script-line { font-family: var(--script); font-size: clamp(28px, 3.6vw, 38px); color: var(--violet-ink); line-height: 1.2; margin: .4em 0 .6em; }
.night .script-line { color: var(--lavender); }
.head { text-align: center; max-width: 780px; margin: 0 auto 36px; }

/* ── Scarcity bar ── */
.launch-bar { background: #0c0a16; color: var(--on-night); text-align: center; font-size: 15px; padding: 10px 16px; }
.launch-bar b { color: var(--lavender); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 8px; vertical-align: 1px; animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

/* ── Header ── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(19,17,31,.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--night-line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--violet); display: grid; place-items: center; position: relative; flex: none; }
.logo-mark::before { content: ""; width: 55%; height: 55%; border-radius: 50%; border: 2px solid var(--lavender); }
.logo-mark::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; top: 50%; left: 50%; transform: translate(-50%,-50%); box-shadow: 8px -8px 0 -1px var(--lavender); }
.logo-text { font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -.3px; }
.top-links { display: flex; align-items: center; gap: 26px; }
.top-links a { color: var(--on-night-muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.top-links a:hover { color: #fff; }

/* ── Buttons (violet = buy) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  appearance: none; border: 0; cursor: pointer; text-align: center; text-decoration: none; white-space: nowrap;
  font: 800 19px/1.2 var(--sans); color: #fff; letter-spacing: .1px;
  background: linear-gradient(180deg, #7d40ff 0%, var(--violet) 100%);
  padding: 20px 34px; border-radius: 12px; min-height: 60px;
  box-shadow: 0 4px 0 var(--violet-dark), 0 14px 34px rgba(107,44,245,.38);
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn::after { content: "→"; transition: transform .15s; }
.btn:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 6px 0 var(--violet-dark), 0 18px 40px rgba(107,44,245,.45); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--violet-dark), 0 6px 16px rgba(107,44,245,.3); }
.btn:disabled { opacity: .75; cursor: wait; }
.btn-sm { font-size: 15px; padding: 11px 18px; min-height: 0; border-radius: 9px; box-shadow: 0 2px 0 var(--violet-dark); }
.btn-sm::after { content: none; }
.btn-xl { width: min(560px, 100%); }
.cta-block { margin-top: 36px; text-align: center; }
.cta-link { display: inline-block; margin-top: 14px; font: 700 16px var(--sans); color: var(--violet-ink); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; padding: 4px; }
.night .cta-link { color: var(--lavender); }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 14px; font-size: 15px; color: var(--muted); }
.trust span::before { content: "✓"; color: var(--violet); font-weight: 900; margin-right: 6px; }
.night .trust, .hero .trust { color: var(--on-night-muted); }
.night .trust span::before, .hero .trust span::before { color: var(--lavender); }

/* ── Hero (dark, merges with the product art) ── */
.hero { background: radial-gradient(800px 520px at 78% 40%, rgba(107,44,245,.38), transparent 65%), radial-gradient(600px 400px at 0% 100%, rgba(107,44,245,.14), transparent 70%), var(--night); color: var(--on-night); padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { font-weight: 900; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -1px; color: #fff; margin: .1em 0 .4em; }
.hero h1 u { text-decoration-color: var(--violet); text-decoration-thickness: 6px; text-underline-offset: 8px; text-decoration-skip-ink: none; }
.hero h1 .hl { color: var(--lavender); }
.hero .lede { max-width: 560px; color: var(--on-night); }
.price-pill { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; background: rgba(182,156,255,.10); border: 1px solid rgba(182,156,255,.30); color: #fff; font-size: 15px; font-weight: 700; padding: 9px 16px; border-radius: 99px; margin: 4px 0 18px; }
.price-pill .tag { background: var(--violet); color: #fff; font-size: 12px; letter-spacing: .8px; padding: 3px 8px; border-radius: 99px; text-transform: uppercase; }
.hero .cta-block { text-align: left; margin-top: 0; }
.hero .trust { justify-content: flex-start; }
.hero-img { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #140c26; box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 0 0 1px rgba(182,156,255,.14); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.sources { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: 14px; color: var(--on-night-muted); }
.sources b { color: #fff; font-weight: 700; font-size: 17px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero .cta-block { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .trust, .sources { justify-content: center; }
  .hero .btn { width: 100%; }
  .hero-img { aspect-ratio: 4 / 3; max-width: 560px; width: 100%; margin: 0 auto; }
}

/* ── Lists ── */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 36px; margin-bottom: .75em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 24px; height: 24px; border-radius: 50%; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%236b2cf5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/68% no-repeat; }
.night .checks li::before { background-color: rgba(182,156,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23b69cff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E"); }
.grid-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
@media (max-width: 760px) { .grid-list { grid-template-columns: 1fr; } }

/* ── Story ── */
.story p { font-size: 19px; }
.quote { position: relative; background: var(--lilac); border-radius: 14px; padding: 22px 24px 22px 58px; margin: 8px 0 26px; font-weight: 700; color: var(--ink); font-size: 20px; line-height: 1.5; }
.quote::before { content: "“"; position: absolute; left: 18px; top: 8px; font: 900 56px/1 var(--sans); color: var(--violet); }
.story .punch, .punch { font-weight: 900; font-size: clamp(38px, 6vw, 64px); line-height: 1.02; letter-spacing: -1px; text-align: center; color: var(--ink); margin: 0; }
.story .punch.hl, .punch.hl { color: var(--violet); }

/* ── Image frames ── */
.frame { border-radius: 18px; overflow: hidden; background: var(--night); box-shadow: 0 24px 60px rgba(20,17,42,.20), 0 0 0 1px rgba(20,17,42,.04); }
.night .frame { box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(182,156,255,.14); }
.frame.crop img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fig { margin: 0; }

/* ── Demo video (click-to-load YouTube) ── */
.video-fig { max-width: 960px; margin: 0 auto 32px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; }
.video-frame iframe, .video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { padding: 0; margin: 0; background: var(--night); cursor: pointer; display: block; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .2s; }
.video-facade:hover img { filter: brightness(.85); }
.video-play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; transform: translate(-50%,-50%); border-radius: 50%; background: linear-gradient(180deg, #7d40ff 0%, var(--violet) 100%); box-shadow: 0 0 0 10px rgba(107,44,245,.28), 0 18px 40px rgba(20,17,42,.45); transition: transform .2s; }
.video-play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%,-50%); border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.video-facade:hover .video-play, .video-facade:focus-visible .video-play { transform: translate(-50%,-50%) scale(1.07); }
.video-len { position: absolute; right: 14px; bottom: 14px; background: rgba(19,17,31,.85); color: #fff; font: 700 14px var(--sans); padding: 4px 9px; border-radius: 6px; }
@media (max-width: 760px) { .video-play { width: 72px; height: 72px; } .video-play::after { border-width: 13px 0 13px 21px; } }

/* Feature pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; }
.pillar .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--lilac); color: var(--violet); display: grid; place-items: center; font-weight: 900; font-size: 18px; margin-bottom: 12px; }
.pillar h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.pillar p { font-size: 16.5px; margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ── How it works (HTML version) ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 16px; padding: 24px; }
.step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 800; }
.step h3 { font-size: 22px; font-weight: 800; margin: .7em 0 .3em; color: #fff; }
.step p { font-size: 17px; margin: 0; color: var(--on-night); }
.note-line { margin: 26px 0 0; text-align: center; color: var(--lavender); font-weight: 700; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ── Before / after (HTML version) ── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare > div { border-radius: 16px; padding: 24px 26px; }
.compare h3 { font-size: 22px; font-weight: 800; margin-bottom: .6em; }
.compare ul { margin: 0; padding-left: 1.1em; }
.compare li { margin-bottom: .45em; }
.compare .old { background: #f7f7f9; color: var(--muted); border: 1px solid #ececf1; }
.compare .old h3 { color: var(--muted); }
.compare .new { background: var(--lilac); border: 2px solid var(--violet); }
.compare .new li::marker { color: var(--violet); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ── Split (image + copy) ── */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ── Who it's for ── */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 880px; margin: 0 auto; }
.chips span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 11px 20px; font-weight: 700; font-size: 16px; color: var(--ink); }
.chips span.hot { background: var(--lilac); border-color: #d4c6ff; color: var(--violet-ink); }

/* ── Pricing ladder ── */
.ladder-wrap { max-width: 720px; margin: 0 auto; }
.ladder { width: 100%; border-collapse: separate; border-spacing: 0 10px; font-size: 18px; }
.ladder td { background: #fff; padding: 18px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ladder td:first-child { border-left: 1px solid var(--line); border-radius: 12px 0 0 12px; font-weight: 700; color: var(--ink); }
.ladder td:last-child { border-right: 1px solid var(--line); border-radius: 0 12px 12px 0; text-align: right; font-weight: 800; color: var(--ink); }
.ladder tr.sold td { color: #b3b0c2; text-decoration: line-through; }
.ladder tr.current td { background: var(--lilac); border-color: var(--violet); border-top-width: 2px; border-bottom-width: 2px; }
.ladder tr.current td:first-child { border-left-width: 2px; }
.ladder tr.current td:last-child { border-right-width: 2px; color: var(--violet-ink); }
.ladder tr.current td:first-child::after { content: "Live now"; margin-left: 10px; font-size: 12px; font-weight: 800; color: #fff; background: var(--violet); padding: 3px 9px; border-radius: 99px; letter-spacing: .6px; text-transform: uppercase; vertical-align: 2px; white-space: nowrap; }
.founding { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-top: 18px; }
.founding .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--night); color: var(--lavender); display: grid; place-items: center; font-size: 20px; }
.founding h3 { font-size: 21px; font-weight: 800; margin-bottom: 4px; }
.founding p { margin: 0; font-size: 17px; }

/* ── Checkout card ── */
.order { max-width: 620px; margin: 0 auto; background: #fff; border-radius: 22px; overflow: hidden; border: 2px solid var(--violet); box-shadow: 0 40px 90px rgba(40,16,110,.20); }
.order-head { background: var(--night); color: #fff; text-align: center; font-weight: 800; font-size: 15px; padding: 13px; letter-spacing: 2px; }
.order-head::before { content: "🔒  "; }
.order-body { padding: 26px 28px 28px; }
.order-title { font-family: var(--script); font-size: 36px; text-align: center; color: var(--ink); margin-bottom: 18px; line-height: 1.1; }
.order-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; background: var(--surface); border-radius: 14px; padding: 12px 16px 12px 12px; margin-bottom: 18px; }
.order-item img { border-radius: 12px; }
.order-item b { display: block; font-size: 19px; }
.order-item small { color: var(--muted); font-size: 14px; line-height: 1.4; display: block; }
.order-price { font-weight: 900; color: var(--violet-ink); font-size: 18px; text-align: right; line-height: 1.2; }
.order-includes { margin: 0 0 20px; font-size: 16.5px; }
.order-includes li { margin-bottom: .5em; }
.order a.gumroad-button.btn {
  display: flex; width: 100%; height: auto; margin-top: 4px;
  font: 800 20px/1.2 var(--sans) !important; color: #fff !important;
  background: linear-gradient(180deg, #7d40ff, var(--violet)) !important;
  padding: 21px 24px !important; border: 0 !important; border-radius: 12px !important;
  box-shadow: 0 4px 0 var(--violet-dark), 0 14px 34px rgba(107,44,245,.38) !important; text-decoration: none;
}
.order a.gumroad-button.btn .logo-full, .order a.gumroad-button.btn .gumroad-button-logo { display: none !important; }
.secure-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); margin-top: 16px; }
.order .note { font-size: 14px; color: var(--muted); text-align: center; margin: 12px 0 0; }
@media (max-width: 520px) { .order-body { padding: 22px 18px; } .order-item { grid-template-columns: 64px 1fr; } .order-price { grid-column: 1 / -1; text-align: left; } }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: 18px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lilac); color: var(--violet); display: grid; place-items: center; font-weight: 900; font-size: 18px; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; font-size: 17px; }

/* ── P.S. ── */
.ps { max-width: 760px; margin: 48px auto 0; font-size: 17px; background: #fff; border: 1px dashed #cfc3f7; border-radius: 16px; padding: 28px; }
.ps p:first-child b { color: var(--violet-ink); }

/* ── Footer ── */
.foot { background: var(--night); color: var(--on-night-muted); font-size: 14px; padding: 22px 0; border-top: 1px solid var(--night-line); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: var(--on-night-muted); text-decoration: none; }
.foot a:hover, .foot a[aria-current] { color: #fff; }
.foot p { margin: 0; }
@media (max-width: 760px) { .foot { padding: 20px 0; } body:has(.sticky-cta) .foot { padding-bottom: 92px; } .foot-inner { justify-content: center; text-align: center; } .foot nav { justify-content: center; } }

/* ── Sticky mobile CTA ── */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(19,17,31,.97); border-top: 1px solid var(--night-line); display: none; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.show { transform: none; }
.sticky-cta .meta { color: var(--on-night); font-size: 13px; line-height: 1.3; flex: none; }
.sticky-cta .meta b { color: #fff; display: block; font-size: 15px; }
.sticky-cta .btn { flex: 1; font-size: 16px; padding: 14px; min-height: 50px; }
@media (max-width: 760px) { .sticky-cta { display: flex; } .top-links a:not(.btn) { display: none; } }

/* ── Popup ── */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12,10,22,.8); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: min(480px, 100%); background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.45); animation: pop .2s ease; }
.modal-top { background: var(--night); padding: 14px 56px 14px 22px; display: flex; align-items: center; gap: 12px; }
.modal-top img { width: 44px; height: 44px; border-radius: 10px; }
.modal-top span { color: var(--on-night); font-size: 14px; line-height: 1.35; }
.modal-top b { color: #fff; display: block; font-size: 16px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.10); border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; z-index: 1; }
.modal-bar { height: 8px; background: var(--lilac); margin: 20px 24px 0; border-radius: 99px; overflow: hidden; }
.modal-bar span { display: block; height: 100%; width: 50%; background: var(--violet); border-radius: 99px; }
.modal-body { padding: 10px 24px 24px; text-align: center; }
.modal-step { font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--violet-ink); margin: 10px 0 0; }
.modal-body h3 { font-weight: 900; font-size: 25px; margin: .25em 0 .3em; }
.modal-body p { font-size: 16px; margin-bottom: 16px; }
.modal-body label { display: block; text-align: left; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.modal-body input:not(.hp) { display: block; width: 100%; margin-top: 6px; padding: 14px; font: 16px var(--sans); border: 1px solid #d6d1e6; border-radius: 12px; color: var(--ink); }
.modal-body input:focus { outline: 3px solid var(--lilac); border-color: var(--violet); }
.modal-body input[aria-invalid="true"] { border-color: #d0213b; }
.modal-body .btn { width: 100%; font-size: 18px; margin-top: 4px; }
.modal-body small { display: block; color: var(--muted); font-size: 13px; margin-top: 12px; }
.form-error { color: #d0213b; font-size: 14px; font-weight: 700; margin: -2px 0 10px; text-align: left; }
.hp { position: absolute !important; left: -9999px !important; }
body.modal-open { overflow: hidden; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ── Text-heavy graphics: image on desktop, HTML on phones (HTML always available to screen readers) ── */
@media (min-width: 761px) { .dup-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; } }
@media (max-width: 760px) { .dup-img { display: none; } }

/* ── Small screens ── */
@media (max-width: 480px) {
  body { font-size: 17px; }
  .btn { font-size: 17px; padding: 18px; }
  .story p { font-size: 17.5px; }
  .order a.gumroad-button.btn { font-size: 18px !important; }
  .logo-text { font-size: 18px; }
  .price-pill { font-size: 13px; gap: 6px; padding: 7px 12px; }
  .price-pill .tag { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ── Legal pages ── */
.legal-hero { background: radial-gradient(700px 300px at 50% -20%, rgba(107,44,245,.35), transparent 70%), var(--night); color: var(--on-night); padding: clamp(44px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); text-align: center; }
.legal-hero h1 { color: #fff; font-weight: 900; font-size: clamp(36px, 5vw, 54px); letter-spacing: -1px; }
.legal-meta { margin: 12px 0 0; color: var(--on-night-muted); font-size: 15px; }
.legal .read { max-width: 760px; }
.legal h2 { font-weight: 800; font-size: clamp(22px, 2.6vw, 26px); margin: 1.9em 0 .55em; }
.legal h3 { font-weight: 700; font-size: 19px; margin: 1.3em 0 .4em; }
.legal p, .legal li { font-size: 17px; }
.legal ul:not(.checks) { padding-left: 1.2em; margin: 0 0 1.1em; }
.legal ul:not(.checks) li { margin-bottom: .45em; }
.legal ul:not(.checks) li::marker { color: var(--violet); }
.legal code { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.legal-summary { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px 14px; }
.legal-summary h2 { margin-top: 0; }
.social { display: flex; gap: 10px; }
.foot .social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(182,156,255,.10); border: 1px solid rgba(182,156,255,.22); color: #fff; transition: background .15s, transform .15s; }
.foot .social a:hover { background: var(--violet); border-color: var(--violet); transform: translateY(-2px); }
@media (max-width: 760px) { .social { width: 100%; justify-content: center; } }

/* Gumroad overlay buttons: keep the brand button look over Gumroad's injected styles */
a.gumroad-button.btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: .45em !important;
  height: auto !important; min-height: 60px !important; margin: 0 !important;
  font: 800 19px/1.2 var(--sans) !important; color: #fff !important; letter-spacing: .1px !important; text-decoration: none !important; text-shadow: none !important;
  background: linear-gradient(180deg, #7d40ff 0%, var(--violet) 100%) !important;
  padding: 20px 34px !important; border: 0 !important; border-radius: 12px !important;
  box-shadow: 0 4px 0 var(--violet-dark), 0 14px 34px rgba(107,44,245,.38) !important;
}
a.gumroad-button.btn:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 6px 0 var(--violet-dark), 0 18px 40px rgba(107,44,245,.45) !important; }
a.gumroad-button.btn.btn-xl { width: min(560px, 100%) !important; }
a.gumroad-button.btn .logo-full, a.gumroad-button.btn .gumroad-button-logo { display: none !important; }
@media (max-width: 760px) { a.gumroad-button.btn { font-size: 18px !important; padding: 18px 22px !important; white-space: normal !important; } }

/* Plain Gumroad links (header, sticky bar, text links): hide the logo Gumroad appends */
a[href*="gumroad.com/l/"] .logo-full { display: none !important; }

/* Buttons that are now links keep white text in the header and sticky bar */
.top-links a.btn, .top-links a.btn:hover, .sticky-cta a.btn { color: #fff; }
