/* =========================================================
   NBFish official site v1.0
   intro → features → changelog → start
   deep-sea ink + liquid glass + one particle fish
   ========================================================= */

:root {
  --ink: #05070d;
  --ink-2: #080c15;
  --paper: #f6f8fb;
  --text: #edf3ff;
  --muted: #8d9ab1;
  --muted-2: #657188;
  --blue: #6d8bff;
  --mint: #7cf0d4;
  --violet: #b396ff;
  --warm: #ffb37a;
  --coral: #ff8f76;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --glass: rgba(10, 16, 29, 0.58);
  --glass-2: rgba(18, 26, 44, 0.48);
  --accent: var(--blue);
  --font: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(circle at 82% 12%, rgba(109, 139, 255, 0.16), transparent 38%),
    radial-gradient(circle at 16% 82%, rgba(124, 240, 212, 0.075), transparent 42%),
    radial-gradient(circle at 55% 55%, rgba(179, 150, 255, 0.05), transparent 48%),
    var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.has-cursor,
body.has-cursor * { cursor: none; }

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; }
button,
a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  padding: 9px 14px;
  border: 1px solid rgba(124, 240, 212, 0.35);
  border-radius: 999px;
  color: #061016;
  background: var(--mint);
  font-size: 11px;
  font-weight: 700;
  transform: translate(-50%, -160%);
  transition: transform 0.2s ease;
}
.skip-link:focus-visible { transform: translate(-50%, 0); outline: 2px solid #fff; outline-offset: 3px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
::selection { color: #061016; background: var(--mint); }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.34) 0.55px, transparent 0.7px),
    radial-gradient(rgba(255, 255, 255, 0.18) 0.55px, transparent 0.7px);
  background-position: 0 0, 9px 11px;
  background-size: 17px 17px, 23px 23px;
  mix-blend-mode: soft-light;
}

.aurora {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  transform: translate3d(0, 0, 0);
  animation: auroraDrift 18s ease-in-out infinite alternate;
}
.aurora--a { width: 46vw; height: 46vw; left: -12vw; top: -16vw; background: rgba(109, 139, 255, 0.16); }
.aurora--b { width: 42vw; height: 42vw; right: -14vw; top: 16vh; background: rgba(124, 240, 212, 0.11); animation-delay: -6s; }
.aurora--c { width: 38vw; height: 38vw; left: 30vw; bottom: -22vw; background: rgba(179, 150, 255, 0.1); animation-delay: -11s; }

@keyframes auroraDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(0.96); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

#webgl {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.webgl-fallback {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  place-items: center;
  pointer-events: none;
}
.no-webgl .webgl-fallback { display: grid; }
.fallback-orbit {
  position: absolute;
  width: min(70vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(109, 139, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(109, 139, 255, 0.16), inset 0 0 100px rgba(109, 139, 255, 0.08);
}
.fallback-fish {
  font-size: clamp(80px, 16vw, 220px);
  font-weight: 800;
  letter-spacing: -0.08em;
  color: rgba(109, 139, 255, 0.16);
}

/* ---------- cursor ---------- */

.cursor-dot,
.cursor-ring,
.cursor-blob {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}

/* 星点小鱼干：星点定位，鱼身跟手 */
.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--mint);
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
  filter: drop-shadow(0 0 7px rgba(124, 240, 212, 0.9));
}
.cursor-ring {
  width: 58px;
  height: 42px;
  margin: -21px 0 0 -29px;
  display: grid;
  place-items: center;
  --fish-dir: 1;
  --fish-tilt: 0deg;
  --fish-press: 1;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 8px rgba(124, 240, 212, 0.2));
  transition: width 0.24s ease, height 0.24s ease, margin 0.24s ease, filter 0.24s ease;
}
.cursor-fish__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 50% 50%;
  transform: scaleX(var(--fish-dir)) rotate(var(--fish-tilt)) scale(var(--fish-press));
}
.fish-body,
.fish-tail,
.fish-fin {
  stroke: rgba(225, 255, 249, 0.84);
  stroke-width: 1.25;
  stroke-linejoin: round;
  transition: fill 0.2s ease, stroke 0.2s ease;
}
.fish-body { fill: rgba(4, 17, 27, 0.32); }
.fish-tail {
  fill: rgba(109, 139, 255, 0.18);
  transform-box: fill-box;
  transform-origin: 100% 50%;
}
.fish-fin { fill: rgba(124, 240, 212, 0.06); stroke-width: 1.05; }
.fish-fin--low { fill: rgba(109, 139, 255, 0.1); }
.fish-spine,
.fish-gill,
.fish-mouth {
  fill: none;
  stroke: rgba(203, 255, 245, 0.55);
  stroke-width: 1;
  stroke-linecap: round;
}
.fish-eye { fill: var(--mint); filter: drop-shadow(0 0 4px rgba(124, 240, 212, 0.95)); }
.fish-star { fill: var(--mint); filter: drop-shadow(0 0 3px rgba(124, 240, 212, 0.95)); }
.fish-star--small { opacity: 0.86; }
.fish-star--out { fill: rgba(203, 255, 245, 0.72); }

.cursor-ring.is-hover {
  width: 68px;
  height: 50px;
  margin: -25px 0 0 -34px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 14px rgba(124, 240, 212, 0.34));
}
.cursor-ring.is-hover .fish-body {
  fill: rgba(124, 240, 212, 0.1);
  stroke: rgba(235, 255, 251, 0.98);
}
.cursor-ring.is-active {
  width: 72px;
  height: 52px;
  margin: -26px 0 0 -36px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(124, 240, 212, 0.5));
}
.cursor-ring.is-active .fish-body {
  fill: rgba(124, 240, 212, 0.16);
  stroke: #f0fffb;
}
.cursor-ring.is-active .fish-tail,
.cursor-ring.is-active .fish-fin { stroke: var(--mint); }
.cursor-ring.is-down { --fish-press: 0.84; }
.cursor-ring.is-hover .fish-tail,
.cursor-ring.is-active .fish-tail { animation: fishTail 0.9s ease-in-out infinite; }
@keyframes fishTail {
  0%, 100% { transform: rotate(-7deg); }
  50% { transform: rotate(8deg); }
}
.cursor-ring::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: calc(100% + 5px);
  transform: translateX(-50%) translateY(2px);
  padding: 4px 8px;
  border-radius: 99px;
  background: var(--mint);
  color: #071016;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.cursor-ring.is-active::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cursor-blob {
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 139, 255, 0.15), transparent 68%);
  filter: blur(16px);
}

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

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  width: min(94vw, 1320px);
  height: 62px;
  padding: 0 10px 0 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(8, 13, 23, 0.58);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071017;
  background: linear-gradient(135deg, var(--mint), #b8e4ff 52%, var(--violet));
  box-shadow: 0 0 26px rgba(124, 240, 212, 0.22);
}
.brand__mark svg { width: 19px; height: 19px; }
.brand__text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.brand__text span {
  margin-top: 3px;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}
.nav__links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted);
  transition: color 0.22s ease, background 0.22s ease;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--accent);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.nav__version {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 8px;
  line-height: 1;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.version-pill i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
}
.version-pill b {
  font-size: 9px;
  font-weight: 650;
  color: var(--text);
}
.version-pill--stable { color: var(--mint); }
.version-pill--beta { color: var(--warm); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 38px; padding: 0 14px; font-size: 10px; background: var(--paper); color: #08111d; }
.btn--primary { background: var(--paper); color: #07111f; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.045); color: var(--text); }
.btn--ghost:hover { border-color: rgba(124, 240, 212, 0.38); background: rgba(124, 240, 212, 0.08); }
.btn--dark { background: #0a1220; color: #fff; }
.btn--paper-ghost { border-color: rgba(10, 18, 32, 0.16); background: rgba(255, 255, 255, 0.45); color: #172236; }

/* ---------- rail / progress ---------- */

.rail {
  position: fixed;
  right: 24px;
  top: 50%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transform: translateY(-50%);
}
.rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: var(--muted-2);
  font-size: 8px;
  transition: color 0.2s ease;
}
.rail a span { font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.rail a b {
  width: 0;
  overflow: hidden;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: width 0.25s ease, opacity 0.25s ease;
}
.rail a::after {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.rail a:hover,
.rail a.is-active { color: var(--text); }
.rail a.is-active b { width: auto; opacity: 1; }
.rail a.is-active::after { width: 24px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.scroll-progress {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  height: 2px;
  background: rgba(255, 255, 255, 0.055);
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  box-shadow: 0 0 14px rgba(124, 240, 212, 0.45);
}

/* ---------- scene / shared ---------- */

.scene {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 96px 0 66px;
  overflow: hidden;
}
.scene__inner {
  position: relative;
  z-index: 3;
  width: min(92vw, 1320px);
  margin: 0 auto;
}
.scene__ghost {
  position: absolute;
  right: 2vw;
  top: 8vh;
  z-index: 0;
  color: rgba(255, 255, 255, 0.025);
  font-size: clamp(140px, 24vw, 400px);
  font-weight: 850;
  line-height: 0.8;
  letter-spacing: -0.1em;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(8px);
  transition: opacity 0.75s ease var(--d, 0s), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s), filter 0.75s ease var(--d, 0s);
}
.scene.is-active .reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(124, 240, 212, 0.08), 0 0 12px rgba(124, 240, 212, 0.55);
  animation: livePulse 2.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.section-title {
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -0.055em;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--mint), #b7d0ff 48%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lede {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}
.section-lede b { color: var(--text); font-weight: 650; }
.nowrap { white-space: nowrap; }

.glass {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.025) 52%, rgba(255, 255, 255, 0.055)),
    var(--glass);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at var(--mx, 24%) var(--my, 0%), rgba(255, 255, 255, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%);
  opacity: 0.7;
}
.glass > * { position: relative; z-index: 1; }

.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.tilt:hover {
  border-color: rgba(124, 240, 212, 0.2);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38), 0 0 36px rgba(109, 139, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 8px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tag--mint { color: var(--mint); border-color: rgba(124, 240, 212, 0.2); background: rgba(124, 240, 212, 0.06); }
.tag--warm { color: var(--warm); border-color: rgba(255, 179, 122, 0.2); background: rgba(255, 179, 122, 0.06); }
.tag--violet { color: var(--violet); border-color: rgba(179, 150, 255, 0.2); background: rgba(179, 150, 255, 0.06); }

.icon-box {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(109, 139, 255, 0.18);
  border-radius: 11px;
  color: var(--blue);
  background: rgba(109, 139, 255, 0.08);
}
.icon-box svg { width: 17px; height: 17px; }
.icon-box--mint { color: var(--mint); border-color: rgba(124, 240, 212, 0.18); background: rgba(124, 240, 212, 0.07); }
.icon-box--warm { color: var(--warm); border-color: rgba(255, 179, 122, 0.18); background: rgba(255, 179, 122, 0.07); }
.icon-box--violet { color: var(--violet); border-color: rgba(179, 150, 255, 0.18); background: rgba(179, 150, 255, 0.07); }

/* ---------- intro ---------- */

.scene--intro { padding-bottom: 54px; }
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: center;
}
.intro__copy { min-width: 0; max-width: 700px; padding-top: 8px; }
.hero__title {
  margin: 14px 0 16px;
  font-size: clamp(76px, 10.7vw, 148px);
  font-weight: 780;
  line-height: 0.82;
  letter-spacing: -0.085em;
}
.hero__title span {
  background: linear-gradient(100deg, #f7fbff 10%, var(--mint) 58%, #b9d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  max-width: 760px;
  margin: 0 0 16px;
  color: #f0f5ff;
  font-size: clamp(27px, 3.2vw, 44px);
  font-weight: 620;
  line-height: 1.24;
  letter-spacing: -0.04em;
}
.hero__lede em {
  font-style: normal;
  background: linear-gradient(100deg, var(--mint), #b6d4ff 55%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 18px; }
.intro__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  max-width: 650px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 9px;
}
.meta-stat b { color: var(--text); font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.meta-version { display: inline-flex; align-items: center; gap: 5px; }
.meta-version b { color: var(--text); font-size: 10px; font-weight: 650; }
.dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.dot--stable { background: var(--mint); box-shadow: 0 0 8px rgba(124, 240, 212, 0.6); }
.dot--beta { background: var(--warm); box-shadow: 0 0 8px rgba(255, 179, 122, 0.6); }

.intro__aside {
  position: relative;
  min-width: 0;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat {
  width: min(100%, 390px);
  max-width: 100%;
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.025) 58%, rgba(255, 255, 255, 0.07)),
    rgba(8, 14, 25, 0.52);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(32px) saturate(170%) brightness(1.03);
  -webkit-backdrop-filter: blur(32px) saturate(170%) brightness(1.03);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 15px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #07111b;
  background: linear-gradient(135deg, var(--mint), #b9d8ff 55%, var(--violet));
}
.avatar svg { width: 16px; height: 16px; }
.chat__who { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; }
.chat__who b { font-size: 10px; font-weight: 650; }
.chat__who small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 7px; }
.online-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 6px var(--mint); }
.chat__more { margin-left: auto; color: var(--muted-2); font-size: 10px; letter-spacing: 0.12em; }
.chat__body { display: flex; flex-direction: column; gap: 7px; padding: 14px 13px; }
.bubble {
  max-width: 88%;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px 12px 12px 4px;
  color: #dbe7fb;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  font-size: 9px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.bubble--fish { align-self: flex-start; }
.bubble--me {
  align-self: flex-end;
  border-color: rgba(124, 240, 212, 0.2);
  border-radius: 12px 12px 4px 12px;
  color: #dffcf5;
  background: rgba(124, 240, 212, 0.13);
}
.bubble--typing { display: flex; gap: 3px; width: max-content; padding: 10px 12px; }
.bubble--typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.15s ease-in-out infinite;
}
.bubble--typing i:nth-child(2) { animation-delay: 0.14s; }
.bubble--typing i:nth-child(3) { animation-delay: 0.28s; }
@keyframes typing { 0%, 65%, 100% { opacity: 0.28; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-2px); } }
.chat__foot {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 7px;
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 12px;
  animation: floatChip 6s ease-in-out infinite;
}
.float-chip--a { top: 36px; right: -10px; }
.float-chip--b { right: 10px; bottom: 26px; animation-delay: -2.2s; }
.float-chip__icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--mint);
  background: rgba(124, 240, 212, 0.1);
}
.float-chip__icon--warm { color: var(--warm); background: rgba(255, 179, 122, 0.1); }
.float-chip__icon svg { width: 13px; height: 13px; }
.float-chip > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.float-chip b { color: var(--text); font-size: 8px; font-weight: 650; }
.float-chip small { color: var(--muted); font-size: 6.5px; }
@keyframes floatChip {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -7px, 0); }
}

.why-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 7.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.why-head b {
  color: var(--text);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.02em;
  text-transform: none;
}
.why-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.why-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.why-card {
  min-height: 112px;
  padding: 15px 16px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(8, 14, 25, 0.34);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.why-card h3 { margin: 11px 0 5px; color: var(--text); font-size: 12px; font-weight: 650; letter-spacing: -0.01em; }
.why-card p { margin: 0; color: var(--muted); font-size: 9.5px; line-height: 1.7; }
.why-card .icon-box { width: 29px; height: 29px; border-radius: 9px; }
.why-card .icon-box svg { width: 14px; height: 14px; }

.hero__bottom {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  width: min(92vw, 1320px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateX(-50%);
}
.hero__marquee {
  width: min(52vw, 660px);
  overflow: hidden;
  color: rgba(237, 243, 255, 0.3);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-size: 7px;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.marquee__track i { color: rgba(124, 240, 212, 0.42); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 7px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.scroll-hint__line {
  width: 34px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}
.scroll-hint__line i {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}

/* ---------- feature page ---------- */

.scene--features { padding-top: 88px; padding-bottom: 46px; }
.feature-page { display: flex; flex-direction: column; gap: 14px; }
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.page-head__lede { max-width: 420px; padding-bottom: 5px; text-align: right; }
.page-head--log { align-items: center; }

.feature-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  overflow-x: auto;
  scrollbar-width: none;
}
.feature-tabs::-webkit-scrollbar { display: none; }
.feature-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.feature-tab > span {
  color: var(--muted-2);
  font-size: 7px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.feature-tab b { font-weight: 650; }
.feature-tab small { color: var(--muted-2); font-size: 7.5px; }
.feature-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.feature-tab.is-active {
  color: #07111b;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.feature-tab.is-active > span,
.feature-tab.is-active small { color: rgba(7, 17, 27, 0.56); }

.feature-stage {
  --liquid-x: 26%;
  --liquid-y: 8%;
  --liquid-rx: 0deg;
  --liquid-ry: 0deg;
  position: relative;
  isolation: isolate;
  min-height: 0;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.17) rgba(255, 255, 255, 0.08) rgba(255, 255, 255, 0.07) rgba(255, 255, 255, 0.15);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 9, 16, 0.17), transparent 46%),
    radial-gradient(90% 130% at 86% 6%, rgba(109, 139, 255, 0.065), transparent 56%),
    radial-gradient(70% 100% at 8% 100%, rgba(124, 240, 212, 0.04), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.008) 45%, rgba(255, 255, 255, 0.036));
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(48px) saturate(180%) brightness(1.04);
  -webkit-backdrop-filter: blur(48px) saturate(180%) brightness(1.04);
  transform: perspective(1600px) rotateX(var(--liquid-rx)) rotateY(var(--liquid-ry));
  transform-origin: 50% 45%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease, background 0.45s ease;
  will-change: transform;
}
.feature-stage::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(320px circle at var(--liquid-x) var(--liquid-y), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.035) 32%, transparent 62%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 22%, transparent 72%, rgba(124, 240, 212, 0.04));
  opacity: 0.62;
  mix-blend-mode: screen;
  transition: opacity 0.35s ease;
}
.feature-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 12%, transparent 84%, rgba(124, 240, 212, 0.035)),
    radial-gradient(55% 34% at 50% 100%, rgba(109, 139, 255, 0.05), transparent 76%);
  filter: blur(8px);
  opacity: 0.68;
  animation: stageFluid 16s ease-in-out infinite alternate;
}
@keyframes stageFluid {
  from { transform: translate3d(-1.2%, -0.8%, 0) scale(0.98); }
  to { transform: translate3d(1.4%, 1%, 0) scale(1.04); }
}
.feature-stage:hover,
.feature-stage.is-hovering {
  border-color: rgba(255, 255, 255, 0.27) rgba(255, 255, 255, 0.13) rgba(124, 240, 212, 0.13) rgba(255, 255, 255, 0.22);
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.38),
    0 0 70px rgba(109, 139, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
.feature-stage:hover::before,
.feature-stage.is-hovering::before { opacity: 1; }
.feature-stage.is-galaxy {
  border-color: rgba(124, 240, 212, 0.24) rgba(124, 240, 212, 0.1) rgba(255, 255, 255, 0.07) rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(70% 100% at 50% 50%, rgba(124, 240, 212, 0.045), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.008) 50%, rgba(255, 255, 255, 0.03));
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .feature-stage {
    background:
      radial-gradient(90% 130% at 86% 6%, rgba(109, 139, 255, 0.16), transparent 56%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
      rgba(8, 14, 25, 0.82);
  }
}
.feature-panel {
  position: relative;
  z-index: 2;
  display: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
  min-height: 440px;
  padding: 26px 30px;
}
.feature-panel.is-active { display: grid; animation: panelIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(9px) scale(0.995); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.feature-panel__copy { min-width: 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.14em;
}
.kicker::before {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.feature-panel__copy h3 {
  margin: 9px 0 11px;
  color: var(--text);
  font-size: clamp(25px, 2.6vw, 35px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.feature-panel__copy h3 em {
  font-style: normal;
  color: var(--accent);
}
.feature-panel__copy > p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 11.2px;
  line-height: 1.8;
}

.check-list { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 9.5px; line-height: 1.55; }
.check-list svg { width: 12px; height: 12px; flex: 0 0 auto; margin-top: 1px; color: var(--mint); }
.check-list b { color: var(--text); font-weight: 650; }

.persona-tabs { display: flex; flex-direction: column; gap: 5px; margin-top: 14px; }
.persona-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.persona-btn > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.persona-btn b { font-size: 9.5px; font-weight: 650; color: var(--text); }
.persona-btn small { font-size: 7.5px; color: var(--muted-2); }
.persona-btn > svg { width: 14px; height: 14px; margin-left: auto; opacity: 0.6; }
.persona-btn__idx { color: var(--muted-2); font-size: 7px; font-variant-numeric: tabular-nums; }
.persona-btn:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  transform: translateX(2px);
}
.persona-btn.is-active {
  border-color: color-mix(in srgb, var(--accent) 36%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 26px color-mix(in srgb, var(--accent) 8%, transparent);
  transform: translateX(2px);
}
.persona-btn.is-active .persona-btn__idx,
.persona-btn.is-active > svg { color: var(--accent); opacity: 1; }

.persona-quote {
  position: relative;
  margin-top: 9px;
  padding: 10px 12px 9px 22px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-left: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.quote-mark {
  position: absolute;
  top: 1px;
  left: 6px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1;
  opacity: 0.7;
}
.persona-quote p { margin: 0; color: #d9e5f7; font-size: 9px; line-height: 1.65; }
.persona-quote footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 7px;
}
.persona-quote footer i { width: 12px; height: 1px; background: var(--line); }

.mini-feature-list { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }
.mini-feature-list > div { display: flex; align-items: center; gap: 9px; }
.mini-ico {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--mint);
  background: rgba(124, 240, 212, 0.075);
}
.mini-ico svg { width: 13px; height: 13px; }
.mini-ico--warm { color: var(--warm); background: rgba(255, 179, 122, 0.075); }
.mini-ico--violet { color: var(--violet); background: rgba(179, 150, 255, 0.075); }
.mini-ico--coral { color: var(--coral); background: rgba(255, 143, 118, 0.075); }
.mini-ico--mint { color: var(--mint); background: rgba(124, 240, 212, 0.075); }
.mini-feature-list span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-feature-list b { color: var(--text); font-size: 9.5px; font-weight: 650; }
.mini-feature-list small { color: var(--muted-2); font-size: 7.8px; line-height: 1.45; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; color: var(--muted); font-size: 7.5px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 4px; }
.trust-strip svg { width: 10px; height: 10px; color: var(--mint); }

.ui-shot {
  position: relative;
  margin: 0;
  width: min(100%, calc(47vh * 1.248));
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  overflow: hidden;
  background: #f6f8fb;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.ui-shot:hover { box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(109, 139, 255, 0.1); }
.ui-shot__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  color: #aab4c8;
  background: #0e1421;
  font-size: 7px;
  letter-spacing: 0.08em;
}
.ui-shot__dots { display: flex; gap: 3px; }
.ui-shot__dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.ui-shot__dots i:first-child { background: rgba(255, 143, 118, 0.65); }
.ui-shot__dots i:nth-child(2) { background: rgba(255, 179, 122, 0.65); }
.ui-shot__dots i:nth-child(3) { background: rgba(124, 240, 212, 0.65); }
.ui-shot__tag {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid rgba(124, 240, 212, 0.22);
  border-radius: 999px;
  color: var(--mint);
  font-size: 6.5px;
}
.ui-shot picture { display: block; }
.ui-shot img { width: 100%; height: auto; background: #f6f8fb; }
.ui-shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 11px;
  color: #758197;
  background: #0b101a;
  font-size: 6.8px;
  letter-spacing: 0.02em;
}

.fish-visual { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.chat--stage { width: min(100%, 360px); }
.chat--stage .chat__body { min-height: 148px; justify-content: center; }
.stage-caption { color: var(--muted-2); font-size: 7.5px; letter-spacing: 0.05em; }

.galaxy-stats { display: flex; gap: 24px; margin-top: 18px; }
.galaxy-stats div { display: flex; flex-direction: column; gap: 3px; }
.galaxy-stats strong { color: var(--mint); font-size: 17px; font-weight: 680; letter-spacing: -0.04em; }
.galaxy-stats span { color: var(--muted-2); font-size: 7.5px; }
.galaxy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.galaxy-hint { color: var(--muted-2); font-size: 7.5px; }

.galaxy-visual {
  position: relative;
  min-height: 370px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(124, 240, 212, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(124, 240, 212, 0.08), transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(109, 139, 255, 0.11), transparent 60%);
}
.galaxy-core {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8e9 0%, rgba(255, 217, 168, 0.9) 14%, rgba(255, 179, 122, 0.3) 38%, transparent 70%);
  box-shadow: 0 0 50px rgba(255, 217, 168, 0.3);
}
.orbit {
  position: absolute;
  border: 1px solid rgba(124, 240, 212, 0.16);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.orbit--a { width: 190px; height: 82px; }
.orbit--b { width: 280px; height: 122px; border-color: rgba(109, 139, 255, 0.14); transform: rotate(24deg); }
.orbit--c { width: 360px; height: 160px; border-color: rgba(179, 150, 255, 0.1); transform: rotate(-42deg); }
.star-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}
.star-dot--a { left: 27%; top: 38%; }
.star-dot--b { right: 24%; top: 44%; background: var(--warm); box-shadow: 0 0 7px var(--warm); }
.star-dot--c { left: 34%; bottom: 26%; background: var(--violet); box-shadow: 0 0 7px var(--violet); }
.star-dot--d { right: 34%; bottom: 21%; }
.star-dot--e { left: 55%; top: 23%; width: 3px; height: 3px; background: #cfe4ff; box-shadow: 0 0 6px #cfe4ff; }
.galaxy-note {
  position: relative;
  z-index: 2;
  width: min(78%, 300px);
  margin-top: 120px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(7, 13, 23, 0.56);
}
.galaxy-note span { color: var(--mint); font-size: 6.5px; letter-spacing: 0.14em; }
.galaxy-note p { margin: 6px 0 5px; color: #cbd9ee; font-size: 8.5px; line-height: 1.7; }
.galaxy-note small { color: var(--muted-2); font-size: 7px; }

/* ---------- changelog ---------- */

.scene--changelog { padding-top: 90px; padding-bottom: 44px; }
.changelog { display: flex; flex-direction: column; gap: 18px; }
.version-badges { display: flex; gap: 7px; flex: 0 0 auto; }
.version-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 94px;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.version-badge i { width: 5px; height: 5px; border-radius: 50%; margin-bottom: 2px; }
.version-badge small { color: var(--muted-2); font-size: 6.5px; letter-spacing: 0.08em; }
.version-badge b { color: var(--text); font-size: 16px; font-weight: 680; letter-spacing: -0.03em; }
.version-badge--stable i { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.version-badge--beta i { background: var(--warm); box-shadow: 0 0 8px var(--warm); }

.log-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr); gap: 20px; align-items: stretch; }
.log-list { position: relative; padding: 2px 0 2px 23px; }
.log-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, rgba(124, 240, 212, 0.5), rgba(109, 139, 255, 0.16), transparent);
}
.log-entry { position: relative; padding: 10px 0 16px 19px; }
.log-entry::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 14px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: var(--ink);
}
.log-entry.is-latest::before { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 0 4px rgba(124, 240, 212, 0.1), 0 0 14px rgba(124, 240, 212, 0.45); }
.log-entry__meta { display: flex; align-items: center; gap: 7px; color: var(--muted-2); font-size: 7.8px; letter-spacing: 0.04em; }
.log-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.log-tag { padding: 2px 6px; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--muted); font-size: 6.5px; }
.log-tag--mint { color: var(--mint); border-color: rgba(124, 240, 212, 0.2); }
.log-entry h3 { margin: 5px 0 6px; color: var(--text); font-size: 22px; font-weight: 680; letter-spacing: -0.03em; }
.log-entry.is-latest h3 { color: var(--mint); }
.log-entry p { max-width: 680px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.log-entry__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.log-entry__tags span {
  padding: 2px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 7.2px;
}

.roadmap { padding: 16px 17px; border-radius: 18px; }
.roadmap__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 10px;
  font-weight: 650;
}
.roadmap__head small { color: var(--muted-2); font-size: 6.5px; font-weight: 500; }
.roadmap__row {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}
.roadmap__row:last-of-type { border-bottom: 0; }
.status {
  display: inline-flex;
  justify-content: center;
  padding: 2px 5px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 6px;
  line-height: 1.4;
  white-space: nowrap;
}
.status--done { color: var(--mint); border-color: rgba(124, 240, 212, 0.18); background: rgba(124, 240, 212, 0.05); }
.status--doing { color: var(--warm); border-color: rgba(255, 179, 122, 0.18); background: rgba(255, 179, 122, 0.05); }
.status--next { color: var(--violet); border-color: rgba(179, 150, 255, 0.18); background: rgba(179, 150, 255, 0.05); }
.roadmap__row b { display: block; color: var(--text); font-size: 10.2px; font-weight: 620; line-height: 1.35; }
.roadmap__row small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 7.9px; line-height: 1.45; }
.roadmap__foot { margin: 9px 0 0; color: var(--muted-2); font-size: 7px; line-height: 1.55; }

.next-up {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 8px;
}
.next-up__label { color: var(--mint); font-size: 7px; font-weight: 700; letter-spacing: 0.12em; }
.next-up p { margin: 0; color: var(--text); font-size: 9px; }
.next-up small { margin-left: auto; color: var(--muted-2); font-size: 7.5px; white-space: nowrap; }

/* ---------- start ---------- */

.scene--start { padding-top: 90px; padding-bottom: 50px; }
.start-wrap { display: flex; justify-content: center; }
.start {
  position: relative;
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 30px;
  padding: 30px 34px 20px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.45);
  border-radius: 26px;
  color: #101827;
  background:
    radial-gradient(100% 150% at 0% 0%, rgba(255, 255, 255, 0.95), transparent 54%),
    linear-gradient(135deg, #fbfcfe, #edf1f7 68%, #e6ecf4);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 #fff;
}
.start::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 139, 255, 0.18), transparent 64%);
  pointer-events: none;
}
.start__glow {
  position: absolute;
  left: 20%;
  bottom: -130px;
  width: 400px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 240, 212, 0.2), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.start__main { position: relative; z-index: 1; }
.start .eyebrow { color: #68738a; }
.start .section-title { margin-top: 8px; color: #0b1423; font-size: clamp(36px, 4.2vw, 54px); }
.start .section-title em { color: #3157d5; background: none; -webkit-text-fill-color: currentColor; }
.start .section-lede { max-width: 470px; margin-top: 10px; color: #5f6a7e; font-size: 11.8px; line-height: 1.8; }
.start .section-lede b { color: #162033; }
.start__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.start__actions .btn { min-height: 38px; font-size: 10px; }
.start__group {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  color: #68738a;
  font-size: 8px;
}
.start__group button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(10, 18, 32, 0.12);
  border-radius: 6px;
  color: #1d2a40;
  background: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 650;
}
.start__group svg { width: 10px; height: 10px; }
.start__versions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.start-version {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid rgba(10, 18, 32, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.52);
}
.start-version span { color: #7a8598; font-size: 6.5px; font-weight: 700; letter-spacing: 0.08em; }
.start-version b { color: #101a2b; font-size: 18px; font-weight: 720; letter-spacing: -0.03em; }
.start-version small { color: #6a7486; font-size: 7.5px; line-height: 1.4; }
.start-version--beta { border-color: rgba(255, 179, 122, 0.3); background: rgba(255, 248, 239, 0.76); }
.start-version--beta span { color: #b06c34; }
.start-version--stable { border-color: rgba(87, 166, 144, 0.24); background: rgba(244, 253, 250, 0.7); }
.start-version--stable span { color: #397e6b; }

.start__steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 24px;
  border-left: 1px solid rgba(10, 18, 32, 0.1);
}
.step {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(10, 18, 32, 0.075);
}
.step:last-child { border-bottom: 0; }
.step > span { color: #3157d5; font-size: 8px; font-weight: 750; letter-spacing: 0.04em; padding-top: 2px; }
.step b { display: block; color: #101827; font-size: 10.4px; font-weight: 650; line-height: 1.4; }
.step small { display: block; margin-top: 2px; color: #707b8d; font-size: 7.8px; line-height: 1.45; word-break: break-all; }
.start__footer {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(10, 18, 32, 0.1);
  color: #717c8e;
  font-size: 8px;
}
.start__legal a { color: #3157d5; text-decoration: underline; text-decoration-color: rgba(49, 87, 213, 0.35); text-underline-offset: 2px; }
.start__legal a:hover { text-decoration-color: currentColor; }
.brand--footer { gap: 7px; }
.brand--footer .brand__mark { width: 24px; height: 24px; }
.brand--footer .brand__mark svg { width: 13px; height: 13px; }
.brand--footer .brand__text { color: #152033; font-size: 10px; }
.brand--footer .brand__text span { color: #8a94a5; font-size: 5.5px; }

/* ---------- loader / toast ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  background: var(--ink);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  animation: loaderFallback 0.45s ease 3s forwards;
}
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes loaderFallback {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader__mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124, 240, 212, 0.22);
  border-radius: 50%;
  color: var(--mint);
  box-shadow: 0 0 40px rgba(109, 139, 255, 0.16);
  animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader__mark svg { width: 24px; height: 24px; }
@keyframes loaderPulse { 50% { transform: scale(1.06); box-shadow: 0 0 60px rgba(124, 240, 212, 0.24); } }

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 80;
  max-width: min(88vw, 560px);
  padding: 10px 14px;
  border: 1px solid rgba(124, 240, 212, 0.2);
  border-radius: 10px;
  color: #dffcf5;
  background: rgba(8, 16, 27, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  font-size: 9px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(16px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

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

@media (max-width: 1200px) {
  .rail { display: none; }
  .nav__version { display: none; }
  .intro { gap: 32px; }
  .why-row { gap: 8px; }
  .feature-panel { gap: 22px; padding: 24px; }
}

@media (max-width: 1024px) {
  .nav__links { gap: 0; }
  .nav__links a { padding: 8px 10px; font-size: 10px; }
  .hero__title { font-size: clamp(68px, 11vw, 112px); }
  .hero__lede { font-size: clamp(25px, 3.7vw, 36px); }
  .intro__aside { min-height: 390px; }
  .chat { width: min(100%, 340px); }
  .feature-panel { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
  .ui-shot { width: min(100%, calc(44vh * 1.248)); }
}

@media (max-width: 960px) {
  .scene {
    height: auto;
    min-height: 100svh;
    padding: 92px 0 60px;
    overflow: visible;
  }
  .scene--intro { padding-bottom: 44px; }
  .scene--features, .scene--changelog, .scene--start { padding-top: 84px; }
  .nav { top: 10px; height: 56px; padding-left: 12px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__mark svg { width: 17px; height: 17px; }
  .nav__links { display: none; }
  .nav__actions { gap: 6px; }
  .nav__version { display: none; }
  .nav .btn { min-height: 34px; padding: 0 12px; font-size: 9px; }
  .nav__cta-label { white-space: nowrap; }
  .intro { grid-template-columns: 1fr; gap: 20px; }
  .intro__copy { max-width: 760px; }
  .hero__title { font-size: clamp(70px, 16vw, 120px); }
  .hero__lede { font-size: clamp(28px, 6vw, 42px); }
  .intro__aside { min-height: 350px; margin-top: 4px; }
  .float-chip--a { top: 10px; right: 4%; }
  .float-chip--b { bottom: 6px; right: 4%; }
  .why-row { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
  .why-card { min-height: 104px; }
  .hero__bottom { display: none; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-head__lede { max-width: 620px; text-align: left; padding: 0; }
  .page-head--log { align-items: flex-start; }
  .version-badges { margin-top: 8px; }
  .feature-tabs { width: 100%; }
  .feature-stage { overflow: hidden; }
  .feature-panel { grid-template-columns: 1fr; gap: 18px; min-height: 0; padding: 22px; }
  .feature-panel__copy > p { max-width: 620px; }
  .ui-shot { width: min(100%, 560px); justify-self: start; }
  .galaxy-visual { min-height: 330px; }
  .log-grid { grid-template-columns: 1fr; gap: 14px; }
  .roadmap { max-width: 680px; }
  .next-up { flex-wrap: wrap; }
  .next-up small { margin-left: 0; }
  .start { grid-template-columns: 1fr; gap: 18px; padding: 24px 22px 16px; }
  .start__steps { padding-left: 0; padding-top: 14px; border-top: 1px solid rgba(10, 18, 32, 0.1); border-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .step { padding: 8px 0; }
  .start__footer { margin-top: 8px; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .scene { padding-top: 84px; }
  .nav { width: 94vw; gap: 8px; }
  .nav .btn { width: 38px; min-width: 38px; padding: 0; }
  .nav__cta-label { display: none; }
  .brand__text { font-size: 12px; }
  .brand__text span { font-size: 6px; }
  .hero__title { font-size: clamp(62px, 19vw, 96px); }
  .hero__lede { font-size: clamp(27px, 8.2vw, 38px); }
  .hero__sub { font-size: 11.5px; }
  .hero__actions { gap: 8px; }
  .hero__actions .btn { min-height: 38px; padding: 0 13px; font-size: 9px; }
  .intro__meta { gap: 8px 12px; font-size: 8px; }
  .meta-stat b { font-size: 12px; }
  .why-row { grid-template-columns: 1fr; }
  .why-card { min-height: 0; padding: 13px 14px; }
  .why-card h3 { margin-top: 8px; }
  .intro__aside { width: 100%; min-height: 310px; overflow: hidden; }
  .chat { width: 100%; }
  .float-chip { display: none; }
  .feature-tab { padding: 8px 10px; }
  .feature-tab small { display: none; }
  .feature-tab > span { font-size: 6.5px; }
  .feature-panel { padding: 17px 15px 15px; gap: 15px; }
  .feature-panel__copy h3 { font-size: 25px; }
  .feature-panel__copy > p { font-size: 10px; }
  .ui-shot { border-radius: 12px; }
  .ui-shot__bar { padding: 6px 8px; font-size: 6px; }
  .ui-shot figcaption { padding: 6px 8px; font-size: 6px; }
  .persona-btn { padding: 6px 7px; }
  .galaxy-stats { gap: 16px; }
  .galaxy-visual { min-height: 300px; }
  .orbit--c { width: 280px; }
  .galaxy-note { width: 86%; margin-top: 96px; }
  .log-list { padding-left: 18px; }
  .log-list::before { left: 3px; }
  .log-entry { padding-left: 14px; }
  .log-entry::before { left: -18px; }
  .log-entry h3 { font-size: 16px; }
  .start { padding: 20px 16px 14px; border-radius: 18px; }
  .start .section-title { font-size: 36px; }
  .start__actions .btn { min-height: 36px; font-size: 9px; }
  .start__versions { grid-template-columns: 1fr; }
  .start__steps { grid-template-columns: 1fr; }
  .start__footer { flex-direction: column; align-items: flex-start; gap: 5px; }
  .start__footer > span:last-child { font-size: 6.5px; }
  .toast { bottom: 20px; font-size: 8px; }
}

@media (max-height: 800px) and (min-width: 961px) {
  .scene--intro { padding-top: 84px; padding-bottom: 40px; }
  .intro { gap: 34px; }
  .hero__title { font-size: clamp(70px, 9.2vw, 112px); }
  .hero__lede { font-size: clamp(24px, 2.8vw, 36px); }
  .hero__sub { font-size: 11.5px; line-height: 1.75; }
  .hero__actions { margin: 18px 0 14px; }
  .intro__aside { min-height: 330px; }
  .why-row { margin-top: 14px; }
  .why-card { min-height: 96px; padding: 12px 13px; }
  .why-card h3 { margin-top: 8px; font-size: 11px; }
  .why-card p { font-size: 8.8px; }
  .scene--features { padding-top: 78px; }
  .feature-page { gap: 10px; }
  .page-head h2 { font-size: 40px; }
  .feature-tabs { padding: 4px; }
  .feature-tab { padding: 7px 10px; }
  .feature-panel { min-height: 390px; padding: 20px 24px; }
  .feature-panel__copy h3 { font-size: 28px; margin: 7px 0 8px; }
  .feature-panel__copy > p { font-size: 9.5px; line-height: 1.65; }
  .check-list { margin-top: 11px; gap: 6px; }
  .ui-shot { width: min(100%, calc(43vh * 1.248)); }
  .scene--changelog { padding-top: 80px; }
  .changelog { gap: 12px; }
  .log-entry { padding-top: 5px; padding-bottom: 9px; }
  .log-entry h3 { font-size: 16px; }
  .log-entry p { font-size: 8.5px; }
  .roadmap { padding: 12px 14px; }
  .roadmap__row { padding: 6px 0; }
  .next-up { padding: 7px 11px; }
  .scene--start { padding-top: 78px; }
  .start { padding: 24px 28px 16px; }
  .start .section-title { font-size: 44px; }
  .start__actions { margin-top: 12px; }
  .start__versions { margin-top: 10px; }
  .step { padding: 7px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
}
