:root {
  --paper: #f2f1ee;
  --ink: #1e1e20;
  --ink-muted: #53514d;
  --rule: #1e1e20ad;
  --rule-strong: #1e1e20;
  --link: #456f9d;
  --link-hover: #294b6c;
  --focus: #345f87;
  --font-display: "Neue Haas Grotesk Display Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "Neue Haas Grotesk Text Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  text-rendering: optimizelegibility;
}

body {
  background: var(--paper);
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  font-kerning: normal;
  font-synthesis: none;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--link);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  border-radius: 0;
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 9px 12px;
  transform: translateY(-160%);
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  width: calc(100% - clamp(64px, 7.2vw, 96px));
  max-width: 1500px;
  margin: 0 auto;
}

.masthead {
  display: flex;
  position: relative;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(18px, 2.1vw, 24px);
  padding: 28px 0 25px;
  border-bottom: 2px solid var(--rule-strong);
}

.brand {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(68px, 9vw, 124px);
  font-weight: 700;
  letter-spacing: -.048em;
  line-height: .88;
  white-space: nowrap;
  word-spacing: -.025em;
}

.brand:hover { color: var(--ink); text-decoration: none; }
.masthead picture { display: contents; }

.produce-mark {
  flex: none;
  width: auto;
  height: clamp(49px, 6.5vw, 90px);
  margin: 0 clamp(5px, .7vw, 9px) clamp(6px, .83vw, 11px) auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.utility-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 9px;
  border-bottom: 2px solid var(--rule-strong);
  font-size: 12.5px;
  line-height: 1.25;
}

.utility-band p,
.utility-band nav { margin: 0; }

.utility-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 16px;
}

.utility-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
}

.hero {
  padding: clamp(30px, 4.9vw, 70px) 0 clamp(28px, 4.1vw, 58px);
  border-bottom: 3px solid var(--rule-strong);
}

.eyebrow,
.section-label,
.kicker {
  margin: 0;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1240px;
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(54px, 8.4vw, 112px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .88;
  text-wrap: balance;
}

.hero .deck {
  max-width: 900px;
  margin: 22px 0 0;
  font-size: clamp(19px, 2.2vw, 29px);
  letter-spacing: -.018em;
  line-height: 1.16;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px 22px;
  margin-top: 24px;
}

.button-link {
  display: inline-block;
  padding: 10px 14px 11px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  line-height: 1.2;
}

.button-link:hover {
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}

.text-link { font-weight: 700; }

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  margin: 19px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
}

.notice {
  display: grid;
  grid-template-columns: minmax(120px, 17fr) 83fr;
  padding: 14px 0 15px;
  border-bottom: 1px solid var(--rule-strong);
  font-size: 13px;
  line-height: 1.42;
}

.notice strong {
  padding-right: 18px;
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.notice p { max-width: 1000px; margin: 0; }

.content-section {
  display: grid;
  grid-template-columns: minmax(165px, 22fr) 78fr;
  gap: clamp(24px, 4.5vw, 72px);
  padding: clamp(28px, 4.2vw, 58px) 0;
  border-top: 2px solid var(--rule-strong);
}

.hero + .content-section,
.notice + .content-section { border-top: 0; }

.section-body { min-width: 0; }

.section-body > :first-child { margin-top: 0; }
.section-body > :last-child { margin-bottom: 0; }

.section-body h2,
.cta-panel h2 {
  max-width: 980px;
  margin: 0 0 19px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.3vw, 72px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .94;
  text-wrap: balance;
}

.section-body h3,
.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1;
}

.section-body h4 {
  margin: 24px 0 6px;
  font-size: 15px;
  line-height: 1.25;
}

.lead {
  max-width: 870px;
  margin: 0 0 24px;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -.012em;
  line-height: 1.28;
}

.prose { max-width: 790px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li + li { margin-top: 7px; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 25px;
  border-top: 2px solid var(--rule-strong);
  border-left: 1px solid var(--rule);
}

.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  min-width: 0;
  padding: 18px 19px 21px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.card p { margin: 0; }
.card ul { margin: 10px 0 0; padding-left: 18px; }
.card li + li { margin-top: 5px; }

.step-list {
  margin: 27px 0 0;
  padding: 0;
  border-top: 2px solid var(--rule-strong);
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0 18px;
  border-bottom: 1px solid var(--rule);
  counter-increment: steps;
}

.step-list li::before {
  content: counter(steps, decimal-leading-zero);
  color: var(--ink-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: .06em;
}

.step-list h3 { margin-bottom: 6px; }
.step-list p { max-width: 780px; margin: 0; }

.table-wrap {
  max-width: 100%;
  margin: 25px 0 0;
  overflow-x: auto;
  border-top: 2px solid var(--rule-strong);
}

.matrix {
  width: 100%;
  min-width: 790px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.34;
}

.matrix caption {
  padding: 9px 0 10px;
  text-align: left;
  color: var(--ink-muted);
  font-size: 12px;
}

.matrix th,
.matrix td {
  padding: 10px 16px 11px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.matrix thead th {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.15;
  text-transform: uppercase;
}

.matrix tbody th { width: 18%; font-weight: 700; }
.matrix th:last-child, .matrix td:last-child { padding-right: 0; }

.scroll-note {
  display: none;
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 11px;
}

.callout {
  max-width: 900px;
  margin-top: 26px;
  padding: 17px 19px 19px;
  border: 2px solid var(--rule-strong);
}

.callout h3 { margin-bottom: 7px; }
.callout p { margin: 0; }
.callout p + p { margin-top: 10px; }

.template {
  margin: 25px 0 0;
  border-top: 2px solid var(--rule-strong);
}

.template summary {
  padding: 12px 0;
  cursor: pointer;
  font-weight: 700;
}

.template pre {
  max-width: 100%;
  margin: 0 0 22px;
  overflow-x: auto;
  padding: 16px;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, .26);
  font: 13px/1.48 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.source-list {
  margin: 22px 0 0;
  padding: 0;
  border-top: 2px solid var(--rule-strong);
  list-style: none;
}

.source-list li {
  padding: 10px 0 11px;
  border-bottom: 1px solid var(--rule);
}

.source-list small {
  display: block;
  margin-top: 2px;
  color: var(--ink-muted);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
  align-items: end;
  gap: clamp(28px, 5vw, 78px);
  padding: clamp(29px, 4.5vw, 62px) 0;
  border-top: 3px solid var(--rule-strong);
}

.cta-panel p { max-width: 770px; margin: 0; }
.cta-panel .hero-actions { margin-top: 0; justify-content: flex-start; }

.site-footer {
  padding: 18px 0 30px;
  border-top: 3px solid var(--rule-strong);
  font-size: 12.5px;
  letter-spacing: -.01em;
  line-height: 1.45;
}

.site-footer p { margin: 0 0 9px; }
.site-footer p:last-child { margin-bottom: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }

.muted { color: var(--ink-muted); }
.nowrap { white-space: nowrap; }
.fine-print { font-size: 12.5px; }

@media (max-width: 899px) {
  .page-shell { width: calc(100% - 40px); }
  .masthead { padding: 24px 0 22px; }
  .brand { font-size: clamp(59px, 10.2vw, 86px); }
  .produce-mark { height: clamp(42px, 7.3vw, 62px); }
  .utility-band { align-items: flex-start; flex-direction: column; gap: 7px; }
  .utility-nav { justify-content: flex-start; }
  .content-section { grid-template-columns: 1fr; gap: 13px; }
  .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel { grid-template-columns: 1fr; align-items: start; }
  .cta-panel .hero-actions { margin-top: 3px; }
}

@media (max-width: 679px) {
  .page-shell { width: calc(100% - 36px); }
  .masthead { align-items: end; padding: 20px 0 12px; border-bottom-width: 3px; }
  .brand { width: min-content; font-size: clamp(48px, 14.8vw, 58px); line-height: .86; white-space: normal; }
  .produce-mark { height: clamp(70px, 21vw, 86px); margin-bottom: 3px; }
  .utility-band { padding: 7px 0 8px; font-size: 11.5px; }
  .utility-nav { gap: 5px 12px; }
  .hero { padding: 29px 0 31px; }
  .hero h1 { font-size: clamp(47px, 14.2vw, 62px); }
  .hero .deck { margin-top: 17px; font-size: 19px; }
  .hero-actions { align-items: flex-start; flex-direction: column; margin-top: 20px; }
  .page-meta { align-items: flex-start; flex-direction: column; gap: 2px; }
  .notice { grid-template-columns: 1fr; gap: 6px; padding: 12px 0 13px; }
  .content-section { padding: 31px 0 35px; }
  .section-body h2, .cta-panel h2 { font-size: clamp(38px, 11.7vw, 50px); }
  .lead { font-size: 19px; }
  .cards, .cards.three { grid-template-columns: 1fr; }
  .step-list li { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; }
  .scroll-note { display: block; }
  .matrix { font-size: 13px; }
  .cta-panel { padding: 32px 0 37px; }
  .site-footer { padding: 16px 0 26px; border-top-width: 2px; font-size: 13px; }
}

@media (max-width: 359px) {
  .page-shell { width: calc(100% - 30px); }
}

@media print {
  .skip-link, .produce-mark, .utility-band, .hero-actions, .cta-panel { display: none; }
  .page-shell { width: 100%; max-width: none; }
  a { color: inherit; text-decoration: underline; }
  .content-section { break-inside: avoid; }
}

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

@media (prefers-contrast: more) {
  :root { --rule: #111; --link: #003f9e; }
}
