:root {
  --ink: #1c2433;
  --muted: #5a6372;
  --paper: #f3efe6;
  --card: #fffdf8;
  --line: #ddd4c6;
  --navy: #0b1b69;
  --navy-2: #16256e;
  --rust: #c24e1d;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 18px/1.6 "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--rust); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 12px; }

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

.site-header {
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 4;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.logo span { display: block; font-size: 15px; white-space: nowrap; }
.mark {
  width: 36px;
  height: 36px;
  flex: none;
  background: var(--navy);
  border-radius: 8px;
  position: relative;
}
.mark:before, .mark:after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  background: #f4efe4;
  border-radius: 2px;
}
.mark:before { top: 12px; }
.mark:after { top: 19px; }

.nav-toggle { display: none; }
.site-nav ul {
  display: flex;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.site-nav a[aria-current="page"] { color: var(--rust); }

.hero { padding: 48px 0 20px; }
.kicker {
  margin: 0 0 10px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 16px; max-width: 16ch; }
h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; }
h3 { font-size: 22px; margin: 0 0 8px; }
.lead { font-size: 20px; max-width: 42em; margin: 0 0 18px; }
.muted { color: var(--muted); }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 8px;
}
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { border-top: 1px solid var(--line); }
.service-list li:first-child { border-top: 0; }
.service-list a {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 12px 24px;
  padding: 16px 4px;
  text-decoration: none;
  color: inherit;
}
.service-list strong { color: var(--navy); }
.service-list span { color: var(--muted); }

.section { padding: 28px 0; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.steps { margin: 0; padding-left: 1.2em; }
.steps li { margin: 0 0 10px; }
.note {
  background: var(--navy);
  color: #f4efe4;
  border-radius: 16px;
  padding: 22px;
}
.note a { color: #f3c7b0; }
.note p { margin: 0 0 10px; }
.note p:last-child { margin: 0; }

main { padding-bottom: 20px; }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 14px; }
.prose h2 { margin-top: 28px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.2em; }
.prose li { margin: 0 0 8px; }
.page-hero { padding: 36px 0 8px; }
.page-hero h1 { max-width: 20ch; }
.crumbs { font-size: 14px; margin: 0 0 10px; color: var(--muted); }
.crumbs a { color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card h2, .card h3 { color: var(--navy); }

.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  max-width: 40em;
}
.contact-box a { font-weight: 700; }

.site-footer {
  background: var(--navy);
  color: #d9deef;
  padding: 36px 0 28px;
  margin-top: 20px;
  font-size: 15px;
}
.site-footer a { color: #f3c7b0; }
.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.foot-nav { display: flex; gap: 14px 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-footer p { margin: 0 0 10px; max-width: 78ch; }

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
  }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; padding-bottom: 12px; }
  .site-nav ul { flex-direction: column; align-items: flex-start; }
  .header-row { flex-wrap: wrap; padding: 10px 0; }
  .service-list a, .split, .cards { grid-template-columns: 1fr; }
  h1 { max-width: none; }
}
