:root {
  --bg: #08090c;
  --bg-2: #0e1015;
  --surface: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --accent: #3b9eff;
  --accent-2: #8b7bff;
  --glow-a: rgba(59, 158, 255, 0.22);
  --glow-b: rgba(139, 123, 255, 0.16);
  --nav: rgba(18, 20, 26, 0.62);
  --radius: 22px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: 10px; }
.skip:focus { left: 16px; }

/* Navigation: the one glass layer, floating above content. */
.nav {
  position: sticky; top: 14px; z-index: 50;
  width: min(var(--max), 100% - 28px); margin: 14px auto 0;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 10px 10px 20px;
  background: var(--nav);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 30px rgba(0, 0, 0, 0.25);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform .2s, background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
/* #0a6fdf keeps white label text above 4.5:1 contrast. */
.btn-primary { background: #0a6fdf; color: #fff; box-shadow: 0 8px 24px var(--glow-a); }
.btn-primary:hover { background: #0862c7; }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 80px); text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -10% -20% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(42% 38% at 50% 58%, var(--glow-a), transparent 70%),
    radial-gradient(30% 30% at 72% 40%, var(--glow-b), transparent 70%);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; color: var(--muted); font-size: 14px; font-weight: 550; letter-spacing: .02em; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.04; font-weight: 700; text-wrap: balance; }
.hero h1 { font-size: clamp(3rem, 7.2vw, 5.8rem); }
.grad { background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 55%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 640px; margin: 24px auto 0; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.actions.left { justify-content: flex-start; margin-top: 0; }
.app-icon { width: 88px; height: 88px; margin: 0 auto 24px; filter: drop-shadow(0 12px 32px var(--glow-a)); }
kbd { padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--surface); color: var(--text); font: 600 12.5px/1.5 var(--font); }
.note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

.stage { position: relative; margin: clamp(56px, 8vw, 88px) auto 0; width: min(760px, 100% - 32px); }
.wave-line { position: absolute; left: 50%; top: 18%; width: 160vw; max-width: 2200px; transform: translateX(-50%); z-index: -1; opacity: .55; pointer-events: none; }
.wave-line path { fill: none; stroke-width: 1.2; }
.shot {
  position: relative; margin: 0 auto; width: min(560px, 100%);
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 40px 120px -20px rgba(0, 0, 0, .7), 0 0 120px -30px var(--glow-a);
}


/* Sections */
section { position: relative; }
.section { padding: clamp(88px, 12vw, 150px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.section-head h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.section-head p { margin: 18px auto 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 600px; }
.kicker { display: block; margin-bottom: 14px; color: var(--accent); font-size: 14px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }

.product {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: 32px; overflow: hidden;
}
.product h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.product-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--muted); font-size: 15px; }
.product-badge img { width: 44px; height: 44px; }
.product p { color: var(--muted); font-size: 1.1rem; margin: 18px 0 30px; }
.product .shot { width: 100%; max-width: 460px; justify-self: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; margin-top: 18px; }
.card p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(88px, 11vw, 140px); }
.feature.flip > :first-child { order: 2; }
.feature h3 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.feature p { color: var(--muted); font-size: 1.12rem; margin: 18px 0 0; }
.feature ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { position: relative; padding-left: 18px; }
.feature li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.feature .shot { width: 100%; max-width: 480px; justify-self: center; }

.statement { text-align: center; }
.statement p { max-width: 900px; margin: 0 auto; font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.22; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; color: var(--muted); }
.statement strong { color: var(--text); font-weight: 600; }

.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step, decimal-leading-zero); color: var(--accent); font: 600 14px/1 ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace; }

.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--muted); font-weight: 400; font-size: 1.5rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--muted); max-width: 700px; }

.team { text-align: center; padding: 40px 28px; }
.avatar { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: linear-gradient(135deg, #5fb4ff, #7d6bff); color: #fff; font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.aka { color: var(--muted); font-weight: 500; }
.cta { text-align: center; padding: clamp(72px, 10vw, 120px) 24px; border-radius: 36px; border: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 100%, var(--glow-a), transparent 70%), var(--bg-2); }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.cta p { color: var(--muted); font-size: 1.15rem; margin: 18px auto 0; max-width: 540px; }

.page-head { padding: clamp(72px, 10vw, 120px) 0 0; text-align: center; }

footer { margin-top: clamp(80px, 10vw, 120px); border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* Reveal on scroll, without JavaScript, where supported. */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
.hero-in > * { animation: fade .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-in > :nth-child(2) { animation-delay: .06s; }
.hero-in > :nth-child(3) { animation-delay: .12s; }
.hero-in > :nth-child(4) { animation-delay: .18s; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 900px) {
  .product, .feature { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 12px; padding-left: 16px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .wrap { width: min(var(--max), 100% - 32px); }
  .card { padding: 24px; }
}
