:root {
  --ink: #12202c;
  --muted: #3e5162;
  --accent: #0f3d5e;
  --accent-press: #0c314c;
  --line: #d5e0e8;
  --control: #5c7688;
  --bg: #f4f7f9;
  --surface: #ffffff;
  --focus: #0f3d5e;
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  font-family: inherit;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

main {
  flex: 1;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 6.4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--accent-press);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 30;
  transform: translateY(-160%);
  padding: 0.55rem 0.8rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--control);
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem - env(safe-area-inset-left) - env(safe-area-inset-right)));
  margin-inline: auto;
}

.narrow {
  max-width: 40rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 247, 249, 0.94);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  padding-block: 0.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--control);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.nav-check:focus-visible + .nav-toggle {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.bars,
.bars::before,
.bars::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: var(--accent);
  position: relative;
}

.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.bars::before {
  top: -6px;
}

.bars::after {
  top: 6px;
}

.nav-check:checked + .nav-toggle .bars {
  background: transparent;
}

.nav-check:checked + .nav-toggle .bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-check:checked + .nav-toggle .bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
  flex-basis: 100%;
}

.nav-check:checked ~ .site-nav {
  display: block;
  border-top: 1px solid var(--line);
  padding-bottom: 0.35rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.15rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--accent);
}

@media (min-width: 761px) {
  .nav-check,
  .nav-toggle {
    display: none;
  }

  .header-inner {
    flex-wrap: nowrap;
    padding-block: 0.2rem;
  }

  .site-nav {
    display: block;
    flex-basis: auto;
  }

  .nav-check:checked ~ .site-nav {
    border-top: 0;
    padding-bottom: 0;
  }

  .site-nav ul {
    flex-direction: row;
    justify-content: flex-end;
  }

  .site-nav a {
    padding: 0.4rem 0.7rem;
  }
}

.hero {
  padding: clamp(3.25rem, 8vw, 5.75rem) 0 clamp(3rem, 7vw, 4.75rem);
}

.statement {
  margin-top: 0.85rem;
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero .lead {
  margin-top: 1.75rem;
  max-width: 38rem;
  font-size: 1.125rem;
}

.outcomes {
  margin-top: 1.35rem;
  padding-left: 1.2rem;
  max-width: 36rem;
}

.hero .outcomes + .lead {
  margin-top: 1.35rem;
}

.outcomes li + li {
  margin-top: 0.4rem;
}

.outcomes li::marker {
  color: var(--accent);
}

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 4.75rem) 0;
}

.section-intro {
  margin-bottom: 1.5rem;
}

.section-intro h2,
.page-intro h1 {
  margin-bottom: 0.85rem;
}

.section-intro p + p {
  margin-top: 0.85rem;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.45;
}

.more {
  padding: clamp(3rem, 7vw, 4.75rem) 0;
}

.info-links {
  list-style: none;
  margin-top: 1.25rem;
}

.info-links li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.35rem;
  min-height: 44px;
}

.info-links li + li {
  margin-top: 0.35rem;
}

.info-links a {
  font-weight: 600;
}

.page {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 5.5rem);
}

.page-intro {
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
}

.stack > * + * {
  margin-top: 1rem;
}

.stack ul {
  padding-left: 1.15rem;
}

.stack li + li,
.stack li > * + * {
  margin-top: 0.4rem;
}

.steps {
  list-style: none;
  display: grid;
  gap: 2.15rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.85rem;
  row-gap: 0.45rem;
}

.steps h2,
.steps p {
  grid-column: 2;
}

.steps h2 {
  font-size: 1.3rem;
}

.num {
  grid-row: 1 / span 2;
  grid-column: 1;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
}

.why {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.why h2 {
  margin-bottom: 1rem;
}

.block + .block {
  margin-top: clamp(3rem, 7vw, 4.5rem);
}

.block h2 {
  margin-bottom: 0.75rem;
}

.tier-grid {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}

.tier + .tier {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.tier h3 {
  margin-bottom: 0.4rem;
}

.tier ul {
  margin-top: 0.85rem;
  padding-left: 1.15rem;
}

.tier li + li {
  margin-top: 0.4rem;
}

@media (min-width: 860px) {
  .tier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
  }

  .tier + .tier {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
}

.callout {
  margin-top: 1.15rem;
  padding: 0.95rem 1.05rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
}

.callout + p {
  margin-top: 1rem;
}

main h1 + * {
  margin-top: 1.15rem;
}

.quiet {
  color: var(--muted);
}

form {
  margin-top: 0.25rem;
}

.field {
  margin-top: 1.05rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.field-note {
  margin-left: 0.35rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--control);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input:user-invalid,
textarea:user-invalid {
  border-color: #8e2f2f;
}

.hp {
  display: none;
}

.trust-strip {
  list-style: none;
  margin: 0;
  padding: 0.95rem 1.1rem;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
}

.trust-strip li + li {
  margin-top: 0.45rem;
}

.form-open-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.form-open-check:focus-visible + .form-open-label {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.form-open-check:checked + .form-open-label {
  background: var(--accent-press);
}

.form-open-label {
  margin-bottom: 0;
  max-width: 100%;
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
}

.form-panel {
  display: block;
  margin-top: 0;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--surface);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
}

.form-open-check:checked ~ .form-panel {
  margin-top: 1.25rem;
  padding: 1.2rem 1.15rem 1.35rem;
  border-color: var(--line);
  max-height: none;
  overflow: visible;
  visibility: visible;
}

.form-panel-intro {
  margin: 0;
  color: var(--muted);
}

.form-panel form {
  margin-top: 0.85rem;
}

.form-reassure {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.form-reassure + .button {
  margin-top: 0.75rem;
}

.cf-turnstile {
  margin-top: 1.15rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

a.button,
a.button:hover,
a.button:focus-visible {
  color: #fff;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-press);
}

.button:active {
  background: #09283d;
}

@media (max-width: 599px) {
  .button {
    width: 100%;
  }
}

#get-started,
[id] {
  scroll-margin-top: 5.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer p + p {
  margin-top: 0.3rem;
}

.site-footer .copy {
  margin-top: 1rem;
  color: var(--ink);
}

.site-footer a {
  font-weight: 600;
}

::selection {
  background: #d5e7ef;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bars,
  .bars::before,
  .bars::after,
  .form-panel,
  .form-open-label {
    transition: none;
  }
}

@media (forced-colors: active) {
  .button,
  .trust-strip,
  .form-panel {
    border: 1px solid ButtonText;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .nav-toggle,
  .skip-link,
  .form-open-label {
    display: none;
  }

  .form-panel {
    display: block;
    max-height: none;
    overflow: visible;
    visibility: visible;
    margin-top: 1.25rem;
    padding: 1.2rem 1.15rem 1.35rem;
    border-color: var(--line);
  }

  .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: row;
  }

  a {
    text-decoration: underline;
  }
}
