:root {
  --ink: #172029;
  --muted: #5f6b74;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #d7ddd6;
  --soft: #eef2ea;
  --deep: #1f342d;
  --accent: #b7791f;
  --accent-soft: #f3e7d2;
  --shadow: 0 22px 55px rgba(23, 32, 41, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, #f7f3ea 0%, var(--paper) 460px, #fdfcf8 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.92);
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px);
  gap: 28px;
  align-items: center;
  padding: 22px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}

.header-note,
.footer-grid p,
figcaption,
.lead + p {
  color: var(--muted);
}

.header-note {
  margin: 0;
  max-width: 760px;
}

.age-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  padding: 16px 18px;
  color: var(--deep);
  box-shadow: 0 8px 24px rgba(23, 32, 41, 0.06);
}

.hero {
  padding: 56px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 38px;
  align-items: center;
}

.hero-copy {
  padding: 18px 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  color: var(--deep);
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  color: #26343f;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-actions span {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--deep);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-figure {
  margin: 0;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-figure figcaption,
.wide-figure figcaption,
.figure-card figcaption {
  padding: 12px 4px 2px;
  font-size: 0.92rem;
}

.section-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 42px);
  margin-top: 28px;
  box-shadow: 0 14px 36px rgba(23, 32, 41, 0.06);
}

.verdict-card {
  position: relative;
  overflow: hidden;
}

.verdict-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--accent);
}

.takeaway-grid,
.topic-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.takeaway-grid {
  grid-template-columns: repeat(3, 1fr);
}

.takeaway-grid article,
.topic-grid article,
.insight-panel,
.check-box li,
.route-list dd,
details {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.takeaway-grid article,
.topic-grid article,
.insight-panel {
  padding: 20px;
}

.takeaway-grid p,
.topic-grid p,
.insight-panel p {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0 26px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: var(--panel);
}

caption {
  text-align: left;
  padding-bottom: 12px;
  font-weight: 800;
  color: var(--deep);
}

th,
td {
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 15px;
}

thead th {
  background: var(--deep);
  color: #fff;
}

tbody th {
  width: 20%;
  background: var(--accent-soft);
}

a {
  color: #684008;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  font-weight: 700;
}

a:focus,
a:hover {
  text-decoration-thickness: 0.14em;
}

.wide-figure {
  margin: 0;
  background: var(--soft);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.two-column,
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.two-column .section-card,
.split-feature .section-card {
  margin-top: 28px;
}

.check-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.check-box li {
  padding: 14px 16px;
}

.check-box li:before {
  content: "Check: ";
  font-weight: 800;
  color: var(--accent);
}

.insight-panel {
  margin-top: 28px;
  position: sticky;
  top: 18px;
}

.topic-grid {
  grid-template-columns: repeat(5, 1fr);
}

.figure-card {
  margin: 28px 0 0;
}

.route-list {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px 16px;
  margin: 22px 0 0;
}

.route-list dt {
  font-weight: 850;
  color: var(--deep);
  padding-top: 14px;
}

.route-list dd {
  margin: 0;
  padding: 14px 16px;
}

.faq {
  margin-top: 28px;
  margin-bottom: 44px;
}

.faq h2 {
  margin-bottom: 18px;
}

details {
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--panel);
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--deep);
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  background: var(--deep);
  color: #fff;
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 850;
  margin-bottom: 8px;
  color: #fff !important;
}

.site-footer a {
  color: #fff;
  display: inline-block;
  margin-left: 18px;
}

@media (max-width: 980px) {
  .header-grid,
  .hero-grid,
  .two-column,
  .split-feature,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .takeaway-grid,
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insight-panel {
    position: static;
  }

  .site-footer a {
    margin: 0 18px 8px 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 26px, var(--max));
  }

  .hero {
    padding-top: 34px;
  }

  .takeaway-grid,
  .topic-grid,
  .route-list {
    grid-template-columns: 1fr;
  }

  .route-list dt {
    padding-top: 0;
  }

  .section-card {
    border-radius: 20px;
  }
}
