/* ============================================================
 * ARCON — Main Stylesheet
 * Served by webhull (ghcr.io/layer87-labs/webhull)
 * Design System: "The Neon Monolith" — Cosmic Void + Electric Cyan
 * ============================================================ */

/* ─── Fonts (self-hosted, CSP-compliant) ──────────────────────── */
/* Manrope variable — 200..800 */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/manrope-xn7gYHE41ni1AdIRggqxSuXd.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/manrope-xn7gYHE41ni1AdIRggOxSuXd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/manrope-xn7gYHE41ni1AdIRggSxSuXd.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/manrope-xn7gYHE41ni1AdIRggixSuXd.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/manrope-xn7gYHE41ni1AdIRggmxSuXd.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/manrope-xn7gYHE41ni1AdIRggexSg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Space Grotesk variable — 300..700 */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/static/fonts/space-grotesk-V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/static/fonts/space-grotesk-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/static/fonts/space-grotesk-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Surface stack — Cosmic Void */
  --bg:          #080f18;
  --bg-1:        #0c141e;
  --bg-2:        #17202c;
  --bg-card:     #121a25;

  /* Primary — Electric Cyan */
  --primary:      #81ecff;
  --primary-dim:  rgba(129, 236, 255, .10);
  --primary-glow: rgba(129, 236, 255, .25);

  /* Secondary — Amber Signal */
  --amber:     #f4a237;
  --amber-dim: rgba(244, 162, 55, .12);

  /* Tertiary — Stellar White */
  --tertiary:     #f3faff;
  --tertiary-dim: #d1dfe6;

  /* Functional */
  --green:     #4ade80;
  --green-dim: rgba(74, 222, 128, .10);

  /* Text */
  --fg:       #e8eefc;
  --fg-muted: #a5abb8;
  --fg-dim:   #6f7682;

  /* Borders */
  --border:       rgba(66, 72, 83, .15);
  --border-solid: #424853;
  --border-hi:    rgba(129, 236, 255, .20);

  /* Geometry */
  --radius:     .5rem;
  --radius-btn: 2px;

  /* Layout */
  --max-width: 1100px;
  --nav-height: 64px;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  scrollbar-width: thin;
  scrollbar-color: #1d2634 var(--bg);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dot-grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(66, 72, 83, .60) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .18;
  pointer-events: none;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--tertiary);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.022em;
  color: var(--tertiary);
}

h3 {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 600;
  line-height: 1.35;
}

p { color: var(--fg-muted); max-width: 62ch; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; }

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5vw;
  position: relative;
  z-index: 1;
}

section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  z-index: 1;
}

/* ─── webhull: Hide theme toggle (ARCON is dark-only) ──────── */
.theme-toggle { display: none !important; }

/* ─── webhull: content-page wrapper (webhull wraps in .content-page > .container) */
.content-page > .container {
  padding: 0;
  max-width: 100%;
}

/* ─── webhull: Header/Nav Override ─────────────────────────── */
/* webhull renders .nav and .nav-container — we style them ARCON-dark */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
  height: var(--nav-height);
}

.nav.scrolled {
  background: rgba(8, 15, 24, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(66, 72, 83, .20);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5vw;
}

/* Logo image (the SVG icon mark) */
.logo-img {
  height: 28px;
  width: auto;
}

/* Site name next to logo */
.nav .logo,
.nav .logo-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--primary);
  text-shadow: 0 0 12px rgba(129, 236, 255, .35);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243, 250, 255, .60);
  transition: color .25s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

/* Last nav link ("Early Access") styled as CTA button */
.nav-links li:last-child a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .5rem 1.3rem;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: #005762;
  border: none;
  transition: box-shadow .2s, transform .15s;
  white-space: nowrap;
}

.nav-links li:last-child a:hover {
  box-shadow: 0 0 16px rgba(129, 236, 255, .45);
  transform: translateY(-1px);
  color: #005762;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ─── webhull: Footer Override ──────────────────────────────── */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  padding-block: 3rem 1.5rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 2rem 3rem;
  padding-bottom: 2rem;
}
@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-content { grid-template-columns: 1fr; }
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}

.footer-section a {
  font-size: .85rem;
  color: var(--fg-muted);
  transition: color .2s;
}

.footer-section a:hover {
  color: var(--fg);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.footer-bottom p {
  font-size: .8rem;
  color: var(--fg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .85rem 2.1rem;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: #005762;
  border: none;
  cursor: pointer;
  transition: box-shadow .2s, transform .15s;
  text-decoration: none;
}

.btn-primary:hover {
  box-shadow: 0 0 22px rgba(129, 236, 255, .50);
  transform: translateY(-1px);
  color: #005762;
}

.btn-primary:active { transform: scale(.96); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .85rem 2.1rem;
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(129, 236, 255, .25);
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}

.btn-ghost:hover {
  background: rgba(129, 236, 255, .07);
  border-color: rgba(129, 236, 255, .50);
  box-shadow: 0 0 16px rgba(129, 236, 255, .15);
  transform: translateY(-1px);
  color: var(--primary);
}

.btn-ghost:active { transform: scale(.96); }

/* ─── Section Label ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(129, 236, 255, .30);
}

/* ─── Divider ───────────────────────────────────────────────── */
.divider {
  width: 3rem;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 0;
  margin: .8rem 0 1.4rem;
}

/* ─── Hero ──────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
}

.hero-inner { max-width: 760px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(29, 38, 52, .80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(66, 72, 83, .25);
  border-radius: var(--radius-btn);
  padding: .45rem 1rem;
  margin-bottom: 1.8rem;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: .5; }
}

h1 .hi       { color: var(--primary); }
h1 .hi-amber { color: var(--amber); }

.hero-sub {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 56ch;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-social-proof {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.proof-avatars { display: flex; }

.proof-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--bg-2);
  margin-left: -10px;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  color: var(--fg-muted);
}

.proof-avatar:first-child { margin-left: 0; }
.proof-avatar.a1 { background: rgba(129, 236, 255, .14); color: var(--primary); }
.proof-avatar.a2 { background: rgba(244, 162, 55, .14);  color: var(--amber); }
.proof-avatar.a3 { background: rgba(74, 222, 128, .14);  color: var(--green); }
.proof-avatar.a4 { background: rgba(167, 139, 250, .14); color: #a78bfa; }

.proof-text { font-size: .85rem; color: var(--fg-muted); }
.proof-text strong { color: var(--fg); font-family: 'Space Grotesk', sans-serif; font-weight: 600; }

/* ─── Hero Diagram ──────────────────────────────────────────── */
.hero-diagram {
  margin-top: 5rem;
  background: #121a25;
  border: 1px solid rgba(66, 72, 83, .22);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .75), 0 0 50px rgba(129, 236, 255, .06);
}

.diagram-topbar {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.2rem;
  border-bottom: 1px solid rgba(66, 72, 83, .22);
  background: #0c141e;
}

.diagram-dot { width: 10px; height: 10px; border-radius: 50%; }
.diagram-dot.red   { background: #ff5f56; }
.diagram-dot.amber { background: #ffbd2e; }
.diagram-dot.green { background: #27c93f; }

.diagram-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-left: .3rem;
}

.diagram-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(66, 72, 83, .22);
}

.diagram-col { background: #121a25; padding: 1.4rem; }

.diagram-col-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1rem;
}

.diagram-artifact {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .65rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(66, 72, 83, .22);
  margin-bottom: .4rem;
  font-size: .78rem;
  color: var(--fg-muted);
  background: #0c141e;
  transition: border-color .2s;
}

.diagram-artifact:hover { border-color: rgba(129, 236, 255, .25); }

.artifact-icon {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-btn);
  display: grid;
  place-items: center;
  font-size: .7rem;
  flex-shrink: 0;
}

.artifact-icon.blue   { background: var(--primary-dim); color: var(--primary); }
.artifact-icon.amber  { background: var(--amber-dim);   color: var(--amber); }
.artifact-icon.green  { background: var(--green-dim);   color: var(--green); }
.artifact-icon.purple { background: rgba(167, 139, 250, .12); color: #a78bfa; }

.diagram-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 0;
  color: var(--fg-dim);
  font-size: .9rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .6rem .65rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(66, 72, 83, .22);
  margin-bottom: .4rem;
  font-size: .8rem;
  background: #0c141e;
}

.check-status {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: 2px;
  display: grid;
  place-items: center;
  font-size: .6rem;
}

.check-status.pass { background: var(--green-dim); color: var(--green); }
.check-status.fail { background: rgba(255, 107, 107, .12); color: #ff6b6b; }
.check-status.warn { background: var(--amber-dim); color: var(--amber); }

.check-label { color: var(--fg-muted); line-height: 1.4; }
.check-label strong { color: var(--fg); font-size: .75rem; }

/* ─── Product Section ───────────────────────────────────────── */
#product {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(66, 72, 83, .25);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3.5rem;
  border: 1px solid rgba(66, 72, 83, .22);
}

.product-feature {
  background: var(--bg-card);
  padding: 2rem;
  transition: background .2s, box-shadow .2s;
}

.product-feature:hover {
  background: var(--bg-2);
  box-shadow: inset 0 0 40px rgba(129, 236, 255, .04);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(66, 72, 83, .30);
}

.feature-icon.blue  { background: var(--primary-dim); }
.feature-icon.amber { background: var(--amber-dim); }
.feature-icon.green { background: var(--green-dim); }

.product-feature h3 { margin-bottom: .5rem; }
.product-feature p,
.step-content p,
.use-case-card p { font-size: .9rem; font-weight: 400; }

/* ─── How It Works ──────────────────────────────────────────── */
#magic { border-bottom: 1px solid var(--border); }

.magic-header { text-align: center; margin-bottom: 5rem; }
.magic-header p { margin: 1rem auto 0; font-size: 1.05rem; }

.magic-steps { display: flex; flex-direction: column; gap: 0; position: relative; }

.magic-steps::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 52px;
  bottom: 52px;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary), var(--border));
  opacity: .5;
}

.magic-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.magic-step:last-child { border-bottom: none; }
.magic-step.visible { opacity: 1; transform: none; }

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: var(--bg);
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content { padding-top: .7rem; }
.step-content h3 { margin-bottom: .6rem; font-size: 1.18rem; }

.step-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }

.step-tag {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(66, 72, 83, .25);
  color: var(--fg-muted);
  background: rgba(12, 20, 30, .60);
}

.step-tag.primary {
  border-color: rgba(129, 236, 255, .30);
  color: var(--primary);
  background: rgba(129, 236, 255, .07);
}

.step-quote {
  margin-top: .9rem;
  padding: .7rem .95rem;
  background: rgba(129, 236, 255, .04);
  border-left: 2px solid rgba(129, 236, 255, .22);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  font-style: italic;
  font-size: .88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── Use Cases ─────────────────────────────────────────────── */
#use-cases {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.use-case-card {
  background: rgba(18, 26, 37, .70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(66, 72, 83, .20);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: border-color .3s, transform .2s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.use-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0;
  transition: opacity .3s;
}

.use-case-card.blue::before  { background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.use-case-card.amber::before { background: linear-gradient(90deg, transparent, var(--amber), transparent); }

.use-case-card:hover {
  border-color: rgba(129, 236, 255, .22);
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(129, 236, 255, .07);
}

.use-case-card:hover::before { opacity: 1; }

.use-case-card h3 { margin-bottom: .7rem; font-size: 1.12rem; }

.use-case-integrations { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; }

.integration-badge {
  font-size: .60rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: rgba(8, 15, 24, .50);
  border: 1px solid rgba(66, 72, 83, .22);
  border-radius: var(--radius-btn);
  padding: .2rem .6rem;
}

/* ─── Benefits ──────────────────────────────────────────────── */
#benefits { border-bottom: 1px solid var(--border); }

.benefits-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.roi-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -.02em;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.metric-card {
  background: rgba(18, 26, 37, .70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(66, 72, 83, .20);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, border-color .3s;
}

.metric-card.visible { opacity: 1; transform: none; }

.metric-card.visible:hover {
  border-color: rgba(129, 236, 255, .22);
  box-shadow: 0 0 35px rgba(129, 236, 255, .08);
}

.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -.04em;
}

.metric-value.primary { color: var(--primary); }
.metric-value.amber   { color: var(--amber); }
.metric-value.green   { color: var(--green); }
.metric-label { font-size: .88rem; color: var(--fg-muted); line-height: 1.5; }

/* ─── Early Access / Growth ─────────────────────────────────── */
#growth {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.growth-inner { max-width: 600px; margin: 0 auto; }
.growth-inner h2 { margin-bottom: 1rem; }
.growth-inner p  { margin: 0 auto; max-width: 52ch; font-size: 1.05rem; }

.waitlist-counter {
  margin: 3rem 0;
  background: rgba(18, 26, 37, .70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(66, 72, 83, .22);
  border-radius: var(--radius);
  padding: 2rem;
}

.counter-track {
  height: 3px;
  background: #1d2634;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 1rem;
}

.counter-fill {
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg, #81ecff, #00e3fd);
  width: 0;
  transition: width 1.6s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 0 8px rgba(129, 236, 255, .60);
}

.counter-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}

.counter-count {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

.counter-count span { color: var(--primary); }
.counter-goal { color: var(--fg-muted); }

.waitlist-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.waitlist-note { font-size: .8rem; color: var(--fg-muted); }

/* ─── Team ──────────────────────────────────────────────────── */
#team { border-bottom: 1px solid var(--border); }

.team-header { text-align: center; margin-bottom: 3.5rem; }
.team-header p { margin: 1rem auto 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.team-card {
  background: rgba(18, 26, 37, .70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(66, 72, 83, .20);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.5rem;
  text-align: center;
  transition: border-color .3s, transform .2s, box-shadow .3s;
}

.team-card:hover {
  border-color: rgba(129, 236, 255, .20);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(129, 236, 255, .06);
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  background: rgba(29, 38, 52, .80);
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  border: 1px solid rgba(66, 72, 83, .30);
}

.avatar-c1 { background: rgba(129, 236, 255, .12); color: var(--primary); border-color: rgba(129, 236, 255, .28); }
.avatar-c2 { background: rgba(244, 162, 55, .12);  color: var(--amber);   border-color: rgba(244, 162, 55, .28); }

.team-name { font-family: 'Space Grotesk', sans-serif; font-size: .97rem; font-weight: 600; margin-bottom: .2rem; }
.team-role { font-size: .82rem; color: var(--fg-muted); }

/* ─── CTA Bottom ────────────────────────────────────────────── */
#cta-bottom {
  text-align: center;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}

#cta-bottom h2 { margin-bottom: 1rem; }
#cta-bottom p  { margin: 0 auto 2.5rem; font-size: 1.05rem; }

/* ─── Legal Pages ───────────────────────────────────────────── */
.legal-page {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 6rem;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 2rem 0 .5rem;
}

.legal-page h3 {
  font-size: 1rem;
  color: var(--fg);
  margin: 1.2rem 0 .4rem;
}

.legal-page p {
  margin-bottom: 1rem;
  max-width: 72ch;
  font-weight: 400;
  font-size: .95rem;
}

.legal-page a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Reveal Animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible { opacity: 1; transform: none; }

/* ─── Focus Visible ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-btn);
}

.btn-primary:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(129, 236, 255, .18);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .product-grid      { grid-template-columns: 1fr; }
  .use-cases-grid    { grid-template-columns: 1fr; }
  .metrics-grid      { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: 1fr 1fr; }
  .diagram-body      { grid-template-columns: 1fr; gap: 1px; }
  .magic-steps::before { display: none; }
  .hero-actions      { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .team-grid         { grid-template-columns: 1fr; }
  .benefits-header   { flex-direction: column; align-items: flex-start; }
}

/* ─── Reduced Motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .magic-step, .metric-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .counter-fill { transition: none !important; }
}
