/* PoleDancer marketing site — dark-first, matches the console's palette.
   Tokens first; everything derives from them. */

:root {
  --bg: #0b111c;
  --bg-raise: #0e1522;
  --surface: #121a29;
  --surface-2: #172136;
  --line: #233049;
  --line-soft: #1a2438;
  --text: #e8edf6;
  --text-mute: #94a3ba;
  --text-dim: #64748d;
  --accent: #5598e7;
  --accent-strong: #7db4f5;
  --success: #3fb950;
  --warning: #d29922;
  --error: #f36a5a;
  --radius: 10px;
  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none !important; transform: none !important; opacity: 1 !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }
.mono { font-family: var(--font-mono); font-size: 0.92em; }

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

h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
}
h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 21em;
}
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.005em; }

p { margin: 0; }

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

.section-lead {
  color: var(--text-mute);
  max-width: 62ch;
  margin-top: 16px;
  font-size: 1.05rem;
}

.section-footnote {
  color: var(--text-dim);
  font-size: 0.88rem;
  max-width: 68ch;
  margin-top: 28px;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark { width: 26px; height: 26px; color: var(--accent); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 8px;
}
.nav-links a {
  color: var(--text-mute);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav-burger span { width: 18px; height: 2px; background: var(--text); display: block; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #08101d; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-strong); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--accent); color: var(--accent-strong); }
.btn:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }

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

.hero {
  position: relative;
  padding: 92px 0 72px;
  overflow: hidden;
}
.hero::before {
  /* faint engineering grid, echoes the console basemap */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, black 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.hero-sub {
  color: var(--text-mute);
  font-size: 1.08rem;
  max-width: 54ch;
  margin-top: 22px;
}
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 44px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.hero-stats dd { margin: 6px 0 0; font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}
.shot-primary { box-shadow: 0 0 0 1px rgba(85, 152, 231, 0.08), 0 32px 80px -28px rgba(0, 0, 0, 0.8); }
.shot-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: right;
}

/* ---------- run line divider ---------- */

.runline { color: var(--line); height: 40px; }
.runline svg { width: 100%; height: 100%; display: block; }

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section-alt { background: var(--bg-raise); border-block: 1px solid var(--line-soft); }

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 48px;
  align-items: center;
  margin-top: 56px;
}
.product-feature-reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); margin-top: 72px; }
.shot-tall { max-width: 480px; justify-self: center; }
.product-feature-copy h3 { font-size: 1.35rem; }
.product-feature-copy p { color: var(--text-mute); margin-top: 14px; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  padding-left: 26px;
  position: relative;
  color: var(--text-mute);
  font-size: 0.95rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-48deg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card p { color: var(--text-mute); font-size: 0.92rem; margin-top: 10px; }
.card h3 { margin-top: 14px; }

.card-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.card-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-blue { color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.icon-amber { color: var(--warning); background: color-mix(in srgb, var(--warning) 9%, transparent); }
.icon-red { color: var(--error); background: color-mix(in srgb, var(--error) 9%, transparent); }
.icon-grey { color: var(--text-mute); background: color-mix(in srgb, var(--text-dim) 12%, transparent); }

.tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--warning);
  border: 1px solid color-mix(in srgb, var(--warning) 45%, transparent);
  border-radius: 99px;
  padding: 2px 8px;
  vertical-align: 2px;
  margin-left: 6px;
  white-space: nowrap;
}

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

.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 56px;
}
.pipe-node {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.pipe-node p { color: var(--text-mute); font-size: 0.88rem; margin-top: 8px; }
.pipe-node h3 { margin-top: 10px; font-size: 1.02rem; }
.pipe-num { color: var(--accent); font-size: 0.78rem; letter-spacing: 0.1em; }
.pipe-link {
  display: flex;
  align-items: center;
  padding: 0 6px;
  position: relative;
}
.pipe-link .mono {
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  background: var(--bg-raise);
  position: relative;
  z-index: 1;
  padding: 2px 4px;
}
.pipe-link::before {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 50%;
  border-top: 1px dashed var(--line);
}

/* ---------- mesh diagram ---------- */

.mesh-figure { margin: 56px 0 8px; }
.mesh-diagram { width: 100%; height: auto; display: block; }
.mesh-caption { text-align: center; }
.mesh-ground { stroke: var(--line); stroke-width: 1.5; }
.mesh-wire { stroke: var(--text-dim); stroke-width: 1.2; fill: none; opacity: 0.7; }
.mesh-pole line { stroke: var(--text-mute); stroke-width: 3.4; stroke-linecap: round; }
.mesh-node rect {
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: color-mix(in srgb, var(--accent) 14%, transparent);
}
.mesh-node-x rect {
  stroke: var(--accent-strong);
  stroke-width: 2;
  fill: color-mix(in srgb, var(--accent) 26%, transparent);
}
.mesh-node-x line, .mesh-node-x path { stroke: var(--accent-strong); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.mesh-link {
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: none;
  stroke-dasharray: 3 7;
  stroke-linecap: round;
  opacity: 0.9;
}
.mesh-uplink {
  stroke: var(--accent-strong);
  stroke-width: 1.8;
  fill: none;
  stroke-dasharray: 4 8;
  stroke-linecap: round;
}
@keyframes mesh-flow-r { to { stroke-dashoffset: -60; } }
@keyframes mesh-flow-l { to { stroke-dashoffset: 60; } }
.mesh-flow-r { animation: mesh-flow-r 4.5s linear infinite; }
.mesh-flow-l { animation: mesh-flow-l 4.5s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .mesh-flow-r, .mesh-flow-l { animation: none; }
}
.mesh-cloud path {
  stroke: var(--accent);
  stroke-width: 1.8;
  fill: color-mix(in srgb, var(--accent) 8%, transparent);
  stroke-linejoin: round;
}
.mesh-label {
  fill: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.mesh-label-x { fill: var(--accent-strong); }
.mesh-label-mono {
  fill: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

/* ---------- hardware node cards ---------- */

.node-cards {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.node-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.node-card-x { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.node-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.node-head h3 { font-size: 1.05rem; letter-spacing: 0.04em; color: var(--accent-strong); }
.node-role {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 2px 9px;
}
.node-card > p { color: var(--text-mute); font-size: 0.92rem; }
.node-card .checklist { margin-top: 14px; }
.node-card .checklist li { font-size: 0.88rem; }

/* ---------- storm band (outage detection) ---------- */

.storm-band {
  position: relative;
  padding: 120px 0;
  background-color: var(--bg-raise);
  background-image:
    linear-gradient(100deg,
      color-mix(in srgb, var(--bg) 96%, transparent) 0%,
      color-mix(in srgb, var(--bg) 88%, transparent) 46%,
      color-mix(in srgb, var(--bg) 45%, transparent) 100%),
    url('/assets/img/storm-sky.jpg');
  background-size: cover;
  background-position: center 30%;
  border-block: 1px solid var(--line-soft);
}
.storm-copy { max-width: 560px; }
.storm-copy p { color: var(--text-mute); margin-top: 16px; font-size: 1.05rem; }

/* ---------- field band (photos) ---------- */

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}

/* ---------- lean trend chart + install diagram ---------- */

.chart-panel {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 16px;
}
.lean-chart { width: 100%; height: auto; display: block; }
.chart-note { text-align: center; padding-bottom: 6px; }
.band-caution { fill: color-mix(in srgb, var(--warning) 7%, transparent); }
.band-critical { fill: color-mix(in srgb, var(--error) 7%, transparent); }
.chart-grid line { stroke: var(--line-soft); stroke-width: 1; }
.thresh { stroke-width: 1.2; stroke-dasharray: 5 5; }
.thresh-caution { stroke: color-mix(in srgb, var(--warning) 65%, transparent); }
.thresh-critical { stroke: color-mix(in srgb, var(--error) 65%, transparent); }
.chart-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; }
.tag-caution { fill: var(--warning); }
.tag-critical { fill: var(--error); }
.tag-trend { fill: var(--text-mute); }
.chart-tick text { font-family: var(--font-mono); font-size: 10.5px; fill: var(--text-dim); }
.chart-trend { stroke: var(--text-dim); stroke-width: 1.2; stroke-dasharray: 2 5; }
.chart-series { stroke: var(--accent); stroke-width: 2.2; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.chart-end { fill: var(--accent-strong); stroke: var(--surface); stroke-width: 2.5; }

.install-diagram { margin: 0; }
.install-diagram svg { width: 100%; height: auto; display: block; }
.install-diagram .shot-note { text-align: center; }

/* ---------- photo bands + photos (grade is baked into the files) ---------- */

.photo-band {
  position: relative;
  height: clamp(300px, 38vw, 440px);
  background-size: cover;
  background-position: center;
  border-block: 1px solid var(--line-soft);
}
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--bg) 72%, transparent) 0%,
    color-mix(in srgb, var(--bg) 30%, transparent) 45%,
    transparent 75%);
}
.photo-band-dawn { background-image: url('/assets/img/band-dawn.jpg'); }
.photo-band-fog { background-image: url('/assets/img/band-fog.jpg'); background-position: center 35%; }
.photo-band-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.photo-band-line {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  text-shadow: 0 2px 18px rgba(4, 8, 16, 0.8);
}

.photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.photo img { display: block; width: 100%; height: auto; }
.photo .shot-note { padding: 0 4px 10px 0; }
.photo-crew img { aspect-ratio: 16 / 10.5; object-fit: cover; }

.install-diagram-endnote {
  max-width: 440px;
  margin: 64px auto 0;
  opacity: 0.9;
}

/* ---------- volume price breaks ---------- */

.volume-panel {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 40px;
  align-items: center;
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.volume-head h3 { font-size: 1.12rem; }
.volume-head p { color: var(--text-mute); font-size: 0.9rem; margin-top: 10px; }
.volume-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
}
.volume-table th, .volume-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.volume-table thead th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 500;
}
.volume-table tbody tr:last-child td { border-bottom: none; }
.volume-table td { color: var(--text-mute); }
.volume-table td:first-child { color: var(--text); }
.volume-table td:not(:first-child) { color: var(--success); font-weight: 600; }
.volume-table tbody tr:first-child td:not(:first-child) { color: var(--text-mute); font-weight: 400; }

/* ---------- hardware ---------- */

.hardware-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
.hardware-diagram { margin: 0; }
.hardware-diagram svg { width: 100%; height: auto; }
.dwg, .dwg-heavy, .dwg-thin, .dwg-dash, .dwg-hatch line { stroke: var(--text-mute); fill: none; }
.dwg { stroke-width: 1.5; }
.dwg-heavy { stroke-width: 4; stroke-linecap: round; }
.dwg-thin { stroke-width: 1; stroke: var(--text-dim); fill: none; }
.dwg-hatch line { stroke-width: 1; stroke: var(--text-dim); }
.dwg-dash { stroke-width: 1; stroke: var(--text-dim); stroke-dasharray: 4 6; }
.dwg-warn { stroke: var(--warning); stroke-width: 1.6; fill: none; }
.dwg-unit { stroke: var(--accent); stroke-width: 1.8; fill: color-mix(in srgb, var(--accent) 10%, transparent); }
.dwg-panel rect, .dwg-panel line { stroke: var(--accent); stroke-width: 1.3; fill: none; }
.dwg-panel rect { fill: color-mix(in srgb, var(--accent) 14%, transparent); }
.dwg-label { fill: var(--text-mute); font-size: 12.5px; }


/* ---------- pricing ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}
.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.tier-featured {
  background: var(--surface-2);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  position: relative;
}
.tier-flag {
  position: absolute;
  top: -11px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #08101d;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 500;
}
.tier h3 { font-size: 1.2rem; }
.tier-tagline { color: var(--text-dim); font-size: 0.88rem; margin-top: 4px; }
.tier-price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.tier-price .amount {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.tier-price .per { color: var(--text-dim); font-size: 0.9rem; }
.tier-hw {
  margin-top: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-mute);
  font-size: 0.88rem;
}
.tier-hw strong { color: var(--text); font-weight: 600; }
.tier .checklist { margin: 20px 0 26px; flex: 1; }
.tier .checklist li { font-size: 0.9rem; }

/* ---------- FAQ ---------- */

.faq {
  border-bottom: 1px solid var(--line-soft);
  padding: 6px 0;
}
.faq:first-of-type { border-top: 1px solid var(--line-soft); margin-top: 40px; }
.faq summary {
  cursor: pointer;
  padding: 16px 34px 16px 0;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 1.2rem;
  transition: transform 0.15s ease;
}
.faq[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; border-radius: 4px; }
.faq p { color: var(--text-mute); padding: 0 0 20px; max-width: 66ch; }

/* ---------- CTA band ---------- */

.cta-band {
  background-image:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 88%, transparent),
      color-mix(in srgb, var(--bg) 62%, transparent)),
    url('/assets/img/band-dusk.jpg');
  background-size: cover;
  background-position: center 60%;
  border-top: 1px solid var(--line-soft);
  padding: 110px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner p { color: var(--text-mute); margin-top: 10px; max-width: 44ch; }

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

.footer { border-top: 1px solid var(--line-soft); padding: 48px 0 32px; background: var(--bg); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; margin-top: 8px; max-width: 34ch; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: start; }
.footer-links a { color: var(--text-mute); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--text); }
.footer-legal { margin-top: 36px; }
.footer-legal p { color: var(--text-dim); font-size: 0.8rem; }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 64px; }
  .hero-sub { max-width: 60ch; }
  .product-feature, .product-feature-reverse { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; gap: 40px; }
  .volume-panel { grid-template-columns: 1fr; gap: 20px; }
  .storm-band { padding: 84px 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pipe-link { display: none; }
  .hardware-grid { grid-template-columns: 1fr; gap: 44px; }
  .tiers { grid-template-columns: 1fr; max-width: 460px; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav.nav-open .nav-inner { flex-wrap: wrap; height: auto; padding-bottom: 20px; }
  .nav.nav-open .brand { order: 0; height: 64px; display: flex; align-items: center; }
  .nav.nav-open .nav-burger { order: 1; align-self: center; }
  .nav.nav-open .nav-links {
    order: 2;
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    gap: 16px;
    margin: 6px 0 4px;
  }
  .nav.nav-open .nav-cta { order: 3; }
  .nav.nav-open .nav-links a { font-size: 1rem; }
  .nav.nav-open .nav-cta { display: flex; flex-basis: 100%; margin-left: 0; margin-top: 10px; }
  .nav.nav-open .nav-cta .btn { flex: 1; }
  .cards { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 0; }
}
