:root {
  color-scheme: light;
  --ink: #071a2f;
  --muted: #536478;
  --paper: #f5f2e9;
  --white: #fffef9;
  --blue: #1e63e9;
  --blue-light: #dbe7ff;
  --orange: #ef7a3a;
  --green: #158361;
  --line: #d8dde2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgb(245 242 233 / 92%);
  border-bottom: 1px solid rgb(7 26 47 / 10%);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand strong {
  color: var(--blue);
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 0.65rem;
  box-shadow: 0 8px 20px rgb(30 99 233 / 20%);
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  max-width: 1380px;
  min-height: 680px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 5vw clamp(5rem, 8vw, 8rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 1.8rem;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--blue);
}

.hero-intro {
  max-width: 760px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  color: #314256;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  font-size: 0.82rem;
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  background: var(--orange);
  border: 3px solid #ffd8c3;
  border-radius: 50%;
}

.principle-card {
  position: relative;
  padding: 2rem;
  color: white;
  background: var(--ink);
  border-radius: 1.5rem;
  box-shadow: 0 28px 70px rgb(7 26 47 / 20%);
}

.principle-card::before {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 3rem;
  height: 3rem;
  background: var(--orange);
  border-radius: 50%;
  content: "";
  opacity: 0.9;
}

.card-kicker {
  color: #8db3ff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

blockquote {
  position: relative;
  margin: 3rem 0 1.5rem;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.principle-card > p:last-child {
  margin-bottom: 0;
  color: #b8c5d3;
  font-size: 0.84rem;
}

.section {
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) 5vw;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading h2,
.next-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.system-card {
  min-height: 260px;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.system-card:nth-child(1),
.system-card:nth-child(2),
.system-card:nth-child(3) {
  grid-column: span 4;
}

.system-card:nth-child(4),
.system-card:nth-child(5) {
  grid-column: span 6;
}

.system-card .step {
  display: inline-block;
  margin-bottom: 4rem;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.system-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.system-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.system-card.products {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.system-card.products .step,
.system-card.products p {
  color: #dbe7ff;
}

.journey-section {
  padding: clamp(5rem, 9vw, 8rem) max(5vw, calc((100vw - 1380px) / 2 + 5vw));
  color: white;
  background: var(--ink);
}

.section-heading.light .eyebrow {
  color: #8db3ff;
}

.section-heading.light > p:last-child {
  color: #aebdcb;
}

.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0;
  list-style: none;
}

.journey li {
  position: relative;
  min-height: 220px;
  padding: 1.3rem;
  border-top: 1px solid #435369;
  border-right: 1px solid #435369;
}

.journey li:last-child {
  border-right: 0;
}

.journey li > span {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 4rem;
  place-items: center;
  color: var(--ink);
  background: var(--orange);
  border-radius: 50%;
  font-weight: 800;
}

.journey strong,
.journey small {
  display: block;
}

.journey strong {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.journey small {
  color: #aebdcb;
  line-height: 1.5;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.readiness-grid article {
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.state {
  display: inline-block;
  margin-bottom: 2.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state.ready {
  color: #0c684b;
  background: #d8f2e8;
}

.state.progress {
  color: #1754bb;
  background: var(--blue-light);
}

.state.planned {
  color: #a34b1e;
  background: #ffe3d3;
}

.readiness-grid h3 {
  font-size: 1.3rem;
}

.readiness-grid ul {
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.readiness-grid li + li {
  margin-top: 0.45rem;
}

.next-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) 5vw;
  border-top: 1px solid var(--line);
}

.next-section ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-section li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}

.next-section li span {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 5vw;
  color: #aebdcb;
  background: var(--ink);
  font-size: 0.75rem;
}

footer p {
  margin-bottom: 0;
}

.footer-brand {
  color: white;
}

@media (max-width: 900px) {
  .hero,
  .next-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .system-card:nth-child(n) {
    grid-column: span 6;
  }

  .system-card:last-child {
    grid-column: span 12;
  }

  .journey {
    grid-template-columns: 1fr;
  }

  .journey li {
    min-height: auto;
    border-right: 0;
  }

  .journey li > span {
    margin-bottom: 1.5rem;
  }

  .readiness-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
  }

  nav {
    display: none;
  }

  .hero {
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  .status-line {
    align-items: flex-start;
  }

  .status-dot {
    flex: 0 0 auto;
    margin-top: 0.3rem;
  }

  .system-grid {
    display: block;
  }

  .system-card + .system-card {
    margin-top: 0.8rem;
  }

  .system-card {
    min-height: 220px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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