@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #07070a;
  --bg-raise: #0e0f13;
  --bg-card: #111217;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #f3f3f5;
  --muted: #9b9ba8;
  --faint: #5d5d68;
  --lime: #c6f54a;
  --lime-deep: #b8f23a;
  --mint: #4fe3b2;
  --ink-on-lime: #0b0d05;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 5vw, 56px);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--ink-on-lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { width: min(860px, 100%); }

.accent {
  background: linear-gradient(100deg, var(--lime) 10%, var(--mint) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.035em; }
h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.2; font-weight: 650; letter-spacing: -0.02em; }
p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head--row { grid-template-columns: 1fr auto; align-items: end; }
.section-head__sub { color: var(--muted); }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

/* Buttons */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 7px 0 24px;
  border-radius: 999px;
  font: 600 15px/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn__icon {
  display: grid;
  place-items: center;
  width: calc(var(--h) - 14px);
  height: calc(var(--h) - 14px);
  border-radius: 50%;
  transition: transform 0.5s var(--ease);
}
.btn__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__icon { transform: translate(2px, -1px) scale(1.06); }
.btn--primary { background: var(--lime); color: var(--ink-on-lime); box-shadow: 0 18px 40px -18px rgba(198, 245, 74, 0.55); }
.btn--primary .btn__icon { background: rgba(11, 13, 5, 0.12); }
.btn--primary:hover { background: #d3fa66; }
.btn--ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.btn--ghost .btn__icon { background: rgba(255, 255, 255, 0.07); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.24); }
.btn--lg { --h: 62px; font-size: 16px; padding-left: 28px; }

/* Navigation */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 7px 7px 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14, 15, 19, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transform: translateX(-50%);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-scrolled { background: rgba(14, 15, 19, 0.82); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8); }
.nav__brand { display: flex; align-items: center; gap: 10px; padding-right: 10px; text-decoration: none; font: 700 17px/1 var(--display); letter-spacing: -0.03em; }
.nav__brand img { border-radius: 9px; }
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__cta {
  margin-left: 6px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink-on-lime);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.nav__toggle { display: none; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 96px var(--gutter);
  background: rgba(7, 7, 10, 0.86);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
.menu[hidden] { display: none; }
.menu a {
  font: 700 clamp(34px, 9vw, 52px)/1.15 var(--display);
  letter-spacing: -0.04em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(40px);
  animation: menu-in 0.7s var(--ease-out) forwards;
}
.menu a:nth-child(2) { animation-delay: 60ms; }
.menu a:nth-child(3) { animation-delay: 120ms; }
.menu a:nth-child(4) { animation-delay: 180ms; }
.menu a:nth-child(5) { animation-delay: 240ms; color: var(--lime); }
@keyframes menu-in { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .nav { left: 12px; right: 12px; width: auto; max-width: none; transform: none; justify-content: space-between; gap: 6px; padding: 6px 6px 6px 10px; }
  .nav__brand { padding-right: 0; font-size: 16px; }
  .nav__cta { padding: 10px 15px; font-size: 13.5px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
  }
  .nav__toggle span {
    position: absolute;
    left: 13px;
    width: 16px;
    height: 1.6px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.5s var(--ease), top 0.5s var(--ease);
  }
  .nav__toggle span:first-child { top: 17px; }
  .nav__toggle span:last-child { top: 24px; }
  .nav__toggle[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }
}

/* Phone frame */
.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  aspect-ratio: 720 / 1600;
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.15);
  background: linear-gradient(160deg, #2a2b33, #121318 40%, #0a0a0d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 60px 120px -40px rgba(0, 0, 0, 0.9),
    0 30px 80px -50px rgba(198, 245, 74, 0.25);
}
.phone::before {
  content: "";
  position: absolute;
  top: calc(var(--w) * 0.055);
  left: 50%;
  z-index: 2;
  width: calc(var(--w) * 0.034);
  height: calc(var(--w) * 0.034);
  border-radius: 50%;
  background: #050506;
  transform: translateX(-50%);
}
.phone__screen {
  position: absolute;
  inset: calc(var(--w) * 0.03);
  width: calc(100% - var(--w) * 0.06);
  height: calc(100% - var(--w) * 0.06);
  object-fit: cover;
  border-radius: calc(var(--w) * 0.12);
  background: #000;
}

/* Hero */
.hero { position: relative; padding: clamp(140px, 18vh, 190px) 0 clamp(80px, 10vw, 140px); overflow: hidden; overflow: clip; }
.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  background:
    radial-gradient(40% 50% at 72% 35%, rgba(198, 245, 74, 0.16), transparent 70%),
    radial-gradient(30% 40% at 85% 60%, rgba(79, 227, 178, 0.10), transparent 70%),
    radial-gradient(35% 45% at 15% 10%, rgba(120, 110, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 55% at 60% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 55% at 60% 40%, #000 0%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: 500 13px/1 var(--mono);
  text-decoration: none;
}
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198, 245, 74, 0.16); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(198, 245, 74, 0.04); } }
.hero__title { font-size: clamp(48px, 7.4vw, 96px); line-height: 0.95; font-weight: 750; letter-spacing: -0.05em; }
.hero__lede { max-width: 520px; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--faint); font: 500 12.5px/1.4 var(--mono); }
.hero__meta span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 9px; border-radius: 50%; background: var(--faint); vertical-align: middle; }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 680px; perspective: 1400px; }
.phone--hero { --w: 316px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, -8deg)) rotateZ(1.5deg); transition: transform 0.9s var(--ease-out); animation: rise 1.4s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(60px) rotateY(-18deg) rotateZ(4deg); } }
.hero__corners {
  position: absolute;
  width: 400px;
  height: 760px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 3.5;
  stroke-linecap: round;
  opacity: 0.75;
}
.hero__corners path { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1.6s var(--ease-out) forwards 0.5s; }
.hero__corners path:nth-child(2) { animation-delay: 0.62s; }
.hero__corners path:nth-child(3) { animation-delay: 0.74s; }
.hero__corners path:nth-child(4) { animation-delay: 0.86s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(20, 21, 27, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  font: 600 14px/1 var(--body);
  white-space: nowrap;
}
.float--toast { right: -6px; top: 22%; animation: toast 9.6s var(--ease) infinite; }
.float__check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); }
.float__check svg { width: 15px; height: 15px; fill: none; stroke: var(--ink-on-lime); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes toast {
  0%, 18% { opacity: 0; transform: translateY(14px) scale(0.94); }
  24%, 56% { opacity: 1; transform: none; }
  64%, 100% { opacity: 0; transform: translateY(-10px) scale(0.97); }
}
.float--chip { padding: 9px 14px; font: 500 13px/1 var(--mono); color: var(--muted); }
.float--chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.float--imgur { --c: #1bb76e; left: 2%; top: 30%; animation: bob 7s var(--ease) infinite; }
.float--s3 { --c: #ff9900; left: 8%; bottom: 20%; animation: bob 8s var(--ease) infinite -2s; }
.float--nc { --c: #0082c9; right: 4%; bottom: 12%; animation: bob 6.5s var(--ease) infinite -4s; }
@keyframes bob { 50% { transform: translateY(-14px); } }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 72px; }
  .hero__stage { min-height: 620px; }
}
@media (max-width: 520px) {
  .hero__stage { min-height: 560px; transform: scale(0.86); margin-block: -40px; }
  .float--imgur { left: -4%; }
  .float--toast { right: -8%; }
}

/* Destinations marquee */
.hosts { padding: 8px 0 40px; border-block: 1px solid var(--line); }
.hosts__label { padding: 22px var(--gutter) 6px; text-align: center; color: var(--faint); font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; padding-top: 18px; animation: slide 46s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 12px; color: #d6d6dc; font: 600 20px/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.marquee__track span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
@keyframes slide { to { transform: translateX(-50%); } }

/* How it works */
.how { padding: clamp(110px, 14vw, 180px) 0 clamp(60px, 8vw, 120px); }
.how__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.how__sticky { position: sticky; top: 110px; align-self: start; display: flex; align-items: center; gap: 28px; height: calc(100vh - 160px); max-height: 720px; }
.phone--how { --w: min(300px, 28vw); }
.phone--how .phone__screen { opacity: 0; transform: scale(1.03); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.phone--how .phone__screen.is-active { opacity: 1; transform: none; }
.how__rail { position: relative; width: 2px; height: 220px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.how__rail span { position: absolute; inset: 0 0 auto; height: 25%; border-radius: 2px; background: linear-gradient(var(--lime), var(--mint)); transition: transform 0.8s var(--ease); }
.how__steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; align-content: center; gap: 14px; min-height: 72vh; padding-block: 40px; opacity: 0.28; transition: opacity 0.6s var(--ease); }
.step.is-active { opacity: 1; }
.step__num { font: 500 13px/1 var(--mono); color: var(--lime); letter-spacing: 0.1em; }
.step h3 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.04em; }
.step p { max-width: 480px; color: var(--muted); font-size: 18px; }

@media (max-width: 860px) {
  .how__layout { grid-template-columns: 1fr; }
  .how__sticky { top: 84px; z-index: 2; justify-content: center; height: auto; padding-block: 12px 20px; background: linear-gradient(var(--bg) 85%, transparent); }
  .phone--how { --w: 150px; }
  .how__rail { display: none; }
  .step { min-height: 52vh; text-align: center; justify-items: center; }
}

/* Feature bento */
.features { padding: clamp(80px, 10vw, 140px) 0; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  padding: 6px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.card__core {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  padding: 28px;
  border-radius: 24px;
  background: var(--bg-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.card__core p { color: var(--muted); font-size: 15.5px; }
.card--wide { grid-column: span 2; }
.card--tall { grid-row: span 2; }
.card__core--split { grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: center; }
.card__shot { margin: 18px -28px -28px; padding: 0 28px; display: flex; justify-content: center; height: 330px; overflow: hidden; align-items: flex-start; }
.card__shot img { width: min(240px, 100%); border-radius: 26px 26px 0 0; border: 1px solid var(--line-strong); border-bottom: 0; box-shadow: 0 -20px 60px -30px rgba(198, 245, 74, 0.35); }
.card__shot--crop { margin: -28px -28px -28px 0; align-self: stretch; overflow: hidden; height: 300px; }
.card__shot--crop img { width: 250px; border-radius: 22px; transform: translateY(28px); }

.code {
  margin: 0;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #0a0b0e;
  color: #c9c9d3;
  font: 12.5px/1.75 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code .k { color: #9ec5ff; }
.code .s { color: var(--lime); }

.files { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.files li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); font: 500 13px/1 var(--mono); }
.files em { margin-left: auto; color: var(--faint); font-style: normal; }
.files__ext { display: grid; place-items: center; width: 38px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: var(--muted); font-size: 10px; letter-spacing: 0.05em; }
.files__ext--gif { background: rgba(198, 245, 74, 0.14); color: var(--lime); }
.files__ext--mp4 { background: rgba(79, 227, 178, 0.14); color: var(--mint); }

.dup { display: grid; gap: 6px; margin-top: 10px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #15161c; }
.dup__title { font: 650 16px/1.2 var(--display); }
.dup__meta { color: var(--faint); font: 500 12px/1.4 var(--mono); }
.dup__btns { display: flex; gap: 8px; margin-top: 8px; font-size: 13px; }
.dup__btns b { padding: 8px 12px; border-radius: 999px; background: var(--lime); color: var(--ink-on-lime); font-weight: 600; }
.dup__btns i { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-style: normal; }

.lock { display: grid; place-items: center; width: 64px; height: 64px; margin-top: 10px; border-radius: 20px; background: rgba(198, 245, 74, 0.1); }
.lock svg { width: 30px; height: 30px; fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--tall { grid-row: auto; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card__core--split { grid-template-columns: 1fr; }
  .card__shot--crop { margin: 0 -28px -28px; height: 260px; justify-content: center; }
}

/* Themes */
.themes { padding: clamp(80px, 10vw, 140px) 0; overflow-x: clip; }
.themes__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.themes__copy { display: grid; gap: 24px; justify-items: start; }
.themes__copy p { max-width: 500px; color: var(--muted); font-size: 18px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatches i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(255, 255, 255, 0.08); transition: transform 0.5s var(--ease); }
.swatches i:hover { transform: translateY(-4px) scale(1.08); }
.themes__stage { position: relative; display: grid; place-items: center; min-height: 660px; }
.phone--theme { --w: 296px; z-index: 1; transform: rotate(-3deg); }
.phone--ghost { --w: 250px; position: absolute; right: 2%; top: 14%; transform: rotate(7deg); opacity: 0.55; filter: saturate(0.9); }
@media (max-width: 860px) {
  .themes__inner { grid-template-columns: 1fr; }
  .themes__stage { min-height: 600px; }
  .phone--theme { --w: min(270px, 66vw); }
  .phone--ghost { --w: min(210px, 50vw); right: 0; top: 18%; }
}

/* Gallery */
.gallery { padding: clamp(80px, 10vw, 140px) 0; }
.gallery .section-head { margin-bottom: 40px; }
.gallery__nav { display: flex; gap: 8px; }
.gallery__nav button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); color: var(--text); cursor: pointer; transition: background-color 0.3s var(--ease); }
.gallery__nav button:hover { background: rgba(255, 255, 255, 0.08); }
.gallery__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gallery__track {
  display: flex;
  gap: 28px;
  padding: 20px max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))) 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track figure { margin: 0; scroll-snap-align: start; display: grid; gap: 16px; justify-items: center; }
.gallery__track figcaption { color: var(--faint); font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.phone--sm { --w: 230px; transition: transform 0.6s var(--ease); }
.gallery__track figure:hover .phone--sm { transform: translateY(-8px); }
.gallery__track img { -webkit-user-drag: none; user-select: none; }

/* Changelog */
.changelog { padding: clamp(80px, 10vw, 140px) 0; }
.releases { display: grid; gap: 14px; }
.releases__empty { color: var(--muted); }
.release { padding: 6px; border-radius: 26px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.release__inner { border-radius: 20px; background: var(--bg-card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.release summary { display: flex; align-items: center; gap: 14px; padding: 22px 24px; cursor: pointer; list-style: none; }
.release summary::-webkit-details-marker { display: none; }
.release__tag { font: 600 15px/1 var(--mono); color: var(--lime); }
.release__name { font: 600 17px/1.3 var(--display); letter-spacing: -0.02em; }
.release__date { margin-left: auto; color: var(--faint); font: 500 12.5px/1 var(--mono); white-space: nowrap; }
.release__chev { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; transition: transform 0.5s var(--ease); }
.release__inner[open] .release__chev { transform: rotate(180deg); }
.release__body { padding: 0 24px 24px; color: #c8c8d1; font-size: 15.5px; }
.release__body h4 { margin: 22px 0 8px; font: 650 16px/1.3 var(--display); color: var(--text); }
.release__body ul { margin: 0; padding-left: 20px; }
.release__body li { margin: 6px 0; }
.release__body li::marker { color: var(--lime); }
.release__body p { margin: 10px 0; }
.release__body code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); font: 13px var(--mono); }
.release__body a { color: var(--lime); }
.release__latest { padding: 4px 9px; border-radius: 999px; background: rgba(198, 245, 74, 0.12); color: var(--lime); font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.releases__all { display: inline-block; margin-top: 22px; color: var(--muted); font-size: 15px; text-underline-offset: 4px; }
.releases__all:hover { color: var(--text); }
@media (max-width: 560px) {
  .release summary { flex-wrap: wrap; }
  .release__date { margin-left: 0; width: 100%; }
}

/* Download */
.download { padding: clamp(60px, 8vw, 120px) 0 clamp(100px, 12vw, 160px); }
.download__card { padding: 8px; border-radius: 40px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.download__core {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
  border-radius: 32px;
  background: var(--bg-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: center;
  overflow: hidden;
}
.download__glow { position: absolute; inset: -40% 10% auto; height: 520px; background: radial-gradient(closest-side, rgba(198, 245, 74, 0.18), transparent); pointer-events: none; }
.download__logo { position: relative; border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(198, 245, 74, 0.4); animation: float-logo 6s var(--ease) infinite; }
@keyframes float-logo { 50% { transform: translateY(-8px) rotate(-2deg); } }
.download__core h2 { position: relative; }
.download__core > p { position: relative; max-width: 520px; color: var(--muted); font-size: 18px; }
.download__steps { position: relative; list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(820px, 100%); text-align: left; }
.download__steps li { display: flex; gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.download__steps b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(198, 245, 74, 0.12); color: var(--lime); font: 600 12px/1 var(--mono); }
.download__note { color: var(--faint) !important; font-size: 14px !important; }
.download__note a { color: var(--muted); text-underline-offset: 3px; }
@media (max-width: 760px) { .download__steps { grid-template-columns: 1fr; } }

/* Footer */
.footer { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 12px; font: 650 16px/1 var(--display); letter-spacing: -0.02em; }
.footer__brand img { border-radius: 8px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; }
.footer__links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer__links a:hover { color: var(--text); }
.footer__note { grid-column: 1 / -1; max-width: 640px; color: var(--faint); font-size: 13.5px; }
.footer__note a { color: var(--muted); text-underline-offset: 3px; }
@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}

.card--tall .card__shot--list { height: 420px; }
.card__shot--list img { width: min(300px, 100%); margin-top: -300px; border-radius: 0; border: 0; box-shadow: none; mask-image: linear-gradient(transparent, #000 18%, #000 80%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 80%, transparent); }
