:root {
  --orange: #ff7a00;
  --green: #087a4b;
  --lagoon: #006cff;
  --ink: #182126;
  --muted: #5c6b72;
  --paper: #f7faf9;
  --white: #fff;
  --amber: #f3b61f;
  --red: #c93832;
  --line: #cfddd8;
  --shadow: 0 18px 50px rgba(20, 50, 55, .11);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.58; overflow-wrap: anywhere; }
img, video, iframe, svg { display: block; max-width: 100%; height: auto; }
a { color: #0059d6; text-underline-offset: .18em; }
a:hover { color: #003f98; }
:focus-visible { outline: 4px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }

.site-header { background: #102126; color: white; border-bottom: 6px solid var(--orange); }
.masthead { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0 .8rem; }
.brand-lockup { display: flex; align-items: center; gap: .75rem; color: white; text-decoration: none; min-width: 0; }
.brand-lockup img { width: 48px; height: 48px; }
.brand-lockup strong { display: block; font: 800 clamp(1.05rem, 3vw, 1.35rem)/1.05 Georgia, serif; }
.brand-lockup span { display: block; color: #b8d1cd; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.top-cta, .cta { display: inline-flex; justify-content: center; align-items: center; padding: .75rem 1rem; border-radius: .5rem; background: var(--orange); color: #111; font-weight: 900; text-decoration: none; box-shadow: 4px 4px 0 #000; }
.top-cta:hover, .cta:hover { background: #ffb000; color: #111; transform: translate(-1px, -1px); }
.nav-shell { border-top: 1px solid #31444a; }
.primary-nav { display: flex; flex-wrap: wrap; gap: .15rem .45rem; padding: .65rem 0; }
.primary-nav a { color: #eaf7f3; text-decoration: none; padding: .48rem .62rem; border-radius: .35rem; font-weight: 700; font-size: .91rem; }
.primary-nav a:hover { background: #263a40; }

.hero { position: relative; background: linear-gradient(125deg, #0b7048 0 55%, #095cbb 55% 100%); color: white; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 72px, rgba(255,255,255,.07) 73px 75px); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; padding: clamp(3rem, 7vw, 6rem) 0; }
.eyebrow { margin: 0 0 .65rem; color: #ffd37c; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .83rem; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 7vw, 5.4rem); margin: 0 0 1rem; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.55rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.33rem); max-width: 64ch; }
.hero-panel { align-self: end; background: #fff; color: var(--ink); border: 5px solid var(--orange); padding: 1.2rem; box-shadow: 12px 12px 0 rgba(0,0,0,.25); transform: rotate(-1.2deg); }
.hero-panel strong { font-size: 2rem; color: var(--green); }

.section { padding: clamp(2.4rem, 6vw, 5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.section-head p { max-width: 55ch; margin: 0; color: var(--muted); }
.date-chip { display: inline-block; background: #dff3eb; border: 1px solid #8ccab4; color: #075c3b; padding: .35rem .6rem; border-radius: 99px; font-weight: 800; white-space: nowrap; }

.atlas-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.brand-card { grid-column: span 4; min-width: 0; }
.brand-card:nth-child(5n + 1) { grid-column: span 5; }
.brand-card:nth-child(5n + 2) { grid-column: span 3; }
.brand-card a { height: 100%; display: grid; grid-template-columns: 68px 1fr auto; gap: .9rem; align-items: center; padding: 1rem; background: white; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-left: 7px solid var(--signal, var(--amber)); box-shadow: var(--shadow); border-radius: .25rem 1rem .25rem .25rem; }
.brand-card a:hover { border-color: var(--lagoon); transform: translateY(-3px); }
.brand-card img { width: 64px; height: 64px; object-fit: contain; border-radius: .6rem; background: #f3f6f5; }
.brand-card strong { display: block; font-size: 1.15rem; }
.brand-card small { display: block; color: var(--muted); margin-top: .2rem; }
.beacon { width: 18px; height: 56px; border: 2px solid #132025; border-radius: 99px; background: var(--signal, var(--amber)); box-shadow: inset 0 0 0 4px white; }
.signal-green { --signal: var(--green); }
.signal-amber { --signal: var(--amber); }
.signal-red { --signal: var(--red); }

.legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.legend-item { background: white; border: 1px solid var(--line); padding: 1.1rem; border-top: 8px solid var(--signal); }
.legend-item strong { display: block; font-size: 1.2rem; margin-bottom: .35rem; }
.legend-item p { margin: 0; color: var(--muted); }
.disclosure { background: #102126; color: white; padding: clamp(1.3rem, 4vw, 2.4rem); border-radius: 0 2rem 0 2rem; border-right: 10px solid var(--lagoon); }
.disclosure h2 { color: #8fc1ff; }
.disclosure a { color: #ffd37c; }

.route-hero { padding: 3rem 0 2.4rem; background: white; border-bottom: 1px solid var(--line); }
.route-hero h1 { font-size: clamp(2.25rem, 6vw, 4.3rem); color: #0c4f79; }
.breadcrumbs { color: var(--muted); font-size: .9rem; margin-bottom: .8rem; }
.breadcrumbs a { color: inherit; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .34fr); gap: 2rem; align-items: start; }
.panel, .content-card { background: white; border: 1px solid var(--line); border-radius: .4rem 1.4rem .4rem .4rem; padding: clamp(1rem, 3vw, 1.6rem); box-shadow: var(--shadow); min-width: 0; }
.stack > * + * { margin-top: 1.25rem; }
.check-list { padding-left: 1.2rem; }
.check-list li + li { margin-top: .65rem; }
.authority-links { display: grid; gap: .65rem; }
.authority-links a { display: block; padding: .8rem; background: #e7f3ff; border-left: 5px solid var(--lagoon); }
.cta-stage { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; background: #fff2d8; border: 2px solid #e39a00; padding: 1.1rem; border-radius: 1rem .25rem 1rem .25rem; }
.cta-stage p { margin: 0; }
.notice { border-left: 7px solid var(--amber); background: #fff8e5; padding: 1rem; }
.notice.danger { border-color: var(--red); background: #fff0ef; }
.notice.safe { border-color: var(--green); background: #e8f7f0; }

.dossier { padding: 2rem 0 4rem; }
.dossier-head { display: grid; grid-template-columns: 120px 1fr; gap: 1.3rem; align-items: center; }
.dossier-logo { width: 112px; height: 112px; object-fit: contain; border-radius: 1rem; background: white; border: 1px solid var(--line); padding: .4rem; }
.verdict-block { margin: 1.4rem 0; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1rem; border: 2px solid var(--signal); border-left-width: 14px; background: white; }
.verdict-block .beacon { height: 78px; width: 25px; }
.verdict-block h2 { margin-bottom: .3rem; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
figure { margin: 0; min-width: 0; }
.evidence { background: #0d171a; color: white; border-radius: .75rem; overflow: hidden; }
.evidence img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; background: #e7ecea; }
.evidence figcaption { padding: .9rem; font-size: .88rem; }
.evidence figcaption strong { color: #ffd37c; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.4rem 0; }
.fact { background: white; border: 1px solid var(--line); padding: 1rem; min-width: 0; }
.fact span { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.fact strong { display: block; margin-top: .3rem; overflow-wrap: anywhere; }

.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); background: white; }
table { width: 100%; border-collapse: collapse; min-width: 0; }
th, td { text-align: left; vertical-align: top; padding: .8rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; word-break: break-word; }
th { background: #e6f5ef; }
.faq { display: grid; gap: .75rem; }
details { background: white; border: 1px solid var(--line); padding: .9rem 1rem; }
summary { cursor: pointer; font-weight: 900; }

form { display: grid; gap: 1rem; }
label { font-weight: 800; }
input, textarea, select { width: 100%; margin-top: .3rem; padding: .8rem; border: 2px solid #8aa099; border-radius: .35rem; background: white; font: inherit; }
textarea { min-height: 10rem; resize: vertical; }
button { border: 0; cursor: pointer; font: inherit; }

.site-footer { background: #102126; color: #c7d6d3; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { color: white; }
.site-footer a { color: #a8d0ff; }
.footer-links { columns: 2; padding: 0; list-style: none; }
.footer-links li { break-inside: avoid; margin-bottom: .45rem; }
.fineprint { border-top: 1px solid #31444a; margin-top: 2rem; padding-top: 1rem; font-size: .86rem; }

@media (max-width: 900px) {
  .hero-grid, .content-grid { grid-template-columns: 1fr; }
  .brand-card, .brand-card:nth-child(n) { grid-column: span 6; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 1.1rem, 1180px); }
  .masthead { grid-template-columns: 1fr; }
  .top-cta { width: 100%; }
  .primary-nav { align-items: stretch; }
  .primary-nav a { flex: 1 1 44%; text-align: center; background: #1d3036; }
  .hero-grid { padding: 2.5rem 0; }
  .hero-panel { transform: none; }
  .section-head { grid-template-columns: 1fr; }
  .atlas-grid { display: block; }
  .brand-card + .brand-card { margin-top: .8rem; }
  .brand-card a { grid-template-columns: 52px 1fr auto; }
  .brand-card img { width: 50px; height: 50px; }
  .legend, .evidence-grid, .facts, .footer-grid { grid-template-columns: 1fr; }
  .dossier-head { grid-template-columns: 76px 1fr; }
  .dossier-logo { width: 72px; height: 72px; }
  .cta-stage { grid-template-columns: 1fr; }
  .cta { width: 100%; }
  .footer-links { columns: 1; }
  th, td { padding: .55rem; font-size: .9rem; }
}

