:root {
  color-scheme: dark;
  --bg: #151517; --bg-2: #1b1b1e; --surface: #202024; --surface-2: #27272c; --line: #2f2f35; --line-2: #3a3a41;
  --text: #b3b3bb; --text-2: #cfcfd6; --text-dim: #80808a; --white: #f4f4f6;
  --e: #7cc0ff; --cat: #ffb56b; --an: #c7a4ff; --good: #86d4a9; --bad: #f08c8c;
  --sans: 'Hanken Grotesk', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace; --serif: 'Source Serif 4', Georgia, serif;
  --r: 18px; --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--e); }
h1, h2, h3 { color: var(--white); line-height: 1.15; margin: 0; }
h1 { font: 500 clamp(38px, 6.4vw, 62px)/1.04 var(--serif); letter-spacing: -0.015em; }
h1 em { font-style: italic; background: linear-gradient(100deg, var(--e), var(--an) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font: 500 clamp(26px, 4vw, 34px)/1.1 var(--serif); letter-spacing: -0.01em; }
h3 { font-size: 17px; margin-bottom: 6px; }
main, .top-in, .foot-in { max-width: 1040px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
main section { margin: 0 0 84px; scroll-margin-top: 80px; }
.muted { color: var(--text-dim); } .small { font-size: 14px; }
.note { margin-top: 16px; }

.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 82% -6%, color-mix(in srgb, var(--e) 17%, transparent), transparent 70%),
    radial-gradient(50% 40% at 4% 22%, color-mix(in srgb, var(--an) 11%, transparent), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.045) 1px, transparent 0) 0 0 / 26px 26px; }

/* ---- top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; }
.word { font: 600 25px/1 'Fredoka', var(--sans); letter-spacing: 0.01em; color: var(--white); }
.word i { font-style: normal; background: linear-gradient(135deg, #8fd0ff, #cdaaff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dlg-mark svg { width: 100%; height: 100%; }
.mark { display: grid; place-items: center; width: 38px; height: 38px; filter: drop-shadow(0 4px 12px color-mix(in srgb, var(--an) 35%, transparent)); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.mark svg.pal { width: 100%; height: 100%; }
.brand:hover .mark { transform: rotate(-8deg) scale(1.1); }
.wordbox { display: flex; flex-direction: column; gap: 3px; }
.wordbox small { font: 500 9.5px/1 var(--mono); letter-spacing: 0.08em; color: var(--text-dim); text-transform: lowercase; }
.brand:hover .mark { transform: rotate(-8deg) scale(1.1); }
.top-r { display: flex; align-items: center; gap: 6px; }
.top-link { color: var(--text-2); text-decoration: none; font-size: 15px; padding: 7px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.top-link:hover { background: var(--surface); color: var(--white); }
.who { font: 500 12.5px var(--mono); color: var(--text-dim); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 6px; }

/* ---- buttons */
.btn { font: 600 15px var(--sans); color: var(--white); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .2s; }
.btn:hover { border-color: var(--text-dim); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, summary:focus-visible, .top-link:focus-visible { outline: 2px solid var(--e); outline-offset: 2px; }
.btn.sm { min-height: 36px; padding: 6px 15px; font-size: 14px; }
.btn.lg { min-height: 50px; padding: 12px 26px; font-size: 16px; }
.btn.primary { background: var(--white); color: #111114; border-color: var(--white); box-shadow: 0 6px 22px rgba(255, 255, 255, 0.08); }
.btn.primary:hover { box-shadow: 0 8px 28px rgba(255, 255, 255, 0.16); border-color: var(--white); }
.btn.ghost { background: none; }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }

/* ---- hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 40px; align-items: center; padding: 72px 0 70px; margin-bottom: 0 !important; }
.eyebrow { display: flex; gap: 10px; align-items: center; font: 500 13px var(--mono); color: var(--text-dim); margin-bottom: 20px; }
.eyebrow .code { color: var(--e); letter-spacing: 0.08em; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 20%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--good) 6%, transparent); } }
.lead { font-size: 18.5px; max-width: 590px; margin: 22px 0 28px; color: var(--text-2); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-msg { color: var(--cat); font-size: 15px; margin: 14px 0 0; min-height: 1.4em; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 14px 0 0; font-size: 14px; color: var(--text-dim); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; fill: none; stroke: var(--good); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-art { position: relative; padding: 18px 10px 26px; }
.mock { border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02) inset; transform: perspective(1100px) rotateY(-7deg) rotateX(3deg); transition: transform .5s var(--ease); overflow: hidden; }
.hero-art:hover .mock { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 12px var(--mono); color: var(--text-dim); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-bar span { margin-left: 10px; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-q { font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.mock-q b { color: var(--e); font-family: var(--mono); margin-right: 4px; }
.mock-opts { display: grid; gap: 7px; }
.mock-opts span { border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; font-size: 14px; color: var(--text); background: var(--bg-2); }
.mock-opts .on { border-color: var(--good); color: var(--white); background: color-mix(in srgb, var(--good) 13%, var(--bg-2)); }
.mock-opts .on::after { content: '✓'; float: right; color: var(--good); }
.mock-slider { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); }
.mock-row { display: flex; justify-content: space-between; font: 500 13px var(--mono); color: var(--text-dim); margin-bottom: 12px; }
.mock-row b { color: var(--cat); }
.track { position: relative; height: 6px; border-radius: 6px; background: var(--line-2); }
.track .fill { position: absolute; inset: 0 auto 0 0; width: 28%; border-radius: 6px; background: linear-gradient(90deg, var(--e), var(--an)); animation: slide 6s ease-in-out infinite; }
.track .knob { position: absolute; top: 50%; left: 28%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); animation: knob 6s ease-in-out infinite; }
@keyframes slide { 0%, 100% { width: 28%; } 50% { width: 72%; } }
@keyframes knob { 0%, 100% { left: 28%; } 50% { left: 72%; } }
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-chips span { font: 500 11.5px var(--mono); padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line-2); }
.float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--white); font: 600 13.5px var(--sans); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); animation: bob 5s ease-in-out infinite; }
.float span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--good); color: #0e1a13; font-size: 12px; font-weight: 700; }
.float.f1 { top: -14px; right: -4px; } .float.f2 { bottom: 4px; left: -6px; animation-delay: -2.4s; color: var(--text-2); font-family: var(--mono); font-weight: 500; font-size: 12.5px; }
@keyframes bob { 50% { transform: translateY(-7px); } }

/* ---- sections */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head p { margin: 0; font-size: 15px; }
.kicker { font: 500 12.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--e); margin-bottom: 8px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- subject cards */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { --a: var(--e); position: relative; border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--a), transparent); opacity: .85; }
.card::after { content: ''; position: absolute; width: 220px; height: 220px; top: -110px; right: -90px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--a) 22%, transparent), transparent 70%); pointer-events: none; transition: opacity .3s; opacity: .55; }
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--a) 55%, var(--line)); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4); }
.card:hover::after { opacity: 1; }
.card.a-BACHY105 { --a: var(--cat); } .card.a-BAEEE101 { --a: var(--e); } .card.a-BAENG101 { --a: var(--an); }
.card.focus { border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 28%, transparent), 0 22px 50px rgba(0, 0, 0, 0.4); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.card-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--a) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--a) 38%, var(--line)); }
.card-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--a); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip { font: 500 12px var(--mono); color: var(--a); letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--a) 40%, var(--line)); background: color-mix(in srgb, var(--a) 9%, transparent); }
.card h3 { font: 500 25px/1.1 var(--serif); margin: 6px 0 0; position: relative; z-index: 1; }
.card p { margin: 0; font-size: 15px; position: relative; z-index: 1; }
.card ul { list-style: none; margin: 4px 0 2px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--text-2); position: relative; z-index: 1; }
.card li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; }
.card li::before { content: ''; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: color-mix(in srgb, var(--a) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.buy { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); display: grid; gap: 12px; position: relative; z-index: 1; }
.price { font: 700 36px/1 var(--sans); color: var(--white); letter-spacing: -0.02em; }
.price span { font-size: 14px; font-weight: 500; color: var(--text-dim); letter-spacing: 0; margin-left: 4px; }
.card .btn { width: 100%; }
.card .btn.free { background: none; border-color: color-mix(in srgb, var(--a) 40%, var(--line-2)); color: var(--a); }
.card .btn.free:hover { background: color-mix(in srgb, var(--a) 10%, transparent); border-color: var(--a); }
.owned { display: flex; align-items: center; gap: 8px; color: var(--good); font-weight: 600; font-size: 15px; }
.owned::before { content: '✓'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--good) 18%, transparent); font-size: 13px; }
.card-msg { font-size: 13.5px; color: var(--bad); min-height: 1em; margin: -4px 0 0 !important; }

/* ---- feature grid */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.feat { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--bg-2); transition: border-color .25s, transform .25s var(--ease), background .25s; }
.feat:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--surface); }
.feat p { margin: 0; font-size: 14.5px; }
.ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); margin-bottom: 14px; }
.ico svg { width: 21px; height: 21px; fill: none; stroke: var(--e); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat:nth-child(3n+2) .ico svg { stroke: var(--cat); } .feat:nth-child(3n) .ico svg { stroke: var(--an); }

/* ---- steps */
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); counter-reset: s; position: relative; }
.steps-list li { counter-increment: s; position: relative; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); display: grid; gap: 6px; align-content: start; }
.steps-list li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--e), var(--an)); color: #111; font: 700 16px var(--mono); margin-bottom: 10px; }
.steps-list li:not(:last-child)::after { content: ''; position: absolute; top: 40px; left: calc(100% + 1px); width: 14px; border-top: 2px dashed var(--line-2); }
.steps-list b { color: var(--white); font-size: 18px; } .steps-list span { font-size: 15px; }

/* ---- faq */
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; background: var(--bg-2); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface); }
.faq summary { cursor: pointer; color: var(--white); font-weight: 600; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--text-dim); border-bottom: 2px solid var(--text-dim); transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { margin: 0 0 16px; font-size: 15px; }
.restore { margin-top: 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---- footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 34px 0 50px; font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot-brand { max-width: 430px; } .foot-brand p { margin: 12px 0 0; color: var(--text-dim); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: flex-start; margin: 0; }
.legal-links a { color: var(--text-2); text-decoration: none; } .legal-links a:hover { color: var(--white); text-decoration: underline; }

/* ---- sign-in window */
.dlg { border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface), var(--bg-2)); color: var(--text); border-radius: 24px; padding: 30px 26px 24px; width: min(430px, calc(100vw - 28px)); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6); }
.dlg[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.dlg::backdrop { background: rgba(8, 8, 10, 0.7); backdrop-filter: blur(5px); }
.dlg h2 { margin-bottom: 8px; font-size: 26px; }
.dlg-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px; background: none; color: #111; font: 700 22px var(--mono); }
.dlg-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: none; border: 0; color: var(--text-dim); font-size: 24px; cursor: pointer; line-height: 1; }
.dlg-x:hover { background: var(--surface-2); color: var(--white); }
.gsi { display: flex; justify-content: center; margin: 20px 0 8px; min-height: 44px; color-scheme: light; background: transparent; }
.gsi iframe, .gsi > div { color-scheme: light; background: transparent; border-radius: 999px; }
.dev { display: flex; gap: 8px; margin: 8px 0; } .dev input { flex: 1; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); }
.msg { min-height: 1.3em; color: var(--bad); font-size: 14px; margin: 6px 0; }
.inapp { border: 1px solid var(--cat); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--white); color: #111114; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; z-index: 20; max-width: calc(100vw - 32px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); animation: pop .3s var(--ease); }
.toast[hidden] { display: none; }

/* ---- plain pages (terms, refunds, contact, privacy, reviewer sign-in) */
body.prose-page { overflow-y: auto; }
.wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 90px; }
.wrap h1 { font-size: clamp(32px, 6vw, 42px); margin-bottom: 14px; } .wrap h2 { margin-top: 34px; font: 600 21px var(--sans); } .wrap li { margin: 6px 0; }
.wrap .eyebrow, .rv .eyebrow { justify-content: space-between; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 18px; }
  .hero-art { max-width: 480px; width: 100%; margin: 0 auto; }
  .mock { transform: none; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li:not(:last-child)::after { display: none; }
  .top-link { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  main section { margin-bottom: 64px; }
  .who { display: none; }
  .float.f1 { right: 4px; } .float.f2 { left: 4px; }
  .hero-cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
[hidden] { display: none !important; }

/* ======================================================================
   Polish pass: progress bar, mobile menu, interactive hero, live previews,
   stats, comparison table, card glow, footer, sticky mobile bar
   ====================================================================== */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 30; background: linear-gradient(90deg, var(--e), var(--an)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.top.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.top-link.active { color: var(--white); background: var(--surface); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); cursor: pointer; padding: 0; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease); }
.menu-btn span:nth-child(1) { top: 13px; } .menu-btn span:nth-child(2) { top: 19px; } .menu-btn span:nth-child(3) { top: 25px; }
.menu-btn.open span:nth-child(1) { top: 19px; transform: rotate(45deg); } .menu-btn.open span:nth-child(2) { opacity: 0; } .menu-btn.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
.mnav { display: grid; gap: 2px; padding: 8px 20px 16px; border-top: 1px solid var(--line); animation: pop .22s var(--ease); max-width: 1040px; margin: 0 auto; }
.mnav a { color: var(--text-2); text-decoration: none; padding: 12px 10px; border-radius: 12px; font-weight: 600; }
.mnav a:active, .mnav a:hover { background: var(--surface); color: var(--white); }

/* hero extras */
.free-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--a); box-shadow: 0 0 10px var(--a); }
.pill:hover { border-color: var(--a); background: color-mix(in srgb, var(--a) 10%, var(--bg-2)); transform: translateY(-1px); color: var(--white); }

/* interactive hero demo */
.mock-bar .try { margin-left: auto; font: 500 11px var(--mono); font-style: normal; color: var(--e); border: 1px solid color-mix(in srgb, var(--e) 40%, transparent); border-radius: 999px; padding: 2px 9px; animation: tryp 2s ease-in-out infinite; }
.mock.touched .try { display: none; }
@keyframes tryp { 50% { opacity: .45; } }
.mock-opts button { text-align: left; font: 400 14px var(--sans); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; color: var(--text); background: var(--bg-2); cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.mock-opts button:hover { border-color: var(--text-dim); transform: translateX(2px); }
.mock-opts button.ok { border-color: var(--good); color: var(--white); background: color-mix(in srgb, var(--good) 13%, var(--bg-2)); }
.mock-opts button.ok::after { content: "✓"; float: right; color: var(--good); }
.mock-opts button.no { border-color: var(--bad); color: var(--white); background: color-mix(in srgb, var(--bad) 12%, var(--bg-2)); animation: shake .35s; }
.mock-opts button.no::after { content: "✕"; float: right; color: var(--bad); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.mock-fb { margin: -4px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-dim); min-height: 2.9em; }
.mock-fb.good { color: var(--good); } .mock-fb.bad { color: var(--bad); }
.mock-row span b { color: var(--cat); font-weight: 600; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; outline: none; cursor: pointer; background: linear-gradient(90deg, var(--e), var(--an)) 0 / var(--p, 50%) 100% no-repeat, var(--line-2); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .5), 0 0 0 4px rgba(255, 255, 255, .08); transition: box-shadow .2s; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
input[type=range]:hover::-webkit-slider-thumb, input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 2px 8px rgba(0, 0, 0, .5), 0 0 0 7px rgba(124, 192, 255, .18); }
input[type=range]:focus-visible { outline: 2px solid var(--e); outline-offset: 6px; }
#mock-r { --p: 66%; }

/* at a glance */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; }
.stats > div { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.stats > div:first-child { border-left: 0; }
.stats b { font: 500 clamp(30px, 4.4vw, 42px)/1 var(--serif); color: var(--white); letter-spacing: -.01em; }
.stats i { font-style: normal; }
.stats span { font-size: 14px; color: var(--text-dim); }

/* live previews */
.pv { --a: var(--e); border: 1px solid var(--line-2); border-radius: 24px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.pv-tabs { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.pv-tabs::-webkit-scrollbar { display: none; }
.pv-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--sans); color: var(--text-2); background: none; border: 1px solid transparent; border-radius: 999px; padding: 8px 15px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.pv-tabs button i { width: 8px; height: 8px; border-radius: 50%; background: var(--a); opacity: .55; transition: opacity .2s, box-shadow .2s; }
.pv-tabs button:hover { background: var(--surface-2); color: var(--white); }
.pv-tabs button.on { color: var(--white); background: color-mix(in srgb, var(--a) 14%, var(--surface-2)); border-color: color-mix(in srgb, var(--a) 45%, var(--line-2)); }
.pv-tabs button.on i { opacity: 1; box-shadow: 0 0 10px var(--a); }
.pv-tabs button:focus-visible { outline: 2px solid var(--e); outline-offset: 2px; }
.pv-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.pv-stage { position: relative; min-height: 320px; background: radial-gradient(80% 90% at 50% 0%, color-mix(in srgb, var(--a) 8%, transparent), transparent 70%), var(--bg); border-right: 1px solid var(--line); }
.pv-stage canvas { display: block; width: 100%; height: 100%; min-height: 320px; aspect-ratio: 16 / 10; }
.pv-live { position: absolute; top: 12px; right: 14px; display: inline-flex; align-items: center; gap: 7px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.pv-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); animation: pulse 2.4s ease-in-out infinite; }
.pv-side { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.pv-chip { align-self: flex-start; font: 500 12px var(--mono); letter-spacing: .06em; color: var(--a); padding: 4px 11px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--a) 40%, var(--line)); background: color-mix(in srgb, var(--a) 9%, transparent); }
.pv-side h3 { font: 500 26px/1.1 var(--serif); margin: 2px 0 0; }
.pv-blurb { margin: 0; font-size: 15px; color: var(--text-2); }
.pv-ctrls { display: grid; gap: 14px; margin-top: 4px; }
.pv-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: center; }
.pv-row input[type=range] { grid-column: 1 / -1; }
.pv-lbl { font-size: 14px; font-weight: 600; color: var(--white); }
.pv-row output { font: 500 13px var(--mono); color: var(--a); }
.pv-tog { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 3px; }
.pv-tog button { font: 600 14px var(--sans); color: var(--text-dim); background: none; border: 0; border-radius: 9px; padding: 8px 10px; cursor: pointer; transition: background .2s, color .2s; }
.pv-tog button.on { background: var(--surface-2); color: var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.pv-read { margin: 2px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--line-2); font-size: 14px; line-height: 1.5; color: var(--text-2); }
.pv-read b { color: var(--white); font-family: var(--mono); font-weight: 500; }
.pv-cta { margin-top: auto; display: grid; gap: 8px; padding-top: 4px; }
.pv-cta .btn { width: 100%; }

/* free vs pro */
.cmp-wrap { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--bg-2); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 18px; border-top: 1px solid var(--line); text-align: center; }
.cmp thead th { border-top: 0; font-weight: 600; color: var(--text-2); font-size: 14px; background: var(--bg-2); }
.cmp thead th.pro { color: #111; background: linear-gradient(135deg, var(--e), var(--an)); }
.cmp tbody th { text-align: left; font-weight: 500; color: var(--text-2); }
.cmp td:last-child { background: color-mix(in srgb, var(--e) 5%, transparent); }
.cmp td.y::before, .cmp td.n::before { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; font-weight: 700; }
.cmp td.y::before { content: "✓"; background: color-mix(in srgb, var(--good) 20%, transparent); color: var(--good); }
.cmp td.n::before { content: "–"; color: var(--text-dim); background: var(--surface); }
.cmp tbody tr { transition: background .2s; } .cmp tbody tr:hover { background: var(--surface); }
.cmp thead th:first-child { width: 52%; }

/* cards: cursor glow, collapsed list, flash */
.card .spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0), color-mix(in srgb, var(--a) 17%, transparent), transparent 70%); }
.card:hover .spot { opacity: 1; }
.card ul.collapsed li:nth-child(n+4) { display: none; }
.more-btn { align-self: flex-start; font: 600 13.5px var(--sans); color: var(--a); background: none; border: 0; padding: 2px 0; cursor: pointer; position: relative; z-index: 1; }
.more-btn::after { content: " ↓"; } .more-btn[aria-expanded=true]::after { content: " ↑"; }
.more-btn:hover { text-decoration: underline; } .more-btn:focus-visible { outline: 2px solid var(--e); outline-offset: 3px; border-radius: 4px; }
.card.flash { animation: flash 2.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 20%, 70% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 45%, transparent), 0 0 50px color-mix(in srgb, var(--a) 35%, transparent); } }
.sk { gap: 14px; min-height: 420px; }
.sk i { display: block; height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%) 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.sk i:nth-child(1) { width: 44px; height: 44px; border-radius: 13px; } .sk i:nth-child(2) { width: 70%; height: 24px; } .sk i:nth-child(3), .sk i:nth-child(4) { width: 95%; } .sk i:nth-child(5) { width: 55%; margin-top: auto; height: 38px; border-radius: 999px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* faq */
.faq .ans { overflow: hidden; }

/* footer */
.foot-in { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot-col { display: grid; gap: 9px; align-content: start; }
.foot-col h4 { margin: 0 0 4px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.foot-col a { color: var(--text-2); text-decoration: none; } .foot-col a:hover { color: var(--white); text-decoration: underline; }
.foot-base { max-width: 1040px; margin: 28px auto 0; padding: 18px 20px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--text-dim); }
.foot-base a { color: var(--text-2); text-decoration: none; } .foot-base a:hover { color: var(--white); }

/* sticky bar on phones, celebration */
.sticky-cta { display: none; }
.burst { position: fixed; left: 50%; top: 55%; width: 0; height: 0; z-index: 40; pointer-events: none; }
.burst i { position: absolute; width: 9px; height: 14px; border-radius: 2px; opacity: 0; animation: burst 1.3s cubic-bezier(.15, .7, .3, 1) forwards; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 180px)) rotate(var(--r)); } }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .pv-body { grid-template-columns: 1fr; }
  .pv-stage { border-right: 0; border-bottom: 1px solid var(--line); min-height: 260px; }
  .pv-stage canvas { min-height: 260px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 15; animation: pop .3s var(--ease); }
  .sticky-cta[hidden] { display: none; }
  .sticky-cta .btn { width: 100%; min-height: 50px; box-shadow: 0 14px 40px rgba(0, 0, 0, .6); }
  .foot { padding-bottom: 90px; }
}
@media (max-width: 520px) {
  .pv-side { padding: 20px 18px; } .pv-side h3 { font-size: 23px; }
  .cmp th, .cmp td { padding: 12px 10px; font-size: 14px; }
  .cmp thead th:first-child { width: 46%; }
  .toast { bottom: 84px; }
}
.stats .txt { align-content: center; }
.stats .txt span { font-size: 17px; line-height: 1.35; color: var(--text-2); }

/* many subjects: search, filter chips, "your subjects" strip, tighter grid */
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.tools input { flex: 1 1 220px; max-width: 320px; font: 500 15px var(--sans); color: var(--white); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; outline: none; transition: border-color .2s; }
.tools input:focus { border-color: var(--e); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: 600 13.5px var(--sans); color: var(--text-2); background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chips button:hover { background: var(--surface-2); color: var(--white); }
.chips button.on { background: var(--white); border-color: var(--white); color: #111114; }
.mine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--good) 30%, var(--line)); border-radius: 16px; background: color-mix(in srgb, var(--good) 6%, var(--bg-2)); }
.cards.many { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; }
.cards.many .card { padding: 18px; } .cards.many .card h3 { font-size: 21px; }
.empty { grid-column: 1 / -1; padding: 30px 0; text-align: center; }
.thint { font-size: 13.5px; color: var(--text-dim); }
