:root,
html[data-theme="light"] {
  --paper: #F4F7FB;
  --surface: #FFFFFF;
  --ink: #0E1A2B;
  --ink-soft: #1A2E44;
  --muted: #243B56;
  --line: #D5DEE8;
  --accent: #1A5084;
  --mark: #1A5084;
  --focus: #1A5084;
  --edge: #1A5084;
  --btn: #1F5C96;
  --btn-hover: #1A5084;
  --btn-text: #ffffff;
  --header: #1F5C96;
  --menu: #1A5084;
  --header-ink: #ffffff;
  --header-muted: #ffffff;
  --header-line: rgba(255, 255, 255, 0.35);
  --card: #FFFFFF;
  --band: #E7EEF6;
  --foot: #1A5084;
  --foot-ink: #ffffff;
  --foot-muted: #ffffff;
  --drawer: #FFFFFF;
  --drawer-line: #1A5084;
  --theme-color: #800020;
}

html[data-theme="dark"] {
  --paper: #0E1A2B;
  --surface: #14304F;
  --ink: #ffffff;
  --ink-soft: #E7EEF6;
  --muted: #D5DEEA;
  --line: #2A4668;
  --accent: #ffffff;
  --mark: #E7EEF6;
  --focus: #ffffff;
  --edge: #1F5C96;
  --btn: #1F5C96;
  --btn-hover: #1A5084;
  --btn-text: #ffffff;
  --header: #1F5C96;
  --menu: #1A5084;
  --header-ink: #ffffff;
  --header-muted: #ffffff;
  --header-line: rgba(255, 255, 255, 0.35);
  --card: #14304F;
  --band: #12263F;
  --foot: #1A5084;
  --foot-ink: #ffffff;
  --foot-muted: #ffffff;
  --drawer: #14304F;
  --drawer-line: #1F5C96;
  --theme-color: #1A5084;
}

html[data-theme="green"] {
  --paper: #F4F1EA;
  --surface: #FBFAF6;
  --ink: #0E1712;
  --ink-soft: #1A2B22;
  --muted: #24352C;
  --line: #D4CBBA;
  --accent: #1F3D2B;
  --mark: #1F3D2B;
  --focus: #1F3D2B;
  --edge: #1F3D2B;
  --btn: #1F3D2B;
  --btn-hover: #173024;
  --btn-text: #ffffff;
  --header: #1F3D2B;
  --menu: #1F3D2B;
  --header-ink: #ffffff;
  --header-muted: #D5DDD6;
  --header-line: rgba(255, 255, 255, 0.45);
  --card: #FBFAF6;
  --band: #E7E2D6;
  --foot: #1F3D2B;
  --foot-ink: #ffffff;
  --foot-muted: #D5DDD6;
  --drawer: #FBFAF6;
  --drawer-line: #1F3D2B;
  --theme-color: #1F3D2B;
}

html[data-theme="light-green"] {
  --paper: #e7f3ea;
  --surface: #f4fbf6;
  --ink: #14241c;
  --ink-soft: #24382d;
  --muted: #4d6558;
  --line: #c5dccb;
  --accent: #1b6b45;
  --mark: #1b6b45;
  --focus: #1b6b45;
  --edge: #1b6b45;
  --btn: #1b6b45;
  --btn-hover: #145536;
  --btn-text: #ffffff;
  --header: rgba(231, 243, 234, 0.94);
  --menu: #e7f3ea;
  --header-ink: #14241c;
  --header-muted: #4d6558;
  --header-line: #c5dccb;
  --card: #f4fbf6;
  --band: #d7eadc;
  --foot: #143028;
  --foot-ink: #ffffff;
  --foot-muted: #ffffff;
  --drawer: #f4fbf6;
  --drawer-line: #1b6b45;
  --theme-color: #e7f3ea;
}

html[data-theme="dark-green"] {
  --paper: #0E1712;
  --surface: #17241C;
  --ink: #ffffff;
  --ink-soft: #E7EEE9;
  --muted: #D5DDD6;
  --line: #2C4034;
  --accent: #E7EEE9;
  --mark: #E7EEE9;
  --focus: #ffffff;
  --edge: #1F3D2B;
  --btn: #1F3D2B;
  --btn-hover: #173024;
  --btn-text: #ffffff;
  --header: #1F3D2B;
  --menu: #1F3D2B;
  --header-ink: #ffffff;
  --header-muted: #D5DDD6;
  --header-line: rgba(255, 255, 255, 0.45);
  --card: #17241C;
  --band: #121C17;
  --foot: #1F3D2B;
  --foot-ink: #ffffff;
  --foot-muted: #D5DDD6;
  --drawer: #17241C;
  --drawer-line: #1F3D2B;
  --theme-color: #1F3D2B;
}

html[data-theme="blue"] {
  --paper: #1F5C96;
  --surface: #1A5084;
  --ink: #ffffff;
  --ink-soft: #ffffff;
  --muted: #ffffff;
  --line: rgba(255, 255, 255, 0.28);
  --accent: #ffffff;
  --mark: #ffffff;
  --focus: #ffffff;
  --edge: #ffffff;
  --btn: #1A5084;
  --btn-hover: #1A5084;
  --btn-text: #ffffff;
  --header: #1F5C96;
  --menu: #1A5084;
  --header-ink: #ffffff;
  --header-muted: #ffffff;
  --header-line: rgba(255, 255, 255, 0.35);
  --card: #1A5084;
  --band: #1A5084;
  --foot: #1A5084;
  --foot-ink: #ffffff;
  --foot-muted: #ffffff;
  --drawer: #1A5084;
  --drawer-line: #ffffff;
  --theme-color: #1F5C96;
}

html[data-theme="light-blue"] {
  --paper: #e7f1f8;
  --surface: #f5fafc;
  --ink: #152433;
  --ink-soft: #2c4154;
  --muted: #5a7082;
  --line: #c5d7e6;
  --accent: #1d4e89;
  --mark: #1d4e89;
  --focus: #1d4e89;
  --edge: #1d4e89;
  --btn: #1d4e89;
  --btn-hover: #163a66;
  --btn-text: #ffffff;
  --header: rgba(231, 241, 248, 0.94);
  --menu: #e7f1f8;
  --header-ink: #152433;
  --header-muted: #5a7082;
  --header-line: #c5d7e6;
  --card: #f5fafc;
  --band: #d5e6f2;
  --foot: #152433;
  --foot-ink: #ffffff;
  --foot-muted: #ffffff;
  --drawer: #f5fafc;
  --drawer-line: #1d4e89;
  --theme-color: #e7f1f8;
}

:root {
  --max: 1120px;
  --serif: "Sora", "Segoe UI", sans-serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  color-scheme: light;
}
html[data-theme="dark"],
html[data-theme="dark-green"],
html[data-theme="green"],
html[data-theme="blue"] { color-scheme: dark; }

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 120px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

img { display: block; max-width: 100%; }

a { color: var(--ink); text-decoration-color: var(--mark); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.top :focus-visible { outline-color: #ffffff; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--btn);
  color: var(--btn-text);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

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

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  min-height: 76px;
  padding: 12px 24px 0;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand img { width: auto; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand-legal {
  margin-top: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.nav {
  display: flex;
  flex: 1 0 100%;
  order: 3;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 2px 8px;
  position: relative;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.brand { order: 1; }
.header-tools { order: 2; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }

.nav-cta {
  padding: 8px 14px;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  box-shadow: none !important;
}
.nav-cta:hover,
.nav-cta[aria-current="page"] {
  background: var(--btn);
  color: var(--btn-text) !important;
  border-color: var(--btn);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.settings { position: relative; }
.settings-btn {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--header-line);
  background: transparent;
  color: var(--header-ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.settings-btn:hover,
.settings-btn[aria-expanded="true"] { border-color: var(--accent); }
.settings-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 180px;
  padding: 12px;
  background: var(--drawer);
  border: 1px solid var(--drawer-line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.settings-panel[hidden] { display: none !important; }
.settings-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.theme-list { display: flex; flex-direction: column; }
.theme-list button {
  min-height: 36px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}
.theme-list button:hover { background: var(--band); }
.theme-list button[aria-checked="true"] {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--header-line);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--header-ink);
}

.menu-details { display: none; }
summary.nav-toggle { list-style: none; }
summary.nav-toggle::-webkit-details-marker { display: none; }
.nav-group {
  display: inline-flex;
  align-items: center;
  position: relative;
  gap: 1px;
}
.nav-sections { position: relative; }
.nav-sections > summary {
  list-style: none;
  cursor: pointer;
  width: 22px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-sections > summary::-webkit-details-marker { display: none; }
.nav-sections > summary::after {
  content: "";
  border: solid var(--header-ink);
  border-width: 0 1.5px 1.5px 0;
  width: 6px;
  height: 6px;
  transform: rotate(45deg) translateY(-2px);
}
.nav-sections[open] > summary::after {
  transform: rotate(-135deg) translateY(-1px);
}
.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  display: none;
  flex-direction: column;
  min-width: 240px;
  max-height: 70vh;
  overflow: auto;
  padding: 6px 0;
  background: var(--drawer);
  border: 1px solid var(--drawer-line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.nav-sections[open] > .nav-panel { display: flex; }
.nav-group.align-end .nav-panel { left: auto; right: 0; }
.nav-panel a {
  display: block;
  padding: 8px 14px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: none;
}
.nav-panel a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--mark); }

.nav-search {
  position: relative;
  flex: 0 1 16rem;
  width: 16rem;
  max-width: 100%;
  margin: 2px 10px 2px 0;
}
.nav-search-input {
  width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--header-line);
  border-radius: 0;
  background: transparent;
  color: var(--header-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  caret-color: var(--header-ink);
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
}
html[data-theme="light-green"] .nav-search-input,
html[data-theme="light-blue"] .nav-search-input { color-scheme: light; }
.nav-search-input::placeholder {
  color: var(--header-ink);
  opacity: 0.72;
}
.nav-search-input:focus {
  border-color: var(--header-ink);
}
.nav-search-input:focus-visible {
  outline: 2px solid var(--header-ink);
  outline-offset: 2px;
}
.nav-search-panel {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  width: max(100%, 22rem);
  max-height: min(24rem, 70vh);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--drawer);
  border: 1px solid var(--drawer-line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.nav-search-panel[hidden],
.nav-search-list[hidden],
.nav-search-empty[hidden] { display: none !important; }
.nav-search-list { margin: 0; padding: 6px 0; }
.nav-search-list a {
  display: block;
  padding: 8px 14px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: none;
}
.nav-search-page {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-search-list a:hover {
  background: var(--band);
  color: var(--ink);
  box-shadow: inset 3px 0 0 var(--mark);
  text-decoration: none;
}
.nav-search-list a[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
  text-decoration: none;
}
.nav-search-list a[aria-selected="true"] .nav-search-page {
  color: var(--paper);
  opacity: 0.75;
}
.nav-search-empty {
  margin: 0;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.95rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero { padding: 80px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.72fr;
  gap: 56px;
  align-items: end;
}
.rail { display: flex; flex-direction: column; gap: 10px; }
.rail a {
  display: block;
  padding: 16px 18px 14px;
  background: var(--card);
  border: 1px solid var(--edge);
  text-decoration: none;
  color: var(--ink);
}
.rail a:hover { border-color: var(--edge); color: var(--ink); }
.rail strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.rail span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mark);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
.hero-title {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero h1 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  font-size: clamp(2.35rem, 4.4vw, 3.55rem);
  line-height: 1.05;
  font-weight: 500;
  color: var(--ink);
}
.hero-logo {
  flex: 0 0 auto;
  width: auto;
  height: clamp(104px, 12vw, 148px);
  max-width: 38%;
}
.hero-title + .hero-grid { margin-top: 8px; }
.motto {
  margin: 8px 0 0;
  max-width: 22em;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}
.lede {
  margin: 18px 0 0;
  max-width: 38em;
  font-size: 1.125rem;
  color: var(--ink-soft);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  border: 1px solid transparent;
}
.btn.primary { background: var(--btn); color: var(--btn-text); }
.btn.primary:hover { color: #ffffff; background: var(--btn-hover); filter: none; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }

.band { padding: 72px 0; }
.band.alt { background: var(--band); }
.split {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 40px;
  align-items: start;
}
.split h2,
.section-head h2,
.page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.08;
}
.page-head { padding: 56px 0 8px; }
.page-head .lede { margin-top: 16px; }
.split p, .prose p { margin: 0 0 16px; color: var(--ink-soft); }
.split p:last-child, .prose p:last-child { margin-bottom: 0; }
.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 1.15em;
  color: var(--ink-soft);
}
.prose li { margin: 0 0 0.45em; }
.prose li:last-child { margin-bottom: 0; }

.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts article { padding: 36px 28px 40px 0; }
.facts article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.num {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--mark);
}
.facts h2,
.card h3,
.steps h2,
.steps h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.2;
}
.facts p, .card p, .steps p { margin: 0; color: var(--ink-soft); }

.section-head { max-width: 36em; margin-bottom: 32px; }
.section-head p { margin: 12px 0 0; color: var(--ink-soft); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  padding: 22px 22px 24px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-top: 3px solid var(--edge);
}
.card h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--mark);
}
.card h3 a:hover { color: var(--ink); border-bottom-color: var(--mark); }
.covers {
  margin: 12px 0 0 !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mark) !important;
}

.record {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.record article {
  padding: 20px 18px 22px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-top: 3px solid var(--edge);
}
.record h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.record p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
}
.process article { padding: 28px 24px 8px 0; }
.process article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.process h2,
.process h3 { margin: 0 0 8px; font-size: 1.25rem; }
.process p { margin: 0; color: var(--ink-soft); }

.cta-band {
  background: var(--foot);
  color: var(--foot-ink);
  padding: 72px 0;
}
.cta-band .eyebrow { color: #fff; }
.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--foot-ink);
}
.cta-band p { margin: 0 0 22px; max-width: 36em; color: #fff; }
.cta-band .btn.ghost,
.contact-band .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.cta-band .btn.ghost:hover,
.contact-band .btn.ghost:hover { border-color: #fff; color: #fff; }

.contact-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact-points article {
  padding: 22px 20px 24px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-top: 3px solid var(--edge);
}
.contact-points h3 { margin: 0 0 8px; font-size: 1.2rem; }
.contact-points p { margin: 0; color: var(--ink-soft); }
.card a.more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .num {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.section-link { margin: 22px 0 0; }
.section-link a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--mark); }
.section-link a:hover { border-bottom-color: var(--mark); }
.related ul { list-style: none; margin: 12px 0 0; padding: 0; }
.related li { margin: 0 0 8px; }
.related a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--mark); }
.related a:hover { border-bottom-color: var(--mark); }

address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.25rem;
}
address a {
  color: var(--foot-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--foot-muted);
}
address a:hover { color: #ffffff; border-bottom-color: #ffffff; }

.contact-band {
  background: var(--foot);
  color: var(--foot-ink);
  padding: 88px 0 80px;
}
.contact-band .eyebrow { color: #fff; }
.contact-band h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--foot-ink);
}
.contact-band p { margin: 0; max-width: 36em; color: #fff; }
.contact-band a,
.cta-band a { color: #fff; }
.contact-band .btn.primary,
.cta-band .btn.primary,
.contact-band .btn.primary:hover,
.cta-band .btn.primary:hover {
  background: #ffffff;
  color: var(--foot);
  border-color: #ffffff;
  filter: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
}

.site-foot {
  background: var(--foot);
  color: var(--foot-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 22px;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
}
.foot-nav a {
  color: var(--foot-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.foot-nav a:hover { color: #ffffff; }
.foot-place {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--foot-muted);
}
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  row-gap: 2px;
  margin: 14px 0 0;
  padding: 10px 8px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--foot-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}
.foot-meta-part,
.foot-meta > span,
.foot-meta a { white-space: nowrap; }
@media (max-width: 480px) {
  .foot-meta > span:last-child,
  .foot-meta > span:last-child a { white-space: normal; }
}
.foot-meta-part::after {
  content: " · ";
  white-space: pre;
}
.foot-meta a {
  color: var(--foot-muted);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.foot-meta a:hover { color: #ffffff; }

@media (max-width: 900px) {
  .nav-group,
  .nav-sections { position: static; }
  #site-nav .nav-sections[open] > .nav-panel {
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    min-width: 0;
    width: auto;
  }
  .hero-grid,
  .split,
  .facts-grid,
  .cards,
  .record,
  .process,
  .contact-grid,
  .contact-points,
  .packages {
    grid-template-columns: 1fr;
  }
  .process article,
  .process article + article {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .process article:first-child { border-top: 0; }
  .facts article,
  .facts article + article {
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .facts article:first-child { border-top: 0; }
  .hero { padding-top: 40px; }
  .hero h1 { max-width: none; }
  .hero-title {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .hero-title h1 { width: 100%; }
  .hero-logo {
    width: min(280px, 100%);
    max-width: 100%;
    height: auto;
  }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .top { padding: 10px 14px 0; gap: 10px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 1rem; }
  .settings-btn { padding: 0 8px; }
}

@media (max-width: 420px) {
  .brand-legal { display: none; }
  .hero h1 { font-size: 2.45rem; }
}

.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .packages { grid-template-columns: 1fr; }
}
.package {
  background: var(--card);
  border: 1px solid var(--edge);
  padding: 24px;
}
.package h2 {
  margin: 8px 0 8px;
  font-size: 1.45rem;
}
.package-featured { grid-column: 1 / -1; }
.package-featured p { margin: 0 0 12px; max-width: 42em; }
.package .fee {
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--ink);
}
.package ul {
  margin: 0;
  padding-left: 1.15em;
  color: var(--ink-soft);
}
.package li { margin: 0 0 0.4em; }

.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
}
.faq summary h3 {
  display: inline;
  font-size: 1.05rem;
}
.faq details p {
  margin: 0 0 16px;
  max-width: 42em;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn.primary:hover { filter: none; }
}

html[data-theme="green"] .eyebrow,
html[data-theme="green"] .num,
html[data-theme="green"] .covers,
html[data-theme="dark-green"] .eyebrow,
html[data-theme="dark-green"] .num,
html[data-theme="dark-green"] .covers,
html[data-theme="blue"] .eyebrow,
html[data-theme="blue"] .num,
html[data-theme="blue"] .covers {
  color: #fff !important;
}
html[data-theme="dark"] a,
html[data-theme="green"] a,
html[data-theme="dark-green"] a,
html[data-theme="blue"] a {
  color: #fff;
  text-decoration-color: var(--mark);
}
html[data-theme="dark"] .btn.primary { border-color: #ffffff; }
html[data-theme="dark"] .btn.primary,
html[data-theme="green"] .btn.primary,
html[data-theme="dark-green"] .btn.primary,
html[data-theme="blue"] .btn.primary,
html[data-theme="light"] .btn.primary,
html[data-theme="light-green"] .btn.primary,
html[data-theme="light-blue"] .btn.primary {
  color: var(--btn-text);
}

.top {
  background: var(--header);
  border-bottom-color: var(--header-line);
  color: var(--header-ink);
}
.brand,
.brand:hover { color: var(--header-ink); }
.brand-legal { color: var(--header-muted); }
.top .nav {
  background: var(--menu);
  border-top: 0;
  margin: 10px -24px 0;
  padding: 8px 24px 10px;
  flex-basis: calc(100% + 48px);
}
.top .nav-link { color: var(--header-ink); }
.top .nav-link:hover,
.top .nav-link[aria-current="page"] { color: var(--header-ink); }
.top .nav-cta {
  border-color: var(--header-ink);
  color: var(--header-ink) !important;
}
.top .nav-cta:hover,
.top .nav-cta[aria-current="page"] {
  background: #ffffff;
  color: var(--menu) !important;
  border-color: #ffffff;
}
@media (max-width: 420px) {
  .brand img { height: 34px; }
  .brand-name { font-size: 0.92rem; }
}

.cta-band .eyebrow,
.contact-band .eyebrow { color: #ffffff; }
html[data-theme] .contact-band .btn.primary,
html[data-theme] .cta-band .btn.primary,
html[data-theme] .contact-band .btn.primary:hover,
html[data-theme] .cta-band .btn.primary:hover {
  background: #ffffff;
  color: var(--foot) !important;
  border-color: #ffffff;
  filter: none;
}
.top .nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 #ffffff; }
.card a.more { border-bottom: 1px solid var(--mark); }

@media (max-width: 900px) {
  .top .nav {
    margin: 8px -14px 0;
    padding: 8px 14px 10px;
    flex-basis: calc(100% + 28px);
  }
}

@media (max-width: 768px) {
  .top {
    align-items: center;
    flex-wrap: nowrap;
    min-height: 0;
    padding: 10px 14px;
    max-width: 100%;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .brand-text { min-width: 0; }
  .header-tools { flex: none; max-width: 100%; }
  .menu-details { display: flex; align-items: center; }
  .nav-toggle {
    display: inline-flex;
    flex: none;
    color: var(--header-ink);
  }
  .menu-details[open] > .nav-toggle {
    background: var(--menu);
    border-color: var(--header-ink);
  }
  #site-nav { display: none; }
  .top:has(.menu-details[open]) #site-nav {
    display: flex;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 30;
    flex: none;
    flex-basis: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 4px 14px 8px;
    border-top: 1px solid var(--header-line);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    max-height: calc(100dvh - 4.5rem);
    overflow-x: hidden;
    overflow-y: auto;
  }
  .nav-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    position: static;
  }
  .nav-group + .nav-group { border-top: 1px solid var(--header-line); }
  .top .nav-link {
    display: flex;
    align-items: center;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px;
    overflow-wrap: anywhere;
  }
  .nav-sections { display: contents; }
  .nav-sections > summary {
    grid-column: 2;
    grid-row: 1;
    width: 44px;
    height: 44px;
  }
  #site-nav .nav-sections[open] > .nav-panel {
    display: flex;
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: none;
    box-shadow: none;
  }
  .nav-panel a { overflow-wrap: anywhere; }
  .nav-search {
    position: sticky;
    top: 0;
    z-index: 5;
    flex: 0 0 auto;
    width: 100%;
    margin: 4px 0 8px;
    padding-bottom: 6px;
    background: var(--menu);
  }
  .nav-search-input { min-height: 44px; }
  .nav-search-panel {
    width: 100%;
    max-height: min(50vh, 22rem);
  }
  .nav-search-label,
  .nav-search-page { overflow-wrap: anywhere; }
}

/* Fixed so opening the panel does not reflow the page. */
.chat-dock {
  position: fixed;
  z-index: 35;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(24rem, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  pointer-events: none;
}
.chat-dock > * { pointer-events: auto; }
.chat-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: min(34rem, calc(100dvh - 6.5rem - env(safe-area-inset-bottom)));
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(14, 26, 43, 0.2);
  overflow: hidden;
}
.chat-panel[hidden] { display: none !important; }
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.chat-head h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}
.chat-close,
.chat-open {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.chat-close {
  min-height: 44px;
  padding: 8px 12px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.chat-close:hover { border-color: var(--ink); }
.chat-log {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 8rem;
  padding: 12px;
}
.chat-intro,
.chat-note,
.chat-status { color: var(--muted); }
.chat-intro { margin: 0 0 10px; }
.chat-msg {
  margin: 0 0 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-msg.user {
  margin-left: 1.5rem;
  padding: 8px 10px;
  background: var(--band);
  color: var(--ink);
  border: 1px solid var(--line);
}
.chat-msg a { color: inherit; }
.chat-form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 0 12px 12px;
}
.chat-form textarea {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  max-height: 7rem;
  padding: 10px 12px;
  resize: none;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}
.chat-form .btn {
  flex: 0 0 auto;
}
.chat-form .btn.primary,
.chat-form .btn.primary:hover {
  color: var(--btn-text);
  background: var(--btn);
  border-color: var(--line);
}
.chat-form .btn.primary:hover { background: var(--btn-hover); }
.chat-note {
  margin: 0;
  padding: 0 12px 12px;
  font-size: 0.85rem;
}
.chat-open {
  align-self: flex-end;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--btn);
  color: var(--btn-text);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(14, 26, 43, 0.22);
}
.chat-open:hover {
  background: var(--btn-hover);
  color: var(--btn-text);
}
@media (forced-colors: active) {
  .chat-open,
  .chat-panel,
  .chat-close { border: 1px solid CanvasText; }
}

.packages.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
  .packages.two { grid-template-columns: 1fr; }
}
.offer-soon {
  margin: 16px 0 0;
  color: var(--ink);
  font-weight: 600;
}
.offer-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.offer-form[hidden],
.offer-soon[hidden] {
  display: none !important;
}
.offer-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.offer-form select,
.offer-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--muted);
}
.offer-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--muted);
}
.offer-form .hint,
.offer-note {
  margin: 0;
  font-weight: 400;
  color: var(--ink-soft);
}
.offer-error {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.offer-form button[disabled] {
  opacity: 1;
  cursor: wait;
}
.disclaimer {
  margin: 20px 0 0;
  padding: 16px 18px;
  max-width: 42em;
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
}
.req-list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-soft);
}
.check-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list fieldset {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}
.check-list legend {
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
}
.check-list h3 {
  margin: 0 0 8px;
}
.check-hint,
.check-evidence {
  margin: 0 0 10px;
  color: var(--ink-soft);
}
.check-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.check-choices label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--muted);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}
.check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.check-result {
  margin-top: 20px;
  padding: 16px;
  border: 2px solid var(--ink);
  background: var(--card);
}
.check-result ol {
  margin: 0;
  padding-left: 1.2em;
}
.check-result li {
  margin: 0 0 12px;
}
@media print {
  .top,
  .site-foot,
  .chat-dock,
  .skip,
  .check-actions {
    display: none !important;
  }
  .check-result {
    break-inside: avoid;
  }
}
.req-list li { margin: 0 0 0.45em; }
.req-list li:last-child { margin-bottom: 0; }

/* Newsletter signup. MailerLite needs the form action, field names, ids, and scripts. Layout and type follow the site. */
.newsletter-form {
  max-width: 32rem;
}
.newsletter-form .ml-form-embedWrapper,
.newsletter-form .ml-form-embedBody,
.newsletter-form .ml-form-formContent,
.newsletter-form .ml-form-fieldRow,
.newsletter-form .ml-field-group,
.newsletter-form form {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.newsletter-form label {
  display: block;
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--ink);
}
.newsletter-form input[type="email"] {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
}
.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.newsletter-form .ml-form-embedPermissions p,
.newsletter-form .newsletter-note {
  margin: 14px 0 18px;
  max-width: 36em;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.newsletter-form .ml-form-recaptcha {
  margin: 0 0 18px;
  max-width: 100%;
  overflow: hidden;
}
.newsletter-form .ml-form-embedSubmit {
  margin: 0;
}
.newsletter-form button.btn {
  cursor: pointer;
}
.newsletter-form button.loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.newsletter-form .ml-form-embedSubmitLoad {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: newsletter-spin 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes newsletter-spin {
  to { transform: rotate(360deg); }
}
.newsletter-form .row-success { display: none; }
.newsletter-form .row-success h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.2;
}
.newsletter-form .row-success p {
  margin: 0;
  color: var(--ink-soft);
}
.newsletter-form .ml-error input[type="email"] {
  border-color: #b42318;
}
.newsletter-form .ml-form-recaptcha.ml-error {
  outline: 1px solid #b42318;
  outline-offset: 4px;
}
@media (max-width: 420px) {
  .newsletter-form .g-recaptcha {
    transform: scale(0.92);
    transform-origin: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .newsletter-form .ml-form-embedSubmitLoad { animation: none; }
}
