:root {
  --bg-a: #081527;
  --bg-b: #0C1E3A;
  --bg-deep: #050E1D;
  --card: #10233F;
  --card-2: #142A4C;
  --line: #1F3A63;
  --line-soft: #16294A;
  --ink: #FFFFFF;
  --body: #E6EDF7;
  --muted: #9FB1C9;
  --accent: #2E7CF6;
  --accent-soft: #7FB0FF;
  --accent-dark: #1E5FD6;
  --good: #37C978;
  --bad: #E06565;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background:
    radial-gradient(1100px 600px at 85% -100px, rgba(46, 124, 246, 0.12), transparent 60%),
    radial-gradient(900px 700px at -150px 40%, rgba(30, 95, 214, 0.08), transparent 55%),
    var(--bg-a);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 0.6em; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4em; }
.h2-small { font-size: 1.4rem; }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 14px;
}

.band { padding: 96px 0; position: relative; overflow: hidden; }
.band.tight { padding-top: 48px; }
.band.light { background: transparent; }
.band.dark { background: linear-gradient(180deg, var(--bg-b) 0%, rgba(12, 30, 58, 0.35) 100%); }

.lede { font-size: 1.15rem; max-width: 46em; margin-bottom: 1.6em; color: var(--body); }
p { color: var(--body); }

/* decorative parallax shapes */
.deco {
  position: absolute; pointer-events: none; opacity: 0.5;
  border: 1.5px solid rgba(127, 176, 255, 0.22);
  will-change: transform;
}
.deco-slash { width: 90px; height: 34px; transform: skewX(-28deg); border-radius: 6px; }
.deco-chev {
  width: 54px; height: 54px; border: none;
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
  background: rgba(46, 124, 246, 0.10);
}
.deco-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(127, 176, 255, 0.35); border: none; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 16, 33, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 66px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { display: block; height: 34px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--body); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.nav-links a:hover { color: var(--accent-soft); }
.sound-toggle {
  background: none; border: 1px solid var(--line); color: var(--muted);
  border-radius: 8px; width: 38px; height: 34px; cursor: pointer; font-size: 0.95rem;
  transition: color 0.15s, border-color 0.15s;
}
.sound-toggle:hover { color: var(--accent-soft); border-color: var(--accent); }

/* buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 26px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease, box-shadow 0.25s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff; font-size: 1.05rem;
  box-shadow: 0 8px 26px rgba(46, 124, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 34px rgba(46, 124, 246, 0.5); }
.btn-nav { background: linear-gradient(120deg, var(--accent), var(--accent-dark)); color: #fff; font-size: 0.9rem; padding: 9px 16px; }
.btn-nav:hover { transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent-soft); background: transparent; font-size: 0.98rem; }
.btn-outline:hover { background: rgba(46, 124, 246, 0.12); transform: translateY(-2px); }
.ghost-link { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }

/* hero */
.hero { padding: 130px 0 110px; position: relative; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; will-change: transform;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(0deg, var(--bg-a) 0%, rgba(8, 21, 39, 0) 30%),
    linear-gradient(90deg, rgba(8, 21, 39, 0.95) 0%, rgba(8, 21, 39, 0.7) 48%, rgba(8, 21, 39, 0.35) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-copy { max-width: 46em; will-change: transform; }
.hero h1 { max-width: 17em; text-shadow: 0 2px 24px rgba(2, 8, 18, 0.6); }
.hero .sub { font-size: 1.2rem; max-width: 42em; margin-top: 22px; color: #E8EEF8; text-shadow: 0 1px 14px rgba(2, 8, 18, 0.55); }
.microtrust { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }

.stat-strip { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 60px; padding-top: 34px; border-top: 1px solid rgba(127, 176, 255, 0.18); }
.stat { display: flex; flex-direction: column; gap: 6px; min-width: 180px; flex: 1; }
.stat-n {
  font-size: 2.5rem; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
}
.stat-l { font-size: 0.82rem; color: var(--muted); max-width: 24em; letter-spacing: 0.08em; text-transform: uppercase; }

/* cards + grids */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 12px; }
.card {
  background: linear-gradient(180deg, var(--card) 0%, rgba(16, 35, 63, 0.6) 100%);
  border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(46, 124, 246, 0.55);
  box-shadow: 0 18px 44px rgba(2, 10, 24, 0.55), 0 0 0 1px rgba(46, 124, 246, 0.25);
}
.card p { font-size: 0.98rem; }
.dark-cards .card { background: linear-gradient(180deg, var(--card-2) 0%, rgba(20, 42, 76, 0.55) 100%); }

.card-icon, .step-icon {
  display: block; background: #fff; border-radius: 14px;
  border: 1px solid rgba(127, 176, 255, 0.35);
  box-shadow: 0 6px 18px rgba(2, 10, 24, 0.45);
}
.card-icon { width: 64px; height: 64px; padding: 5px; margin-bottom: 16px; }
.step-icon { width: 56px; height: 56px; padding: 4px; margin-bottom: 12px; }
.wl-icon { width: 58px; height: 58px; display: block; margin-bottom: 14px; filter: drop-shadow(0 6px 14px rgba(2, 10, 24, 0.6)); }

/* compare table */
.table-scroll { overflow-x: auto; }
.compare {
  width: 100%; min-width: 560px; border-collapse: collapse;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 0.98rem; font-weight: 400; color: var(--body); }
.compare thead th, .compare tbody th { font-weight: 700; color: var(--ink); }
.compare thead th { background: var(--bg-b); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: none; }
.compare .y { color: var(--good); font-weight: 700; }
.compare .n { color: var(--bad); font-weight: 600; }
.compare .hl { background: rgba(46, 124, 246, 0.14); }
.compare thead th.hl { color: var(--accent-soft); }

/* roadmap (how it works) */
.roadmap { position: relative; margin-top: 26px; }
.connector { position: absolute; top: 40px; left: 0; width: 100%; height: 60px; z-index: 0; pointer-events: none; }
.connector path { fill: none; stroke: rgba(127, 176, 255, 0.55); stroke-width: 2.5; stroke-dasharray: 8 7; }
.plane {
  position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;
  width: 34px; height: 34px; will-change: transform;
  filter: drop-shadow(0 4px 10px rgba(46, 124, 246, 0.6));
}
.steps { counter-reset: step; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.steps li {
  counter-increment: step; position: relative;
  background: linear-gradient(180deg, var(--card) 0%, rgba(16, 35, 63, 0.6) 100%);
  border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.steps li:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 124, 246, 0.55);
  box-shadow: 0 18px 44px rgba(2, 10, 24, 0.55);
}
.steps li::before {
  content: counter(step);
  position: absolute; top: 20px; right: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(46, 124, 246, 0.18); color: var(--accent-soft);
  border: 1px solid rgba(46, 124, 246, 0.4);
  font-weight: 800; font-size: 0.85rem; font-variant-numeric: tabular-nums;
}
.steps p { font-size: 0.95rem; }

/* case studies */
.case {
  background: linear-gradient(180deg, var(--card-2) 0%, rgba(20, 42, 76, 0.5) 100%);
  border: 1px solid var(--line); border-radius: 14px; padding: 30px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}
.case:hover { transform: translateY(-6px); border-color: rgba(46, 124, 246, 0.5); }
.case-tag { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-soft); margin-bottom: 18px; }
.case-stats { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.case .stat-n { font-size: 2.1rem; }
.case p { font-size: 0.98rem; }
.case-note { margin-top: 26px; font-size: 0.92rem; color: var(--muted); }

/* imagery */
.wl-art-wrap { margin: 8px 0 30px; will-change: transform; }
.wl-art {
  width: 100%; max-width: 760px; height: auto; display: block; margin: 0 auto;
  border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 26px 60px rgba(2, 10, 24, 0.6);
}
.founder-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.founder-art-wrap {
  position: relative; padding: 10px; border-radius: 20px;
  background: linear-gradient(var(--bg-a), var(--bg-a)) padding-box,
    linear-gradient(135deg, var(--accent) 0%, rgba(46, 124, 246, 0.05) 60%, var(--accent-soft) 100%) border-box;
  border: 2px solid transparent;
  will-change: transform;
}
.founder-art { width: 100%; max-width: 420px; height: auto; display: block; border-radius: 14px; }
.network-banner {
  width: 100%; height: auto; display: block; margin-top: 30px;
  border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(2, 10, 24, 0.55);
  will-change: transform;
}

/* pricing */
.price-card {
  position: relative; border-radius: 18px; padding: 42px; margin-top: 8px;
  background: linear-gradient(180deg, var(--card) 0%, rgba(16, 35, 63, 0.7) 100%) padding-box,
    linear-gradient(120deg, var(--accent) 0%, rgba(46, 124, 246, 0.1) 45%, var(--accent-soft) 100%) border-box;
  border: 2px solid transparent;
  box-shadow: 0 28px 70px rgba(2, 10, 24, 0.5);
}
.price-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 26px; }
.price { display: flex; flex-direction: column; gap: 6px; }
.price .stat-n { color: #fff; font-size: 2.6rem; }
.price-note { font-size: 0.97rem; max-width: 56em; margin-bottom: 14px; }
.price-card .btn { margin-top: 10px; }

/* lists */
.ticks, .crosses { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.ticks li::before { content: "✓"; color: var(--good); font-weight: 800; margin-right: 10px; }
.crosses li::before { content: "✕"; color: var(--bad); font-weight: 800; margin-right: 10px; }

/* faq */
details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 10px;
  transition: border-color 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
details:hover { border-color: rgba(46, 124, 246, 0.5); }
details[open] { border-color: rgba(46, 124, 246, 0.6); }
summary { font-weight: 700; cursor: pointer; font-size: 1.02rem; color: var(--ink); }
details p { margin-top: 12px; font-size: 0.97rem; max-width: 60em; }

/* brand marquee */
.brands { padding: 36px 0 26px; }
.marquee-label {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 16px; padding-right: 16px; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(16, 35, 63, 0.6);
  color: var(--body); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.05em;
  white-space: nowrap;
}
.brand-chip img { filter: grayscale(1) brightness(1.75); opacity: 0.9; border-radius: 6px; }
.brand-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 6px;
  background: rgba(127, 176, 255, 0.18); color: var(--accent-soft);
  font-size: 0.68rem; font-weight: 800;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* dividers */
.divider { background: transparent; display: flex; justify-content: center; padding: 6px 24px; }
.divider svg { width: min(420px, 70%); height: 14px; display: block; }
.divider line { stroke: var(--line); }
.divider circle { fill: var(--accent); }

/* final cta */
.final { text-align: left; }
#book { margin-top: 10px; }

/* wave + footer */
.wave-wrap { position: relative; height: 90px; overflow: hidden; background: transparent; }
.wave-wrap svg { position: absolute; left: 0; width: 200%; height: 100%; }
.wave-a { animation: wave-slide 26s linear infinite; opacity: 0.5; }
.wave-b { animation: wave-slide 40s linear infinite reverse; opacity: 0.3; }
@keyframes wave-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.footer { background: var(--bg-deep); color: var(--muted); padding: 46px 0; font-size: 0.92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-logo { height: 40px; width: auto; display: block; margin-bottom: 10px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer a { color: var(--body); text-decoration: none; }
.footer a:hover { color: #fff; }

/* scroll-motion utilities (activated only when JS adds .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(26px) scale(0.98); transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js [data-slide] { will-change: transform, opacity; }

@media print {
  body { background: #fff !important; color: #111; }
  .band, .band.dark, .band.light, .hero, .footer { background: #fff !important; }
  h1, h2, h3, summary, .stat-n, .price .stat-n { color: #111 !important; text-shadow: none !important; }
  p, .lede, .sub, td, th, details p, .stat-l, .microtrust, .case-note, .price-note, .footer, .footer a { color: #222 !important; }
  .eyebrow, .case-tag { color: #555 !important; }
  .card, .case, .steps li, details, .price-card, .compare, .founder-art-wrap {
    background: #fff !important; border: 1px solid #ccc !important; box-shadow: none !important;
  }
  .compare thead th, .compare .hl { background: #f2f2f2 !important; }
  .compare .y { color: #1F8A4C !important; }
  .compare .n { color: #B23B3B !important; }
  .btn { background: #fff !important; color: #111 !important; border: 1px solid #999 !important; box-shadow: none !important; }
  .footer-logo { filter: none !important; }
  .js .reveal, .js [data-slide] { opacity: 1 !important; transform: none !important; }
  .hero-video, .hero-shade, .wave-wrap, .sound-toggle, .plane, .connector, .deco, .brands { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video, .plane, .sound-toggle { display: none; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .marquee-group[aria-hidden] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .js .reveal, .js [data-slide] { opacity: 1 !important; transform: none !important; transition: none; }
  .card, .card:hover, .steps li, .steps li:hover, .case, .case:hover { transform: none; transition: none; }
  .wave-a, .wave-b { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .band { padding: 64px 0; }
  .hero { padding: 84px 0 68px; }
  .grid3, .grid2, .steps, .price-row, .founder-grid { grid-template-columns: 1fr; }
  .stat-strip { gap: 24px; }
  .nav-links { display: none; }
  .founder-art { max-width: 320px; }
  .connector, .plane { display: none; }
  .deco { display: none; }
}

@media (max-width: 480px) {
  .nav-inner { gap: 10px; height: 58px; }
  .nav-logo img { height: 24px; }
  .btn-nav { padding: 8px 11px; font-size: 0.8rem; }
  .wrap { padding: 0 16px; }
  [id] { scroll-margin-top: 72px; }
}

@media (max-width: 400px) {
  .sound-toggle { display: none; }
}
