:root {
  --navy: #1c2b4a;
  --blue: #2a4d8f;
  --red: #b22234;
  --pr-blue: #0050f0;
  --ink: #1d2433;
  --muted: #5a6478;
  --line: #dde2ea;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --false: #b22234;
  --mostly-false: #c4561d;
  --partly-true: #8a6d00;
  --debated: #5b4b8a;
  --info: #2a4d8f;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--blue); }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--navy); }
h2 { font-size: 2rem; margin: 0 0 .5rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 .4rem; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.small { font-size: .9rem; color: var(--muted); }
.intro { color: var(--muted); max-width: 760px; margin-top: 0; }
.mt { margin-top: 3rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.flagbar { height: 6px; background: linear-gradient(90deg, var(--red) 0 33.3%, #fff 33.3% 66.6%, var(--blue) 66.6%); border-bottom: 1px solid var(--line); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.brand img { border: 1px solid var(--line); border-radius: 2px; }
.brand span { margin-left: 6px; }
.nav { display: flex; gap: 18px; flex: 1; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--red); }
.lang-switch { border: 2px solid var(--navy); color: var(--navy); padding: 4px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .9rem; }
.lang-switch:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -80px; top: 0; bottom: 0; width: 40%; background: repeating-linear-gradient(180deg, rgba(178,34,52,.35) 0 28px, rgba(255,255,255,.06) 28px 56px); clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); max-width: 820px; margin: .3rem 0 1rem; }
.tagline { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 700; color: #f0c4ca; margin: 0; }
.lede { font-size: 1.2rem; max-width: 700px; color: #e6eaf2; }
.lede strong { color: #fff; }
.cta { display: inline-block; margin-top: 1rem; background: var(--red); color: #fff; padding: 12px 22px; border-radius: 6px; text-decoration: none; font-weight: 700; }
.cta:hover { background: #fff; color: var(--red); }

/* Stats */
.stats-band { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 36px 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.stat-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--red); line-height: 1; }
.stat p { margin: .5rem 0 0; color: var(--muted); font-size: 1rem; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 8px; padding: 24px; box-shadow: 0 2px 10px rgba(28,43,74,.06); }
.reqs h3 { margin-top: 0; }
.reqs ol { padding-left: 1.3rem; margin: 0; }
.reqs li { margin-bottom: .8rem; }
.req-title { display: block; font-weight: 700; }
.req-note { display: block; color: var(--muted); font-size: .92rem; }

/* Myths */
.myths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
.myth { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--c, var(--false)); border-radius: 8px; padding: 22px 24px; }
.myth-false { --c: var(--false); }
.myth-mostly-false { --c: var(--mostly-false); }
.myth-partly-true { --c: var(--partly-true); }
.myth-debated { --c: var(--debated); grid-column: 1 / -1; }
.myth-info { --c: var(--info); }
.verdict { display: inline-block; background: var(--c); color: #fff; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 4px; }
.claim { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--navy); margin: .8rem 0; }
.label { font-family: var(--sans); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; color: var(--muted); margin-right: 4px; }
.fact { font-size: 1rem; }
.fact ul { padding-left: 1.2rem; }
.fact li { margin-bottom: .5rem; }

/* Map + chart */
.map-frame { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg-alt); min-height: 480px; }
.map-frame iframe { display: block; width: 100%; }
.pending { background: var(--bg-alt); border: 1px dashed var(--line); padding: 20px; border-radius: 8px; color: var(--muted); }
.traffic-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 1rem 0; }
.big .num { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--red); margin-right: 8px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-left: 10px; }
.sw-foreign, .bar-foreign { background: var(--red); fill: var(--red); }
.sw-us, .bar-us { background: var(--blue); fill: var(--blue); }
.chart { width: 100%; height: auto; }
.chart .grid { stroke: var(--line); }
.chart .axis { font-size: 12px; fill: var(--muted); font-family: var(--sans); }
.table-wrap { margin-top: 1rem; }
.table-wrap summary { cursor: pointer; font-weight: 700; color: var(--blue); }
table { border-collapse: collapse; width: 100%; max-width: 560px; margin-top: .6rem; font-size: .95rem; }
th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); }
tr.total td { font-weight: 700; }

/* Sources + footer */
.sources { padding-left: 1.2rem; }
.sources li { margin-bottom: .5rem; }
.site-footer { background: var(--navy); color: #cfd6e4; padding: 32px 0; font-size: .95rem; }
.site-footer .small { color: #9aa6bd; }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .nav { order: 3; flex-basis: 100%; gap: 14px; padding-bottom: 10px; overflow-x: auto; flex-wrap: nowrap; }
  .site-header { position: static; }
  .hero { padding: 48px 0; }
  .hero::after { display: none; }
  .myths { grid-template-columns: 1fr; }
  h2 { font-size: 1.6rem; }
}

/* Top myths, tips, cost table */
.myth-top { box-shadow: 0 4px 16px rgba(178,34,52,.12); }
.top-badge { display: inline-block; margin-left: 8px; font-size: .8rem; font-weight: 700; color: var(--red); }
.tip { background: #fff7e6; border: 1px solid #f1dcae; border-radius: 6px; padding: 12px 14px; font-size: .95rem; margin: 1rem 0 0; }
.cost { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: .4rem; }
.cost h3 { margin-top: .8rem; }
.cost table { max-width: 100%; }
.cost td.num { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* 2025 berth map */
.berth-map { height: 480px; margin-top: .8rem; }
.legend .li { white-space: nowrap; }
.legend .li .sw { margin-right: 6px; vertical-align: -2px; }
@media (max-width: 820px) { .berth-map { height: 380px; min-height: 0; } }
