/* PAIRO Foundation — design system
   Layout: calm Swiss grid, left-aligned editorial type, one dark "night" chapter for Sentinel.
   Encoding carried over from foundation documents: money = gold, token = leaf green, decisions = grey. */

:root {
  --bg: #f3f5f2;
  --bg-2: #eaeee9;
  --surface: #ffffff;
  --ink: #0e1813;
  --ink-2: #3f4d45;
  --ink-3: #6c7a72;
  --line: rgba(14, 24, 19, 0.1);
  --line-2: rgba(14, 24, 19, 0.18);
  --leaf: #1f8a5b;
  --leaf-bright: #34b27a;
  --leaf-soft: rgba(52, 178, 122, 0.12);
  --gold: #a87414;
  --gold-bright: #d9a33c;
  --gold-soft: rgba(217, 163, 60, 0.14);
  --swiss: #d52b1e;
  --danger: #b4231a;
  --glass: rgba(243, 245, 242, 0.72);
  --shadow: 0 1px 2px rgba(14, 24, 19, 0.04), 0 8px 28px rgba(14, 24, 19, 0.06);
  --shadow-lift: 0 2px 6px rgba(14, 24, 19, 0.06), 0 22px 50px rgba(14, 24, 19, 0.1);

  --night-bg: #070b09;
  --night-surface: #0f1512;
  --night-ink: #e9f0eb;
  --night-ink-2: #9aa9a0;
  --night-line: rgba(233, 240, 235, 0.1);
  --scan: #5fe0a5;
  --amber: #f1b34b;

  --f-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Code", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 3.2rem);
  --step-4: clamp(2.5rem, 1.6rem + 4.4vw, 5.4rem);

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1);
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f0c;
    --bg-2: #0f1511;
    --surface: #121a15;
    --ink: #eaf1ec;
    --ink-2: #b1beb6;
    --ink-3: #7f8d85;
    --line: rgba(234, 241, 236, 0.09);
    --line-2: rgba(234, 241, 236, 0.16);
    --leaf: #4cc98e;
    --leaf-bright: #5fd9a0;
    --leaf-soft: rgba(76, 201, 142, 0.14);
    --gold: #e2b458;
    --gold-bright: #efc56f;
    --gold-soft: rgba(226, 180, 88, 0.14);
    --danger: #ff8a7f;
    --glass: rgba(10, 15, 12, 0.7);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 2px 8px rgba(0, 0, 0, 0.4), 0 26px 60px rgba(0, 0, 0, 0.5);
    --night-bg: #040705;
    --night-surface: #0c120f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f0c;
  --bg-2: #0f1511;
  --surface: #121a15;
  --ink: #eaf1ec;
  --ink-2: #b1beb6;
  --ink-3: #7f8d85;
  --line: rgba(234, 241, 236, 0.09);
  --line-2: rgba(234, 241, 236, 0.16);
  --leaf: #4cc98e;
  --leaf-bright: #5fd9a0;
  --leaf-soft: rgba(76, 201, 142, 0.14);
  --gold: #e2b458;
  --gold-bright: #efc56f;
  --gold-soft: rgba(226, 180, 88, 0.14);
  --danger: #ff8a7f;
  --glass: rgba(10, 15, 12, 0.7);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 2px 8px rgba(0, 0, 0, 0.4), 0 26px 60px rgba(0, 0, 0, 0.5);
  --night-bg: #040705;
  --night-surface: #0c120f;
  color-scheme: dark;
}

/* ── language switch: both languages live in the markup ── */
html[data-lang="tr"] [data-l="en"],
html[data-lang="en"] [data-l="tr"] { display: none !important; }

/* ── base ── */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); text-wrap: balance; }
ol, ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--leaf-soft); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.logo-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-dark { display: none; }
  :root:not([data-theme="light"]) .logo-light { display: block; }
}
:root[data-theme="dark"] .logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: block; }

.swiss {
  display: inline-block; width: 0.9em; height: 0.9em; border-radius: 2px; vertical-align: -0.1em;
  background:
    linear-gradient(#fff, #fff) center / 56% 18% no-repeat,
    linear-gradient(#fff, #fff) center / 18% 56% no-repeat,
    var(--swiss);
}

/* ── type ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font: 600 var(--step--1)/1 var(--f-text);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.display {
  font-size: var(--step-4); font-weight: 700; line-height: 1.02; letter-spacing: -0.045em;
}
.display em { font-style: normal; color: var(--leaf); }
.h2 { font-size: var(--step-3); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; }
.h3 { font-size: var(--step-2); font-weight: 650; line-height: 1.15; letter-spacing: -0.025em; }
.h4 { font-size: var(--step-1); font-weight: 650; line-height: 1.25; letter-spacing: -0.015em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.sec-lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.fine { font-size: var(--step--1); color: var(--ink-3); line-height: 1.55; }

/* ── tags (status system) ── */
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 8px; border-radius: 999px;
  font: 600 0.72rem/1.4 var(--f-text); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid currentColor; vertical-align: middle;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-live { color: var(--leaf); }
.tag-pilot { color: #2c74c9; }
.tag-run { color: var(--gold); }
.tag-plan { color: var(--ink-3); }
.tag-legal { color: #8a5cc4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag-pilot { color: #7fb4f0; } :root:not([data-theme="light"]) .tag-legal { color: #c3a2ef; } }
:root[data-theme="dark"] .tag-pilot { color: #7fb4f0; }
:root[data-theme="dark"] .tag-legal { color: #c3a2ef; }

/* ── buttons ── */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 var(--step-0)/1 var(--f-text); letter-spacing: -0.01em; cursor: pointer; user-select: none;
  transition: transform 0.5s var(--spring), background-color 0.25s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.965); transition-duration: 0.12s; }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 6px 20px rgba(14, 24, 19, 0.18); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(14, 24, 19, 0.26); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); border-color: var(--line-2); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 0.9rem; }
.btn .arrow { transition: transform 0.4s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.ripple {
  position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%);
  transform: translate(-50%, -50%) scale(0); animation: ripple 0.75s var(--ease-out) forwards;
}
.btn-ghost .ripple, .seg-btn .ripple, .icon-btn .ripple, .ns-opt .ripple, .opt .ripple { background: radial-gradient(circle, var(--leaf-soft) 0%, transparent 70%); }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

.icon-btn {
  position: relative; overflow: hidden; display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer;
  transition: transform 0.45s var(--spring), background-color 0.2s;
}
.icon-btn:hover { background: var(--surface); }
.icon-btn:active { transform: scale(0.9); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .i-speaker { fill: var(--ink); stroke: none; }
.icon-btn .i-mute { display: none; }
#sound-toggle[aria-pressed="false"] .i-wave { display: none; }
#sound-toggle[aria-pressed="false"] .i-mute { display: inline; }
#ambient-toggle[aria-pressed="true"] { background: var(--leaf-soft); border-color: transparent; }
#ambient-toggle[aria-pressed="true"] svg path { stroke: var(--leaf); animation: breathe 3.2s ease-in-out infinite; }
#ambient-toggle[aria-pressed="false"] .i-ambient-2 { opacity: 0.35; }
@keyframes breathe { 50% { opacity: 0.45; } }

.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.seg-btn {
  position: relative; overflow: hidden; min-width: 36px; height: 30px; padding: 0 8px; border: 0; border-radius: 999px;
  background: transparent; font: 600 0.78rem/1 var(--f-text); letter-spacing: 0.04em; color: var(--ink-3); cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s, box-shadow 0.3s;
}
.seg-btn[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

/* ── nav ── */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: var(--maxw); margin-inline: auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand .logo { height: 30px; width: auto; }
.brand-sub { font: 500 0.82rem/1 var(--f-text); color: var(--ink-3); letter-spacing: 0.02em; padding-left: 10px; border-left: 1px solid var(--line-2); }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 0.9rem; color: var(--ink-2); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--bg-2); }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links + .nav-tools { margin-left: 0; }
.menu-btn { display: none; }
.sheet { display: grid; gap: 2px; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); }
.sheet a { padding: 14px 4px; font: 600 1.35rem/1.2 var(--f-display); letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.sheet .sheet-cta { color: var(--leaf); border-bottom: 0; }
@media (max-width: 1160px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 560px) {
  .brand-sub, #ambient-toggle, .nav-tools > .btn { display: none; }
  .nav-inner { gap: 10px; }
}

/* ── hero ── */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 10vw, 128px) clamp(40px, 6vw, 72px); isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; cursor: crosshair; touch-action: pan-y; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 38%, transparent 70%);
}
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); pointer-events: none; }
.hero-grid a, .hero-grid button { pointer-events: auto; }
.hero-copy { display: grid; gap: 24px; max-width: 760px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 760px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; pointer-events: auto; }
.proof li { display: grid; gap: 6px; padding: 18px 20px; background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.proof-k { display: inline-flex; align-items: center; gap: 8px; font: 600 0.74rem/1.2 var(--f-text); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.proof-v { font: 650 1.08rem/1.3 var(--f-display); letter-spacing: -0.015em; }
.hero-hint { margin-top: 28px; font-size: var(--step--1); color: var(--ink-3); pointer-events: none; }
@media (max-width: 720px) {
  .proof { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 60%, var(--bg) 100%); }
}

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-bright); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--leaf-bright); animation: pulse 2.2s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }

/* ── sections ── */
.section { padding-block: clamp(72px, 11vw, 148px); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }

.reveal { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.pre { opacity: 0; transform: translateY(28px); }

/* spotlight cards */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--leaf-soft), transparent 60%);
}
.spot:hover::before { opacity: 1; }

/* principles */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.principle { display: grid; align-content: start; gap: 12px; padding: clamp(24px, 3vw, 40px); background: var(--bg); transition: background-color 0.3s; }
.principle:hover { background: var(--surface); }
.principle h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.02em; }
.principle p { color: var(--ink-2); }
.p-icon { width: 40px; height: 40px; fill: none; stroke: var(--leaf); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; transition: transform 0.6s var(--spring); }
.principle:hover .p-icon { transform: translateY(-3px) rotate(-4deg); }
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

/* ── story (three layers) ── */
.story { background: var(--bg-2); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.story-stage { position: sticky; top: 96px; align-self: start; display: grid; gap: 16px; justify-items: center; }
.loop { width: min(100%, 460px); height: auto; overflow: visible; }
.orbit { fill: none; stroke: var(--line-2); stroke-dasharray: 2 6; }
.node circle { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; transition: fill 0.6s var(--ease), stroke 0.6s, transform 0.8s var(--spring); transform-box: fill-box; transform-origin: center; }
.n-t { font: 600 13px var(--f-text); fill: var(--ink-2); transition: fill 0.4s; }
.n-sub { font-weight: 500; fill: var(--ink-3); }
.node.on circle { fill: var(--leaf); stroke: var(--leaf); transform: scale(1.08); }
.node.on .n-t { fill: var(--bg); }
.n-token circle { fill: var(--leaf-soft); stroke: var(--leaf); }
.flow { fill: none; stroke-width: 2; transition: opacity 0.5s, stroke-width 0.5s; opacity: 0.55; }
.flow-money { stroke: var(--gold-bright); stroke-dasharray: 1 0; }
.flow-token { stroke: var(--leaf-bright); stroke-dasharray: 6 6; animation: dash 1.6s linear infinite; }
.flow-info { stroke: var(--ink-3); stroke-dasharray: 2 5; }
.flow.hot { opacity: 1; stroke-width: 3; }
.ah-gold { fill: var(--gold-bright); }
.ah-leaf { fill: var(--leaf-bright); }
@keyframes dash { to { stroke-dashoffset: -24; } }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: var(--step--1); color: var(--ink-3); }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 22px; height: 0; border-top: 2px solid; }
.lg-money { border-color: var(--gold-bright); }
.lg-token { border-color: var(--leaf-bright); border-top-style: dashed; }
.lg-info { border-color: var(--ink-3); border-top-style: dotted; }
.story-steps { display: grid; gap: clamp(28px, 16vh, 160px); padding-block: 4vh 20vh; }
.step { display: grid; gap: 12px; padding: 28px; border-radius: var(--r-l); border: 1px solid transparent; transition: background-color 0.6s var(--ease), border-color 0.6s, opacity 0.6s, transform 0.8s var(--ease-out); opacity: 0.45; }
.step.on { opacity: 1; background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.step-k { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font: 600 var(--step--1)/1.3 var(--f-text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.step h3 { font-size: var(--step-2); letter-spacing: -0.025em; line-height: 1.15; }
.step p { color: var(--ink-2); }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-stage { position: relative; top: 0; }
  .story-steps { padding-block: 0; gap: 16px; }
  .step { opacity: 1; background: var(--surface); border-color: var(--line); }
}

/* ── night: Sentinel ── */
.night { background: var(--night-bg); color: var(--night-ink); color-scheme: dark; }
.night .sec-lead { color: var(--night-ink-2); }
.night .h2, .night .h3 { color: var(--night-ink); }
.eyebrow-night { color: var(--scan); }
.muted-night { color: var(--night-ink-2); max-width: 44em; }
.fine-night { font-size: var(--step--1); color: var(--night-ink-2); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.night .tag-legal { color: #c3a2ef; }

.console { border: 1px solid var(--night-line); border-radius: var(--r-l); background: linear-gradient(180deg, #0d1411, #080c0a); overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.console-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; border-bottom: 1px solid var(--night-line); font: 500 0.8rem/1.2 var(--f-mono); color: var(--night-ink-2); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a332e; }
.console-title { color: var(--night-ink); }
.console-note { margin-left: auto; color: #6d7c73; font-family: var(--f-text); font-size: 0.74rem; }
.console-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 340px; }
.station { padding: 22px; border-right: 1px solid var(--night-line); display: grid; place-items: center; }
.station-svg { width: 100%; max-width: 480px; height: auto; }
.st-lot { fill: #0b110e; stroke: rgba(95, 224, 165, 0.14); }
.st-canopy { fill: none; stroke: rgba(233, 240, 235, 0.22); stroke-dasharray: 3 4; }
.st-pumps rect { fill: #16201b; stroke: rgba(233, 240, 235, 0.3); transition: fill 0.4s, stroke 0.4s; }
.st-pumps rect.hot { fill: rgba(95, 224, 165, 0.2); stroke: var(--scan); }
.st-pumps rect.warn { fill: rgba(241, 179, 75, 0.18); stroke: var(--amber); }
.st-store { fill: #121a16; stroke: rgba(233, 240, 235, 0.22); }
.st-tanks rect { fill: #121a16; stroke: rgba(233, 240, 235, 0.22); }
.st-label { font: 600 11px var(--f-mono); fill: #7f8e86; }
.st-scan { fill: var(--scan); opacity: 0.5; filter: drop-shadow(0 0 6px var(--scan)); animation: scan 5.5s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(218px); } }
.st-cams circle { fill: var(--scan); opacity: 0.7; animation: blink 2.4s steps(1) infinite; }
.st-cams circle:nth-child(2) { animation-delay: 0.6s; } .st-cams circle:nth-child(3) { animation-delay: 1.2s; } .st-cams circle:nth-child(4) { animation-delay: 1.8s; }
@keyframes blink { 50% { opacity: 0.2; } }
.st-focus { fill: none; stroke: var(--scan); stroke-width: 1.5; opacity: 0; transition: transform 0.7s var(--ease-out), opacity 0.4s; }
.st-focus.show { opacity: 1; }
.feed { display: flex; flex-direction: column; gap: 10px; padding: 20px; overflow: hidden; max-height: 380px; mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
.feed li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--night-line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); animation: feedIn 0.7s var(--ease-out) both; }
.feed .f-verb { grid-row: span 2; align-self: start; font: 700 0.72rem/1 var(--f-text); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; }
.f-see { color: #7fd3ff; background: rgba(127, 211, 255, 0.1); }
.f-report { color: var(--scan); background: rgba(95, 224, 165, 0.1); }
.f-act { color: var(--amber); background: rgba(241, 179, 75, 0.12); }
.feed .f-text { font-size: 0.9rem; color: var(--night-ink); line-height: 1.4; }
.feed .f-meta { font: 500 0.72rem/1.2 var(--f-mono); color: #6d7c73; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-14px) scale(0.98); } }
.verbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--night-line); }
.verb { padding: 20px 22px; display: grid; gap: 8px; }
.verb + .verb { border-left: 1px solid var(--night-line); }
.verb p { color: var(--night-ink-2); font-size: 0.92rem; }
.verb-k { font: 650 1.1rem/1 var(--f-display); letter-spacing: -0.01em; }
.v-see { color: #7fd3ff; } .v-report { color: var(--scan); } .v-act { color: var(--amber); }
@media (max-width: 820px) {
  .console-body { grid-template-columns: 1fr; }
  .station { border-right: 0; border-bottom: 1px solid var(--night-line); }
  .verbs { grid-template-columns: 1fr; }
  .verb + .verb { border-left: 0; border-top: 1px solid var(--night-line); }
  .console-note { margin-left: 0; width: 100%; }
}

.ladder-wrap { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 14px; }
.ladder { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
.ladder::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, var(--scan) 0 22%, var(--night-line) 22%); }
.rung { position: relative; display: grid; gap: 10px; justify-items: start; }
.rung b { position: relative; display: grid; place-items: center; min-width: 56px; height: 56px; padding: 0 10px; border-radius: 999px; background: var(--night-surface); border: 1px solid var(--night-line); font: 700 1.25rem/1 var(--f-display); letter-spacing: -0.02em; color: var(--night-ink-2); }
.rung > span { font-size: 0.9rem; color: var(--night-ink-2); }
.rung.done b { background: var(--scan); color: #04140c; border-color: var(--scan); }
.rung.now b { border-color: var(--scan); color: var(--night-ink); box-shadow: 0 0 0 6px rgba(95, 224, 165, 0.08); }
.now-pin { font: 600 0.72rem/1.2 var(--f-mono); font-style: normal; color: var(--scan); padding: 4px 8px; border: 1px solid rgba(95, 224, 165, 0.35); border-radius: 8px; }
@media (max-width: 720px) {
  .ladder { grid-template-columns: 1fr; gap: 14px; }
  .ladder::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--scan) 0 22%, var(--night-line) 22%); }
  .rung { grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 4px 16px; }
  .rung .now-pin { grid-column: 2; justify-self: start; }
}
.kpis { margin-top: clamp(56px, 8vw, 96px); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 24px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--r-m); overflow: hidden; }
.kpi-grid > div { padding: 20px; background: var(--night-bg); display: grid; gap: 6px; align-content: start; }
.kpi-grid dt { font: 650 1rem/1.3 var(--f-display); color: var(--night-ink); }
.kpi-grid dd { font-size: 0.88rem; color: var(--night-ink-2); }
.kpi-grid > div:last-child { grid-column: span 2; }
@media (max-width: 900px) { .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi-grid > div:last-child { grid-column: span 1; } }
@media (max-width: 520px) { .kpi-grid { grid-template-columns: 1fr; } }

/* ── split / app ── */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.split-copy { display: grid; gap: 24px; }
.loop-steps { display: flex; flex-wrap: wrap; gap: 8px; counter-reset: s; }
.loop-steps li { counter-increment: s; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.92rem; }
.loop-steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--leaf-soft); color: var(--leaf); font: 700 0.75rem/1 var(--f-text); }
.loop-steps b { font-weight: 600; }
.rules { display: grid; gap: 14px; padding: 24px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.phone-wrap { display: grid; justify-items: center; gap: 14px; }
.phone {
  position: relative; width: min(100%, 300px); aspect-ratio: 9 / 19; max-width: 100%;
  border-radius: 46px; padding: 11px; background: #0d120f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 0 2px #2b332e, var(--shadow-lift);
  transition: transform 0.9s var(--spring);
}
.phone:hover { transform: translateY(-6px) rotate(-1deg); }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 88px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #000; z-index: 2; }
.phone-screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto auto auto auto; justify-items: center;
  background: radial-gradient(120% 70% at 50% 0%, #e8f6ee 0%, #cfeadb 45%, #a9d8bd 100%); color: #10261b; padding: 50px 16px 14px;
}
.app-top { width: 100%; display: flex; align-items: center; gap: 8px; font: 600 0.72rem/1 var(--f-text); }
.app-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #3dbe8b, #1f8c63); }
.app-bal { margin-left: auto; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); font-variant-numeric: tabular-nums; transition: transform 0.5s var(--spring); }
.app-bal.bump { transform: scale(1.12); }
.app-garden { position: relative; display: grid; place-items: center; width: 100%; }
.app-ring { position: absolute; width: 86%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.app-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(16, 38, 27, 0.08); stroke-width: 5; }
.ring-fg { fill: none; stroke: #1f8c63; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 110; transition: stroke-dashoffset 1s var(--ease-out); }
.app-plant { position: relative; width: 62%; filter: drop-shadow(0 16px 18px rgba(16, 38, 27, 0.25)); transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; }
.app-plant.grow { animation: grow 0.9s var(--spring); }
@keyframes sway { 50% { transform: rotate(1.6deg); } }
@keyframes grow { 40% { transform: scale(1.08, 0.94); } 70% { transform: scale(0.97, 1.05); } }
.app-timer { font: 700 1.9rem/1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.app-cap { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; margin-top: 4px; }
.app-btn { position: relative; overflow: hidden; margin-top: 12px; width: 100%; height: 42px; border: 0; border-radius: 14px; background: #10261b; color: #e8f6ee; font: 600 0.85rem/1 var(--f-text); cursor: pointer; transition: transform 0.45s var(--spring); }
.app-btn:active { transform: scale(0.95); }
.app-tabs { display: flex; gap: 22px; margin-top: 14px; }
.app-tabs i { width: 6px; height: 6px; border-radius: 50%; background: rgba(16, 38, 27, 0.25); }
.app-tabs i.on { background: #10261b; }
.phone-cap { font-size: var(--step--1); color: var(--ink-3); }
.superpairo { width: min(100%, 380px); padding: 20px 22px; border-radius: var(--r-m); border: 1px solid var(--line); display: grid; gap: 8px; }
.superpairo p { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ── token ── */
.token { background: var(--bg-2); }
.supply { display: grid; gap: 16px; padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.supply-num { font: 700 clamp(2.6rem, 1rem + 8.2vw, 8.6rem)/0.95 var(--f-display); letter-spacing: -0.055em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.supply-num::-webkit-scrollbar { display: none; }
.supply-cap { color: var(--ink-3); }
.facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.facts > div { display: grid; gap: 4px; padding-top: 14px; border-top: 2px solid var(--ink); }
.facts dt { font-size: var(--step--1); color: var(--ink-3); }
.facts dd { font: 650 1.1rem/1.2 var(--f-display); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.why-burn { margin-block: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px 48px; }
.why-burn p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; }
@media (max-width: 760px) { .why-burn { grid-template-columns: 1fr; } }

.alloc, .release { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 20px; }
.alloc-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
.alloc-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--step--1); color: var(--ink-3); }
.alloc-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 16px; height: 10px; border-radius: 3px; display: inline-block; }
.sw-time { background: var(--leaf); }
.sw-purpose { background: repeating-linear-gradient(135deg, var(--gold-bright) 0 2px, transparent 2px 5px); border: 1px solid var(--gold-bright); }
.bars { display: grid; gap: 4px; }
.bar-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) 4.8rem; align-items: center; gap: 8px 20px;
  padding: 14px 16px; border-radius: 14px; cursor: default; transition: background-color 0.25s;
}
.bar-row:hover, .bar-row:focus-visible { background: var(--surface); }
.bar-name { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.bar-name small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.8rem; }
.bar-track { height: 12px; border-radius: 0 4px 4px 0; background: transparent; position: relative; }
.bar-fill { height: 100%; width: 0; border-radius: 0 4px 4px 0; background: var(--leaf); transition: width 1.2s var(--ease-out); }
.bar-fill.purpose { background: repeating-linear-gradient(135deg, var(--gold-bright) 0 2px, var(--gold-soft) 2px 5px); box-shadow: inset 0 0 0 1px var(--gold-bright); }
.bar-pct { font: 650 1.05rem/1 var(--f-display); text-align: right; font-variant-numeric: tabular-nums; }
.bar-detail { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 18px; font: 500 0.78rem/1.4 var(--f-mono); color: var(--ink-3); max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s var(--ease), opacity 0.3s; }
.bar-row:hover .bar-detail, .bar-row:focus-visible .bar-detail, .bar-row.open .bar-detail { max-height: 60px; opacity: 1; }
@media (max-width: 640px) {
  .bar-row { grid-template-columns: minmax(0, 1fr) 4.2rem; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .bar-detail { max-height: none; opacity: 1; }
}
.release-head { display: grid; gap: 8px; max-width: 46em; }
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid-l { stroke: var(--line); stroke-width: 1; }
.chart .axis-t { font: 500 11px var(--f-text); fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.chart .area { fill: url(#rel-grad); }
.chart .line { fill: none; stroke: var(--leaf); stroke-width: 2; stroke-linejoin: round; }
.chart .ann { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 3; }
.chart .ann-t { font: 600 12px var(--f-text); fill: var(--ink-2); }
.chart .dot { fill: var(--leaf); stroke: var(--bg-2); stroke-width: 2; }
.chart .cross { stroke: var(--ink-2); stroke-width: 1; }
.chart .hit { fill: transparent; cursor: crosshair; }
.stop-a { stop-color: var(--leaf); stop-opacity: 0.28; }
.stop-b { stop-color: var(--leaf); stop-opacity: 0.02; }
.tip {
  position: absolute; pointer-events: none; z-index: 3; min-width: 150px; padding: 10px 12px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lift); font-size: 0.82rem; line-height: 1.45;
  opacity: 0; transform: translateY(4px); transition: opacity 0.15s, transform 0.2s var(--ease-out);
}
.tip.show { opacity: 1; transform: none; }
.tip b { font-family: var(--f-display); font-size: 1rem; }
.tip .t-mono { font-family: var(--f-mono); color: var(--ink-3); font-size: 0.74rem; }

.fee-grid { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.contract-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.contract-card p { color: var(--ink-2); }
.addr-pending { font-size: 1.3rem; letter-spacing: 0.08em; color: var(--ink-3) !important; }
.contract-card .warn { color: var(--danger); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 820px) { .fee-grid { grid-template-columns: 1fr; } }
.fee-grid.single { grid-template-columns: minmax(0, 40rem); }

/* ── governance ── */
.organs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.organ { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); transition: transform 0.6s var(--spring), box-shadow 0.4s; }
.organ:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.organ h3 { font-size: var(--step-1); letter-spacing: -0.02em; }
.organ-de { font-size: 0.8rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.organ p:last-child { color: var(--ink-2); font-size: 0.95rem; }
.organ-dao { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.organ-dao p:last-child, .organ-dao .organ-de { color: color-mix(in srgb, var(--bg) 75%, transparent); }
@media (max-width: 960px) { .organs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .organs { grid-template-columns: 1fr; } }
.dao-rules { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.rule { display: grid; gap: 6px; padding: 22px 20px 22px 0; }
.rule + .rule { padding-left: 20px; border-left: 1px solid var(--line); }
.rule b { font: 700 var(--step-2)/1 var(--f-display); letter-spacing: -0.03em; }
.rule > span { color: var(--ink-2); font-size: 0.92rem; }
@media (max-width: 820px) { .dao-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rule:nth-child(3) { padding-left: 0; border-left: 0; } .rule:nth-child(n+3) { border-top: 1px solid var(--line); } }

.netswitch { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ns-copy { display: grid; gap: 18px; }
.ns-copy > p { color: var(--ink-2); }
.ns-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 18px; background: var(--bg-2); position: relative; }
.ns-toggle::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px); border-radius: 14px; background: var(--surface); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: transform 0.6s var(--spring); }
.ns-toggle.arb::before { transform: translateX(calc(100% + 4px)); }
.ns-opt { position: relative; overflow: hidden; z-index: 1; display: grid; gap: 2px; padding: 12px 14px; border: 0; background: transparent; border-radius: 14px; text-align: left; cursor: pointer; }
.ns-name { font: 650 1rem/1.2 var(--f-display); }
.ns-sub { font-size: 0.78rem; color: var(--ink-3); }
@media (max-width: 860px) { .netswitch { grid-template-columns: 1fr; } }
.netswitch.single { grid-template-columns: minmax(0, 46rem); }

.portal-cta { margin-top: clamp(48px, 7vw, 88px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-l); background: var(--ink); color: var(--bg); }
.portal-cta > div { display: grid; gap: 10px; max-width: 40em; min-width: 0; }
.portal-cta p { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.portal-cta .btn-primary { background: var(--bg); color: var(--ink); }

/* ── sustainability ── */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.phase { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.ph-n { font: 700 2.4rem/1 var(--f-display); letter-spacing: -0.02em; color: var(--leaf); }
.phase h3 { font-size: var(--step-1); }
.phase p { color: var(--ink-2); }
@media (max-width: 860px) { .phases { grid-template-columns: 1fr; } }
.impact { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 18px; }
.impact-list { display: flex; flex-wrap: wrap; gap: 10px; }
.impact-list li { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; transition: background-color 0.3s, transform 0.5s var(--spring); }
.impact-list li:hover { background: var(--leaf-soft); transform: translateY(-2px); }

/* ── roadmap ── */
.roadmap { background: var(--bg-2); }
.road { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: r; }
.road li { counter-increment: r; display: grid; grid-template-columns: 3rem 10rem minmax(0, 1fr); align-items: center; gap: 12px 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.road li::before { content: counter(r, decimal-leading-zero); font: 500 0.85rem/1 var(--f-mono); color: var(--ink-3); }
.road li p { font: 600 var(--step-1)/1.3 var(--f-display); letter-spacing: -0.015em; }
.road .tag { justify-self: start; }
@media (max-width: 600px) { .road li { grid-template-columns: 2.4rem minmax(0, 1fr); } .road li p { grid-column: 2; } }

/* ── foundation ── */
.found-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.found-grid > div:first-child { display: grid; gap: 22px; }
.registry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 12px; }
.registry > div { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.registry dt { font-size: var(--step--1); color: var(--ink-3); }
.registry dd { font-weight: 500; line-height: 1.5; }
.contact { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact > p:not(.fine) { color: var(--ink-2); }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.copy-text { font-size: 0.98rem; overflow-wrap: anywhere; user-select: all; min-width: 0; }
@media (max-width: 820px) { .found-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .registry { grid-template-columns: 1fr; } }

/* ── footer ── */
.footer { padding-block: 56px 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 24px 48px; }
.foot-brand { display: grid; gap: 12px; align-content: start; font-size: var(--step--1); color: var(--ink-3); }
.foot-brand .logo { height: 26px; width: auto; }
.foot-brand p { display: flex; gap: 8px; align-items: center; }
.disclaimer { font-size: var(--step--1); color: var(--ink-3); line-height: 1.65; max-width: 62em; }
.mica-note { grid-column: 2; font-size: var(--step--1); color: var(--ink-2); line-height: 1.6; max-width: 62em; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; }
.wp-link { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; }
.copyright { grid-column: 2; font-size: var(--step--1); color: var(--ink-3); }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } .copyright, .mica-note { grid-column: 1; } }

/* ── toast ── */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; transform: translateX(-50%);
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 0.92rem;
  box-shadow: var(--shadow-lift); animation: toastIn 0.6s var(--spring);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px) scale(0.96); } }

/* ── motion preferences ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal.pre { opacity: 1; transform: none; }
}
