/* ------------------------------------------------------------------
   Perch — landing page
   Brand: "the wire at dawn" — warm ink, honey gold, a whisper of
   Stacks purple. Sats land on the wire and stay.
   ------------------------------------------------------------------ */

:root {
  --bg: #0B0908;
  --bg-raise: #0F0C0A;
  --surface: #15110D;
  --surface-2: #1C1712;
  --line: #2A231B;
  --line-soft: #211B14;

  --text: #F4EDE3;
  --muted: #A79A88;
  --dim: #7D7261;

  --gold: #F2A33C;
  --gold-deep: #F7931A;
  --gold-soft: rgba(242, 163, 60, 0.14);
  --stx: #8D8AF8;
  --wire: #8A7A63;

  --grad-gold: linear-gradient(120deg, #FFC46B, #F7931A);

  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --radius: 20px;
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #1A1206; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

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

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.dim { color: var(--dim); }
.mono { font-family: var(--font-mono); font-size: 0.92em; }

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

h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }

h1 { font-size: clamp(2.7rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
h3 { font-size: 1.12rem; letter-spacing: -0.015em; line-height: 1.3; }

h1 em, h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lede { font-size: 1.13rem; color: var(--muted); max-width: 34em; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 9, 8, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

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

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 27px; }
.brand-word {
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn.primary {
  background: var(--grad-gold);
  color: #1A1206;
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(247, 147, 26, 0.35);
}

.btn.ghost {
  border-color: var(--line);
  color: var(--text);
}
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn.small { padding: 9px 18px; font-size: 0.88rem; }
.btn.big { padding: 16px 32px; font-size: 1.05rem; }

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

.hero {
  position: relative;
  padding: 96px 0 0;
  background:
    radial-gradient(52% 44% at 78% 8%, rgba(85, 70, 255, 0.09), transparent 70%),
    radial-gradient(60% 46% at 50% 108%, rgba(247, 147, 26, 0.13), transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 48px;
  align-items: center;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero .lede { margin-top: 22px; }

.microproof {
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--dim);
  letter-spacing: 0.01em;
}

/* the phone */

.hero-visual { position: relative; display: flex; justify-content: center; padding: 12px 0 44px; }

.orb {
  position: absolute;
  inset: auto;
  top: 8%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.16), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}

.phone {
  position: relative;
  width: 318px;
  padding: 10px;
  background: #17120E;
  border: 1px solid #2E2620;
  border-radius: 56px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
}

.screen {
  position: relative;
  background: linear-gradient(180deg, #0E0B09, #0B0908);
  border-radius: 46px;
  padding: 14px 16px 12px;
  overflow: hidden;
}

.island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  border-radius: 999px;
  background: #000;
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 650;
  padding: 2px 8px 0;
  min-height: 30px;
}

.battery {
  position: relative;
  width: 22px;
  height: 11px;
  border: 1px solid rgba(244, 237, 227, 0.5);
  border-radius: 3.5px;
}
.battery i {
  position: absolute;
  inset: 2px 28% 2px 2px;
  background: rgba(244, 237, 227, 0.92);
  border-radius: 1.5px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.addr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  font-family: var(--font-mono);
}
.addr-chip .chev { color: var(--dim); font-size: 0.7rem; }
.bell { color: var(--muted); }

.cycle-card { text-align: center; padding: 16px 0 6px; }

.ring { width: 152px; margin: 0 auto; }
.ring text { font-family: var(--font-ui); }
.ring-track,
.ring-fill {
  fill: none;
  stroke-width: 9;
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
}
.ring-track { stroke: #2B241C; }
.ring-fill {
  stroke: url(#goldGrad);
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  animation: ringIn 1.5s cubic-bezier(0.3, 0.8, 0.3, 1) 0.4s forwards;
}
@keyframes ringIn { to { stroke-dashoffset: 91.5; } }

.ring-big {
  font-size: 23px;
  font-weight: 800;
  fill: var(--text);
  text-anchor: middle;
  letter-spacing: -0.02em;
}
.ring-small {
  font-size: 9.5px;
  font-weight: 600;
  fill: var(--muted);
  text-anchor: middle;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cycle-eta { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.cycle-projected {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 10px;
}
.cycle-projected strong {
  color: var(--gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tile-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.tile {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tile-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.tile-num {
  font-size: 0.98rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tile-num i, .lifetime-num i { font-style: normal; font-size: 0.72rem; font-weight: 600; color: var(--muted); }

.lifetime {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 11px 13px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}
.lifetime-num { font-size: 1rem; font-weight: 750; font-variant-numeric: tabular-nums; }

.payouts { margin-top: 14px; }
.payouts-head {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}

.payout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 2px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.86rem;
}
.p-cycle { font-weight: 550; }
.p-cycle i { font-style: normal; color: var(--dim); font-size: 0.76rem; margin-left: 7px; }
.p-amt { font-weight: 650; font-variant-numeric: tabular-nums; }
.p-amt .paid { color: var(--gold); font-weight: 700; margin-left: 5px; }

.homebar {
  width: 110px;
  height: 5px;
  border-radius: 999px;
  background: rgba(244, 237, 227, 0.28);
  margin: 12px auto 2px;
}

/* ---------- the wire ---------- */

.wire-strip {
  position: relative;
  height: 130px;
  margin-top: 8px;
}

.wire {
  position: absolute;
  left: 0;
  right: 0;
  top: 78px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--wire) 14%, var(--wire) 86%, transparent);
}

.wire-bird {
  position: absolute;
  width: 46px;
  height: 34px;
  top: 45px;
  left: calc(50% - 140px);
}

#roost { position: absolute; inset: 0; }

.sat {
  position: absolute;
  top: 70px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
  animation: satDrop 0.9s cubic-bezier(0.34, 1.42, 0.64, 1) both;
}

@keyframes satDrop {
  from { transform: translateY(-150px); opacity: 0; }
  55%  { opacity: 1; }
  to   { transform: translateY(0); opacity: 1; }
}

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

.stats { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-raise); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 30px 24px;
}

.stat { display: flex; flex-direction: column; gap: 3px; }
.stat-num {
  font-size: 1.65rem;
  font-weight: 780;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-num i { font-style: normal; font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.stat-label { font-size: 0.82rem; color: var(--muted); }

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

.section { padding: 108px 0; }
.section h2.center { margin-bottom: 56px; }
.section .kicker.center + h2.center { margin-top: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-copy > p { color: var(--muted); max-width: 32em; }
.split-copy h2 { margin-bottom: 20px; }
.split-copy .dim { margin-top: 18px; font-size: 0.9rem; }

.checklist {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid rgba(242, 163, 60, 0.5);
}
.checklist li::after {
  content: "✓";
  position: absolute;
  left: 3.5px;
  top: 1px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold);
}

/* ---------- lock screen mock ---------- */

.lockscreen {
  justify-self: center;
  width: min(380px, 100%);
  border-radius: 44px;
  border: 1px solid var(--line);
  padding: 34px 22px 26px;
  text-align: center;
  background:
    radial-gradient(90% 55% at 50% 115%, rgba(247, 147, 26, 0.17), transparent 70%),
    radial-gradient(80% 50% at 50% -10%, rgba(85, 70, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #100D12, #0C0A09);
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.ls-date { font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.ls-time {
  font-size: 4.6rem;
  font-weight: 250;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.ls-widgets {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.ls-ring { width: 56px; height: 56px; }
.ls-track, .ls-fill { fill: none; stroke-width: 6; transform: rotate(-90deg); transform-origin: 30px 30px; }
.ls-track { stroke: rgba(244, 237, 227, 0.16); }
.ls-fill {
  stroke: url(#goldGrad);
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 42.2;
}
.ls-btc { font-size: 17px; font-weight: 700; fill: var(--text); text-anchor: middle; font-family: var(--font-ui); }

.ls-rect {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.ls-rect-top { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.02em; color: var(--muted); }
.ls-rect-bottom { font-size: 0.84rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.notif {
  margin-top: auto;
  display: flex;
  gap: 11px;
  text-align: left;
  padding: 13px 14px;
  border-radius: 20px;
  background: rgba(30, 26, 21, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.notif-icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 10px;
  background: #0B0908;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-icon svg { width: 26px; height: 24px; }

.notif-body { flex: 1; min-width: 0; }
.notif-top { display: flex; justify-content: space-between; align-items: baseline; }
.notif-app {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.notif-when { font-size: 0.72rem; color: var(--dim); }
.notif-title { font-size: 0.9rem; font-weight: 700; margin-top: 2px; }
.notif-text { font-size: 0.82rem; color: var(--muted); line-height: 1.45; margin-top: 1px; }

/* ---------- simulator ---------- */

.sim-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}

.sim-inputs { padding: 40px 40px 36px; }

.sim-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 26px 0 10px;
}
.sim-label:first-child { margin-top: 0; }
.sim-label output { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }

.sim-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s;
}
.sim-input:focus { outline: none; border-color: var(--gold); }

.chip-row { display: flex; gap: 8px; margin-top: 12px; }
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.18s;
}
.chip:hover { color: var(--text); border-color: var(--dim); }
.chip.is-active {
  color: var(--gold);
  border-color: rgba(242, 163, 60, 0.55);
  background: var(--gold-soft);
}

input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  accent-color: var(--gold);
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-gold);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(242, 163, 60, 0.18);
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
}

.sim-note { font-size: 0.8rem; color: var(--dim); margin-top: 24px; line-height: 1.55; }
.sim-note strong { color: var(--muted); }

.sim-out {
  background:
    radial-gradient(120% 90% at 100% 110%, rgba(247, 147, 26, 0.12), transparent 65%),
    var(--surface-2);
  border-left: 1px solid var(--line);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sim-out-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.sim-hero {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.sim-hero span:first-child {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sim-unit { font-size: 1rem; color: var(--muted); font-weight: 600; }

.sim-subs {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 30px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.sim-sub { display: flex; flex-direction: column; gap: 2px; }
.sim-sub span { font-weight: 750; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.sim-sub i { font-style: normal; font-size: 0.76rem; color: var(--dim); }

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: rgba(242, 163, 60, 0.35); transform: translateY(-2px); }

.card-index {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.9rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

.honesty {
  max-width: 640px;
  margin: 56px auto 0;
  padding: 20px 26px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}
.honesty strong { color: var(--gold); font-weight: 700; }

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

.rmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rmap-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.rmap-card.is-now { border-color: rgba(242, 163, 60, 0.5); background: linear-gradient(180deg, rgba(242, 163, 60, 0.06), transparent 60%), var(--surface); }

.rmap-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.rmap-card.is-now .rmap-badge {
  color: #1A1206;
  background: var(--grad-gold);
  border-color: transparent;
}
.rmap-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.rmap-card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- code block ---------- */

.code {
  background: #100D0A;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px 22px;
  overflow-x: auto;
}

.code-dots { display: flex; gap: 6px; margin-bottom: 16px; }
.code-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }

.code pre { margin: 0; }
.code code {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--text);
  white-space: pre;
}
.code .k { color: var(--stx); }
.code .s { color: var(--gold); }
.code .t { color: #7FBFA4; }
.code .c { color: var(--dim); }

/* ---------- faq ---------- */

.faq { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 21px 2px;
  font-weight: 650;
  font-size: 1.02rem;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.25s;
  line-height: 1;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 40px 22px 2px; color: var(--muted); font-size: 0.95rem; }

#faq h2.center { margin-bottom: 34px; }

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

.cta-final {
  padding: 130px 0 140px;
  background: radial-gradient(55% 60% at 50% 115%, rgba(247, 147, 26, 0.15), transparent 72%);
  text-align: center;
}
.cta-final .lede { margin: 0 auto 34px; }
.cta-final .microproof { margin-top: 20px; }

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

.footer { border-top: 1px solid var(--line-soft); background: var(--bg-raise); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 60px 24px 40px;
}

.footer-tag {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
}

.footer-head {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.footer-col a, .footer-col span { display: block; font-size: 0.92rem; color: var(--muted); padding: 5px 0; }
.footer-col a:hover { color: var(--text); }

.footer-legal { padding: 0 24px 44px; }
.footer-legal p { font-size: 0.78rem; color: var(--dim); max-width: 760px; line-height: 1.65; }

/* ---------- reveal on scroll (JS adds .js to <html>) ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.65s ease, transform 0.65s ease; }
.js .reveal.in { opacity: 1; transform: none; }

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

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; }
  .hero .lede, .cta-row { margin-left: auto; margin-right: auto; justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .stats-row { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .rmap { grid-template-columns: 1fr; }
  .sim-card { grid-template-columns: 1fr; }
  .sim-out { border-left: none; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 620px) {
  .nav-links { display: none; }
  .section { padding: 78px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .phone { width: 292px; }
  .sim-inputs, .sim-out { padding: 30px 26px; }
  .sim-subs { gap: 20px; }
  .wire-bird { left: calc(50% - 110px); }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .ring-fill { animation: none; stroke-dashoffset: 91.5; }
  .sat { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
