:root {
  --ink: #0d1b2a;
  --ink-2: #132230;
  --steel: #1a2e3a;
  --teal: #1a7f8e;
  --cyan: #2ab7ca;
  --ice: #eef7fa;
  --ice-2: #d4edf4;
  --paper: #f5fafc;
  --white: #ffffff;
  --muted: #5a7685;
  --line: rgba(26, 127, 142, .2);
  --shadow: 0 24px 80px rgba(13, 27, 42, .14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
  --font-display: "Space Grotesk", "Aptos Display", "Trebuchet MS", sans-serif;
  --font-body: "IBM Plex Sans", "Aptos", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(42, 183, 202, .16), transparent 34rem),
    linear-gradient(180deg, #f8fcfd 0%, #eef7fa 52%, #f7fbfc 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: .8rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}
.section { padding: 6.5rem 0; }
.section.tight { padding: 4rem 0; }
.section.dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 27, 42, .96), rgba(26, 46, 58, .98)),
    radial-gradient(circle at 80% 10%, rgba(42, 183, 202, .35), transparent 22rem);
}
.eyebrow {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dark .eyebrow { color: var(--ice-2); }
.eyebrow::before {
  width: 2.4rem;
  height: 2px;
  content: "";
  background: currentColor;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -.04em;
}
h1 { font-size: clamp(3rem, 7vw, 6.9rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 2rem); }
h4 { font-size: 1.05rem; letter-spacing: -.02em; }
p { margin: 0; }
.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  max-width: 760px;
}
.dark .lead { color: rgba(255,255,255,.76); }
.kicker {
  color: var(--muted);
  font-weight: 750;
  letter-spacing: .02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(212, 237, 244, .7);
  background: rgba(245, 250, 252, .86);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: .09em;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; }
.brand small {
  display: block;
  margin-top: .1rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.primary-nav a {
  padding: .78rem .85rem;
  color: var(--steel);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  color: var(--white);
  background: var(--ink);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: .55rem;
  padding: .9rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 14px 34px rgba(26, 127, 142, .24);
}
.btn-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}
.btn-dark {
  color: var(--white);
  background: var(--ink);
}
.btn-ghost {
  color: var(--ice);
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.06);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.2rem;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(13, 27, 42, 1) 0%, rgba(13, 27, 42, .96) 46%, rgba(26, 127, 142, .88) 100%),
    radial-gradient(circle at 80% 8%, rgba(42, 183, 202, .45), transparent 28rem);
}
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
  gap: 3rem;
  align-items: center;
}
.hero h1 span { color: var(--ice-2); }
.hero .lead { margin-top: 1.35rem; max-width: 720px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 2rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: .48rem .7rem;
  color: var(--ice);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-size: .86rem;
  font-weight: 800;
}
.tag.light {
  color: var(--teal);
  border-color: var(--line);
  background: var(--white);
}
.hero-panel {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.1);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 1.6rem;
  border-radius: 26px;
  background: var(--white);
  color: var(--ink);
}
.hero-card .monogram {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 1.4rem;
  border-radius: 22px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
}
.pathway {
  display: grid;
  gap: .75rem;
  margin-top: 1.25rem;
}
.path-step {
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: .8rem;
  align-items: center;
  padding: .8rem;
  border-radius: 16px;
  background: var(--ice);
}
.path-step b {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--teal);
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.16);
}
.stat {
  padding: 1.15rem;
  background: rgba(13, 27, 42, .24);
}
.stat strong {
  display: block;
  color: var(--ice-2);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1;
}
.stat span { display: block; margin-top: .35rem; color: rgba(255,255,255,.76); font-size: .9rem; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, .5fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.4rem;
}
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 40px rgba(13, 27, 42, .07);
}
.card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--cyan));
}
.card.featured {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(13, 27, 42, .96), rgba(26, 46, 58, .96)),
    radial-gradient(circle at 92% 12%, rgba(42,183,202,.4), transparent 16rem);
}
.card.featured p, .card.featured li { color: rgba(255,255,255,.76); }
.card h3, .card h4 { margin-bottom: .75rem; }
.card p { color: var(--muted); }
.card ul, .plain-list {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.card li, .plain-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
}
.card li::before, .plain-list li::before {
  position: absolute;
  left: 0;
  top: .68rem;
  width: .38rem;
  height: .38rem;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
}
.numbered-card {
  counter-increment: item;
  min-height: 100%;
}
.numbered-card .num {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--white);
  border-radius: 999px;
  background: var(--teal);
  font-family: var(--font-display);
  font-weight: 900;
}
.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--line);
  box-shadow: var(--shadow);
}
.band-item {
  padding: 1.5rem;
  background: rgba(255,255,255,.9);
}
.band-item span {
  display: inline-flex;
  margin-bottom: .8rem;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
}
.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .8rem;
}
.process-step {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}
.process-step b {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  margin-bottom: .8rem;
  color: var(--white);
  border-radius: 50%;
  background: var(--ink);
}
.project-card {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto 1fr auto;
}
.project-card .label {
  color: var(--teal);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}
.pill {
  display: inline-flex;
  padding: .38rem .62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  background: var(--ice);
  font-size: .78rem;
  font-weight: 850;
}
.team-card {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 1rem;
}
.avatar {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  color: var(--white);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--ink), var(--teal));
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--white);
  background: var(--ink);
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
td { color: var(--muted); }
.callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13,27,42,.98), rgba(26,127,142,.96)),
    radial-gradient(circle at 20% 20%, rgba(42,183,202,.45), transparent 16rem);
  box-shadow: var(--shadow);
}
.footer {
  color: rgba(255,255,255,.78);
  background: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr .8fr .9fr;
  gap: 2rem;
  padding: 4rem 0;
}
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer h2, .footer h3 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer ul { display: grid; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .9rem;
}
.page-hero {
  padding: 4.5rem 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13,27,42,1), rgba(26,46,58,.96)),
    radial-gradient(circle at right top, rgba(42,183,202,.35), transparent 20rem);
}
.page-hero .lead { margin-top: 1rem; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,.68);
  font-size: .9rem;
}
.breadcrumbs a { color: rgba(255,255,255,.86); text-decoration: none; }
.form-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.field { display: grid; gap: .38rem; }
.field.full { grid-column: 1 / -1; }
label {
  color: var(--steel);
  font-size: .9rem;
  font-weight: 850;
}
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: .85rem .95rem;
  border: 1px solid rgba(90,118,133,.28);
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}
textarea { min-height: 132px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, .12);
}
.form-note, .form-status {
  color: var(--muted);
  font-size: .92rem;
}
.form-status { min-height: 1.4rem; margin-top: .8rem; }
.legal-content {
  max-width: 900px;
  color: var(--muted);
}
.legal-content h2 { margin: 2.2rem 0 .8rem; color: var(--ink); font-size: 2rem; }
.legal-content p, .legal-content ul { margin: .8rem 0; }
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.download-card strong { display: block; }
.download-card span { color: var(--muted); font-size: .9rem; }
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 980px) {
  .header-inner { min-height: 72px; }
  .nav-toggle { display: inline-block; }
  .primary-nav {
    position: fixed;
    inset: 72px 1rem auto 1rem;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { border-radius: 14px; }
  .hero-grid, .section-head, .callout { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
  .grid-3, .grid-4, .footer-grid, .process-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-strip, .band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 660px) {
  .container { width: min(calc(100% - 1.1rem), var(--max)); }
  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .footer-grid, .process-line, .stats-strip, .band, .form-grid { grid-template-columns: 1fr; }
  .hero-panel { padding: .75rem; }
  .card, .form-card, .callout { border-radius: 22px; }
  .footer-bottom { flex-direction: column; }
  .team-card { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
.num {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--white);
  border-radius: 999px;
  background: var(--teal);
  font-family: var(--font-display);
  font-weight: 900;
}
.card:not(.featured) h2,
.card:not(.featured) h3,
.card:not(.featured) h4,
.process-step h3 { color: var(--ink); }
.process-step p { color: var(--muted); }
input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin-right: .45rem;
  accent-color: var(--teal);
}
label:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  line-height: 1.4;
}
@supports not selector(:has(*)) {
  label input[type="checkbox"] { float: left; margin-top: .25rem; }
}
