:root {
  --navy-950: #040820;
  --navy-900: #071033;
  --navy-800: #0c1c55;
  --royal: #1b3fd0;
  --blue: #4c8dff;
  --cyan: #38e1e8;
  --sun: #ffc24b;
  --text: #eef3ff;
  --muted: #aebce4;
  --line: rgba(150, 185, 255, .2);
  --glow: linear-gradient(100deg, #38e1e8, #4c8dff 55%, #8a7dff);
  --display: Sora, "Helvetica Neue", Arial, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-950); }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(43, 91, 255, .5), transparent 65%),
    radial-gradient(900px 600px at -10% 12%, rgba(56, 225, 232, .16), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950) 900px);
  background-repeat: no-repeat;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--navy-950); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* Header */
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; padding: 20px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 15px; color: #cdd8f5; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--cyan); }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--glow); color: var(--navy-950); font-weight: 600; font-size: 16px; box-shadow: 0 10px 34px rgba(56, 160, 255, .38); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 44px rgba(56, 160, 255, .55); }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn.ghost { background: rgba(255, 255, 255, .08); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; font-size: 16px; color: var(--cyan); }
.link::after { content: "→"; transition: transform .2s; }
.link:hover::after { transform: translateX(4px); }

/* Type */
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(42px, 5.7vw, 76px); line-height: 1.05; letter-spacing: -.03em; }
h2 { font-weight: 650; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.1; letter-spacing: -.025em; }
h3 { font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.grad { background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-block; margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--cyan); }
.muted { color: var(--muted); }
.lede { font-size: 20px; line-height: 1.55; color: #d3ddf7; }
.small { font-size: 16px; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Sections */
.section { padding: 104px 0; position: relative; }
.flush { padding-top: 0; }
.band { background: radial-gradient(800px 420px at 80% 0, rgba(56, 225, 232, .22), transparent 70%), linear-gradient(135deg, #1a3ed2, #0d2185 60%, #0a1863); }
.band .muted, .band .lede { color: #d5dffa; }
.deep { background: radial-gradient(900px 500px at 15% 0, rgba(43, 91, 255, .3), transparent 70%), linear-gradient(180deg, #081338, var(--navy-950)); }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero .lede { margin-top: 24px; max-width: 580px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; margin-top: 34px; }
.page-hero { padding-top: 64px; padding-bottom: 56px; }
.page-hero .lede { margin-top: 22px; max-width: 760px; }

/* Network graphic */
.net { position: relative; }
.net svg { width: 100%; height: auto; display: block; }
.flow { stroke-dasharray: 6 12; animation: flow 1.6s linear infinite; }
.flow.slow { animation-duration: 2.4s; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.pulse { animation: pulse 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 50% { transform: scale(1.09); opacity: .75; } }
.tag { position: absolute; padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; background: rgba(12, 28, 85, .86); box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px rgba(0, 0, 0, .35); }
.tag b { display: block; font-family: var(--display); font-size: 15px; font-weight: 600; }
.tag span { color: var(--muted); font-size: 13px; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill { padding: 8px 16px; border-radius: 999px; font-size: 15px; color: #dbe4fb; background: rgba(76, 141, 255, .13); box-shadow: inset 0 0 0 1px var(--line); }

/* Grids */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 56px; align-items: center; }
.g2.tight { gap: 22px; align-items: stretch; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.gap-top { margin-top: 52px; }

/* Glass cards */
.card { padding: 28px; border-radius: 20px; background: linear-gradient(160deg, rgba(76, 141, 255, .17), rgba(12, 28, 85, .38)); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px rgba(2, 6, 30, .35); }
.card p { margin-top: 10px; }
a.card { display: block; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(56, 225, 232, .55), 0 24px 60px rgba(2, 6, 30, .5); }
.band .card { background: linear-gradient(160deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .05)); }
.icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 13px; color: var(--navy-950); background: var(--glow); }
.icon svg { width: 24px; height: 24px; }
.step-n { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--cyan); margin-bottom: 8px; display: block; }

/* Product imagery: the app's dark ground melts into the panel */
.panel { padding: 14px; border-radius: 20px; isolation: isolate; background: linear-gradient(155deg, #0f2470, #081238); box-shadow: inset 0 0 0 1px var(--line), 0 30px 70px rgba(2, 6, 30, .55), 0 0 90px rgba(43, 91, 255, .22); }
.panel img { width: 100%; border-radius: 10px; mix-blend-mode: lighten; }
.panel.stack > * + * { margin-top: 10px; }
figure { margin: 0; }
figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* Agent chat */
.chat { display: flex; flex-direction: column; gap: 12px; }
.bubble { align-self: flex-end; max-width: 88%; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: var(--glow); color: var(--navy-950); font-weight: 500; font-size: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.steps li { display: flex; gap: 10px; align-items: baseline; }
.steps li::before { content: "✓"; color: var(--cyan); font-weight: 700; }

/* CTA */
.cta { padding: 64px; border-radius: 28px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; background: radial-gradient(600px 300px at 90% 0, rgba(56, 225, 232, .45), transparent 70%), linear-gradient(120deg, #2147e6, #0f2a9c 60%, #2a1f9e); box-shadow: 0 30px 80px rgba(27, 63, 208, .4); }
.cta h2 { max-width: 700px; }

/* Footer */
footer { padding: 28px 0 44px; font-size: 15px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-links a:hover { color: var(--cyan); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 68px 0; }
  .cta { padding: 32px 24px; }
  .nav .btn { display: none; }
  .tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow, .pulse { animation: none; }
}
