:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #58645f;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #cbd1cc;
  --green: #176044;
  --green-dark: #0d3f2c;
  --yellow: #f2c84b;
  --blue: #2e5f77;
  --coral: #b64a36;
  --shadow: 0 10px 30px rgba(23, 32, 29, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.62; letter-spacing: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; min-width: 0; }
.narrow { width: min(840px, calc(100% - 40px)); }
.skip-link { position: fixed; left: 12px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--yellow); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-row { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); font-size: .82rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
nav { display: flex; gap: 22px; align-items: center; }
nav a { color: var(--ink); font-size: .86rem; font-weight: 750; text-decoration: none; }

section { padding: 76px 0; scroll-margin-top: 82px; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.08; letter-spacing: 0; }
h1 { max-width: 760px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 4.7vw, 4.6rem); font-weight: 700; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.7vw, 3.6rem); font-weight: 700; }
h3 { font-size: 1.28rem; }
h4 { font-size: .9rem; text-transform: uppercase; }
p { margin: 0 0 1.1em; }
.eyebrow, .section-kicker, .lane-label { margin-bottom: 12px; color: var(--green); font-size: .76rem; font-weight: 850; text-transform: uppercase; }
.dek { max-width: 700px; font-size: 1.16rem; }
.lede { max-width: 820px; color: var(--muted); font-size: 1.08rem; }

.first-screen { padding: 54px 0 36px; background: var(--paper); }
.first-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 18px 42px; align-items: start; }
.first-copy { min-width: 0; }
.decision-copy { min-width: 0; grid-column: 1; }
.bottom-line { max-width: 760px; padding-left: 16px; border-left: 4px solid var(--yellow); }
.evidence { max-width: 780px; color: var(--muted); font-size: .9rem; }
.first-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 11px 18px; color: #fff; background: var(--green); border: 2px solid var(--green); font-weight: 800; text-decoration: none; }
.button:hover { color: #fff; background: var(--green-dark); }
.text-link { font-weight: 800; }
.hero { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; min-width: 0; }
.hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero figcaption { padding-top: 8px; color: var(--muted); font-size: .76rem; }

.decision-band { background: var(--green-dark); color: #fff; }
.decision-band h2 { max-width: 760px; }
.lane-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.lane-grid article { min-width: 0; padding: 22px; border-top: 5px solid var(--yellow); background: rgba(255,255,255,.08); }
.lane-grid .lane-label { color: #f4d96e; }
.lane-grid p:last-child { margin-bottom: 0; color: #e2ece7; }
.reject { margin-top: 26px; padding: 16px 18px; color: var(--ink); background: #f7e8df; }

.definitions { border-top: 1px solid var(--line); }
.definitions details { border-bottom: 1px solid var(--line); }
.definitions summary { cursor: pointer; padding: 18px 48px 18px 0; font-size: 1.05rem; font-weight: 850; }
.definitions details p { margin: 0 0 12px; padding-left: 18px; border-left: 2px solid #dbe4df; }
.definitions details p:last-child { margin-bottom: 20px; }

.soft { background: var(--paper); }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: .9rem; }
caption { padding: 14px 16px; color: var(--muted); text-align: left; font-weight: 700; }
th, td { padding: 15px 16px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
thead th { color: #fff; background: var(--green-dark); border-color: var(--green-dark); }
tbody th { font-weight: 850; }
tbody tr:nth-child(even) { background: #f4f7f4; }
.table-note { margin-top: 12px; color: var(--muted); font-size: .86rem; }

.recommendations { display: grid; gap: 28px; margin-top: 30px; }
.recommendation { padding: 30px; border: 1px solid var(--line); border-left: 7px solid var(--green); box-shadow: var(--shadow); background: #fff; }
.recommendation:nth-child(2) { border-left-color: var(--blue); }
.recommendation:nth-child(3) { border-left-color: var(--coral); }
.rec-top { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.rec-top .lane-label { flex: 0 0 210px; }
.rec-top h3 { flex: 1; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 22px 0; }
.pros-cons > div { padding: 18px; background: var(--paper); }
.pros-cons ul, .checklist, .pack-card ul { margin: 0; padding-left: 20px; }
.avoid { padding: 14px 16px; border-left: 4px solid var(--coral); background: #faede9; }
.source-note { color: var(--muted); font-size: .84rem; }

.passport { color: #fff; background: var(--blue); }
.passport .section-kicker { color: #d1e9f4; }
.passport .lede { color: #e2eff5; }
.passport-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 18px; }
.passport-form fieldset { min-width: 0; margin: 0; padding: 18px; border: 1px solid rgba(255,255,255,.45); }
.passport-form legend { padding: 0 6px; font-weight: 850; }
.passport-form label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; margin: 12px 0 0; align-items: start; }
.passport-form input { margin-top: 5px; }
.passport-form button { grid-column: 1 / -1; justify-self: start; min-height: 46px; padding: 10px 18px; color: var(--ink); background: var(--yellow); border: 0; font-weight: 850; cursor: pointer; }
.passport-result { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); gap: 18px; padding: 20px; color: var(--ink); background: #fff; }
.fallback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.fallback-grid article { padding: 18px; color: var(--ink); background: #e8f1f4; }
.fallback-grid p:last-child { margin-bottom: 0; }
.noscript { margin-top: 16px; }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.split.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.rehearsal-list { margin: 0; padding: 0; list-style: none; counter-reset: rehearsal; }
.rehearsal-list li { position: relative; padding: 0 0 22px 54px; counter-increment: rehearsal; }
.rehearsal-list li::before { content: counter(rehearsal); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--green); font-weight: 850; }
.pack-rehearsal { background: #f7e8df; }
.pack-card { padding: 26px; background: #fff; border-top: 5px solid var(--coral); }

.translation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.translation-grid article { padding: 20px; border-top: 4px solid var(--green); background: var(--paper); }
.translation-grid p:last-child { margin-bottom: 0; }

.details-table { min-width: 1180px; }
.details-table th:first-child { width: 180px; }
.checklist { display: grid; gap: 10px; padding: 0; list-style: none; }
.checklist li { padding: 12px 14px 12px 42px; background: var(--paper); position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 14px; color: var(--green); font-weight: 900; }

.sources { background: var(--green-dark); color: #fff; }
.sources .section-kicker { color: #f4d96e; }
.source-list { columns: 2; column-gap: 38px; padding-left: 22px; }
.source-list li { break-inside: avoid; margin: 0 0 10px; padding-left: 4px; }
.source-list a { color: #fff; }
.correction-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.3); }
.correction-note a { color: #fff; font-weight: 800; }
.site-footer { padding: 24px 0; color: #dfe6e2; background: #101714; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; font-size: .84rem; }

@media (max-width: 900px) {
  .first-grid { grid-template-columns: 1fr; }
  .first-copy { max-width: 780px; }
  .decision-copy, .hero { grid-column: 1; grid-row: auto; }
  .lane-grid, .fallback-grid, .translation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .passport-form { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 106px; }
  .shell, .narrow { width: min(100% - 28px, 1160px); }
  .site-header { position: sticky; }
  .header-row { min-height: 92px; flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; }
  .brand { text-align: center; }
  nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; width: 100%; }
  nav a { min-width: 0; padding: 4px 1px; text-align: center; font-size: .68rem; line-height: 1.15; overflow-wrap: anywhere; }
  section { padding: 54px 0; scroll-margin-top: 112px; }
  h1 { font-size: 2.48rem; }
  h2 { font-size: 2.15rem; }
  .first-screen { padding: 28px 0 24px; }
  .first-grid { gap: 20px; }
  .dek { font-size: 1rem; }
  .bottom-line { font-size: .91rem; }
  .evidence { font-size: .78rem; line-height: 1.48; }
  .first-actions { gap: 12px; }
  .button { width: 100%; }
  .hero figcaption { font-size: .7rem; }
  .lane-grid, .fallback-grid, .translation-grid, .pros-cons { grid-template-columns: 1fr; }
  .recommendation { padding: 20px; }
  .rec-top { display: block; }
  .rec-top h3 { font-size: 1.7rem; }
  .passport-form fieldset { padding: 14px; }
  .passport-result { grid-template-columns: 1fr; gap: 6px; }
  .source-list { columns: 1; }
  .footer-row { flex-direction: column; gap: 6px; }

  .details-wrap { overflow: visible; border: 0; background: transparent; }
  .details-table { min-width: 0; display: block; }
  .details-table caption { display: block; padding: 0 0 12px; }
  .details-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .details-table tbody { display: grid; gap: 18px; }
  .details-table tr { display: block; border: 1px solid var(--line); background: #fff !important; }
  .details-table th, .details-table td { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; width: 100% !important; padding: 13px 14px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
  .details-table th:first-child { border-top: 0; color: #fff; background: var(--green-dark); font-size: 1.05rem; }
  .details-table th::before, .details-table td::before { content: attr(data-label); color: var(--green); font-size: .68rem; font-weight: 850; text-transform: uppercase; }
  .details-table th:first-child::before { color: #cbe4d8; }
}

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