:root {
  --ink: #171713;
  --paper: #f4f2e9;
  --white: #fffef8;
  --lime: #c9ff36;
  --violet: #bba8ff;
  --orange: #d94f35;
  --muted: #68675f;
  --line: #d7d4c8;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: "Manrope", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
code, pre { font-family: var(--mono); }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  background: var(--lime);
  color: var(--ink);
  left: 16px;
  padding: 12px 16px;
  position: fixed;
  top: -80px;
  z-index: 100;
}
.skip-link:focus { top: 16px; }

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1440px;
  padding: 20px 5vw;
}
.brand {
  align-items: center;
  display: inline-flex;
  font-size: 19px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: -.04em;
  text-decoration: none;
}
.site-header nav {
  align-items: center;
  display: flex;
  gap: 30px;
}
.site-header nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.site-header nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta {
  background: var(--ink);
  color: var(--white);
  padding: 11px 18px;
}
.menu-button {
  background: var(--ink);
  border: 0;
  color: var(--white);
  cursor: pointer;
  display: none;
  min-height: 44px;
  padding: 10px 15px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(46px, 6vw, 96px);
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: 760px;
  padding: clamp(68px, 8vw, 116px) 5vw;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  margin: 0 0 22px;
  text-transform: uppercase;
}
.hero .eyebrow {
  align-items: center;
  display: flex;
  gap: 9px;
}
.hero .eyebrow span {
  background: var(--orange);
  border-radius: 50%;
  height: 9px;
  width: 9px;
}
h1 {
  font-size: clamp(58px, 6.5vw, 96px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .93;
  margin-bottom: 34px;
}
.lede {
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.62;
  max-width: 620px;
}
.hero-actions {
  align-items: center;
  display: flex;
  gap: 28px;
  margin: 34px 0;
}
.button {
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  text-decoration: none;
}
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--orange); }
.button-light { background: var(--lime); color: var(--ink); }
.text-link {
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 5px;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-list li {
  font-family: var(--mono);
  font-size: 11px;
}
.trust-list li::before {
  content: "✓";
  font-weight: 800;
  margin-right: 7px;
}
.hero-chart {
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--orange);
  margin: 0;
}
.hero-chart img {
  display: block;
  height: auto;
  width: 100%;
}
.hero-chart picture, .primary-result picture { display: block; }
.hero-chart figcaption {
  align-items: center;
  background: var(--ink);
  border-top: 1px solid #41413a;
  color: #c3c2b9;
  display: flex;
  font-size: 11px;
  gap: 16px;
  justify-content: space-between;
  padding: 13px 16px;
}
.hero-chart figcaption a {
  color: var(--white);
  flex: 0 0 auto;
  font-weight: 700;
}

.proof-strip {
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.proof-strip > div {
  min-height: 170px;
  padding: 34px 5vw;
}
.proof-strip > div + div { border-left: 1px solid var(--ink); }
.proof-strip > div:nth-child(1) { background: var(--lime); }
.proof-strip > div:nth-child(2) { background: var(--white); }
.proof-strip > div:nth-child(3) { background: var(--violet); }
.proof-strip strong {
  display: block;
  font-size: clamp(42px, 4.5vw, 70px);
  letter-spacing: -.07em;
  line-height: 1;
}
.proof-strip span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  margin-top: 12px;
  text-transform: uppercase;
}

.section {
  margin: 0 auto;
  max-width: 1440px;
  padding: clamp(78px, 9vw, 130px) 5vw;
}
.section-heading {
  align-items: end;
  display: grid;
  gap: 24px 70px;
  grid-template-columns: .5fr 1.05fr .8fr;
  margin-bottom: 56px;
}
.section-heading .eyebrow { align-self: start; }
.section-heading h2, .install h2, .modes h2, .final-cta h2 {
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .98;
  margin-bottom: 0;
}
.section-heading > p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.results { max-width: 1320px; }
.cache-results { padding-top: 0; }
.primary-result {
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--orange);
  margin: 0;
}
.primary-result img {
  display: block;
  height: auto;
  width: 100%;
}
.primary-result figcaption {
  align-items: center;
  border-top: 1px solid var(--ink);
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  justify-content: space-between;
  padding: 16px 20px;
}
.primary-result figcaption a { font-weight: 700; }

.install {
  background: var(--lime);
  display: grid;
  gap: clamp(50px, 8vw, 110px);
  grid-template-columns: 1.05fr .95fr;
  max-width: none;
  padding-left: max(5vw, calc((100vw - 1440px) / 2 + 5vw));
  padding-right: max(5vw, calc((100vw - 1440px) / 2 + 5vw));
}
.install-copy > p:not(.eyebrow, .install-note) {
  font-size: 18px;
  margin: 28px 0;
  max-width: 650px;
}
.platform-tabs {
  display: flex;
  gap: 8px;
  margin: 36px 0 12px;
}
.platform-tabs button {
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  min-height: 44px;
  padding: 10px 16px;
}
.platform-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--white);
}
.install-command {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--ink);
  display: flex;
  gap: 18px;
  padding: 16px;
}
.install-command code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.copy-button {
  background: var(--ink);
  border: 0;
  color: var(--white);
  cursor: pointer;
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  margin-left: auto;
  min-height: 44px;
  min-width: 60px;
  padding: 10px 14px;
}
.install-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 14px;
}
.install-links a {
  font-size: 12px;
  font-weight: 700;
  text-underline-offset: 4px;
}
.install-note {
  font-size: 12px;
  margin: 18px 0 0;
}
.first-run {
  align-self: center;
  background: var(--ink);
  box-shadow: 14px 14px 0 var(--violet);
  color: var(--white);
  padding: clamp(30px, 5vw, 58px);
}
.tag {
  background: var(--white);
  color: var(--ink);
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  padding: 6px 9px;
  text-transform: uppercase;
}
.tag-lime { background: var(--lime); }
.tag-violet { background: var(--violet); }
.first-run > code {
  color: var(--lime);
  display: block;
  font-size: clamp(17px, 2vw, 24px);
  margin-top: 30px;
}
.first-run p {
  color: #c3c2b9;
  margin: 6px 0 0;
}

.steps {
  background: var(--line);
  border: 1px solid var(--ink);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}
.steps article {
  background: var(--white);
  min-height: 310px;
  padding: clamp(30px, 4vw, 48px);
}
.steps span {
  font-family: var(--mono);
  font-size: 11px;
}
.steps h3 {
  font-size: 24px;
  letter-spacing: -.035em;
  margin: 90px 0 12px;
}
.steps p {
  color: var(--muted);
  margin-bottom: 0;
}

.modes {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 70px;
  grid-template-columns: .8fr 1.2fr;
}
.modes > div:first-child > p:last-child {
  color: var(--muted);
  margin: 28px 0 0;
  max-width: 560px;
}
.mode-list { border-top: 1px solid var(--ink); }
.mode-list article {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 30px;
  grid-template-columns: .8fr 1fr;
  padding: 28px 0;
}
.mode-list article > div {
  align-items: center;
  display: flex;
  gap: 14px;
}
.mode-list h3 { font-size: 24px; margin: 0; }
.mode-list p { color: var(--muted); margin: 0; }

.faq {
  background: var(--white);
  max-width: none;
  padding-left: max(5vw, calc((100vw - 1440px) / 2 + 5vw));
  padding-right: max(5vw, calc((100vw - 1440px) / 2 + 5vw));
}
.faq-list {
  margin-left: auto;
  max-width: 860px;
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  padding: 25px 0;
}
.faq-list p {
  color: var(--muted);
  margin: 0;
  max-width: 720px;
  padding: 0 0 25px;
}

.final-cta {
  background: var(--ink);
  color: var(--white);
  padding: clamp(72px, 9vw, 120px) 5vw;
  text-align: center;
}
.final-cta h2 {
  margin: 0 auto 36px;
  max-width: 900px;
}

footer {
  align-items: center;
  background: var(--ink);
  border-top: 1px solid #41413a;
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 36px 5vw;
}
footer p {
  color: #aaa99f;
  font-size: 12px;
  margin: 0;
  text-align: center;
}
footer nav {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
footer a { font-size: 12px; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-chart { margin: 0 auto; max-width: 820px; width: 100%; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { max-width: 720px; }
  .install { grid-template-columns: 1fr; }
  .first-run { width: 100%; }
  .modes { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { padding: 14px 20px; position: relative; }
  .menu-button { display: inline-flex; }
  .site-header nav {
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    border-top: 1px solid var(--ink);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 10px 20px 20px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 20;
  }
  .site-header nav.open { display: flex; }
  .site-header nav a {
    min-height: 48px;
    padding: 13px 0;
  }
  .site-header .nav-cta {
    margin-top: 8px;
    padding: 13px 16px;
    text-align: center;
  }
  .hero {
    min-height: auto;
    padding: 70px 20px 76px;
  }
  h1 { font-size: clamp(54px, 17vw, 72px); line-height: .95; }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-chart {
    box-shadow: 7px 7px 0 var(--orange);
  }
  .hero-chart figcaption {
    align-items: flex-start;
    flex-direction: column;
  }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip > div { min-height: 140px; padding: 30px 20px; }
  .proof-strip > div + div {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
  .section { padding: 76px 20px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .install h2, .modes h2, .final-cta h2 {
    font-size: clamp(42px, 13vw, 58px);
  }
  .primary-result { box-shadow: 7px 7px 0 var(--orange); }
  .primary-result figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .install {
    padding-left: 20px;
    padding-right: 20px;
  }
  .install-command {
    align-items: flex-start;
    flex-direction: column;
  }
  .copy-button { margin-left: 0; }
  .install-links { flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: auto; }
  .steps h3 { margin-top: 60px; }
  .mode-list article { grid-template-columns: 1fr; }
  .faq {
    padding-left: 20px;
    padding-right: 20px;
  }
  footer { grid-template-columns: 1fr; }
  footer p { text-align: left; }
  footer nav { flex-wrap: wrap; justify-content: flex-start; }
}

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