/* FLIP marketing site. Dark by design: the app is dark-only, so the brand is neon on near-black. */

@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #07050d;
  --bg-2: #0c0915;
  --surface: #120f1c;
  --surface-2: #181425;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --text: #f4f1fb;
  --dim: #a9a4bd;
  --accent: #ff2e9a;
  --accent-2: #ff64b6;
  /* pad colours (the app's palette); used for product visuals only */
  --p-magenta: #ff2e9a; --p-cyan: #3df5ff; --p-lime: #c6ff3d; --p-violet: #9a70ff;
  --p-orange: #ff8a3d; --p-yellow: #ffe83d; --p-blue: #3d7bff; --p-red: #ff3d5a;
  --r-panel: 28px;
  --r-phone: 46px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --energy: 0;
  --display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--p-cyan); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: #fff; }

/* ---------- ambient background ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(90px); opacity: calc(0.22 + var(--energy) * 0.25);
  transition: opacity 0.2s linear;
}
.aurora i:nth-child(1) { background: radial-gradient(circle, rgb(255 46 154 / 0.9), transparent 62%); left: -18vmax; top: -24vmax; }
.aurora i:nth-child(2) { background: radial-gradient(circle, rgb(61 245 255 / 0.55), transparent 62%); right: -26vmax; top: 10vh; }
.aurora i:nth-child(3) { background: radial-gradient(circle, rgb(154 112 255 / 0.7), transparent 62%); left: 20vw; bottom: -40vmax; }
@media (prefers-reduced-motion: no-preference) {
  .aurora i:nth-child(1) { animation: drift1 26s ease-in-out infinite alternate; }
  .aurora i:nth-child(2) { animation: drift2 32s ease-in-out infinite alternate; }
  .aurora i:nth-child(3) { animation: drift3 38s ease-in-out infinite alternate; }
}
@keyframes drift1 { to { transform: translate3d(12vw, 10vh, 0) scale(1.1); } }
@keyframes drift2 { to { transform: translate3d(-14vw, 16vh, 0) scale(0.9); } }
@keyframes drift3 { to { transform: translate3d(8vw, -12vh, 0) scale(1.15); } }
.grain {
  position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- type ---------- */
.display {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin: 0;
  font-size: clamp(2.5rem, 4.9vw, 4.7rem);
}
.h2 {
  font-family: var(--display); font-weight: 750; letter-spacing: -0.03em; line-height: 1.05; margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.5rem); text-wrap: balance;
}
h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; font-size: 1.3rem; line-height: 1.2; margin: 0 0 0.35rem; }
.body { color: var(--dim); font-size: 1.12rem; max-width: 52ch; margin: 1.1rem 0 0; }
.lede { color: var(--dim); font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 34ch; margin: 1.5rem 0 0; }
.eyebrow {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2); margin: 0 0 1rem;
}

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; white-space: nowrap;
  height: var(--h); padding: 0 1.55rem; border-radius: 999px; border: 0; cursor: pointer;
  font: 650 1.02rem/1 var(--sans); text-decoration: none; color: var(--text);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
}
.btn i { font-size: 1.2em; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
  background: linear-gradient(180deg, #ff4aa9, var(--accent)); color: #fff;
  box-shadow: 0 10px 34px -10px rgb(255 46 154 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgb(255 46 154 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.35); }
.btn-ghost { background: rgb(255 255 255 / 0.05); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgb(255 255 255 / 0.09); transform: translateY(-2px); }
.btn-sm { --h: 42px; padding: 0 1.05rem; font-size: 0.95rem; }
.btn-lg { --h: 64px; padding: 0 2.2rem; font-size: 1.15rem; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 999px; border: 0; cursor: pointer; color: var(--text);
  background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.icon-btn:hover { background: rgb(255 255 255 / 0.12); }
.icon-btn:active { transform: scale(0.94); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20; height: 68px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 0 max(20px, calc((100vw - 1320px) / 2));
  background: linear-gradient(rgb(7 5 13 / 0.82), rgb(7 5 13 / 0.55));
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font: 800 1.3rem/1 var(--display); font-style: italic; letter-spacing: -0.04em; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 2rem; }
.nav nav a { text-decoration: none; color: var(--dim); font-size: 0.95rem; font-weight: 550; transition: color 0.2s; }
.nav nav a:hover { color: var(--text); }
.nav .btn { justify-self: end; }
@media (max-width: 860px) { .nav { grid-template-columns: 1fr auto; } .nav nav { display: none; } }

/* ---------- layout ---------- */
main > section { padding: clamp(88px, 12vw, 150px) max(20px, calc((100vw - 1240px) / 2)); position: relative; }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100dvh - 68px); padding-top: clamp(40px, 6vw, 88px) !important; padding-bottom: 40px !important;
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 2rem;
}
.hero .line { display: block; white-space: nowrap; }
.swap { display: inline-block; position: relative; color: var(--accent); padding-bottom: 0.08em; }
.swap-word { display: inline-block; will-change: transform, opacity; }
.swap-word.out { animation: wordOut 0.42s var(--ease) forwards; }
.swap-word.in { animation: wordIn 0.6s var(--ease) forwards; }
@keyframes wordOut { to { transform: translateY(-0.5em) rotateX(40deg); opacity: 0; filter: blur(6px); } }
@keyframes wordIn { from { transform: translateY(0.55em) rotateX(-40deg); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero-stage { position: relative; height: min(78vh, 720px); perspective: 1400px; }
.halo {
  position: absolute; inset: 12% 8% 6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 46 154 / 0.45), rgb(154 112 255 / 0.2) 60%, transparent);
  filter: blur(30px); transform: scale(calc(1 + var(--energy) * 0.15));
}

/* phone frame around real screenshots */
.phone {
  position: relative; border-radius: var(--r-phone); padding: 9px; background: linear-gradient(145deg, #2a2536, #0d0b14 40%, #1b1726);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 40px 90px -30px rgb(255 46 154 / 0.45), 0 30px 60px -20px rgb(0 0 0 / 0.7);
}
.phone img { border-radius: calc(var(--r-phone) - 9px); width: 100%; }
.phone::after {
  content: ""; position: absolute; inset: 9px; border-radius: calc(var(--r-phone) - 9px); pointer-events: none;
  background: linear-gradient(115deg, rgb(255 255 255 / 0.14), transparent 28%, transparent 70%, rgb(255 255 255 / 0.05));
}
.hero-stage .phone { position: absolute; width: min(46%, 350px); will-change: transform; }
.phone-front { left: 34%; top: 2%; z-index: 2; }
.phone-back { left: 2%; top: 11%; z-index: 1; opacity: 0.9; filter: saturate(1.1) brightness(0.85); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; animation: rise 1s var(--ease) forwards; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
  .phone-front { animation: phoneIn 1.3s var(--ease) 0.2s both; }
  .phone-back { animation: phoneInBack 1.3s var(--ease) 0.35s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(80px) rotate(6deg); } to { opacity: 1; transform: rotate(4deg); } }
@keyframes phoneInBack { from { opacity: 0; transform: translateY(100px) rotate(-12deg); } to { opacity: 0.9; transform: rotate(-8deg); } }
.phone-front { transform: rotate(4deg); }
.phone-back { transform: rotate(-8deg); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; text-align: left; }
  .hero-stage { height: 540px; margin-top: 1rem; }
  .hero-stage .phone { width: 52%; }
  .phone-front { left: 38%; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); padding: 1.4rem 0; background: rgb(255 255 255 / 0.015);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; }
.marquee span { font: 750 clamp(1.6rem, 3.2vw, 2.6rem)/1 var(--display); letter-spacing: -0.03em; white-space: nowrap; color: var(--text); }
.marquee span:nth-of-type(3n+2) { color: transparent; -webkit-text-stroke: 1.2px rgb(244 241 251 / 0.7); }
.marquee b { width: 16px; height: 16px; border-radius: 5px; flex: none; }
.marquee b:nth-of-type(4n+1) { background: var(--p-magenta); box-shadow: 0 0 18px var(--p-magenta); }
.marquee b:nth-of-type(4n+2) { background: var(--p-cyan); box-shadow: 0 0 18px var(--p-cyan); }
.marquee b:nth-of-type(4n+3) { background: var(--p-lime); box-shadow: 0 0 18px var(--p-lime); }
.marquee b:nth-of-type(4n+4) { background: var(--p-violet); box-shadow: 0 0 18px var(--p-violet); }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: marquee 38s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- play (web instrument) ---------- */
.play { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.transport { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.bpm { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--mono); }
.bpm output { font-size: 1.35rem; font-weight: 700; min-width: 2.6ch; text-align: center; }
.bpm span { color: var(--dim); font-size: 0.8rem; letter-spacing: 0.1em; }
.hint { color: var(--dim); font-size: 0.92rem; margin-top: 1.4rem; display: flex; gap: 0.5rem; align-items: center; }
.rig {
  padding: clamp(16px, 2.4vw, 26px); border-radius: var(--r-panel);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.02));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgb(255 255 255 / 0.08), 0 50px 120px -50px rgb(255 46 154 / 0.5);
}
.steps { display: grid; grid-template-columns: repeat(16, 1fr); gap: 5px; margin-bottom: 14px; }
.steps i { height: 6px; border-radius: 3px; background: rgb(255 255 255 / 0.1); transition: background 0.08s; }
.steps i:nth-child(4n+1) { background: rgb(255 255 255 / 0.2); }
.steps i.now { background: var(--p-lime); box-shadow: 0 0 12px var(--p-lime); }
.pads { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 14px); }
.pad {
  --c: var(--p-magenta); position: relative; aspect-ratio: 1; border-radius: 18px; border: 0; cursor: pointer; padding: 10px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left;
  color: var(--text); font: 700 0.72rem/1 var(--mono); letter-spacing: 0.08em;
  background: linear-gradient(170deg, color-mix(in oklab, var(--c) 30%, transparent), color-mix(in oklab, var(--c) 8%, transparent));
  box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--c) 60%, transparent);
  transition: transform 0.12s var(--ease), box-shadow 0.2s, background 0.2s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none;
}
.pad .k { color: color-mix(in oklab, var(--c) 70%, white); opacity: 0.8; font-size: 0.68rem; }
.pad:hover { box-shadow: inset 0 0 0 1.5px var(--c); }
.pad.hit {
  transform: scale(0.955);
  background: color-mix(in oklab, var(--c) 85%, white 10%); color: #0b0812;
  box-shadow: inset 0 0 0 1.5px var(--c), 0 0 34px var(--c), 0 0 80px color-mix(in oklab, var(--c) 50%, transparent);
}
.pad.hit .k { color: #0b0812; }
.sweep { display: grid; grid-template-columns: auto 1fr 6.5ch; align-items: center; gap: 1rem; margin-top: 18px; font: 600 0.8rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.sweep-read { text-align: right; color: var(--text); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--p-blue), rgb(255 255 255 / 0.15) 50%, var(--p-orange)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--p-blue), rgb(255 255 255 / 0.15) 50%, var(--p-orange)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 0.12), 0 4px 14px rgb(0 0 0 / 0.5); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; }
@media (max-width: 900px) { .play { grid-template-columns: 1fr; } }

/* ---------- story (pinned phone) ---------- */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.story-phone { position: sticky; top: calc(68px + 5vh); height: fit-content; display: grid; justify-items: center; gap: 1.2rem; }
.story-phone .phone { width: min(100%, 340px); }
.story-phone .phone .shot { position: absolute; inset: 9px; width: calc(100% - 18px); opacity: 0; transform: scale(1.02); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.story-phone .phone .shot:first-child { position: relative; inset: auto; width: 100%; }
.story-phone .phone .shot.on { opacity: 1; transform: none; }
.story-progress { width: min(100%, 340px); height: 4px; border-radius: 4px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.story-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--p-cyan)); border-radius: 4px; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.35; transition: opacity 0.5s var(--ease); }
.step.active { opacity: 1; }
.step-num {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 1.4rem;
  background: rgb(255 46 154 / 0.12); color: var(--accent-2); box-shadow: inset 0 0 0 1px rgb(255 46 154 / 0.35);
}
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.7rem; }
.ticks li { display: flex; gap: 0.7rem; align-items: baseline; color: var(--text); }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 10px var(--accent); transform: translateY(-1px); }
.step-shot { display: none; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-phone { display: none; }
  .step { min-height: auto; opacity: 1; padding: 2.5rem 0; }
  .step-shot { display: block; width: min(78%, 320px); margin: 2rem auto 0; border-radius: 34px; box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px -30px rgb(255 46 154 / 0.5); }
}

/* ---------- studio bento ---------- */
.studio .h2 { max-width: 16ch; }
.bento {
  display: grid; margin-top: 3rem; gap: 14px;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto);
  grid-template-areas: "synth synth stems stems" "synth synth stretch arp" "drag eq setup setup";
}
.cell {
  --x: 50%; --y: 50%;
  position: relative; overflow: hidden; border-radius: var(--r-panel); min-height: 230px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.cell::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--x) var(--y), rgb(255 255 255 / 0.09), transparent 45%);
  opacity: 0; transition: opacity 0.3s;
}
.cell:hover::before { opacity: 1; }
.cell-text { position: relative; z-index: 1; padding: 22px 24px 24px; }
.cell-text p { margin: 0; color: var(--dim); font-size: 0.98rem; max-width: 40ch; }
.cell canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cell > img { position: absolute; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.cell-synth { grid-area: synth; background: linear-gradient(160deg, #1b1230, #0f0c18); }
.cell-synth > img { object-position: 50% 30%; transform: scale(1.02); }
.cell-synth::after, .cell-drag::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, transparent 30%, rgb(7 5 13 / 0.88) 72%, rgb(7 5 13 / 0.98));
}
.cell-stems { grid-area: stems; background: linear-gradient(150deg, #0f1a24, #0d0b16 70%); }
.cell-stretch { grid-area: stretch; background: linear-gradient(160deg, #19210b, #0e0c15 70%); }
.cell-arp { grid-area: arp; background: linear-gradient(160deg, #26140a, #0e0c15 70%); }
.cell-drag { grid-area: drag; }
.cell-drag > img { object-position: 50% 62%; }
.cell-eq { grid-area: eq; background: linear-gradient(160deg, #0b1630, #0e0c15 70%); }
.cell-setup { grid-area: setup; background: linear-gradient(135deg, #1a0d1c, #0e0c15 60%); justify-content: space-between; }
.setup { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 22px 24px 0; }
.setup div {
  display: flex; align-items: center; gap: 0.7rem; padding: 12px 14px; border-radius: 16px;
  background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 0.95rem;
}
.setup i { font-size: 1.35rem; color: var(--accent-2); }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "synth synth" "synth synth" "stems stems" "stretch arp" "drag eq" "setup setup"; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "synth" "synth" "stems" "stretch" "arp" "drag" "eq" "setup"; }
  .setup { grid-template-columns: 1fr; }
}

/* ---------- share ---------- */
.share { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.share-list { display: grid; gap: 1.8rem; margin-top: 2.4rem; }
.share-list > div { display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; }
.share-list i { grid-row: span 2; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 1.4rem; background: rgb(61 245 255 / 0.1); color: var(--p-cyan); box-shadow: inset 0 0 0 1px rgb(61 245 255 / 0.3); }
.share-list p { margin: 0; color: var(--dim); }
.remix-card {
  margin: 0; padding: 22px; border-radius: var(--r-panel); background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 120px -50px rgb(61 245 255 / 0.35);
  transform: rotate(-1.5deg);
}
.remix-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 18px; }
.remix-head img { border-radius: 11px; }
.remix-head strong { display: block; font: 750 1.25rem/1.2 var(--display); }
.remix-head span { color: var(--dim); font: 500 0.85rem/1.4 var(--mono); }
#remix-canvas { width: 100%; height: auto; border-radius: 16px; background: rgb(0 0 0 / 0.35); }
.remix-pads { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.remix-pads span { font: 700 0.7rem/1 var(--mono); letter-spacing: 0.06em; padding: 6px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; }
.remix-card figcaption { color: var(--dim); font-size: 0.85rem; margin-top: 16px; }
@media (max-width: 900px) { .share { grid-template-columns: 1fr; } .remix-card { transform: none; } }

/* ---------- numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding-top: 40px !important; padding-bottom: 40px !important; }
.num { border-left: 1px solid var(--line-2); padding-left: 1.2rem; }
.num strong { display: block; font: 800 clamp(2.8rem, 6vw, 4.8rem)/1 var(--display); letter-spacing: -0.04em; background: linear-gradient(180deg, #fff, #b9b3cc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num span { color: var(--dim); font-size: 0.95rem; }
@media (max-width: 900px) { .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }

/* ---------- manifesto ---------- */
.manifesto { text-align: center; }
.manifesto-text {
  font: 800 clamp(2rem, 5vw, 4.4rem)/1.08 var(--display); letter-spacing: -0.035em; margin: 0 auto; max-width: 18ch; text-wrap: balance;
}
.manifesto-text .w { color: rgb(244 241 251 / 0.16); transition: color 0.3s; }
.manifesto-text .w.lit { color: var(--text); }
.manifesto-text .w.hot { color: var(--accent); }

/* ---------- pro ---------- */
.pro .h2 { max-width: 20ch; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 3rem; }
.plan { padding: clamp(24px, 3vw, 38px); border-radius: var(--r-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { font-size: 1.6rem; }
.plan-price { font: 600 1rem/1 var(--mono); color: var(--dim); margin: 0.5rem 0 0; }
.plan-pro { background: radial-gradient(120% 90% at 100% 0%, rgb(255 46 154 / 0.22), transparent 55%), var(--surface); box-shadow: inset 0 0 0 1px rgb(255 46 154 / 0.45), 0 40px 100px -50px rgb(255 46 154 / 0.6); }
.plan-pro .plan-price { color: var(--accent-2); }
.plan-note { color: var(--dim); font-size: 0.92rem; margin: 1.6rem 0 0; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 3rem; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 650; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--accent-2); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--dim); }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- final ---------- */
.final { min-height: 86vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.final-grid {
  position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
  width: min(92vmin, 760px); aspect-ratio: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3%;
  opacity: 0.55; z-index: -1; transform: rotate(-8deg);
}
.final-grid i { border-radius: 22%; box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--c) 45%, transparent); background: color-mix(in oklab, var(--c) 10%, transparent); transition: background 0.35s, box-shadow 0.35s; }
.final-grid i.on { background: color-mix(in oklab, var(--c) 80%, transparent); box-shadow: 0 0 60px var(--c); }
.final-copy { display: grid; justify-items: center; gap: 2.2rem; position: relative; }
.final-copy::before {
  content: ""; position: absolute; inset: -18% -22%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(7 5 13 / 0.92), rgb(7 5 13 / 0.6) 60%, transparent);
}
.final-title { max-width: 14ch; font-size: clamp(2.6rem, 6vw, 5.4rem); text-wrap: balance; }

/* ---------- footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 36px max(20px, calc((100vw - 1240px) / 2)); border-top: 1px solid var(--line); color: var(--dim); font-size: 0.92rem;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.footer p { margin: 0; }

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .bento .reveal:nth-child(2) { transition-delay: 0.06s; }
  .js .bento .reveal:nth-child(3) { transition-delay: 0.12s; }
  .js .bento .reveal:nth-child(4) { transition-delay: 0.18s; }
  .js .bento .reveal:nth-child(5) { transition-delay: 0.08s; }
  .js .bento .reveal:nth-child(6) { transition-delay: 0.14s; }
  .js .bento .reveal:nth-child(7) { transition-delay: 0.2s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pad, .btn { transition: none; }
}

/* ---------- simple pages (privacy, support, remix) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.page h1 { font: 800 clamp(2.4rem, 6vw, 3.8rem)/1.05 var(--display); letter-spacing: -0.035em; margin: 0 0 1rem; }
.page h2 { font: 750 1.5rem/1.2 var(--display); letter-spacing: -0.02em; margin: 2.6rem 0 0.6rem; }
.page p, .page li { color: var(--dim); }
.page p strong { color: var(--text); }
.page .card { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 22px; padding: 20px 22px; margin: 12px 0; }
.page .card p { margin: 0.4rem 0 0; }
.page a { color: var(--p-cyan); }

/* ---------- remix landing ---------- */
.remix-page h1 { margin-top: 1rem; }
.remix-page #by { font-size: 1.15rem; margin: 0 0 1.4rem; }
.remix-page .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.4rem; }
.remix-page .meta span { font: 600 0.9rem/1 var(--mono); padding: 10px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.remix-page #viz { width: 100%; height: auto; border-radius: 16px; background: rgb(0 0 0 / 0.35); }
.remix-page .cap { font-size: 0.85rem; margin: 12px 0 0; }
.remix-page .remix-pads { margin: 1.2rem 0 0.4rem; }
.remix-page .note { font-size: 0.92rem; margin-top: 1.6rem; }
.remix-page .cta-row { margin-top: 1.6rem; }
