:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: #a9b7cc;
  --navy: #111b2d;
  --navy-2: #17243a;
  --line: rgba(255, 255, 255, .12);
  --sky: #73c9f2;
  --trackit: #225be1;
  --fundit: #7b42dd;
  --doit: #9b7115;
  --crawlit: #c11d6f;
  --commit: #11726f;
}

* { box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }
body {
  display: grid;
  grid-template-rows: 88px minmax(0, 1fr) 58px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }
.site-header {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 22px 36px;
  background: var(--navy);
}
.brand img { display: block; width: 160px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 30px; }
.header-link {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.header-link:hover { color: var(--sky); }
.header-cta { padding: 8px 11px; border: 1px solid rgba(115, 201, 242, .45); border-radius: 3px; color: var(--sky); }

main { min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: 48px;
  align-items: center;
  min-height: 100%;
  padding: 90px max(36px, calc((100vw - 1168px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(115, 201, 242, .16), transparent 28rem),
    linear-gradient(135deg, #111b2d, #16263f 70%, #102134);
}
.hero::after {
  position: absolute;
  inset: auto -130px -230px auto;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(115, 201, 242, .18);
  border-radius: 50%;
  content: "";
}
.hero-copy, .system-map { position: relative; z-index: 1; min-width: 0; }
.eyebrow, .section-kicker {
  margin: 0 0 20px;
  color: var(--sky);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; letter-spacing: -.035em; }
h1 { max-width: 650px; margin-bottom: 28px; font-size: clamp(3.25rem, 4.4vw, 4.75rem); line-height: .98; }
.lead { max-width: 680px; margin: 0 0 38px; color: #d9e3f1; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.button {
  display: inline-block;
  padding: 14px 20px;
  border: 1px solid var(--sky);
  border-radius: 3px;
  background: var(--sky);
  color: #0f1c2f;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { background: #a7e1fb; border-color: #a7e1fb; }

.system-map {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 14, 27, .44);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .25);
}
.map-label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.map-track { display: grid; gap: 10px; margin: 24px 0; }
.map-track span { padding: 11px 14px; border-inline-start: 4px solid var(--sky); background: rgba(255, 255, 255, .06); font-weight: 750; }
.map-track b { margin-inline-start: 18px; color: var(--sky); }
.system-map p { margin-bottom: 0; color: var(--muted); }

.principle, .components, .closing {
  max-width: 1240px;
  margin: 0 auto;
  padding: 108px 36px;
  scroll-margin-top: 18px;
}
.principle h2, .section-heading h2, .closing h2 { max-width: 850px; font-size: clamp(2.35rem, 4.5vw, 4.3rem); line-height: 1.02; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 55px; background: var(--line); }
.principle-grid article { padding: 34px; background: var(--navy); }
.principle-number { color: var(--sky); font-size: .75rem; font-weight: 800; }
.principle-grid h3 { margin: 34px 0 13px; font-size: 1.25rem; }
.principle-grid p { margin: 0; color: var(--muted); }

.components { max-width: none; padding-inline: max(36px, calc((100vw - 1168px) / 2)); background: #f4f6f9; color: #101b2d; }
.section-heading { display: flex; gap: 70px; align-items: end; justify-content: space-between; max-width: 1168px; margin: 0 auto 54px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 410px; margin: 0 0 8px; color: #58667a; }
.component-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 1168px; margin: 0 auto; }
.component {
  grid-column: span 2;
  min-height: 350px;
  padding: 28px;
  border: 1px solid #dde2e9;
  border-top: 5px solid var(--component);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(21, 35, 57, .06);
}
.component:nth-child(4) { grid-column: 2 / span 2; }
.component-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.component-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--component); color: white; font-size: 1.05rem; font-weight: 900; }
.availability { color: #758196; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-align: right; text-transform: uppercase; }
.availability.live { color: var(--crawlit); }
.component h3 { margin: 35px 0 0; font-size: 2.1rem; }
.component h3 span { color: var(--component); }
.descriptor { margin: 0 0 22px; color: var(--component); font-weight: 800; }
.component > p:not(.descriptor) { color: #566477; }
.component-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: var(--component);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.component-link:hover { gap: 12px; }
.crawlit { --component: var(--crawlit); }
.doit { --component: var(--doit); }
.trackit { --component: var(--trackit); }
.fundit { --component: var(--fundit); }
.commit { --component: var(--commit); }
.component:not(.crawlit) {
  --component: #9ca4b0;
  border-color: #d6dbe2;
  background: #edf0f3;
  box-shadow: none;
  color: #727b88;
  filter: grayscale(1);
  opacity: .7;
}
.component:not(.crawlit) > p { color: #7f8792; }

.closing { text-align: center; }
.closing h2 { margin-inline: auto; }
.closing > p:last-child { max-width: 720px; margin: 28px auto 0; color: var(--muted); font-size: 1.15rem; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1168px, calc(100% - 72px));
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}
footer img { width: 120px; height: auto; }
.credit { margin-inline-start: 14px; opacity: .58; font-size: .72rem; white-space: nowrap; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 145px; }
  .principle-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 26px; }
  .component { grid-column: span 3; }
  .component:nth-child(4) { grid-column: span 3; }
  .component:last-child { grid-column: 2 / span 4; }
  footer { width: calc(100% - 72px); }
}

@media (max-width: 620px) {
  body { grid-template-rows: 74px minmax(0, 1fr) 50px; }
  .site-header { padding: 18px 22px; }
  .brand img { width: 135px; }
  .header-link:not(.header-cta) { display: none; }
  .header-nav { gap: 0; }
  .header-cta { font-size: .67rem; }
  .hero { min-height: auto; padding: 78px 22px; }
  h1 { font-size: 3.45rem; }
  .system-map { padding: 22px; }
  .principle, .components, .closing { padding: 78px 22px; }
  .principle-grid article { padding: 28px; }
  .component-grid { display: block; }
  .component { min-height: 0; margin-bottom: 16px; }
  footer { width: calc(100% - 44px); }
  footer img { width: 94px; }
  footer p { font-size: .64rem; }
  .credit { display: block; margin: 2px 0 0; text-align: right; }
}

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