/* ════════════════════════════════════════════════════════════════
   YETI CLOUD — shared design tokens  ❄
   ════════════════════════════════════════════════════════════════ */
:root {
  /* palette */
  --ice-50:  #eaf7ff;
  --ice-100: #cfeeff;
  --ice-200: #a5e0ff;
  --ice-300: #6fd3ff;
  --ice-400: #38bdf8;
  --ice-500: #22d3ee;
  --navy-900:#050a14;
  --navy-800:#0b1220;
  --navy-700:#101a2e;
  --navy-600:#16223a;
  --line:    rgba(148, 205, 255, .14);
  --text:    #e8f4ff;
  --muted:   #8fa9c9;
  --danger:  #f87171;
  --warn:    #fbbf24;
  --success: #34d399;

  /* type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;

  /* surface language */
  --glass: rgba(16, 26, 46, .62);
  --glass-hi: rgba(56, 189, 248, .08);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(2, 8, 20, .55);
  --glow: 0 0 40px rgba(56, 189, 248, .18);

  --grad-hero: linear-gradient(100deg, #74daff 0%, #38bdf8 35%, #22d3ee 65%, #8de8ff 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(56,189,248,.35); }

a { color: var(--ice-300); text-decoration: none; }
button { font-family: inherit; }

/* glass card — the core surface */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: all .25s cubic-bezier(.2,.8,.2,1);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--grad-hero); color: #04121f;
  box-shadow: 0 8px 28px rgba(56,189,248,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(56,189,248,.5); }
.btn-ghost {
  background: rgba(56,189,248,.07); color: var(--ice-200);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(56,189,248,.14); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* section headers */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ice-300); font-weight: 700;
}
.kicker::before { content: '❄'; font-size: 11px; opacity: .9; }
.h2 {
  font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -.03em;
  margin: 14px 0 12px; line-height: 1.08;
}
.sub { color: var(--muted); font-size: 16.5px; max-width: 620px; line-height: 1.65; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: all .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* landing snow canvas + aurora bg shared */
#snow {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
}
.aurora-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.aurora-bg::before, .aurora-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.aurora-bg::before {
  width: 62vw; height: 62vw; left: -18vw; top: -22vw;
  background: radial-gradient(circle, rgba(34,211,238,.35), transparent 65%);
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora-bg::after {
  width: 55vw; height: 55vw; right: -16vw; bottom: -18vw;
  background: radial-gradient(circle, rgba(56,189,248,.28), transparent 65%);
  animation: drift 32s ease-in-out infinite alternate-reverse;
}
.aurora-bg .orb {
  position: absolute; width: 26vw; height: 26vw; left: 34vw; top: 10vh;
  background: radial-gradient(circle, rgba(141,232,255,.22), transparent 70%);
  filter: blur(70px); animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(6vw, 4vh) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
