:root {
  --ink: #18202a;
  --muted: #5c6775;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #ddd6c8;
  --accent: #34517a;
  --accent-soft: #e7edf6;
  --warning: #7a4b2c;
  --warning-soft: #f5e8da;
  --shadow: 0 18px 40px rgba(24, 32, 42, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a { color: var(--accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.14em; }

.site-header {
  padding: 1rem clamp(1rem, 4vw, 4rem) 3rem;
  background: linear-gradient(135deg, #f8f4eb, #eef3f8);
  border-bottom: 1px solid var(--line);
}

.top-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 2rem;
}

.top-nav a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
}

.hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1,
.hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-image-under {
  max-width: 1180px;
  margin: 2rem auto 0;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1, h2, h3 { line-height: 1.18; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.35rem, 6vw, 5rem); letter-spacing: -0.05em; max-width: 760px; }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; }

.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 820px; }
.hero-note { color: var(--muted); font-weight: 700; }

figure { margin: 0; }
img { max-width: 100%; height: auto; border-radius: 1.4rem; border: 1px solid var(--line); box-shadow: var(--shadow); background: #ececec; }
figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.6rem; }

/* Hub image placeholders: keep a designed frame visible until final images are added. */
.image-card {
  width: 100%;
  min-height: clamp(420px, 56vw, 748px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: none;
}

.image-card img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--panel);
}

.image-card figcaption {
  margin: 0;
  padding: 0.85rem 1.35rem 1.25rem;
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.45;
  background: var(--panel);
}

.hero-image-under .image-card {
  min-height: clamp(430px, 56vw, 720px);
}

.image-band .image-card {
  min-height: clamp(420px, 54vw, 700px);
}

main { max-width: 1320px; margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 4rem); }
section { margin: 0 0 2.5rem; }

.review-toc {
  background: #fffaf2;
  border: 1px solid #d9c7ac;
  border-radius: 1.2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.review-toc h2 {
  font-size: 1.15rem;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}

.review-toc nav {
  display: grid;
  gap: 0.6rem;
}

.review-toc a {
  width: fit-content;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #005850;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
}

.review-toc a:hover {
  text-decoration-thickness: 0.12em;
}


.verdict-card, .image-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.verdict-card > div, .split > div, .route-grid article, details, .image-band > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.signal-box { background: var(--accent-soft); }
dl { margin: 0; }
dt { font-weight: 700; margin-top: 0.8rem; }
dd { margin: 0.15rem 0 0; color: var(--muted); }

.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 1.2rem; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; vertical-align: top; padding: 0.9rem; border-bottom: 1px solid var(--line); }
th { background: var(--accent-soft); }
tr:last-child td { border-bottom: 0; }

.split > div { height: 100%; }
.check-list, .warn-list { padding-left: 1.2rem; }
.check-list li, .warn-list li { margin-bottom: 0.7rem; }
.warn-list li::marker { color: var(--warning); }

.image-band {
  background: var(--warning-soft);
  border: 1px solid #e3cdb7;
  border-radius: 1.4rem;
  padding: 1rem;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.route-grid h2 { grid-column: 1 / -1; }
.route-grid article { min-height: 150px; }
.route-grid p { margin-bottom: 0; }

details { margin-bottom: 0.75rem; }
summary { cursor: pointer; font-weight: 700; }
.sources { background: #f3efe6; border: 1px solid var(--line); border-radius: 1.2rem; padding: 1.3rem; }

footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: var(--muted);
  background: #f4f1ea;
}
footer nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 0.8rem; }

@media (max-width: 860px) {
  .verdict-card, .split, .image-band { grid-template-columns: 1fr; }
  .route-grid { grid-template-columns: 1fr; }
  .top-nav a { font-size: 0.88rem; }
}
