:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #080808;
  --ink-inverse: #ffffff;
  --muted: #5f5f5f;
  --quiet: #8a8a8a;
  --line: #e3e3e3;
  --line-strong: #cfcfcf;
  --surface: #f8f8f8;
  --surface-elevated: #ffffff;
  --surface-subtle: #fbfbfb;
  --header-bg: rgb(255 255 255 / 88%);
  --header-border: rgb(227 227 227 / 78%);
  --nav-link: #222222;
  --copy-strong: #2d2d2d;
  --chip-bg: #ffffff;
  --button-secondary-bg: #ffffff;
  --warm: #fff4df;
  --warm-ink: #5d4215;
  --warm-surface: #fff8ea;
  --warm-border: #f1dfbd;
  --warm-line: rgb(93 66 21 / 18%);
  --warm-copy: #2f2a20;
  --matrix-shadow: 0 22px 80px rgb(0 0 0 / 5%);
  --icon-shadow: 0 24px 70px rgb(0 0 0 / 10%);
  --brand-icon-filter: none;
  --hero-icon-filter: drop-shadow(var(--icon-shadow));
  --radius: 8px;
  --container: min(100% - 48px, 1340px);
  --shadow-soft: 0 18px 60px rgb(0 0 0 / 8%);
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Segoe UI",
    sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080808;
  --ink: #f7f7f7;
  --ink-inverse: #080808;
  --muted: #b1b1b1;
  --quiet: #777777;
  --line: #2a2a2a;
  --line-strong: #3a3a3a;
  --surface: #121212;
  --surface-elevated: #101010;
  --surface-subtle: #171717;
  --header-bg: rgb(8 8 8 / 86%);
  --header-border: rgb(47 47 47 / 78%);
  --nav-link: #e7e7e7;
  --copy-strong: #dddddd;
  --chip-bg: #101010;
  --button-secondary-bg: #101010;
  --warm: #3a2a12;
  --warm-ink: #f1d69a;
  --warm-surface: #17130c;
  --warm-border: #4c3a18;
  --warm-line: rgb(241 214 154 / 18%);
  --warm-copy: #ead9b7;
  --matrix-shadow: 0 24px 90px rgb(0 0 0 / 32%);
  --icon-shadow: 0 26px 80px rgb(0 0 0 / 42%);
  --brand-icon-filter: invert(1);
  --hero-icon-filter: invert(1) drop-shadow(var(--icon-shadow));
  --shadow-soft: 0 18px 60px rgb(0 0 0 / 36%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 18px max(24px, calc((100vw - 1340px) / 2));
  border-bottom: 1px solid var(--header-border);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  filter: var(--brand-icon-filter);
}

.desktop-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 48px;
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a,
.site-footer nav a {
  color: var(--nav-link);
}

.desktop-nav a:hover,
.site-footer nav a:hover {
  color: var(--muted);
}

.header-cta,
.button,
.theme-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  padding: 0 24px;
  background: var(--ink);
  color: var(--ink-inverse);
  box-shadow: var(--shadow-soft);
}

.theme-toggle {
  min-width: 76px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  background: var(--button-secondary-bg);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  justify-self: end;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--button-secondary-bg);
  color: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: 80px 16px auto;
  z-index: 19;
  display: none;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-elevated) 96%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.mobile-nav a {
  padding: 15px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
}

.mobile-nav a:hover {
  background: var(--surface);
}

.mobile-nav.open {
  display: grid;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.92fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: center;
  width: var(--container);
  min-height: min(760px, calc(100vh - 82px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0 clamp(42px, 6vw, 78px);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 22px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  background: var(--chip-bg);
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-lede {
  max-width: 620px;
  margin-top: 28px;
  color: var(--copy-strong);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--ink);
}

.button-primary {
  background: var(--ink);
  color: var(--ink-inverse);
  box-shadow: var(--shadow-soft);
}

.button-secondary {
  background: var(--button-secondary-bg);
  color: var(--ink);
}

.trust-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 680px;
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-notes div {
  padding: 22px 22px 20px 0;
}

.trust-notes div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.trust-notes dt {
  font-size: 14px;
  font-weight: 750;
}

.trust-notes dd {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-icon-panel {
  justify-self: center;
  width: min(100%, 540px);
}

.hero-icon-panel img {
  width: 100%;
  border-radius: 22%;
  filter: var(--hero-icon-filter);
}

section {
  scroll-margin-top: 100px;
}

.strategy-section,
.app-tour-section,
.pipeline-section,
.safety-section,
.media-section,
.faq-section,
.background-band {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 116px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.pipeline-heading h2 {
  margin-bottom: 18px;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(280px, 0.92fr);
  gap: 42px;
  max-width: none;
  align-items: end;
}

.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-elevated);
  box-shadow: var(--matrix-shadow);
}

.strategy-matrix {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  table-layout: fixed;
}

.strategy-cards {
  display: none;
}

.strategy-matrix th,
.strategy-matrix td {
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  vertical-align: middle;
}

.strategy-matrix tr:last-child th,
.strategy-matrix tr:last-child td {
  border-bottom: 0;
}

.strategy-matrix th:first-child,
.strategy-matrix td:first-child {
  border-left: 0;
}

.strategy-matrix thead th {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  background: var(--surface-subtle);
}

.strategy-matrix tbody th {
  width: 29%;
  text-align: left;
}

.strategy-matrix tbody th strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.strategy-matrix tbody th span {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.strategy-matrix tbody th em {
  display: block;
  max-width: 190px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.yes,
.no,
.review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.yes {
  color: var(--ink);
}

.no {
  color: var(--quiet);
}

.review {
  min-width: 112px;
  padding: 0 12px;
  background: var(--warm);
  color: var(--warm-ink);
}

.matrix-note,
.control-note {
  margin-top: 18px;
  text-align: center;
  color: var(--warm-ink);
  font-size: 14px;
}

.app-tour-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: start;
}

.tour-copy {
  max-width: 560px;
}

.tour-copy > p:not(.eyebrow) {
  margin-top: 24px;
}

.tour-steps {
  display: grid;
  gap: 26px;
  margin: clamp(48px, 7vw, 82px) 0 0;
  padding: 0;
  list-style: none;
}

.tour-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}

.tour-steps li > span {
  position: relative;
  color: var(--quiet);
  font-size: 15px;
  line-height: 1.2;
}

.tour-steps li:not(:last-child) > span::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 17px;
  width: 1px;
  height: 48px;
  background: var(--line);
}

.tour-steps h3 {
  font-size: 22px;
}

.tour-steps p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: clamp(46px, 6vw, 72px) clamp(40px, 5vw, 64px);
}

.screen-card {
  min-width: 0;
}

.screen-frame {
  width: min(100%, 264px);
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 36px;
  background: #050505;
  box-shadow: var(--shadow-soft);
}

.screen-frame img {
  width: 100%;
}

.screen-card h3 {
  font-size: 24px;
  line-height: 1.1;
}

.screen-card p {
  max-width: 260px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.pipeline-heading {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 42px;
  align-items: end;
  margin-bottom: 56px;
}

.pipeline-heading > div:first-child {
  max-width: 720px;
}

.run-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  min-width: 430px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.run-stats div {
  padding: 16px 18px;
  text-align: center;
}

.run-stats div + div {
  border-left: 1px solid var(--line);
}

.run-stats dt {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.run-stats dd {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(120px, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--line-strong);
}

.timeline li {
  position: relative;
  padding: 0 14px;
  text-align: center;
}

.timeline li > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ink-inverse);
  font-size: 13px;
  font-weight: 800;
}

.timeline h3 {
  margin-top: 24px;
  min-height: 42px;
}

.timeline p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.reason-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.reason-grid article,
.media-grid article {
  min-height: 188px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reason-grid h3,
.media-grid h3 {
  margin-bottom: 12px;
}

.reason-grid p,
.media-grid p {
  font-size: 14px;
  line-height: 1.55;
}

.media-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.media-token {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 30px;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.background-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1fr);
  gap: 58px;
  align-items: center;
  margin-top: 10px;
  padding: clamp(46px, 5vw, 64px);
  border: 1px solid var(--warm-border);
  border-radius: 14px;
  background: var(--warm-surface);
}

.background-band h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.6vw, 46px);
}

.background-band ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.background-band li {
  padding: 0 0 14px;
  border-bottom: 1px solid var(--warm-line);
  color: var(--warm-copy);
  font-size: 15px;
  line-height: 1.45;
}

.background-band li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child,
details:nth-last-child(2) {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--muted);
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 36px 22px 0;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1fr) auto;
  gap: 34px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  font-size: 13px;
}

.site-footer .brand {
  font-size: 18px;
}

.site-footer .brand img {
  width: 36px;
  height: 36px;
}

@media (max-width: 1100px) {
  :root {
    --container: min(100% - 36px, 920px);
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    padding: 16px 18px;
    gap: 12px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
    text-align: left;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-icon-panel {
    width: min(78vw, 520px);
  }

  .pipeline-heading,
  .app-tour-section,
  .section-heading-row,
  .background-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .run-stats {
    min-width: 0;
  }

  .timeline {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 36px 0;
  }

  .timeline::before {
    display: none;
  }

  .screen-grid {
    max-width: 720px;
  }

  .reason-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer nav {
    justify-content: flex-start;
    gap: 24px;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 640px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand {
    gap: 10px;
    font-size: 18px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .mobile-nav {
    inset: 76px 14px auto;
  }

  .hero {
    gap: 34px;
    padding: 34px 0 54px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 62px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

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

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-notes {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .trust-notes div,
  .trust-notes div + div {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-notes div:first-child {
    border-top: 0;
  }

  .hero-icon-panel {
    width: min(86vw, 420px);
  }

  .strategy-section,
  .app-tour-section,
  .pipeline-section,
  .safety-section,
  .media-section,
  .faq-section,
  .background-band {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .matrix-wrap {
    display: none;
  }

  .strategy-cards {
    display: grid;
    gap: 12px;
  }

  .strategy-cards article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-elevated);
  }

  .strategy-cards article > p {
    color: var(--ink);
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
  }

  .strategy-cards h3 {
    margin-top: 8px;
  }

  .strategy-cards article > span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
  }

  .strategy-cards dl {
    display: grid;
    gap: 0;
    margin-top: 14px;
    border-top: 1px solid var(--line);
  }

  .strategy-cards dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }

  .strategy-cards dt,
  .strategy-cards dd {
    font-size: 13px;
    line-height: 1.3;
  }

  .strategy-cards dt {
    color: var(--muted);
  }

  .strategy-cards dd {
    flex: 0 0 auto;
    color: var(--ink);
    font-weight: 800;
  }

  .app-tour-section {
    gap: 42px;
  }

  .tour-copy {
    max-width: none;
  }

  .tour-steps {
    gap: 22px;
    margin-top: 38px;
  }

  .tour-steps h3 {
    font-size: 20px;
  }

  .screen-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .screen-card {
    display: grid;
    grid-template-columns: minmax(150px, 0.78fr) minmax(0, 1fr);
    gap: 18px;
    align-items: end;
  }

  .screen-frame {
    width: min(100%, 210px);
    margin-bottom: 0;
    border-radius: 30px;
  }

  .pipeline-heading {
    gap: 28px;
  }

  .run-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .run-stats div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .run-stats div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .timeline li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .timeline li > span {
    grid-row: span 2;
    align-self: start;
  }

  .timeline h3 {
    margin-top: 0;
    min-height: 0;
  }

  .timeline p {
    grid-column: 2;
  }

  .reason-grid,
  .media-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .reason-grid,
  .media-grid {
    border-left: 0;
  }

  .reason-grid article,
  .media-grid article {
    min-height: auto;
    padding: 22px 0;
    border-right: 0;
  }

  .background-band {
    width: calc(100% - 28px);
    padding: 30px 20px;
  }

  .faq-grid {
    gap: 0;
  }

  details:nth-last-child(2) {
    border-bottom: 0;
  }

  .site-footer {
    gap: 22px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 16px 22px;
  }
}
