/* Lumina site: landing, sign-in and account pages (the app keeps its own styles). */
:root {
    color-scheme: dark;
    --bg: #111113;
    --panel: #1c1c1f;
    --panel-2: #232327;
    --panel-3: #2a2a2f;
    --line: #2a2a2f;
    --line-soft: rgba(255,255,255,0.06);
    --line-strong: rgba(255,255,255,0.12);
    --text: #ececef;
    --text-2: #b9b9c0;
    --muted: #8b8b93;
    --faint: #5d5d66;
    --accent: #3b8bf5;
    --accent-2: #2b6fd6;
    --accent-soft: rgba(59,139,245,0.14);
    --error: #ff6b6b;
    --warn: #e5b84a;
    --ok: #3ecf8e;
    --luna: #c9cdd8;
    --sol: #f2b84b;
    --radius: 10px;
    --radius-lg: 14px;
    --ring: 0 0 0 2px rgba(59,139,245,0.55);
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: "Cascadia Code", "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --fast: 120ms;
    --med: 180ms;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
    margin: 0; min-height: 100vh;
    background: radial-gradient(1200px 480px at 50% -220px, rgba(59,139,245,0.09), transparent 70%), var(--bg);
    color: var(--text); font: 15px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
button, input { font: inherit; color: inherit; }
/* a solid 2px ring (>= 3:1 on the dark background); the outline also shows in forced-colors mode */
:focus-visible { outline: 2px solid #6aa8ff; outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ── nav ── */
.nav {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; gap: 18px;
    height: 60px; padding: 0 max(16px, calc((100vw - 1120px) / 2));
    border-bottom: 1px solid var(--line-soft);
    background: rgba(17,17,19,0.75);
    backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 16px; text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 18px; height: 18px; color: var(--accent); }
/* the dot sits against the name (the flex gap is for the moon) */
.brand span { color: var(--accent); margin-left: -8px; }
.nav .links { display: flex; gap: 18px; margin-left: 10px; }
.nav .links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color var(--fast) var(--ease); }
.nav .links a:hover { color: var(--text); }
.nav .right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 38px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 9px;
    background: rgba(255,255,255,0.03); color: var(--text); font-size: 14px; font-weight: 550;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), filter var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:hover { background: rgba(255,255,255,0.07); }
.btn:active { transform: translateY(1px); }
.btn.primary {
    border: 0; background: linear-gradient(180deg, #2f6fdb, #2859c4); color: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 1px 0 rgba(255,255,255,0.16) inset, 0 4px 14px -6px rgba(59,139,245,0.7);
}
.btn.primary:hover { filter: brightness(1.07); }
.btn.small { height: 32px; padding: 0 12px; font-size: 13px; }
.btn:disabled { opacity: 0.6; cursor: progress; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ── landing ── */
.hero h1 { margin: 0 auto 18px; max-width: 820px; font-size: clamp(36px, 6vw, 62px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 720; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #6aa8ff, #3b8bf5 45%, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { margin: 0 auto 22px; max-width: 620px; color: var(--text-2); font-size: clamp(16px, 2.2vw, 18px); text-wrap: pretty; }
.hero .cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero .cta .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.hero small { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; }

.preview {
    margin: clamp(24px, 4vw, 40px) auto 0; max-width: 980px; overflow: hidden; text-align: left;
    border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--panel);
    box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,0,0,0.3);
}
.preview .bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line-soft); background: var(--panel-2); }
.preview .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--panel-3); }
.preview .bar span { margin-left: 10px; color: var(--muted); font-size: 12px; }
.preview .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.preview-pane { padding: 14px 20px 18px; }
.preview-pane + .preview-pane { border-left: 1px solid var(--line-soft); background: #18181b; }
.preview-pane h2 { margin: 0 0 8px; color: var(--text); font-size: 13px; font-weight: 600; }
.preview pre { margin: 0; font: 12.5px/1.65 var(--mono); color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.preview code { font: inherit; }
.tok-k { color: #c792ea; } .tok-s { color: #a5d6a7; } .tok-f { color: #82aaff; } .tok-c { color: var(--faint); } .tok-n { color: #f78c6c; }

section.block { padding-top: 72px; padding-bottom: 72px; }
section.block h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.025em; line-height: 1.15; text-align: center; }
section.block p.sub { margin: 0 auto 40px; max-width: 600px; color: var(--text-2); text-align: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
    padding: 22px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01)), var(--panel);
}
.card h3 { margin: 12px 0 6px; font-size: 16px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-2); font-size: 14px; }
.card .icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.card .icon svg { width: 18px; height: 18px; }

.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.model-card { position: relative; padding: 24px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--panel); }
.model-card .glyph { width: 30px; height: 30px; }
.model-card h3 { margin: 12px 0 2px; font-size: 18px; }
.model-card .tag { color: var(--muted); font-size: 13px; }
.model-card p { margin: 12px 0 0; color: var(--text-2); font-size: 14px; }
.model-card .cost { position: absolute; top: 22px; right: 22px; padding: 3px 9px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-2); font-size: 12px; }

.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); justify-content: center; gap: 18px; }
.price-card.max { border-color: rgba(167,139,250,0.5); box-shadow: 0 0 0 1px rgba(167,139,250,0.2), 0 24px 60px -30px rgba(167,139,250,0.45); }
.price-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--panel); }
.price-card.featured { border-color: rgba(59,139,245,0.55); box-shadow: 0 0 0 1px rgba(59,139,245,0.25), 0 24px 60px -30px rgba(59,139,245,0.45); }
.price-card h3 { margin: 0; font-size: 18px; }
.price-card .amount { margin: 12px 0 4px; font-size: 40px; font-weight: 720; letter-spacing: -0.03em; }
.price-card .amount small { color: var(--muted); font-size: 15px; font-weight: 500; }
.price-card .note { color: var(--muted); font-size: 13px; }
.price-card ul { flex: 1; margin: 20px 0 24px; padding: 0; list-style: none; }
.price-card li { display: flex; gap: 10px; padding: 6px 0; color: var(--text-2); font-size: 14px; }
.price-card li svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; color: var(--ok); }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { padding: 18px 2px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--text-2); }

footer { padding: 36px 0 48px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── forms (sign in) ── */
.auth { display: grid; place-items: center; min-height: calc(100vh - 60px); padding: 40px 16px; }
.auth .panel { width: min(400px, 100%); padding: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--panel); box-shadow: 0 30px 80px -40px rgba(0,0,0,0.8); }
.auth h1 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.02em; }
.auth p.sub { margin: 0 0 22px; color: var(--text-2); font-size: 14px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 20px; padding: 4px; border-radius: 10px; background: var(--bg); }
.tabs button { height: 34px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--panel-3); color: var(--text); }
label.field { display: block; margin-bottom: 14px; }
label.field span { display: block; margin-bottom: 6px; color: var(--text-2); font-size: 13px; font-weight: 550; }
label.field input {
    width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9px;
    background: var(--bg); color: var(--text); outline: none; transition: border-color var(--fast) var(--ease);
}
label.field input:focus { border-color: rgba(59,139,245,0.7); }
.code-input { letter-spacing: 10px; text-align: center; font: 600 22px/1 var(--mono) !important; }
.form-error { min-height: 20px; margin: 4px 0 12px; color: var(--error); font-size: 13px; }
.form-note { margin-top: 16px; color: var(--muted); font-size: 13px; text-align: center; }
.form-note button { padding: 0; border: 0; background: none; color: var(--accent); cursor: pointer; font-size: 13px; }
.turnstile-box { min-height: 65px; margin: 4px 0 8px; }
.auth .btn.primary { width: 100%; height: 42px; }

/* ── account ── */
.page { padding-top: 40px; padding-bottom: 64px; }
.page h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -0.025em; }
.page .lead { margin: 0 0 28px; color: var(--text-2); }
.account-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px 24px; margin-bottom: 24px; }
.account-identity { min-width: 0; overflow-wrap: anywhere; }
.account-header .lead { margin: 0; }
.account-header .btn { margin-top: 4px; }
.account-reference { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }
.account-reference code { font: inherit; font-family: var(--mono); color: var(--text-2); }
.panels { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.panels > div { min-width: 0; }
.box { padding: 22px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--panel); }
.box + .box { margin-top: 18px; }
.box h2 { margin: 0 0 4px; font-size: 16px; }
.box .hint { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.meter { margin-bottom: 18px; }
.meter:last-child { margin-bottom: 0; }
.meter .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; font-size: 14px; }
.meter .row b { font-weight: 600; }
.meter .row span { color: var(--muted); font-size: 13px; }
.meter .track { height: 9px; overflow: hidden; border-radius: 999px; background: var(--panel-3); }
.meter .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2f6fdb, #3b8bf5); transition: width var(--med) var(--ease); }
.meter.warn .fill { background: linear-gradient(90deg, #c8961d, var(--warn)); }
.meter.full .fill { background: linear-gradient(90deg, #d24a4a, var(--error)); }
.meter .foot { margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.chart { display: block; width: 100%; height: auto; }
.chart text { fill: var(--muted); font: 11px var(--sans); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; color: var(--text-2); font-size: 12.5px; }
.legend i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 3px; vertical-align: 0; }
#runs-toggle { margin-top: 10px; }
table.runs { width: 100%; border-collapse: collapse; font-size: 13px; }
table.runs th { padding: 0 0 8px; color: var(--muted); font-weight: 500; text-align: left; }
table.runs td { padding: 7px 0; border-top: 1px solid var(--line-soft); color: var(--text-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12.5px; color: var(--text-2); }
.pill.pro { border-color: rgba(59,139,245,0.55); color: #9cc4ff; background: var(--accent-soft); }
.plan-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.invoice { margin-top: 16px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--bg); }
.invoice .qr { display: grid; place-items: center; width: 184px; height: 184px; margin: 4px auto 14px; padding: 10px; border-radius: 10px; background: #fff; }
.invoice .qr canvas, .invoice .qr img { width: 164px !important; height: 164px !important; }
.copyline { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.copyline code { flex: 1; min-width: 0; padding: 8px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 8px; background: var(--panel-2); font: 12.5px var(--mono); }
.invoice .state { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--text-2); font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); animation: pulse 1.4s ease-in-out infinite; }
.dot.ok { background: var(--ok); animation: none; }
@keyframes pulse { 50% { opacity: 0.35; } }
.banner { margin-bottom: 18px; padding: 12px 14px; border: 1px solid rgba(229,184,74,0.4); border-radius: 10px; background: rgba(229,184,74,0.08); color: #f0d48a; font-size: 14px; }

@media (max-width: 1180px) {
    .models { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .grid3, .models { grid-template-columns: 1fr; }
    .pricing { grid-template-columns: 1fr; }
    .panels { grid-template-columns: 1fr; }
    .preview .split { grid-template-columns: 1fr; }
    .preview-pane + .preview-pane { border-left: 0; border-top: 1px solid var(--line-soft); }
    /* the page links move to a second row that scrolls sideways */
    .nav { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 0; row-gap: 4px; }
    .nav .right { margin-left: auto; }
    .nav .links { order: 3; width: 100%; margin: 0; padding: 4px 0 10px; gap: 20px; overflow-x: auto; scrollbar-width: none; }
    .nav .links::-webkit-scrollbar { display: none; }
    .nav .links a { padding: 6px 0; }
    .nav .links a[aria-current="page"]::after { bottom: 2px; }
}

/* ══ motion + multi-page additions ══ */
.nav .links a[aria-current="page"] { color: var(--text); }
.nav .links a { position: relative; }
.nav .links a[aria-current="page"]::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* hero: starfield, aurora, orbiting moon */
.hero { position: relative; overflow: hidden; padding-top: 0; padding-bottom: 0; text-align: center; }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 60px); }
.hero .stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.aurora { position: absolute; inset: -20% -10% auto; height: 620px; z-index: 0; pointer-events: none; filter: blur(60px); opacity: 0.55; }
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; }
.aurora::before { width: 520px; height: 320px; left: 18%; top: 10%; background: radial-gradient(closest-side, rgba(59,139,245,0.55), transparent); animation: drift 16s ease-in-out infinite alternate; }
.aurora::after { width: 460px; height: 300px; right: 14%; top: 18%; background: radial-gradient(closest-side, rgba(167,139,250,0.45), transparent); animation: drift 19s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(-40px, 0) scale(1); } to { transform: translate(60px, 30px) scale(1.15); } }
.orbit { position: absolute; z-index: 0; top: 40px; left: 50%; width: 760px; height: 760px; margin-left: -380px; border: 1px dashed rgba(255,255,255,0.05); border-radius: 50%; animation: spin 70s linear infinite; pointer-events: none; }
.orbit i { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9cc4ff 45%, #3b8bf5); box-shadow: 0 0 18px rgba(59,139,245,0.8); }
@keyframes spin { to { transform: rotate(360deg); } }

.rise { opacity: 0; transform: translateY(14px); animation: rise 0.8s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero h1 em { background-size: 200% auto; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

.btn.glow { position: relative; overflow: hidden; }
.btn.glow::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg); animation: sweep 3.6s ease-in-out infinite;
}
@keyframes sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* scroll reveal */
.moving .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.moving .reveal.in { opacity: 1; transform: none; }

/* cards: lift + cursor-lit glow */
.card, .model-card, .price-card { position: relative; transition: transform var(--med) var(--ease), border-color var(--med) var(--ease); }
a.card { display: block; text-decoration: none; color: inherit; }
.spot::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(59,139,245,0.13), transparent 70%);
    transition: opacity var(--med) var(--ease);
}
.spot:hover::before { opacity: 1; }
.spot:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card .more { display: inline-block; margin-top: 12px; color: var(--accent); font-size: 13px; font-weight: 600; transition: transform var(--fast) var(--ease); }
.card:hover .more { transform: translateX(3px); }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 8px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--line-soft); }
.stats div { padding: 22px 18px; background: var(--panel); text-align: center; }
.stats b { display: block; font-size: 30px; font-weight: 720; letter-spacing: -0.03em; background: linear-gradient(180deg, #fff, #9cc4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 13px; }
.moving .stats { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.moving .stats.in { opacity: 1; transform: none; }

/* model glyph animations */
.glyph.crescent { animation: rock 6s ease-in-out infinite; transform-origin: 60% 50%; }
@keyframes rock { 50% { transform: rotate(-14deg); } }
.glyph.luna { animation: glowPulse 3.2s ease-in-out infinite; }
@keyframes glowPulse { 50% { filter: drop-shadow(0 0 7px rgba(201,205,216,0.75)); } }
.glyph.sol .rays { transform-origin: 12px 12px; animation: spin 14s linear infinite; }
.glyph.sol { filter: drop-shadow(0 0 6px rgba(242,184,75,0.45)); }
.glyph.eclipse { filter: drop-shadow(0 0 6px rgba(167,139,250,0.5)); animation: spin 24s linear infinite; transform-origin: 50% 50%; }
.model-strip { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.chip-model { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--panel); text-decoration: none; transition: transform var(--med) var(--ease), border-color var(--med) var(--ease); }
.chip-model:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.chip-model .glyph { width: 22px; height: 22px; }
.chip-model span { color: var(--muted); font-size: 13px; }

/* featured price card: rotating gradient border */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.price-card.featured { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, conic-gradient(from var(--angle), rgba(59,139,245,0.15), #3b8bf5, #a78bfa, rgba(59,139,245,0.15) 60%) border-box; border: 1px solid transparent; animation: turn 6s linear infinite; }
@keyframes turn { to { --angle: 360deg; } }
.ribbon { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: #9cc4ff; font-size: 12px; font-weight: 600; }

/* sub-page hero, steps, compare table, CTA band */
.page-hero { padding-top: 68px; padding-bottom: 24px; text-align: center; }
.page-hero h1 { margin: 0 auto 14px; max-width: 760px; font-size: clamp(32px, 5vw, 50px); line-height: 1.08; letter-spacing: -0.03em; }
.page-hero .lede { margin: 0 auto; max-width: 600px; color: var(--text-2); font-size: 17px; }
section.block.tight { padding-top: 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps li { padding: 22px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--panel); }
.steps li span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: #9cc4ff; font-weight: 700; font-size: 14px; }
.steps h3 { margin: 12px 0 6px; font-size: 16px; }
.steps p { margin: 0; color: var(--text-2); font-size: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--panel); }
table.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
table.compare th, table.compare td { padding: 13px 18px; border-bottom: 1px solid var(--line-soft); text-align: left; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare thead th { color: var(--text); font-size: 13px; }
table.compare tbody th { color: var(--muted); font-weight: 500; }
table.compare td { color: var(--text-2); }
.note-line { margin: 16px auto 0; max-width: 680px; color: var(--muted); font-size: 13.5px; text-align: center; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; margin-bottom: 72px; padding: 32px 36px; border: 1px solid rgba(59,139,245,0.3); border-radius: var(--radius-lg); background: radial-gradient(600px 200px at 0% 0%, rgba(59,139,245,0.16), transparent 70%), var(--panel); }
.cta-band h2 { margin: 0 0 4px; font-size: 24px; letter-spacing: -0.02em; text-align: left; }
.cta-band p { margin: 0; color: var(--text-2); }
.cta-band .cta { display: flex; gap: 10px; flex-wrap: wrap; }
footer .wrap { align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-weight: 600; }
.foot-brand svg { width: 14px; height: 14px; color: var(--accent); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }

@media (max-width: 860px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .steps, .steps.four { grid-template-columns: 1fr; }
    .orbit { width: 520px; height: 520px; margin-left: -260px; }
    .page-hero { padding-top: 48px; }
    section.block { padding-top: 48px; padding-bottom: 48px; }
    section.block p.sub { margin-bottom: 28px; }
    .cta-band { padding: 24px; }
}
@media (max-width: 540px) {
    .nav .links { justify-content: space-between; gap: 10px; }
    .nav .links a { flex-shrink: 0; }
    .hero h1 { font-size: clamp(30px, 8.2vw, 36px); }
    .preview-pane { padding-inline: 14px; }
    .model-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .chip-model { display: grid; grid-template-columns: 22px 1fr; gap: 2px 8px; border-radius: var(--radius-lg); padding: 10px 12px; }
    .chip-model .glyph { grid-row: span 2; }
    .chip-model span { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .rise, .reveal, .stats { opacity: 1 !important; transform: none !important; }
}

/* review fixes */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chart-scroll { overflow-x: auto; }
.chart-empty { margin: 0; padding: 14px 0; color: var(--muted); font-size: 13px; }
.chart-scroll .chart { min-width: 520px; }
.copyline code.wrap-any { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
.site-banner { padding: 10px 16px; border-bottom: 1px solid rgba(229,184,74,0.35); background: rgba(229,184,74,0.08); color: #f0d48a; font-size: 13.5px; text-align: center; }
.site-banner a { color: #ffe3a3; }
@media (forced-colors: active) { .btn, .card, .box, .panel { border: 1px solid CanvasText; } }

/* A-Ads unit (pages/index.html); site.js removes it for Pro */
.ad-slot { position: relative; margin: 8px auto 56px; text-align: center; }
.ad-slot .ad-label { display: block; margin-bottom: 6px; color: var(--text-2); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
@media (max-width: 640px) { .ad-slot iframe { width: 100% !important; } }

.policy-page { max-width: 760px; }
.policy-page h2 { margin: 26px 0 6px; font-size: 18px; }
.policy-page p { color: var(--text-2); }
