@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson";
  src: url("../fonts/atkinson-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson";
  src: url("../fonts/atkinson-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1a2744;
  --navy-deep: #121a2e;
  --paper: #f4f1ea;
  --ink: #161616;
  --muted: #3f4450;
  --line: #c9c3b6;
  --accent: #b42318;
  --accent-ink: #fff8f4;
  --white: #fffcf7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: #1a2744; color: #f4f1ea; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Atkinson, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 12px;
  z-index: 20;
  font-weight: 700;
}
.skip:focus { top: 12px; }
::placeholder { color: #667084; }
input, textarea, select { caret-color: var(--accent); }

.nav {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 16px 28px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 8;
}
.brand {
  text-decoration: none;
  font-family: Bricolage, Georgia, serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.brand em {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-left: 10px;
  font-family: Atkinson, sans-serif;
  letter-spacing: 0;
}
.links { display: flex; gap: 22px; font-weight: 700; }
.links a { text-decoration: none; }
.links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  padding: 11px 16px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  outline: 1px solid var(--ink);
}
.btn.light {
  background: var(--white);
  color: var(--navy);
}

.hero {
  background: var(--navy);
  color: #eef1f6;
  padding: 72px 0 64px;
}
.hero h1,
.page-title,
.prose h1 {
  font-family: Bricolage, Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 16px;
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); max-width: 16ch; color: #fff; }
.hero .lead { color: #d5dbe6; font-size: 20px; max-width: 46ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.block { padding: 64px 0; }
.block h2 {
  font-family: Bricolage, Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.lead { font-size: 19px; max-width: 62ch; margin: 0 0 24px; }
.muted { color: var(--muted); }

.mast {
  background: var(--navy);
  color: #eef1f6;
  padding: 48px 0 40px;
}
.mast .page-title { font-size: clamp(36px, 6vw, 56px); color: #fff; }
.mast .lead { color: #d5dbe6; }

.lines {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}
.lines th,
.lines td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.lines th {
  width: 28%;
  font-family: Bricolage, Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lines thead th {
  font-family: Atkinson, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}
.col { padding: 28px; }
.col + .col { border-left: 1px solid var(--line); }
.col h3 {
  font-family: Bricolage, Georgia, serif;
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.steps { margin: 0; padding: 0; list-style: none; background: var(--white); border: 1px solid var(--line); }
.steps li {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 0; }
.steps strong {
  font-family: Bricolage, Georgia, serif;
  font-size: 20px;
  display: block;
  margin-bottom: 4px;
}

.facts { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.facts th, .facts td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.facts th { width: 220px; color: var(--muted); font-weight: 700; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}
.form {
  display: grid;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}
label { font-weight: 700; }
input, textarea, select {
  width: 100%;
  font: inherit;
  padding: 10px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
}
.form .btn { justify-self: start; }

.prose { max-width: 70ch; }
.prose h2 {
  font-family: Bricolage, Georgia, serif;
  font-size: 28px;
  margin: 32px 0 10px;
}
.prose p { margin: 0 0 14px; }

.band {
  background: var(--navy-deep);
  color: #eef1f6;
  padding: 48px 0;
}
.band .page-title { color: #fff; font-size: clamp(32px, 5vw, 48px); }
.band .lead { color: #d5dbe6; }

.foot {
  background: var(--navy-deep);
  color: #c5ccd8;
  padding: 36px 28px;
}
.foot a { color: #fff; }
.fg {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  width: min(1080px, 100%);
  margin: 0 auto 20px;
}
.fine {
  width: min(1080px, 100%);
  margin: 0 auto;
  border-top: 1px solid #2c3854;
  padding-top: 14px;
  font-size: 12px;
}

@media (max-width: 860px) {
  .hero, .split, .fg, .grid-2 { grid-template-columns: 1fr; }
  .col + .col { border-left: 0; border-top: 1px solid var(--line); }
  .nav { grid-template-columns: 1fr auto auto; gap: 10px; }
  .menu-btn { display: inline-flex; }
  .links {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 12px;
    padding: 8px 0 4px;
  }
  .nav.open .links { display: flex; }
  .brand em { display: none; }
}
