:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-alt: #eef2f6;
  --ink: #1f2933;
  --muted: #52606d;
  --line: #cfd7df;
  --line-strong: #aab7c4;
  --brand: #163b58;
  --brand-dark: #0f2c43;
  --accent: #2f6b93;
  --accent-light: #e6eef4;
  --warn: #fff8e8;
  --max: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--brand-dark); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 1000;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: .65rem .85rem;
  color: var(--brand-dark);
}
.skip-link:focus { top: 1rem; }

.topbar {
  background: var(--surface);
  border-top: 4px solid var(--brand);
  border-bottom: 1px solid var(--line);
}
.site-header {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: var(--brand-dark);
  text-decoration: none;
}
.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 64px;
}
.brand strong,
.brand-title {
  display: block;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-dark);
  letter-spacing: 0;
}
.brand span,
.brand-subtitle {
  display: block;
  margin: 4px 0 0;
  font-size: .95rem;
  color: var(--muted);
}
.nav { position: relative; }
.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.menu a {
  padding: 5px 6px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--brand-dark);
  text-decoration: none;
}
.menu a:hover,
.menu a:focus,
.menu a[aria-current="page"] {
  border-color: var(--line-strong);
  background: var(--surface-alt);
  color: var(--brand-dark);
}
.burger {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: var(--radius);
  padding: .45rem .65rem;
  font: inherit;
  font-size: 1.15rem;
  color: var(--brand-dark);
}

main { min-height: calc(100vh - 180px); overflow: hidden; }
.hero,
.subhero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 34px;
  align-items: center;
}
.subhero .wrap { padding: 38px 0; }
.eyebrow {
  margin: 0 0 .45rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
h1 {
  margin: 0 0 .9rem;
  max-width: 24ch;
  color: var(--brand-dark);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.13;
  letter-spacing: -.018em;
}
.subhero h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h2 {
  margin: 0 0 .7rem;
  color: var(--brand-dark);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.01em;
}
h3 {
  margin: 0 0 .4rem;
  color: var(--brand-dark);
  font-size: 1.12rem;
  line-height: 1.35;
}
h4 { margin: 0 0 .3rem; color: var(--brand-dark); }
p { margin: 0 0 1rem; }
.lead { max-width: 68ch; color: #3f4f5c; font-size: 1.08rem; line-height: 1.65; }

.cta-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 40px;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  padding: .62rem .9rem;
  font-weight: 700;
  font-size: .93rem;
  line-height: 1.25;
  text-decoration: none;
}
.button.primary { background: var(--brand); color: #fff; }
.button.primary:hover { background: var(--brand-dark); color: #fff; }
.button.secondary { background: var(--surface); color: var(--brand-dark); }
.button.secondary:hover { background: var(--surface-alt); color: var(--brand-dark); }

.photo {
  margin: 0;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.photo img {
  width: 100%;
  height: auto
}

.photo figcaption {
  padding: .65rem .8rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}

.facts {
  padding: 20px 0;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fact {
  min-height: 94px;
  padding: 15px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fact small {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
  font-size: .7rem;
}
.fact strong {
  display: block;
  margin-top: .25rem;
  color: var(--brand-dark);
  font-size: .94rem;
  line-height: 1.35;
}

.section { padding: 42px 0; }
.section.white { background: var(--surface); border-top: 1px solid transparent; border-bottom: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}
.section-head p { max-width: 66ch; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card,
.panel {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}
.section-head-wide-title > div {
  grid-column: 1 / -1;
}

.section-head-wide-title > p {
  grid-column: 1 / -1;
  max-width: 90ch;
}
.card p,
.panel p { color: #465765; }
.card .kicker {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.icon-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: .65rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--brand-dark);
  font-weight: 700;
}
.clean-list,
.check-list { padding-left: 1.2rem; margin: .55rem 0 0; }
.clean-list li,
.check-list li { margin: .38rem 0; }
.check-list { list-style: none; padding-left: 0; }
.check-list li { position: relative; padding-left: 1.45rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.no-list li::before { content: "–"; }

.notice {
  padding: 16px 18px;
  background: var(--warn);
  border: 1px solid #e2cf9d;
  border-radius: var(--radius);
}
.notice p:last-child { margin-bottom: 0; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 24px;
  align-items: start;
}
.definition {
  display: grid;
  grid-template-columns: 165px 1fr;
  border-top: 1px solid var(--line);
}
.definition dt,
.definition dd { margin: 0; padding: .68rem 0; border-bottom: 1px solid var(--line); }
.definition dt { padding-right: 1rem; color: var(--brand-dark); font-weight: 700; }
.definition dd { color: #465765; }
.timeline { counter-reset: step; display: grid; gap: 10px; }
.timeline article {
  counter-increment: step;
  position: relative;
  padding: 15px 16px 15px 58px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline article::before {
  content: counter(step);
  position: absolute;
  left: 15px;
  top: 15px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--brand);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 700;
}
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th,
td { padding: .75rem .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--surface-alt); color: var(--brand-dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }

.profile-band {
  background: var(--brand);
  color: #fff;
}
.profile-band h2 { color: #fff; }
.profile-band p { color: #e0e8ed; }
.profile-band .button.secondary { background: transparent; color: #fff; border-color: #d9e3e8; }
.profile-band .button.secondary:hover { background: #fff; color: var(--brand-dark); }
.contact-card {
  padding: 20px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
}
.contact-card h2,
.contact-card h3 { color: #fff; }
.contact-card p,
.contact-card a { color: #e4edf2; }
.contact-card a.button { border-color: #fff; color: #fff; background: transparent; }
.contact-card a.button:hover { background: #fff; color: var(--brand-dark); }
.callout { padding: .6rem 0 .6rem .9rem; border-left: 4px solid var(--accent); color: #3e5362; }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.chip {
  padding: .34rem .6rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--brand-dark);
  font-size: .8rem;
  font-weight: 700;
}

.footer {
  padding: 30px 0;
  background: var(--brand-dark);
  color: #d4dee4;
}
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 28px; }
.footer a { color: #fff; }
.footer small { display: block; margin-top: .8rem; color: #aebfca; }

@media (max-width: 1060px) {
  .burger { display: inline-block; }
  .menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + .55rem);
    z-index: 100;
    width: min(360px, calc(100vw - 2rem));
    padding: .55rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(15, 44, 67, .12);
  }
  .menu.is-open { display: flex; }
  .menu a { padding: .7rem .75rem; }
}

@media (max-width: 820px) {
  .site-header { gap: 16px; padding: 14px 0; }
  .hero-grid,
  .split,
  .section-head { grid-template-columns: 1fr; }
  .hero-grid { padding: 34px 0; }
  .hero-grid .photo { max-width: 560px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3,
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .brand { gap: 10px; }
  .brand img { width: 50px; height: 50px; flex-basis: 50px; }
  .brand strong,
  .brand-title { font-size: 1.12rem; }
  .brand span,
  .brand-subtitle { display: none; }
  h1 { font-size: 2rem; }
  .facts-grid,
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .definition { grid-template-columns: 1fr; }
  .definition dt { padding-bottom: 0; border-bottom: 0; }
  .definition dd { padding-top: .25rem; }
  .cta-row .button { width: 100%; }
}

@media print {
  .topbar,
  .cta-row,
  .footer { display: none !important; }
  body { background: #fff; color: #000; font-size: 10pt; }
  .hero,
  .subhero,
  .section { background: #fff !important; padding: 1rem 0; }
  .card,
  .panel,
  .table-wrap { break-inside: avoid; }
}
