:root {
  --color-bg: #f6f8fa;
  --color-surface: #ffffff;
  --color-primary: #12395b;
  --color-primary-dark: #0b253d;
  --color-accent: #2f7d6d;
  --color-accent-soft: #e4f1ee;
  --color-border: #d8e0e7;
  --color-text: #1f2933;
  --color-muted: #5f6f7c;
  --color-warning-soft: #fff7df;
  --color-error-soft: #fdeaea;
  --shadow-soft: 0 16px 40px rgba(18, 57, 91, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(47, 125, 109, 0.08), transparent 24rem),
    linear-gradient(180deg, #f8fbfd 0%, var(--color-bg) 28rem, #eef4f7 100%);
  color: var(--color-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--color-primary);
}

a:hover {
  color: var(--color-primary-dark);
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.section,
.page-hero,
.hero {
  padding: 4rem 0;
}

.section-surface {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid rgba(216, 224, 231, 0.9);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--color-primary-dark);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 100;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 248, 250, 0.92);
  border-bottom: 1px solid rgba(216, 224, 231, 0.9);
}

.disclaimer-bar {
  font-size: 0.9rem;
  background: var(--color-warning-soft);
  border-bottom: 1px solid #ecdca2;
  color: #594c1c;
  padding: 0.55rem 0;
}

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

.brand {
  text-decoration: none;
  color: var(--color-primary-dark);
  display: inline-flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-subtitle {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: white;
  color: var(--color-primary-dark);
  font: inherit;
  padding: 0.7rem 1rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--color-primary-dark);
  font-weight: 600;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
}

.nav-list a.is-active,
.nav-list a:hover {
  background: rgba(18, 57, 91, 0.09);
}

.hero-grid,
.split-grid,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.hero {
  padding-top: 5rem;
}

.hero-grid {
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.note-card,
.priority-section,
.callout {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 2.2rem;
  border-radius: 28px;
}

.hero-panel {
  display: flex;
  align-items: stretch;
  border-radius: 28px;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(18, 57, 91, 0.08), rgba(47, 125, 109, 0.12)),
    rgba(255, 255, 255, 0.94);
}

.hero-panel img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  color: var(--color-primary-dark);
  margin-top: 0;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-intro,
.lead {
  font-size: 1.1rem;
  color: var(--color-muted);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card,
.note-card,
.priority-section {
  border-radius: 24px;
  padding: 1.5rem;
}

.card-accent {
  background: linear-gradient(180deg, rgba(228, 241, 238, 0.9), rgba(255, 255, 255, 0.95));
}

.card-form {
  background: rgba(255, 255, 255, 0.95);
}

.card-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-map img {
  width: 100%;
  border-radius: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--color-primary);
  color: white;
}

.button-primary:hover {
  background: var(--color-primary-dark);
  color: white;
}

.button-secondary {
  border-color: var(--color-border);
  background: white;
  color: var(--color-primary-dark);
}

.text-link {
  font-weight: 700;
}

.card-meta,
.muted,
.field-note {
  color: var(--color-muted);
}

.bullet-list {
  padding-left: 1.15rem;
}

.flow > * + * {
  margin-top: 1.25rem;
}

.callout {
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
  background: var(--color-warning-soft);
}

.callout-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.note-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.stack-form,
.checkbox-group {
  display: grid;
  gap: 1rem;
}

.stack-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: white;
  color: var(--color-text);
  font: inherit;
  padding: 0.85rem 1rem;
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.checkbox-row input {
  width: 1.1rem;
  height: 1.1rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.alert {
  border-radius: 18px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.alert-success {
  background: var(--color-accent-soft);
  border: 1px solid rgba(47, 125, 109, 0.35);
}

.alert-error {
  background: var(--color-error-soft);
  border: 1px solid rgba(164, 47, 47, 0.25);
}

.site-footer {
  background: #e9eff3;
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
  padding: 3rem 0 2rem;
}

.footer-heading {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(18, 57, 91, 0.12);
  color: var(--color-muted);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: grid;
    justify-items: end;
  }

  .nav-list {
    position: absolute;
    right: 1rem;
    top: calc(100% - 0.25rem);
    min-width: 13rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 0.7rem;
    box-shadow: var(--shadow-soft);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    display: block;
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .split-grid,
  .footer-grid,
  .note-header,
  .callout-wide {
    grid-template-columns: 1fr;
    display: grid;
  }

  .header-inner {
    align-items: start;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .section,
  .page-hero,
  .hero {
    padding: 3rem 0;
  }
}
