:root {
  color-scheme: light;
  --page: #eef2f0;
  --paper: #f8faf9;
  --paper-strong: #ffffff;
  --ink: #13201d;
  --muted: #52635f;
  --line: #bdc9c5;
  --accent: #0c7668;
  --accent-dark: #075b50;
  --code: #13221e;
  --code-ink: #d6e9e3;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.58 "Segoe UI", "Noto Sans", Arial, sans-serif;
}

a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
}

.skip-link:focus { top: 16px; }

.site-header {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -.01em;
}

.site-header nav { display: flex; gap: 28px; }
.site-header nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }

main, footer { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  padding: 78px 0 86px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font: 700 12px/1.3 "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3 { text-wrap: balance; }

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(52px, 7vw, 96px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 760;
}

.lede {
  max-width: 59ch;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.actions { display: flex; gap: 12px; margin-top: 34px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button.primary { background: var(--ink); color: white; }
.button.primary:hover { background: var(--accent-dark); color: white; }
.button.secondary { color: var(--ink); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent-dark); }

.trust { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

.hero-visual {
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  filter: saturate(.86) contrast(1.03);
}

.hero-visual figcaption {
  padding: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.proof {
  display: grid;
  grid-template-columns: .9fr 1.6fr;
  gap: 44px;
  align-items: end;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.proof dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof dl div { padding: 0 20px; border-left: 1px solid var(--line); }
.proof dt { font-size: clamp(36px, 5vw, 60px); font-weight: 750; line-height: 1; letter-spacing: -.05em; }
.proof dd { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.section { padding: 110px 0; border-bottom: 1px solid var(--line); }

.section-heading {
  max-width: 880px;
  display: grid;
  grid-template-columns: 1fr;
}

.section-heading > p:last-child {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.output-list {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.output-list article {
  min-height: 260px;
  padding: 32px 30px 34px 0;
  border-bottom: 1px solid var(--line);
}

.output-list article:nth-child(odd) { padding-right: 48px; }
.output-list article:nth-child(even) { padding-left: 48px; border-left: 1px solid var(--line); }
.output-list article > span { color: var(--accent); font: 700 12px/1 "Cascadia Code", Consolas, monospace; }
.output-list h3 { margin: 24px 0 12px; font-size: 27px; letter-spacing: -.025em; }
.output-list p { max-width: 54ch; color: var(--muted); }
.output-list a { display: inline-block; margin-top: 10px; font-weight: 700; }

.workflow ol {
  list-style: none;
  margin: 58px 0 0;
  padding: 0;
  counter-reset: workflow;
  border-top: 1px solid var(--line);
}

.workflow li {
  counter-increment: workflow;
  display: grid;
  grid-template-columns: 70px 180px 1fr;
  gap: 26px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.workflow li::before {
  content: "0" counter(workflow);
  color: var(--accent);
  font: 700 12px/1 "Cascadia Code", Consolas, monospace;
}

.workflow li strong { font-size: 22px; }
.workflow li span { color: var(--muted); }

.terminal-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.terminal-section h2 { font-size: clamp(38px, 5vw, 68px); }
.terminal-section p:last-child { color: var(--muted); }

pre {
  margin: 0;
  padding: 32px;
  overflow: auto;
  background: var(--code);
  color: var(--code-ink);
  border-left: 5px solid var(--accent);
  font: 14px/1.75 "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

pre span { color: #62d2ba; }

.boundary {
  max-width: 1000px;
  margin-left: 0;
}

.boundary > p:not(.eyebrow) {
  max-width: 68ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.boundary-links { display: flex; gap: 28px; margin-top: 30px; }
.boundary-links a { font-weight: 700; }

footer {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p { margin: 5px 0 0; color: var(--muted); }
footer > div:last-child { display: flex; gap: 22px; }

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

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 60px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { max-width: 760px; }
  .proof { grid-template-columns: 1fr; }
  .terminal-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; padding: 18px 0; }
  .site-header nav { justify-content: flex-end; flex-wrap: wrap; gap: 8px 16px; }
  .site-header nav a:nth-child(-n+2) { display: none; }
  main, footer, .site-header { width: min(100% - 24px, var(--max)); }
  .hero { padding: 46px 0 64px; gap: 38px; }
  h1 { font-size: clamp(46px, 15vw, 70px); }
  .actions { align-items: stretch; flex-direction: column; }
  .proof dl { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .section { padding: 76px 0; }
  .output-list { grid-template-columns: 1fr; }
  .output-list article,
  .output-list article:nth-child(odd),
  .output-list article:nth-child(even) {
    min-height: 0;
    padding: 28px 0;
    border-left: 0;
  }
  .workflow li { grid-template-columns: 46px 1fr; gap: 12px; }
  .workflow li span { grid-column: 2; }
  pre { padding: 22px 18px; font-size: 12px; }
  .boundary-links, footer, footer > div:last-child { flex-direction: column; }
  footer { align-items: flex-start; justify-content: center; gap: 28px; padding: 46px 0; }
}
