:root {
  color-scheme: light;
  --ink: #12202f;
  --muted: #667585;
  --paper: #f3f6f5;
  --white: #ffffff;
  --line: #d8e2df;
  --blue: #123f68;
  --green: #1d6f5d;
  --teal: #087c78;
  --soft: #e8f3f0;
  --cream: #fff7e8;
  --accent: #c36b32;
  --shadow: 0 24px 70px rgba(18, 32, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 520px);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 8px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  max-width: clamp(118px, 12vw, 156px);
  max-height: 58px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.header-cta,
.actions a,
.text-link,
.button-outline,
.button-light,
.doc-link,
.footer-link,
.site-footer a {
  text-decoration: none;
}

.nav-links a {
  color: var(--muted);
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-cta,
.actions a,
.button-outline,
.button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.header-cta,
.actions a {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 12px 26px rgba(29, 111, 93, 0.22);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.actions .secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
  padding: clamp(48px, 8vw, 112px) clamp(24px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(246, 248, 247, 0.98), rgba(246, 248, 247, 0.9), rgba(246, 248, 247, 0.6)),
    url("https://images.unsplash.com/photo-1629872928185-171e13c8e58b?auto=format&fit=crop&w=1800&q=82") center right/cover;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 860px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(216, 226, 223, 0.9);
  border-radius: 999px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 940px;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.intro {
  max-width: 760px;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  min-height: 460px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 63, 104, 0.12), rgba(18, 63, 104, 0.74)),
    url("https://images.unsplash.com/flagged/photo-1574097656146-0b43b7660cb6?auto=format&fit=crop&w=1200&q=82") center/cover;
  box-shadow: var(--shadow);
}

.panel-top,
.report-card,
.panel-grid div {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
}

.panel-top span,
.report-card p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-top strong {
  color: var(--green);
}

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

.panel-grid div {
  min-height: 104px;
  padding: 16px;
  border-radius: 12px;
}

.panel-grid strong {
  display: block;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.panel-grid span,
.report-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.report-card {
  padding: 16px;
  border-radius: 12px;
}

.report-card p {
  margin-bottom: 6px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  position: relative;
  padding: 28px clamp(18px, 3vw, 40px);
  background: var(--white);
}

.trust-strip div + div {
  border-left: 1px solid var(--line);
}

.trust-strip strong,
.metrics strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.trust-strip span,
.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: clamp(48px, 7vw, 92px) clamp(24px, 6vw, 88px);
}

.surface {
  background:
    linear-gradient(180deg, #ffffff, #f7faf9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.card-grid article,
.info-card,
.notice-panel,
.doc-list a,
.faq-item,
.program-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(18, 32, 47, 0.06);
}

.card-grid article::before,
.program-card::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
}

.card-grid article h3,
.program-card h3 {
  color: var(--blue);
}

.card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--teal);
  background: var(--soft);
  border-radius: 10px;
  font-weight: 900;
}

.work-showcase .card-grid article:nth-child(2n) .card-label {
  color: var(--accent);
  background: var(--cream);
}

.story-section {
  background:
    linear-gradient(90deg, rgba(255, 247, 232, 0.72), rgba(255, 255, 255, 0) 58%);
}

.process-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 63, 104, 0.96), rgba(8, 124, 120, 0.92)),
    url("https://images.unsplash.com/photo-1569173675610-42c361a86e37?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.process-band h2,
.process-band h3,
.process-band p,
.process-band .eyebrow {
  color: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 54px;
  padding: 6px 10px;
  color: #123f68;
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metrics div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 32, 47, 0.05);
}

.small-width {
  max-width: 760px;
}

.button-outline {
  margin-top: 8px;
  color: var(--blue);
  border: 1px solid var(--blue);
  background: transparent;
}

.button-light {
  color: var(--blue);
  background: #fff;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid rgba(195, 107, 50, 0.42);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 63, 104, 0.96), rgba(29, 111, 93, 0.94)),
    url("https://images.unsplash.com/photo-1629872928185-171e13c8e58b?auto=format&fit=crop&w=1600&q=82") center/cover;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.page-hero {
  padding: clamp(52px, 8vw, 108px) clamp(24px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(18, 63, 104, 0.94), rgba(8, 124, 120, 0.84)),
    url("https://images.unsplash.com/photo-1569173675610-42c361a86e37?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.page-hero h1,
.page-hero p {
  max-width: 820px;
  color: #fff;
}

.page-hero .eyebrow {
  color: #d8f3ea;
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status {
  align-self: flex-start;
  padding: 6px 10px;
  color: var(--green);
  background: var(--soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-list p {
  margin-bottom: 0;
}

.doc-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.doc-list a,
.doc-card {
  color: var(--blue);
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease;
}

.doc-list a:hover,
.doc-card:hover,
.card-grid article:hover,
.program-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 124, 120, 0.38);
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
}

.doc-card strong {
  color: var(--blue);
  font-size: 18px;
}

.doc-card p {
  margin-bottom: 0;
  font-weight: 400;
}

.doc-category {
  align-self: flex-start;
  padding: 5px 9px;
  color: var(--green);
  background: var(--soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.doc-card small,
.empty-state {
  color: var(--muted);
}

.code-box {
  overflow-x: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #101d2a;
  color: #e8f3f0;
  line-height: 1.6;
}

.form-ui {
  display: grid;
  gap: 14px;
}

.form-ui input,
.form-ui select,
.form-ui textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.form-ui textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr 0.8fr;
  gap: 28px;
  padding: 48px clamp(24px, 6vw, 88px) 24px;
  color: #dfe8ef;
  background:
    linear-gradient(135deg, #0d1722, #13283a);
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a {
  color: #dfe8ef;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .trust-strip,
  .metrics,
  .card-grid.three,
  .process-grid,
  .doc-list,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-panel {
    min-height: 420px;
  }

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

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .brand img {
    max-width: 128px;
    max-height: 52px;
  }

  .actions a,
  .header-cta {
    width: 100%;
  }

  .trust-strip,
  .metrics,
  .card-grid.three,
  .process-grid,
  .doc-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}
