:root {
  color-scheme: light;
  --color-primary: #003b71;
  --color-accent: #76a347;
  --color-accent-soft: #dfeccf;
  --color-primary-soft: #d8e7f6;
  --color-bg: #f6f8fb;
  --color-surface: #ffffff;
  --color-text: #1e2a36;
  --color-muted: #5f6b76;
  --color-border: #d9e0e8;
  --color-focus: #f08c00;
  --shadow-soft: 0 14px 30px rgba(0, 59, 113, 0.09);
  --shadow-strong: 0 24px 56px rgba(0, 59, 113, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1120px;
  --header-bg: rgba(251, 253, 255, 0.88);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --color-primary: #9bc5f4;
  --color-accent: #9fd26a;
  --color-accent-soft: #314325;
  --color-primary-soft: #1f3247;
  --color-bg: #0d1824;
  --color-surface: #142436;
  --color-text: #e5eef7;
  --color-muted: #b6c5d6;
  --color-border: #2a4259;
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 24px 56px rgba(0, 0, 0, 0.42);
  --header-bg: rgba(13, 24, 36, 0.88);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text);
  background:
    radial-gradient(circle at 85% 5%, rgba(118, 163, 71, 0.16), transparent 45%),
    radial-gradient(circle at 10% 12%, rgba(0, 59, 113, 0.12), transparent 42%),
    linear-gradient(180deg, #fbfdff 0%, var(--color-bg) 35%, #eef3f8 100%);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 82% 8%, rgba(159, 210, 106, 0.16), transparent 44%),
    radial-gradient(circle at 12% 16%, rgba(155, 197, 244, 0.18), transparent 42%),
    linear-gradient(180deg, #0d1824 0%, #0e1c2a 45%, #101f2d 100%);
}

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

a {
  color: var(--color-primary);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 3px;
}

h1,
h2,
h3 {
  font-family: "Chivo", sans-serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.18rem;
}

p {
  margin-top: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 780px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  background: var(--color-primary);
  color: #fff;
  padding: 0.6rem 0.9rem;
  z-index: 999;
}

.skip-link:focus {
  top: 0.75rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(0, 59, 113, 0.09);
}

html[data-theme="dark"] .site-header {
  border-bottom-color: rgba(155, 197, 244, 0.25);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.brand img {
  width: 180px;
}

.theme-toggle {
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-primary);
  font: inherit;
  font-weight: 700;
  font-size: 1.15rem;
  min-width: 2.7rem;
  min-height: 2.7rem;
  padding: 0.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle[aria-pressed="true"] {
  background: var(--color-primary);
  color: #0f1f2f;
  border-color: var(--color-primary);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-toggle {
  width: 50px;
  height: 50px;
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  background: var(--color-surface);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--color-primary);
}

.site-nav {
  position: fixed;
  inset: 73px 0 auto;
  background: var(--color-surface);
  transform: translateY(-140%);
  transition: transform 240ms ease;
  border-bottom: 1px solid var(--color-border);
}

.site-nav.is-open {
  transform: translateY(0);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: grid;
  gap: 0.4rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.48rem 0.7rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a.active {
  color: #fff;
  background: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.62rem 1.05rem;
  font-weight: 700;
  font-family: "Chivo", sans-serif;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-secondary {
  background: var(--color-accent);
  color: #0f2918;
}

.btn-ghost {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-surface);
}

.btn-nav {
  border-color: var(--color-accent);
  color: var(--color-primary);
  background: rgba(118, 163, 71, 0.13);
}

.hero,
.page-hero {
  padding: 3.5rem 0 2.3rem;
}

.page-hero-shell {
  display: grid;
  gap: 1.1rem;
}

.page-hero-card {
  padding: 1.2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(0, 59, 113, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 245, 252, 0.92));
  box-shadow: var(--shadow-soft);
}

.page-hero-card.accent-card {
  background: linear-gradient(180deg, rgba(118, 163, 71, 0.12), rgba(255, 255, 255, 0.95));
}

.page-hero-card.dark-card {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(135deg, #0f3e71 0%, #003b71 65%, #76a347 165%);
}

html[data-theme="dark"] .page-hero-card.dark-card {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 26%),
    linear-gradient(135deg, #1d3550 0%, #1a2f45 65%, #436a2f 155%);
}

.page-hero-card.dark-card .card-label,
.page-hero-card.dark-card a,
.page-hero-card.dark-card p,
.page-hero-card.dark-card li,
.page-hero-card.dark-card h2,
.page-hero-card.dark-card h3 {
  color: #fff;
}

.page-hero-points,
.check-list,
.mini-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.stats-strip {
  display: grid;
  gap: 0.85rem;
}

.stat-card {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  font-family: "Chivo", sans-serif;
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--color-primary);
}

.callout-banner {
  padding: 1.15rem 1.2rem;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(223, 236, 207, 0.72));
  border: 1px solid rgba(118, 163, 71, 0.22);
  box-shadow: var(--shadow-soft);
}

.callout-banner p:last-child {
  margin-bottom: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card a {
  margin-top: auto;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.lead {
  color: var(--color-muted);
  max-width: 66ch;
}

.hero-note {
  max-width: 58ch;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--color-accent);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.hero-trust {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-trust div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 59, 113, 0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.hero-trust strong {
  font-family: "Chivo", sans-serif;
  min-width: 4rem;
}

.hero-card,
.info-card,
.filter-panel,
.contact-form,
.timeline-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  padding: 1.2rem;
}

.hero-card-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 248, 255, 0.95));
  box-shadow: var(--shadow-strong);
}

html[data-theme="dark"] .hero-card-primary {
  background: linear-gradient(180deg, rgba(20, 36, 54, 0.95), rgba(26, 45, 66, 0.95));
}

.hero-card-quote {
  background: linear-gradient(180deg, rgba(118, 163, 71, 0.1), rgba(255, 255, 255, 0.92));
}

html[data-theme="dark"] .hero-card-quote {
  background: linear-gradient(180deg, rgba(159, 210, 106, 0.12), rgba(20, 36, 54, 0.95));
}

.hero-stack {
  display: grid;
  gap: 1rem;
}

.card-label {
  margin: 0 0 0.75rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-card blockquote {
  margin: 0 0 0.75rem;
  font-family: "Chivo", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.25;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.section-heading {
  margin-bottom: 1.2rem;
}

.split-heading {
  display: grid;
  gap: 0.8rem;
  align-items: end;
}

.section {
  padding: 2.3rem 0;
}

.section.accent {
  background: linear-gradient(180deg, rgba(118, 163, 71, 0.1), rgba(0, 59, 113, 0.07));
  border-top: 1px solid rgba(0, 59, 113, 0.08);
  border-bottom: 1px solid rgba(0, 59, 113, 0.08);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.info-card {
  padding: 1.05rem;
}

.preview-layout {
  display: grid;
  gap: 1rem;
}

.preview-panel {
  padding: 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.preview-panel-dark {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 25%),
    linear-gradient(135deg, #0e3b6a 0%, #003b71 60%, #76a347 160%);
}

.preview-panel-dark .eyebrow,
.preview-panel-dark a {
  color: #fff;
}

.preview-panel-light {
  background: linear-gradient(180deg, #ffffff, #f9fcff);
}

html[data-theme="dark"] .preview-panel-light {
  background: linear-gradient(180deg, #152537, #132232);
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.steps ol {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.45rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
}

.filter-panel {
  padding: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 252, 0.92));
}

.filter-panel label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid #b8c5d3;
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  font: inherit;
  background: var(--color-surface);
  color: var(--color-text);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  border-color: var(--color-border);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.filter-btn {
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.45rem 0.95rem;
}

.filter-btn.is-active {
  background: var(--color-primary);
  color: #fff;
}

.no-results {
  margin-top: 1rem;
  font-weight: 700;
}

.faq {
  margin-bottom: 0.65rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.75rem;
  box-shadow: var(--shadow-soft);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.link-list {
  padding-left: 1.1rem;
}

.link-list li + li {
  margin-top: 0.5rem;
}

.table-wrap {
  overflow-x: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

caption {
  text-align: left;
  font-weight: 700;
  padding: 0.8rem;
}

th,
td {
  padding: 0.75rem;
  border-top: 1px solid var(--color-border);
  text-align: left;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  padding: 1rem;
  border-left: 10px solid var(--color-accent);
}

.timeline-item h2 {
  margin-bottom: 0.55rem;
}

.timeline-date {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-person-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 1rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(0, 59, 113, 0.12);
  background:
    radial-gradient(circle at 88% 12%, rgba(118, 163, 71, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(235, 243, 250, 0.9));
}

html[data-theme="dark"] .contact-person-grid {
  border-color: rgba(155, 197, 244, 0.24);
  background:
    radial-gradient(circle at 86% 14%, rgba(159, 210, 106, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(20, 36, 54, 0.92), rgba(18, 31, 46, 0.9));
}

.person-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
  width: 100%;
  max-width: 320px;
  min-height: 420px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.person-card h3 {
  margin-bottom: 0.5rem;
}

.person-card p {
  margin: 0;
}

.person-card a {
  text-decoration: none;
  font-weight: 700;
}

.person-avatar {
  width: min(72%, 190px);
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 0.55rem;
  margin-inline: auto;
}

.contact-form {
  padding: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-top: 0.65rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.checkbox input {
  width: 1.15rem;
  margin-top: 0.3rem;
}

.field-error {
  min-height: 1.2em;
  color: #9f1f1f;
  font-size: 0.95rem;
  margin: 0.2rem 0 0;
}

.form-success {
  min-height: 1.4em;
  color: #215d14;
  margin-top: 0.75rem;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 2rem;
  background: linear-gradient(180deg, #f1f5f9, #ebf1f6);
}

html[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #101c29, #0e1824);
}

.footer-wrap {
  padding: 1rem 0 1.2rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 740px) {
  .header-wrap {
    justify-content: flex-start;
  }

  .menu-toggle {
    display: none;
  }

  .theme-toggle {
    order: 3;
    margin-left: 0.45rem;
  }

  .site-nav {
    order: 2;
    margin-left: auto;
    position: static;
    inset: auto;
    transform: none;
    background: transparent;
    border-bottom: 0;
  }

  .site-nav ul {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }

  .site-nav a {
    padding: 0.45rem 0.65rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-hero-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .split-heading {
    grid-template-columns: 1fr;
  }

  .preview-layout {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .card-grid.two {
    grid-template-columns: 1fr;
  }

  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-person-grid {
    grid-template-columns: repeat(2, minmax(250px, 320px));
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.2rem;
  }
}
