:root {
  --paper: #ece8de;
  --ink: #161513;
  --body: #3a3732;
  --muted: #5e5a52;
  --line: #cfc9bb;
  --red: #d6402a;
  --yellow: #f0b323;
  --night: #141312;
  --cream: #eae5d8;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sans: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
h1 { font-size: clamp(42px, 5.4vw, 78px); font-stretch: 118%; line-height: 0.98; }
h2 { font-size: clamp(36px, 4vw, 58px); font-stretch: 118%; }
h3 { font-size: 28px; font-weight: 700; font-stretch: 112%; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding-left: clamp(20px, 5.5vw, 80px);
  padding-right: clamp(20px, 5.5vw, 80px);
}

.eyebrow {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-muted { color: #a8a294; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.dot-red { background: var(--red); }
.dot-yellow { background: var(--yellow); }
.dot-paper { background: var(--cream); }
.dot-dead { background: #3d3a35; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  min-height: 96px;
  padding: 16px clamp(20px, 5.5vw, 80px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 40px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--muted); }
.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px;
  border-radius: 3px;
}
.nav-cta:hover { color: var(--paper); background: #2a2826; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 580px);
  gap: 40px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 48px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; padding-top: 36px; }
.lede { max-width: 36rem; font-size: 20px; line-height: 1.5; color: var(--body); }

.join { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.join label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.join-row { display: flex; gap: 8px; flex-wrap: wrap; }
.join input {
  flex: 1 1 220px;
  height: 56px;
  padding: 0 18px;
  background: #f6f3ec;
  border: 1px solid #b9b2a2;
  border-radius: 3px;
  color: var(--ink);
}
.join button {
  height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.join button:hover { background: #2a2826; }
.join button:disabled { opacity: 0.6; cursor: default; }
.join-status { min-height: 1.2em; font-size: 14px; color: var(--body); }
.join-status:empty { display: none; }
.join-status.error { color: var(--red); }

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stage { min-height: 640px; }
.phones { position: relative; height: 760px; margin-top: 12px; }
.phone {
  position: absolute;
  width: 320px;
  height: 680px;
  padding: 10px;
  border-radius: 50px;
  background: var(--shell);
  box-shadow: 0 50px 70px -40px rgba(20, 18, 15, 0.55), inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.phone-light {
  --shell: #e7e1d3;
  --tray: #e7e1d3;
  --key: #f7f3ea;
  --edge: #c9c1ae;
  --label: #5e5a52;
  left: 0;
  top: 80px;
  transform: rotate(-5deg);
}
.phone-dark {
  --shell: #1a1917;
  --tray: #1a1917;
  --key: #e6e0d0;
  --edge: #a99f88;
  --label: #a8a294;
  left: 230px;
  top: 0;
  transform: rotate(3deg);
  z-index: 1;
}
.phone-screen {
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #121110;
  display: flex;
  flex-direction: column;
}
.tape-window {
  height: 168px;
  position: relative;
  background: repeating-linear-gradient(180deg, #0c0b0a 0 3px, #2c2a27 3px 5px, #191816 5px 8px);
}
.tape-window::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background: #0b0a09;
  border-top: 1px solid #3d3a35;
}
.tape-window span {
  position: absolute;
  right: 16px;
  bottom: 28px;
  font-size: 11px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d9d3c5;
  background: #0c0b0a;
  padding: 2px 6px;
}
.meters { display: flex; gap: 8px; padding: 14px 16px 10px; }
.meters > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mini {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f897c;
}
.meter, .readout {
  height: 26px;
  background: #262421;
  border-radius: 3px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7);
}
.meter { display: flex; align-items: center; gap: 3px; padding: 0 7px; }
.meter i { width: 4px; height: 12px; background: #d9d3c5; }
.meter i.hot { background: var(--yellow); }
.meter i.off { background: #3a3733; }
.readout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 13px;
  color: #eae5d8;
}
.reels {
  position: relative;
  margin: 0 16px;
  height: 118px;
  background: #0a0908;
  border-radius: 6px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}
.counter { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.time {
  font-family: var(--mono);
  font-size: 22px;
  color: #eae5d8;
}
.tape-line {
  position: absolute;
  left: 50px;
  right: 50px;
  bottom: 16px;
  height: 3px;
  background: #3a2c22;
}
.scale {
  position: relative;
  margin: 12px 16px 0;
  padding: 8px 10px 6px;
  background: #0f0e0d;
  border-radius: 4px;
}
.ticks { height: 10px; background: repeating-linear-gradient(90deg, #8f897c 0 1px, transparent 1px 9px); }
.scale-nums {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  color: #8f897c;
}
.playhead {
  position: absolute;
  left: 44%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--red);
}
.transport {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}
.key-mark, .key-rec {
  height: 26px;
  border-radius: 4px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22);
}
.key-mark { width: 34px; background: var(--yellow); }
.key-rec { width: 58px; background: var(--red); }
.transport-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f897c;
}
.tray {
  margin-top: auto;
  background: var(--tray);
  padding: 10px 12px 16px;
  display: flex;
  gap: 3px;
}
.tray div { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.tray span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--label);
  text-align: center;
}
.tray i {
  height: 64px;
  border-radius: 3px;
  background: var(--key);
  box-shadow: inset 0 -6px 0 var(--edge);
}
.tray i.arm { background: var(--yellow); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.22); }

.dial {
  position: relative;
  height: 96px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.dial-fine, .dial-coarse { position: absolute; left: clamp(20px, 5.5vw, 80px); right: clamp(20px, 5.5vw, 80px); top: 14px; }
.dial-fine { height: 18px; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 16px); }
.dial-coarse { height: 28px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 160px); }
.dial-labels {
  position: absolute;
  left: clamp(20px, 5.5vw, 80px);
  right: clamp(20px, 5.5vw, 80px);
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dial-labels .dim { color: var(--muted); }
.dial-needle {
  position: absolute;
  left: 49.4%;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--red);
}

.how { padding-top: 120px; padding-bottom: 100px; display: flex; flex-direction: column; gap: 72px; }
.how-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  align-items: end;
}
.how-intro p { font-size: 19px; line-height: 1.55; color: var(--body); }
.stops {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.stops::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 21px;
  height: 4px;
  background: #3a2c22;
}
.stops li { display: flex; flex-direction: column; gap: 22px; position: relative; }
.badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-radius: 3px;
}
.stops p { font-size: 17px; line-height: 1.55; color: var(--body); }

.lane {
  display: flex;
  min-height: 250px;
  background: var(--ink);
  border-radius: 6px;
  overflow: auto;
}
.lane-side {
  width: 200px;
  flex: none;
  border-right: 1px solid #34322f;
  padding: 50px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}
.armed {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #a8a294;
}
.lane-body { position: relative; flex: 1; min-width: 760px; }
.ruler { height: 30px; display: flex; border-bottom: 1px solid #34322f; }
.ruler span {
  flex: 1;
  border-left: 1px solid #34322f;
  font-family: var(--mono);
  font-size: 10px;
  color: #8f897c;
  padding: 9px 0 0 6px;
}
.clip {
  position: absolute;
  top: 48px;
  height: 180px;
  background: #2a2825;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.clip-old { left: 48px; width: 280px; }
.clip-new { left: 420px; width: 360px; box-shadow: 0 0 0 2px var(--yellow); }
.clip-name {
  height: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #45423c;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cream);
  padding: 6px 10px;
}
.clip-new .clip-name { background: var(--yellow); color: var(--ink); }
.wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 10px;
  overflow: hidden;
  position: relative;
}
.wave > span:not(.marker) { width: 2px; flex: none; background: #a8a294; }
.clip-new .wave > span:not(.marker) { background: var(--cream); }
.marker { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--yellow); }
.lane-needle {
  position: absolute;
  left: 418px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--red);
}

.panel { background: var(--night); color: var(--cream); padding: 120px 0; }
.panel h2 { max-width: 16ch; margin-bottom: 64px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #34322f;
  border: 1px solid #34322f;
}
.cards article {
  background: var(--night);
  min-height: 280px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-id {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a8a294;
}
.cards h3 { font-size: 26px; }
.cards p { font-size: 16px; line-height: 1.55; color: #b9b3a6; }

.receiver {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 680px);
  gap: 64px 80px;
  align-items: start;
  padding-top: 140px;
  padding-bottom: 120px;
}
.receiver-copy { display: flex; flex-direction: column; gap: 24px; padding-top: 20px; }
.receiver-copy p { font-size: 19px; line-height: 1.55; color: var(--body); }
.daws {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.daws span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.daws strong { font-size: 20px; line-height: 1.6; font-weight: 600; }
.receiver-panel {
  background: var(--ink);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 40px 60px -40px rgba(20, 18, 15, 0.6);
  color: var(--cream);
}
.receiver-head, .paired, .land-at > div, .log li {
  display: flex;
  align-items: center;
}
.receiver-head {
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #34322f;
}
.receiver-head strong {
  font-size: 14px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.receiver-head span, .paired {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8a294;
}
.paired { gap: 8px; color: var(--cream); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats div { display: flex; flex-direction: column; gap: 6px; }
.stats span, .land-at > span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f897c;
}
.stats b {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #262421;
  border-radius: 3px;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.7);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
}
.land-at { display: flex; flex-direction: column; gap: 8px; }
.land-at > div { gap: 4px; }
.land-at > div span {
  flex: 1;
  height: 58px;
  display: flex;
  align-items: flex-start;
  padding: 10px;
  border-radius: 3px;
  background: #e6e0d0;
  box-shadow: inset 0 -6px 0 #a99f88;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.land-at .on { background: var(--yellow); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.22); }
.log { list-style: none; margin: 0; padding: 0; background: #0f0e0d; border-radius: 4px; font-family: var(--mono); font-size: 13px; }
.log li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 140px;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #262421;
}
.log li:last-child { border-bottom: 0; }
.log li span:nth-child(2) { color: #b9b3a6; }
.landed { color: var(--yellow); text-align: right; }
.waiting { color: #a8a294; text-align: right; }
.transit { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.transit i { width: 60px; height: 4px; background: #34322f; position: relative; }
.transit b { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; background: var(--cream); }

.access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 520px);
  background: var(--night);
  color: var(--cream);
}
.access-copy {
  padding: 110px clamp(20px, 5.5vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.access h2 { max-width: 16ch; }
.join-dark label, .specs-muted { color: #a8a294; }
.join-dark input {
  background: #1f1d1b;
  border-color: #4a4640;
  color: var(--cream);
}
.join-dark button {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.2);
}
.join-dark button:hover { background: #d89e05; }
.join-dark .join-status { color: var(--cream); }
.join-dark .join-status.error { color: #ffb4a8; }
.tape-wall {
  background: repeating-linear-gradient(180deg, #0c0b0a 0 5px, #2c2a27 5px 8px, #191816 8px 13px);
  position: relative;
  min-height: 220px;
}
.tape-wall::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 22px;
  background: #0b0a09;
  border-right: 1px solid #3d3a35;
}

.gate { display: grid; gap: 14px; max-width: 640px; }
.gate .kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a8a294;
}
.gate p, .gate .steps { color: #b9b3a6; }
.gate .email { color: var(--cream); }
.gate .error { color: #ffb4a8; }
.gate .note, .gate .hint, .gate .pending { color: #a8a294; font-size: 14px; }
.gate .spread { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.gate .steps { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.gate .stack { display: grid; gap: 12px; }
.gate .download {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: center;
  border-top: 1px solid #34322f;
  padding-top: 14px;
}
.gate .download strong { color: var(--cream); font-weight: 650; }
.gate .hint { grid-column: 1 / -1; }
.gate button, .gate a.button {
  border: 0;
  border-radius: 3px;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}
.gate button.secondary { background: #2a2826; color: var(--cream); box-shadow: none; }
.gate button:disabled { opacity: 0.6; cursor: default; }
#google-button { min-height: 44px; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer nav { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer-brand {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.1em;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .hero, .how-intro, .receiver, .access { grid-template-columns: 1fr; }
  .stage { min-height: 0; }
  .phones {
    height: 520px;
    transform: scale(0.72);
    transform-origin: top left;
    margin-bottom: -180px;
  }
  .stops { grid-template-columns: 1fr; }
  .stops::before { display: none; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .phones { transform: scale(0.58); margin-bottom: -280px; }
  .dial-labels { font-size: 10px; letter-spacing: 0.04em; }
  .clip-new { width: 280px; }
  .log li { grid-template-columns: 1fr; gap: 4px; }
  .landed, .waiting, .transit { justify-content: flex-start; text-align: left; }
  .gate .download { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
