:root {
  color-scheme: dark;
  --bg: #070b1c;
  --surface: #0e1531;
  --surface-2: #151d3d;
  --ink: #f2f4fb;
  --ink-2: #b9c0d9;
  --muted: #8890ad;
  --line: #222b51;
  --accent: #4d5ff5;
  --accent-2: #3b4ce6;
  --accent-soft: rgba(107,125,255,.14);
  --signal: #6b7dff;
  --teal: #2dd4bf;
  --teal-soft: rgba(45,212,191,.12);
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 16px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 30px rgba(0,0,0,.35);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: 24px; font-weight: 750; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 .8em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
main { min-height: calc(100vh - 140px); padding-top: 28px; padding-bottom: 56px; outline: none; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(7,11,28,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.logo { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; position: relative; }
.logo::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #2dd4bf; top: 4px; right: 4px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--ink-2); font-weight: 550; padding: 7px 12px; border-radius: 8px; font-size: 14.5px; }
.nav a:hover { background: var(--surface-2); text-decoration: none; }
.nav a.active { color: var(--accent); background: var(--accent-soft); }
#timer-slot { margin-left: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; background: var(--accent); color: #fff; font: inherit; font-weight: 650; padding: 11px 18px; border-radius: 10px; cursor: pointer; transition: background .15s, transform .05s, box-shadow .15s; text-decoration: none; font-size: 15px; }
.btn:hover { background: var(--accent-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { background: var(--surface-2); }
.btn.ghost { background: transparent; color: var(--accent); padding: 8px 10px; }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.teal { background: var(--teal); }
.btn.teal:hover { filter: brightness(1.1); }
.btn.small { padding: 7px 12px; font-size: 13.5px; border-radius: 8px; }
.btn.lg { padding: 14px 24px; font-size: 16px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.grid > .card + .card { margin-top: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eyebrow { text-transform: uppercase; font-size: 12px; letter-spacing: .09em; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.muted { color: var(--muted); }
.sub { color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.pill.accent { background: var(--accent-soft); color: var(--accent); border-color: rgba(107,125,255,.3); }
.pill.teal { background: var(--teal-soft); color: var(--teal); border-color: rgba(45,212,191,.3); }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; padding: 26px 0 30px; }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.hero-card { background: linear-gradient(160deg, #312e81, #4338ca 55%, #0f766e); color: #fff; border-radius: 20px; padding: 26px; box-shadow: 0 20px 50px rgba(67,56,202,.25); }
.hero-card .score-big { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hero-card .bar { height: 7px; border-radius: 6px; background: rgba(255,255,255,.18); overflow: hidden; margin-top: 5px; }
.hero-card .bar i { display: block; height: 100%; background: #5eead4; border-radius: 6px; }
.hero-card .crit { display: grid; grid-template-columns: 1fr 34px; gap: 2px 10px; font-size: 13.5px; margin-top: 12px; align-items: center; }
.section { margin-top: 44px; }
.pain h3 { margin-top: 6px; }
.pain .quote { font-style: italic; color: var(--ink-2); border-left: 3px solid var(--accent); padding-left: 12px; margin-top: 10px; font-size: 14.5px; }
.step-num { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; }

/* forms */
label.f { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
select, input[type=text], textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; transition: border .15s, box-shadow .15s;
}
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(67,56,202,.15); }
textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 8px 13px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 550; color: var(--ink-2); }
.chip:hover { border-color: #3a4472; }
.chip[aria-pressed=true] { background: var(--accent); color: #fff; border-color: var(--accent); }

.newgrid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .newgrid { grid-template-columns: 1fr; } }

/* case workspace */
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.case-doc { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; }
.case-doc h2 { font-size: 22px; }
.case-doc .task { background: var(--accent-soft); border: 1px solid rgba(107,125,255,.3); border-radius: 12px; padding: 14px 16px; font-weight: 600; margin: 14px 0; }
.case-doc ul { padding-left: 20px; margin: 6px 0 12px; }
table.ex { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 6px 0 4px; }
table.ex th, table.ex td { padding: 7px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.ex th { background: var(--surface-2); font-weight: 650; color: var(--ink-2); }
table.ex td:not(:first-child), table.ex th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.exhibit { margin: 16px 0; }
.exhibit h4 { font-size: 14.5px; margin-bottom: 4px; }
.exhibit .note { font-size: 12.5px; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.step { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); margin-bottom: 12px; }
.step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.step-head h3 { margin: 0; font-size: 15.5px; }
.step-head .n { width: 24px; height: 24px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }
.step-head .done { margin-left: auto; font-size: 12px; color: var(--good); font-weight: 650; }
.step .tip { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.hint-box { margin-top: 8px; background: var(--teal-soft); border: 1px solid rgba(45,212,191,.28); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.hint-box b { color: var(--teal); }
.timer { font-variant-numeric: tabular-nums; font-weight: 750; padding: 6px 12px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.timer.warn { color: var(--warn); border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.1); }
.timer.over { color: var(--bad); border-color: rgba(248,113,113,.45); background: rgba(248,113,113,.1); }
.mobile-tabs { display: none; }
.wordcount { font-size: 12px; color: var(--muted); text-align: right; margin-top: 4px; }

/* results */
.score-ring { width: 150px; height: 150px; flex: none; }
.result-head { display: flex; gap: 26px; align-items: center; }
.crit-row { display: grid; grid-template-columns: 190px 1fr 44px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.crit-row:last-child { border-bottom: 0; }
.crit-row .name { font-weight: 650; font-size: 14.5px; }
.crit-row .comment { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); margin-top: -4px; }
.meter { height: 9px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 6px; background: var(--accent); }
.crit-row .val { font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }
ul.clean { list-style: none; padding: 0; margin: 0; }
ul.clean li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed var(--line); }
ul.clean li:last-child { border-bottom: 0; }
ul.clean li::before { position: absolute; left: 2px; top: 8px; font-weight: 800; }
ul.plus li::before { content: "+"; color: var(--good); }
ul.arrow li::before { content: "→"; color: var(--accent); }
ul.miss li::before { content: "!"; color: var(--warn); left: 6px; }
.qa { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.qa .q { font-weight: 650; margin-bottom: 8px; }
.qa .rating { margin-top: 10px; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font-size: 14px; }

/* dashboard */
.stat { padding: 18px 20px; }
.stat .k { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat .v { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat .d { font-size: 12.5px; color: var(--ink-2); }
.chart-wrap { position: relative; }
.chart-wrap svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 12.5px; padding: 7px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -115%); opacity: 0; transition: opacity .1s; }
.chart-tip.show { opacity: 1; }
table.hist { width: 100%; border-collapse: collapse; font-size: 14px; }
table.hist th, table.hist td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
table.hist th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
table.hist tr.click { cursor: pointer; }
table.hist tr.click:hover td { background: var(--surface-2); }
.empty { text-align: center; padding: 50px 20px; }

/* loading */
.loading { text-align: center; padding: 70px 20px; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .9s linear infinite; margin: 0 auto 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.error { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.4); color: #fecaca; padding: 14px 16px; border-radius: 12px; margin: 14px 0; }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .2s; z-index: 50; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.footer { border-top: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--muted); }
.footer-in { display: flex; justify-content: space-between; gap: 12px; padding: 16px; flex-wrap: wrap; }
.footer a { margin-left: 12px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-layout { grid-template-columns: 1fr; }
  .case-doc { position: static; max-height: none; }
  .mobile-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
  .case-layout[data-tab=case] .ws, .case-layout[data-tab=ws] .case-doc { display: none; }
}
@media (max-width: 620px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .nav a { padding: 6px 8px; font-size: 13.5px; }
  .brand span:last-child { display: none; }
  .result-head { flex-direction: column; align-items: flex-start; }
  .crit-row { grid-template-columns: 1fr 44px; }
  .crit-row .meter { grid-column: 1 / -1; grid-row: 2; }
  .card { padding: 18px; }
}
.timer { white-space: nowrap; }
@media (max-width: 620px) { .topbar-in { gap: 10px; } .nav { margin-left: 0; gap: 0; } .timer { padding: 5px 8px; font-size: 14px; } }

/* ===== v2 ===== */
.auth-slot { display: flex; gap: 6px; align-items: center; }
#timer-slot { margin-left: auto; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 18px; padding: 4px 10px; cursor: pointer; color: var(--ink); }
.usermenu { position: relative; }
.userbtn { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink); }
.dropdown { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 210px; padding: 6px; z-index: 30; }
.dropdown a, .dropdown button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; color: var(--ink); background: none; border: 0; font: inherit; font-size: 14.5px; cursor: pointer; }
.dropdown a:hover, .dropdown button:hover { background: var(--surface-2); text-decoration: none; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--teal)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 28px; height: 28px; font-size: 12px; }
.avatar.lg { width: 76px; height: 76px; font-size: 26px; }
.team { text-align: center; }
.team .avatar { margin: 0 auto; }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 8px; }
.stats-strip > div { padding: 18px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.stats-strip > div:last-child { border-right: 0; }
.stats-strip b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats-strip span { color: var(--muted); font-size: 13.5px; }
.feature .ficon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 20px; margin-bottom: 10px; }
.price .amount { font-size: 30px; font-weight: 800; margin: 4px 0 10px; letter-spacing: -.02em; }
.price .amount span { font-size: 14px; color: var(--muted); font-weight: 500; }
.price.featured { border: 2px solid var(--accent); }
.price { display: flex; flex-direction: column; }
.price ul { flex: 1; }
.faq details { padding: 16px 20px; margin-bottom: 10px; }
.faq details + details { margin-top: 0; }
.faq summary { font-weight: 650; cursor: pointer; }
.cta-band { background: linear-gradient(135deg, #312e81, #4338ca 60%, #0f766e); color: #fff; border-radius: 20px; padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.auth-wrap { display: grid; place-items: start center; padding: 10px 0 30px; }
.auth-card { width: 100%; max-width: 540px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
input[type=password] { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
input[type=password]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(67,56,202,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-top: 14px; line-height: 1.45; }
.check input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--accent); }
.okbox { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); color: #a7f3d0; padding: 12px 14px; border-radius: 12px; }
#google svg { flex: none; }
table.hist tr.me td { background: var(--accent-soft); }
.contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.contact-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ci { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.legal h3 { margin-top: 22px; }
.legal ul { padding-left: 20px; }
.msg { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.msg:last-child { border-bottom: 0; }
table.hist { white-space: nowrap; }

/* footer v2 */
.footer { background: #050815; color: #c9cde0; border-top: 0; }
.footer .muted { color: #9aa0b8; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 28px; padding: 40px 16px 28px; }
.footer-grid h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.footer-grid a { display: block; color: #c9cde0; margin: 0 0 8px; font-size: 14.5px; }
.footer-grid a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer .soc { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .soc a { display: inline-block; border: 1px solid #2d3350; border-radius: 999px; padding: 5px 12px; font-size: 13px; margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #23283f; padding: 16px; font-size: 13px; color: #8a90a8; }
.footer-bottom a { color: #c9cde0; margin-left: 16px; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 14px; margin: 0; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; font-size: 15.5px; }
  .topbar-in { position: relative; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip > div:nth-child(2) { border-right: 0; }
  .stats-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .uname { display: none; }
  .userbtn { padding: 4px 8px 4px 4px; }
  .auth-slot .btn.ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand span:last-child { display: inline; }
}
.footer-grid a.brand { display: inline-flex; margin: 0; }

.avatar.xl { width: 128px; height: 128px; font-size: 36px; box-shadow: 0 6px 20px rgba(20,24,38,.12); }
.team h3 { font-size: 16.5px; }


/* ===== v3 · dark arena ===== */
body { background: radial-gradient(1200px 600px at 80% -10%, rgba(77,95,245,.18), transparent 60%), var(--bg); background-attachment: fixed; }
h1, h2, h3 { letter-spacing: -.03em; }
.wordmark { height: 22px; width: auto; display: block; }
.footer .wordmark { height: 26px; }
.topbar { border-bottom-color: rgba(255,255,255,.06); }
.nav a { color: var(--ink-2); }
.nav a:hover { background: var(--surface-2); }
.nav a.active { color: #fff; background: var(--accent-soft); }
.btn { background: var(--accent); color: #fff; border-radius: 12px; box-shadow: 0 6px 24px rgba(77,95,245,.35); }
.btn:hover { background: var(--accent-2); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.secondary:hover { background: var(--surface-2); }
.btn.ghost { box-shadow: none; color: var(--signal); }
.btn.teal { background: var(--teal); color: #052e2a; box-shadow: 0 6px 24px rgba(45,212,191,.25); }
.btn.light { background: #fff; color: #0b1226; box-shadow: none; }
.btn.light:hover { background: #e7eaff; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)), var(--surface); border-color: var(--line); }
.eyebrow { font-family: var(--mono); color: var(--signal); letter-spacing: .16em; font-weight: 500; }
select, input[type=text], input[type=password], textarea { background: var(--surface-2); border-color: var(--line); color: var(--ink); }
select option { background: var(--surface); color: var(--ink); }
.chip { background: var(--surface-2); border-color: var(--line); color: var(--ink-2); }
.pill { background: var(--surface-2); border-color: var(--line); color: var(--ink-2); }
.pill.live { background: rgba(52,211,153,.12); color: var(--good); border-color: rgba(52,211,153,.3); }
.toast { background: #fff; color: #0b1226; }
.chart-tip { background: #fff; color: #0b1226; }
.timer { font-family: var(--mono); background: var(--surface-2); border-color: var(--line); }
.score-big, .stat .v, .crit-row .val, .stats-strip b { font-family: var(--mono); letter-spacing: -.04em; }
.meter { background: var(--surface-2); }
.meter i { background: linear-gradient(90deg, var(--accent), var(--signal)); }
table.ex th, table.hist th { background: var(--surface-2); }
table.ex td, table.ex th, table.hist td, table.hist th { border-bottom-color: var(--line); }
.avatar { background: linear-gradient(135deg, #2f45e8, #6b7dff); }
.userbtn { background: var(--surface-2); border-color: var(--line); color: var(--ink); }
.dropdown { background: var(--surface); border-color: var(--line); }
.dropdown a, .dropdown button { color: var(--ink); }
.dropdown a:hover, .dropdown button:hover { background: var(--surface-2); }
.menu-btn { color: var(--ink); border-color: var(--line); }
.stats-strip { background: var(--surface); border-color: var(--line); box-shadow: none; }
.stats-strip > div { border-color: var(--line) !important; }
.stats-strip b { font-size: 32px; }

/* hero */
.hero { grid-template-columns: 1.2fr .8fr; gap: 48px; padding: 56px 0 48px; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); font-weight: 800; line-height: .98; letter-spacing: -.055em; margin: 14px 0 20px; }
.hero h1 .hl { background: linear-gradient(90deg, #6b7dff, #a5b0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 460px; }
.hero-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; font-family: var(--mono); }
.hero-card { background: linear-gradient(170deg, #141d44, #0b1226 70%); border: 1px solid rgba(107,125,255,.28); box-shadow: 0 30px 80px rgba(47,69,232,.28); border-radius: 22px; padding: 26px; position: relative; overflow: hidden; }
.hero-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(107,125,255,.35), transparent 70%); }
.hc-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #9aa3c2; position: relative; }
.hero-card .score-big { font-size: 76px; font-weight: 700; line-height: 1; margin: 14px 0 8px; position: relative; }
.hero-card .score-big span { font-size: 22px; color: #7f88ab; }
.hc-quote { font-size: 14.5px; color: #c9cfea; margin-bottom: 10px; position: relative; }
.hero-card .crit { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13px; margin-top: 10px; position: relative; }
.hero-card .crit b { font-family: var(--mono); }
.hero-card .bar { grid-column: 1 / -1; height: 6px; background: rgba(255,255,255,.08); margin: 0; }
.hero-card .bar i { background: linear-gradient(90deg, #4d5ff5, #8b98ff); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.step-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); position: relative; overflow: hidden; }
.step-n { font-family: var(--mono); font-size: 44px; font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(107,125,255,.6); line-height: 1; }
.step-card h3 { font-size: 20px; margin: 16px 0 6px; }
.step-card p { margin: 0; color: var(--ink-2); }
.section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }

/* pricing */
.prices { margin-top: 20px; align-items: stretch; }
.price h3 { margin-top: 12px; }
.price .btn { width: 100%; margin-top: 14px; }
.price.featured { border: 1px solid rgba(107,125,255,.55); box-shadow: 0 20px 60px rgba(47,69,232,.22); }
.price .amount { font-family: var(--mono); }

/* cta */
.cta-band { background: radial-gradient(600px 300px at 90% 0%, rgba(165,176,255,.35), transparent 60%), linear-gradient(135deg, #2f45e8, #1d2a9e); border: 0; padding: 40px; }
.cta-band h2 { margin: 0; color: #fff; }
.cta-band p { margin: 6px 0 0; color: #dfe3ff; }

/* faq on about */
.faq details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .nav { background: var(--surface); }
}
@media (max-width: 620px) {
  .wordmark { height: 18px; }
  .cta-band { padding: 26px; }
}
.price .pill { align-self: flex-start; }
