:root {
  --ink: #0d1b2a;
  --deep: #14283f;
  --blue: #bcd6ef;
  --blue-soft: #9fbfe0;
  --teal: var(--blue-soft);
  --aqua: var(--blue);
  --paper: #f3f0e7;
  --white: #ffffff;
  --muted: #5d6876;
  --line: #d9d9cf;
  --amber: #9f8191;
  --clay: #6c87a5;
  --green: #9fbfe0;
  --shadow: 0 24px 70px rgba(13, 27, 42, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, height 180ms ease;
}

.site-header.scrolled {
  height: 66px;
  background: rgba(13, 27, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(188, 214, 239, 0.28);
}

.brand-mark span {
  width: 14px;
  height: 14px;
  border: 3px solid var(--deep);
  border-radius: 50%;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.site-nav a,
.header-login {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 680;
}

.site-nav a {
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header-login {
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  background:
    radial-gradient(circle at 22% 18%, rgba(126, 168, 212, 0.34), rgba(13, 27, 42, 0) 55%),
    linear-gradient(90deg, rgba(13, 27, 42, 0.92) 0%, rgba(20, 40, 63, 0.7) 38%, rgba(13, 27, 42, 0.3) 72%, rgba(13, 27, 42, 0.12) 100%),
    linear-gradient(180deg, rgba(13, 27, 42, 0.3) 0%, rgba(13, 27, 42, 0.6) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(26px, 5vw, 78px);
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 132px 0 72px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 15px;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(66px, 11vw, 150px);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.28;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
}

.btn.primary {
  background: var(--aqua);
  color: var(--ink);
}

.btn.primary.dark {
  background: var(--deep);
  color: var(--white);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(13, 27, 42, 0.62);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.signal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 760;
}

.signal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(188, 214, 239, 0.17);
}

.hero-metrics {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-metrics div {
  display: grid;
  gap: 3px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics strong {
  font-size: 20px;
}

.hero-metrics span,
.hero-panel p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-grid,
.platform-head,
.confidentiality {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-grid p,
.platform-head p,
.confidentiality p,
.portal-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.problem-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.problem-band div {
  padding: 28px;
  background: var(--white);
}

.problem-band span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 850;
}

.problem-band h3,
.capability-card h3,
.stakeholder-grid h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.problem-band p,
.capability-card p,
.stakeholder-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.platform-section {
  width: 100%;
  padding: 98px max(20px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.capability-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 27, 42, 0.02), rgba(13, 27, 42, 0.06)),
    var(--paper);
}

.icon-shield,
.icon-wave,
.icon-nodes {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: auto;
  border-radius: 8px;
  background: var(--deep);
}

.icon-shield::after,
.icon-wave::after,
.icon-nodes::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 3px solid var(--aqua);
}

.icon-shield::after {
  border-radius: 14px 14px 18px 18px;
}

.icon-wave::after {
  border-left: 0;
  border-right: 0;
  border-radius: 50%;
}

.icon-nodes::after {
  border-radius: 50%;
  box-shadow: -15px -8px 0 -6px var(--aqua), 15px 8px 0 -6px var(--aqua);
}

.stakeholders-section h2 {
  max-width: 720px;
}

.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.stakeholder-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.portal-preview {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: 100px max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--deep);
}

.portal-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.portal-window {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #e7edf1;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-soft);
}

.portal-mini-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  padding: 20px;
  color: var(--ink);
}

.mini-card,
.mini-table {
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid #d8e3ee;
}

.mini-card.wide {
  grid-column: 1 / -1;
}

.mini-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 760;
  text-transform: uppercase;
}

.mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
}

.mini-card span {
  color: var(--muted);
  font-size: 13px;
}

.mini-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe9f1;
}

.mini-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-soft), var(--blue));
}

.mini-table {
  grid-column: 1 / -1;
}

.mini-table div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid #e7edf1;
  color: var(--muted);
  font-size: 13px;
}

.mini-table div:first-child {
  border-top: 0;
}

.mini-table b {
  color: var(--deep);
}

.confidentiality {
  align-items: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  padding: 46px clamp(20px, 5vw, 70px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 740;
}

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

  .nav-toggle {
    justify-self: end;
    display: inline-grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--white);
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    background: rgba(13, 27, 42, 0.96);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 46px;
  }

  .header-login {
    display: none;
  }

  .hero-inner,
  .intro-grid,
  .platform-head,
  .portal-preview,
  .confidentiality,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }

  .problem-band,
  .capability-grid,
  .stakeholder-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 230px;
  }

  .footer-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .hero-inner {
    width: calc(100% - 28px);
    padding-bottom: 38px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .hero-lede {
    font-size: 18px;
  }

  .section {
    width: calc(100% - 28px);
    padding: 70px 0;
  }

  .platform-section,
  .portal-preview {
    padding-left: 14px;
    padding-right: 14px;
  }

  .portal-mini-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }
}
