:root {
  color-scheme: light;
  --paper: #f8fafd;
  --white: #fff;
  --ink: #132033;
  --muted: #495a70;
  --line: #d2dae5;
  --surface: #edf2f8;
  --navy: #101b2f;
  --navy-deep: #0c1526;
  --navy-line: #354762;
  --blue: #204d83;
  --ice: #e3efff;
  --frame: min(100% - 3rem, 74rem);
  font: 100%/1.56 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.2rem; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 730; line-height: 1.06; }
h1 { font-size: clamp(2.65rem, 5.5vw, 5.15rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.95rem, 3.75vw, 3.45rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.18rem, 1.6vw, 1.52rem); letter-spacing: -.028em; }
a { color: inherit; }
button, summary { font: inherit; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 3px solid #3678c4; outline-offset: 5px; }
.header :focus-visible, .hero :focus-visible, .diagnostic :focus-visible :focus-visible, .footer :focus-visible { outline-color: #a9d4ff; }
.frame { width: var(--frame); margin-inline: auto; }
.skip { position: absolute; top: .7rem; left: .7rem; z-index: 3; padding: .7rem 1rem; transform: translateY(-200%); background: var(--white); }
.skip:focus { transform: none; }
.header, .hero, .diagnostic, .footer { color: var(--white); background: var(--navy); }
.header { background: var(--navy-deep); }
.header-inner, .footer-inner { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; padding-block: .8rem; min-height: 4.9rem; }
.header-inner { border-bottom: 1px solid var(--navy-line); }
.wordmark { font-size: 1.75rem; font-weight: 780; letter-spacing: -.065em; white-space: nowrap; text-decoration: none; }
.wordmark span, .hero h1 span { color: #a9d4ff; }
.nav, .footer nav { display: flex; gap: clamp(.7rem, 1.75vw, 1.6rem); align-items: center; flex-wrap: wrap; }
.nav a, .footer nav a { text-decoration: none; font-size: .93rem; color: #e3eaf6; }
.nav a:hover, .footer nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-cta, .menu-toggle { padding: .56rem .9rem; border: 1px solid #6f86a7; border-radius: .25rem; color: inherit; background: transparent; cursor: pointer; }
.nav-cta:hover, .menu-toggle:hover { border-color: #a9d4ff; }
.hero {
  background: radial-gradient(ellipse 55% 85% at 84% 42%, #1c3755, transparent), var(--navy-deep);
}
.hero-sticky { padding-block: clamp(1.6rem, 4.5vw, 4.25rem); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.14fr); gap: clamp(1.5rem, 3.7vw, 3.4rem); align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 4.1vw, 3.65rem); text-wrap: balance; }
.eyebrow { color: var(--blue); font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 720; margin-bottom: .8rem; }
.hero .eyebrow, .diagnostic .eyebrow { color: #b3d5ff; }
.hero-lead { max-width: 34rem; margin-top: 1.05rem; color: #d4dfed; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.53; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.05rem; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .4rem; text-decoration: none; font-weight: 700; text-align: center; line-height: 1.25; }
.primary { background: var(--ice); color: var(--navy-deep); }
.primary:hover { background: var(--white); }
.outline { border-color: #6f86a7; color: var(--white); }
.outline:hover { border-color: #a9d4ff; }
.hero-method {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: #bacbe0;
  font-size: .89rem;
}
.hero-method li + li::before {
  content: "";
  display: inline-block;
  width: .22rem;
  height: .22rem;
  margin-right: .65rem;
  vertical-align: middle;
  border-radius: 50%;
  background: currentColor;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.flow-demo {
  --flow-line: #55769a;
  --flow-signal: #78c5b8;
  --flow-accent: #96eadd;
  --flow-muted: #c1d2e8;
  color: var(--ice);
  padding: clamp(.85rem, 2.8vw, 1.95rem);
  border: 1px solid var(--flow-line);
  border-radius: .7rem;
  background:
    linear-gradient(#a9d4ff12 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, #a9d4ff12 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(145deg, #254462, #111f34 72%);
  box-shadow: 0 14px 44px #050c19a0;
}
.flow-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--flow-line);
}
.flow-header h2 { font-size: 1.38rem; letter-spacing: -.025em; }
.flow-header > span { color: var(--flow-muted); font-size: .8rem; }
.flow-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  margin: .9rem 0 0;
  padding: .2rem;
  gap: .2rem;
  border: 1px solid var(--flow-line);
  border-radius: .5rem;
  background: #101d30;
}
.flow-choices:disabled { visibility: hidden; }
.flow-choices label { position: relative; cursor: pointer; }
.flow-choices input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.flow-choices span {
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  padding: .25rem .15rem;
  border: 1px solid transparent;
  border-radius: .3rem;
  color: var(--flow-muted);
  text-align: center;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.2;
}
.flow-choices input:checked + span { border-color: var(--flow-signal); color: var(--flow-accent); background: #153c46; }
.flow-choices input:focus-visible + span { outline: 2px solid var(--flow-accent); outline-offset: 1px; }
.flow-scenario { margin-top: 1rem; }
.flow-scenario h3 { font-size: 1.14rem; }
.flow-problem { margin-top: .3rem; color: var(--flow-muted); font-size: .94rem; }
.flow-steps {
  display: grid;
  gap: .38rem;
  margin: .75rem 0;
  padding: 0;
  list-style: none;
}
.flow-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: .65rem;
  align-items: baseline;
  padding: .44rem .65rem;
  border: 1px solid var(--flow-line);
  border-radius: .45rem;
  background: #193456;
  line-height: 1.24;
  overflow-wrap: anywhere;
}
.flow-steps [aria-current="step"] {
  border-color: var(--flow-accent);
  box-shadow: inset 2px 0 var(--flow-accent);
}
.flow-step { display: inline-flex; align-items: center; gap: .35rem; color: var(--flow-accent); font-size: .81rem; font-weight: 680; }
.flow-step svg, .flow-result svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow-step svg { flex: 0 0 1.15rem; }
.flow-steps strong { font-size: .94rem; }
.flow-detail { grid-column: 2 / -1; color: var(--flow-muted); font-size: .875rem; }
.flow-current {
  grid-area: 1 / 3;
  padding: .1rem .3rem;
  border-radius: .2rem;
  background: var(--flow-accent);
  color: var(--navy-deep);
  font-size: .75rem;
  font-weight: 750;
  visibility: hidden;
}
[aria-current="step"] .flow-current { visibility: visible; }
.flow-result {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .1rem .55rem;
  margin: 0;
  padding: .6rem .75rem;
  border-left: 2px solid var(--flow-signal);
  border-radius: 0 .35rem .35rem 0;
  background: #153c46;
  font-size: .91rem;
}
.flow-result svg { grid-row: span 2; color: var(--flow-accent); }
.flow-result strong { color: var(--flow-accent); font-size: .82rem; }
.flow-result span { grid-column: 2; }
.flow-story-hint {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .15rem .8rem;
  margin-top: .65rem;
  color: var(--flow-muted);
  font-size: .84rem;
}
.flow-story-hint a { color: var(--ice); text-underline-offset: .2em; }
@media (hover: hover) and (pointer: fine) {
  .flow-choices label:hover input:not(:checked) + span { color: var(--ice); border-color: var(--flow-line); }
}
@media (min-width: 64rem) and (min-height: 46rem) and (prefers-reduced-motion: no-preference) {
  .hero-sticky { padding-block: 1.5rem; }
  .hero[data-scroll-story="sticky"] .hero-sticky { position: sticky; top: 0; }
  .hero[data-scroll-story="sticky"]::after {
    content: "";
    display: block;
    height: clamp(18rem, 44svh, 26rem);
  }
}
@media (max-width: 57rem) {
  .hero .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { max-width: 23ch; text-wrap: pretty; }
  .flow-demo { width: min(100%, 40rem); }
}
.section { padding-block: clamp(2.5rem, 5vw, 4.8rem); }
.split { display: grid; grid-template-columns: 1.36fr 1fr; align-items: end; gap: 1.2rem clamp(1.3rem, 5vw, 4.8rem); }
.section-head { margin-bottom: clamp(1.5rem, 4vw, 3.15rem); }
.section-head > p:not(.eyebrow), .section-head > div > p:not(.eyebrow) { color: var(--muted); max-width: 34rem; font-size: clamp(1rem, 1.5vw, 1.08rem); }
.section-head:not(.split) > h2 + p { margin-top: 1rem; }
.problem-grid, .segment-grid, .solution-grid, .project-grid, .method-grid { display: grid; gap: 1rem; }
.problem-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.problem-grid article, .solution-grid article, .segment, .method-grid article {
  min-width: 0;
  padding: clamp(.9rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--white);
}
.problem-grid p, .solution-grid p, .segment p, .method-grid p { color: var(--muted); margin-top: .55rem; }
.problem-icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  padding: .43rem;
  margin-bottom: .8rem;
  border-radius: .45rem;
  color: var(--blue);
  background: var(--surface);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.segments, .evolution, .faq { background: var(--surface); }
.segment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.segment {
  --segment-padding: clamp(.9rem, 2vw, 1.35rem);
  padding: var(--segment-padding);
  border-top: 3px solid #577da9;
}
.segment-media {
  margin: calc(-1 * var(--segment-padding)) calc(-1 * var(--segment-padding)) 1rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: .45rem .45rem 0 0;
  background: var(--surface);
}
.segment-media img { height: 100%; object-fit: cover; }
.segment details { margin-top: .7rem; border-top: 1px solid var(--line); }
.segment summary {
  display: flex;
  gap: .7rem;
  align-items: center;
  justify-content: space-between;
  min-height: 2.75rem;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.segment summary::-webkit-details-marker { display: none; }
.segment summary::after {
  content: "";
  width: .46rem;
  height: .46rem;
  margin-right: .2rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-.15rem);
}
.segment details[open] summary::after { transform: rotate(225deg); }
.segment-detail { padding: 0 0 .45rem; }
.segment-detail p { margin-top: .1rem; }
.diagnostic-grid, .faq-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.2rem, 6vw, 5rem); }
.diagnostic-grid .section-head, .faq-grid .section-head, .founder-grid .section-head { margin-bottom: 0; }
.evolution-list, .diagnostic-list { display: grid; padding: 0; margin: 0; }
.evolution-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: evolution;
  list-style: none;
}
.evolution-list li {
  position: relative;
  min-width: 0;
  padding: 2.6rem .9rem .4rem 0;
  counter-increment: evolution;
}
.evolution-list li::before {
  content: counter(evolution) / "";
  position: absolute;
  inset: 0 auto auto 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: .88rem;
  font-weight: 700;
}
.evolution-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: 1rem 0 auto 2rem;
  border-top: 1px solid #7c9dc5;
}
.evolution-list h3, .diagnostic-list h3 { font-size: 1.16rem; }
.evolution-list p, .diagnostic-list p { margin-top: .38rem; color: var(--muted); }
.text-link { display: inline-block; margin-top: .9rem; color: var(--blue); text-decoration-thickness: .085em; text-underline-offset: .27em; font-weight: 680; }
.text-link:hover { text-decoration-thickness: .16em; }
.solution-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.micro-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem;
  padding: 0;
  margin: 0 0 .85rem;
  color: var(--blue);
  font-size: .84rem;
  font-weight: 680;
  list-style: none;
}
.micro-flow li + li::before {
  content: "";
  display: inline-block;
  width: .9rem;
  margin: 0 .3rem .2rem 0;
  border-bottom: 1px solid #7c9dc5;
}
.solution-grid .examples { padding-top: .8rem; border-top: 1px solid var(--line); margin-top: .9rem; font-size: .93rem; }
.support { margin-top: 1.4rem; border-left: 3px solid #92abc9; padding: .3rem 1rem; }
.support p { color: var(--muted); }
.support p strong { color: var(--ink); }
.support .text-link { margin-top: .45rem; }
.method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.method-grid article { border-left: 3px solid #7c9dc5; }
.method-grid article + article { background: var(--surface); border-left-color: var(--blue); }
.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: .65rem; overflow: hidden; }
.project img { aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); }
.project h3 { font-size: clamp(1.65rem, 3vw, 2.8rem); }
.project-copy { padding: clamp(1rem, 2.7vw, 1.85rem); }
.project-copy > p:not(.eyebrow) { color: var(--muted); margin-top: .7rem; }
.inline-links { display: flex; flex-wrap: wrap; gap: 0 1.3rem; }
.diagnostic .section-head > p:not(.eyebrow), .diagnostic-list p { color: #d1dfef; }
.diagnostic .button { margin-top: 1.25rem; }
.diagnostic .section-head > .microcopy { margin-top: .65rem; font-size: .9rem; }
.diagnostic-list { list-style: none; }
.diagnostic-list li { border: 1px solid var(--navy-line); padding: 1.1rem; }
.diagnostic-list li + li { border-top: 0; }
.diagnostic-list li:first-child { border-radius: .25rem .25rem 0 0; }
.diagnostic-list li:last-child { border-radius: 0 0 .25rem .25rem; }
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.2rem, 5vw, 4rem); align-items: center; }
.founder-grid img { aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: .28rem; }
.faq-list { border-top: 1px solid #aabbd0; }
.faq-list details { border-bottom: 1px solid #aabbd0; padding: .38rem 0; }
.faq-list summary { cursor: pointer; font-weight: 700; padding-block: .62rem; }
.faq-list p { color: var(--muted); margin-top: .45rem; padding-left: 1rem; }
.footer { background: var(--navy-deep); }
.footer-inner { align-items: flex-start; padding-block: 1.4rem; }
.footer-inner p { color: #d4dfed; font-size: .89rem; }
.footer nav { padding-top: .5rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .nav-cta { transition: background-color .16s, border-color .16s; }
}
@media (max-width: 61rem) {
  .problem-grid, .segment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 50rem) {
  .solution-grid { gap: .65rem; }
  .evolution-list { grid-template-columns: 1fr; }
  .evolution-list li { padding: .12rem 0 .9rem 2.9rem; }
  .evolution-list li:not(:last-child)::after { inset: 2rem auto 0 .95rem; border-top: 0; border-left: 1px solid #7c9dc5; }
}
@media (max-width: 44rem) {
  :root { --frame: min(100% - 2rem, 74rem); }
  h1 { font-size: clamp(2.15rem, 8.4vw, 3.6rem); }
  .header-inner { flex-wrap: wrap; gap: .55rem 1rem; min-height: 4.25rem; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--navy-line); }
  .nav a { padding: .62rem .2rem; }
  .nav .nav-cta { margin-top: .18rem; padding: .55rem .65rem; }
  .hero-inner, .split, .diagnostic-grid, .faq-grid, .founder-grid, .problem-grid, .segment-grid, .solution-grid, .project-grid, .method-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 22ch; font-size: clamp(2rem, 7.65vw, 3.35rem); letter-spacing: -.04em; }
  .hero .eyebrow { margin-bottom: .7rem; }
  .hero-lead { margin-top: .8rem; }
  .hero .actions { margin-top: 1rem; gap: .5rem; }
  .hero .button { padding-inline: .72rem; min-height: 2.8rem; }
  .hero-method { column-gap: .42rem; font-size: .82rem; }
  .hero-method li + li::before { margin-right: .42rem; }
  .flow-demo { padding: .85rem; }
  .flow-header h2 { font-size: 1.13rem; }
  .flow-choices { margin-top: .65rem; }
  .flow-choices span { font-size: .81rem; }
  .flow-scenario { margin-top: .75rem; }
  .flow-steps li { padding-inline: .5rem; column-gap: .45rem; }
  .flow-steps strong { font-size: .88rem; }
  .flow-detail { font-size: .8rem; }
  .footer-inner { flex-wrap: wrap; }
}
