:root {
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Songti SC", "STSong", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-data: "SFMono-Regular", "Cascadia Code", "JetBrains Mono", monospace;
  --color-bg: #f7f4ec;
  --color-bg-soft: rgba(255, 251, 244, 0.84);
  --color-surface: #fffcf7;
  --color-surface-strong: #fffaf2;
  --color-border: rgba(87, 60, 39, 0.14);
  --color-border-strong: rgba(87, 60, 39, 0.24);
  --color-text: #231913;
  --color-text-soft: #5d483a;
  --color-text-muted: #8c705d;
  --color-brand: #7f441f;
  --color-brand-strong: #623012;
  --color-brand-soft: #eeb991;
  --color-amber: #f4dfab;
  --color-amber-deep: #d28a26;
  --color-paper: #faf5ec;
  --color-ink: #172b3d;
  --color-ink-soft: #2d4a62;
  --color-accent: #eb7a30;
  --color-mint: #dfe8de;
  --color-sage: #c8d8c7;
  --color-blush: #f1ddd8;
  --color-lilac: #e8e1f0;
  --shadow-soft: 0 20px 50px rgba(92, 61, 36, 0.08);
  --shadow-float: 0 24px 60px rgba(92, 61, 36, 0.14);
  --shadow-glow: 0 0 0 4px rgba(238, 185, 145, 0.28);
  --radius-xs: 12px;
  --radius-sm: 18px;
  --radius-md: 26px;
  --radius-lg: 38px;
  --radius-pill: 999px;
  --site-max-width: 1200px;
  --site-padding: 24px;
  --transition-fast: 180ms ease;
  --transition-base: 240ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 360ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-swift: 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.65;
  background:
    radial-gradient(circle at 15% 10%, rgba(244, 223, 171, 0.54), transparent 0 26%),
    radial-gradient(circle at 86% 16%, rgba(23, 43, 61, 0.1), transparent 0 18%),
    radial-gradient(circle at 72% 76%, rgba(201, 216, 199, 0.22), transparent 0 22%),
    radial-gradient(circle at 85% 8%, rgba(238, 185, 145, 0.34), transparent 0 18%),
    linear-gradient(180deg, #fff9f0 0%, var(--color-bg) 48%, #f4efe7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.24;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-brand);
  color: #fff8ef;
  z-index: 50;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  width: min(var(--site-max-width), calc(100% - (var(--site-padding) * 2)));
  margin: 0 auto;
}

.page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: rgba(127, 68, 31, 0.08);
  z-index: 60;
}

.page-progress__value {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-brand) 0%, var(--color-accent) 100%);
  transition: width 120ms linear;
  box-shadow: 0 0 18px rgba(235, 122, 48, 0.24);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0;
  background: rgba(247, 244, 236, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(87, 60, 39, 0.06);
  transition:
    padding var(--transition-base),
    background var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(248, 245, 237, 0.94);
  border-bottom-color: rgba(87, 60, 39, 0.12);
  box-shadow: 0 16px 34px rgba(92, 61, 36, 0.08);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text-soft);
}

.site-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  position: relative;
  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.site-menu a:not(.button) {
  padding: 0 10px 3px;
  border-radius: 0;
  overflow: visible;
}

.site-menu a:not(.button)::before {
  display: none;
}

.site-menu a:not(.button)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 22px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: rgba(127, 68, 31, 0.48);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.3);
  transform-origin: center;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    background var(--transition-fast);
}

.site-menu a:not(.button):hover,
.site-menu a:not(.button).is-current {
  transform: none;
}

.site-menu a:not(.button):hover::after,
.site-menu a:not(.button).is-current::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.site-menu a:not(.button):hover {
  color: var(--color-text);
}

.site-menu a:not(.button):hover::after {
  background: rgba(127, 68, 31, 0.42);
}

.site-menu a:not(.button).is-current {
  color: var(--color-brand-strong);
  font-weight: 700;
}

.site-menu a:not(.button).is-current::after {
  background: linear-gradient(90deg, rgba(127, 68, 31, 0.96) 0%, rgba(210, 107, 37, 0.92) 100%);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast),
    background var(--transition-fast);
}

.has-menu-enhancement .menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.has-menu-enhancement .menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.has-menu-enhancement .menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  --section-progress: 1;
  padding: 108px 0;
  position: relative;
}

.hero {
  --section-progress: 1;
  padding: 46px 0 92px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  --hero-copy-shift: 0px;
  --hero-copy-opacity: 1;
  transform: translate3d(0, var(--hero-copy-shift), 0);
  opacity: var(--hero-copy-opacity);
  transition:
    transform 140ms linear,
    opacity 140ms linear;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--color-brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.closing-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 3.5rem);
  max-width: 10.5ch;
}

.hero-summary,
.section-heading p,
.closing-panel p,
.summary-card p,
.problem-card p,
.workflow-step p,
.feature-card p,
.plan-note,
.plan-features li,
.faq-answer p,
.footer-copy {
  color: var(--color-text-soft);
  font-size: 1.02rem;
}

.hero-summary {
  max-width: 58ch;
  margin: 26px 0 0;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  --btn-move-x: 0px;
  --btn-move-y: 0px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  transform: translate3d(var(--btn-move-x), var(--btn-move-y), 0);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    filter var(--transition-fast);
}

.button::before {
  content: "";
  position: absolute;
  top: -24%;
  bottom: -24%;
  left: -35%;
  width: 38%;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 32%, rgba(255, 255, 255, 0.48) 50%, rgba(255, 255, 255, 0.06) 68%, transparent 100%);
  transform: translateX(-180%) rotate(18deg);
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity var(--transition-fast);
  opacity: 0;
  pointer-events: none;
}

.button:hover {
  transform: translate3d(var(--btn-move-x), calc(var(--btn-move-y) - 1px), 0);
  filter: saturate(1.04);
}

.button:hover::before {
  transform: translateX(340%) rotate(18deg);
  opacity: 1;
}

.button:focus-visible,
.menu-toggle:focus-visible,
.pricing-toggle button:focus-visible,
.faq-question:focus-visible {
  outline: none;
  box-shadow: var(--shadow-glow);
}

.button--primary {
  color: #fff8ef;
  background: linear-gradient(135deg, #8f4c22 0%, #d26b25 100%);
  box-shadow: 0 18px 34px rgba(210, 107, 37, 0.24);
}

.button--primary:hover {
  box-shadow: 0 22px 42px rgba(210, 107, 37, 0.3);
}

.button--secondary {
  color: var(--color-brand);
  background: rgba(255, 255, 255, 0.66);
  border-color: var(--color-border);
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
}

.button--full {
  width: 100%;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.trust-list li,
.scene-badge,
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--color-brand-strong);
  background: rgba(255, 248, 237, 0.92);
  border: 1px solid rgba(127, 68, 31, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}

.trust-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 68, 31, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 12px 24px rgba(92, 61, 36, 0.08);
}

.hero-stage {
  --hero-scroll-shift: 0px;
  --hero-scroll-scale: 1;
  position: relative;
  min-height: 620px;
  perspective: 1400px;
  transform-style: preserve-3d;
  transform: translate3d(0, var(--hero-scroll-shift), 0) scale(var(--hero-scroll-scale));
  transition:
    opacity var(--transition-swift),
    transform 140ms linear;
}

.hero-stage__halo {
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.54;
  will-change: transform, opacity;
  transition: transform var(--transition-slow), opacity var(--transition-base);
  transform:
    translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) + var(--scroll-y, 0px)), 0)
    scale(var(--scroll-scale, 1));
}

.hero-stage__halo--one {
  width: 240px;
  height: 240px;
  top: 16px;
  right: 38px;
  background: rgba(244, 223, 171, 0.86);
}

.hero-stage__halo--two {
  width: 190px;
  height: 190px;
  bottom: 50px;
  left: 28px;
  background: rgba(238, 185, 145, 0.82);
}

.scene-window,
.agent-bubble,
.metric-card,
.summary-card,
.problem-card,
.workflow-step,
.feature-card,
.showcase-card,
.plan-card,
.faq-item,
.closing-panel {
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(250, 245, 236, 0.98) 100%);
  box-shadow: var(--shadow-soft);
}

.scene-window {
  position: absolute;
  top: 28px;
  right: 0;
  left: 24px;
  border-radius: 34px;
  overflow: hidden;
  will-change: transform, box-shadow;
  transition:
    transform var(--transition-slow),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
  transform:
    translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) + var(--scroll-y, 0px)), 0)
    scale(var(--scroll-scale, 1));
}

.scene-window__toolbar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(87, 60, 39, 0.08);
  background: rgba(255, 255, 255, 0.42);
}

.scene-window__toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(127, 68, 31, 0.16);
}

.scene-window__body {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 420px;
}

.scene-sidebar {
  padding: 26px 20px;
  border-right: 1px solid rgba(87, 60, 39, 0.08);
  background: rgba(255, 250, 243, 0.72);
}

.scene-sidebar__eyebrow {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scene-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.scene-sidebar li {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--color-text-soft);
}

.scene-sidebar li.is-active {
  color: var(--color-brand-strong);
  background: rgba(238, 185, 145, 0.28);
}

.scene-editor {
  padding: 28px 28px 34px;
}

.scene-editor h2 {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.scene-editor p {
  margin: 0;
  max-width: 38ch;
  color: var(--color-text-soft);
}

.scene-editor__lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.scene-editor__lines span {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(127, 68, 31, 0.12) 0%, rgba(255, 255, 255, 0.72) 38%, rgba(127, 68, 31, 0.05) 70%, rgba(127, 68, 31, 0.12) 100%);
  background-size: 220% 100%;
}

.scene-editor__lines span:nth-child(1) {
  width: 94%;
}

.scene-editor__lines span:nth-child(2) {
  width: 88%;
}

.scene-editor__lines span:nth-child(3) {
  width: 76%;
}

.scene-editor__lines span:nth-child(4) {
  width: 82%;
}

.agent-bubble {
  position: absolute;
  right: 10px;
  bottom: 66px;
  width: min(300px, calc(100% - 24px));
  padding: 22px 22px 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(23, 43, 61, 0.96) 0%, rgba(41, 65, 86, 0.96) 100%);
  color: #edf3fa;
  box-shadow: var(--shadow-float);
  will-change: transform, box-shadow;
  transition:
    transform var(--transition-slow),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
  transform:
    translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) + var(--scroll-y, 0px)), 0)
    scale(var(--scroll-scale, 1));
}

.agent-bubble__eyebrow,
.agent-bubble__copy {
  color: rgba(237, 243, 250, 0.72);
}

.agent-bubble__eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.agent-bubble__title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.agent-bubble__copy {
  margin: 10px 0 0;
  font-size: 0.94rem;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.scene-badge__label {
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.scene-badge__label.is-scene-swapping,
.agent-bubble__title.is-scene-swapping,
.agent-bubble__copy.is-scene-swapping {
  opacity: 0;
  transform: translateY(6px);
}

.metric-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(310px, calc(100% - 68px));
  padding: 22px;
  border-radius: 28px;
  backdrop-filter: blur(18px);
  will-change: transform, box-shadow;
  transition:
    transform var(--transition-slow),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
  transform:
    translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) + var(--scroll-y, 0px)), 0)
    scale(var(--scroll-scale, 1));
}

.metric-card p,
.metric-card span {
  margin: 0;
  color: var(--color-text-muted);
}

.metric-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.05rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading > * {
  will-change: transform, opacity;
  transition:
    transform 140ms linear,
    opacity 140ms linear;
}

.section-heading .section-kicker {
  transform: translate3d(0, calc((1 - var(--section-progress, 1)) * 18px), 0);
  opacity: calc(0.38 + (var(--section-progress, 1) * 0.62));
}

.section-heading h2,
.closing-panel h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  transform: translate3d(0, calc((1 - var(--section-progress, 1)) * 14px), 0);
  opacity: calc(0.74 + (var(--section-progress, 1) * 0.26));
}

.section-heading p {
  margin: 22px 0 0;
  max-width: 60ch;
  transform: translate3d(0, calc((1 - var(--section-progress, 1)) * 10px), 0);
  opacity: calc(0.5 + (var(--section-progress, 1) * 0.5));
}

.summary-grid,
.problem-grid,
.workflow-list,
.feature-grid,
.showcase-grid,
.pricing-grid,
.footer-shell {
  display: grid;
  gap: 24px;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-card,
.problem-card,
.workflow-step,
.feature-card,
.showcase-card,
.plan-card,
.faq-item,
.closing-panel {
  border-radius: 30px;
  padding: 30px;
}

.is-interactive-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  will-change: transform, box-shadow;
  transform:
    perspective(1200px)
    rotateX(var(--card-rotate-x, 0deg))
    rotateY(var(--card-rotate-y, 0deg))
    translate3d(var(--scroll-shift-x, 0px), calc(var(--card-lift, 0px) + var(--scroll-shift-y, 0px)), 0)
    scale(var(--scroll-scale, 1));
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.is-interactive-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.18) 16%, transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.is-interactive-card > * {
  position: relative;
  z-index: 1;
}

.is-interactive-card.is-hovered {
  border-color: rgba(87, 60, 39, 0.22);
  box-shadow: 0 24px 54px rgba(92, 61, 36, 0.12);
}

.is-interactive-card.is-hovered::before {
  opacity: 1;
}

.is-interactive-card.is-pressed {
  --card-lift: -2px;
}

.summary-card__label,
.plan-card__eyebrow,
.showcase-card__head p {
  margin: 0 0 14px;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.summary-card h3,
.problem-card h3,
.workflow-step h3,
.feature-card h3,
.plan-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.fact-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.fact-list div {
  display: grid;
  gap: 4px;
}

.fact-list dt {
  color: var(--color-text-muted);
  font-size: 0.84rem;
}

.fact-list dd {
  margin: 0;
  font-weight: 600;
}

.problem-grid {
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card span,
.workflow-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: rgba(244, 223, 171, 0.42);
  color: var(--color-brand);
  font-size: 0.8rem;
  font-family: var(--font-data);
  letter-spacing: 0.04em;
}

.workflow-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-grid {
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.showcase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.showcase-card--large {
  grid-column: 1 / -1;
}

.showcase-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}

.showcase-card__head span {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.showcase-board,
.editor-mock,
.chat-mock {
  border-radius: 26px;
  border: 1px solid rgba(87, 60, 39, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.showcase-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.showcase-board__column {
  padding: 20px;
  border-radius: 20px;
  background: rgba(250, 245, 236, 0.94);
}

.showcase-board__column strong,
.editor-mock__body strong {
  display: block;
  margin-bottom: 14px;
}

.showcase-board__column ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.showcase-board__column li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
}

.showcase-board__column em {
  font-style: normal;
  color: var(--color-text-muted);
}

.meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(127, 68, 31, 0.08);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-brand) 0%, var(--color-accent) 100%);
}

.editor-mock {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  overflow: hidden;
}

.editor-mock aside {
  padding: 18px;
  display: grid;
  gap: 10px;
  background: rgba(250, 245, 236, 0.96);
  border-right: 1px solid rgba(87, 60, 39, 0.1);
}

.editor-mock aside span {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 14px;
  color: var(--color-text-soft);
}

.editor-mock aside .is-active {
  color: var(--color-brand-strong);
  background: rgba(238, 185, 145, 0.26);
}

.editor-mock__body {
  padding: 20px;
}

.editor-mock__body span {
  display: block;
  height: 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(127, 68, 31, 0.12) 0%, rgba(127, 68, 31, 0.04) 100%);
}

.editor-mock__body .is-short {
  width: 74%;
}

.chat-mock {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.chat-mock__bubble {
  padding: 14px 16px;
  border-radius: 20px;
  font-size: 0.98rem;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
}

.chat-mock__bubble--user {
  justify-self: start;
  max-width: 75%;
  background: rgba(244, 223, 171, 0.44);
}

.chat-mock__bubble--assistant {
  justify-self: end;
  max-width: 85%;
  color: #edf3fa;
  background: linear-gradient(180deg, rgba(23, 43, 61, 0.94) 0%, rgba(41, 65, 86, 0.96) 100%);
}

.chat-mock__meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--color-border);
  margin-bottom: 30px;
}

.pricing-toggle button {
  position: relative;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-soft);
  transition: all var(--transition-fast);
}

.pricing-toggle button.is-active {
  color: #fff8ef;
  background: linear-gradient(135deg, #8f4c22 0%, #d26b25 100%);
  box-shadow: 0 10px 22px rgba(210, 107, 37, 0.22);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.plan-card--featured {
  border-color: rgba(127, 68, 31, 0.26);
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(244, 223, 171, 0.8);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 4px;
}

.plan-price__value {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1;
  display: inline-block;
}

.plan-price__unit {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  display: inline-block;
}

.plan-note {
  margin: 6px 0 22px;
}

.plan-price__value,
.plan-price__unit,
.plan-note {
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.is-swap-flash {
  animation: priceSwapPulse 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 14px;
}

.plan-features li {
  position: relative;
  padding-left: 18px;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.faq-item.is-open {
  border-color: rgba(87, 60, 39, 0.2);
  box-shadow: 0 18px 42px rgba(92, 61, 36, 0.1);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  min-height: 72px;
  padding: 22px 30px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
}

.faq-question::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  background: rgba(244, 223, 171, 0.36);
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.faq-question[aria-expanded="true"]::after {
  content: "–";
}

.faq-answer {
  padding: 0 30px 28px;
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
}

.closing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 42px;
  align-items: center;
}

.site-footer {
  padding: 10px 0 54px;
}

.footer-shell {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  padding: 40px 0 28px;
  border-top: 1px solid rgba(87, 60, 39, 0.08);
}

.brand--footer {
  margin-bottom: 16px;
}

.footer-copy {
  max-width: 44ch;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 32px;
}

.footer-links p,
.footer-meta p {
  margin: 0 0 12px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: var(--color-text-soft);
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-meta {
  padding-top: 14px;
}

.section--summary {
  padding-top: 112px;
  padding-bottom: 116px;
  background:
    radial-gradient(circle at 12% 16%, rgba(244, 223, 171, 0.34), transparent 0 24%),
    linear-gradient(180deg, rgba(255, 251, 242, 0.9) 0%, rgba(250, 245, 236, 0.74) 100%);
  border-top: 1px solid rgba(87, 60, 39, 0.06);
  border-bottom: 1px solid rgba(87, 60, 39, 0.05);
}

#workflow.section {
  padding-top: 118px;
  padding-bottom: 116px;
  background:
    radial-gradient(circle at 88% 12%, rgba(235, 227, 214, 0.28), transparent 0 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(252, 248, 241, 0.92) 100%);
}

.section--showcase {
  padding-top: 118px;
  padding-bottom: 118px;
  background:
    radial-gradient(circle at 84% 14%, rgba(23, 43, 61, 0.1), transparent 0 18%),
    radial-gradient(circle at 10% 74%, rgba(238, 185, 145, 0.2), transparent 0 22%),
    linear-gradient(180deg, rgba(245, 240, 233, 0.92) 0%, rgba(250, 246, 238, 0.96) 100%);
}

.section--pricing {
  padding-top: 114px;
  padding-bottom: 126px;
  background:
    radial-gradient(circle at 12% 16%, rgba(244, 223, 171, 0.28), transparent 0 20%),
    radial-gradient(circle at 88% 82%, rgba(201, 216, 199, 0.22), transparent 0 18%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.95) 0%, rgba(249, 244, 235, 0.92) 100%);
}

.section--faq {
  padding-top: 106px;
  padding-bottom: 116px;
  background:
    radial-gradient(circle at 86% 14%, rgba(23, 43, 61, 0.08), transparent 0 18%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.88) 0%, rgba(247, 244, 236, 0.62) 100%);
}

.section--closing {
  padding-top: 82px;
  padding-bottom: 36px;
}

.summary-card:nth-child(1) {
  border-color: rgba(127, 68, 31, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, rgba(247, 243, 237, 0.99) 100%);
}

.summary-card:nth-child(2) {
  border-color: rgba(112, 94, 80, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, rgba(245, 241, 236, 0.99) 100%);
}

.summary-card:nth-child(3) {
  border-color: rgba(108, 97, 88, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, rgba(244, 241, 237, 0.99) 100%);
}

.summary-card--facts {
  border-color: rgba(96, 89, 82, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, rgba(243, 240, 236, 0.99) 100%);
}

.problem-card:nth-child(1) {
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.98) 0%, rgba(252, 240, 214, 0.98) 100%);
}

.problem-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98) 0%, rgba(243, 232, 227, 0.98) 100%);
}

.problem-card:nth-child(3) {
  background: linear-gradient(180deg, rgba(248, 252, 248, 0.98) 0%, rgba(232, 241, 233, 0.98) 100%);
}

.workflow-step:nth-child(odd) {
  border-color: rgba(127, 68, 31, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, rgba(246, 241, 233, 0.99) 100%);
}

.workflow-step:nth-child(even) {
  border-color: rgba(107, 97, 88, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, rgba(244, 240, 235, 0.99) 100%);
}

.workflow-step .workflow-step__index {
  background: rgba(255, 255, 255, 0.82);
  color: #705b4d;
  border: 1px solid rgba(87, 60, 39, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-card:nth-child(3n + 1) {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(251, 243, 230, 0.98) 100%);
}

.feature-card:nth-child(3n + 2) {
  background: linear-gradient(180deg, rgba(251, 253, 250, 0.98) 0%, rgba(233, 241, 233, 0.98) 100%);
}

.feature-card:nth-child(3n + 3) {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98) 0%, rgba(245, 234, 229, 0.98) 100%);
}

.showcase-card--large {
  border-color: rgba(23, 43, 61, 0.14);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(239, 244, 247, 0.98) 100%);
}

.showcase-grid > .showcase-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(251, 242, 227, 0.98) 100%);
}

.showcase-grid > .showcase-card:nth-child(3) {
  border-color: rgba(23, 43, 61, 0.14);
  background: linear-gradient(180deg, rgba(248, 251, 252, 0.98) 0%, rgba(233, 241, 245, 0.98) 100%);
}

.plan-card:nth-child(1) {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(248, 242, 231, 0.98) 100%);
}

.plan-card--featured {
  border-color: rgba(127, 68, 31, 0.26);
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.99) 0%, rgba(249, 235, 204, 0.99) 100%);
}

.plan-card:nth-child(3) {
  border-color: rgba(23, 43, 61, 0.16);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(234, 241, 245, 0.98) 100%);
}

.faq-item:nth-child(odd) {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(251, 245, 235, 0.98) 100%);
}

.faq-item:nth-child(even) {
  background: linear-gradient(180deg, rgba(250, 252, 250, 0.98) 0%, rgba(238, 243, 238, 0.98) 100%);
}

.closing-panel {
  border-color: rgba(23, 43, 61, 0.16);
  background:
    radial-gradient(circle at 82% 22%, rgba(244, 223, 171, 0.18), transparent 0 22%),
    linear-gradient(135deg, rgba(23, 43, 61, 0.98) 0%, rgba(43, 67, 91, 0.96) 55%, rgba(115, 66, 35, 0.92) 100%);
  color: #edf3fa;
}

.closing-panel .section-kicker {
  color: rgba(244, 223, 171, 0.92);
}

.closing-panel h2 {
  color: #fff9f0;
}

.closing-panel p {
  color: rgba(237, 243, 250, 0.78);
}

.closing-panel .button--secondary {
  color: #fff3e6;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0) 0%, rgba(247, 244, 236, 0.88) 24%, rgba(247, 244, 236, 1) 100%);
}

body.has-load-enhancement .hero-copy > *,
body.has-load-enhancement .hero-stage {
  opacity: 0;
}

body.has-load-enhancement .hero-copy > * {
  transform: translateY(18px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.has-load-enhancement .hero-copy > *:nth-child(1) {
  transition-delay: 40ms;
}

body.has-load-enhancement .hero-copy > *:nth-child(2) {
  transition-delay: 100ms;
}

body.has-load-enhancement .hero-copy > *:nth-child(3) {
  transition-delay: 160ms;
}

body.has-load-enhancement .hero-copy > *:nth-child(4) {
  transition-delay: 220ms;
}

body.has-load-enhancement .hero-stage {
  transform: translate3d(0, calc(var(--hero-scroll-shift, 0px) + 30px), 0) scale(calc(var(--hero-scroll-scale, 1) * 0.985));
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1) 140ms,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 140ms;
}

body.has-load-enhancement.is-loaded .hero-copy > *,
body.has-load-enhancement.is-loaded .hero-stage {
  opacity: 1;
}

body.has-load-enhancement.is-loaded .hero-copy > * {
  transform: none;
}

body.has-load-enhancement.is-loaded .hero-stage {
  transform: translate3d(0, var(--hero-scroll-shift, 0px), 0) scale(var(--hero-scroll-scale, 1));
}

@keyframes heroHaloDriftOne {
  0% {
    transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(0.96);
  }
  50% {
    transform: translate3d(calc(var(--parallax-x, 0px) + 10px), calc(var(--parallax-y, 0px) - 8px), 0) scale(1.02);
  }
  100% {
    transform: translate3d(calc(var(--parallax-x, 0px) - 8px), calc(var(--parallax-y, 0px) + 10px), 0) scale(0.98);
  }
}

@keyframes heroHaloDriftTwo {
  0% {
    transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(1);
  }
  50% {
    transform: translate3d(calc(var(--parallax-x, 0px) - 12px), calc(var(--parallax-y, 0px) + 6px), 0) scale(0.96);
  }
  100% {
    transform: translate3d(calc(var(--parallax-x, 0px) + 10px), calc(var(--parallax-y, 0px) - 8px), 0) scale(1.02);
  }
}

@keyframes lineSweep {
  0% {
    background-position: 180% 0;
  }
  100% {
    background-position: -40% 0;
  }
}

@keyframes priceSwapPulse {
  0% {
    opacity: 0.72;
    transform: translateY(10px) scale(0.98);
  }
  65% {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

[data-reveal].will-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-stage__halo--one {
    animation: heroHaloDriftOne 10s ease-in-out infinite alternate;
  }

  .hero-stage__halo--two {
    animation: heroHaloDriftTwo 12s ease-in-out infinite alternate;
  }

  .scene-editor__lines span {
    animation: lineSweep 6.8s linear infinite;
  }
}

@media (max-width: 1080px) {
  .hero-shell,
  .summary-grid,
  .problem-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stage {
    min-height: 560px;
  }

  .section {
    padding: 94px 0;
  }

  .section-heading {
    margin-bottom: 46px;
  }

  .showcase-grid,
  .workflow-list,
  .footer-shell,
  .closing-panel {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --site-padding: 18px;
  }

  .site-header {
    padding: 14px 0;
  }

  .header-shell {
    flex-wrap: wrap;
  }

  .has-menu-enhancement .menu-toggle {
    display: inline-flex;
  }

  .site-menu {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 12px;
  }

  .has-menu-enhancement .site-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid var(--color-border);
    background: rgba(255, 251, 244, 0.98);
    box-shadow: var(--shadow-float);
  }

  .has-menu-enhancement .site-menu.is-open {
    display: flex;
  }

  .has-menu-enhancement .site-menu a {
    justify-content: flex-start;
    padding: 0 12px;
    border-radius: 14px;
    transform: none;
  }

  .has-menu-enhancement .site-menu a::after {
    display: none;
  }

  .has-menu-enhancement .site-menu a:hover,
  .has-menu-enhancement .site-menu a.is-current {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 238, 224, 0.96) 100%);
    color: var(--color-brand-strong);
    box-shadow: inset 0 0 0 1px rgba(127, 68, 31, 0.12);
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 74px;
  }

  .section {
    padding: 84px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .hero-shell,
  .summary-grid,
  .problem-grid,
  .workflow-list,
  .feature-grid,
  .showcase-grid,
  .pricing-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
    padding-bottom: 180px;
  }

  .scene-window {
    position: relative;
    inset: auto;
  }

  .agent-bubble,
  .metric-card {
    position: absolute;
  }

  .agent-bubble {
    right: 0;
    left: auto;
    bottom: 68px;
  }

  .metric-card {
    right: auto;
    left: 0;
    width: calc(100% - 52px);
  }

  .scene-window__body,
  .editor-mock {
    grid-template-columns: 1fr;
  }

  .scene-sidebar,
  .editor-mock aside {
    border-right: 0;
    border-bottom: 1px solid rgba(87, 60, 39, 0.08);
  }
}

@media (max-width: 640px) {
  .hero h1 {
    max-width: none;
    font-size: clamp(1.6rem, 7.2vw, 2.45rem);
  }

  .section {
    padding: 68px 0;
  }

  .summary-card,
  .problem-card,
  .workflow-step,
  .feature-card,
  .showcase-card,
  .plan-card,
  .faq-item,
  .closing-panel {
    padding: 22px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .hero-summary {
    margin-top: 18px;
  }

  .hero-actions,
  .final-actions {
    margin-top: 26px;
  }

  .trust-list {
    margin-top: 28px;
  }

  .faq-question {
    padding: 18px 22px;
  }

  .faq-answer {
    padding: 0 22px 22px;
  }

  .hero-stage {
    padding-bottom: 220px;
  }

  .agent-bubble,
  .metric-card {
    width: calc(100% - 28px);
  }

  .showcase-board {
    grid-template-columns: 1fr;
  }

  .pricing-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-toggle button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal].will-reveal {
    opacity: 1;
    transform: none;
  }

  .button,
  .scene-window,
  .agent-bubble,
  .metric-card,
  .hero-stage__halo,
  .is-interactive-card {
    transform: none !important;
  }

  .button::before,
  .is-interactive-card::before {
    display: none;
  }
}
