:root {
  --aqua: #68DED6;
  --aqua-bright: #7AE8E0;
  --aqua-deep: #3DB8B0;
  --aqua-glow: rgba(104, 222, 214, 0.45);
  --cream: #FFF9F3;
  --cream-2: #FEF3E8;
  --sand: #F5E6D6;
  --mint: #E8FAF8;
  --ink: #1A2E32;
  --ink-soft: #3D5A60;
  --muted: #6B8488;
  --white: #FFFFFF;
  --line: rgba(26, 46, 50, 0.08);
  --line-strong: rgba(26, 46, 50, 0.14);
  --shadow: 0 24px 64px rgba(26, 46, 50, 0.1);
  --shadow-lg: 0 40px 100px rgba(26, 46, 50, 0.14);
  --r: 16px;
  --rl: 24px;
  --pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --nav-h: 72px;
}

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

html {
  background: var(--cream);
  color-scheme: light;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ─── Ambient background ─── */
.bg-base {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at -5% 0%, rgba(122, 232, 224, 0.35), transparent 55%),
    radial-gradient(700px 420px at 105% 8%, rgba(245, 230, 214, 0.55), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--mint) 55%, var(--cream-2) 100%);
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.72;
  animation: orb-drift 18s ease-in-out infinite, orb-hue 10s ease-in-out infinite alternate;
}

.orb-1 { animation-delay: 0s, 0s; }
.orb-2 { animation-delay: -8s, -4s; }
.orb-3 { animation-delay: -14s, -8s; }

.orb-1 {
  width: 560px;
  height: 560px;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(104, 222, 214, 0.45), transparent 68%);
}

.orb-2 {
  width: 480px;
  height: 480px;
  top: 18%;
  right: -10%;
  background: radial-gradient(circle, rgba(245, 230, 214, 0.5), transparent 65%);
}

.orb-3 {
  width: 640px;
  height: 640px;
  bottom: -18%;
  left: 28%;
  background: radial-gradient(circle, rgba(122, 232, 224, 0.28), transparent 70%);
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(48px, -36px) scale(1.12); }
  66% { transform: translate(-32px, 28px) scale(0.92); }
}

@keyframes orb-hue {
  0% { filter: blur(80px) hue-rotate(0deg); opacity: 0.62; }
  100% { filter: blur(88px) hue-rotate(28deg); opacity: 0.85; }
}

.bg-aurora {
  position: fixed;
  inset: -15%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
  background:
    radial-gradient(ellipse 55% 45% at 18% 35%, rgba(104, 222, 214, 0.55), transparent 58%),
    radial-gradient(ellipse 48% 38% at 82% 18%, rgba(122, 232, 224, 0.42), transparent 55%),
    radial-gradient(ellipse 42% 50% at 58% 88%, rgba(82, 207, 199, 0.38), transparent 58%);
  filter: blur(36px);
  animation: aurora-shift 14s ease-in-out infinite alternate;
}

@keyframes aurora-shift {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(2%, -3%) rotate(2deg) scale(1.06); }
  100% { transform: translate(-3%, 2%) rotate(-2deg) scale(1.1); }
}

.bg-shimmer {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.75;
  background:
    conic-gradient(from 210deg at 50% 50%,
      transparent 0deg,
      rgba(122, 232, 224, 0.22) 55deg,
      rgba(255, 255, 255, 0.55) 95deg,
      rgba(104, 222, 214, 0.28) 140deg,
      transparent 220deg,
      rgba(245, 230, 214, 0.35) 300deg,
      transparent 360deg);
  animation: shimmer-spin 22s linear infinite;
}

@keyframes shimmer-spin {
  0% { transform: rotate(0deg) scale(1.35); }
  100% { transform: rotate(360deg) scale(1.35); }
}

.bg-sweep {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.55;
  background: linear-gradient(
    112deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.72) 50%,
    transparent 58%,
    transparent 100%
  );
  background-size: 280% 100%;
  animation: light-sweep 7s ease-in-out infinite;
}

@keyframes light-sweep {
  0%, 100% { background-position: 120% 0; opacity: 0.35; }
  50% { background-position: -20% 0; opacity: 0.7; }
}

.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.bg-particle {
  position: absolute;
  left: var(--x);
  top: -14%;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, rgba(122, 232, 224, 0.95) 35%, rgba(61, 184, 176, 0.55) 100%);
  box-shadow:
    0 0 12px rgba(104, 222, 214, 0.85),
    0 0 28px rgba(122, 232, 224, 0.45);
  opacity: 0;
  animation: particle-fall var(--dur) linear infinite;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

.bg-particle--spark {
  background: radial-gradient(circle at 35% 35%, #fff, rgba(104, 222, 214, 0.9));
  box-shadow: 0 0 8px rgba(104, 222, 214, 0.95), 0 0 16px rgba(122, 232, 224, 0.6);
}

.bg-particle--glow {
  filter: blur(1px);
  background: radial-gradient(circle, rgba(122, 232, 224, 0.95), rgba(104, 222, 214, 0.25) 70%, transparent 100%);
  box-shadow: 0 0 40px rgba(104, 222, 214, 0.65);
}

.bg-particle::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

@keyframes particle-fall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg) scale(0.6);
    opacity: 0;
  }
  6% { opacity: 1; }
  88% { opacity: 0.75; }
  100% {
    transform: translate3d(var(--drift), 115vh, 0) rotate(calc(var(--spin) * 1deg)) scale(1);
    opacity: 0;
  }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(61, 184, 176, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 184, 176, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 15%, transparent 78%);
  animation: grid-drift 24s linear infinite;
}

@keyframes grid-drift {
  0% { background-position: 0 0, 0 0; opacity: 0.32; }
  50% { opacity: 0.45; }
  100% { background-position: 48px 48px, 48px 48px; opacity: 0.32; }
}

#nav, main, footer { position: relative; z-index: 10; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ─── Nav ─── */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

#nav.solid {
  background: rgba(255, 249, 243, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}

.nav-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px var(--aqua-glow);
}

.brand-mark img { width: 100%; height: 100%; }

.nav-pills {
  display: flex;
  gap: 4px;
  margin-left: auto;
  padding: 4px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.nav-pills a {
  padding: 8px 16px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}

.nav-pills a:hover {
  color: var(--ink);
  background: rgba(104, 222, 214, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--pill);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn-aqua {
  background: linear-gradient(135deg, var(--aqua-bright), var(--aqua-deep));
  color: var(--ink);
  box-shadow: 0 10px 32px var(--aqua-glow);
}

.btn-aqua:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(104, 222, 214, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--aqua);
}

.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ─── Splash hero ─── */
.splash {
  padding: clamp(32px, 6vw, 56px) 0 clamp(48px, 8vw, 80px);
  position: relative;
}

.splash::before {
  content: "";
  position: absolute;
  inset: 0 0 40%;
  background: linear-gradient(135deg, rgba(122, 232, 224, 0.28) 0%, transparent 60%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  pointer-events: none;
}

.splash-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.splash-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  box-shadow: 0 4px 16px rgba(26, 46, 50, 0.06);
  margin-bottom: 20px;
}

.splash-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua-deep);
  box-shadow: 0 0 0 4px rgba(104, 222, 214, 0.3);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

.splash h1 {
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0;
}

.splash h1 em {
  font-style: normal;
  display: block;
  color: var(--aqua-deep);
  background: linear-gradient(135deg, #2A9A94 0%, #52CFC7 55%, #3DB8B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-lead {
  margin: 20px 0 0;
  max-width: 42ch;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.splash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.install-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  max-width: 100%;
}

.install-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  width: fit-content;
  max-width: 100%;
}

.browser-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--rl);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  width: fit-content;
  max-width: 100%;
}

.browser-row__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 4px;
}

.browser-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.browser-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border-radius: var(--pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
  cursor: default;
}

.browser-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(104, 222, 214, 0.45);
  box-shadow: 0 6px 18px rgba(26, 46, 50, 0.08);
}

.browser-chip img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  border-radius: 5px;
}

.install-strip__ver {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--aqua-deep);
  padding: 2px 8px;
  border-radius: var(--pill);
  background: rgba(104, 222, 214, 0.18);
}

.install-strip__sep { opacity: 0.45; user-select: none; }

.install-strip__link {
  color: var(--aqua-deep);
  font-weight: 700;
  transition: color 0.15s;
}

.install-strip__link:hover { color: var(--ink); }

.install-strip code {
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(26, 46, 50, 0.06);
  color: var(--ink-soft);
}

.splash-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed var(--line-strong);
}

.stat {
  min-width: 100px;
}

.stat-val {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--aqua-deep);
}

.stat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}

.splash-visual {
  position: relative;
  min-height: 460px;
}

/* ─── 3D extension panel scene ─── */
.ext-scene {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  perspective: 1400px;
  min-height: 440px;
}

.ext-scene--flat {
  perspective: none;
  max-width: 380px;
}

.ext-scene__halo {
  position: absolute;
  inset: -40px -32px;
  background: radial-gradient(ellipse 75% 65% at 50% 45%, rgba(104, 222, 214, 0.38), rgba(122, 232, 224, 0.12) 50%, transparent 72%);
  border-radius: 48px;
  z-index: 0;
  animation: halo-pulse 5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes halo-pulse {
  0% { opacity: 0.65; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1.04); }
}

.ext-scene__inner {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  animation: panel-float 7s ease-in-out infinite;
}

.ext-scene--flat .ext-scene__inner { animation: none; }

@keyframes panel-float {
  0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(2deg) translateY(-14px); }
}

.ext-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(26, 46, 50, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(12px);
  animation: badge-float 4.5s ease-in-out infinite;
  white-space: nowrap;
}

.ext-badge strong {
  font-family: var(--display);
  font-weight: 800;
  color: var(--aqua-deep);
}

.ext-badge--a { top: 2%; left: -6%; animation-delay: 0s; }
.ext-badge--b { bottom: 8%; right: -4%; animation-delay: -1.8s; }

@keyframes badge-float {
  0%, 100% { transform: translateY(0) translateZ(24px); }
  50% { transform: translateY(-10px) translateZ(32px); }
}

.ext-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(104, 222, 214, 0.35);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.99) 0%, rgba(232, 250, 248, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 32px 80px rgba(26, 46, 50, 0.14),
    0 0 60px rgba(104, 222, 214, 0.22);
  transform: translateZ(0);
}

.ext-panel--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(122, 232, 224, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.ext-chrome {
  display: flex;
  gap: 6px;
  padding: 12px 14px 0;
}

.ext-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(26, 46, 50, 0.12);
}

.ext-chrome span:first-child { background: #52CFC7; }
.ext-chrome span:nth-child(2) { background: rgba(82, 207, 199, 0.45); }
.ext-chrome span:nth-child(3) { background: rgba(82, 207, 199, 0.22); }

.ext-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--line);
}

.ext-head-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ext-head-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--aqua-glow);
}

.ext-title {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

.ext-tag {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.ext-add {
  flex-shrink: 0;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(104, 222, 214, 0.45);
  background: rgba(104, 222, 214, 0.14);
  color: var(--aqua-deep);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease);
}

.ext-add:hover {
  background: rgba(104, 222, 214, 0.28);
  transform: translateY(-1px);
}

.ext-stats {
  display: flex;
  gap: 14px;
  padding: 8px 14px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.ext-stats b {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 800;
}

.ext-stats-note {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  opacity: 0.85;
}

.ext-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(104, 222, 214, 0.35);
  background: linear-gradient(135deg, rgba(104, 222, 214, 0.18), rgba(255, 249, 243, 0.9));
  box-shadow: 0 0 24px rgba(104, 222, 214, 0.12);
}

.ext-launch-title {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.ext-launch-sub {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted);
}

.ext-launch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--aqua-bright), var(--aqua-deep));
  color: var(--ink);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--aqua-glow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.ext-launch-btn svg { width: 10px; height: 10px; }

.ext-launch-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px rgba(104, 222, 214, 0.55);
}

.ext-launch-btn--pulse {
  animation: launch-pulse 2.4s ease-in-out infinite;
}

@keyframes launch-pulse {
  0%, 100% { box-shadow: 0 8px 24px var(--aqua-glow); }
  50% { box-shadow: 0 8px 36px rgba(104, 222, 214, 0.65), 0 0 0 6px rgba(104, 222, 214, 0.15); }
}

.ext-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ext-count {
  padding: 1px 7px;
  border-radius: var(--pill);
  background: rgba(104, 222, 214, 0.2);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--aqua-deep);
}

.ext-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 10px 10px;
}

.ext-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
  animation: row-in 0.6s var(--ease) both;
}

@keyframes row-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.ext-row:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--line);
  transform: translateX(3px);
}

.ext-row--live {
  border-color: rgba(104, 222, 214, 0.4);
  background: linear-gradient(90deg, rgba(104, 222, 214, 0.12), rgba(255, 255, 255, 0.7));
}

.ext-row--sel {
  border-color: rgba(61, 184, 176, 0.35);
  box-shadow: inset 3px 0 0 var(--aqua-deep);
}

.ext-ava {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--mint);
  border: 1px solid rgba(104, 222, 214, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--aqua-deep);
  font-family: var(--display);
}

.ext-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ext-info {
  flex: 1;
  min-width: 0;
}

.ext-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ext-meta {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.ext-status {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ext-status--live {
  padding: 3px 8px;
  border-radius: var(--pill);
  color: var(--aqua-deep);
  background: rgba(104, 222, 214, 0.25);
  border: 1px solid rgba(104, 222, 214, 0.4);
}

.ext-status--idle { color: #C49A3A; }
.ext-status--off { color: var(--muted); }

.ext-join {
  flex-shrink: 0;
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid rgba(61, 184, 176, 0.4);
  background: rgba(104, 222, 214, 0.12);
  color: var(--aqua-deep);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.ext-join:hover {
  background: rgba(104, 222, 214, 0.28);
  transform: scale(1.06);
}

.ext-foot {
  display: flex;
  gap: 6px;
  padding: 11px 12px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 249, 243, 0.6);
}

.ext-foot-btn {
  flex: 1;
  text-align: center;
  padding: 9px 6px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-family: var(--body);
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}

.ext-foot-btn:hover {
  color: var(--ink);
  border-color: rgba(104, 222, 214, 0.45);
  transform: translateY(-1px);
}

.ext-foot-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1.4;
  background: linear-gradient(135deg, var(--aqua-bright), var(--aqua-deep));
  color: var(--ink);
  border-color: transparent;
  font-family: var(--display);
  font-weight: 800;
  box-shadow: 0 6px 20px var(--aqua-glow);
}

.ext-foot-btn--primary svg { width: 9px; height: 9px; }

.ext-foot-btn--primary:hover {
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(104, 222, 214, 0.5);
}

.float-tag {
  position: absolute;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 700;
  animation: float-y 4s ease-in-out infinite;
}

.float-tag--a { top: 8%; left: -4%; animation-delay: 0s; }
.float-tag--b { bottom: 12%; right: -2%; animation-delay: 1.2s; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── Bento features ─── */
.bento-sec {
  padding: clamp(64px, 10vw, 100px) 0;
}

.sec-head {
  max-width: 560px;
  margin-bottom: 40px;
}

.sec-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  margin-bottom: 12px;
}

.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

.sec-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
}

.bento-card {
  padding: 24px;
  border-radius: var(--rl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(26, 46, 50, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  overflow: hidden;
  position: relative;
}

.bento-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  border-color: rgba(104, 222, 214, 0.45);
  box-shadow: 0 28px 64px rgba(26, 46, 50, 0.12), 0 0 40px rgba(104, 222, 214, 0.12);
}

.bento-card--hero {
  grid-column: span 7;
  grid-row: span 2;
  background: linear-gradient(145deg, var(--mint) 0%, var(--white) 60%);
  padding: 32px;
}

.bento-card--tall {
  grid-column: span 5;
  grid-row: span 2;
}

.bento-card--wide { grid-column: span 7; }
.bento-card--sm { grid-column: span 5; }
.bento-card--half { grid-column: span 6; }

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--aqua-bright), var(--aqua));
  color: var(--ink);
  font-size: 20px;
  flex-shrink: 0;
}

.bento-card h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.bento-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.bento-card--hero .bento-visual {
  margin-top: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.bento-visual--windows {
  position: relative;
  height: 132px;
  background: linear-gradient(145deg, rgba(104, 222, 214, 0.12), rgba(255, 249, 243, 0.9));
}

.bento-visual--windows::before,
.bento-visual--windows::after {
  content: "";
  position: absolute;
  border-radius: 10px;
  background: var(--cream);
  border: 2px solid var(--aqua);
  box-shadow: 0 8px 24px rgba(26, 46, 50, 0.08);
}

.bento-visual--windows::before {
  left: 10%;
  top: 22%;
  width: 36%;
  height: 62%;
  transform: rotate(-7deg);
  background:
    linear-gradient(180deg, rgba(26, 46, 50, 0.08) 0 18%, transparent 18%),
    var(--cream);
}

.bento-visual--windows::after {
  right: 8%;
  top: 10%;
  width: 44%;
  height: 72%;
  transform: rotate(5deg);
  border-width: 2px;
  border-color: var(--aqua-deep);
  background:
    linear-gradient(180deg, var(--aqua-bright) 0 20%, transparent 20%),
    linear-gradient(180deg, rgba(104, 222, 214, 0.22) 28%, transparent 28%),
    var(--cream);
  box-shadow: 0 12px 32px rgba(26, 46, 50, 0.12);
}

.bento-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 800;
  color: var(--aqua);
  opacity: 0.18;
  line-height: 1;
}

/* ─── Showcase split ─── */
.showcase-sec {
  padding: clamp(64px, 10vw, 96px) 0;
  background: linear-gradient(180deg, transparent, rgba(104, 222, 214, 0.12) 50%, transparent);
}

.showcase-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.showcase-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.showcase-points li:hover {
  transform: translateX(6px);
  border-color: rgba(104, 222, 214, 0.4);
  box-shadow: 0 8px 24px rgba(26, 46, 50, 0.06);
}

.showcase-points strong {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.showcase-points-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(104, 222, 214, 0.25), rgba(122, 232, 224, 0.12));
  color: var(--aqua-deep);
  font-size: 12px;
  font-weight: 800;
}

.sec-head h2 em {
  font-style: normal;
  color: var(--aqua-deep);
}

/* ─── Timeline how ─── */
.timeline-sec {
  padding: clamp(64px, 10vw, 96px) 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--aqua), var(--sand));
  border-radius: 2px;
}

.tl-item {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 24px;
  padding: 32px 0;
  align-items: start;
}

.tl-num {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--white);
  border: 2px solid var(--aqua);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  color: var(--aqua-deep);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px var(--aqua-glow);
}

.tl-copy h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.tl-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 40ch;
}

.tl-visual {
  padding: 20px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.tl-visual svg { width: 48px; height: 48px; color: var(--aqua-deep); }

/* ─── Stagger use cases ─── */
.stagger-sec {
  padding: clamp(64px, 10vw, 96px) 0;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.stagger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stagger-card {
  padding: 28px 24px;
  border-radius: var(--rl);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease);
}

.stagger-card:nth-child(1) { background: linear-gradient(160deg, var(--mint), var(--white)); transform: translateY(24px); }
.stagger-card:nth-child(2) { background: linear-gradient(160deg, var(--cream-2), var(--white)); margin-top: 0; }
.stagger-card:nth-child(3) { background: linear-gradient(160deg, var(--sand), var(--white)); transform: translateY(12px); }

.stagger-card:hover { transform: translateY(0) scale(1.02); }

.stagger-card::after {
  content: attr(data-n);
  position: absolute;
  bottom: -12px;
  right: 12px;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 800;
  color: var(--aqua);
  opacity: 0.12;
  line-height: 1;
}

.stagger-card h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
}

.stagger-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.62;
}

/* ─── FAQ band ─── */
.faq-sec {
  padding: clamp(64px, 10vw, 96px) 0;
}

.faq-band {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--aqua-bright) 0%, var(--aqua) 45%, #52CFC7 100%);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.faq-band-aside h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.03em;
}

.faq-band-aside p {
  margin: 14px 0 24px;
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.6;
}

.faq-band-aside .btn {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(26, 46, 50, 0.25);
}

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: none;
  background: transparent;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--aqua-deep);
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }

.faq-a-inner p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.62;
}

.faq-a-inner code {
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(104, 222, 214, 0.25);
}

/* ─── Footer ─── */
.site-foot {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}

.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-left p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 36ch;
}

.foot-copy {
  width: 100%;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ─── Modal ─── */
.mrm-add-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.mrm-add-modal.is-open { opacity: 1; visibility: visible; }

.mrm-add-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 50, 0.5);
  backdrop-filter: blur(8px);
}

.mrm-add-modal__panel {
  position: relative;
  width: min(400px, 100%);
  padding: 32px 28px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s var(--ease);
}

.mrm-add-modal.is-open .mrm-add-modal__panel {
  transform: translateY(0) scale(1);
}

.mrm-add-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
}

.mrm-add-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px var(--aqua-glow);
}

.mrm-add-modal__icon img { width: 100%; height: 100%; }

.mrm-add-modal__title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
}

.mrm-add-modal__text {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.62;
}

.mrm-add-modal__dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--pill);
  background: linear-gradient(135deg, var(--aqua-bright), var(--aqua-deep));
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}


.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.rv.in { opacity: 1; transform: translateY(0); }
.rv.d1 { transition-delay: 0.06s; }
.rv.d2 { transition-delay: 0.12s; }
.rv.d3 { transition-delay: 0.18s; }

@media (max-width: 960px) {
  .splash-grid, .showcase-split, .faq-band, .tl-item { grid-template-columns: 1fr; }
  .splash-visual { order: -1; min-height: auto; }
  .ext-badge, .float-tag { display: none; }
  .ext-scene__inner { animation: none; }
  .browser-row { width: 100%; }
  .browser-list { gap: 4px; }
  .browser-chip span { display: inline; }
  .browser-chip { padding: 6px 8px; }
  .bento-card--hero, .bento-card--tall, .bento-card--wide, .bento-card--sm, .bento-card--half { grid-column: span 12; }
  .stagger-grid { grid-template-columns: 1fr; }
  .stagger-card:nth-child(n) { transform: none; }
  .timeline::before { display: none; }
  .tl-item { grid-template-columns: 1fr; gap: 12px; }
  .nav-pills { display: none; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  .rv, .float-tag, .ext-badge, .splash-badge-dot, .orb, .ext-scene__halo,
  .ext-scene__inner, .ext-launch-btn--pulse, .ext-row, .bg-aurora, .bg-shimmer,
  .bg-sweep, .bg-grid, .bg-particle {
    animation: none; transition: none; opacity: 1; transform: none;
  }
  .bg-particles { display: none; }
  .bg-shimmer, .bg-sweep { opacity: 0; }
  .btn-aqua:hover, .bento-card:hover, .stagger-card:hover { transform: none; }
}
