@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* The app's chalkboard: slate and chalk, one amber for actions and live numbers (a radar readout).
   Light is chalk paper with slate ink. */
:root {
  --bg: #f3f0e7;
  --bg-2: #e9e5d8;
  --panel: #fffdf7;
  --ink: #15201c;
  --soft: #34403b;
  --muted: #56635d;
  --rule: #d6d1c2;
  --accent: #e8a52c;
  --accent-ink: #1f1503;
  --accent-text: #8a4f00;
  --num: #1d6b40;
  --track: #dcd7c8;
  --cue-bg: #15201c;
  --set: #d5dcd8;
  --lift: #5b8def;
  --stride: #3cc6d8;
  --plant: #e8c547;
  --layback: #ff9f43;
  --release: #ff5a4e;
  --follow: #52d68a;
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1513;
    --bg-2: #131c1a;
    --panel: #18221f;
    --ink: #edf1ec;
    --soft: #c4cdc8;
    --muted: #97a59f;
    --rule: #26332f;
    --accent: #f3b23a;
    --accent-ink: #1f1503;
    --accent-text: #f3b23a;
    --num: #6fd08f;
    --track: #22302c;
    --cue-bg: #22302b;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    17px/1.55 'Archivo',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
img,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: 24px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) max(24px, calc((100vw - 1160px) / 2 + 24px)) 10px;
  background: var(--bg);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 700 30px/1 var(--display);
  font-stretch: 75%;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 6px);
  gap: 3px;
}
.mark i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--plant);
}
.mark i:nth-child(1) {
  background: var(--lift);
}
.mark i:nth-child(3) {
  background: var(--release);
}
.nav nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 12px 10px;
}
.nav nav a:hover {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: transform 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.ghost {
  background: var(--bg-2);
  color: var(--ink);
}
@media (max-width: 760px) {
  .nav nav {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
    padding: 10px 16px;
  }
}

/* ---------- hero: the headline and the tracked throw on one screen ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
  padding-block: 24px 40px;
}
.hero h1 {
  font: 800 clamp(64px, 9.5vw, 128px) / 0.86 var(--display);
  font-stretch: 75%;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.lede {
  font-size: 20px;
  color: var(--soft);
  margin: 0 0 28px;
  max-width: 30ch;
}
.ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.film {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
}
.film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.7), transparent 40%);
  pointer-events: none;
}
.readout {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 210px;
  background: rgb(8 12 11 / 0.86);
  color: #edf1ec;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
}
.readout-title {
  font: 700 20px/1 var(--display);
  font-stretch: 75%;
  margin-bottom: 8px;
}
.readout dl {
  margin: 0;
}
.readout dl div {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}
.readout dt {
  color: #a9b5af;
}
.readout dd {
  margin: 0;
}
.readout-now {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.readout-now #r-ms {
  margin-left: auto;
  color: #a9b5af;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}
.phase-name {
  font: 800 clamp(30px, 4vw, 46px) / 1 var(--display);
  font-stretch: 75%;
  color: var(--accent);
  text-transform: lowercase;
}
.phase-desc {
  margin-top: 4px;
  font-size: 15px;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 12px;
  }
  .hero h1 {
    font-size: clamp(60px, 18vw, 96px);
  }
}
@media (max-width: 560px) {
  .film {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }
  .readout {
    top: 10px;
    right: 10px;
    width: auto;
    padding: 8px 11px;
  }
  .readout-title,
  .readout dl {
    display: none;
  }
  .readout-now {
    margin-top: 0;
    gap: 10px;
  }
  .caption {
    left: 14px;
    bottom: 12px;
  }
}

/* ---------- phase strip ---------- */
.phases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.phases li {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  border-top: 4px solid var(--c);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.phases li.on,
.phases li:hover {
  opacity: 1;
}
.phases img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.phases .lab {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 18px 10px 7px;
  background: linear-gradient(to top, rgb(0 0 0 / 0.9) 40%, transparent);
  font-size: 15px;
  color: #fff;
}
.phases .lab b {
  color: var(--c);
  font-weight: 650;
}
.phases .lab span {
  font-size: 13px;
  color: #dde3e0;
}
@media (max-width: 760px) {
  .phases {
    grid-template-columns: repeat(3, 1fr);
  }
  .phases .lab {
    flex-direction: column;
    align-items: start;
    font-size: 13px;
    padding: 14px 7px 6px;
  }
}

/* ---------- sections ---------- */
section.wrap,
.band > .wrap {
  padding-block: 96px;
}
.band {
  background: var(--bg-2);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-stretch: 75%;
  letter-spacing: -0.015em;
  margin: 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(40px, 5.5vw, 60px);
  line-height: 0.95;
  font-weight: 800;
}
.section-head p {
  margin: 0;
  color: var(--soft);
  font-size: 18px;
}
@media (max-width: 760px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section-head h2 {
    font-size: clamp(36px, 10vw, 48px);
  }
  section.wrap,
  .band > .wrap {
    padding-block: 64px;
  }
}

/* ---------- in / out ---------- */
.io-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.io-grid h3 {
  font-size: 30px;
  margin-bottom: 14px;
}
.io-img {
  border-radius: 12px;
  width: 100%;
}
.kv {
  margin: 18px 0 0;
}
.kv div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 15px;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  text-align: right;
}
.out-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background: var(--panel);
  border-radius: 12px;
  padding: 24px;
}
.stat {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 2px 14px;
  align-items: baseline;
}
.stat .n {
  grid-row: span 2;
  font: 700 36px/1.05 var(--display);
  color: var(--num);
}
.stat .n small {
  font: 500 15px var(--display);
  color: var(--muted);
  margin-left: 3px;
}
.stat .d {
  font-size: 15px;
  color: var(--soft);
  margin-top: 4px;
  line-height: 1.35;
}
.stat .p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 2px;
}
.stat.focus .n {
  color: var(--accent-text);
}
.cue {
  margin-top: 16px;
  background: var(--cue-bg);
  color: #edf1ec;
  border-radius: 12px;
  padding: 22px 24px;
}
.cue h3 {
  font-size: 20px;
  color: #f3b23a;
  margin-bottom: 6px;
}
.cue p {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}
.cue p b {
  color: #f3b23a;
}
.fine {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 16px;
}
@media (max-width: 760px) {
  .io-grid {
    grid-template-columns: 1fr;
  }
  .out-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }
  .stat .n {
    font-size: 30px;
  }
  .cue p {
    font-size: 18px;
  }
}

/* ---------- toggles, strips ---------- */
.toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.toggle button {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--panel);
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 16px;
  cursor: pointer;
}
.toggle button[aria-selected='true'] {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
}
.strip-scroll {
  overflow-x: auto;
  border-radius: 8px;
}
.strip {
  width: 100%;
  border-radius: 8px;
}
.strip-note {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--panel);
}

/* ---------- benchmark: a number line, so small real differences are visible ---------- */
.line {
  position: relative;
  height: 156px;
  margin: 10px 8px 0;
}
.line .axis {
  position: absolute;
  left: 0;
  right: 0;
  top: 92px;
  height: 2px;
  background: var(--track);
}
.line .band {
  position: absolute;
  top: 84px;
  height: 18px;
  background: var(--track);
  border-radius: 4px;
}
.line .tick {
  position: absolute;
  top: 80px;
  width: 2px;
  height: 26px;
  margin-left: -1px;
  background: var(--muted);
}
.line .tick span {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}
.line .tick b {
  display: block;
  color: var(--ink);
  font: 700 15px var(--display);
}
.line .you {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
}
.line .you .v {
  font: 800 clamp(34px, 5vw, 52px) / 1 var(--display);
  font-stretch: 75%;
  color: var(--accent-text);
}
.line .you small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.line .you::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent);
}
.legend {
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- effects ---------- */
.effects {
  display: grid;
  gap: 14px;
}
.effect {
  display: grid;
  grid-template-columns: 240px 1fr 96px;
  gap: 16px;
  align-items: center;
}
.effect .name {
  font-size: 15px;
}
.effect .name small {
  display: block;
  color: var(--muted);
  font-size: 15px;
}
.effect .track {
  height: 14px;
  background: var(--panel);
  border-radius: 7px;
  overflow: hidden;
}
.effect .fill {
  height: 100%;
  background: var(--accent);
  border-radius: 7px;
}
.effect .mph {
  font: 700 20px var(--display);
  color: var(--num);
  text-align: right;
  white-space: nowrap;
}
.effect.unclear .fill {
  background: var(--track);
}
.effect.unclear .mph {
  color: var(--muted);
  font:
    400 14px system-ui,
    sans-serif;
}
.honest {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 56px;
  padding: 28px;
  border-radius: 14px;
  background: var(--bg);
}
.honest .big {
  order: 2;
  font: 800 clamp(64px, 10vw, 110px) / 0.9 var(--display);
  font-stretch: 75%;
  color: var(--accent-text);
}
.honest p {
  margin: 0;
  font-size: 18px;
  color: var(--soft);
}
.angle {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
}
.angle img {
  border-radius: 10px;
}
.angle h3 {
  font-size: 30px;
  margin-bottom: 8px;
}
.angle p {
  margin: 0;
  color: var(--soft);
}
@media (max-width: 760px) {
  .effect {
    grid-template-columns: 1fr auto;
  }
  .effect .track {
    grid-column: 1 / -1;
    order: 3;
  }
  .honest,
  .angle {
    grid-template-columns: 1fr;
  }
  .line .tick b {
    font-size: 15px;
  }
}

/* ---------- what you get: the app itself, and what it does ---------- */
.get {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.phone {
  display: block;
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 8px solid #050807;
}
.get-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}
.get-list h3 {
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 10px;
}
.get-list p {
  margin: 0;
  color: var(--soft);
}
@media (max-width: 860px) {
  .get {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .phone {
    max-width: 300px;
    margin-inline: auto;
  }
}
@media (max-width: 560px) {
  .get-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- footer ---------- */
.foot {
  background: var(--bg-2);
  padding: 48px 0 calc(env(safe-area-inset-bottom, 0px) + 32px);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.foot p {
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 15px;
}
.foot h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.foot-grid a:not(.brand) {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 15px;
}
.credits {
  margin-top: 32px;
  font-size: 15px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .phases li {
    transition: none;
  }
}

p {
  max-width: 62ch;
}
/* Sections rise in as they scroll into view, where the browser can tie it to scrolling */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head,
    .io-grid > *,
    .effect,
    .honest,
    .angle,
    .get-list li,
    .phone,
    .strip-scroll,
    .line {
      animation: rise linear;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    @keyframes rise {
      from {
        opacity: 0;
        transform: translateY(22px);
      }
    }
  }
}

.invite {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
}
@media (max-width: 560px) {
  .strip {
    height: 150px;
    object-fit: cover;
  }
}
