
:root {
  --ink: #101827;
  --paper: #f7f4ed;
  --cream: #fffdf7;
  --line: #d8d2c6;
  --lime: #c9ff3d;
  --blue: #2559ff;
  --muted: #5c6472;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark, .header-link, .primary-button, .secondary-button { text-decoration: none; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; letter-spacing: -0.02em; }
.mark { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 13px; letter-spacing: .04em; }
.header-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--ink); }

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 28px 104px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: 72px;
  align-items: center;
}
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(3.2rem, 7vw, 6.9rem); line-height: .91; letter-spacing: -.065em; font-weight: 800; }
.lede { max-width: 700px; margin-bottom: 32px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.primary-button { min-height: 50px; padding: 14px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--ink); color: white; border: 1px solid var(--ink); font-weight: 800; border-radius: 2px; transition: transform .15s ease, background .15s ease; }
.primary-button:hover { transform: translateY(-2px); background: var(--blue); }
.secondary-button { min-height: 50px; padding: 13px 4px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--ink); font-weight: 800; }
.primary-button:focus-visible, .secondary-button:focus-visible, .header-link:focus-visible, .wordmark:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.availability { font-size: 14px; font-weight: 700; color: var(--muted); }

.audit-card { background: var(--cream); border: 1px solid var(--ink); box-shadow: 16px 16px 0 var(--lime); padding: 22px; transform: rotate(1.2deg); }
.audit-topline { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; font-size: 13px; font-weight: 750; }
.severity { background: #ff5a4f; color: white; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.browser-frame { border: 1px solid var(--ink); background: white; margin-bottom: 22px; }
.browser-bar { height: 24px; border-bottom: 1px solid var(--ink); display: flex; align-items: center; gap: 5px; padding: 0 8px; }
.browser-bar i { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }
.mock-page { position: relative; padding: 24px 20px; min-height: 220px; }
.mock-line, .mock-field, .mock-button { display: block; background: #dfe4ed; border-radius: 2px; }
.mock-line.long { width: 78%; height: 15px; margin-bottom: 9px; }
.mock-line.short { width: 48%; height: 9px; margin-bottom: 24px; }
.mock-panel { position: relative; border: 1px solid #c9cfda; padding: 15px; display: grid; gap: 9px; }
.mock-field { height: 28px; }
.mock-button { height: 34px; width: 55%; background: var(--blue); }
.issue-ring { position: absolute; right: 24px; bottom: -12px; width: 30px; height: 30px; border-radius: 50%; background: #ff5a4f; color: white; display: grid; place-items: center; font-weight: 850; }
.audit-card h2 { font-size: 22px; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 10px; }
.audit-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.scope-section, .report-section { padding: 88px max(28px, calc((100vw - 1124px) / 2)); }
.scope-section { background: var(--ink); color: white; }
.section-heading { display: grid; grid-template-columns: .7fr 1.5fr 1fr; gap: 36px; align-items: start; margin-bottom: 64px; }
.section-heading h2, .report-intro h2, footer h2 { font-size: clamp(2rem, 4vw, 3.9rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 0; }
.section-heading > p:last-child { color: #aab1bf; }
.scope-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 64px; align-items: stretch; }
.scope-list { border-top: 1px solid #475063; }
.scope-row { min-height: 66px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #475063; font-size: 18px; }
.check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.price-card { background: var(--lime); color: var(--ink); padding: 30px; display: flex; flex-direction: column; }
.price-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.price-card strong { display: block; font-size: 74px; line-height: 1; letter-spacing: -.07em; margin: 18px 0; }
.price-card p { margin-bottom: 0; }
.price-card .turnaround { margin-top: auto; padding-top: 36px; font-weight: 750; }

.report-section { background: var(--cream); }
.report-intro { max-width: 730px; margin-bottom: 56px; }
.report-intro svg { color: var(--blue); margin-bottom: 24px; }
.report-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.report-grid article { padding: 28px 26px 18px 0; border-right: 1px solid var(--line); }
.report-grid article:not(:first-child) { padding-left: 26px; }
.report-grid article:last-child { border-right: 0; }
.item-number { color: var(--blue); font-weight: 850; font-size: 13px; }
.report-grid h3 { margin: 26px 0 10px; font-size: 21px; }
.report-grid p { color: var(--muted); font-size: 15px; }
.resource-strip { margin-top: 48px; padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.resource-strip h3 { margin: 0 0 4px; font-size: 24px; letter-spacing: -.025em; }
.resource-strip p { margin-bottom: 0; color: var(--muted); }
.resource-strip .eyebrow { margin-bottom: 8px; color: var(--ink); font-size: 11px; }
.resource-strip.compact { margin-top: 0; border-top: 0; }

.checklist-main { max-width: 1040px; margin: 0 auto; padding: 72px 28px 96px; }
.checklist-intro { max-width: 790px; margin-bottom: 48px; }
.checklist-main h1 { max-width: 920px; font-size: clamp(3rem, 7vw, 6rem); }
.checklist-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.checklist-meta span { padding: 5px 9px; background: var(--cream); border: 1px solid var(--line); font-size: 13px; font-weight: 750; }
.quick-checks { counter-reset: launch-check; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.quick-check { counter-increment: launch-check; min-height: 170px; padding: 28px; background: var(--cream); }
.quick-check::before { content: counter(launch-check, decimal-leading-zero); display: block; margin-bottom: 28px; color: var(--blue); font-size: 13px; font-weight: 850; }
.quick-check h2 { margin-bottom: 9px; font-size: 21px; line-height: 1.15; letter-spacing: -.025em; }
.quick-check p { margin: 0; color: var(--muted); font-size: 15px; }
.checklist-callout { margin-top: 42px; padding: 32px; background: var(--ink); color: white; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.checklist-callout h2 { margin-bottom: 8px; font-size: 28px; }
.checklist-callout p { margin: 0; max-width: 620px; color: #c9d0dc; }

.builder-main { max-width: 1180px; margin: 0 auto; padding: 64px 28px 96px; }
.builder-intro { max-width: 790px; margin-bottom: 42px; }
.builder-main h1 { max-width: 940px; font-size: clamp(3rem, 7vw, 6rem); }
.builder-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 32px; align-items: start; }
.builder-panel, .preview-panel { background: var(--cream); border: 1px solid var(--ink); padding: 28px; }
.builder-panel { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.builder-panel label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
.builder-panel input, .builder-panel select, .builder-panel textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #9ca5b2; border-radius: 0; background: white; color: var(--ink); font: inherit; }
.builder-panel textarea { min-height: 104px; resize: vertical; }
.builder-panel input:focus-visible, .builder-panel select:focus-visible, .builder-panel textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.builder-actions, .preview-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.builder-actions button, .preview-actions button { cursor: pointer; }
.preview-panel { position: sticky; top: 20px; box-shadow: 10px 10px 0 var(--lime); }
.preview-panel h2 { margin-bottom: 10px; font-size: 24px; }
.local-note { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.report-output { min-height: 420px; margin: 0 0 18px; padding: 18px; overflow: auto; white-space: pre-wrap; border: 1px solid var(--line); background: white; color: var(--ink); font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.status-message { min-height: 24px; margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.toolkit-main { overflow: hidden; }
.toolkit-hero { max-width: 1180px; margin: 0 auto; padding: 82px 28px 96px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 72px; align-items: center; }
.toolkit-hero h1 { font-size: clamp(3.2rem, 7vw, 6.6rem); }
.toolkit-note { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.toolkit-card { padding: 28px; background: var(--ink); color: white; box-shadow: 16px 16px 0 var(--lime); display: grid; grid-template-columns: 1fr auto; gap: 16px 22px; align-items: baseline; }
.toolkit-card .eyebrow { grid-column: 1 / -1; color: var(--lime); }
.toolkit-card strong { font-size: 48px; line-height: 1; letter-spacing: -.05em; }
.toolkit-card span { color: #c9d0dc; font-weight: 750; }
.toolkit-proof { padding: 88px max(28px, calc((100vw - 1124px) / 2)); background: var(--cream); }
.toolkit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.toolkit-grid article { min-height: 240px; padding: 30px; background: var(--cream); }
.toolkit-grid h3 { margin: 26px 0 10px; font-size: 24px; letter-spacing: -.025em; }
.toolkit-grid p { margin: 0; color: var(--muted); }
.toolkit-license { max-width: 1124px; margin: 0 auto; padding: 76px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.toolkit-license h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.045em; }
.toolkit-license > p { margin: 0; color: var(--muted); font-size: 18px; }

.fit-section { max-width: 1124px; margin: 0 auto; padding: 78px 0; display: grid; grid-template-columns: .7fr 1.5fr; gap: 64px; border-top: 1px solid var(--line); }
.fit-section h2 { margin: 14px 0 0; font-size: 30px; letter-spacing: -.035em; }
.fit-section p { margin: 0; font-size: 19px; color: var(--muted); }

footer { background: var(--blue); color: white; padding: 72px max(28px, calc((100vw - 1124px) / 2)); display: flex; align-items: end; justify-content: space-between; gap: 48px; }
footer > div { max-width: 700px; }
.legal-note { max-width: 650px; margin: 22px 0 0; color: #d8e0ff; font-size: 13px; line-height: 1.55; }

.sample-main { max-width: 1040px; margin: 0 auto; padding: 72px 28px 96px; }
.sample-main h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 6rem); }
.sample-intro { max-width: 760px; margin-bottom: 56px; }
.sample-badge { display: inline-block; margin-bottom: 18px; padding: 6px 10px; background: var(--lime); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.finding { margin: 0 0 42px; padding: 30px; background: var(--cream); border: 1px solid var(--ink); }
.finding-head { display: flex; justify-content: space-between; gap: 24px; align-items: start; margin-bottom: 22px; }
.finding h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.035em; }
.finding img { display: block; width: 100%; height: auto; border: 1px solid var(--line); margin: 20px 0; }
.finding dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 20px; margin: 24px 0 0; }
.finding dt { font-weight: 800; }
.finding dd { margin: 0; color: var(--muted); }
.sample-limits { padding: 28px; border: 1px solid var(--line); color: var(--muted); }
.primary-button.light { background: white; color: var(--ink); border-color: white; flex: none; }
.primary-button.light:hover { background: var(--lime); border-color: var(--lime); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 62px; gap: 56px; }
  .audit-card { max-width: 520px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .scope-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr 1fr; }
  .report-grid article:nth-child(2) { border-right: 0; }
  .report-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fit-section { margin: 0 28px; grid-template-columns: 1fr; gap: 28px; }
  footer { align-items: start; flex-direction: column; }
  .resource-strip, .checklist-callout { align-items: start; flex-direction: column; }
  .builder-layout { grid-template-columns: 1fr; }
  .preview-panel { position: static; }
  .toolkit-hero { grid-template-columns: 1fr; gap: 54px; }
  .toolkit-license { margin: 0 28px; grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 540px) {
  .site-header { padding: 18px 20px; }
  .header-link { font-size: 0; }
  .header-link svg { width: 22px; height: 22px; }
  .hero { padding: 54px 20px 76px; }
  h1 { font-size: clamp(3.05rem, 16vw, 4.5rem); }
  .lede { font-size: 18px; }
  .primary-button { width: 100%; }
  .audit-card { box-shadow: 9px 9px 0 var(--lime); }
  .scope-section, .report-section { padding: 66px 20px; }
  .report-grid { grid-template-columns: 1fr; }
  .report-grid article, .report-grid article:not(:first-child) { border-right: 0; border-top: 1px solid var(--line); padding: 24px 0 14px; }
  .report-grid article:first-child { border-top: 0; }
  .fit-section { margin: 0 20px; padding: 60px 0; }
  footer { padding: 60px 20px; }
  .sample-main { padding: 54px 20px 72px; }
  .finding { padding: 22px; }
  .finding-head { display: block; }
  .finding dl { grid-template-columns: 1fr; gap: 3px; }
  .finding dd { margin-bottom: 12px; }
  .resource-strip { align-items: stretch; }
  .checklist-main { padding: 54px 20px 72px; }
  .quick-checks { grid-template-columns: 1fr; }
  .quick-check { min-height: 0; }
  .builder-main { padding: 54px 20px 72px; }
  .field-row { grid-template-columns: 1fr; }
  .builder-panel, .preview-panel { padding: 22px; }
  .toolkit-hero { padding: 54px 20px 76px; }
  .toolkit-card { box-shadow: 9px 9px 0 var(--lime); }
  .toolkit-proof { padding: 66px 20px; }
  .toolkit-grid { grid-template-columns: 1fr; }
  .toolkit-grid article { min-height: 0; }
  .toolkit-license { margin: 0 20px; padding: 60px 0; }
}

@media print {
  .site-header, .checklist-callout { display: none; }
  body { background: white; }
  .checklist-main { max-width: none; padding: 0; }
  .checklist-main h1 { font-size: 34px; }
  .quick-check { min-height: 125px; break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-button { transition: none; }
}
