@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f4f2eb;
  --paper-soft: #eeece4;
  --ink: #1e211f;
  --muted: #5f625c;
  --line: #cfcec5;
  --accent: #b4462b;
  --dark: #202421;
  --dark-muted: #c0c4bc;
  --dark-line: #59605a;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; }
code, pre { font-family: var(--mono); }
::selection { color: var(--paper); background: var(--accent); }
[hidden] { display: none !important; }
.shell { width: min(100% - 64px, 1184px); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 20; padding: 12px 16px; transform: translateY(-150%); background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: translateY(0); }
.nav { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { width: 27px; height: 27px; fill: none; stroke: var(--accent); stroke-width: 2.1; stroke-linecap: square; stroke-linejoin: miter; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13px; font-weight: 600; }
.nav-links a:hover, .site-footer a:hover, .text-link:hover { color: var(--accent); }

.hero { padding-top: 64px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-bottom: 56px; }
.hero-copy { animation: rise-in .5s both ease-out; }
.eyebrow { margin: 0 0 24px; color: var(--muted); font: 600 11px/1.5 var(--mono); letter-spacing: .045em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.hero h1 { margin: 0 0 24px -5px; font-size: clamp(80px, 8.5vw, 116px); line-height: .84; letter-spacing: -.035em; font-weight: 700; }
.hero-tagline { margin: 0; font-size: clamp(34px, 3.35vw, 46px); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; }
.hero-tagline span { color: var(--accent); }
.hero-description { max-width: 440px; margin: 20px 0 0; color: #454943; font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 16px; padding: 0 18px; text-decoration: none; font-size: 13px; font-weight: 650; transition: background-color .18s ease, transform .18s ease; }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--accent); transform: translateY(-2px); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; transition: color .18s ease; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translate(2px, -2px); }
.hero-code { min-width: 0; margin: 0; padding: 8px 0 8px 24px; border-left: 2px solid var(--accent); animation: rise-in .5s .08s both ease-out; }
.code-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: 20px; color: var(--muted); font: 11px/1.5 var(--mono); }
.code-meta > :first-child { text-transform: uppercase; }
pre { max-width: 100%; overflow-x: auto; margin: 0; font: 12px/1.8 var(--mono); tab-size: 4; }
.hero-code pre { line-height: 1.6; }
.code-key { color: var(--accent); font-weight: 600; }
.code-num { color: #7c5a18; }
.proof-summary { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.proof-summary > span { color: var(--muted); font: 11px/1.5 var(--mono); }
.proof-summary p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }

.section-pad { padding: 72px 0; }
h2 { margin: 0; font-size: clamp(32px, 3.5vw, 44px); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; }
h3 { margin: 0; font-size: 18px; line-height: 1.35; letter-spacing: -.01em; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: end; gap: 64px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.heading-aside { max-width: 480px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.heading-aside p { margin: 0 0 16px; }
.heading-aside p:last-child { margin-bottom: 0; }
.heading-aside code { font-size: .9em; }
.language { background: var(--dark); color: #f1f0e9; }
.language .eyebrow, .language .heading-aside { color: var(--dark-muted); }
.language .code-key, .language .code-num { color: #f2a18a; }
.language :focus-visible { outline-color: #f2a18a; }
.walkthrough { margin-top: 40px; }
.walkthrough-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--dark-line); }
.file-label { margin: 8px 0 0; color: var(--dark-muted); font: 12px/1.5 var(--mono); }
.walkthrough-tabs { display: none; gap: 4px; }
.has-js .walkthrough-tabs { display: flex; }
.walkthrough-tabs button { min-height: 44px; min-width: 72px; border: 0; background: transparent; color: var(--dark-muted); cursor: pointer; font-size: 13px; transition: background .18s ease, color .18s ease; }
.walkthrough-tabs button:hover { color: #fff; background: #303631; }
.walkthrough-tabs button[aria-pressed="true"] { color: #fff; box-shadow: inset 0 -2px #f2a18a; }
.example-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 64px; padding-block: 24px; }
.example-code { min-height: 30.6em; font-size: 13px; }
.example-copy { min-width: 0; padding-top: 4px; }
.example-title { margin: 0 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.example-copy > p:not(.example-title) { margin: 0; color: var(--dark-muted); font-size: 15px; line-height: 1.7; }
.example-results { margin: 24px 0 20px; }
.example-results > div { display: grid; grid-template-columns: minmax(110px, .85fr) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--dark-line); font-size: 13px; line-height: 1.55; }
.example-results dt { color: var(--dark-muted); }
.example-results dd { margin: 0; overflow-wrap: anywhere; }
.example-results code { font-size: 12px; }
.example-copy .example-note { font-size: 12px !important; }
.walkthrough-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; border-top: 1px solid var(--dark-line); color: var(--dark-muted); font-size: 12px; line-height: 1.6; }
.walkthrough-foot a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: #f1f0e9; }
.contract-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 64px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--dark-line); }
.contract-note h3 { max-width: 330px; }
.contract-note p { margin: 0; color: var(--dark-muted); font-size: 14px; line-height: 1.7; }

.feature-list { margin-top: 40px; }
.feature-row { display: grid; grid-template-columns: 32px minmax(0, .8fr) minmax(0, 1fr); gap: 24px; padding: 24px 0 16px; border-top: 1px solid var(--line); }
.row-number { padding-top: 3px; color: var(--accent); font: 12px/1.5 var(--mono); }
.feature-row p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.feature-row .text-link { margin-top: 4px; }
.workflow-run { margin-top: 24px; padding: 24px; background: var(--paper-soft); }
.workflow-run > div { display: flex; justify-content: space-between; gap: 32px; align-items: baseline; }
.workflow-run > div > p { max-width: 540px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.workflow-run pre { margin-top: 24px; font-size: 13px; }
.small-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.scope { background: var(--paper-soft); }
.compilation-path { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 40px; padding-block: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 14px/1.6 var(--mono); }
.compilation-path > [aria-hidden] { color: var(--accent); }
.path-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.preview-details { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; }
.preview-details p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.preview-details .text-link { margin-top: 8px; }

.start-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 72px; }
.start-intro > p:not(.eyebrow) { max-width: 420px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.start-intro .prerequisite { font-size: 13px !important; }
.start-intro .text-link { margin-top: 8px; }
.start-commands { min-width: 0; }
.command-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-top: -8px; margin-bottom: 8px; color: var(--muted); font: 12px/1.5 var(--mono); }
.copy-button { min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--ink); font: 12px/1.5 var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.copy-button:hover { color: var(--accent); }
.start-commands pre { padding: 20px; background: var(--paper-soft); }
.command-result { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.command-result > span { color: var(--muted); }
.command-result > span:first-child { font: 11px/1.6 var(--mono); text-transform: uppercase; }
.next-command { margin: 24px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.copy-status { display: block; margin-top: 8px; font-size: 12px; line-height: 1.6; }
.resource-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.resource-list a { display: flex; flex-direction: column; gap: 8px; padding-block: 16px; border-top: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600; }
.resource-list a > span { color: var(--muted); font-size: 12px; font-weight: 400; }
.resource-list a:hover { color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; font-size: 12px; color: var(--muted); }
.footer-inner p { margin: 0; }
.footer-inner a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.footer-brand { color: var(--ink); font-size: 14px; font-weight: 700; }
.footer-brand > span { color: var(--muted); font: 11px/1.5 var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(72px, 9vw, 88px); }
  .hero-tagline { font-size: clamp(28px, 3.4vw, 34px); }
  .hero-code { padding-left: 16px; }
  .hero-code pre { font-size: 11px; }
  .section-heading, .example-body, .contract-note, .preview-details { gap: 32px; }
  .example-copy { min-height: 520px; }
  .start-grid { gap: 40px; }
  .workflow-run > div { display: block; }
  .workflow-run > div > p { margin-top: 12px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .nav { min-height: 68px; gap: 16px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 12px; }
  .hero { padding-top: 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 32px; }
  .hero-copy { max-width: 520px; }
  .hero h1 { margin-left: -3px; font-size: clamp(80px, 15vw, 104px); }
  .hero-tagline { font-size: clamp(34px, 6.6vw, 44px); }
  .hero-description { max-width: 450px; }
  .hero-code pre { font-size: 12px; }
  .section-pad { padding: 48px 0; }
  h2 { font-size: 34px; }
  .section-heading, .example-body, .contract-note, .preview-details, .start-grid { grid-template-columns: 1fr; gap: 24px; }
  .heading-aside { max-width: 60ch; }
  .walkthrough { margin-top: 32px; }
  .example-code { min-height: 30.6em; font-size: 12px; }
  .example-copy { padding-top: 16px; border-top: 1px solid var(--dark-line); min-height: 435px; }
  .example-results > div { grid-template-columns: 1fr 1fr; }
  .contract-note { gap: 12px; margin-top: 24px; }
  .contract-note h3 { max-width: none; }
  .feature-list { margin-top: 32px; }
  .feature-row { grid-template-columns: 24px minmax(0, 1fr); gap: 8px 16px; padding: 20px 0 12px; }
  .feature-row > div { grid-column: 2; }
  .feature-row h3 { font-size: 17px; }
  .workflow-run { padding: 20px; }
  .workflow-run pre { font-size: 12px; }
  .compilation-path { gap: 16px; margin-top: 32px; font-size: 12px; }
  .preview-details { margin-top: 32px; }
  .start-grid { gap: 32px; }
  .start-intro > p:not(.eyebrow) { max-width: 60ch; }
  .start-commands pre { padding: 16px; }
  .resource-list { gap: 20px; margin-top: 32px; }
  .footer-inner { flex-wrap: wrap; gap: 0 24px; justify-content: flex-start; }
  .footer-inner p { flex-basis: 100%; order: 4; padding-block: 8px; }
}

@media (max-width: 440px) {
  .nav-links { gap: 16px; }
  .nav-links a:first-child { display: none; }
  .brand { gap: 8px; font-size: 18px; }
  .brand-mark { width: 24px; height: 24px; }
  .hero .eyebrow { margin-bottom: 24px; font-size: 10px; }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 8px 20px; }
  .button, .hero-actions .text-link { font-size: 12px; }
  .code-meta { flex-direction: column; }
  .hero-code { padding-left: 12px; }
  .hero-code pre { font-size: 12px; }
  .proof-summary p { font-size: 13px; }
  .walkthrough-head { align-items: flex-start; gap: 12px; }
  .walkthrough-head h3 { font-size: 17px; }
  .file-label { font-size: 10px; }
  .walkthrough-tabs button { min-width: 60px; font-size: 12px; }
  .example-title { font-size: 20px; }
  .example-copy { min-height: 510px; }
  .example-copy > p:not(.example-title), .heading-aside, .feature-row p { font-size: 14px; }
  .compilation-path { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 16px 8px; }
  .compilation-path > :nth-child(4) { display: none; }
  .resource-list { grid-template-columns: 1fr; gap: 0; }
  .resource-list a { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
