:root {
  --ink: #182033;
  --muted: #5d6678;
  --paper: #f6f3ed;
  --card: #ffffff;
  --line: #d9d2c4;
  --accent: #234c63;
  --accent-soft: #dfeaf0;
  --warning: #8a5a19;
  --warning-soft: #fff2d8;
  --shadow: 0 18px 45px rgba(24, 32, 51, 0.12);
  --radius: 22px;
  --measure: 72ch;
}



main {
  max-width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.wrap .section-heading {
  max-width: none !important;
}

figure {
  margin-bottom: 1em !important;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 6px);
  background: var(--accent-soft);
}

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

footer {
  padding: 0.5rem !important;
}

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

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

main {
  max-width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.section-nav {
  margin-bottom: 1em;
}

.site-header {
  padding: 56px 0 36px;
  background: linear-gradient(135deg, #f9f6ef 0%, #e9f0f2 60%, #f5e9d5 100%);
  border-bottom: 1px solid var(--line);
}

.header-grid div * {
  max-width: none !important;
}

.verdict-panel,
.two-column,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 32px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  letter-spacing: -0.05em;
  max-width: 10ch;
}

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

h3 {
  font-size: 1.1rem;
}

.lead {
  font-size: clamp(1.04rem, 2vw, 1.26rem);
  max-width: var(--measure);
  color: #263248;
}

.section-nav
{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.section-nav a,
.cluster-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-weight: 700;
}

.hero-card,
.matrix-figure,
.scorebox,
.callout,
.checklist-box,
.cards article,
.checks-panel,
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.matrix-figure {
  padding: 14px;
  margin: 0;
}

figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 12px;
}

main section {
  padding: 42px 0;
}

.verdict-panel {
  padding-top: 56px;
}

.verdict-copy,
.section-heading {
  max-width: var(--measure);
}

.scorebox,
.callout,
.checklist-box {
  padding: 24px;
}

.scorebox {
  background: var(--warning-soft);
  border-color: #e4c88d;
}

.scorebox dl {
  margin: 0;
}

.scorebox dt {
  font-weight: 800;
  margin-top: 14px;
}

.scorebox dd {
  margin: 2px 0 0;
  color: var(--warning);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}

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

thead th {
  background: var(--accent);
  color: #ffffff;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.cards,
.cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.cards article {
  padding: 22px;
}

.alt {
  align-items: stretch;
}

.checklist-box ul,
.callout ul,
.big-list {
  padding-left: 1.25rem;
}

.muted {
  background: var(--accent-soft);
}

.checks-panel {
  padding: 28px;
}

.big-list li {
  margin-bottom: 12px;
}

.cluster-map {
  padding-top: 28px;
}

.cluster-grid a {
  border-radius: 16px;
  background: #ffffff;
}

.faq details {
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}


@media (max-width: 850px) {
  .header-grid,
  .verdict-panel,
  .two-column,
  .cards,
  .cluster-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }
}

.site-footer {
  padding: 42px 0 30px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

section {
  overflow-y: auto;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mobile-menu-wrapper {
  align-items: center;
}

.mobile-menu-wrapper {
  padding: 0.5rem;
}

.site-footer section {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--ink);
}

.site-footer ul,
.site-footer .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 10px;
  color: var(--muted);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}


.mobile-menu-wrapper {
  display: flex;
  width: 100%;
  max-width: 1380px !important;
  justify-content: space-between;
}

.multilevel-nav {
  margin: 0 !important;
  display: flex;
  align-items: center;
  padding: 16px 0 !important;
}

.site-logo {
  width: 175px;
}

.site-footer a:hover,
.site-footer a:focus {
  background: var(--accent);
  color: #ffffff;
}

.footer-copy {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 850px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}