/* ============================================================
   Redink — Loss analysis design system
   Forensic, diagnostic, high-contrast. Near-black · neon red · green.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #0e1013;
  --bg-2: #15181e;
  --card: #171b21;
  --ink: #eef1f4;
  --ink-soft: #a8afb8;
  --ink-faint: #6d7480;
  --line: #232932;
  --line-strong: #38404b;
  --red: #ff3b30;          /* loss */
  --red-dark: #d9261c;
  --red-soft: rgba(255, 59, 48, 0.12);
  --green: #2ee6a8;        /* recovery */
  --green-soft: rgba(46, 230, 168, 0.12);
  --amber: #ffb020;        /* warning */

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 30px 70px -36px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(44px, 6vw, 76px); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }
.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-4 { grid-column: span 4; }
@media (max-width: 880px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-12 > * { grid-column: span 12; }
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--ink);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.7rem, 6.5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.08rem; font-weight: 700; font-family: var(--body); }
h1 .hl { color: var(--red); }
.lede { font-size: clamp(1.14rem, 1.7vw, 1.34rem); line-height: 1.6; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.small { font-size: 0.9rem; }

.kicker {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--red); }

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.6em; }
.prose a { color: var(--green); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--green); }
.prose ul, .prose ol { margin-top: 0.8em; }

/* ---------- Signal chips ---------- */
.signal { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.4em 0.8em; border-radius: 999px; border: 1px solid var(--line-strong); }
.signal::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.signal.red { color: var(--red); border-color: rgba(255,59,48,0.4); }
.signal.red::before { background: var(--red); }
.signal.green { color: var(--green); border-color: rgba(46,230,168,0.4); }
.signal.green::before { background: var(--green); }
.signal.amber { color: var(--amber); border-color: rgba(255,176,32,0.4); }
.signal.amber::before { background: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease), background 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.22s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--green); color: #08110d; box-shadow: 0 12px 28px -14px rgba(46,230,168,0.5); }
.btn--primary:hover { background: #1fd096; transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn--lg { padding: 1.1em 1.85em; font-size: 1.04rem; }

.link-arrow { font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 0.5em; }
.link-arrow .arr { transition: transform 0.22s var(--ease); }
.link-arrow:hover .arr { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 16, 19, 0.9);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.7em; font-family: var(--display); font-size: 1.4rem; letter-spacing: 0.02em; text-transform: uppercase; }
.brand .mark { width: 32px; height: 32px; flex: none; }
.brand small { display: block; font-family: var(--mono); font-size: 0.56rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2rem); list-style: none; padding: 0; margin: 0; }
.nav-links li { margin: 0; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 0.3em 0; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--green); }
.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 1.4rem var(--gutter) 2rem; align-items: flex-start; gap: 1rem; }
  .nav.open .nav-links a { font-size: 1.12rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, rgba(255,59,48,0.10), transparent 45%), radial-gradient(circle at 20% 80%, rgba(46,230,168,0.08), transparent 45%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero h1 { margin-top: 1.1rem; }
.hero .lede { margin-top: 1.35rem; max-width: 48ch; }
.hero-actions { display: flex; gap: 0.8rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 1.5rem; margin-top: 1.8rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-faint); }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.45em; }
.hero-trust span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero-figure { position: relative; }

/* diagnostic card */
.diag { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.diag .d-head { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1rem; }
.diag .d-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.diag .d-row .k { font-size: 0.9rem; color: var(--ink-soft); }
.diag .d-row .v { font-family: var(--display); font-size: 1.6rem; }
.diag .v.red { color: var(--red); }
.diag .v.green { color: var(--green); }
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; } }

/* ---------- Leak map ---------- */
.leakmap { border-top: 1px solid var(--line-strong); }
.leak { display: grid; grid-template-columns: 150px 1fr 120px; gap: 1.4rem; align-items: center; padding: 1.3rem 0.4rem; border-bottom: 1px solid var(--line); }
.leak .l-name { font-weight: 600; }
.leak .l-bar { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.leak .l-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--amber)); border-radius: 5px; }
.leak .l-pct { font-family: var(--mono); font-size: 0.82rem; color: var(--red); text-align: right; }
@media (max-width: 640px) { .leak { grid-template-columns: 1fr 80px; } .leak .l-bar { grid-column: 1 / -1; } }

/* ---------- Section head ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head h2 { margin-top: 0.9rem; max-width: 24ch; }
.section-head .aside { max-width: 44ch; color: var(--ink-soft); }
@media (max-width: 880px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); padding: 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 0.7rem; transition: transform 0.25s var(--ease), border-color 0.25s; }
.svc-card:hover { transform: translateY(-4px); border-top-color: var(--green); }
.svc-card .num { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--red); }
.svc-card h3 { font-size: 1.3rem; }
.svc-card p { color: var(--ink-soft); font-size: 0.95rem; }
.svc-card .b-foot { margin-top: auto; }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-card .thumb { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.work-card .thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.work-card .body { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.work-card .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.3em 0.8em; color: var(--ink-soft); background: var(--bg-2); }
.work-card .metric { display: flex; gap: 1.6rem; margin-top: 0.4rem; flex-wrap: wrap; }
.work-card .metric .num { font-family: var(--display); font-size: 1.6rem; color: var(--green); line-height: 1; }
.work-card .metric .num.red { color: var(--red); }
.work-card .metric .label { font-size: 0.78rem; color: var(--ink-faint); }
.work-card .b-foot { margin-top: auto; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Feature case (detail) ---------- */
.case-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.6rem); align-items: start; padding-block: clamp(1.6rem, 3vw, 2.6rem); border-bottom: 1px solid var(--line); }
.case-detail:first-of-type { border-top: 1px solid var(--line); }
.case-detail .thumb { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.case-detail .thumb img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.case-detail .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.case-detail .metric { display: flex; gap: 2rem; margin-top: 1.4rem; flex-wrap: wrap; }
.case-detail .metric .num { font-family: var(--display); font-size: 2rem; color: var(--green); line-height: 1; }
.case-detail .metric .num.red { color: var(--red); }
.case-detail .metric .label { font-size: 0.8rem; color: var(--ink-faint); }
@media (max-width: 860px) { .case-detail { grid-template-columns: 1fr; } }

/* ---------- Pull quote ---------- */
.pull-quote { border-left: 3px solid var(--red); padding: 0.5rem 0 0.5rem 1.6rem; font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.2; color: var(--ink); text-transform: uppercase; }
.pull-quote cite { display: block; margin-top: 1rem; font-family: var(--body); font-size: 0.9rem; color: var(--ink-faint); font-style: normal; text-transform: none; }

/* ---------- Process steps ---------- */
.stage-list { border-top: 1px solid var(--line-strong); }
.stage { position: relative; padding: 1.8rem 0 1.8rem 84px; border-bottom: 1px solid var(--line); }
.stage .num { position: absolute; left: 0; top: 1.8rem; width: 60px; height: 60px; border-radius: 8px; background: var(--red-soft); color: var(--red); font-family: var(--display); font-size: 1.6rem; display: flex; align-items: center; justify-content: center; }
.stage:nth-child(even) .num { background: var(--green-soft); color: var(--green); }
.stage h3 { margin-bottom: 0.5rem; }
.stage p { color: var(--ink-soft); max-width: 72ch; }
@media (max-width: 560px) { .stage { padding-left: 0; } .stage .num { position: static; margin-bottom: 0.8rem; } }

/* ---------- Dark band (call to action) ---------- */
.cta-band { background: linear-gradient(120deg, #171b21, #10151a); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(2.8rem, 6vw, 5rem); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,59,48,0.4), transparent 70%); }
.cta-band::before { content: ""; position: absolute; left: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(46,230,168,0.3), transparent 70%); }
.cta-band .kicker { color: var(--red); }
.cta-band h2 { color: #fff; margin-top: 0.9rem; max-width: 22ch; }
.cta-band p { color: var(--ink-soft); margin-top: 1.1rem; max-width: 56ch; }
.cta-band .btn { margin-top: 1.7rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select { background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 8px; padding: 0.8em 1em; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.field textarea { resize: vertical; min-height: 140px; }
.checkbox { display: flex; gap: 0.7em; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: none; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); }
.form-success { background: var(--green-soft); border: 1px solid var(--green); color: var(--green); border-radius: 8px; padding: 1.2rem 1.4rem; margin-top: 1rem; display: none; }
.form-success.show { display: block; }

/* ---------- Map ---------- */
.map-shell { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 420px; background: var(--bg-2); }
.map-shell iframe { width: 100%; height: 100%; border: 0; filter: invert(0.9) hue-rotate(180deg) saturate(0.5); }

/* ---------- Info list ---------- */
.info-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.info-item { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); padding-top: 2px; }
.info-item .v a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .info-item { grid-template-columns: 1fr; gap: 0.2rem; } }

/* ---------- Notice ---------- */
.notice { background: var(--amber); border-radius: 8px; padding: 1.1rem 1.3rem; font-size: 0.92rem; color: #241a04; }
.notice strong { display: block; margin-bottom: 0.3rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0b0d10; color: var(--ink-soft); margin-top: clamp(48px, 8vw, 96px); padding-block: clamp(3rem, 6vw, 5rem) 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: var(--ink-faint); }
.footer-brand p { margin-top: 1.2rem; max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 { color: #fff; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0 0 0.7rem; }
.footer-col a { font-size: 0.95rem; color: var(--ink-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-col address { font-style: normal; font-size: 0.95rem; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: 0.82rem; color: var(--ink-faint); }
.footer-bottom a { color: var(--ink-faint); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 18px; max-width: 560px; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; z-index: 90; display: none; gap: 1rem; flex-direction: column; }
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 0.88rem; color: var(--ink-soft); }
.cookie-banner .cookie-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie-banner .btn { font-size: 0.88rem; padding: 0.7em 1.1em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-block: clamp(58px, 8vw, 100px) clamp(40px, 5vw, 66px); border-bottom: 1px solid var(--line); }
.page-hero .kicker { margin-bottom: 1rem; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { margin-top: 1.3rem; max-width: 62ch; }
.page-meta { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- Editorial two-col ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } }

/* ---------- TOC ---------- */
.toc { position: sticky; top: 100px; }
.toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 0.55em 1.2em; font-size: 0.92rem; color: var(--ink-soft); border-left: 1px solid transparent; margin-left: -1px; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--ink); border-color: var(--green); }

/* ---------- Value rows ---------- */
.value { border-top: 1px solid var(--line); padding: 1.7rem 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; }
.value:last-child { border-bottom: 1px solid var(--line); }
.value h3 { color: var(--green); }
.value p { color: var(--ink-soft); }
@media (max-width: 700px) { .value { grid-template-columns: 1fr; gap: 0.6rem; } }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
