:root {
  --ink: #142033;
  --muted: #617087;
  --faint: #8c9aae;
  --line: #d9e1eb;
  --surface: #ffffff;
  --canvas: #f5f7fa;
  --canvas-deep: #eaf0f5;
  --navy: #12263f;
  --navy-2: #1c3857;
  --orange: #ee6b2f;
  --orange-dark: #bd4a19;
  --teal: #0c7f78;
  --teal-soft: #e6f5f2;
  --blue-soft: #e9f0fa;
  --amber-soft: #fff2dc;
  --shadow: 0 18px 45px rgba(20, 32, 51, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(217, 225, 235, 0.9);
  background: rgba(245, 247, 250, 0.94);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 15px; font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand small { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.12em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: #fff; background: var(--orange); font-size: 20px; font-weight: 850; }

nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--muted); font-size: 13px; font-weight: 700; }
nav a:hover { color: var(--navy); text-decoration: none; }

.nav-button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 0 15px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 800; }
.nav-button { color: #fff !important; background: var(--navy); }
.nav-button:hover { background: var(--navy-2); }
.language-switcher { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 800; }
.language-switcher select { min-height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--navy); background: var(--surface); font: inherit; cursor: pointer; }

.hero { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(330px, 0.76fr); gap: 72px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--orange-dark); font-size: 11px; font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--navy); }
h1 { max-width: 730px; margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.035em; }
h2 { margin: 0; font-size: clamp(29px, 4vw, 46px); line-height: 1.04; letter-spacing: -0.025em; }
h3 { margin: 0 0 9px; font-size: 18px; }
.hero-lead { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.primary { color: #fff; background: var(--orange); }
.primary:hover { background: var(--orange-dark); text-decoration: none; }
.text-button { color: var(--navy); border-color: var(--line); background: var(--surface); }
.text-button:hover { border-color: var(--navy); text-decoration: none; }
.hero-note { max-width: 700px; margin-top: 26px; padding-left: 15px; border-left: 3px solid var(--orange); color: var(--muted); font-size: 13px; line-height: 1.65; }
.hero-note strong { color: var(--navy); }

.evidence-card, .boundary-card, .final-panel { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.evidence-card { padding: 26px; }
.card-kicker { color: var(--orange-dark); font-size: 11px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.evidence-title { margin-top: 9px; color: var(--navy); font-size: 22px; font-weight: 850; }
.muted { color: var(--muted); }
.evidence-card > p { margin: 10px 0 18px; font-size: 13px; line-height: 1.6; }
.evidence-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.status-pill, .table-status, .env-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 4px; font-size: 10px; font-weight: 850; letter-spacing: 0.05em; text-transform: uppercase; }
.status-pill { color: var(--teal); background: var(--teal-soft); }
.status-pill.warning { color: #8a5b08; background: var(--amber-soft); }
.live-label { color: var(--faint); font-size: 11px; font-weight: 750; }
.metric-list { margin: 0; }
.metric-list div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); }
.metric-list dt { color: var(--muted); font-size: 13px; }
.metric-list dd { margin: 0; color: var(--navy); font-size: 13px; font-weight: 850; }
.card-link { display: inline-flex; gap: 8px; margin-top: 12px; color: var(--orange-dark); font-size: 13px; font-weight: 850; }
.card-link:hover { text-decoration: none; }

.content-section { padding-top: 78px; padding-bottom: 78px; border-top: 1px solid var(--line); }
.section-heading { max-width: 770px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading p { margin: 16px 0 0; font-size: 15px; line-height: 1.7; }
.compact-heading { margin-bottom: 22px; }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step-card { min-height: 230px; padding: 21px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.step-number { display: block; margin-bottom: 26px; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: 0.08em; }
.step-card p { min-height: 88px; margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.step-card a { color: var(--navy); font-size: 12px; font-weight: 850; }
.step-card a:hover { color: var(--orange-dark); text-decoration: none; }

.review-pack-section { padding-top: 70px; }
.review-pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.review-pack-card { min-height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.pack-list { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.pack-placeholder { color: var(--faint); font-size: 13px; font-style: italic; }
.pack-row { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.pack-row:first-child { padding-top: 0; border-top: 0; }
.pack-row strong { display: block; color: var(--navy); font-size: 14px; }
.pack-url { display: inline-flex; width: fit-content; color: var(--muted); font-size: 12px; word-break: break-all; }
.pack-url:hover { color: var(--orange-dark); text-decoration: none; }
.pack-checklist .pack-row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.pack-meta { color: var(--faint); font-size: 11px; line-height: 1.45; }
.review-state { display: grid; gap: 10px; margin-top: 16px; }
.review-state .status-pill { width: fit-content; }
.support-meta { display: grid; gap: 12px; margin: 18px 0 0; }
.support-meta div { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.support-meta div:first-child { padding-top: 0; border-top: 0; }
.support-meta dt { color: var(--faint); font-size: 11px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.support-meta dd { margin: 0; color: var(--navy); font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.support-meta a { color: var(--orange-dark); font-weight: 800; }

.band-section { width: 100%; max-width: none; padding-right: max(20px, calc((100% - 1180px) / 2)); padding-left: max(20px, calc((100% - 1180px) / 2)); background: var(--canvas-deep); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.scope-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.scope-table th, .scope-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13px; }
.scope-table th { color: var(--faint); background: #fbfcfd; font-size: 10px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.scope-table td { color: var(--muted); }
.scope-table td:first-child { color: var(--navy); font-weight: 800; }
.scope-table tr:last-child td { border-bottom: 0; }
.table-status.ready { color: var(--teal); background: var(--teal-soft); }
.table-status.review { color: #8a5b08; background: var(--amber-soft); }
.table-status.gated { color: #5b6d86; background: var(--blue-soft); }

.control-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 18px; align-items: start; }
.control-list { border-top: 1px solid var(--line); }
.control-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.control-icon { display: grid; place-items: center; width: 38px; height: 30px; border: 1px solid #c8d9e6; border-radius: 5px; color: var(--navy); background: var(--blue-soft); font-size: 10px; font-weight: 900; }
.control-row strong { color: var(--navy); font-size: 14px; }
.control-row p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.boundary-card { padding: 24px; box-shadow: none; }
.boundary-card h3 { margin-top: 10px; font-size: 22px; }
.plain-list { display: grid; gap: 11px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; line-height: 1.5; }
.plain-list li { position: relative; padding-left: 17px; }
.plain-list li::before { position: absolute; top: 7px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); content: ""; }

.final-section { padding-bottom: 82px; }
.final-panel { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; padding: 30px; }
.final-panel h2 { margin-top: 10px; font-size: clamp(26px, 4vw, 38px); }
.final-panel p { max-width: 670px; margin: 14px 0 0; font-size: 14px; line-height: 1.65; }
.contact-block { display: grid; align-content: start; gap: 9px; padding-left: 20px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.contact-block strong { color: var(--navy); }
.contact-block a { color: var(--orange-dark); font-weight: 750; }
.footer { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }

.policy { max-width: 880px; padding-top: 72px; padding-bottom: 72px; }
.policy .eyebrow { margin-bottom: 14px; }
.policy h1 { max-width: 780px; font-size: clamp(40px, 6vw, 64px); }
.policy h2 { margin-top: 36px; font-size: 25px; }
.policy h3 { margin-top: 26px; font-size: 17px; }
.policy p, .policy li { color: var(--muted); font-size: 14px; line-height: 1.75; }
.policy ul { padding-left: 20px; }
.policy .policy-meta { margin-top: 18px; color: var(--faint); font-size: 12px; }
.guide-callout { margin: 28px 0 36px; padding: 22px 24px; border: 1px solid #f1d3b7; border-left: 4px solid var(--orange); border-radius: 8px; background: #fffaf5; }
.guide-callout p { margin: 8px 0 0; }
.guide-steps { display: grid; gap: 14px; padding-left: 22px; }
.guide-steps li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.guide-steps strong { color: var(--navy); font-size: 15px; }
.guide-steps p { margin: 6px 0 8px; }
.guide-steps a { color: var(--orange-dark); font-size: 13px; font-weight: 800; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 34px; }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-pack-grid { grid-template-columns: 1fr; }
  .control-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .topbar { align-items: flex-start; flex-direction: column; gap: 12px; padding: 12px 14px; }
  nav { gap: 10px 14px; }
  .nav-button { width: 100%; }
  .language-switcher { width: 100%; justify-content: space-between; }
  .language-switcher select { flex: 1; max-width: 210px; }
  .hero { padding-top: 52px; padding-bottom: 52px; }
  h1 { font-size: clamp(38px, 13vw, 58px); }
  .hero-lead { font-size: 16px; }
  .content-section { padding-top: 52px; padding-bottom: 52px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .step-card p { min-height: 0; }
  .review-pack-card { padding: 18px; }
  .control-row { grid-template-columns: 38px minmax(0, 1fr); }
  .control-row .table-status { grid-column: 2; justify-self: start; }
  .final-panel { grid-template-columns: 1fr; padding: 22px; }
  .contact-block { padding-top: 18px; padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
}
