:root {
  --ink: #12324a;
  --ink-2: #24485f;
  --teal: #0b6f8f;
  --teal-2: #6bc4d6;
  --gold: #f2b84b;
  --cream: #fff8e6;
  --paper: #ffffff;
  --mist: #f4f8fa;
  --line: #d9e4ea;
  --text: #2f3f4a;
  --muted: #61727e;
  --danger: #a63a3a;
  --success: #236b46;
  --shadow: 0 18px 48px rgba(18, 50, 74, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand-text span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 9px 11px;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  color: var(--ink-2);
  font-weight: 750;
  font-size: 14px;
  padding: 9px 10px;
  border-radius: var(--radius);
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  background: var(--mist);
  color: var(--ink);
  text-decoration: none;
}

.nav-menu .nav-cta {
  background: var(--teal);
  color: white;
  margin-left: 4px;
}

.nav-menu .nav-cta:hover {
  background: var(--ink);
  color: white;
}

main {
  min-height: 70vh;
}

.section {
  padding: 76px 24px;
}

.section.compact {
  padding: 48px 24px;
}

.section.alt {
  background: var(--mist);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
  max-width: 850px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 14px 0 0;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 760px;
}

.hero {
  overflow: hidden;
  background: linear-gradient(135deg, #f7fbfd 0%, #ffffff 48%, #fff6da 100%);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 620px;
  padding: 74px 24px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 48px;
}

.hero-copy p {
  margin: 22px 0 0;
}

.hero-actions,
.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--teal);
  color: white;
  font-weight: 850;
  border: 1px solid var(--teal);
  box-shadow: 0 10px 28px rgba(11, 111, 143, 0.18);
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
  text-decoration: none;
}

.button.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--mist);
}

.hero-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-card-caption {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero-stat {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
}

.hero-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.quick-links a {
  min-height: 82px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 850;
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links a:hover {
  background: var(--mist);
  text-decoration: none;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.resource-card,
.notice-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3,
.resource-card h3,
.notice-card h3 {
  margin-bottom: 10px;
}

.card p,
.resource-card p,
.notice-card p {
  color: var(--muted);
  margin: 0;
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: #e8f7fa;
  color: var(--teal);
  margin-bottom: 18px;
  font-weight: 900;
}

.image-feature {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.image-feature img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.image-feature + .eyebrow,
.image-feature + .section-heading {
  margin-top: 22px;
}

.page-image {
  margin-bottom: 28px;
}

.panel .image-feature {
  margin: -12px -12px 24px;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.panel {
  background: var(--ink);
  color: white;
  border-radius: 14px;
  padding: 34px;
}

.panel h2,
.panel h3 {
  color: white;
}

.panel:not(.light) .eyebrow {
  color: var(--gold);
}

.panel p {
  color: rgba(255, 255, 255, 0.78);
}

.panel.light {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
}

.panel.light h2,
.panel.light h3 {
  color: var(--ink);
}

.panel.light p {
  color: var(--muted);
}

.page-hero {
  background: linear-gradient(135deg, #f7fbfd, #fff8e6);
  border-bottom: 1px solid var(--line);
  padding: 74px 24px;
}

.page-hero .container {
  display: grid;
  gap: 16px;
}

.breadcrumb {
  color: var(--teal);
  font-weight: 850;
  font-size: 13px;
}

.fact-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.fact-list strong {
  color: var(--ink);
  min-width: 150px;
}

.steps {
  counter-reset: steps;
}

.step {
  position: relative;
  padding-left: 58px;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
}

.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--text);
  background: white;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(107, 196, 214, 0.5);
  outline-offset: 2px;
}

.form-message {
  min-height: 24px;
  font-weight: 800;
}

.form-message.error {
  color: var(--danger);
}

.form-message.success {
  color: var(--success);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 54px 24px 28px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
}

.site-footer h2,
.site-footer h3 {
  color: white;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  max-width: var(--max);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

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

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-menu .nav-cta {
    margin-left: 0;
  }

  .hero-inner,
  .split-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-links a {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .header-inner {
    padding: 0 16px;
  }

  .brand-text span {
    display: none;
  }

  .section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner {
    padding: 52px 18px 36px;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .form-row,
  .quick-links,
  .hero-card-caption {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

  .hero-stat,
  .quick-links a {
    border-right: 0;
  }

  .fact-list li {
    display: grid;
  }

  .fact-list strong {
    min-width: 0;
  }
}
