/* =============================================================
   Crypto Hub — stylesheet
   Palet: tinta navy + amber "hati-hati". Mode terang & gelap.
   ============================================================= */
:root {
  color-scheme: light;
  --paper: #F3F5F8;
  --surface: #FFFFFF;
  --surface-2: #E9EDF3;
  --ink: #15233B;
  --ink-2: #33435C;
  --muted: #5E6C82;
  --line: #D8DFE8;
  --accent: #D98B1F;
  --accent-ink: #8F5600;
  --accent-soft: #FBEBD3;
  --up: #11775A;
  --down: #B3372A;
  --g1: #C9493B; --g2: #E39A3B; --g3: #8DB255; --g4: #2E8B67;
  --font-ui: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-read: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius-s: 6px;
  --radius-m: 12px;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0E1624; --surface: #152033; --surface-2: #1C2940; --ink: #E8EEF7; --ink-2: #C3CEDF;
    --muted: #93A2B8; --line: #27364D; --accent: #F0A93B; --accent-ink: #F6C06C; --accent-soft: #3A2C14;
    --up: #3DC79B; --down: #F0806F;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0E1624; --surface: #152033; --surface-2: #1C2940; --ink: #E8EEF7; --ink-2: #C3CEDF;
  --muted: #93A2B8; --line: #27364D; --accent: #F0A93B; --accent-ink: #F6C06C; --accent-soft: #3A2C14;
  --up: #3DC79B; --down: #F0806F;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--font-ui);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.up { color: var(--up); }
.down { color: var(--down); }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a { text-decoration: none; padding: 8px 12px; border-radius: var(--radius-s); color: var(--ink-2); font-weight: 500; }
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.theme-toggle { margin-left: 8px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.theme-toggle svg { width: 20px; height: 20px; }
.nav-toggle { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font: 600 .95rem var(--font-ui); padding: 8px 14px; border-radius: var(--radius-s); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .theme-toggle { margin: 12px 0 0; }
}

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--radius-s); font: 600 1rem var(--font-ui); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { font: 600 .85rem var(--font-ui); padding: 5px 12px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; margin-left: 8px; }
.btn[disabled], .btn-small[disabled] { opacity: .6; cursor: wait; }
.text-link { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); line-height: 1.02; max-width: 12ch; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.pulse { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 22px 18px; }
.pulse-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pulse-head h2 { font-size: 1.05rem; margin: 0; }
.updated { font-size: .8rem; color: var(--muted); }
.pulse-hint { font-size: .85rem; color: var(--muted); margin: 4px 0 14px; }
.mini-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.mini-table th, .mini-table td { padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.mini-table th { text-align: left; font-weight: 600; }
.mini-table th img { display: inline-block; vertical-align: -4px; margin-right: 8px; border-radius: 50%; }
.mini-table td + td { padding-left: 12px; width: 5.5em; }
.skeleton th, .skeleton td { height: 38px; background: linear-gradient(90deg, transparent, var(--surface-2), transparent); }

/* ---------- Fear & Greed gauge ---------- */
.gauge { margin: 14px 0 0; display: grid; justify-items: center; }
.gauge svg { width: min(100%, 260px); overflow: visible; }
.g-seg { fill: none; stroke-width: 14; stroke-linecap: butt; }
.g-1 { stroke: var(--g1); } .g-2 { stroke: var(--g2); } .g-3 { stroke: var(--g3); } .g-4 { stroke: var(--g4); }
.g-needle { transform-origin: 100px 100px; transition: transform 900ms cubic-bezier(.3,1.4,.5,1); }
.g-needle line { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.g-hub { fill: var(--ink); }
.gauge figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: -6px; }
.g-value { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.g-label { font-weight: 600; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .g-needle { transition: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(44px, 6vw, 76px) 0; }
.section-tight { padding-top: 28px; }
.section-tint { background: var(--surface-2); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.page-head { padding: clamp(36px, 5vw, 64px) 0 8px; }
.page-head h1 { max-width: 20ch; }
.notfound { padding-bottom: 90px; }

/* ---------- Article rows ---------- */
.rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.rows-3 { grid-template-columns: repeat(3, 1fr); }
.row-item { border-top: 1px solid var(--line); }
.row-link { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 20px 0; text-decoration: none; }
.row-thumb { width: 132px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-s); background: var(--surface-2); }
.row-link h3 { margin: 4px 0 6px; font-size: 1.12rem; }
.row-link:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.row-desc { color: var(--muted); font-size: .93rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); margin: 0; }
.tag { font-weight: 700; color: var(--accent-ink); }
.tag-safety { color: var(--down); }
.rows-3 .row-link { grid-template-columns: 1fr; }
.rows-3 .row-thumb { width: 100%; }
@media (max-width: 860px) { .rows, .rows-3 { grid-template-columns: 1fr; } .rows-3 .row-link { grid-template-columns: 110px 1fr; } .rows-3 .row-thumb { width: 110px; } }
@media (max-width: 480px) { .row-link { grid-template-columns: 96px 1fr; gap: 14px; } .row-thumb { width: 96px; } }

/* ---------- Reading path ---------- */
.path { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.path-intro p { color: var(--ink-2); }
.path-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.path-list li { counter-increment: step; border-top: 1px solid var(--line); }
.path-list li:last-child { border-bottom: 1px solid var(--line); }
.path-list a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: baseline; padding: 16px 0; text-decoration: none; }
.path-list a::before { content: counter(step); font-weight: 800; font-size: 1.4rem; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.path-list strong { font-weight: 600; }
.path-list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.path-list span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .path { grid-template-columns: 1fr; gap: 16px; } }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { display: block; text-decoration: none; padding: 22px; border-left: 3px solid var(--accent); background: var(--surface); }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }

/* ---------- Education filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 14px; }
.chip { text-decoration: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; background: var(--surface); }
.chip span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.chip[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-current="true"] span { color: inherit; opacity: .7; }
.search input { width: min(100%, 520px); min-height: 48px; padding: 0 16px; font: 1rem var(--font-ui); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); }
.search input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.empty { padding: 24px 0; color: var(--muted); }

/* ---------- Article ---------- */
.article-head { padding: clamp(28px, 4vw, 52px) 0 24px; max-width: 820px; margin-left: max(20px, calc((100% - var(--wrap)) / 2)); }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.byline { color: var(--muted); font-size: .92rem; line-height: 1.8; }
.byline a { color: var(--ink); font-weight: 600; }
.byline .sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: .5; margin: 0 10px; vertical-align: middle; }
.cover { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-m); background: var(--surface-2); }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 700px); gap: 56px; padding: 40px 0 72px; justify-content: start; }
.toc { position: sticky; top: 88px; align-self: start; font-size: .9rem; }
.toc h2 { font-size: .95rem; margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; text-decoration: none; color: var(--muted); border-left: 2px solid transparent; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--accent); }
.article-grid:not(:has(.toc)) { grid-template-columns: minmax(0, 720px); justify-content: center; }
@media (max-width: 1000px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

.prose { font-family: var(--font-read); font-size: 1.15rem; line-height: 1.72; }
.prose h2 { font-family: var(--font-ui); font-size: 1.55rem; margin: 2em 0 .6em; }
.prose h3 { font-family: var(--font-ui); font-size: 1.2rem; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: .95rem; margin: 1.2em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink-2); }
.prose-narrow { max-width: 720px; }
.prose-narrow h2 { margin-top: 1.6em; }
.prose-narrow h2:first-child { margin-top: 0; }
.takeaway { font-family: var(--font-ui); background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin-bottom: 2em; }
.takeaway strong { display: block; font-size: .9rem; margin-bottom: 4px; }
.takeaway p { margin: 0; font-size: 1.05rem; }
.safety-note { font-family: var(--font-ui); font-size: .95rem; border: 1px solid var(--line); background: var(--surface); padding: 18px 20px; border-radius: var(--radius-s); margin-top: 2.4em; }
.safety-note p:last-child { margin: 0; color: var(--muted); }
.feedback { font-family: var(--font-ui); font-size: .92rem; color: var(--muted); margin-top: 1.4em; }

/* ---------- Markets ---------- */
.status { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: .92rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--up); }
.status.is-stale .dot, [data-markets].is-stale .dot { background: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 28px; border-top: 2px solid var(--ink); }
.stats > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.stats dt { font-size: .85rem; color: var(--muted); }
.stats dd { margin: 4px 0 0; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stats dd.sub { font-size: .85rem; font-weight: 500; letter-spacing: 0; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.market-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 20px; }
.three-up { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .market-grid, .three-up { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; min-width: 0; }
.panel h2 { font-size: 1.1rem; }
.table-scroll { overflow-x: auto; }
.coin-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.coin-table th, .coin-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.coin-table thead th { font-size: .8rem; color: var(--muted); font-weight: 600; text-align: left; }
.coin-table thead th.num { text-align: right; }
.coin-table tbody th { text-align: left; font-weight: 600; white-space: nowrap; }
.coin-table tbody th img { display: inline-block; vertical-align: -5px; margin-right: 10px; border-radius: 50%; }
.coin-table.compact th span.muted { display: none; }
.coin-table.compact th, .coin-table.compact td { padding: 9px 4px; font-size: .9rem; }
.coin-table.compact tbody th { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.coin-table tr:last-child th, .coin-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .hide-sm { display: none; } .coin-table tbody th .muted { display: none; } }
.trending { list-style: none; margin: 0 0 12px; padding: 0; counter-reset: t; }
.trending li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.trending img { border-radius: 50%; }
.chart-panel { margin-top: 0; }
.chart-box { min-height: 420px; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; background: var(--surface-2); border-radius: var(--radius-s); }
.chart-box.loaded { display: block; background: none; }

/* ---------- Airdrops ---------- */
.airdrop-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.airdrop-grid .prose { font-size: 1.08rem; }
.airdrop-grid .prose h2:first-child { margin-top: 0; }
@media (max-width: 900px) { .airdrop-grid { grid-template-columns: 1fr; } }
.checklist { position: sticky; top: 88px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: .95rem; }
.check input { width: 20px; height: 20px; accent-color: var(--up); margin-top: 2px; }
.meter { height: 8px; background: var(--surface-2); border-radius: 99px; margin: 18px 0 10px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.meter span.full { background: var(--up); }
.check-result { font-weight: 600; margin: 0; }
.feed { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.feed li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.feed a { font-weight: 600; text-decoration: none; }
.feed a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .feed { grid-template-columns: 1fr; } }

/* ---------- Tools ---------- */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .tool-grid { grid-template-columns: 1fr; } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
input, select, textarea { font: 1rem var(--font-ui); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 11px 12px; min-height: 46px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.calc-out { background: var(--ink); color: var(--paper); border: 0; }
.calc-out .muted { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.calc-big { display: grid; gap: 2px; margin-bottom: 18px; }
.calc-big strong { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.calc-roi { font-weight: 700; }
.calc-out .up { color: #6EE0B4; } .calc-out .down { color: #FF9C8C; }
.calc-list { margin: 0 0 14px; }
.calc-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); }
.calc-list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.suggestions button { font: 600 .9rem var(--font-ui); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.suggestions button:hover { border-color: var(--ink); }
.chat { display: grid; grid-template-rows: 1fr auto; height: 460px; padding: 0; overflow: hidden; }
.chat-log { overflow-y: auto; padding: 18px; display: grid; gap: 12px; align-content: start; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 12px; font-size: .97rem; }
.msg p { margin: 0 0 .5em; } .msg p:last-child { margin: 0; }
.msg.bot { background: var(--surface-2); border-bottom-left-radius: 3px; }
.msg.me { background: var(--ink); color: var(--paper); justify-self: end; border-bottom-right-radius: 3px; }
.msg.typing { color: var(--muted); font-style: italic; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }

/* ---------- Contact ---------- */
.contact-form { display: grid; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--up); } .form-status.err { color: var(--down); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 0; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-grid h2 { font-size: .95rem; margin: 0 0 4px; }
.footer-grid nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.footer-grid nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-note { color: var(--muted); font-size: .92rem; max-width: 36ch; margin-top: 12px; }
.footer-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
