:root {
  --graphite: #14161a;
  --panel: #1a1d23;
  --hairline: #2c2f37;
  --steel: #4c7ea8;
  --steel-fill: #5a8ab8;
  --steel-light: #7fa8c9;
  --verified: #5fa88c;
  --text: #edeef0;
  --text-muted: #9aa0aa;
  --text-faint: #5f6570;
  --text-footer: #7a818c;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--graphite);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.serif { font-family: var(--font-display); font-weight: 700; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
}

/* ---------- NAV ---------- */

header.site {
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 22px;
  height: 22px;
  border: 1.4px solid var(--steel-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-mark::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--steel-light);
  border-radius: 50%;
}

nav.links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--text-muted);
}

nav.links a { text-decoration: none; color: var(--text-muted); }
nav.links a:hover { color: var(--text); }

@media (max-width: 780px) {
  nav.links { display: none; }
}

.btn {
  display: inline-block;
  font-size: 13.5px;
  padding: 10px 18px;
  border: 1px solid var(--steel-light);
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { background: var(--steel); border-color: var(--steel); }

.nav-right .btn-solid,
.btn-solid {
  background: var(--steel-fill);
  border-color: var(--steel-fill);
  color: var(--graphite);
  font-weight: 600;
}

.nav-right .btn-solid:hover,
.btn-solid:hover {
  background: var(--steel-light);
  border-color: var(--steel-light);
}

.nav-right { display: flex; align-items: center; gap: 26px; }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 12% 58%;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(20, 22, 26, 0.12) 0%,
      rgba(20, 22, 26, 0.18) 38%,
      rgba(20, 22, 26, 0.55) 58%,
      rgba(20, 22, 26, 0.7) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(20, 22, 26, 0.42) 0%,
      rgba(20, 22, 26, 0.12) 42%,
      rgba(20, 22, 26, 0.55) 100%
    );
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(640px, 1.4fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  padding-left: max(32px, calc((100vw - 1280px) / 2 + 32px));
  padding-right: max(32px, calc((100vw - 1280px) / 2 + 32px));
}

.hero-copy {
  position: relative;
  overflow: hidden;
  grid-column: 2;
  text-align: left;
  width: 100%;
  max-width: none;
  margin: 0;
  justify-self: stretch;
  padding: clamp(28px, 3.2vw, 40px) clamp(28px, 3vw, 36px);
  border-radius: 18px;
  background:
    linear-gradient(
      155deg,
      rgba(26, 29, 35, 0.58) 0%,
      rgba(20, 22, 26, 0.42) 48%,
      rgba(20, 22, 26, 0.28) 100%
    );
  border: 1px solid rgba(127, 168, 201, 0.22);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(127, 168, 201, 0.06);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.02) 28%,
      transparent 48%
    ),
    linear-gradient(
      180deg,
      rgba(127, 168, 201, 0.08) 0%,
      transparent 42%
    );
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 1280px) {
  .hero .wrap {
    max-width: 1480px;
    grid-template-columns: minmax(0, 0.65fr) minmax(720px, 1.5fr);
    padding-left: max(32px, calc((100vw - 1480px) / 2 + 32px));
    padding-right: max(32px, calc((100vw - 1480px) / 2 + 32px));
  }
}

.status-line {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--verified);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.status-line .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--verified);
  display: inline-block;
  flex-shrink: 0;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 54px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  max-width: none;
}

@media (max-width: 600px) {
  h1 { font-size: 34px; }
}

.hero p.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: none;
  margin: 0 0 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}

.btn-primary {
  font-size: 15.5px;
  padding: 16px 28px;
  background: var(--steel-fill);
  color: var(--graphite);
  text-decoration: none;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--steel-light); }

.link-quiet {
  font-size: 15.5px;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
}

.link-quiet:hover { color: var(--text); border-color: var(--text-faint); }

@media (max-width: 1100px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  }

  .hero-copy {
    max-width: none;
    justify-self: end;
  }

  .hero-bg {
    object-position: 8% 55%;
  }
}

@media (max-width: 900px) {
  .hero {
    align-items: center;
    padding: 72px 0 56px;
    text-align: center;
    min-height: min(100svh, 900px);
  }

  .hero-bg {
    object-position: center 40%;
  }

  .hero-scrim {
    background:
      linear-gradient(
        to bottom,
        rgba(20, 22, 26, 0.28) 0%,
        rgba(20, 22, 26, 0.96) 36%,
        rgba(20, 22, 26, 0.96) 70%,
        rgba(20, 22, 26, 0.96) 100%
      );
  }

  .hero .wrap {
    display: block;
    max-width: 1120px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-copy {
    grid-column: auto;
    text-align: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 28px 22px;
    border-radius: 16px;
  }

  .status-line {
    font-size: 12px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    line-height: 1.45;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero p.lead {
    font-size: 16.5px;
    max-width: 42rem;
  }

  h1,
  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 64px 0 48px;
  }

  .hero p.lead {
    font-size: 15.5px;
  }

  .btn-primary {
    font-size: 14.5px;
    padding: 14px 22px;
    width: 100%;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 18px;
  }

  .link-quiet {
    font-size: 14.5px;
  }
}

/* ---------- FOUNDATION ---------- */

.foundation-section {
  position: relative;
  z-index: 0;
  padding: 92px 0;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.foundation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(127, 168, 201, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 168, 201, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(127, 168, 201, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 168, 201, 0.16) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px, 220px 220px, 220px 220px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 78% 8%, black 0%, transparent 68%);
  mask-image: radial-gradient(ellipse 75% 65% at 78% 8%, black 0%, transparent 68%);
  pointer-events: none;
}

.section-kicker {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--steel-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--steel-light);
  flex-shrink: 0;
}

h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.2;
  max-width: 620px;
}

.section-intro {
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 560px;
  margin: 0 0 48px;
}

.pillar-list {
  border-top: 1px solid var(--hairline);
  margin-top: 48px;
  margin-left: -12px;
  margin-right: -12px;
}

.pillar-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 200px 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 28px 12px;
  border-bottom: 1px solid var(--hairline);
  border-left: 2px solid transparent;
  transition: background-color 0.25s ease, border-left-color 0.25s ease, padding-left 0.25s ease;
}

.pillar-row:hover {
  background: rgba(127, 168, 201, 0.05);
  border-left-color: var(--steel-light);
  padding-left: 18px;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-faint);
  transition: color 0.25s ease;
}

.pillar-row:hover .pillar-num {
  color: var(--steel-light);
}

@media (max-width: 700px) {
  .pillar-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 12px;
  }

  .pillar-num {
    order: -1;
  }
}

.pillar-row h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

.pillar-row p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
  max-width: 540px;
}

/* ---------- AUDIENCE ---------- */

.audience-section {
  padding: 92px 0;
  border-bottom: 1px solid var(--hairline);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--hairline);
  margin-top: 44px;
}

@media (max-width: 820px) {
  .audience-grid { grid-template-columns: 1fr; }
}

.audience-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  overflow: hidden;
  transition: background-color 0.25s ease;
}

.audience-col:hover {
  background: rgba(127, 168, 201, 0.05);
}

.audience-col:not(:last-child) {
  border-right: 1px solid var(--hairline);
}

@media (max-width: 820px) {
  .audience-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }
}

.audience-col::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--steel-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.audience-col:hover::after {
  transform: scaleX(1);
}

.audience-media {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 1px solid var(--hairline);
  filter: grayscale(35%);
  transform: scale(1);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.audience-col:hover .audience-media {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.audience-copy {
  padding: 34px 28px;
  flex: 1;
  overflow: hidden;
}

.audience-col h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.audience-col p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- LIFECYCLE ---------- */

.lifecycle-section {
  padding: 92px 0;
  border-bottom: 1px solid var(--hairline);
}

.lifecycle-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 44px 0 40px;
}

.lifecycle-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12.5%;
  width: 75%;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    var(--hairline) 0,
    var(--hairline) 6px,
    transparent 6px,
    transparent 13px
  );
  pointer-events: none;
}

.track-node {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.track-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--steel-light);
  opacity: 0.75;
  pointer-events: none;
}

.track-icon {
  width: 56px;
  height: 56px;
  padding: 13px;
  flex-shrink: 0;
  color: var(--steel-light);
  background: var(--graphite);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.track-icon:hover {
  color: var(--verified);
  border-color: var(--steel-light);
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .track-icon { width: 48px; height: 48px; padding: 11px; }
}

@media (max-width: 560px) {
  .lifecycle-track { margin: 32px 0 28px; }
  .track-icon { width: 40px; height: 40px; padding: 9px; }
  .track-node:not(:last-child)::after {
    border-width: 4px 0 4px 6px;
  }
}

.lifecycle-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
}

@media (max-width: 900px) {
  .lifecycle-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 560px) {
  .lifecycle-steps { grid-template-columns: 1fr; }
}

.lifecycle-step {
  position: relative;
  padding: 4px 28px;
  transition: transform 0.25s ease;
}

.lifecycle-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  bottom: 4px;
  width: 1px;
  background: var(--hairline);
}

@media (max-width: 900px) {
  .lifecycle-step:nth-child(2n)::after { display: none; }
}

@media (max-width: 560px) {
  .lifecycle-step::after { display: none; }
}

.lifecycle-step:hover {
  transform: translateY(-3px);
}

.lifecycle-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--steel-light);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.lifecycle-num::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel-light);
  flex-shrink: 0;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.lifecycle-step:hover .lifecycle-num::before {
  background: var(--verified);
  transform: scale(1.3);
}

.lifecycle-step h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.lifecycle-step p {
  font-size: 13.8px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- DOCUMENTATION / CTA ---------- */

.cta-section {
  padding: 96px 0;
}

.cta-inner {
  border: 1px solid var(--hairline);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 820px) {
  .cta-inner { grid-template-columns: 1fr; padding: 40px 26px; }
}

.cta-inner h2 { margin-bottom: 14px; }

.cta-inner p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 460px;
  margin: 0;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-form input, .cta-form select {
  background: var(--graphite);
  border: 1px solid var(--hairline);
  color: var(--text);
  padding: 13px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
}

.cta-form input::placeholder { color: var(--text-faint); }

.cta-form input:focus, .cta-form select:focus {
  border-color: var(--steel);
}

.cta-form .btn-primary {
  text-align: center;
  margin-top: 4px;
}

.cta-form .btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
}

.form-status.is-success { color: var(--verified); }
.form-status.is-error { color: #d98a8a; }

/* ---------- FOOTER ---------- */

footer.site {
  border-top: 1px solid var(--hairline);
  padding: 40px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-footer);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a { text-decoration: none; color: var(--text-footer); }
.footer-links a:hover { color: var(--text-muted); }

:focus-visible {
  outline: 2px solid var(--steel-light);
  outline-offset: 2px;
}
