:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-2: #0b1524;
  --surface: rgba(17, 29, 47, 0.9);
  --surface-2: rgba(14, 26, 43, 0.96);
  --surface-3: rgba(255, 255, 255, 0.03);
  --text: #ebf2fb;
  --muted: #afc0d6;
  --line: rgba(210, 227, 247, 0.12);
  --line-strong: rgba(210, 227, 247, 0.22);
  --accent: #8fe3ff;
  --accent-strong: #c6f2ff;
  --button-text: #04111b;
  --success: #9be7b4;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(70, 113, 177, 0.18), transparent 36%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { display: block; }

.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 2rem), 820px); margin: 0 auto; }
.center { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 31, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
}
.brand {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand span { color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-nav a,
.footer-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.18s ease, transform 0.18s ease;
}
.site-nav a[aria-current="page"],
.footer-nav a[aria-current="page"] {
  color: var(--text);
}
.site-nav a:hover,
.footer-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}
.cta-link,
.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.cta-link:hover,
.button:hover,
.btn:hover { transform: translateY(-1px); }
.cta-link,
.button-primary,
.btn.primary,
.button.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: var(--button-text);
}
.button-secondary,
.btn.secondary,
.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero { padding: 6rem 0 4.75rem; }
.section { padding: 5rem 0; }
.section.alt,
.section-accent,
.muted {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dark { background: rgba(8, 21, 38, 0.95); }
.final-cta { padding-bottom: 6rem; }

.hero-grid,
.two-col,
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: center;
}
.grid { display: grid; gap: 1.25rem; }
.grid.two,
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three,
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hero h1,
h2 {
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { margin: 0 0 0.72rem; font-size: 1.18rem; line-height: 1.2; }

p { margin: 0 0 1rem; color: var(--muted); }
li { color: var(--muted); }
.lead { font-size: 1.12rem; max-width: 68ch; margin-bottom: 1.4rem; }
.eyebrow,
.kicker,
.use-case-kicker,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}
.eyebrow { margin: 0 0 1rem; }
.kicker,
.use-case-kicker,
.card-label { display: block; margin-bottom: 0.8rem; }

.hero-actions,
.actions,
.contact-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.centered-actions { justify-content: center; }

.hero-points,
.badge-row,
.mini-points,
.outcome-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.badge-row,
.mini-points { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.outcome-list { padding-left: 1.15rem; list-style: disc; }

.hero-card,
.card,
.panel,
.founder-card,
.quote-card,
.contact-panel,
.metric-board {
  background: linear-gradient(180deg, rgba(18, 34, 56, 0.92) 0%, rgba(11, 24, 42, 0.96) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 1.6rem; }
.card,
.panel,
.founder-card,
.quote-card,
.contact-panel,
.metric-board { padding: 1.45rem; }

.metric + .metric {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.metric span,
.stat span {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.metric strong,
.stat strong {
  display: block;
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.45rem;
}
.card p,
.panel p,
.hero-card p,
.founder-card p,
.quote-card p,
.contact-panel p { margin-bottom: 0; color: var(--muted); }

.section-head { max-width: 72ch; margin-bottom: 1.6rem; }
.stack > * + * { margin-top: 1rem; }
.callout,
.contact-box {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-3);
}
.callout strong { color: var(--text); }
.check-list,
.plain-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
}
.check-list li::marker { color: var(--success); }

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: rgba(255, 255, 255, 0.03);
}
th, td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.04);
}

.blank-card {
  display: grid;
  place-items: center;
  min-height: 300px;
  text-align: center;
  border-style: dashed;
}
.avatar-placeholder {
  width: 96px;
  height: 96px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  margin-bottom: 1rem;
}
.blank-title { color: var(--text); font-weight: 800; margin-bottom: 0.4rem; }
.blank-copy { margin-bottom: 0; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  background: rgba(5, 11, 20, 0.45);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 1.2rem 2rem;
  align-items: start;
}
.footer-copy { max-width: 34ch; margin-top: 0.75rem; }
.footer-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  justify-content: flex-end;
}
.footer-brand { display: inline-block; }
.footer-shell { display: contents; }

.small,
.muted-note { font-size: 0.95rem; }

@media (max-width: 1024px) {
  .nav-wrap,
  .hero-grid,
  .two-col,
  .founder-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .two-up,
  .three-up,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-wrap { padding: 0.9rem 0; }
  .site-nav { justify-content: flex-start; }
  .cta-link { width: 100%; }
  .hero h1 { max-width: 16ch; }
  .hero-points { grid-template-columns: 1fr; }
  .footer-nav,
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 1.2rem), var(--max)); }
  .hero { padding-top: 4.8rem; }
  .section { padding: 4rem 0; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3.25rem); }
}
