:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #171715;
  --muted: #6e6a62;
  --line: #bdb7aa;
  --accent: #f2ad7f;
  --panel: #ebe6dc;
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.masthead { min-height: 174px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--ink); }
.wordmark { display: flex; align-items: stretch; text-decoration: none; font-size: clamp(44px, 8vw, 104px); line-height: .82; font-weight: 900; letter-spacing: -.08em; }
.wordmark span { padding: .16em .12em .12em 0; }
.wordmark b { display: block; background: var(--ink); color: var(--paper); padding: .16em .16em .12em .1em; }
.masthead nav { display: flex; gap: 10px; }
.masthead nav a { padding: 12px 16px; border: 1px solid var(--line); text-decoration: none; font: 600 13px/1 ui-monospace, SFMono-Regular, monospace; }
.masthead nav a:hover { background: var(--accent); border-color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 88px); padding: 78px 0 70px; align-items: center; }
.kicker, .eyebrow { margin: 0 0 18px; font: 700 12px/1.2 ui-monospace, SFMono-Regular, monospace; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { margin: 0; font-weight: 500; letter-spacing: -.055em; line-height: .94; }
h1 { font-size: clamp(48px, 7vw, 88px); }
h2 { font-size: clamp(42px, 6vw, 72px); }
h1 em, h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.lede { max-width: 650px; margin: 30px 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.button, button { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 248px; border: 1px solid var(--ink); border-radius: 0; padding: 17px 20px; background: var(--accent); color: var(--ink); font: 600 15px/1 inherit; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { background: var(--ink); color: var(--paper); }
.browser-card { border: 1px solid var(--line); background: var(--panel); }
.browser-top { height: 58px; display: flex; align-items: center; gap: 8px; padding: 0 20px; border-bottom: 1px solid var(--line); font: 600 13px/1 ui-monospace, SFMono-Regular, monospace; }
.browser-top span { margin-right: auto; }
.browser-top i { width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; }
.browser-stage { margin: 34px 22px; min-height: 260px; padding: 34px; border: 1px solid var(--ink); background: #fffefa; box-shadow: 10px 10px 0 #d8d1c5; }
.browser-stage p { margin: 0 0 52px; color: var(--muted); font: 600 12px/1 ui-monospace, SFMono-Regular, monospace; }
.browser-stage strong { display: block; font-size: clamp(26px, 4vw, 42px); letter-spacing: -.04em; }
.challenge-line { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-weight: 600; }
.check { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ink); background: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps li { padding: 16px 8px; border-right: 1px solid var(--line); text-align: center; font: 600 12px/1 ui-monospace, SFMono-Regular, monospace; }
.steps li:last-child { border: 0; }
.steps .active { background: var(--accent); box-shadow: inset 0 -3px var(--ink); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow div { min-height: 142px; padding: 26px 22px; border-right: 1px solid var(--line); }
.flow div:last-child { border: 0; }
.flow strong { display: block; margin-bottom: 14px; font-size: 22px; }
.flow span { color: var(--muted); line-height: 1.45; }
.cases { padding: 100px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 58px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.case-grid a { min-height: 260px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; transition: background .15s ease; }
.case-grid a:hover { background: var(--accent); }
.case-grid span { display: block; margin-bottom: 56px; font: 700 12px/1 ui-monospace, SFMono-Regular, monospace; letter-spacing: .08em; }
.case-grid strong { display: block; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.045em; }
.case-grid p { min-height: 48px; color: var(--muted); line-height: 1.5; }
.case-grid b { font: 600 13px/1 ui-monospace, SFMono-Regular, monospace; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px 0 44px; border-top: 1px solid var(--ink); color: var(--muted); font: 600 12px/1.3 ui-monospace, SFMono-Regular, monospace; }
.case-page { display: grid; place-items: center; padding: 30px 0 70px; }
.case-shell { width: min(920px, calc(100% - 40px)); }
.case-nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--ink); }
.case-nav a { text-decoration: none; font-weight: 700; }
.mini-mark { font-size: 24px; letter-spacing: -.06em; }
.status-pill { padding: 9px 12px; border: 1px solid var(--ink); background: var(--accent); font: 700 11px/1 ui-monospace, SFMono-Regular, monospace; text-transform: uppercase; }
.card { width: 100%; margin-top: 52px; border: 1px solid var(--ink); background: #fffefa; box-shadow: 14px 14px 0 var(--panel); padding: clamp(28px, 6vw, 64px); }
.card h1 { max-width: 720px; font-size: clamp(44px, 7vw, 78px); }
.card > p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: 18px; line-height: 1.6; }
form { display: grid; gap: 22px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
button, input { font: inherit; }
input { width: min(360px, 100%); border: 1px solid var(--ink); border-radius: 0; padding: 14px; background: var(--paper); }
label { display: grid; gap: 10px; font-weight: 700; }
.code { display: inline-block; width: fit-content; padding: 18px 24px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 800 30px/1 ui-monospace, monospace; letter-spacing: .18em; transform: rotate(-1deg); }
[data-status] { min-height: 24px; margin: 0; color: var(--muted); }
.back-link { display: inline-block; margin-top: 24px; font-weight: 700; }
@media (max-width: 760px) {
  .shell { width: min(100% - 24px, 1180px); }
  .masthead { min-height: 120px; align-items: flex-end; padding-bottom: 20px; }
  .wordmark { font-size: clamp(34px, 12vw, 64px); }
  .masthead nav { display: none; }
  .hero, .section-heading { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow div:nth-child(2) { border-right: 0; }
  .flow div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .case-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
