/* ==========================================================================
   RST (Resolut) — design system
   Dark-first, high-contrast, editorial-technical.
   ========================================================================== */

/* --- tokens --------------------------------------------------------------- */
:root {
  /* --- surfaces: black, warmed a few degrees so orange sits in it, not on it */
  --bg:            #000000;
  --bg-elev:       #0C0B0A;
  --bg-elev-2:     #15120F;
  --bg-inset:      #070605;
  --line:          rgba(255, 244, 232, 0.09);
  --line-strong:   rgba(255, 244, 232, 0.18);

  /* --- ink */
  --fg:            #EDEAE6;   /* 17.5:1 on black */
  --fg-muted:      #A5A09A;   /*  8.1:1 */
  --fg-dim:        #6E6862;   /*  3.8:1 — large / non-essential only */

  /* --- brand: ember */
  --accent:        #FF8A3D;   /*  9.0:1 on black */
  --accent-2:      #FFC48F;   /* 13.5:1 — gradient light end */
  --accent-soft:   rgba(255, 138, 61, 0.12);
  --accent-line:   rgba(255, 138, 61, 0.30);

  /* --- data marks: validated trio (OKLab CVD ΔE 10.6 worst pair, all-pairs) */
  --d-live:        #22AD7E;   /* operational */
  --d-build:       #DE6A1C;   /* in construction */
  --d-plan:        #7378EC;   /* planning */

  /* --- status: reserved scale, always shipped with a label + severity bars */
  --ok:            #189B7B;
  --warn:          #B8811F;
  --danger:        #D4514B;

  --btn-fg:        #14100B;
  --btn-bg:        #FF8A3D;
  --btn-alt-fg:    #000000;
  --btn-alt-bg:    #FFFFFF;
  --glow:          radial-gradient(60% 60% at 70% 30%, rgba(255, 122, 30, 0.15), transparent 70%);
  --grid-line:     rgba(255, 240, 225, 0.035);
  --shadow:        0 1px 2px rgba(0,0,0,.4), 0 8px 32px rgba(0,0,0,.5);

  --r-sm: 8px;  --r-md: 12px;  --r-lg: 16px;  --r-xl: 22px;
  --maxw: 1400px;
  --pad: 40px;
  --nav-h: 66px;
  --bar-h: 36px;

  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "SFMono-Regular", ui-monospace, "Menlo", monospace;

  --ease: cubic-bezier(.16,.84,.44,1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg:            #FFFFFF;
  --bg-elev:       #FBFAF8;
  --bg-elev-2:     #F3F1ED;
  --bg-inset:      #F8F6F3;
  --line:          rgba(23, 20, 15, 0.10);
  --line-strong:   rgba(23, 20, 15, 0.22);

  --fg:            #17140F;   /* 18.4:1 on white */
  --fg-muted:      #5A544C;   /*  7.5:1 */
  --fg-dim:        #8A837A;   /*  3.7:1 */

  --accent:        #B4470F;   /*  5.5:1 on white */
  --accent-2:      #D2560A;
  --accent-soft:   rgba(180, 71, 15, 0.07);
  --accent-line:   rgba(180, 71, 15, 0.24);

  --d-live:        #0E8A63;
  --d-build:       #D2560A;
  --d-plan:        #5B5FD6;

  --ok:            #0E8A63;
  --warn:          #8A6410;
  --danger:        #C33A30;

  --btn-fg:        #FFFFFF;
  --btn-bg:        #B4470F;
  --btn-alt-fg:    #FFFFFF;
  --btn-alt-bg:    #17140F;
  --glow:          radial-gradient(60% 60% at 70% 30%, rgba(210, 86, 10, 0.08), transparent 70%);
  --grid-line:     rgba(23, 20, 15, 0.045);
  --shadow:        0 1px 2px rgba(0,0,0,.05), 0 8px 28px rgba(0,0,0,.07);
  color-scheme: light;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; background: none; border: none; }
button { cursor: pointer; }
::selection { background: var(--accent); color: #14100B; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- layout primitives ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.section { position: relative; padding-block: 128px; border-top: 1px solid var(--line); }
.section--flush { border-top: 0; }
.section--tight { padding-block: 88px; }

.rule { height: 1px; background: var(--line); border: 0; }

/* --- type ----------------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.03; }

.display {
  font-size: clamp(2.85rem, 6.4vw, 5rem);
  letter-spacing: -0.042em;
  line-height: 0.98;
}
.h2 {
  font-size: clamp(2.1rem, 4.1vw, 3.4rem);
  letter-spacing: -0.038em;
  line-height: 1.02;
}
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.028em; }

.accent {
  background: linear-gradient(96deg, var(--accent) 8%, var(--accent-2) 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--fg-muted);
  line-height: 1.62;
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.eyebrow--plain::before { display: none; }

.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }
.dim { color: var(--fg-dim); }
.muted { color: var(--fg-muted); }

.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head .lede { margin-top: 22px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

/* --- badges / pills ------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elev) 80%, transparent);
  font-size: 13px; color: var(--fg-muted);
  backdrop-filter: blur(8px);
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2.4s var(--ease) infinite;
}
.badge--accent { border-color: var(--accent-line); color: var(--accent-2); background: var(--accent-soft); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.82); }
}

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  font-size: 13.5px; color: var(--fg-muted);
  transition: border-color .2s, color .2s, background-color .2s, transform .2s;
}
.chip:hover { border-color: var(--line-strong); color: var(--fg); transform: translateY(-1px); }
.chip svg { width: 13px; height: 13px; color: var(--accent); flex: none; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: 6px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .07em; text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  backdrop-filter: blur(6px);
  color: var(--fg);
}
/* Risk is an ordinal status scale. Colour alone never carries it: every tag
   ships the word AND a three-step severity meter, so it survives CVD and mono. */
.tag--low    { color: var(--ok);     border-color: color-mix(in srgb, var(--ok) 42%, transparent);     background: color-mix(in srgb, var(--ok) 14%, transparent); }
.tag--medium { color: var(--warn);   border-color: color-mix(in srgb, var(--warn) 42%, transparent);   background: color-mix(in srgb, var(--warn) 14%, transparent); }
.tag--high   { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 42%, transparent); background: color-mix(in srgb, var(--danger) 14%, transparent); }

.meter { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 9px; flex: none; }
.meter i { width: 2.5px; border-radius: 1px; background: currentColor; opacity: .28; }
.meter i:nth-child(1) { height: 4px; }
.meter i:nth-child(2) { height: 6.5px; }
.meter i:nth-child(3) { height: 9px; }
.meter[data-level="1"] i:nth-child(-n+1),
.meter[data-level="2"] i:nth-child(-n+2),
.meter[data-level="3"] i:nth-child(-n+3) { opacity: 1; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding-inline: 22px;
  border-radius: 10px;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background-color .2s, border-color .2s, opacity .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--primary { background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; }
.btn--primary:hover { opacity: .88; }
.btn--ghost { border-color: var(--line-strong); color: var(--fg); background: color-mix(in srgb, var(--bg-elev) 70%, transparent); }
.btn--ghost:hover { border-color: var(--fg-dim); background: var(--bg-elev-2); }
.btn--bare { color: var(--fg-muted); padding-inline: 6px; }
.btn--bare:hover { color: var(--fg); }
.btn--sm { height: 38px; padding-inline: 15px; font-size: 13.5px; border-radius: 9px; }

.btn--primary .arw, .btn--ghost .arw { transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* --- cards ---------------------------------------------------------------- */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card--pad { padding: 26px; }
.card--inset { background: var(--bg-inset); }

/* --- backgrounds ---------------------------------------------------------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}
.bg-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; background: var(--glow); }
.section > .wrap { position: relative; z-index: 1; }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announce {
  position: relative; z-index: 60;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  overflow: hidden;
}
.announce__inner { display: flex; align-items: center; gap: 14px; max-width: 100%; padding-inline: 16px; }
.announce__txt { color: var(--fg); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce svg { width: 14px; height: 14px; color: var(--accent); }
.announce__sep { color: var(--line-strong); }
#countdown { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); letter-spacing: .06em; }
#countdown b { color: var(--fg-muted); font-weight: 400; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition: border-color .3s, background-color .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 22px; min-width: 0; }

.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 17px; letter-spacing: -0.03em; flex: none; }
.brand__mark {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  /* matches the favicon exactly: warm-dark tile, ember bars, soft bloom */
  background:
    radial-gradient(62% 62% at 50% 50%, rgba(255, 138, 61, 0.36), rgba(255, 122, 41, 0) 72%),
    linear-gradient(180deg, #1C1410, #0A0705);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 61, 0.30);
  color: #FF8A3D; font-weight: 700; font-size: 14px; letter-spacing: -0.05em;
}
.brand__mark svg { width: 17px; height: auto; }
.brand { letter-spacing: -0.02em; }
/* the tile stays dark in light mode too, so header and browser tab agree */

.nav__links { display: flex; align-items: center; gap: 2px; flex: none; }
.nav__link {
  position: relative; white-space: nowrap;
  padding: 8px 10px; border-radius: 8px;
  font-size: 14.5px; color: var(--fg-muted);
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--fg); background: var(--bg-elev); }
.nav__link.is-active { color: var(--fg); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -19px;
  height: 2px; background: var(--fg); border-radius: 2px;
}

.nav__spacer { flex: 1; min-width: 8px; }
.nav__ctx { font-family: var(--mono); font-size: 10.5px; letter-spacing: .3em; color: var(--fg-dim); text-transform: uppercase; }
.nav__div { width: 1px; height: 20px; background: var(--line); }

.search {
  display: flex; align-items: center; gap: 9px; flex: none;
  height: 38px; padding: 0 8px 0 13px; width: 196px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-elev);
  color: var(--fg-dim); font-size: 13.5px;
  transition: border-color .2s, background-color .2s;
}
.search:hover { border-color: var(--line-strong); background: var(--bg-elev-2); }
.search svg { width: 14px; height: 14px; }
.search span { flex: 1; text-align: left; }
.search kbd {
  font-family: var(--mono); font-size: 10.5px; padding: 3px 6px;
  border: 1px solid var(--line); border-radius: 5px; background: var(--bg-elev-2); color: var(--fg-dim);
}

.icon-btn {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-elev); color: var(--fg-muted);
  transition: color .2s, border-color .2s, background-color .2s;
}
.icon-btn:hover { color: var(--fg); border-color: var(--line-strong); background: var(--bg-elev-2); }
.icon-btn svg { width: 16px; height: 16px; }
:root[data-theme="light"] .icon-sun { display: none; }
:root:not([data-theme="light"]) .icon-moon { display: none; }

.nav__burger { display: none; }

/* mobile nav sheet */
.sheet {
  position: fixed; inset: 0; z-index: 70;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(14px);
  padding: 24px var(--pad);
  display: none; flex-direction: column; gap: 6px;
}
.sheet.is-open { display: flex; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.sheet a { padding: 14px 4px; font-size: 22px; letter-spacing: -0.03em; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   Command palette
   ========================================================================== */
.palette {
  position: fixed; inset: 0; z-index: 90;
  display: none; align-items: flex-start; justify-content: center;
  padding-top: 14vh;
  background: rgba(0,0,0,.62); backdrop-filter: blur(6px);
}
.palette.is-open { display: flex; }
.palette__box {
  width: min(600px, 92vw);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  background: var(--bg-elev); box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise .22s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.palette__field { display: flex; align-items: center; gap: 11px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.palette__field svg { width: 16px; height: 16px; color: var(--fg-dim); }
.palette__field input { flex: 1; font-size: 15.5px; outline: none; }
.palette__field input::placeholder { color: var(--fg-dim); }
.palette__list { max-height: 350px; overflow-y: auto; padding: 8px; }
.palette__item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 12px; border-radius: 9px; text-align: left;
  font-size: 14.5px; color: var(--fg-muted);
}
.palette__item:hover, .palette__item.is-sel { background: var(--bg-elev-2); color: var(--fg); }
.palette__item .k { font-family: var(--mono); font-size: 10.5px; color: var(--fg-dim); margin-left: auto; letter-spacing: .1em; text-transform: uppercase; }
.palette__empty { padding: 26px; text-align: center; color: var(--fg-dim); font-size: 14px; }

/* ==========================================================================
   Hero
   ========================================================================== */
/* The hero centres in the space below the nav rather than inheriting
   .section's padding — otherwise the two stack and the headline sits low. */
.hero {
  position: relative; overflow: hidden; border-top: 0;
  padding-block: 0;
  display: flex; align-items: center;
  min-height: clamp(540px, calc(100svh - var(--nav-h) - var(--bar-h)), 800px);
}
.hero > .wrap { width: 100%; }
/* asymmetric padding biases the block above true centre — optical, not maths */
.hero__inner {
  position: relative; z-index: 4; max-width: 720px;
  padding-block: clamp(20px, 2.4vw, 34px) clamp(52px, 6.5vw, 104px);
}
.hero .display { margin-top: 26px; }
.hero .lede { margin-top: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }

.hero__orb {
  position: absolute; z-index: 3;
  right: -4%; top: 50%; transform: translateY(-50%);
  width: min(660px, 52vw, 86vh); aspect-ratio: 1;
}
.hero__orb canvas { width: 100%; height: 100%; cursor: grab; outline: none; border-radius: 50%; }
.hero__orb canvas.is-grabbing { cursor: grabbing; }
.hero__orb canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

.globe__tip {
  position: absolute; z-index: 4; pointer-events: none; opacity: 0;
  transform: translate(-50%, calc(-100% - 16px));
  min-width: 196px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px); box-shadow: var(--shadow);
  transition: opacity .14s;
}
.globe__tip.is-on { opacity: 1; }
.globe__tipPhase { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; }
.globe__tip h4 { font-size: 14px; letter-spacing: -0.022em; margin-top: 5px; }
.globe__tip .loc { font-size: 12px; color: var(--fg-dim); margin-top: 2px; }
.globe__tip dl {
  display: grid; grid-template-columns: auto auto; gap: 4px 14px;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px;
}
.globe__tip dt { color: var(--fg-dim); }
.globe__tip dd { text-align: right; }

.globe__strip {
  position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  pointer-events: none; width: max-content; max-width: 96%;
}
.globe__hint {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-elev) 78%, transparent);
  backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fg-dim);
  pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease);
  animation: hintIn .6s var(--ease) 1.4s both;
}
.globe__hint.is-gone { opacity: 0; transform: translateY(8px); }
.globe__hintIcon {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid var(--accent-line); position: relative;
}
.globe__hintIcon::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--accent); animation: pulse 2.4s var(--ease) infinite;
}
@keyframes hintIn { from { opacity: 0; transform: translateY(8px); } }

.globe__key {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px;
  font-size: 11.5px; color: var(--fg-dim);
}
.globe__key span { display: inline-flex; align-items: center; gap: 7px; }
.globe__key i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }

/* ==========================================================================
   Stat band
   ========================================================================== */
.statband { padding-block: 0 96px; border-top: 0; }
.statband__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.statband__note { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); }
.statband__note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); animation: pulse 2.4s var(--ease) infinite; }
.statband__upd { font-family: var(--mono); font-size: 10.5px; color: var(--fg-dim); padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--bg-elev);
}
.stat { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.stat:nth-child(4n) { border-right: 0; }
.stat:nth-last-child(-n+4) { border-bottom: 0; }
.stat__v { font-family: var(--mono); font-size: clamp(1.5rem, 2.3vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; }
.stat__l { font-size: 13px; color: var(--fg-dim); margin-top: 5px; }
.stat__d { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 11px; color: var(--ok); }

/* ==========================================================================
   Split / compare
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr auto 1fr; gap: 34px; align-items: center; }
.split__arrow {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-2);
}
.split__arrow svg { width: 18px; height: 18px; }

.panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: var(--bg-elev); }
.panel--unified { background: linear-gradient(155deg, var(--accent-soft), transparent 62%), var(--bg-elev); border-color: var(--accent-line); }
.panel__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 20px; }
.panel--unified .panel__label { color: var(--accent-2); }

.frag { display: flex; flex-direction: column; gap: 8px; }
.frag__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 15px; border-radius: 9px;
  border: 1px dashed var(--line-strong);
  color: var(--fg-muted); font-size: 14px;
}
.frag__row::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--fg-dim); }

.unified { border: 1px solid var(--line); border-radius: var(--r-md); padding: 46px 30px; text-align: center; background: color-mix(in srgb, var(--bg) 40%, transparent); }
.unified__icon {
  width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--bg-elev-2); border: 1px solid var(--line-strong); color: var(--accent-2);
}
.unified__icon svg { width: 24px; height: 24px; }
.unified p { color: var(--fg-muted); font-size: 14.5px; margin-top: 12px; max-width: 46ch; margin-inline: auto; }

/* ==========================================================================
   Project cards
   ========================================================================== */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.pcard { overflow: hidden; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-3px); }
.pcard__media { position: relative; aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard__art { position: absolute; inset: 0; }
.pcard__scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--bg-elev) 92%, transparent), transparent 62%); }
.pcard__tags { position: absolute; inset: 12px 12px auto 12px; display: flex; justify-content: space-between; gap: 8px; }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pcard__title { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.pcard__title h3 { font-size: 16.5px; letter-spacing: -0.025em; }
.pcard__title .arw { color: var(--fg-dim); transition: color .2s, transform .2s; width: 15px; height: 15px; flex: none; margin-top: 2px; }
.pcard:hover .arw { color: var(--fg); transform: translate(2px, -2px); }
.pcard__loc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-dim); margin-top: 4px; }
.pcard__loc svg { width: 12px; height: 12px; }

.fund__top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 8px; }
.fund__top b { color: var(--fg); font-weight: 500; }
.fund__track { height: 4px; border-radius: 3px; background: var(--bg-elev-2); border: 1px solid var(--line); overflow: hidden; }
.fund__fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; transition: width 1.1s var(--ease); }

.pmeta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.pmeta__k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); }
.pmeta__v { font-family: var(--mono); font-size: 12px; line-height: 1.3; margin-top: 5px; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.pmeta__v svg { width: 12px; height: 12px; color: var(--accent); }

/* ==========================================================================
   Category grid
   ========================================================================== */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-md); }
.cat:hover { transform: translateY(-2px); }
.cat__icon {
  width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-elev-2); border: 1px solid var(--line); color: var(--fg-muted);
  transition: color .2s, border-color .2s;
}
.cat:hover .cat__icon { color: var(--accent-2); border-color: var(--accent-line); }
.cat__icon svg { width: 17px; height: 17px; }
.cat__n { font-size: 14.5px; font-weight: 500; letter-spacing: -0.015em; }
.cat__c { font-size: 12.5px; color: var(--fg-dim); margin-top: 2px; font-family: var(--mono); }

/* ==========================================================================
   Feature / two-col
   ========================================================================== */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two--top { align-items: start; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { padding: 20px; border-radius: var(--r-md); }
.tile__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-2); margin-bottom: 14px; }
.tile__icon svg { width: 16px; height: 16px; }
.tile h4 { font-size: 14.5px; font-weight: 500; }
.tile p { font-size: 13px; color: var(--fg-dim); margin-top: 5px; }

.listrows { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.listrow { display: flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-elev); font-size: 13.5px; color: var(--fg-muted); }
.listrow svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

.note {
  display: flex; gap: 12px; padding: 17px 19px; margin-top: 22px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--bg-elev); font-size: 13.5px; color: var(--fg-dim); line-height: 1.6;
}
.note b { color: var(--fg); font-weight: 600; }
.note svg { width: 15px; height: 15px; color: var(--fg-muted); flex: none; margin-top: 2px; }

/* --- signal cloud --------------------------------------------------------- */
.cloud { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; max-width: 900px; margin-inline: auto; }
.cloud--left { justify-content: flex-start; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 620px; margin: 52px auto 0; text-align: center; }
.trio__v { font-family: var(--mono); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; letter-spacing: -0.03em; }
.trio__l { font-size: 12.5px; color: var(--fg-dim); margin-top: 4px; }

/* --- flywheel ------------------------------------------------------------- */
.flywheel { display: flex; flex-direction: column; gap: 0; }
.fw {
  display: flex; align-items: center; gap: 16px;
  padding: 17px 20px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--bg-elev);
  transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.fw.is-hot { border-color: var(--accent-line); background: linear-gradient(90deg, var(--accent-soft), transparent 70%), var(--bg-elev); transform: translateX(6px); }
.fw__n {
  width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 11.5px;
  border: 1px solid var(--line-strong); color: var(--fg-dim);
  transition: color .3s, border-color .3s, background-color .3s;
}
.fw.is-hot .fw__n { color: #fff; background: var(--accent); border-color: var(--accent); }
:root[data-theme="light"] .fw.is-hot .fw__n { color: #fff; }
.fw__t { font-size: 15px; font-weight: 500; flex: 1; }
.fw__v { font-family: var(--mono); font-size: 11.5px; color: var(--fg-dim); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.fw.is-hot .fw__v { color: var(--accent-2); border-color: var(--accent-line); }
.fw__link { height: 18px; width: 1px; background: var(--line); margin-left: 33px; }

/* --- question cards ------------------------------------------------------- */
.qs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.q { padding: 26px; border-radius: var(--r-lg); }
.q__n { font-family: var(--mono); font-size: 11.5px; color: var(--accent); letter-spacing: .1em; }
.q h3 { font-size: 17.5px; margin-top: 14px; line-height: 1.3; letter-spacing: -0.025em; }
.q__proc { display: flex; align-items: center; gap: 11px; margin-top: 24px; font-family: var(--mono); font-size: 10px; letter-spacing: .22em; color: var(--fg-dim); }
.q__proc::before, .q__proc::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-line), transparent); }

/* --- trajectory ----------------------------------------------------------- */
.traj { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.traj__c { padding: 26px; border-radius: var(--r-lg); min-height: 250px; display: flex; flex-direction: column; }
.traj__c--now { background: linear-gradient(160deg, var(--accent-soft), transparent 55%), var(--bg-elev); border-color: var(--accent-line); }
.traj__hd { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 22px; }
.traj__c--now .traj__hd { color: var(--accent-2); }
.traj__c h3 { font-size: 22px; }
.traj__bar { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); margin: 16px 0 10px; width: 72%; }
.traj__list { display: flex; flex-direction: column; gap: 9px; }
.traj__list li { list-style: none; display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--fg-muted); }
.traj__list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex: none; }
.traj__inf { font-size: 44px; line-height: 1; color: var(--accent-2); }

/* --- numbered model grid -------------------------------------------------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-elev); }
.model { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s; }
.model:hover { background: var(--bg-elev-2); }
.model:nth-child(3n) { border-right: 0; }
.model:nth-last-child(-n+3) { border-bottom: 0; }
.model__n { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); letter-spacing: .12em; }
.model h3 { font-size: 18px; margin-top: 16px; }
.model p { font-size: 13.5px; color: var(--fg-dim); margin-top: 9px; line-height: 1.55; }
.model__kind { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); padding: 3px 8px; border: 1px solid var(--accent-line); border-radius: 5px; background: var(--accent-soft); }

/* --- fit bars ------------------------------------------------------------- */
.fits { display: flex; flex-direction: column; gap: 14px; }
.fit { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 18px; }
.fit__n { font-size: 14.5px; color: var(--fg-muted); }
.fit__track { height: 6px; border-radius: 4px; background: var(--bg-elev-2); border: 1px solid var(--line); overflow: hidden; }
.fit__fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; transition: width 1.2s var(--ease); }
.fit__v { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); min-width: 44px; text-align: right; }
.fit__scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); margin-top: 8px; }

/* --- final CTA ------------------------------------------------------------ */
.finale { text-align: center; position: relative; overflow: hidden; }
.finale .lede { margin: 26px auto 0; }
.finale__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.finale__foot { margin-top: 26px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-dim); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding-block: 68px 40px; background: var(--bg-elev); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; }
.footer__about p { font-size: 13.5px; color: var(--fg-dim); margin-top: 16px; max-width: 34ch; line-height: 1.6; }
.footer__mail { display: inline-block; margin-top: 16px; font-size: 13.5px; color: var(--fg-muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.footer__mail:hover { color: var(--fg); }
.footer__soc { display: flex; gap: 9px; margin-top: 22px; }
.footer__soc a { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--fg-dim); transition: color .2s, border-color .2s; }
.footer__soc a:hover { color: var(--fg); border-color: var(--line-strong); }
.footer__soc svg { width: 15px; height: 15px; }
.footer h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); font-weight: 400; margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 13.5px; color: var(--fg-muted); transition: color .2s; }
.footer ul a:hover { color: var(--fg); }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg-dim); }
.footer__disc { max-width: 620px; line-height: 1.6; }

/* ==========================================================================
   Sub-page: page header
   ========================================================================== */
.phead { padding-block: 60px 46px; position: relative; overflow: hidden; }
.phead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.phead h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); letter-spacing: -0.04em; margin-top: 10px; }
.phead .lede { margin-top: 16px; }
.phead__stats { display: flex; gap: 34px; }
.phead__stat .v { font-family: var(--mono); font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 500; letter-spacing: -0.03em; }
.phead__stat .l { font-size: 12px; color: var(--fg-dim); margin-top: 3px; }

/* ==========================================================================
   Marketplace
   ========================================================================== */
.mk { display: grid; grid-template-columns: 268px 1fr; gap: 32px; align-items: start; padding-block: 40px 110px; }
.mk__side {
  position: sticky; top: calc(var(--nav-h) + 20px);
  display: flex; flex-direction: column; gap: 16px;
  max-height: calc(100vh - var(--nav-h) - 40px);
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
  padding-right: 4px;
}
.mk__side::-webkit-scrollbar { width: 6px; }
.mk__side::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.mk__side::-webkit-scrollbar-track { background: transparent; }

.field {
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-elev);
  transition: border-color .2s;
}
.field:focus-within { border-color: var(--line-strong); }
.field svg { width: 15px; height: 15px; color: var(--fg-dim); flex: none; }
.field input { flex: 1; font-size: 14px; outline: none; min-width: 0; }
.field input::placeholder { color: var(--fg-dim); }

.filters { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-elev); padding: 18px; }
.filters__hd { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.filters__hd svg { width: 15px; height: 15px; color: var(--fg-muted); }
.filters__hd button { margin-left: auto; font-size: 12px; color: var(--fg-dim); }
.filters__hd button:hover { color: var(--fg); }
.fgroup + .fgroup { margin-top: 22px; }
.fgroup__t { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 10px; }
.fopt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--fg-muted); text-align: left;
  transition: background-color .18s, color .18s;
}
.fopt:hover { background: var(--bg-elev-2); color: var(--fg); }
.fopt.is-on { background: var(--bg-elev-2); color: var(--fg); }
.fopt svg { width: 14px; height: 14px; flex: none; opacity: .75; }
.fopt .n { flex: 1; }
.fopt .c { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); }
.fopt .swatch { width: 7px; height: 7px; border-radius: 50%; flex: none; }

.mk__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.mk__count { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--fg-dim); }
.mk__count b { font-family: var(--mono); color: var(--fg); font-weight: 500; }
.mk__count svg { width: 15px; height: 15px; }
.select {
  height: 40px; padding: 0 34px 0 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-elev); font-size: 13.5px; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 14px;
}
.select:hover { border-color: var(--line-strong); }

.mk .projects { grid-template-columns: repeat(3, 1fr); }
.empty { border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 70px 24px; text-align: center; color: var(--fg-dim); }
.empty h3 { font-size: 17px; color: var(--fg); margin-bottom: 8px; }

.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips-row .chip { cursor: pointer; }
.chips-row .chip.is-on { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-2); }

/* ==========================================================================
   Map page
   ========================================================================== */
.mapwrap { display: grid; grid-template-columns: 268px 1fr; gap: 32px; align-items: start; padding-block: 40px 110px; }
.mapstage {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-elev); overflow: hidden;
}
.mapstage svg { width: 100%; height: auto; display: block; }
.map-dot-bg { fill: var(--line-strong); }
.map-outline { fill: none; stroke: var(--line-strong); stroke-width: 1.1; }
.map-mesh { fill: none; stroke: var(--line); stroke-width: .7; }
.marker { cursor: pointer; transition: r .18s var(--ease); }
.marker__halo { opacity: .18; }
.marker.is-dim { opacity: .16; }

.maptip {
  position: absolute; z-index: 5; pointer-events: none; opacity: 0;
  transform: translate(-50%, calc(-100% - 14px));
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px); box-shadow: var(--shadow);
  padding: 13px 15px; min-width: 214px;
  transition: opacity .15s;
}
.maptip.is-on { opacity: 1; }
.maptip h4 { font-size: 14px; letter-spacing: -0.02em; }
.maptip .loc { font-size: 12px; color: var(--fg-dim); margin-top: 2px; }
.maptip dl { display: grid; grid-template-columns: auto auto; gap: 5px 14px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; }
.maptip dt { color: var(--fg-dim); }
.maptip dd { text-align: right; }

.maplegend { display: flex; flex-wrap: wrap; gap: 18px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg-muted); }
.maplegend span { display: inline-flex; align-items: center; gap: 8px; }
.maplegend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.statelist { display: flex; flex-direction: column; gap: 2px; }
.staterow { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--fg-muted); }
.staterow:hover { background: var(--bg-elev-2); color: var(--fg); }
.staterow .n { flex: 1; }
.staterow .bar { width: 54px; height: 4px; border-radius: 3px; background: var(--bg-elev-2); overflow: hidden; }
.staterow .bar i { display: block; height: 100%; background: var(--accent); }
.staterow .c { font-family: var(--mono); font-size: 11.5px; color: var(--fg-dim); min-width: 20px; text-align: right; }

/* ==========================================================================
   Token page
   ========================================================================== */
.tokenhero { position: relative; overflow: hidden; text-align: center; padding-block: 108px 96px; }
.tokenhero .display { margin-top: 24px; }
.tokenhero .lede { margin: 24px auto 0; }
.tokenrings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: .5; }
.tokenrings i {
  position: absolute; border: 1px solid var(--line); border-radius: 50%;
  animation: ring 9s linear infinite;
}
@keyframes ring { 0% { transform: scale(.9); opacity: 0; } 22% { opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-elev); }
.step { padding: 28px 24px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step__n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; background: var(--bg-elev-2); border: 1px solid var(--line-strong); color: var(--accent-2); margin-bottom: 18px; }
.step h3 { font-size: 16.5px; }
.step p { font-size: 13.5px; color: var(--fg-dim); margin-top: 8px; line-height: 1.55; }

.specs { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-elev); }
.spec { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec:last-child { border-bottom: 0; }
.spec dt { color: var(--fg-dim); font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.spec dd { color: var(--fg); }

.faq { border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; gap: 18px; width: 100%; padding: 24px 4px; text-align: left; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.faq__q svg { width: 17px; height: 17px; color: var(--fg-dim); margin-left: auto; flex: none; transition: transform .25s var(--ease); }
.faq__i.is-open .faq__q svg { transform: rotate(45deg); color: var(--accent-2); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.faq__a p { padding: 0 4px 24px; color: var(--fg-muted); font-size: 14.5px; line-height: 1.65; max-width: 78ch; }

/* ==========================================================================
   Endorsements page
   ========================================================================== */
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.logo { padding: 28px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 16px; }
.logo:hover { transform: translateY(-3px); }
.logo__top { display: flex; align-items: center; gap: 13px; }
.logo__mk { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-weight: 700; font-size: 16px; letter-spacing: -0.04em; color: #fff; flex: none; }
.logo__n { font-size: 16.5px; font-weight: 600; letter-spacing: -0.025em; }
.logo__c { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim); margin-top: 2px; }
.logo p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.6; }
.logo__take { font-size: 13px; color: var(--fg-dim); padding-top: 14px; border-top: 1px solid var(--line); line-height: 1.55; }
.logo__take b { color: var(--accent-2); font-weight: 500; }

.quote { padding: 46px; border-radius: var(--r-xl); background: linear-gradient(150deg, var(--accent-soft), transparent 60%), var(--bg-elev); border: 1px solid var(--accent-line); }
.quote p { font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.32; }
.quote footer { margin-top: 24px; font-size: 13.5px; color: var(--fg-dim); font-family: var(--mono); letter-spacing: .06em; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1420px) {
  .nav__ctx, .nav__div { display: none; }
}
@media (max-width: 1280px) {
  .search { width: 150px; }
  .search span { display: none; }
}
@media (max-width: 1180px) {
  :root { --pad: 28px; }
  .projects, .mk .projects, .qs, .traj, .models, .logos { grid-template-columns: repeat(2, 1fr); }
  .model:nth-child(3n) { border-right: 1px solid var(--line); }
  .model:nth-child(2n) { border-right: 0; }
  .model:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .model:nth-last-child(-n+2) { border-bottom: 0; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero__orb { opacity: .55; right: -20%; }
  .globe__key { display: none; }
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .two { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .split__arrow { transform: rotate(90deg); margin-inline: auto; }
  .mk, .mapwrap { grid-template-columns: 1fr; }
  .mk__side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .spec { grid-template-columns: 1fr; gap: 6px; }
  .fit { grid-template-columns: 130px 1fr auto; gap: 12px; }
}

@media (max-width: 720px) {
  :root { --pad: 20px; }
  .section { padding-block: 82px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(4n) { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .projects, .mk .projects, .qs, .traj, .logos, .cats, .tiles, .steps { grid-template-columns: 1fr; }
  .models { grid-template-columns: 1fr; }
  .model { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .model:last-child { border-bottom: 0 !important; }
  .step { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .hero__orb { display: none; }
  .announce__txt { font-size: 12px; }
  #countdown { display: none; }
  .search span, .search kbd { display: none; }
  .search { min-width: 0; width: 38px; padding: 0; justify-content: center; }
  .nav .btn--primary { display: none; }
  .nav__inner { gap: 10px; }
  .announce svg { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .phead__stats { gap: 22px; }
  .quote { padding: 28px; }
  .trio { gap: 10px; }
}
