/* Tokens, reset, typography, layout primitives, buttons */
:root {
  --bg: #05080F;
  --bg-2: #070C17;
  --panel: #0B1220;
  --panel-2: #0F1829;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .12);
  --text: #FFFFFF;
  --muted: #A9B6C9;
  --dim: #6E7D93;
  --blue: #0066FF;
  --blue-2: #0B4FD6;
  --cyan: #38BDF8;
  --violet: #7C7BF5;
  --teal: #2DD4BF;
  --good: #2DD4BF;
  --bad: #F87171;
  --grad: linear-gradient(135deg, #2B7BFF 0%, #0066FF 45%, #0B4FD6 100%);
  --r-sm: 14px;
  --r: 18px;
  --r-lg: 24px;
  --max: 1150px;
  --gutter: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font: 400 16px/1.6 var(--font);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, figure { margin: 0; }

h1, h2, h3, h4 { text-wrap: balance; color: var(--text); margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
h1 { font-size: clamp(42px, 6.3vw, 86px); letter-spacing: -.048em; line-height: .98; font-weight: 900; }
h2 { font-size: clamp(34px, 4.5vw, 58px); letter-spacing: -.042em; line-height: 1.02; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
strong { color: var(--text); font-weight: 600; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 11vw, 140px) 0; }
.section--tight { padding-top: clamp(48px, 6vw, 72px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 76px); }
.section-head h2 { margin-top: 18px; }
.section-head .lede { margin-top: 22px; font-size: 18px; max-width: 640px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--center .eyebrow::after { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.grad-text {
  background: linear-gradient(92deg, #FFFFFF 0%, #B9D3FF 40%, #3D8BFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }
.mono-num { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.btn-primary {
  color: #fff; background: var(--grad);
  box-shadow: 0 0 0 1px rgba(120, 170, 255, .35) inset, 0 12px 40px -12px rgba(0, 102, 255, .8);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(150, 190, 255, .5) inset, 0 18px 50px -12px rgba(0, 102, 255, .95); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .03); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-arrow { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.btn:focus-visible { border-radius: 999px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--blue); color: #fff; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.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; }
.noscript { padding: 40px 24px; text-align: center; }

/* Scroll reveal: opacity + transform only, so nothing shifts layout */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .section-head .lede { font-size: 16.5px; }
  .btn { height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
