:root {
  --ink: #0c1222;
  --ink-soft: #243044;
  --muted: #5a6b82;
  --paper: #eef2f7;
  --paper-deep: #d9e2ef;
  --accent: #1f6feb;
  --accent-deep: #1557c0;
  --line: rgba(15, 23, 42, 0.12);
  --glow: rgba(31, 111, 235, 0.18);
  --radius: 18px;
  --feature-wide-copy: 0.62fr;
  --feature-wide-shot: 1.38fr;
  --header-height: 4.5rem;
  --page-height: calc(100svh - var(--header-height));
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-padding-top: var(--header-height);
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  background: linear-gradient(165deg, #f7f9fc 0%, var(--paper) 48%, #e7edf6 100%);
}

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

.ambient-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform, opacity;
}

.ambient-bg__blob--blue {
  width: min(1200px, 95vw);
  height: min(700px, 65vh);
  top: -12%;
  left: -8%;
  background: radial-gradient(
    ellipse at 42% 38%,
    rgba(199, 218, 247, 0.82) 0%,
    rgba(199, 218, 247, 0.35) 42%,
    transparent 72%
  );
  animation: blob-breathe 14s ease-in-out infinite;
}

.ambient-bg__blob--green {
  width: min(920px, 80vw);
  height: min(620px, 58vh);
  top: 2%;
  right: -10%;
  background: radial-gradient(
    ellipse at 58% 42%,
    rgba(184, 208, 200, 0.78) 0%,
    rgba(184, 208, 200, 0.32) 44%,
    transparent 72%
  );
  animation: blob-breathe 17s ease-in-out infinite;
  animation-delay: -6s;
}

@keyframes blob-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) translate3d(0, -1.5%, 0);
  }
}

body::before {
  z-index: 2;
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 20%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 48px 24px, 24px 48px;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-scale {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes hint-bounce {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 6px, 0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(31, 111, 235, 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(31, 111, 235, 0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

a {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0;
  overflow-x: clip;
}

.shell.legal {
  padding-top: var(--header-height);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(247, 249, 252, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s var(--transition-smooth), opacity 0.35s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.site-header .top {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  animation: rise 0.7s ease both;
}

.mark {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--ink-soft);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.is-active {
  color: var(--accent-deep);
  font-weight: 700;
}

.nav-links a.is-active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 111, 235, 0.25);
}

.nav-cta.is-active {
  color: #fff !important;
}

.nav-cta.is-active::after {
  display: none;
}

.site-deck {
  padding-top: var(--header-height);
}

/* ── 全页分页：固定舞台 + 滚动轨道，JS 切换 ── */
.page {
  position: relative;
}

.page-stage {
  position: sticky;
  top: var(--header-height);
  height: var(--page-height);
  display: flex;
  align-items: center;
  z-index: 2;
  overflow: hidden;
}

.page-track {
  pointer-events: none;
}

.page[data-steps="1"] .page-track {
  height: 0;
}

.page[data-steps="2"] .page-track {
  height: var(--page-height);
}

.page[data-steps="3"] .page-track {
  height: calc(var(--page-height) * 2);
}

.page[data-steps="4"] .page-track {
  height: calc(var(--page-height) * 3);
}

/* ── 页面内容动画 ── */
.page-stage > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--transition-smooth),
    transform 0.6s var(--transition-smooth);
}

.page.is-visible .page-stage > * {
  opacity: 1;
  transform: translateY(0);
}

.page.is-visible .page-stage > *:nth-child(1) { transition-delay: 0.05s; }
.page.is-visible .page-stage > *:nth-child(2) { transition-delay: 0.12s; }
.page.is-visible .page-stage > *:nth-child(3) { transition-delay: 0.19s; }
.page.is-visible .page-stage > *:nth-child(4) { transition-delay: 0.26s; }

/* Hero 区块 stagger 动画 */
.hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s var(--transition-smooth),
    transform 0.55s var(--transition-smooth);
}

.page.is-visible .hero-copy > * {
  opacity: 1;
  transform: translateY(0);
}

.page.is-visible .hero-copy > *:nth-child(1) { transition-delay: 0.08s; }
.page.is-visible .hero-copy > *:nth-child(2) { transition-delay: 0.15s; }
.page.is-visible .hero-copy > *:nth-child(3) { transition-delay: 0.22s; }
.page.is-visible .hero-copy > *:nth-child(4) { transition-delay: 0.29s; }
.page.is-visible .hero-copy > *:nth-child(5) { transition-delay: 0.36s; }
.page.is-visible .hero-copy > *:nth-child(6) { transition-delay: 0.43s; }
.page.is-visible .hero-copy > *:nth-child(7) { transition-delay: 0.50s; }

.hero-visual {
  opacity: 0;
  transform: translateX(30px) scale(0.97);
  transition:
    opacity 0.8s var(--transition-smooth) 0.2s,
    transform 0.8s var(--transition-smooth) 0.2s;
}

.page.is-visible .hero-visual {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* ── 页面指示器 ── */
.page-indicator {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-indicator.is-visible {
  opacity: 1;
  visibility: visible;
}

.page-indicator__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.15);
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s var(--transition-bounce),
    box-shadow 0.3s ease;
  position: relative;
}

.page-indicator__dot:hover {
  background: rgba(31, 111, 235, 0.5);
  transform: scale(1.3);
}

.page-indicator__dot.is-active {
  background: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.15);
}

.page-indicator__dot::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 0.3rem 0.6rem;
  background: var(--ink-soft);
  color: #fff;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.page-indicator__dot:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.page-stage--hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 1rem 0;
}

.page-stage--story {
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 0;
  overflow: visible;
}

.page-stage--story .section-head--story {
  margin-bottom: 0;
  flex-shrink: 0;
}

.page-stage--story .section-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.page-stage--story .story-scrolly {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: visible;
}

.page-stage--center {
  justify-content: center;
}

.page-stage--beta {
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  overflow-y: auto;
  padding: 1.25rem 0 1.5rem;
  scrollbar-gutter: stable;
}

.page-stage--beta .site-footer {
  margin-top: 2rem;
  flex-shrink: 0;
}

.brand {
  margin: 0 0 0.85rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.headline {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink-soft);
}

.lede {
  margin: 0 0 1.25rem;
  max-width: 38ch;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--muted);
}

.lede-strong {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 12px 28px var(--glow);
  transition:
    background 0.2s ease,
    transform 0.25s var(--transition-smooth),
    box-shadow 0.25s ease;
}

.cta:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(31, 111, 235, 0.28);
}

.cta:active {
  transform: translateY(0);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  box-shadow: none;
}

.cta-secondary:hover {
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.meta {
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-steps {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  max-width: 38ch;
}

.hero-steps li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.hero-steps__n {
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: rgba(31, 111, 235, 0.12);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45rem;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s var(--transition-bounce);
}

.hero-steps li:hover .hero-steps__n {
  background: rgba(31, 111, 235, 0.2);
  transform: scale(1.15);
}

.hero-steps strong {
  font-weight: 700;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.scroll-hint:hover {
  color: var(--accent);
}

.scroll-hint__icon {
  display: inline-block;
  animation: hint-bounce 2s ease-in-out infinite;
}

.desk {
  position: relative;
  z-index: 0;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(238, 244, 252, 0.88)),
    var(--paper-deep);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 28px 60px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  padding: 1rem;
  animation: float-soft 7s 1.1s ease-in-out infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.desk-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.75rem;
  height: calc(100% - 1.4rem);
}

.chrome {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.chrome span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #c5d0df;
}

.chrome span:nth-child(1) {
  background: #f0b4a8;
}

.chrome span:nth-child(2) {
  background: #e6d08a;
}

.chrome span:nth-child(3) {
  background: #9fc7a8;
}

.pane {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.75rem;
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s ease;
}

.pane:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.pane-title {
  margin: 0 0 0.65rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  padding: 0.55rem 0.6rem;
  border-radius: 9px;
  background: rgba(238, 244, 252, 0.9);
  transition: background 0.25s ease, transform 0.25s var(--transition-smooth);
}

.row:hover {
  transform: translateX(3px);
}

.row.is-active {
  background: rgba(31, 111, 235, 0.1);
  outline: 1px solid rgba(31, 111, 235, 0.25);
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.row p {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.note {
  margin: 0;
  padding: 0.65rem 0.7rem;
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
  transition: background 0.2s ease;
}

.note:hover {
  background: rgba(15, 23, 42, 0.07);
}

.note + .note {
  margin-top: 0.5rem;
}

.shot {
  position: relative;
  z-index: 0;
  border-radius: calc(var(--radius) + 4px);
  transition:
    transform 0.45s var(--transition-smooth),
    box-shadow 0.45s ease,
    z-index 0s;
  transform-origin: center center;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 28px 60px rgba(15, 23, 42, 0.12);
  transition: box-shadow 0.45s ease;
}

.shot:hover {
  z-index: 3;
  transform: scale(1.1);
}

.shot:hover img {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 36px 72px rgba(15, 23, 42, 0.18);
}

.section {
  padding: 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--transition-smooth), transform 0.55s var(--transition-smooth);
}

.page.is-visible .section-head {
  opacity: 1;
  transform: translateY(0);
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink-soft);
}

.section-lede {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--muted);
}

.section-head--for-whom {
  max-width: 36rem;
}

/* ── 演示步骤：右文叠放切换 ── */
/*
 * --story-copy-gap：图片与文字的固定间距
 * --story-copy-min：文字列最小宽度（调大图片时可适当减小）
 * --story-frame-scale-N：各步骤图片容器缩放（1 = 默认）
 */
:root {
  --story-copy-gap: 2.5rem;
  --story-copy-min: 17rem;
  --story-frame-scale-0: 1.2;
  --story-frame-scale-1: 1.2;
  --story-frame-scale-2: 1;
  --story-frame-scale-3: 1;
}

.story-scrolly {
  display: flex;
  align-items: center;
  gap: var(--story-copy-gap);
  width: 100%;
  overflow: visible;
}

.story-visual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  padding: 0;
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.6s var(--transition-smooth) 0.1s,
    transform 0.6s var(--transition-smooth) 0.1s,
    width 0.58s var(--transition-smooth);
}

.page.is-visible .story-visual {
  opacity: 1;
  transform: translateX(0);
}

.story-frame-shell {
  width: 100%;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  overflow: visible;
  box-sizing: border-box;
}

.story-copy {
  position: relative;
  flex: 1 1 0;
  min-width: var(--story-copy-min);
  align-self: center;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s var(--transition-smooth) 0.18s, transform 0.6s var(--transition-smooth) 0.18s;
}

.page.is-visible .story-copy {
  opacity: 1;
  transform: translateX(0);
}

.story-frame {
  position: relative;
  margin: 0 auto;
  width: 100%;
  min-height: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 28px 60px rgba(15, 23, 42, 0.12);
  transition:
    height 0.58s var(--transition-smooth),
    transform 0.45s var(--transition-smooth),
    box-shadow 0.45s ease;
  transform-origin: center center;
  z-index: 0;
}

.story-frame-shell:hover .story-frame {
  z-index: 3;
  transform: scale(1.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 36px 72px rgba(15, 23, 42, 0.18);
}

.story-frame__img {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: calc(var(--radius) + 4px);
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transform-origin: center center;
  transition:
    opacity 0.52s var(--transition-smooth),
    transform 0.58s var(--transition-smooth),
    visibility 0.52s ease;
  pointer-events: none;
  z-index: 0;
  will-change: opacity, transform;
}

.story-frame__img.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}

.story-frame__img.is-active.is-leaving {
  opacity: 0;
  visibility: visible;
  transform: scale(0.96);
  z-index: 1;
  pointer-events: none;
}

.story-frame__img.is-entering {
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
  animation: story-img-enter-crossfade 0.58s var(--transition-smooth) both;
}

.story-frame.is-frame-shrink .story-frame__img.is-entering {
  animation-name: story-img-enter-shrink;
}

.story-frame.is-frame-grow .story-frame__img.is-entering {
  animation-name: story-img-enter-grow;
}

@keyframes story-img-enter-crossfade {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes story-img-enter-shrink {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes story-img-enter-grow {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.story-progress {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1rem;
}

.story-progress__dot {
  width: 2rem;
  height: 0.22rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s var(--transition-bounce), width 0.3s ease;
}

.story-progress__dot:hover {
  background: rgba(31, 111, 235, 0.35);
  transform: scaleY(1.3);
}

.story-progress__dot.is-active {
  background: var(--accent);
  transform: scaleX(1.15) scaleY(1.2);
  width: 2.4rem;
}

.story-steps {
  display: grid;
  align-items: center;
}

.story-step {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(32px);
  filter: blur(4px);
  pointer-events: none;
}

.story-step.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}

.story-step.is-exit-up,
.story-step.is-exit-down {
  visibility: visible;
  pointer-events: none;
  animation-duration: 0.52s;
  animation-timing-function: var(--transition-smooth);
  animation-fill-mode: forwards;
}

.story-step.is-exit-up {
  animation-name: step-exit-up;
}

.story-step.is-exit-down {
  animation-name: step-exit-down;
}

.story-step.is-enter-up,
.story-step.is-enter-down {
  visibility: visible;
  pointer-events: auto;
  animation-duration: 0.58s;
  animation-timing-function: var(--transition-smooth);
  animation-fill-mode: forwards;
}

.story-step.is-enter-up {
  animation-name: step-enter-from-above;
}

.story-step.is-enter-down {
  animation-name: step-enter-from-below;
}

@keyframes step-exit-up {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-36px);
    filter: blur(6px);
  }
}

@keyframes step-exit-down {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(36px);
    filter: blur(6px);
  }
}

@keyframes step-enter-from-below {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes step-enter-from-above {
  from {
    opacity: 0;
    transform: translateY(-40px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.story-step__n {
  margin: 0 0 0.5rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.story-step.is-enter-up .story-step__n,
.story-step.is-enter-down .story-step__n {
  animation: step-child-in 0.45s var(--transition-smooth) 0.1s both;
}

.story-step.is-enter-up .story-step__title,
.story-step.is-enter-down .story-step__title {
  animation: step-child-in 0.45s var(--transition-smooth) 0.18s both;
}

.story-step.is-enter-up .story-step__text,
.story-step.is-enter-down .story-step__text {
  animation: step-child-in 0.45s var(--transition-smooth) 0.26s both;
}

@keyframes step-child-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.story-step__title {
  margin: 0 0 0.65rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

.story-step__text {
  margin: 0;
  max-width: 34ch;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.story-step__mobile-shot {
  display: none;
  margin: 1rem 0 0;
}

.story-step__mobile-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

.pain-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.pain-list li {
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s ease, background 0.3s ease;
}

.pain-list li:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.section-bridge {
  margin: 1.35rem 0 0;
  max-width: 32ch;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

.pill-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  overflow: visible;
}

.feature:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.feature.reverse .feature-copy {
  order: 2;
}

.feature.reverse .feature-shot {
  order: 1;
}

.feature-wide {
  grid-template-columns: var(--feature-wide-copy) var(--feature-wide-shot);
}

.feature-wide.reverse {
  grid-template-columns: var(--feature-wide-shot) var(--feature-wide-copy);
}

.feature-title {
  margin: 0 0 0.65rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

.feature-text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.feature-text + .feature-text {
  margin-top: 0.75rem;
}

.example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.example-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s ease;
}

.example-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.example-card h3 {
  margin: 0 0 0.65rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.example-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

.callout {
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(31, 111, 235, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.callout p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.steps {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 2.4rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: rgba(31, 111, 235, 0.12);
  color: var(--accent-deep);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.65rem;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s var(--transition-bounce);
}

.steps li:hover::before {
  background: rgba(31, 111, 235, 0.2);
  transform: scale(1.15);
}

.steps strong {
  color: var(--ink-soft);
}

.beta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
}

.beta-tags span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.86rem;
  color: var(--ink-soft);
  transition: transform 0.25s var(--transition-smooth), box-shadow 0.25s ease;
}

.beta-tags span:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.beta-funnel {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(238, 244, 252, 0.88)),
    var(--paper-deep);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

.page.is-visible .beta-funnel {
  opacity: 1;
  transform: translateY(0);
}

.beta-funnel .section-head {
  margin-bottom: 1.5rem;
}

.beta-funnel__steps {
  margin-top: 0;
}

.beta-funnel__actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 2rem;
  align-items: start;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.beta-funnel__cta {
  justify-self: start;
  animation: pulse-glow 3s ease-in-out infinite;
}

.beta-contact__label {
  margin: 0 0 0.5rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.beta-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.beta-contact__qq {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.beta-contact__qq:hover {
  border-color: rgba(31, 111, 235, 0.35);
  box-shadow: 0 2px 8px rgba(31, 111, 235, 0.08);
}

.beta-copy {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s var(--transition-smooth);
}

.beta-copy:hover {
  background: #fff;
  border-color: rgba(31, 111, 235, 0.35);
  transform: translateY(-1px);
}

.beta-copy.is-copied {
  border-color: rgba(31, 111, 235, 0.45);
  color: var(--accent-deep);
}

.beta-contact__hint {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.beta-funnel__meta {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.beta-funnel .beta-tags {
  margin-top: 1rem;
}

.beta-faq {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.beta-faq summary {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.beta-faq summary:hover {
  color: var(--accent);
}

.beta-faq summary::-webkit-details-marker {
  display: none;
}

.beta-faq summary::after {
  content: " +";
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.beta-faq summary:hover::after {
  color: var(--accent);
}

.beta-faq[open] summary::after {
  content: " \2212";
}

.beta-faq dl {
  margin: 1rem 0 0;
}

.beta-faq dl > div {
  margin-bottom: 0.85rem;
}

.beta-faq dt {
  margin: 0 0 0.25rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.beta-faq dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.pricing-box {
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.pricing-box p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

.pricing-cta {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.download-panel {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(238, 244, 252, 0.88)),
    var(--paper-deep);
  text-align: center;
}

.download-panel .section-title {
  margin-bottom: 0.5rem;
}

.download-panel .section-lede {
  margin: 0 auto 1.5rem;
  max-width: 36ch;
}

.download-meta {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.legal-main {
  max-width: 42rem;
  padding: 2rem 0 1rem;
}

.legal-main h1 {
  margin: 0 0 0.5rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--ink-soft);
}

.legal-main h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.legal-main p,
.legal-main li {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
}

.legal-main ul,
.legal-main ol {
  padding-left: 1.25rem;
}

.legal-meta {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--transition-smooth) 0.3s, transform 0.5s var(--transition-smooth) 0.3s;
}

.page.is-visible .site-footer {
  opacity: 1;
  transform: translateY(0);
}

.site-footer a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 860px) {
  .site-deck {
    padding-top: 0;
  }

  .shell.legal {
    padding-top: 0;
  }

  .site-header {
    position: sticky;
  }

  .page-indicator {
    display: none;
  }

  .page-stage {
    position: static;
    height: auto;
    display: block;
    overflow: visible;
    padding: 2.5rem 0 0;
  }

  .page-stage > *,
  .hero-copy > *,
  .section-head,
  .hero-visual,
  .story-visual,
  .story-copy,
  .beta-funnel,
  .site-footer {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .page-stage--hero {
    display: block;
    padding-top: 2.5rem;
  }

  .page-stage--beta {
    padding-bottom: 2rem;
  }

  .page-track {
    display: none;
  }

  .page-stage--story .story-frame {
    height: auto;
  }

  .story-scrolly {
    grid-template-columns: 1fr;
  }

  .story-visual {
    display: none;
  }

  .story-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .story-step {
    grid-area: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    padding: 1.25rem 0 2rem;
    border-bottom: 1px solid var(--line);
    transition: none;
  }

  .story-step:last-child {
    border-bottom: 0;
  }

  .story-step__mobile-shot {
    display: block;
  }

  .page-stage--hero .hero-visual {
    margin-top: 1.75rem;
  }

  .headline {
    max-width: none;
  }

  .hero-visual {
    animation: rise 0.9s 0.16s ease both;
  }

  .desk {
    max-width: 520px;
    animation: none;
  }

  .feature.reverse .feature-copy,
  .feature.reverse .feature-shot {
    order: initial;
  }

  .nav-links {
    width: 100%;
  }

  .beta-funnel__actions {
    grid-template-columns: 1fr;
  }

  .beta-funnel__cta {
    width: 100%;
    animation: none;
  }
}

@media (min-width: 861px) {
  html.page-deck-active,
  html.page-deck-active body {
    overflow-x: clip;
    overscroll-behavior-y: none;
  }

  html.page-deck-active .shell {
    overflow-x: visible;
  }

  html.page-deck-active .site-deck {
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .ambient-bg__blob,
  .desk,
  .scroll-hint__icon,
  .beta-funnel__cta {
    animation: none;
  }

  .page-stage > *,
  .hero-copy > *,
  .section-head,
  .hero-visual,
  .story-visual,
  .story-copy,
  .beta-funnel,
  .site-footer,
  .story-frame__img,
  .story-step {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
    visibility: visible;
  }

  .story-frame {
    transition: none;
    height: auto !important;
  }

  .story-visual {
    width: auto !important;
    transition: none;
  }

  .story-frame-shell:hover .story-frame {
    transform: none;
  }
}
