:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5e6a65;
  --paper: #f5f2e9;
  --surface: #fffdf7;
  --line: #d6d7cd;
  --green: #153f34;
  --mint: #bde5d3;
  --orange: #e06b36;
}

* { 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;
  line-height: 1.6;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { min-height: 44px; display: inline-flex; align-items: center; font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); font-size: .92rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--ink); }

.hero { padding: 112px 0 78px; max-width: 940px; }
.eyebrow { color: var(--orange); font: 750 .76rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.03; letter-spacing: -.04em; }
h1 { max-width: 900px; font-size: clamp(3.1rem, 8vw, 6.8rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 4rem); }
.lead { max-width: 760px; margin: 32px 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .94rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; padding: 0 22px; border-radius: 999px; color: white; background: var(--green); text-decoration: none; font-weight: 720; }
.button:hover, .button:focus-visible { background: #0c2e26; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--surface); }
.facts article { min-height: 170px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.facts article:last-child { border-right: 0; }
.facts strong { font-size: 1.15rem; }
.facts span { color: var(--muted); }

.readiness {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 72px;
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}

.readiness-intro { align-self: start; position: sticky; top: 28px; }
.readiness-intro p:last-child { max-width: 480px; color: var(--muted); }
.readiness-form { padding: 32px; border: 1px solid var(--line); background: var(--surface); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.readiness-form label { display: grid; gap: 8px; color: var(--muted); font-size: .88rem; font-weight: 720; }
.readiness-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 38px 0 12px;
  border: 1px solid #aeb5af;
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
}
.readiness-form select:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.readiness-form button { border: 0; cursor: pointer; font: inherit; }
.text-button { min-height: 44px; padding: 0 8px; color: var(--muted); background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover, .text-button:focus-visible { color: var(--ink); }

.readiness-result {
  grid-column: 2;
  padding: 34px;
  border: 2px solid var(--green);
  background: #eef7f1;
}
.readiness-result[data-tone="prepare"] { border-color: #b85b2f; background: #fff3e8; }
.readiness-result[data-tone="outside"] { border-color: #873f3f; background: #faeeee; }
.result-label { margin: 0 0 10px; color: var(--orange); font: 750 .76rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.readiness-result h3 { margin: 0; font: 500 clamp(1.8rem, 3vw, 2.7rem)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.readiness-result > p:not(.result-label) { color: var(--muted); }
.readiness-result ul { margin: 20px 0 28px; padding-left: 20px; }
.readiness-result li + li { margin-top: 8px; }
.readiness-result .result-note { max-width: 660px; margin-bottom: 0; font-size: .84rem; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 120px 0; border-bottom: 1px solid var(--line); }
.checklist { list-style: none; margin: 6px 0 0; padding: 0; counter-reset: checks; }
.checklist li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.numbered li { counter-increment: checks; }
.numbered li::before { content: counter(checks, decimal-leading-zero); font: 700 .72rem/1 ui-monospace, monospace; top: 22px; }

.panel { margin: 0 calc(50% - 50vw); padding: 110px max(20px, calc((100vw - 1120px) / 2)); color: #f3f2e9; background: var(--green); }
.panel h2 { max-width: 700px; }
.panel p:not(.eyebrow) { max-width: 820px; color: #c9d4cf; font-size: 1.08rem; }

.exclusions { padding: 82px 0; max-width: 820px; }
.exclusions h2 { font-size: 2.4rem; }
.exclusions p { color: var(--muted); }
.cta { padding: 72px; color: var(--ink); background: var(--mint); }
.cta h2 { max-width: 700px; }
.cta p { max-width: 700px; }
.light { color: var(--green); background: var(--surface); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 720; text-underline-offset: 4px; }

.guide { max-width: 100%; }
.guide-hero { max-width: 980px; padding: 96px 0 88px; }
.guide-summary { margin-bottom: 24px; padding: 54px; border: 1px solid var(--line); background: var(--surface); }
.guide-summary h2 { max-width: 760px; }
.guide-summary > p:last-child { max-width: 820px; color: var(--muted); font-size: 1.08rem; }
.guide-section { padding: 104px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .42fr 1fr; gap: 54px; align-items: start; margin-bottom: 46px; }
.section-heading .eyebrow { margin-top: 10px; }
.guide-copy { max-width: 820px; color: var(--muted); font-size: 1.12rem; }
.comparison-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.comparison-scroll:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.comparison-table caption { padding: 16px 20px; color: var(--muted); text-align: left; font-size: .86rem; }
.comparison-table th, .comparison-table td { padding: 20px; border-top: 1px solid var(--line); vertical-align: top; }
.comparison-table th { color: var(--green); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.comparison-table td:first-child { font-weight: 760; }
.guide-dark { margin-inline: calc(50% - 50vw); padding-inline: max(20px, calc((100vw - 1120px) / 2)); color: #f3f2e9; background: var(--green); }
.guide-dark .section-heading { border-color: #567268; }
.guide-columns, .decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.guide-columns > div { padding: 32px; border: 1px solid #567268; }
.guide-columns h3, .decision-grid h3 { margin-top: 0; font: 500 1.6rem/1.15 Georgia, "Times New Roman", serif; }
.guide-columns ul, .decision-grid ul { margin: 0; padding-left: 20px; }
.guide-columns li + li, .decision-grid li + li { margin-top: 10px; }
.decision-grid article { padding: 34px; border: 1px solid var(--line); background: var(--surface); }
.guide-sources { padding: 86px 0; }
.guide-sources h2 { max-width: 760px; }
.guide-sources ul { max-width: 820px; padding-left: 20px; }
.guide-sources li + li { margin-top: 12px; }
.guide-sources a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.guide-cta { margin-bottom: 32px; }
.guide-cta .eyebrow { color: var(--green); }
.trademark-note { max-width: 820px; margin: 0 0 64px; color: var(--muted); font-size: .82rem; }

footer { padding: 42px 0; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .82rem; }
footer a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; padding: 18px 0; gap: 18px; }
  nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .hero { padding: 72px 0 54px; }
  .facts, .split, .readiness { grid-template-columns: 1fr; }
  .section-heading, .guide-columns, .decision-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 18px; }
  .guide-hero { padding: 72px 0 60px; }
  .guide-summary { padding: 36px 28px; }
  .guide-section { padding: 76px 0; }
  .facts article { min-height: 132px; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts article:last-child { border-bottom: 0; }
  .split { gap: 40px; padding: 80px 0; }
  .readiness { gap: 34px; padding: 80px 0; }
  .readiness-intro { position: static; }
  .readiness-result { grid-column: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .cta { padding: 44px 28px; }
  footer { flex-direction: column; }
}

@media (max-width: 440px) {
  .site-header, main, footer { width: min(100% - 28px, 1120px); }
  .site-header { display: block; }
  nav { justify-content: flex-start; margin-top: 8px; }
  h1 { font-size: 3rem; }
  .readiness-form, .readiness-result { padding: 24px 18px; }
  .guide-columns > div, .decision-grid article { padding: 26px 20px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { justify-content: center; }
}

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