@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #07070c;
  --bg-2: #0b0b14;
  --surface: rgba(20, 20, 32, 0.72);
  --surface-solid: #11111b;
  --surface-2: #1a1a28;
  --border: rgba(120, 120, 170, 0.18);
  --text: #f5f5fa;
  --dim: #9a9ab0;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --fiber: linear-gradient(90deg, var(--cyan), var(--violet));
  --radius: 18px;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(167, 139, 250, 0.10), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(34, 211, 238, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 17px/1.65 "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet); }
::selection { background: rgba(167, 139, 250, 0.35); }

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.86em;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.05em 0.35em;
}

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface-solid); color: var(--text); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.grad {
  background: var(--fiber);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3em;
}
.brand:hover { color: var(--text); }
.brand img { filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.45)); }
.nav nav { display: flex; gap: 6px; align-items: center; }
.nav nav a {
  position: relative;
  color: var(--dim);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.2s;
}
.nav nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--fiber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav nav a:hover { color: var(--text); }
.nav nav a:hover::after { transform: scaleX(1); }
.nav .nav-gh { border: 1px solid var(--border); margin-left: 8px; }
.nav .nav-gh::after { display: none; }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -64px;
  padding-top: 64px;
}
#fibers { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.hero-glow {
  position: absolute;
  width: 760px;
  height: 760px;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.16), rgba(34, 211, 238, 0.06) 45%, transparent 70%);
  filter: blur(10px);
  animation: breathe 8s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 96px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}
h1 {
  font-size: clamp(64px, 11vw, 132px);
  letter-spacing: 0.16em;
  line-height: 0.95;
  margin: 0 0 22px;
  font-weight: 700;
}
.shine {
  background: linear-gradient(100deg, #f5f5fa 0%, #f5f5fa 38%, #22d3ee 48%, #a78bfa 56%, #f5f5fa 66%, #f5f5fa 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sweep 7s var(--ease) infinite;
}
.tagline { font-size: clamp(18px, 2.1vw, 22px); color: var(--dim); max-width: 560px; margin: 0 0 32px; }
.tagline strong { color: var(--text); font-weight: 600; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.meta { color: var(--dim); font-size: 14px; margin: 22px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.win-note { color: var(--dim); font-size: 13.5px; margin: 10px 0 0; display: flex; align-items: flex-start; gap: 8px; }
.win-note svg { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: #fbbf24; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.win-note a { color: var(--cyan); }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: ping 2.2s infinite;
}

/* buttons */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(17, 17, 27, 0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); color: var(--text); border-color: rgba(167, 139, 250, 0.6); }
.button.primary {
  color: #07070c;
  border: none;
  background: linear-gradient(90deg, #22d3ee, #a78bfa, #22d3ee);
  background-size: 200% 100%;
  animation: flow 6s linear infinite;
  box-shadow: 0 10px 40px -10px rgba(34, 211, 238, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.button.primary:hover { color: #07070c; box-shadow: 0 16px 50px -10px rgba(167, 139, 250, 0.7); }
.button.primary::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: sheen 4.5s ease-in-out infinite;
}

/* loading screen demo */
.demo { justify-self: center; width: 100%; max-width: 460px; }
.demo-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 35%, #10101c, #07070c 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  isolation: isolate;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 80px -20px rgba(167, 139, 250, 0.35);
  animation: float 7s ease-in-out infinite;
}
.demo-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 0deg, #22d3ee 70deg, #a78bfa 140deg, transparent 220deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 6s linear infinite;
  z-index: -1;
}
.demo-logo { width: 84px; height: 84px; animation: glow 3.2s ease-in-out infinite; }
.demo-bar { width: 62%; height: 8px; border-radius: 8px; background: #1c1c2a; overflow: hidden; }
.demo-fill { height: 100%; width: 0%; border-radius: 8px; background: var(--fiber); box-shadow: 0 0 18px rgba(34, 211, 238, 0.6); }
.demo-text { margin: 0; font-weight: 700; letter-spacing: 0.06em; font-size: 15px; font-variant-numeric: tabular-nums; }
.demo-caption { text-align: center; color: var(--dim); font-size: 13px; margin: 16px 0 0; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: 26px; height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(245, 245, 250, 0.35);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--fiber);
  animation: wheel 1.8s ease-in-out infinite;
}

/* ---------- stats ---------- */
.stats {
  max-width: var(--max);
  margin: -24px auto 96px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 3;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(10px);
}
.stat b {
  display: block;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.1;
  background: var(--fiber);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat span { color: var(--dim); font-size: 14px; }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto 128px; padding: 0 24px; }
.section.narrow { max-width: 860px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.01em; }
.lead { color: var(--dim); font-size: 18px; margin: 0; }

/* cards with an animated gradient border on hover */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  isolation: isolate;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), #22d3ee, #a78bfa, transparent 40%, transparent 60%, #22d3ee);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.35s;
  animation: spin 4s linear infinite;
  z-index: -1;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 211, 238, 0.10), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: -1;
}
.card:hover { transform: translateY(-6px); border-color: transparent; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card h3 { margin: 18px 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--dim); }
.icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(167, 139, 250, 0.16));
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .icon svg { stroke: var(--violet); }

/* gallery */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.gallery .shot:first-child { grid-row: span 2; }
.gallery-more { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 18px; }
.gallery-more .shot { aspect-ratio: 16 / 9; }
.gallery-more .shot-label { left: 12px; bottom: 9px; font-size: 13px; white-space: nowrap; }
.shot {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s;
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 12, 0.85), transparent 45%);
  transition: opacity 0.4s;
}
.shot-label {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.shot-label::after {
  content: "⤢";
  font-size: 14px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s;
}
.shot:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, 0.55); box-shadow: 0 24px 60px -24px rgba(167, 139, 250, 0.45); }
.shot:hover img { transform: scale(1.06); filter: saturate(1.15); }
.shot:hover .shot-label::after { opacity: 1; transform: none; }

/* crash report */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: var(--fiber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.terminal {
  margin: 0;
  border-radius: var(--radius);
  background: #0b0b13;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -40px rgba(34, 211, 238, 0.35);
  overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.terminal-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2a2a3e; }
.terminal-bar span:nth-child(1) { background: #f87171; }
.terminal-bar span:nth-child(2) { background: #fbbf24; }
.terminal-bar span:nth-child(3) { background: #34d399; }
.terminal-bar em { margin-left: 10px; font-style: normal; color: var(--dim); font-size: 13px; }
.terminal pre { margin: 0; padding: 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; }
.terminal pre code { background: none; border: none; padding: 0; font-size: inherit; }
.t-dim { color: #6b6b85; }
.t-head { color: var(--violet); font-weight: 700; }
.t-key { color: var(--cyan); font-weight: 700; }
.t-acc { color: #c4b5fd; }
.terminal figcaption { padding: 12px 20px 16px; color: var(--dim); font-size: 13px; border-top: 1px solid var(--border); }

/* install */
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step h3 { margin: 2px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--dim); }
.num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #07070c;
  background: var(--fiber);
  box-shadow: 0 8px 24px -8px rgba(34, 211, 238, 0.6);
}
.launchers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.launcher {
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.05), rgba(167, 139, 250, 0.05));
  border: 1px solid var(--border);
}
.launcher b { display: block; margin-bottom: 4px; }
.launcher span { color: var(--dim); font-size: 14px; }

/* versions timeline */
.timeline { position: relative; display: flex; justify-content: space-between; gap: 6px; margin: 34px 0 30px; padding-top: 22px; flex-wrap: wrap; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 6px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #22d3ee, #a78bfa 85%, rgba(167, 139, 250, 0.25));
}
.timeline span { position: relative; font-weight: 600; font-size: 15px; }
.timeline span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -22px;
  width: 13px; height: 13px;
  margin-left: -6.5px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--cyan);
}
.timeline span:nth-child(n+5)::before { border-color: var(--violet); }
.timeline .exp { color: var(--dim); }
.timeline .exp::after { content: " (exp.)"; font-size: 12px; }

/* FAQ */
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
  transition: border-color 0.3s;
}
details[open] { border-color: rgba(167, 139, 250, 0.45); }
summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 18px 56px 18px 22px;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details p { color: var(--dim); margin: 0; padding: 0 22px 20px; animation: open 0.4s var(--ease); }

/* CTA */
.cta {
  position: relative;
  max-width: calc(var(--max) - 48px);
  margin: 0 auto 96px;
  padding: 64px 24px;
  text-align: center;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(600px 300px at 20% 0%, rgba(34, 211, 238, 0.20), transparent 60%),
              radial-gradient(600px 300px at 80% 100%, rgba(167, 139, 250, 0.25), transparent 60%),
              var(--surface-solid);
  border: 1px solid var(--border);
}
.cta h2 { margin-bottom: 8px; }
.cta p { color: var(--dim); margin: 0 0 28px; }

/* footer */
footer { border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 36px 24px 48px; color: var(--dim); font-size: 15px; }
.footer-inner .brand { margin-bottom: 14px; }
.small { font-size: 13px; }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(5, 5, 10, 0.92);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox[open] { display: flex; animation: fade 0.25s ease; }
.lightbox::backdrop { background: transparent; }
.lb-figure { margin: 0; max-width: min(1280px, 92vw); text-align: center; }
.lb-figure img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 30px 100px -20px rgba(167, 139, 250, 0.45);
  animation: zoom 0.35s var(--ease);
  touch-action: pan-y;
}
.lb-figure figcaption { margin-top: 14px; color: var(--dim); }
.lb-close, .lb-nav {
  position: absolute;
  border: 1px solid var(--border);
  background: rgba(17, 17, 27, 0.8);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  font: 600 28px/1 "Space Grotesk", sans-serif;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, transform 0.2s;
}
.lb-close:hover, .lb-nav:hover { border-color: var(--violet); transform: scale(1.06); }
.lb-close { top: 20px; right: 20px; width: 46px; height: 46px; }
.lb-nav { top: 50%; width: 54px; height: 54px; margin-top: -27px; font-size: 34px; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes sweep { 0%, 20% { background-position: 100% 0; } 70%, 100% { background-position: 0% 0; } }
@keyframes flow { to { background-position: 200% 0; } }
@keyframes sheen { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes spin { to { --angle: 360deg; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.45)); } 50% { filter: drop-shadow(0 0 26px rgba(167, 139, 250, 0.75)); } }
@keyframes breathe { 0%, 100% { opacity: 0.75; transform: translateY(-50%) scale(1); } 50% { opacity: 1; transform: translateY(-50%) scale(1.06); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom { from { opacity: 0; transform: scale(0.94); } }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .gallery-more { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
  .gallery-more .shot-label { left: 10px; bottom: 8px; font-size: 12px; white-space: nowrap; }
  .gallery-more .shot:first-child { grid-column: span 2; }
  .gallery-more .shot:first-child .shot-label { font-size: 14px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding-bottom: 110px; }
  .hero-text { text-align: center; }
  .tagline { margin-left: auto; margin-right: auto; }
  .actions, .meta, .win-note { justify-content: center; }
  .hero-glow { right: 50%; transform: translate(50%, -50%); }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .stats, .launchers { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 42px; height: 42px;
    padding: 11px 9px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(17, 17, 27, 0.7);
    cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav nav {
    position: absolute;
    top: 100%;
    left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 16px;
    background: #0b0b14;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease);
  }
  .nav nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav nav a { padding: 12px 14px; }
  .nav .nav-gh { margin-left: 0; }
  .grid, .steps, .gallery { grid-template-columns: 1fr; }
  .gallery .shot:first-child { grid-row: auto; }
  .hero-inner { padding: 24px 16px 110px; }
  .section, .stats { padding-left: 16px; padding-right: 16px; }
  .section { margin-bottom: 96px; }
  .cta { margin-left: 16px; margin-right: 16px; }
  .footer-inner, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .lb-nav { top: auto; bottom: 24px; margin-top: 0; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .button { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .stats, .launchers { grid-template-columns: 1fr; }
  h1 { letter-spacing: 0.1em; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .shine { color: var(--text); background: none; }
}
