/* ============================================================
   Project Neev — Landing page
   Design system: warm editorial, single terracotta accent,
   serif display / sans body / mono metadata.
   Tokens reflect a 8px spacing scale; hairline borders over
   heavy shadows.
   ============================================================ */

:root {
  /* colour */
  --paper:      #FAF8F3;
  --paper-2:    #F4EFE6;
  --paper-3:    #EFE9DD;
  --card:       #FDFBF6;
  --ink:        #1B1813;
  --ink-2:      #4F4A41;
  --ink-3:      #857E72;
  --brick:      #C14B24;
  --brick-deep: #9C3A17;
  --brick-soft: #E8915F;
  --ink-bg:     #1C1915;
  --ink-bg-2:   #26221D;
  --line:       rgba(27, 24, 19, 0.14);
  --line-soft:  rgba(27, 24, 19, 0.08);
  --line-dark:  rgba(244, 238, 229, 0.14);
  --line-dark-s:rgba(244, 238, 229, 0.08);

  /* type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* layout */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --pad-sec: clamp(4.5rem, 9vw, 7.5rem);
  --r: 6px;
  --r-lg: 12px;

  /* misc */
  --shadow-soft: 0 1px 2px rgba(27, 24, 19, 0.04), 0 24px 48px -36px rgba(27, 24, 19, 0.28);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }

h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--brick); color: var(--paper); }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 300;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; font-size: 0.85rem; font-weight: 600;
  border-radius: 0 0 var(--r) var(--r);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: var(--paper); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { scroll-margin-top: 84px; }

/* reveal (only when JS active) */
html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--rd, 0ms);
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- type helpers ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick-deep);
  margin-bottom: 18px;
}

.sec-title {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sec-title em { font-style: italic; color: var(--brick-deep); }

.sec-lead {
  max-width: 56ch;
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.sec-note { margin-top: 12px; font-size: 0.95rem; max-width: 46ch; color: var(--ink-2); line-height: 1.75; }

.sec-head { max-width: 720px; margin-bottom: clamp(2.8rem, 6vw, 4.5rem); }
.sec-head.row-end {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.section { padding-block: var(--pad-sec); }

/* band = warm tinted section */
.band { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.dark {
  background: var(--ink-bg);
  color: var(--paper-2);
}
.dark .eyebrow { color: var(--brick-soft); }
.dark .sec-title { color: var(--paper-2); }
.dark .sec-title em { color: var(--brick-soft); }
.dark .sec-note,
.dark .sec-lead { color: rgba(244, 238, 229, 0.68); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.78rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn .ic { width: 17px; height: 17px; flex: none; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }

.btn-primary { background: var(--brick); color: #FFF9F2; }
.btn-primary:hover { background: var(--brick-deep); }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }

.btn-ghost-light { border-color: var(--line-dark); color: var(--paper-2); background: transparent; }
.btn-ghost-light:hover { border-color: var(--paper-2); background: rgba(244, 238, 229, 0.06); }

.btn-sm .ic { width: 15px; height: 15px; }

.ic { stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.hide-sm { display: inline; }

/* ---------- header / nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250, 248, 243, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line-soft);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark rect { fill: var(--brick); }
.brand-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--brick-deep); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(130px, 15vh, 176px);
  padding-bottom: 56px;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(2.7rem, 6.2vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  font-weight: 360;
  color: var(--brick-deep);
}

.hero-sub {
  max-width: 56ch;
  margin-top: 26px;
  font-size: 1.07rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-meta {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero-meta dt {
  font-family: var(--mono);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-meta dd {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.5;
}

/* hero figure */

.hero-fig { position: relative; }

.plan-frame {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 10px;
  box-shadow: var(--shadow-soft);
}

.neev-shot { width: 100%; height: auto; display: block; border-radius: calc(var(--r-lg) - 5px); }

.fig-cap {
  margin-top: 14px;
  max-width: 56ch;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--ink-3);
}

/* product screenshot frame */
.shot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
}
.shot-bar > span:not(.shot-title) { width: 10px; height: 10px; border-radius: 50%; background: rgba(27, 24, 19, 0.14); }
.shot-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot-img { width: 100%; height: auto; display: block; background: #fff; }

/* tech strip */

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.tech-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ts-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }

/* ---------- pipeline ---------- */

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pipeline li {
  position: relative;
  padding: 26px 30px 30px 0;
  margin-right: 30px;
  border-left: 1px solid var(--line-soft);
  padding-left: 26px;
}
.pipeline li::after {
  content: "";
  position: absolute;
  left: -4.5px; top: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.p-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.p-icon { display: block; margin-bottom: 16px; }
.p-icon svg { width: 22px; height: 22px; stroke: var(--brick); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pipeline h3 { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; margin-bottom: 10px; }
.pipeline p { font-size: 0.86rem; line-height: 1.65; color: var(--ink-2); }
.pipeline code {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

/* ---------- stats ---------- */

.stats { border-block: 1px solid var(--line-soft); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  display: grid;
  gap: 14px;
  padding: 44px 40px 44px 0;
  border-left: 1px solid var(--line-soft);
  padding-left: 36px;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.stat-lab {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink-3);
}

/* ---------- features ---------- */

.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(44px, 7vw, 72px);
}
.feat + .feat { border-top: 1px solid var(--line-soft); }
.feat-rev .feat-copy { order: 2; }

.kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.feat h3 {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.feat h3 em { font-style: italic; color: var(--brick-deep); }
.feat-copy > p {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 54ch;
}

.spec-list { margin-top: 30px; display: grid; gap: 13px; }
.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink);
}
.spec-list svg { width: 17px; height: 17px; flex: none; margin-top: 2px; stroke: var(--brick); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- datasheet ---------- */

.sheet { border-top: 1px solid var(--line); }
.sheet-row {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 40px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
.sheet-row dt {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
}
.sheet-row dt svg { width: 18px; height: 18px; flex: none; stroke: var(--brick); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sheet-row dd { font-size: 0.94rem; line-height: 1.7; color: var(--ink-2); max-width: 58ch; }
.sheet-row code {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ---------- steps ---------- */

.steps { max-width: 880px; }
.steps li {
  display: grid;
  grid-template-columns: 90px 1fr;
  column-gap: 36px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
}
.step-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--brick-deep);
  padding-top: 4px;
}
.steps h3 { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; margin-bottom: 8px; grid-column: 2; }
.steps p { grid-column: 2; font-size: 0.95rem; line-height: 1.7; color: var(--ink-2); max-width: 60ch; }

/* ---------- cities ---------- */

.cities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 36px;
  border-top: 1px solid var(--line);
}
.cities span {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

.city-foot {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.city-foot > p { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.03em; color: var(--ink-3); }
.multis { display: flex; gap: 10px; flex-wrap: wrap; }
.multis span {
  font-family: var(--mono);
  font-size: 0.74rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--card);
  color: var(--ink-2);
}

/* ---------- developers / api ---------- */

.dev-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.code-frame {
  background: var(--ink-bg-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-dark-s);
}
.code-bar > span:not(.code-name) { width: 10px; height: 10px; border-radius: 50%; background: rgba(244, 238, 229, 0.18); }
.code-name { margin-left: 8px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: rgba(244, 238, 229, 0.5); }
.code-frame pre {
  margin: 0;
  padding: 24px 22px 28px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(244, 238, 229, 0.88);
  tab-size: 2;
}
.c-com { color: rgba(244, 238, 229, 0.4); font-style: italic; }
.c-s { color: #E7C693; }
.c-p { color: #E8915F; }

.endpoints { padding: 6px 0 0 4px; }
.ep-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 238, 229, 0.5);
  margin-bottom: 8px;
}
.endpoints li {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark-s);
}
.endpoints li code {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--brick-soft);
}
.endpoints li > span { font-family: var(--mono); font-size: 0.82rem; color: var(--paper-2); }
.ep-desc { font-size: 0.72rem !important; color: rgba(244, 238, 229, 0.48) !important; }
.ep-foot { margin-top: 22px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em; color: rgba(244, 238, 229, 0.5); }
.ep-foot code { font-size: 0.72rem; color: var(--brick-soft); }

/* ---------- roadmap ---------- */

.road-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
}
.road-col { border-top: 1px solid var(--line); padding-top: 26px; }
.road-h {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick-deep);
  margin-bottom: 10px;
}
.road-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
  color: var(--ink);
}
.road-list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; stroke: var(--brick); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.road-list li.todo { color: var(--ink-3); }
.road-list li.todo::before {
  content: "";
  width: 16px; height: 16px;
  flex: none;
  margin-top: 3px;
  border: 1px solid var(--line);
  border-radius: 2px;
}

/* ---------- cta ---------- */

.cta { padding-block: clamp(84px, 14vw, 140px); text-align: center; }
.cta-inner { display: grid; justify-items: center; }
.cta .eyebrow::before { display: none; }
.cta-title {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--paper-2);
}
.cta-title em { font-style: italic; font-weight: 360; color: var(--brick-soft); }
.cta-sub { margin-top: 28px; max-width: 48ch; font-size: 1.1rem; line-height: 1.7; color: rgba(244, 238, 229, 0.72); }
.cta-btns { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta .eyebrow { color: rgba(244, 238, 229, 0.5); }

/* ---------- footer ---------- */

.site-footer { padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .brand-word { color: var(--paper-2); }
.footer-brand p { margin-top: 18px; max-width: 36ch; font-size: 0.9rem; line-height: 1.7; color: rgba(244, 238, 229, 0.62); }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 238, 229, 0.5);
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 0.9rem; color: rgba(244, 238, 229, 0.78); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--brick-soft); }
.footer-col li:not(:has(a)) { font-size: 0.9rem; color: rgba(244, 238, 229, 0.78); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 26px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(244, 238, 229, 0.45);
}
.footer-fine { font-style: italic; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .sec-head.row-end { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .sec-note { max-width: 56ch; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-fig { max-width: 640px; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .feat, .feat-rev { grid-template-columns: 1fr; gap: 40px; }
  .feat-rev .feat-copy { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .dev-grid { grid-template-columns: 1fr; }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .road-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 71px; left: 0; right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 16px;
    background: rgba(250, 248, 243, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { display: block; padding: 13px 4px; font-size: 0.78rem; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: flex; }
  .hide-sm { display: none; }
  .brand-tag { display: none; }

  .hero-meta { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .tech-strip { gap: 12px 22px; }

  .steps li { grid-template-columns: 60px 1fr; column-gap: 18px; }

  .city-foot { flex-direction: column; align-items: flex-start; }
  .sheet-row { grid-template-columns: 1fr; gap: 8px; }
  .endpoints li { grid-template-columns: 52px 1fr; }
  .ep-desc { display: none; }
  .main-footnote { display: none; }
}

@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none; padding-left: 0; }
  .cities { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}