/* Scope landing page. Tokens follow the music dashboard (frontend/src/styles.css):
   warm off-black, one orange accent. Radius rule: buttons and pills are full-pill,
   every surface and image is 14px. All motion collapses under prefers-reduced-motion. */

:root {
  --bg: #0b0a09;
  --bg-deep: #070605;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-accent: rgba(232, 135, 90, 0.1);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4efec;
  --muted: rgba(244, 239, 236, 0.64);
  --accent: #e8875a;
  --accent-ink: #17110d;
  --accent-text: #f0a27c;
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
  --glow: rgba(232, 135, 90, 0.22);
  --grain: 0.06;
  --r: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f5f4;
    --bg-deep: #ecebe9;
    --surface: rgba(28, 25, 23, 0.035);
    --surface-accent: rgba(232, 135, 90, 0.14);
    --line: rgba(28, 25, 23, 0.1);
    --text: #1c1917;
    --muted: rgba(28, 25, 23, 0.68);
    --accent-text: #a8481c;
    --shadow: 0 40px 80px -36px rgba(68, 40, 20, 0.45);
    --glow: rgba(232, 135, 90, 0.28);
    --grain: 0.035;
    color-scheme: light;
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Film grain on a fixed layer so it never repaints with scroll. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: var(--grain);
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--accent-text);
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* --- buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn .ph { font-size: 1.2em; }

/* Discord mark: an inline <symbol> (index.html), coloured through currentColor. */
.ico-discord { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.btn .ico-discord { color: #000; }
.cell-ico.ico-discord { width: 1.7rem; height: 1.7rem; }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover {
  background: #ee9a72;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(232, 135, 90, 0.7);
}
.btn-primary:active { transform: translateY(0) scale(0.97); }

.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-ghost .ph { transition: transform 0.35s var(--ease); }
.btn-ghost:hover .ph { transform: translateY(3px); }

.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-lg { padding: 17px 30px; font-size: 1.08rem; }

.tag {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-accent);
  color: var(--accent-text);
  font-size: 0.78rem;
  font-weight: 600;
  vertical-align: middle;
}

/* --- nav --------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img { border-radius: 8px; }

.nav-links { display: flex; gap: 28px; margin-right: auto; }
.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--accent);
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { scale: 1 1; }

/* --- hero -------------------------------------------------------------- */

.hero {
  position: relative;
  margin-top: -64px;
  padding-top: 64px;
}

.hero-glow {
  position: absolute;
  inset: -10% -10% 0;
  pointer-events: none;
  background:
    radial-gradient(40% 45% at 72% 42%, var(--glow), transparent 70%),
    radial-gradient(30% 35% at 20% 80%, rgba(232, 135, 90, 0.08), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 56px;
  min-height: calc(100dvh - 64px);
  padding-block: 56px 72px;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}
h1 .w { display: inline-block; }
h1 .w:nth-child(1) { --i: 0; }
h1 .w:nth-child(2) { --i: 1; }
h1 .w:nth-child(3) { --i: 2; }
h1 .w:nth-child(4) { --i: 3; }
h1 .w:nth-child(5) { --i: 4; }
h1 .w:nth-child(6) { --i: 5; }

.hl {
  color: var(--accent-text);
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 94% / 100% 0.08em;
}

.lede {
  margin-top: 24px;
  max-width: 44ch;
  font-size: 1.15rem;
  color: var(--muted);
}

.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-stage { perspective: 1400px; }

.hero-shot {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 0 1px rgba(232, 135, 90, 0.08);
  transform: rotateX(calc(6deg + var(--rx, 0deg))) rotateY(calc(-12deg + var(--ry, 0deg)));
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

/* Recreated Discord message. Discord's own dark palette on purpose, in both page themes. */
.dc {
  padding: 22px 24px 26px 18px;
  background: #0f0f11;
  color: #dbdee1;
  font: 400 15px/1.375 "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: left;
}
.dc p { margin: 0; }
.dc-reply {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 56px;
  font-size: 14px;
  color: #b5bac1;
  white-space: nowrap;
}
/* the reply spine curling down to the avatar */
.dc-reply::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 9px;
  width: 30px;
  height: 12px;
  border-left: 2px solid #4e5058;
  border-top: 2px solid #4e5058;
  border-top-left-radius: 6px;
}
.dc-reply img { border-radius: 50%; }
.dc-user { color: #c27c3e; font-weight: 500; }
.dc-cmd {
  padding: 0 4px;
  border-radius: 3px;
  background: rgba(88, 101, 242, 0.24);
  color: #8ea1ff;
  font-weight: 500;
}
.dc-cmd-ico { margin-right: 2px; }

.dc-msg { display: grid; grid-template-columns: 40px 1fr; gap: 16px; margin-top: 4px; }
.dc-avatar { box-sizing: border-box; padding: 8px; border-radius: 50%; background: #000; object-fit: contain; }
.dc-head { display: flex; align-items: center; gap: 6px; }
.dc-bot { color: #9db08d; font-size: 16px; font-weight: 500; }
.dc-app {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0 5px;
  height: 16px;
  border-radius: 4px;
  background: #5865f2;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.dc-app .ph { font-size: 11px; font-weight: 700; }
.dc-time { color: #949ba4; font-size: 12px; margin-left: 2px; }

.dc-embed {
  display: grid;
  gap: 8px;
  max-width: 440px;
  margin-top: 6px;
  padding: 12px 16px 16px 14px;
  border-radius: 4px;
  border: 1px solid #26272b;
  border-left: 4px solid #57a55a;
  background: #121214;
  font-size: 14px;
}
.dc-emoji { display: inline-block; width: 1.375em; height: 1.375em; margin-right: 0.25em; vertical-align: -0.35em; }
.dc-title { font-size: 16px; font-weight: 600; color: #00a8fc; }
.dc-fields { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 20px; justify-content: start; }
.dc-fname { color: #f2f3f5; font-weight: 600; margin-bottom: 2px !important; }
.dc-fields strong { color: #f2f3f5; font-weight: 600; }
.dc code {
  padding: 1px 4px;
  border-radius: 4px;
  border: 1px solid #2e2f34;
  background: #1a1b1e;
  color: #dbdee1;
  font-family: Consolas, "Andale Mono", "Geist Mono", monospace;
  font-size: 0.85em;
}
.dc-foot { margin-top: 2px; font-size: 12px; font-weight: 500; color: #dbdee1; }

/* Soft light on the glass. It sits top-left at rest and follows the pointer with the tilt. */
.glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 70% at var(--gx, 20%) var(--gy, 0%), rgba(255, 255, 255, 0.1), transparent 70%);
  mix-blend-mode: screen;
}

/* --- marquee ----------------------------------------------------------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  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; width: max-content; }
.marquee ul { display: flex; gap: 48px; padding-right: 48px; }
.marquee li {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s;
}
.marquee li:hover { color: var(--accent-text); }

/* --- sections ---------------------------------------------------------- */

.section { padding-block: 120px; }

h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }

.head { max-width: 42rem; margin-bottom: 52px; }
.head p, .body { margin-top: 16px; color: var(--muted); font-size: 1.08rem; max-width: 52ch; }

/* safety bento: friends tile spans two rows, checkserver runs full width */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cell {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
/* Spotlight that follows the pointer (main.js sets --mx / --my). */
.cell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 135, 90, 0.12), transparent 60%);
  transition: opacity 0.4s;
}
.cell:hover { transform: translateY(-4px); border-color: rgba(232, 135, 90, 0.3); }
.cell:hover::before { opacity: 1; }
.cell p { color: var(--muted); font-size: 0.97rem; }
.cell code { font-size: 0.95rem; }

.cell-ico {
  font-size: 1.7rem;
  color: var(--accent-text);
  margin-bottom: 10px;
  transition: transform 0.5s var(--ease);
}
.cell:hover .cell-ico { transform: translateY(-2px) rotate(-6deg) scale(1.08); }

.cell-friends {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: space-between;
  gap: 24px;
}
.cell-friends .cell-text { display: flex; flex-direction: column; gap: 10px; }

/* live heatmap */
.heat {
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
}
.heat-grid {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 3px;
}
.heat-grid span {
  aspect-ratio: 1;
  border-radius: 2px;
  background: color-mix(in srgb, var(--c) 78%, #000);
}
.heat-grid .hot { box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--c) 55%, #000); background: var(--c); }

.heat-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
.heat-foot strong {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}
.heat-key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-left: auto; font-size: 0.78rem; }
.heat-key li { display: inline-flex; align-items: center; gap: 5px; }
.heat-key li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }

.cell-server {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  background: var(--surface-accent);
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}
.cell-server h3 { margin-top: 10px; font-size: 1.6rem; letter-spacing: -0.02em; }
.cell-server p { max-width: 52ch; position: relative; }
.server-ico {
  position: absolute;
  right: -18px;
  top: -30px;
  z-index: -1;
  font-size: 11rem;
  color: var(--accent);
  opacity: 0.09;
  transition: transform 0.8s var(--ease), opacity 0.4s;
}
.cell-server:hover .server-ico { transform: rotate(-8deg) scale(1.06); opacity: 0.14; }

/* autoflag: heading sticks while the steps scroll past on a rail */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split-sticky { position: sticky; top: 120px; }
.split .tag { margin: 20px 0 0; }

.steps { position: relative; display: grid; gap: 0; }
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.steps::after { background: var(--accent); scale: 1 0.35; transform-origin: top; }

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding-block: 40px;
}
.steps li > .ph {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(232, 135, 90, 0.35);
  color: var(--accent-text);
  font-size: 1.3rem;
}
.steps code { font-size: 1.15rem; }
.steps p { margin-top: 6px; color: var(--muted); }

/* music */
.bars {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  height: 0.7em;
  margin-right: 0.35em;
  vertical-align: baseline;
}
.bars i { width: 0.12em; height: 100%; border-radius: 1px; background: var(--accent); transform-origin: bottom; }
.bars i:nth-child(1) { scale: 1 0.5; }
.bars i:nth-child(2) { scale: 1 0.9; }
.bars i:nth-child(3) { scale: 1 0.65; }
.bars i:nth-child(4) { scale: 1 0.8; }

.dash-stage { perspective: 1600px; }
.dash {
  position: relative;
  transform-origin: 50% 0;
}
.dash::after {
  content: "";
  position: absolute;
  inset: 8% 10% -6%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(40px);
}
.dash img {
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.93rem;
  transition: border-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.pills .ph { color: var(--accent-text); font-size: 1.1rem; }
.pills li:hover { border-color: rgba(232, 135, 90, 0.45); color: var(--text); transform: translateY(-2px); }

/* premium */
.premium {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.perks { display: grid; gap: 12px; margin-top: 32px; }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks .ph { color: var(--accent-text); font-size: 1.15rem; }

.price {
  position: relative;
  padding: 40px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.price::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--glow), transparent);
  pointer-events: none;
}
.price-main { position: relative; color: var(--muted); font-size: 1.1rem; }
.price-num {
  display: block;
  color: var(--text);
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.price .btn { position: relative; width: 100%; justify-content: center; margin-top: 32px; }
.fine { position: relative; margin-top: 14px; color: var(--muted); font-size: 0.88rem; text-align: center; }

/* closing call */
.closer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 64px 128px;
}
.closer h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }

/* --- footer ------------------------------------------------------------ */

.foot { border-top: 1px solid var(--line); }
.foot-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-block: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
.foot nav { display: flex; gap: 24px; }
.foot nav a, .foot p a { text-decoration: none; }
.foot nav a:hover, .foot p a:hover { color: var(--text); }
.foot p { margin-left: auto; }

/* --- motion ------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  .hero-glow { animation: drift 18s ease-in-out infinite alternate; }

  h1 .w { animation: word 0.9s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
  h1 .hl { animation: word 0.9s var(--ease) both, underline 0.8s var(--ease) 0.75s both; animation-delay: calc(var(--i) * 70ms), 0.75s; }
  .enter { animation: rise 0.9s var(--ease) both; }
  .lede.enter { animation-delay: 0.35s; }
  .ctas.enter { animation-delay: 0.45s; }
  .hero-stage.enter { animation: stage 1.2s var(--ease) 0.25s both; }

  .marquee-track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }

  .js-motion .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .js-motion .reveal.in { opacity: 1; transform: none; }
  .js-motion .bento .reveal:nth-child(2) { transition-delay: 0.07s; }
  .js-motion .bento .reveal:nth-child(3) { transition-delay: 0.14s; }
  .js-motion .bento .reveal:nth-child(4) { transition-delay: 0.21s; }
  .js-motion .bento .reveal:nth-child(5) { transition-delay: 0.28s; }
  .js-motion .bento .reveal.in { transition-property: opacity, transform, border-color; }
  .js-motion .bento .reveal.in:hover { transition-delay: 0s; transform: translateY(-4px); }

  /* heatmap cells land one by one, riskiest first, then the hot ones pulse */
  .js-motion .heat-grid span { opacity: 0; scale: 0.3; }
  .js-motion .heat.go .heat-grid span {
    animation: cell 0.5s var(--ease) both;
    animation-delay: calc(var(--i) * 7ms);
  }
  .js-motion .heat.go .heat-grid .hot {
    animation: cell 0.5s var(--ease) both, hot 2.4s ease-in-out 1.6s infinite;
    animation-delay: calc(var(--i) * 7ms), 1.6s;
  }

  .bars i { animation: eq 1.1s ease-in-out infinite alternate; }
  .bars i:nth-child(2) { animation-duration: 0.8s; }
  .bars i:nth-child(3) { animation-duration: 1.3s; }
  .bars i:nth-child(4) { animation-duration: 0.95s; }

  @supports (animation-timeline: view()) {
    /* rail fills as the steps pass through the viewport */
    .steps::after {
      scale: 1 0;
      animation: rail linear both;
      animation-timeline: view();
      animation-range: entry 30% cover 60%;
    }
    /* dashboard tips up and settles flat as it scrolls in */
    .dash {
      animation: tip linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
  }
}

@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
@keyframes word { from { opacity: 0; transform: translateY(0.45em) rotate(3deg); filter: blur(6px); } }
@keyframes underline { from { background-size: 0% 0.08em; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes stage { from { opacity: 0; transform: translateY(40px) scale(0.96); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes cell { to { opacity: 1; scale: 1; } }
@keyframes hot { 50% { filter: brightness(1.35); } }
@keyframes eq { from { scale: 1 0.25; } to { scale: 1 1; } }
@keyframes rail { to { scale: 1 1; } }
@keyframes tip { from { transform: rotateX(22deg) scale(0.9); opacity: 0.4; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-shot { transform: none; transition: none; }
  .marquee { overflow-x: auto; }
  .steps::after { scale: 1 1; }
}

/* --- responsive -------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-grid, .split, .premium { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { min-height: 0; padding-block: 48px 72px; }
  .hero-shot { transform: none; }
  .split-sticky { position: static; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell-friends { grid-row: auto; }
  .cell-server { flex-direction: column; align-items: start; }
}

@media (max-width: 767px) {
  .wrap { padding-inline: 16px; }
  .dc { padding: 16px 14px 18px 10px; font-size: 14px; }
  .dc-msg { gap: 10px; }
  .dc-reply { margin-left: 50px; }
  .dc-reply::before { left: -30px; width: 24px; }
  .dc-fields { grid-template-columns: repeat(2, auto); }
  .nav-links { display: none; }
  .nav-row { justify-content: space-between; }
  .section { padding-block: 80px; }
  .bento { grid-template-columns: 1fr; }
  .cell-friends { grid-column: auto; }
  .heat-grid { grid-template-columns: repeat(12, 1fr); }
  .heat-key { margin-left: 0; }
  .steps li { padding-block: 28px; }
  .price { padding: 28px 22px; }
  .price-num { font-size: 3.4rem; }
  .foot p { margin-left: 0; }
}
