:root {
  --ink: #16231e;
  --ink-soft: #56625c;
  --forest: #133b31;
  --forest-deep: #0b241e;
  --moss: #53705f;
  --terra: #963f28;
  --sun: #efb75f;
  --cream: #f3ede3;
  --paper: #fffdf8;
  --sand: #ded1bf;
  --line: rgba(22, 35, 30, 0.17);
  --content: min(1480px, calc(100% - 72px));
  --reading: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--forest-deep);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 76px;
  padding: 0 max(36px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: 270px minmax(560px, 1fr) 230px;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--forest);
  font: 800 10px/1 Inter, sans-serif;
  letter-spacing: 0.08em;
}
.brand > span:last-child { display: grid; gap: 3px; }
.brand b { font: 600 18px/1 Georgia, "Times New Roman", serif; }
.brand small {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.primary-nav {
  height: 76px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.primary-nav a {
  position: relative;
  padding: 0 18px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  background: transparent;
}
.primary-nav a:hover,
.primary-nav a[aria-current] { color: var(--ink); }
.primary-nav a[aria-current]::after { background: var(--terra); }
.edition-note {
  justify-self: end;
  color: var(--moss);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 104px 0;
}
.section + .section { border-top: 1px solid var(--line); }
.section-kicker,
.eyebrow,
.placement-label {
  display: block;
  color: var(--terra);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section h2,
.page-lead h1 {
  margin: 12px 0 0;
  font: 500 clamp(40px, 4.5vw, 72px)/0.98 Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}
.section-heading { max-width: 980px; margin-bottom: 46px; }
.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.55fr);
  gap: 90px;
  align-items: end;
}
.section-heading--split > p,
.section-heading > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}
.text-link {
  width: fit-content;
  padding-bottom: 4px;
  color: var(--forest);
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.text-link--light { color: #fff; }
.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.button--sun { color: var(--forest-deep); background: var(--sun); }
.button--ink { color: #fff; background: var(--forest-deep); }
.button--outline { color: var(--forest); border-color: var(--forest); background: transparent; }
.button:hover { filter: brightness(0.96); }
.button:focus-visible,
.primary-nav a:focus-visible,
.text-link:focus-visible,
.inspector button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.page-lead {
  width: var(--content);
  margin: 0 auto;
  padding: 112px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.55fr);
  gap: 100px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.page-lead .section-kicker { grid-column: 1 / -1; }
.page-lead h1 { max-width: 940px; font-size: clamp(52px, 6vw, 92px); }
.page-lead p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.hero {
  position: relative;
  min-height: 760px;
  height: calc(100svh - 76px);
  max-height: 940px;
  overflow: hidden;
  color: #fff;
  background: var(--forest-deep);
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 26, 21, 0.86) 0%, rgba(8, 26, 21, 0.55) 42%, rgba(8, 26, 21, 0.06) 74%),
    linear-gradient(0deg, rgba(8, 26, 21, 0.54) 0%, transparent 45%);
}
.hero__content {
  position: absolute;
  bottom: 78px;
  left: max(36px, calc((100vw - 1480px) / 2));
  width: min(850px, calc(100vw - 520px));
}
.hero .eyebrow { color: var(--sun); }
.hero h1 {
  max-width: 840px;
  margin: 18px 0 22px;
  font: 500 clamp(64px, 7.2vw, 112px)/0.88 Georgia, "Times New Roman", serif;
  letter-spacing: -0.055em;
}
.hero__content > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font: 400 18px/1.55 Georgia, "Times New Roman", serif;
}
.hero__meta {
  margin-top: 30px;
  display: flex;
  gap: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__meta span { padding: 0 18px; border-left: 1px solid rgba(255,255,255,0.3); }
.hero__meta span:first-child { padding-left: 0; border-left: 0; }
.hero__actions { margin-top: 32px; display: flex; align-items: center; gap: 24px; }
.hero__folio {
  position: absolute;
  right: max(36px, calc((100vw - 1480px) / 2));
  bottom: 78px;
  width: 230px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.55);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
}
.hero__folio span { color: var(--sun); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.hero__folio b { grid-row: 1 / 3; grid-column: 2; font: 500 68px/.8 Georgia, serif; }
.hero__folio small { color: rgba(255,255,255,.68); font-size: 10px; line-height: 1.5; }

.guide-strip {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.guide-strip div { min-height: 100px; padding: 26px 32px; border-right: 1px solid var(--line); }
.guide-strip div:last-child { border-right: 0; }
.guide-strip b { display: block; font: 500 35px/1 Georgia, serif; }
.guide-strip span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.editorial-intro {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 390px;
  gap: 50px;
  align-items: end;
}
.editorial-intro__number { color: var(--sand); font: 500 132px/.7 Georgia, serif; }
.editorial-intro h2 { max-width: 820px; }
.editorial-intro > p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }

.itinerary-section { padding-top: 0; border-top: 0 !important; }
.itinerary-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.itinerary-card { min-height: 340px; padding: 36px 34px; border-right: 1px solid var(--line); }
.itinerary-card:last-child { border-right: 0; }
.itinerary-card__number { color: var(--terra); font: 700 11px/1 Inter, sans-serif; letter-spacing: .12em; }
.itinerary-card__time { margin-top: 72px !important; color: var(--moss) !important; font-size: 9px !important; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.itinerary-card h3 { margin: 14px 0 16px; font: 500 31px/1.03 Georgia, serif; }
.itinerary-card p { color: var(--ink-soft); font-size: 13px; line-height: 1.7; }

.answer-section { background: var(--cream); }
.answer-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.answer-card { padding: 32px 30px 40px; border-right: 1px solid var(--line); }
.answer-card:last-child { border-right: 0; }
.answer-card__number { color: var(--terra); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.answer-card h3 { margin: 48px 0 18px; font: 500 25px/1.12 Georgia, serif; }
.answer-card p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.topic-index { margin-top: 72px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.topic-index h3 { margin: 12px 0 0; font: 500 34px/1.05 Georgia, serif; }
.keyword-index { margin: 0; padding: 0; list-style: none; counter-reset: keyword; columns: 2; column-gap: 48px; }
.keyword-index li { padding: 13px 0; border-top: 1px solid var(--line); break-inside: avoid; counter-increment: keyword; color: var(--ink-soft); font-size: 12px; }
.keyword-index li::before { content: "0" counter(keyword) " / "; color: var(--terra); font-weight: 800; }
.keyword-index a { display: inline-block; color: var(--ink-soft); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.keyword-index a:hover { color: var(--ink); }

.placement-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.sponsor-card,
.affiliate-card { min-height: 370px; padding: 46px; }
.sponsor-card { color: #fff; background: var(--forest); }
.affiliate-card { border-left: 1px solid var(--line); background: var(--paper); }
.sponsor-card .placement-label { color: var(--sun); }
.sponsor-card h3,
.affiliate-card h3 { margin: 74px 0 16px; font: 500 42px/1 Georgia, serif; }
.sponsor-card p,
.affiliate-card p { max-width: 510px; font-size: 14px; line-height: 1.7; }
.sponsor-card p { color: rgba(255,255,255,.68); }
.sponsor-card .text-link { margin-top: 32px; color: #fff; }
.affiliate-card .button { margin-top: 20px; }
.disclosure { color: var(--ink-soft); font-size: 11px !important; }

.guide-close { display: grid; grid-template-columns: 1fr 300px; gap: 100px; align-items: end; }
.guide-close__quote { max-width: 900px; margin: 0; font: 500 clamp(42px, 5vw, 72px)/1.02 Georgia, serif; letter-spacing: -.03em; }
.guide-close > div { display: grid; gap: 12px; }
.guide-close > div > span { color: var(--moss); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.planner-page {
  min-height: calc(100svh - 76px);
  width: 100%;
  max-width: none;
  padding: 90px max(36px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 90px;
  color: #fff;
  background: var(--forest-deep);
}
.planner__intro { align-self: start; position: sticky; top: 130px; }
.planner__intro h1 { margin: 16px 0 26px; font: 500 clamp(48px, 5vw, 78px)/.98 Georgia, serif; letter-spacing: -.04em; }
.planner__intro > p { max-width: 560px; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.75; }
.truth-callout { margin-top: 50px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.26); border-bottom: 1px solid rgba(255,255,255,.26); display: grid; gap: 7px; }
.truth-callout b { color: var(--sun); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.truth-callout span { color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.6; }
.planner-form { padding: 46px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.18); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.planner-form label > span:first-child,
.choice-fieldset legend { display: block; margin-bottom: 9px; color: rgba(255,255,255,.6); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.planner-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 2px;
}
.planner-form option { color: var(--ink); background: #fff; }
.field-help { margin: 12px 0 0; color: rgba(255,255,255,.46); font-size: 10px; }
.choice-fieldset { margin: 32px 0 0; padding: 0; border: 0; }
.choice-fieldset label { min-height: 64px; margin-top: 10px; padding: 13px 16px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.18); cursor: pointer; }
.choice-fieldset input { accent-color: var(--sun); }
.choice-fieldset label span { display: grid; gap: 4px; }
.choice-fieldset label b { color: #fff; font-size: 12px; }
.choice-fieldset label small { color: rgba(255,255,255,.5); }
.form-submit-row { margin-top: 30px; display: flex; align-items: center; gap: 18px; }
.form-state { color: rgba(255,255,255,.58); font-size: 11px; }
.form-state--success { color: #b8dfc6; }
.form-state--error { color: #ffd0c2; }
.receipt-section { padding-top: 70px; }

.privacy-section { padding-top: 64px; }
.privacy-signal { margin-bottom: 38px; padding: 24px 0; display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.privacy-signal__label { color: var(--terra); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.privacy-signal > div { display: grid; gap: 5px; }
.privacy-signal > div span { color: var(--ink-soft); font-size: 12px; }
.consent-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.consent-card { min-height: 260px; padding: 26px 22px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); cursor: pointer; }
.consent-card:nth-child(5) { border-right: 0; }
.consent-card--required { background: var(--cream); }
.consent-card > span:last-child { display: grid; gap: 8px; }
.consent-card b { font: 500 22px/1.05 Georgia, serif; }
.consent-card small { color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.consent-card em { color: var(--terra); font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.switch { position: relative; width: 24px; height: 24px; display: inline-flex; }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 24px; height: 24px; border: 1px solid var(--ink); background: transparent; }
.switch input:checked + i { background: var(--forest); border-color: var(--forest); }
.switch input:checked + i::after { content: "✓"; display: grid; place-items: center; height: 100%; color: #fff; font-size: 14px; }
.switch input:focus-visible + i { outline: 3px solid var(--sun); outline-offset: 3px; }
.consent-actions { grid-column: 1 / -1; padding: 24px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; border-top: 1px solid var(--ink); }
.consent-actions span { color: var(--ink-soft); font-size: 11px; }
.session-state { padding-left: 16px; border-left: 2px solid var(--terra); font-weight: 780; }
.privacy-explainer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.privacy-explainer article { min-height: 220px; padding: 32px; border-right: 1px solid var(--line); }
.privacy-explainer article:last-child { border-right: 0; }
.privacy-explainer article > span { color: var(--terra); font-size: 10px; font-weight: 900; }
.privacy-explainer h3 { margin: 52px 0 10px; font: 500 30px/1 Georgia, serif; }
.privacy-explainer p { color: var(--ink-soft); font-size: 12px; line-height: 1.6; }

.flow-frame { overflow-x: auto; background: var(--cream); border: 1px solid var(--line); }
.flow-svg { display: block; width: 100%; min-width: 1100px; height: auto; }
.flow-lines path { fill: none; stroke: var(--terra); stroke-width: 2.4; marker-end: url(#arrow); }
.flow-svg marker path { fill: var(--terra); }
.flow-node rect { stroke-width: 1.4; }
.flow-node--browser rect { fill: #e4ece5; stroke: #819a88; }
.flow-node--worker rect { fill: var(--forest); stroke: var(--forest); }
.flow-node--route rect { fill: var(--paper); stroke: #bcae9b; }
.flow-node--receipt rect { fill: #efd3aa; stroke: #c98149; }
.flow-node--view rect { fill: var(--forest-deep); stroke: var(--forest-deep); }
.flow-kicker { fill: var(--terra); font: 850 10px Inter, sans-serif; letter-spacing: .1em; }
.flow-node--worker .flow-kicker,
.flow-node--view .flow-kicker { fill: var(--sun); }
.flow-label { fill: var(--ink); font: 500 19px Georgia, serif; }
.flow-node--worker .flow-label,
.flow-node--view .flow-label { fill: #fff; }
.flow-detail { fill: #5b665f; font: 500 11px Inter, sans-serif; }
.flow-node--worker .flow-detail,
.flow-node--view .flow-detail { fill: rgba(255,255,255,.65); }
.flow-notes { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.flow-notes article { padding: 28px 24px; border-right: 1px solid var(--line); }
.flow-notes article:last-child { border-right: 0; }
.flow-notes span { color: var(--terra); font-size: 10px; font-weight: 900; }
.flow-notes h3 { margin: 36px 0 10px; font: 500 23px/1 Georgia, serif; }
.flow-notes p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }
.route-ledger,
.contract-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.route-ledger article,
.contract-list article { min-height: 250px; padding: 30px 26px; border-right: 1px solid var(--line); }
.route-ledger article:last-child,
.contract-list article:last-child { border-right: 0; }
.route-ledger code,
.contract-list code { color: var(--terra); font-size: 10px; font-weight: 800; }
.route-ledger h3,
.contract-list h3 { margin: 64px 0 12px; font: 500 24px/1.08 Georgia, serif; }
.route-ledger p,
.contract-list p { color: var(--ink-soft); font-size: 12px; line-height: 1.6; }

.contract-list article > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.contract-list h3 span { display: block; margin-top: 7px; color: var(--ink-soft); font: 500 11px/1.3 Inter, sans-serif; }
.contract-list small { color: var(--moss); font-size: 9px; font-weight: 800; }

.inspector-section { width: 100%; max-width: none; padding-right: max(36px, calc((100vw - 1480px) / 2)); padding-left: max(36px, calc((100vw - 1480px) / 2)); color: #fff; background: var(--forest-deep); }
.inspector-section .section-kicker { color: var(--sun); }
.inspector-section .section-heading p { color: rgba(255,255,255,.6); }
.inspector { overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: #081d18; }
.receipt-section .inspector { color: #fff; }
.inspector__topbar { min-height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); }
.inspector__topbar > div { display: flex; align-items: center; gap: 10px; }
.inspector__topbar b { font-size: 11px; letter-spacing: .04em; }
.inspector__topbar > span { color: rgba(255,255,255,.7); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.inspector__rule { width: 20px; height: 2px; background: var(--sun); }
.inspector__tabs { padding: 0 18px; display: flex; border-bottom: 1px solid rgba(255,255,255,.1); }
.inspector__tabs button { padding: 13px 15px; border: 0; border-bottom: 3px solid transparent; color: rgba(255,255,255,.45); background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; }
.inspector__tabs button[aria-pressed=true] { color: #fff; border-bottom-color: var(--sun); }
.inspector pre { min-height: 410px; max-height: 620px; margin: 0; padding: 28px; overflow: auto; color: #cce2d5; background: rgba(0,0,0,.18); font: 12px/1.65 "SFMono-Regular", Consolas, monospace; tab-size: 2; }
.inspector__foot { min-height: 46px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.72); font-size: 9px; }
.live-receipt { margin-top: 20px; padding: 18px 0; display: grid; grid-template-columns: 3px 1fr auto; gap: 18px; align-items: center; border-top: 1px solid rgba(255,255,255,.16); }
.live-receipt__rule { align-self: stretch; background: var(--terra); }
.live-receipt--accepted .live-receipt__rule { background: #83b692; }
.live-receipt div { display: grid; gap: 4px; }
.live-receipt span { color: rgba(255,255,255,.5); font-size: 11px; }
.live-receipt code { min-width: 0; color: var(--sun); font-size: 10px; overflow-wrap: anywhere; word-break: break-word; }

.signal-ledger,
.proof-ledger { border-top: 1px solid var(--ink); }
.signal-ledger article,
.proof-ledger article { min-height: 90px; padding: 18px 12px; display: grid; grid-template-columns: 56px 1fr 1fr auto; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); }
.signal-ledger article > span,
.proof-ledger article > span { color: var(--terra); font-size: 10px; font-weight: 900; }
.signal-ledger h3,
.proof-ledger h3 { margin: 0 0 5px; font: 500 20px/1 Georgia, serif; }
.signal-ledger code,
.proof-ledger code { color: var(--moss); font-size: 9px; overflow-wrap: anywhere; }
.signal-ledger p,
.proof-ledger p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
table { width: 100%; min-width: 980px; border-collapse: collapse; }
th, td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--ink-soft); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
td { color: var(--ink-soft); font-size: 12px; }
td b { color: var(--ink); }
td code { color: var(--terra); font-size: 10px; }
.measurement-ledger { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.measurement-ledger article { min-height: 210px; padding: 28px 24px; border-right: 1px solid var(--line); }
.measurement-ledger article:last-child { border-right: 0; }
.measurement-ledger span { color: var(--terra); font-size: 9px; font-weight: 900; }
.measurement-ledger h3 { margin: 58px 0 10px; font: 500 25px/1 Georgia, serif; }
.measurement-ledger p { color: var(--ink-soft); font-size: 11px; line-height: 1.6; }

.affiliate-feature { min-height: calc(100svh - 76px); display: grid; grid-template-columns: 1.15fr .85fr; background: var(--cream); }
.affiliate-feature img { width: 100%; height: 100%; object-fit: cover; }
.affiliate-feature__content { padding: 90px max(50px, calc((100vw - 1480px) / 2)); align-self: center; }
.affiliate-feature h1 { margin: 16px 0 24px; font: 500 clamp(58px, 6vw, 96px)/.9 Georgia, serif; letter-spacing: -.05em; }
.affiliate-feature__content > p { max-width: 540px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.affiliate-feature dl { margin: 48px 0; border-top: 1px solid var(--ink); }
.affiliate-feature dl div { padding: 15px 0; display: grid; grid-template-columns: 120px 1fr; border-bottom: 1px solid var(--line); }
.affiliate-feature dt { color: var(--moss); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.affiliate-feature dd { margin: 0; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; }

.noscript { width: var(--content); margin: 0 auto; padding: 80px 0; }
.site-footer {
  padding: 38px max(36px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: .6fr 1fr;
  gap: 70px;
  color: rgba(255,255,255,.78);
  background: var(--forest-deep);
  border-top: 1px solid rgba(255,255,255,.1);
}
.site-footer > div { display: grid; gap: 5px; }
.site-footer b { color: #fff; font: 500 18px/1.2 Georgia, serif; }
.site-footer span { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.site-footer p { margin: 0; font-size: 11px; line-height: 1.6; }

@media (max-width: 1180px) {
  :root { --content: min(100% - 48px, 1080px); }
  .site-header { grid-template-columns: 230px 1fr; min-height: 70px; }
  .edition-note { display: none; }
  .primary-nav { grid-column: 1 / -1; height: 44px; order: 3; border-top: 1px solid var(--line); }
  .hero { height: calc(100svh - 114px); }
  .hero__content { width: min(780px, calc(100vw - 310px)); }
  .hero__folio { width: 190px; }
  .editorial-intro { grid-template-columns: 110px 1fr; }
  .editorial-intro > p { grid-column: 2; }
  .consent-grid { grid-template-columns: repeat(2, 1fr); }
  .consent-card:nth-child(even) { border-right: 0; }
  .consent-card:nth-child(5) { grid-column: 1 / -1; border-right: 0; }
  .planner-page { grid-template-columns: 1fr; }
  .planner__intro { position: static; }
}

@media (max-width: 800px) {
  :root { --content: min(100% - 32px, 740px); }
  .site-header { padding: 0 16px; }
  .brand small { display: none; }
  .primary-nav { justify-content: space-between; overflow-x: visible; }
  .primary-nav a { flex: 0 1 auto; padding: 0 4px; font-size: 10px; }
  .primary-nav a::after { right: 4px; left: 4px; }
  .hero { min-height: 680px; }
  .hero__content { bottom: 44px; left: 20px; width: calc(100% - 40px); }
  .hero h1 { font-size: 58px; }
  .hero__folio { display: none; }
  .hero__meta { display: grid; gap: 8px; }
  .hero__meta span { padding: 0; border: 0; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .guide-strip { grid-template-columns: 1fr 1fr; }
  .guide-strip div:nth-child(2) { border-right: 0; }
  .guide-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .section-heading--split,
  .page-lead,
  .editorial-intro,
  .topic-index,
  .guide-close { grid-template-columns: 1fr; gap: 28px; }
  .page-lead { padding: 72px 0 52px; }
  .page-lead .section-kicker { grid-column: auto; }
  .itinerary-grid,
  .answer-grid,
  .placement-grid,
  .route-ledger,
  .contract-list,
  .privacy-explainer,
  .measurement-ledger { grid-template-columns: 1fr; }
  .itinerary-card,
  .answer-card,
  .sponsor-card,
  .affiliate-card,
  .route-ledger article,
  .contract-list article,
  .privacy-explainer article,
  .measurement-ledger article { border-right: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .keyword-index { columns: 1; }
  .planner-page { padding: 64px 20px; }
  .planner-form { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .consent-grid { grid-template-columns: 1fr; }
  .consent-card,
  .consent-card:nth-child(even),
  .consent-card:nth-child(5) { border-right: 0; border-bottom: 1px solid var(--line); }
  .consent-card:nth-child(5) { grid-column: auto; }
  .consent-actions { grid-template-columns: 1fr; }
  .flow-notes { grid-template-columns: 1fr 1fr; }
  .flow-notes article:nth-child(2) { border-right: 0; }
  .signal-ledger article,
  .proof-ledger article { grid-template-columns: 44px 1fr; }
  .signal-ledger article > p,
  .proof-ledger article > p { grid-column: 2; }
  .live-receipt { grid-template-columns: 3px minmax(0, 1fr); }
  .live-receipt > code { grid-column: 2; }
  .affiliate-feature { grid-template-columns: 1fr; }
  .affiliate-feature img { height: 48svh; }
  .affiliate-feature__content { padding: 60px 24px; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; padding: 34px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
