:root {
  --navy: #102f3a;
  --navy-deep: #0a222b;
  --ink: #143541;
  --green: #1f7057;
  --green-dark: #17533f;
  --mint: #dcefe4;
  --paper: #f7f8f4;
  --white: #ffffff;
  --muted: #536b72;
  --line: #d4dfda;
  --sand: #eef1e9;
  --shadow: 0 18px 55px rgba(16, 47, 58, 0.09);
  --radius: 12px;
  --body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

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

button,
a,
summary { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid #197db2;
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(2.65rem, 5.2vw, 4.85rem); line-height: 1.04; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 3.7vw, 3.35rem); line-height: 1.12; margin-bottom: 1.25rem; }
h3 { font-size: 1.32rem; line-height: 1.3; margin-bottom: 0.75rem; }
p { margin-bottom: 1.2rem; }

.wrap {
  width: min(1220px, calc(100% - 88px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 88px));
  margin-inline: auto;
}

.section { padding-block: 96px; }
.section-white { background: var(--white); }
.section-mint { background: var(--mint); }
.section-navy { background: var(--navy); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.15rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-navy .eyebrow { color: #bfe3d0; }

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.section-navy .lead { color: #c4d9dc; }
.small { color: var(--muted); font-size: 0.86rem; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--navy-deep);
  color: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(20, 53, 65, 0.12);
  background: rgba(247, 248, 244, 0.97);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 207px; height: 60px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--green); }

.menu-button {
  display: none;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  padding-inline: 14px;
}

.button,
button.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid var(--green);
  border-radius: 5px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
button.button:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
  transform: translateY(-1px);
}

.button-secondary {
  border-color: #9eb2aa;
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover { background: var(--sand); color: var(--ink); }
.button-light { border-color: var(--white); background: var(--white); color: var(--navy); }
.button-light:hover { border-color: #e3efe8; background: #e3efe8; color: var(--navy); }
.text-link { font-weight: 750; text-underline-offset: 5px; }

.hero { padding-block: 66px 44px; }

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.hero-topline .eyebrow { margin: 0; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.status-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 54px;
}

.hero h1 span { color: var(--green); }
.hero-copy .lead { max-width: 580px; }

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 1.22;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.hero-keywords {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.intro-grid,
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 72px;
}

.section-head { margin-bottom: 44px; }
.section-head h2,
.section-head p { margin-bottom: 0; }

.concept-grid,
.track-grid,
.publication-grid,
.role-grid,
.path-grid,
.component-grid {
  display: grid;
  gap: 24px;
}

.concept-grid { grid-template-columns: repeat(3, 1fr); margin-top: 46px; }

.concept-card,
.track-card,
.publication-card,
.role-card,
.path-card,
.component-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px;
}

.concept-card p,
.track-card p,
.publication-card p,
.role-card p,
.path-card p,
.component-card p { margin-bottom: 0; color: var(--muted); font-size: 0.92rem; }

.card-label {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.track-grid { grid-template-columns: 1fr 1fr; }
.track-card { position: relative; overflow: hidden; padding: 36px; }
.track-card h3 { font-size: 1.65rem; }
.track-card .track-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; }
.track-card.primary { border-color: var(--green); background: var(--navy); color: var(--white); }
.track-card.primary p { color: #c4d9dc; }
.track-card.primary .card-label { color: #bfe3d0; }
.track-card.primary .track-note { border-color: #365965; color: #c4d9dc; }

.video-layout {
  display: grid;
  grid-template-columns: 1.72fr 0.9fr;
  align-items: start;
  gap: 42px;
}

.video-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-deep);
  box-shadow: var(--shadow);
}

.video-frame video { width: 100%; aspect-ratio: 16 / 9; background: var(--navy-deep); }

.service-steps { display: grid; gap: 18px; }
.service-step { padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.service-step:last-child { border-bottom: 0; }
.service-step h3 { margin-bottom: 6px; font-size: 1.12rem; }
.service-step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.system-grid figure { margin: 0; }
.system-grid figure img { width: 100%; aspect-ratio: 1.35; border-radius: var(--radius); object-fit: cover; }

.component-grid { grid-template-columns: repeat(2, 1fr); margin-top: 34px; }
.component-card { padding: 23px; background: var(--paper); }
.component-card h3 { font-size: 1.06rem; }

.target-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 0.94rem;
}

.target-table th,
.target-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.target-table th { width: 38%; color: var(--ink); }
.target-table td { color: var(--muted); }

.callout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  padding: 44px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.callout p { color: #c4d9dc; }
.callout .actions { justify-content: flex-end; margin-top: 0; }

.publication-grid { grid-template-columns: 1fr 1fr; }
.publication-card { display: flex; min-height: 270px; flex-direction: column; justify-content: space-between; }
.publication-card h3 { font-size: 1.5rem; }
.publication-meta { color: var(--green); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.publication-card .text-link { display: inline-block; margin-top: 28px; }

.survey-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 40px;
  border: 1px solid #bfd6c8;
  border-radius: var(--radius);
  background: var(--mint);
}

.survey-panel h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.survey-panel p { max-width: 720px; margin-bottom: 0; color: #405f57; }

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: 82px;
}

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 18px; right: 0; color: var(--green); content: "+"; font-size: 1.5rem; font-weight: 450; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-right: 30px; color: var(--muted); font-size: 0.92rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 76px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: 0.86rem; font-weight: 750; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  border: 1px solid #91a9a0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.field-help { display: block; margin-top: 5px; color: var(--muted); font-size: 0.75rem; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 0.8rem; }
.consent input { width: 17px; height: 17px; flex: none; margin-top: 4px; accent-color: var(--green); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 24px; }
.form-actions p { max-width: 430px; margin: 0; color: var(--muted); font-size: 0.76rem; }

.updates { padding-block: 54px; background: var(--white); }
.updates-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; align-items: start; gap: 70px; }
.updates h2 { margin-bottom: 8px; font-size: 1.75rem; }
.updates p { color: var(--muted); }
.updates-fields { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 12px; }

.page-hero { padding-block: 64px 74px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; color: var(--muted); font-size: 0.8rem; }
.breadcrumbs a { text-underline-offset: 4px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 0.85fr; align-items: center; gap: 64px; }
.page-hero figure { margin: 0; }
.page-hero figure img { width: 100%; aspect-ratio: 1.2; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }

.role-grid { grid-template-columns: repeat(3, 1fr); }
.role-card ul { margin: 0; padding-left: 19px; color: var(--muted); font-size: 0.9rem; }
.role-card li + li { margin-top: 7px; }
.path-grid { grid-template-columns: repeat(4, 1fr); }
.path-card { padding: 22px; }
.path-card h3 { font-size: 1.05rem; }

.resume-panel {
  padding: 36px;
  border: 1px solid #bcd5c5;
  border-radius: var(--radius);
  background: var(--mint);
}
.resume-panel h2 { font-size: 2rem; }

.privacy-copy h2 { margin-top: 2.8rem; font-size: 1.7rem; }
.privacy-copy h3 { margin-top: 2rem; font-size: 1.15rem; }
.privacy-copy li + li { margin-top: 8px; }

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: var(--sand);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer { border-top: 1px solid var(--line); padding-block: 42px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-brand strong { display: block; margin-bottom: 6px; }
.footer-brand p { max-width: 520px; margin: 0; color: var(--muted); font-size: 0.82rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; font-size: 0.8rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }

.success-page { min-height: 70vh; display: grid; place-items: center; padding: 70px 24px; }
.success-card { width: min(720px, 100%); padding: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.success-card .brand { margin-bottom: 44px; }

.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;
}

@media (max-width: 980px) {
  .wrap,
  .narrow { width: min(100% - 52px, 1220px); }
  .nav-links { gap: 18px; }
  .hero-grid,
  .page-hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(2.5rem, 5.8vw, 3.8rem); }
  .hero-keywords { grid-template-columns: repeat(2, 1fr); }
  .intro-grid,
  .section-head,
  .system-grid,
  .contact-grid { gap: 42px; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .updates-grid { gap: 34px; }
  .updates-fields { grid-template-columns: 1fr 1fr; }
  .updates-fields .button { justify-self: start; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  body { font-size: 16px; }
  .wrap,
  .narrow { width: calc(100% - 36px); }
  .section { padding-block: 66px; }
  .nav { min-height: 76px; flex-wrap: wrap; }
  .brand img { width: 181px; height: 52px; }
  .menu-button { display: inline-flex; align-items: center; }
  .nav-links { display: none; width: 100%; grid-template-columns: 1fr 1fr; padding: 14px 0 22px; gap: 16px; }
  .nav-links.open { display: grid; }
  .nav-links .button { justify-self: start; }
  .hero { padding-top: 34px; }
  .hero-topline { align-items: flex-start; }
  .hero-grid,
  .intro-grid,
  .section-head,
  .track-grid,
  .video-layout,
  .system-grid,
  .publication-grid,
  .survey-panel,
  .faq-layout,
  .contact-grid,
  .updates-grid,
  .page-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; }
  .hero-keywords { grid-template-columns: 1fr 1fr; }
  .concept-grid,
  .component-grid { grid-template-columns: 1fr; }
  .section-head { gap: 12px; margin-bottom: 32px; }
  .track-card { padding: 28px; }
  .callout { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
  .callout .actions { justify-content: flex-start; }
  .survey-panel { gap: 24px; padding: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .updates-fields { grid-template-columns: 1fr; }
  .updates-fields .button { justify-self: stretch; }
  .role-grid,
  .path-grid { grid-template-columns: 1fr; }
  .footer-top,
  .footer-bottom { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .success-card { padding: 32px 24px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.45rem; }
  .hero-keywords { grid-template-columns: 1fr; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
  .status-pill { font-size: 0.68rem; }
  .target-table th,
  .target-table td { display: block; width: 100%; padding-inline: 0; }
  .target-table th { padding-bottom: 3px; border-bottom: 0; }
  .target-table td { padding-top: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { scroll-behavior: auto !important; transition: none !important; }
}
