:root {
  color-scheme: light;
  --navy: #06234a;
  --navy-2: #0b315f;
  --teal: #0b8586;
  --teal-pale: #e8f6f5;
  --yellow: #fdba22;
  --ink: #10253d;
  --muted: #5d7085;
  --line: #d8e4ec;
  --paper: #fff;
  --canvas: #f3f8fb;
  --shadow: 0 22px 60px rgba(6, 35, 74, .11);
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--canvas); }
body { margin: 0; color: var(--ink); background: linear-gradient(180deg, #fff 0, var(--canvas) 36rem); }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgba(6,35,74,.1); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.header-inner, .footer-inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 20px; }
.brand-link { border-radius: 10px; }
.brand { width: 154px; height: 46px; }
.header-actions, .language-switcher { display: flex; align-items: center; gap: 9px; }
.language-switcher { padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--canvas); }
.language-switcher button, .print-button, .final-actions button { cursor: pointer; border: 0; font-weight: 800; }
.language-switcher button { min-width: 38px; min-height: 34px; border-radius: 999px; color: var(--muted); background: transparent; }
.language-switcher button[aria-pressed="true"] { color: #fff; background: var(--navy); }
.print-button, .final-actions button { min-height: 42px; padding: 0 16px; border-radius: 12px; color: var(--navy); background: var(--yellow); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .38fr); align-items: end; gap: 44px; padding-block: 76px 44px; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p, li { overflow-wrap: anywhere; }
h1 { max-width: 820px; margin: 0; color: var(--navy); font-size: clamp(2.55rem, 5.8vw, 5.2rem); line-height: .98; letter-spacing: -.058em; }
.hero-copy { max-width: 820px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.7; }
.readiness-card { display: flex; align-items: flex-start; gap: 14px; border: 1px solid rgba(11,133,134,.24); border-radius: 20px; background: var(--teal-pale); padding: 20px; }
.readiness-card strong, .readiness-card small { display: block; }
.readiness-card strong { color: var(--navy); }
.readiness-card small { margin-top: 6px; color: var(--muted); line-height: 1.5; }
.live-dot { flex: 0 0 10px; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(11,133,134,.14); }

.contents { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 56px; }
.contents a { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--navy-2); background: var(--paper); font-size: .83rem; font-weight: 800; text-decoration: none; }
.section { margin-bottom: 34px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); padding: clamp(26px, 5vw, 54px); box-shadow: var(--shadow); }
.section-heading { max-width: 780px; margin-bottom: 32px; }
h2 { margin: 0; color: var(--navy); font-size: clamp(1.75rem, 3.5vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
h3 { margin: 0; color: var(--navy); font-size: 1.02rem; }

.device-callout { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; border-radius: 22px; background: var(--navy); padding: 24px; color: #fff; }
.device-callout h3 { color: #fff; font-size: 1.35rem; }
.device-callout p { margin: 8px 0 0; color: rgba(255,255,255,.76); line-height: 1.6; }
.device-number { display: grid; width: 72px; height: 72px; place-items: center; border-radius: 20px; color: var(--navy); background: var(--yellow); font-size: 2rem; font-weight: 950; }
.minimum-note { margin: 18px 0 0; border-left: 4px solid var(--yellow); padding: 10px 14px; color: var(--muted); line-height: 1.6; }
[dir="rtl"] .minimum-note { border-right: 4px solid var(--yellow); border-left: 0; }
.role-grid, .risk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.role-grid article, .risk-grid article, .report-grid article { border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.role-grid span { color: var(--teal); font-size: .71rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.role-grid h3 { margin-top: 9px; }
.role-grid p, .risk-grid p { margin: 9px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.58; }

.section-tint { background: var(--teal-pale); border-color: rgba(11,133,134,.24); box-shadow: none; }
.prep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prep-grid article { display: grid; gap: 6px; border-radius: 17px; background: rgba(255,255,255,.78); padding: 18px; }
.prep-grid b { color: var(--navy); font-size: 1.05rem; }
.prep-grid span { color: var(--muted); font-size: .88rem; }
.checklist { display: grid; gap: 11px; margin: 26px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; line-height: 1.5; }
.checklist li span { flex: 0 0 20px; width: 20px; height: 20px; border: 2px solid var(--teal); border-radius: 6px; background: #fff; }

.timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding-bottom: 28px; }
.timeline li:not(:last-child)::before { position: absolute; top: 38px; bottom: 0; left: 22px; width: 2px; background: var(--line); content: ""; }
[dir="rtl"] .timeline li:not(:last-child)::before { right: 22px; left: auto; }
.step-number { z-index: 1; display: grid; width: 46px; height: 46px; place-items: center; border-radius: 15px; color: #fff; background: var(--navy); font-weight: 900; }
.timeline h3 { margin-top: 4px; font-size: 1.12rem; }
.timeline p { margin: 8px 0 10px; color: var(--muted); line-height: 1.63; }
.evidence { display: inline-block; border-radius: 9px; background: var(--teal-pale); padding: 8px 11px; color: #176c6d; font-size: .82rem; font-weight: 750; }

.section-dark { border-color: var(--navy); color: #fff; background: var(--navy); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--yellow); }
.risk-grid { grid-template-columns: repeat(3, 1fr); }
.risk-grid article { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.06); }
.risk-grid p { color: rgba(255,255,255,.72); }

.report-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.report-grid ul { margin: 14px 0 0; padding-inline-start: 20px; color: var(--muted); line-height: 1.65; }
.verdict { display: grid; align-content: start; gap: 14px; background: var(--canvas); }
.verdict label { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .9rem; }
.verdict input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.final-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 24px; }
.final-actions a { color: var(--teal); font-weight: 800; }

footer { margin-top: 54px; color: rgba(255,255,255,.74); background: var(--navy); font-size: .82rem; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; padding-block: 52px 32px; }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .risk-grid, .prep-grid, .report-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1160px); }
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 12px; }
  .header-actions { width: 100%; justify-content: space-between; }
  .brand { width: 130px; }
  .hero { padding-top: 38px; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
  .section { border-radius: 22px; }
  .role-grid, .risk-grid, .prep-grid, .report-grid { grid-template-columns: 1fr; }
  .device-callout { grid-template-columns: 1fr; }
  .device-number { width: 58px; height: 58px; }
  .final-actions, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { justify-content: center; min-height: 100px; gap: 5px; }
}

@media print {
  :root { --shadow: none; }
  body { background: #fff; }
  .site-header, .contents, footer, .final-actions { display: none !important; }
  .shell { width: 100%; }
  .hero { padding: 0 0 24px; }
  h1 { font-size: 34pt; }
  .section { break-inside: avoid; margin-bottom: 16px; border-radius: 12px; padding: 22px; }
  .timeline li, .role-grid article, .risk-grid article { break-inside: avoid; }
  .section-dark { color: var(--ink); background: #eef3f7; }
  .section-dark h2, .section-dark h3 { color: var(--navy); }
  .section-dark .risk-grid p { color: var(--muted); }
}

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