:root {
  --bg: #0a0e1c;
  --bg-elev: rgba(255, 255, 255, 0.045);
  --bg-elev-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8eaf4;
  --text-dim: #9aa2c0;
  --text-faint: #6c7599;
  --indigo: #818cf8;
  --indigo-solid: #6366f1;
  --emerald: #34d399;
  --cyan: #22d3ee;
  --amber: #fbbf24;
  --radius: 16px;
  --maxw: 1080px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fc;
    --bg-elev: #ffffff;
    --bg-elev-2: #ffffff;
    --border: rgba(15, 23, 42, 0.1);
    --text: #10152b;
    --text-dim: #4a5378;
    --text-faint: #6b7499;
    --indigo: #4f46e5;
    --indigo-solid: #4f46e5;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(99, 102, 241, 0.20), transparent 65%),
    radial-gradient(700px 460px at 8% 4%, rgba(34, 211, 238, 0.10), transparent 62%);
}

@media (prefers-color-scheme: light) {
  body::before {
    background:
      radial-gradient(900px 500px at 78% -8%, rgba(99, 102, 241, 0.13), transparent 65%),
      radial-gradient(700px 460px at 8% 4%, rgba(34, 211, 238, 0.09), transparent 62%);
  }
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14.5px;
  align-items: center;
}
.nav-links a { color: var(--text-dim); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
  padding: 56px 0 76px;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 32px 0 56px; }
}

.hero-icon {
  width: 84px;
  height: 84px;
  border-radius: 19px;
  margin-bottom: 26px;
  box-shadow: 0 14px 44px rgba(67, 56, 202, 0.42);
}

h1 {
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  margin: 0 0 18px;
  font-weight: 700;
}

.lede {
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--text-dim);
  margin: 0 0 30px;
  max-width: 54ch;
}

.pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }

.pill {
  font-size: 13px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text-dim);
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-dim);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 10px 17px;
  border-radius: 999px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18);
  flex: none;
}

.hero-shot {
  justify-self: center;
  width: 100%;
  max-width: 340px;
}
.hero-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
}
@media (prefers-color-scheme: light) {
  .hero-shot img { box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22); }
}

/* Sections */
section { padding: 60px 0; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 680;
}

.section-lede {
  color: var(--text-dim);
  max-width: 62ch;
  margin: 0 0 38px;
  font-size: 16.5px;
}

/* Cards */
.grid {
  display: grid;
  /* 228px keeps all four connector cards on one row at the 1032px content width. */
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 16px;
}

.grid-split { grid-template-columns: 1.15fr 1fr; align-items: start; }
@media (max-width: 780px) {
  .grid-split { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
@media (prefers-color-scheme: light) {
  .card { box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05); }
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 640;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.8px;
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.22);
}
.card-icon svg { width: 19px; height: 19px; stroke: var(--indigo); fill: none; stroke-width: 1.9; }

/* Shots */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: 22px;
}
.shot figure { margin: 0; }
.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}
@media (prefers-color-scheme: light) {
  .shot img { box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14); }
}
.shot figcaption {
  margin-top: 13px;
  font-size: 13.5px;
  color: var(--text-faint);
  text-align: center;
}

/* Boundary / note */
.note {
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.07);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.note h3 {
  margin: 0 0 10px;
  font-size: 17.5px;
  color: var(--amber);
  font-weight: 640;
}
.note p { margin: 0 0 12px; color: var(--text-dim); font-size: 15px; }
.note p:last-child { margin-bottom: 0; }

/* List */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-dim);
  font-size: 15.2px;
}
.checks svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 3px;
  stroke: var(--emerald);
  fill: none;
  stroke-width: 2.2;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 34px 0 52px;
  color: var(--text-faint);
  font-size: 14px;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--text-dim); }

/* Legal document */
.doc { padding: 40px 0 20px; max-width: 74ch; }
.doc h1 { font-size: clamp(30px, 4.4vw, 40px); margin-bottom: 10px; }
.doc .updated { color: var(--text-faint); font-size: 14.5px; margin: 0 0 40px; }
.doc h2 { font-size: 21px; margin: 38px 0 12px; font-weight: 640; }
.doc p, .doc li { color: var(--text-dim); font-size: 15.6px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 9px; }
.doc strong { color: var(--text); font-weight: 620; }
.doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  padding: 1.5px 6px;
  border-radius: 5px;
  color: var(--text);
}
.doc table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14.6px;
}
.doc th:first-child, .doc td:first-child { width: 54%; }
.doc th, .doc td {
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.doc th { color: var(--text); font-weight: 620; }
.doc td { color: var(--text-dim); }
.table-scroll { overflow-x: auto; }
