/* ═══════════════════════════════════════
   NULLBERRY — Apple-inspired Design
   ═══════════════════════════════════════ */
:root {
  --bg: #000000;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --accent: #4ade80;
  --accent-dim: #22c55e;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --warning: #f59e0b;
  --info: #60a5fa;
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--bg); }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 500; }

p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* LAYOUT */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.container.narrow, .narrow {
  max-width: 720px;
}

section {
  padding: clamp(6rem, 15vh, 12rem) 0;
  position: relative;
}

/* ═══════════════════════════════════════
   NAV
   ═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  transition: all 0.5s var(--ease);
  transform: translateY(-100%);
  opacity: 0;
}

.nav.visible {
  transform: translateY(0);
  opacity: 1;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo img {
  display: block;
}

.nav-logo-img {
  height: 45px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  letter-spacing: 0;
}

.nav-links a:hover { color: var(--text); opacity: 1; }

.nav-links .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 980px;
  font-weight: 500;
  font-size: 0.75rem;
  transition: background 0.3s;
}

.nav-links .nav-cta:hover { background: var(--accent-dim); opacity: 1; color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-splash {
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroFade 1.2s var(--ease-out) 0.1s forwards;
}

.splash-img {
  width: clamp(360px, 55vw, 700px);
  height: auto;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: heroFade 1s var(--ease-out) 0.4s forwards;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: heroFade 1s var(--ease-out) 0.6s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: heroFade 1s var(--ease-out) 1.2s forwards;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-tertiary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════
   SECTION COMPONENTS
   ═══════════════════════════════════════ */
.overline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.section-headline {
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.section-headline.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 3.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.section-sub.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* INTRO */
#intro {
  padding: clamp(4rem, 10vh, 8rem) 0;
  border-bottom: 1px solid var(--border);
}

.statement {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.statement-sub {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* PROBLEM */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.two-col p {
  font-size: 1rem;
  line-height: 1.8;
}

.accent-statement {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 1rem;
}

/* PRODUCT */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  margin: 3rem 0;
}

.device-visual {
  display: flex;
  justify-content: center;
}

.device-mockup {
  width: 240px;
  aspect-ratio: 9/18;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.device-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
}

.device-screen-inner {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

.device-os-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.device-os-status { display: block; margin-bottom: 0.25rem; }
.device-os-ready { display: block; color: var(--accent); font-weight: 500; }

.specs-list {
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1.5rem;
}

.spec-key {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  flex-shrink: 0;
  font-weight: 300;
}

.spec-val {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text);
  text-align: right;
  font-weight: 400;
}

/* PRICING */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.price-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.price-tile:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.price-tile.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(74,222,128,0.04) 0%, var(--surface) 100%);
}

.price-name {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.price-desc {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.callout {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  border-left: 2px solid var(--accent);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
}

.callout p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* TRANSPORT LAYERS */
.layers-stack {
  display: flex;
  flex-direction: column;
  margin: 3rem 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.layer-row {
  display: grid;
  grid-template-columns: 2.5rem 1.25rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.layer-icon {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  opacity: 0.6;
  flex-shrink: 0;
}

.layer-row:last-child { border-bottom: none; }
.layer-row:hover { background: var(--surface); }

.layer-n {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 50%;
}

.layer-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.layer-body strong {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.layer-note {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-weight: 300;
}

.layer-dist {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  white-space: nowrap;
  font-weight: 500;
}

/* FAILOVER */
.failover-block { margin-top: 3.5rem; }
.failover-block h3 { margin-bottom: 1.5rem; }

.failover-step {
  display: grid;
  grid-template-columns: 1.25rem 1fr auto 1.5fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.fail-icon {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  opacity: 0.5;
}

.fail-trigger {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.fail-arrow {
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

.fail-response {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.patents-line {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* NODES / BUSH */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 3rem 0;
}

.node-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.node-tile:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.node-tile.root {
  grid-column: 1 / -1;
  border-color: rgba(74,222,128,0.2);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(74,222,128,0.03) 100%);
}

.node-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.node-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: inherit;
  opacity: 0.5;
}

.node-top .node-cost,
.node-top .node-cost-sub {
  margin-left: auto;
}

.node-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: inherit;
}

.node-cost {
  font-size: 1.5rem;
  font-weight: 700;
  color: inherit;
  letter-spacing: -0.02em;
}

.node-cost-sub {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.node-tile p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.node-tags span {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  background: rgba(255,255,255,0.04);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-weight: 500;
}

.bush-tagline {
  text-align: center;
  margin-top: 3rem;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.9;
  font-style: italic;
}

.bush-tagline span {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

/* OS FEATURES */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 3rem 0;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.feature-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.feature-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h4 { margin-bottom: 0.5rem; }

.feature-card p {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  font-weight: 300;
}

/* OS DEMO */
.os-demo-section {
  margin: 4rem 0;
  text-align: center;
}

.os-demo-section h3 {
  margin-bottom: 0.5rem;
}

.os-demo-hint {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
  font-weight: 300;
}

#os-demo-root {
  display: flex;
  justify-content: center;
}

/* OP MODES */
.modes-block { margin-top: 3.5rem; }
.modes-block h3 { margin-bottom: 1.5rem; }

.mode-row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.mode-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.mode-detail {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* OPEN SOURCE */
.principles {
  list-style: none;
  margin: 3rem 0;
  counter-reset: p;
}

.principles li {
  counter-increment: p;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.principles li::before {
  content: counter(p);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  padding-top: 0.1rem;
}

.published { margin-top: 2.5rem; }
.published h3 { margin-bottom: 1.25rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag {
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: var(--surface);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 500;
}

/* METRICS */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 3rem 0;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.metric-val {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.metric-lbl {
  display: block;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.metric p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ROADMAP */
.timeline {
  margin: 3rem 0;
  position: relative;
  padding-left: 3.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.15rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.tl-item {
  position: relative;
  padding: 1.5rem 0;
}

.tl-marker {
  position: absolute;
  left: -3.5rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-weight: 600;
  z-index: 2;
}

.tl-item.active .tl-marker {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(74,222,128,0.15);
}

.tl-date {
  display: block;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.tl-content h4 { margin-bottom: 0.35rem; }

.tl-content p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* WAITLIST */
#waitlist { text-align: center; }

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 2rem auto;
  justify-content: center;
}

.waitlist-form input {
  flex: 1;
  font-family: var(--font);
  font-size: 0.85rem;
  padding: 0.85rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}

.waitlist-form input:focus { border-color: var(--accent); }
.waitlist-form input::placeholder { color: var(--text-tertiary); }

.waitlist-form button {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}

.waitlist-form button:hover { background: var(--accent-dim); transform: scale(1.02); }

.social-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-links a {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-weight: 400;
  transition: color 0.3s;
}

.social-links a:hover { color: var(--text); opacity: 1; }

/* FOOTER */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  opacity: 0.4;
}

.footer-main {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
}

.footer-legal {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  opacity: 0.6;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pricing-row { grid-template-columns: 1fr; }
  .nodes-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .failover-step { grid-template-columns: 1fr; gap: 0.25rem; }
  .fail-arrow { display: none; }
  .fail-icon { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .layer-row {
    grid-template-columns: 2rem 1.25rem 1fr;
    gap: 0.75rem;
  }

  .layer-dist {
    grid-column: 2;
    margin-top: -0.25rem;
  }

  .mode-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .waitlist-form { flex-direction: column; }
  .social-links { flex-direction: column; gap: 1rem; }
}

@media (max-width: 480px) {
  section { padding: clamp(4rem, 10vh, 6rem) 0; }
  .hero-title { font-size: 2.2rem; }
  .node-top { flex-direction: column; gap: 0.25rem; }
}
