/* MoonSyn. Variables come from tokens.css (generated from design-tokens.ts). Dark only, mobile first. */

@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: optional; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: optional; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-display: optional; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.mono, .num, time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-muted); }
.micro { font-size: 12.5px; line-height: 1.45; }
.block { display: block; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* placeholders and review markers */
mark.unverified { background: #3A2A10; color: #FFD58A; outline: 1px dashed #E3A93B; border-radius: 4px; padding: 0 4px; font: 500 0.85em/1.4 var(--font-mono); }
.draft-banner, .preview-ribbon { margin: 0; background: #3A2A10; color: #FFD58A; text-align: center; font-size: 13px; padding: 7px 12px; }

/* ---------- type ---------- */
.display { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
.eyebrow { margin: 0 0 16px; font: 500 12.5px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.lede { margin: 16px 0 0; font-size: 18px; color: var(--text-secondary); max-width: 36em; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(14,14,13,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 28px; height: 28px; }
.wordmark { font: 400 25px/1 var(--font-display); letter-spacing: -0.005em; }
.wordmark span { color: var(--accent); }
.site-nav { display: none; gap: 24px; margin-left: auto; font-size: 14.5px; }
.site-nav a { color: var(--text-secondary); text-decoration: none; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--text); }
.top .btn { margin-left: auto; }

/* ---------- buttons (amber is for the primary CTA only) ---------- */
.btn, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: var(--radius-sm); font: 600 15px/1 var(--font-ui); text-decoration: none; white-space: nowrap; cursor: pointer; border: 0; }
.btn { background: var(--accent); color: var(--accent-ink); }
.btn:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--border); padding: 48px 0 56px; overflow: hidden; }
.grain::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero > .wrap { position: relative; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.page-hero { padding: 56px 0 48px; }
.kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 500 13px/1.2 var(--font-mono); color: var(--text-secondary); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hit); box-shadow: 0 0 0 3px rgba(61,214,140,.18); }
.hero-stat { display: grid; gap: 16px; justify-items: start; }
.ring-stat { position: relative; width: 240px; height: 240px; }
.ring-stat .ring { width: 240px; height: 240px; }
.ring-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.hero-number { margin: 0; font-size: 56px; line-height: 1; font-weight: 500; letter-spacing: -0.06em; color: var(--hit); }
.ring-label { margin: 6px 0 0; font: 500 12.5px/1.2 var(--font-mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.hero-sub { margin: 0; color: var(--text-secondary); font-size: 16px; max-width: 30em; }
.hero-since { margin: 0; color: var(--text-muted); font-size: 14px; }

/* ---------- alert preview (Discord-style) ---------- */
.alert-shell { background: #1E1F22; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 14px 16px; min-width: 0; }
.alert-chrome { display: flex; justify-content: space-between; margin: 0 2px 12px; font: 500 12px/1 var(--font-mono); color: #949BA4; }
.alert-chrome .chan { color: #DBDEE1; }
.alert-slot { min-height: 120px; }
.dc-msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.dc-avatar { width: 36px; height: 36px; border-radius: 50%; background: #2B2D31; display: grid; place-items: center; }
.dc-avatar svg { width: 22px; height: 22px; }
.dc-head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.dc-name { font-weight: 600; color: #F2F3F5; font-size: 15px; }
.dc-tag { font-size: 10px; font-weight: 700; background: #5865F2; color: #fff; border-radius: 4px; padding: 1px 4px; }
.dc-time { font-size: 12px; color: #949BA4; }
.dc-content { color: #DBDEE1; margin: 2px 0 6px; overflow-wrap: anywhere; font: 13px/1.4 var(--font-mono); }
.dc-embed { background: #2B2D31; border-radius: 4px; border-left: 4px solid var(--embed-color, var(--running)); padding: 10px 14px 12px 12px; max-width: 460px; color: #DBDEE1; font-size: 13.5px; line-height: 1.4; }
.dc-author { font-size: 12.5px; font-weight: 600; color: #F2F3F5; margin-bottom: 4px; }
.dc-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.dc-title { font-weight: 700; color: #00A8FC; text-decoration: none; font-size: 15px; }
.dc-desc { overflow-wrap: anywhere; margin-bottom: 8px; }
.dc-desc a { color: #00A8FC; text-decoration: none; }
.dc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 6px 0 4px; }
.dc-field-name { font-weight: 600; color: #F2F3F5; font-size: 12.5px; }
.dc-field-value { overflow-wrap: anywhere; }
.dc-image { display: block; width: 100%; max-width: 420px; border-radius: 4px; margin-top: 10px; aspect-ratio: 3 / 1; object-fit: cover; }
.dc-footer { margin-top: 8px; font-size: 11.5px; color: #B5BAC1; overflow-wrap: anywhere; }
.moon-wrap { display: inline-flex; line-height: 0; }
.moon { display: block; }

/* ---------- feed status ---------- */
.feed-status-wrap { padding-top: 24px; }
.feed-status { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-1); }
.feed-status > div { padding: 14px 16px; min-width: 0; }
.feed-status > div + div { border-left: 1px solid var(--border); }
.feed-status dt { font-size: 12.5px; color: var(--text-muted); }
.feed-status dd { margin: 4px 0 0; font-size: 18px; font-weight: 500; }
.feed-status dd.fs-note { margin: 2px 0 0; min-height: 15px; font-size: 11.5px; font-weight: 400; color: var(--text-muted); }

/* ---------- sections ---------- */
.section { padding-top: var(--section-mobile); scroll-margin-top: 72px; }
.section-head { max-width: 640px; margin-bottom: 24px; }
.section-head p { margin: 10px 0 0; color: var(--text-secondary); }
main > .section:last-child, main > section:last-child { padding-bottom: var(--section-mobile); }

.filters { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; margin-bottom: 20px; background: var(--surface-1); border: 1px solid var(--border); border-radius: 10px; }
.filters button { font: 500 14px/1 var(--font-ui); color: var(--text-secondary); background: transparent; border: 0; border-radius: 7px; padding: 10px 14px; min-height: 40px; cursor: pointer; }
.filters button:hover { color: var(--text); background: var(--surface-2); }
.filters button[aria-pressed="true"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.notice { margin: 0 0 16px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-1); color: var(--text-secondary); font-size: 14px; }
body.loading main { opacity: .6; transition: opacity .2s; }

.tiles { margin: 0 0 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; min-width: 0; }
.tile dt { font-size: 12.5px; color: var(--text-muted); }
.tile dd { margin: 6px 0 0; font-size: 26px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.tile dd.tile-sub { margin: 4px 0 0; min-height: 17px; line-height: 17px; font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit-text { color: var(--hit); }
.miss-text { color: var(--miss); }
.running-text { color: var(--running); }

.card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; margin-bottom: 20px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.sub { margin: 0; color: var(--text-muted); font-size: 13px; }
.empty { color: var(--text-secondary); margin: 8px 0 0; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 500 12px/1.2 var(--font-ui); color: var(--text-muted); padding: 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--surface-2); }
.num { text-align: right; }
.table-scroll { overflow-x: auto; }
.calls { table-layout: fixed; }
.calls th:nth-child(1) { width: 32px; }
.calls th:nth-child(2) { width: 30px; }
.calls th:nth-child(5) { width: 78px; }
.calls th:nth-child(7) { width: 64px; }
td.rank { color: var(--text-muted); }
td.phase { padding-right: 0; }
td.coin { overflow: hidden; }
.coin a { display: block; text-decoration: none; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin a:hover { text-decoration: underline; }
.coin .ca { display: block; font: 12px/1.3 var(--font-mono); color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td.when, td.plat, td.caps { color: var(--text-secondary); white-space: nowrap; font-size: 13px; }
td.peak { font-weight: 600; font-size: 15px; white-space: nowrap; }
.hide-sm { display: none; }
.moon-legend { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--text-muted); }
.moon-legend li { display: inline-flex; align-items: center; gap: 6px; }

/* chart */
.chart { position: relative; min-height: 220px; }
.chart svg { display: block; width: 100%; height: 220px; overflow: visible; }
.chart .grid { stroke: rgba(255,255,255,.08); stroke-width: 1; shape-rendering: crispEdges; }
.chart .tick { fill: var(--text-muted); font: 11.5px var(--font-mono); }
.chart .bar { fill: var(--hit); }
.chart .bar.partial { opacity: .45; }
.chart .bar.active { fill: #6BE3AA; }
.chart .hit { fill: transparent; }
.chart .chart-note { color: var(--text-secondary); font-size: 14px; padding: 80px 0; text-align: center; margin: 0; }
.tip { position: absolute; pointer-events: none; z-index: 2; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 8px; padding: 8px 10px; font-size: 13px; line-height: 1.35; white-space: nowrap; }
.tip strong { display: block; font: 600 15px var(--font-mono); }
.tip span { color: var(--text-secondary); }
.table-view { margin-top: 12px; }
.table-view summary { cursor: pointer; color: var(--text-secondary); font-size: 13px; min-height: 32px; }

/* CTAs */
.owner-cta { margin-top: var(--section-mobile); display: grid; gap: 20px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 24px; }
.owner-cta h2 { font-size: clamp(26px, 3.4vw, 34px); }
.owner-cta p { margin: 8px 0 0; color: var(--text-secondary); max-width: 36em; }
.secondary-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 20px; }
.secondary-cta h2 { font: 600 16px/1.3 var(--font-ui); }
.secondary-cta p { margin: 4px 0 0; color: var(--text-secondary); font-size: 14px; }
.secondary-cta-action { display: grid; gap: 6px; justify-items: start; }

.method ul, .prose ul { margin: 16px 0 0; padding-left: 20px; color: var(--text-secondary); max-width: 46em; }
.method li, .prose li { margin: 8px 0; }
.method strong, .prose strong { color: var(--text); font-weight: 600; }
.prose { max-width: 760px; }
.prose p { color: var(--text-secondary); max-width: 46em; }
.prose h2 { margin-top: 40px; }
.legal h2 { font: 600 19px/1.3 var(--font-ui); margin-top: 32px; }
.legal .display { margin-bottom: 8px; }

/* ---------- /communities ---------- */
.c-hero .lede { margin-bottom: 24px; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; margin: 0 0 20px; }
.price { font-size: 36px; font-weight: 500; letter-spacing: -0.03em; }
.per { color: var(--text-secondary); }
.price-scope { flex-basis: 100%; font-size: 14px; color: var(--text-muted); }
.c-hero .cta-row { margin-bottom: 16px; }
.avail { margin: 8px 0 0; font-size: 14px; color: var(--text-secondary); }
.avail strong { color: var(--text); }
.example-grid { display: grid; gap: 32px; }
.tabs { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 14px; background: var(--surface-1); border: 1px solid var(--border); border-radius: 10px; }
.tabs [role="tab"] { font: 500 14px/1 var(--font-ui); color: var(--text-secondary); background: transparent; border: 0; border-radius: 7px; padding: 10px 14px; min-height: 40px; cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.tg { background: #0E1621; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; }
.tg-chan { font-size: 13px; color: #8B9AA7; margin: 0 0 10px; }
.tg-bubble { background: #182533; color: #E9EEF3; border-radius: 12px 12px 12px 4px; padding: 10px 12px 8px; max-width: 440px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.tg-bubble code { font: 12.5px var(--font-mono); }
.tg-bubble a { color: #6AB3F3; text-decoration: none; }
.tg-time { display: block; text-align: right; font-size: 11px; color: #6D7F8F; }
.sample-label { margin: 12px 2px 0; font-size: 12.5px; color: var(--text-muted); }
.sample-label strong { color: var(--text-secondary); }
.anatomy { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.anatomy li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--text-secondary); }
.anatomy .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--text); font-size: 13px; }
.anatomy strong { display: block; color: var(--text); font-weight: 600; }
.outcome { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-1); color: var(--text-secondary); font-size: 14px; }

.proof-grid { display: grid; gap: 14px; }
.proof-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.proof-quote { margin: 0 0 10px; font: 400 22px/1.3 var(--font-display); }
.proof-who { margin: 0 0 14px; color: var(--text-secondary); font-size: 14px; }
.proof-meta { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 13px; }
.proof-meta dt { color: var(--text-muted); font-size: 12px; }
.proof-meta dd { margin: 2px 0 0; }
.proof-ask { margin: 16px 0 0; }

.feeds { display: grid; gap: 14px; }
.feed { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; }
.feed .chain { margin: 2px 0 14px; color: var(--text-muted); font-size: 13px; }
.feed .count { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.feed .count-label { margin: 0; color: var(--text-secondary); font-size: 13px; }
.feeds-note { margin: 14px 2px 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.step { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-strong); font: 500 14px var(--font-mono); margin-bottom: 14px; }
.step p { margin: 6px 0 0; color: var(--text-secondary); }
.evidence-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.evidence-foot a { font-weight: 600; font-size: 14px; }

.plan { display: grid; gap: 28px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 24px; }
.plan .price { font-size: 48px; }
.plan-scope { color: var(--text-secondary); margin: 6px 0 20px; }
.plan-fine { margin: 14px 0 0; }
.plan-refund { margin: 8px 0 0; color: var(--text-secondary); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; color: var(--text-secondary); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 13px; height: 7px; border-left: 2px solid var(--hit); border-bottom: 2px solid var(--hit); transform: rotate(-45deg); }
.checks li.no::before { border: 0; height: 2px; width: 12px; background: var(--text-muted); transform: none; top: 11px; }
.checks strong { color: var(--text); font-weight: 600; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 600; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font-size: 20px; color: var(--text-muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--text-secondary); }

.setup { display: grid; gap: 32px; }
.setup-aside p { color: var(--text-secondary); }
.form { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.form label, .form legend { font-size: 14px; font-weight: 600; }
.form .hint { font-size: 12.5px; color: var(--text-muted); font-weight: 400; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea { width: 100%; min-height: 44px; font: 15px var(--font-ui); color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 10px 12px; }
.form textarea { min-height: 96px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 0 12px; font-weight: 500 !important; cursor: pointer; }
.choice input { accent-color: var(--accent); margin: 0; }
.choice:has(input:checked) { border-color: var(--text-secondary); background: var(--surface-2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--text-secondary); }
.consent input { margin-top: 5px; accent-color: var(--accent); }
.field-error { color: var(--miss); font-size: 13px; margin: 0; }
.form [aria-invalid="true"] { border-color: var(--miss) !important; }
.form-status { margin: 0; font-size: 14px; color: var(--text-secondary); }
.form-status.err { color: var(--miss); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success { background: var(--surface-1); border: 1px solid rgba(61,214,140,.35); border-radius: var(--radius-lg); padding: 24px; }
.success h3 { font-size: 22px; margin-bottom: 8px; }
.success p { margin: 0 0 8px; color: var(--text-secondary); }
.success code { font-family: var(--font-mono); color: var(--text); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.closing { text-align: center; padding: var(--section-mobile) var(--gutter); }
.closing p { margin: 10px 0 20px; color: var(--text-secondary); }
.closing .cta-row { justify-content: center; }

/* ---------- /about ---------- */
.operator, .payment-transparency { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.operator-grid { margin: 20px 0 24px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.operator-grid dt { font-size: 12.5px; color: var(--text-muted); }
.operator-grid dd { margin: 4px 0 0; font-size: 16px; }
.payment-transparency p { color: var(--text-secondary); }
.wallet { font-size: 15px; overflow-wrap: anywhere; color: var(--text) !important; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }

/* ---------- /changelog ---------- */
.changelog { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.changelog li { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.changelog time { color: var(--text-muted); font-size: 13px; }
.changelog h2 { font: 600 18px/1.3 var(--font-ui); }
.changelog p { margin: 4px 0 0; color: var(--text-secondary); }

/* ---------- footer ---------- */
.foot { margin-top: var(--section-mobile); border-top: 1px solid var(--border); padding: 40px 0 48px; color: var(--text-muted); font-size: 14px; }
.foot-grid { display: grid; gap: 24px; }
.foot-brand p { margin: 10px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--text-secondary); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.foot-legal { margin: 0; font-size: 13px; }

/* ---------- larger screens ---------- */
@media (min-width: 720px) {
  .site-nav { display: flex; }
  .top .btn { margin-left: 0; }
  .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card { padding: 20px 22px; }
  .hide-sm { display: table-cell; }
  .calls th:nth-child(4) { width: 96px; }
  .calls th:nth-child(6) { width: 130px; }
  .dc-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 160px minmax(0, 1fr); }
  .proof-grid, .feeds, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .operator-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .owner-cta { grid-template-columns: 1fr auto; align-items: center; padding: 32px; }
  .form { padding: 24px; }
}
@media (min-width: 1000px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; }
  .hero-stat { justify-items: start; padding-left: 24px; }
  .ring-stat, .ring-stat .ring { width: 280px; height: 280px; }
  .hero-number { font-size: 72px; }
  .section { padding-top: var(--section); }
  main > .section:last-child, main > section:last-child { padding-bottom: var(--section); }
  .owner-cta { margin-top: var(--section); }
  .example-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .plan { grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px; }
  .setup { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; }
  .closing { padding: var(--section) 0; }
  .foot-grid { grid-template-columns: 1fr 2fr; align-items: start; }
  .foot-legal { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body.loading main { transition: none; } }

/* Layout-shift guards: reserve the alert card's space before data arrives. */
.hero .alert-slot, #example-alert { min-height: 470px; }
@media (min-width: 720px) { .hero .alert-slot, #example-alert { min-height: 330px; } }

