:root {
  --brand: #4800b2;
  --brand-strong: #3d0095;
  --brand-soft: #ede8f7;
  --surface: #f6f7fb;
  --surface-raised: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 20px 50px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 28px 60px rgba(72, 0, 178, 0.1);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2rem;
  --max-width: 72rem;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  scroll-behavior: smooth;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 380ms;
  animation-timing-function: var(--ease-out);
}

::view-transition-old(page-main) {
  animation: page-main-out 320ms var(--ease-out) both;
}

::view-transition-new(page-main) {
  animation: page-main-in 460ms var(--ease-out) both;
}

@keyframes page-main-out {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes page-main-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -8%, rgba(72, 0, 178, 0.07), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(148, 163, 184, 0.12), transparent 38%),
    var(--surface);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - 2rem), 80rem);
  margin-inline: auto;
}

.page-shell,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1.15rem 0 0.85rem;
  view-transition-name: none;
}

body.is-page-leaving .site-header,
body.is-page-leaving .nav-shell,
body.is-page-leaving .nav-indicator {
  transition: none !important;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.45rem 0.45rem 0.45rem 1.2rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 36px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  transition:
    background 420ms var(--ease-out),
    box-shadow 420ms var(--ease-out),
    border-color 420ms var(--ease-out),
    transform 420ms var(--ease-out);
  will-change: transform, box-shadow;
}

.site-header.is-scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(15, 23, 42, 0.05),
    0 20px 44px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.035em;
  color: var(--brand);
  transition: transform 320ms var(--ease-out), opacity 320ms var(--ease-out);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand:active {
  transform: scale(0.98);
}

.nav-links {
  display: none;
  position: relative;
  align-items: center;
  gap: 0.15rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nav-indicator {
  position: absolute;
  top: 0.22rem;
  left: 0;
  height: calc(100% - 0.44rem);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 0 0 1px rgba(15, 23, 42, 0.05);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translateX(0);
  transition:
    transform 420ms var(--ease-out),
    width 420ms var(--ease-out),
    opacity 240ms var(--ease-out),
    box-shadow 420ms var(--ease-out),
    background 420ms var(--ease-out);
}

.nav-indicator.is-on-active {
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 0 1px rgba(72, 0, 178, 0.18),
    0 4px 14px rgba(72, 0, 178, 0.2),
    0 0 22px rgba(72, 0, 178, 0.14);
}

.nav-indicator.is-on-hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 0 1px rgba(72, 0, 178, 0.12),
    0 0 18px rgba(72, 0, 178, 0.12);
}

.nav-links.is-ready .nav-indicator {
  opacity: 1;
}

.nav-links a {
  position: relative;
  z-index: 1;
  padding: 0.52rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 220ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a.active {
  color: var(--brand-strong);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-actions .button {
  padding: 0.58rem 1.05rem;
  font-size: 0.86rem;
  box-shadow: 0 10px 22px rgba(72, 0, 178, 0.18);
}

.page-shell {
  view-transition-name: page-main;
}

.page-shell.is-page-entering {
  animation: page-shell-enter 560ms var(--ease-out) both;
}

body.is-page-leaving .page-shell {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 260ms var(--ease-out),
    transform 260ms var(--ease-out);
}

@keyframes page-shell-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out),
    background 200ms var(--ease-out);
}

.button {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(72, 0, 178, 0.22);
}

.button:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.button:active,
.button-secondary:active {
  transform: scale(0.98);
}

.button-secondary {
  background: var(--surface-raised);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.button-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.button:active,
.button-secondary:active {
  transform: scale(0.98);
}

.button:focus-visible,
.button-secondary:focus-visible,
.nav-links a:focus-visible,
.mobile-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  transition:
    background 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    transform 220ms var(--ease-out);
}

.mobile-toggle:hover {
  border-color: var(--border-strong);
  background: #fff;
}

.mobile-toggle:active {
  transform: scale(0.96);
}

.mobile-toggle-bars {
  display: grid;
  gap: 0.3rem;
  width: 1.05rem;
}

.mobile-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 320ms var(--ease-out),
    opacity 220ms var(--ease-out);
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.65rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-menu.is-open {
  display: flex;
  animation: mobile-menu-in 340ms var(--ease-out) both;
}

@keyframes mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-menu a {
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition:
    color 180ms var(--ease-out),
    background 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
}

.mobile-menu a.is-active {
  color: var(--brand);
  font-weight: 600;
  background: var(--brand-soft);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: menu-overlay-in 320ms var(--ease-out) both;
}

@keyframes menu-overlay-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

.kicker {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand);
}

.display {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-home-title {
  margin-bottom: 0.35em;
}

.hero-title-line {
  display: block;
}

.hero-title-line-secondary {
  margin-top: 0.04em;
  display: grid;
  gap: 0;
}

.hero-title-subline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.28em;
  overflow: hidden;
}

.hero-title-subline:last-child {
  overflow: visible;
  padding-bottom: 0.45em;
}

.hero-title-accent {
  display: inline-block;
  color: var(--brand);
  transform-origin: left center;
  animation: hero-title-accent-in 760ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.hero-title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(-0.9em);
  animation: hero-title-word-drop 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title-word-one {
  animation-delay: 0.72s;
}

.hero-title-word-two {
  animation-delay: 0.88s;
}

.hero-title-word-three {
  animation-delay: 1.04s;
}

.hero-title-word-four {
  animation: hero-title-word-bounce 980ms cubic-bezier(0.2, 0.9, 0.22, 1) 1.22s both;
}

.hero-home-lead {
  opacity: 0;
  margin-top: 0.15rem;
  animation: hero-home-lead-in 900ms ease 2.15s forwards;
}

@keyframes hero-title-accent-in {
  0% {
    opacity: 0;
    transform: scale(0.58);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-title-word-drop {
  0% {
    opacity: 0;
    transform: translateY(-0.9em);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-title-word-bounce {
  0% {
    opacity: 0;
    transform: translateY(-0.95em);
  }

  56% {
    opacity: 1;
    transform: translateY(0.1em);
  }

  70% {
    opacity: 1;
    transform: translateY(-0.06em);
  }

  82% {
    opacity: 1;
    transform: translateY(0.04em);
  }

  91% {
    opacity: 1;
    transform: translateY(-0.02em);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-home-lead-in {
  0% {
    opacity: 0;
    transform: translateY(0.8rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.headline {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 58ch;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.muted-note {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 42rem;
}

.surface-band {
  background: var(--surface-raised);
  border-block: 1px solid var(--border);
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 800ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 800ms var(--ease-out) var(--reveal-delay, 0ms);
}

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

.reveal-scale {
  opacity: 0;
  transform: translateY(1rem) scale(0.985);
  transition:
    opacity 900ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 900ms var(--ease-out) var(--reveal-delay, 0ms);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-indicator,
  .nav-shell,
  .brand,
  .mobile-menu.is-open,
  .page-shell.is-page-entering,
  body.is-page-leaving .page-shell,
  .hero-title-accent,
  .hero-title-word,
  .hero-home-lead {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .hero-title-word,
  .hero-home-lead {
    opacity: 1 !important;
  }

  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-old(page-main),
  ::view-transition-new(page-main) {
    animation: none !important;
  }
}

.hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  position: relative;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  top: -8%;
  right: 8%;
  background: rgba(72, 0, 178, 0.09);
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

.hero::after {
  width: min(34vw, 22rem);
  height: min(34vw, 22rem);
  bottom: 0;
  left: -4%;
  background: rgba(148, 163, 184, 0.14);
  animation: ambient-drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes ambient-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(2rem, -1.5rem, 0) scale(1.08);
  }
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-proof dt {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-proof dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
  font-size: 1rem;
}

.product-frame {
  padding: 0.5rem;
  background: linear-gradient(145deg, rgba(72, 0, 178, 0.06), rgba(15, 23, 42, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
  transition:
    transform 420ms var(--ease-out),
    box-shadow 420ms var(--ease-out);
}

.product-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px rgba(72, 0, 178, 0.14);
}

.product-frame-inner {
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 0.35rem);
  border: 1px solid var(--border);
  background: #fff;
}

.product-frame img {
  width: 100%;
}

.channels-strip {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.channels-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

.channels-strip li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.channels-strip li:first-child {
  color: var(--text);
  font-weight: 700;
}

.workflow-steps {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
}

.workflow-step {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .workflow-step {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .workflow-step:nth-child(even) .workflow-copy {
    order: 2;
  }

  .workflow-step:nth-child(even) .workflow-visual {
    order: 1;
  }
}

.step-index {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.workflow-copy h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.workflow-copy p {
  margin: 0;
  color: var(--text-muted);
  max-width: 48ch;
}

.bento {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: dense;
  }

  .bento-tile-span-7 {
    grid-column: span 7;
  }

  .bento-tile-span-5 {
    grid-column: span 5;
  }

  .bento-tile-span-6 {
    grid-column: span 6;
  }

  .bento-tile-span-8 {
    grid-column: span 8;
  }

  .bento-tile-span-4 {
    grid-column: span 4;
  }
}

.bento-tile {
  padding: 1.5rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.bento-tile h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.bento-tile p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 40ch;
}

.bento-tile .product-frame {
  margin-top: 1.25rem;
  padding: 0.35rem;
}

.cta-panel {
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--text);
  color: #f8fafc;
  border-radius: var(--radius-xl);
}

.cta-panel .headline {
  color: #fff;
}

.cta-panel .lead {
  color: rgba(248, 250, 252, 0.78);
}

.cta-panel .button-secondary {
  margin-top: 1.75rem;
  background: #fff;
  border-color: transparent;
  color: var(--text);
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-shell {
  display: grid;
  gap: 2rem;
}

.footer-top {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.2fr 1fr;
  }
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.split-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.surface-panel {
  padding: 1.75rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

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

.list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.form-panel,
.about-form-card {
  padding: 1.75rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-grid,
.about-form {
  display: grid;
  gap: 1.1rem;
}

.field-group {
  display: grid;
  gap: 0.4rem;
}

.field-label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field-help {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.field-group input,
.field-group select,
.field-group textarea,
.about-form input,
.about-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 180ms, box-shadow 180ms;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus,
.about-form input:focus,
.about-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(72, 0, 178, 0.12);
}

.web3forms-botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-error,
.form-success {
  display: none;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.form-error.is-visible {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-success.is-visible {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-note a {
  color: var(--brand);
  text-decoration: underline;
}

.about-submit,
.early-access-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.about-submit-spinner,
.early-access-submit-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.radio-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 180ms, background 180ms;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.security-rows {
  display: grid;
  gap: 1.5rem;
}

.security-row {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .security-row {
    grid-template-columns: 11rem 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.security-row h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.security-row p {
  margin: 0;
  color: var(--text-muted);
}

.security-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.security-list li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.about-hero-grid,
.about-contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-hero-grid,
  .about-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-values-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-value-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-raised);
}

.about-value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.about-value-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.how-showcase-tabs,
.how-hero-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 2rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.how-showcase-tab {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: transparent;
  transition: color 220ms var(--ease-out), box-shadow 320ms var(--ease-out);
}

.how-showcase-tab:hover:not(.active) {
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(72, 0, 178, 0.12),
    0 0 18px rgba(72, 0, 178, 0.12);
}

.how-showcase-tab.active {
  color: var(--brand);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(72, 0, 178, 0.18),
    0 4px 16px rgba(72, 0, 178, 0.2),
    0 0 22px rgba(72, 0, 178, 0.14);
}

.how-hero-lead {
  margin-top: 1rem;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.how-phase {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .how-phase {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .how-phase-reverse .how-phase-copy {
    order: 2;
  }

  .how-phase-reverse .how-phase-visual {
    order: 1;
  }
}

.how-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.how-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.how-icon-lg {
  width: 1.65rem;
  height: 1.65rem;
}

.how-icon-muted {
  width: 2rem;
  height: 2rem;
  color: rgba(72, 0, 178, 0.22);
}

.how-phase-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.how-phase-copy p {
  margin: 0;
  color: var(--text-muted);
  max-width: 48ch;
}

.how-phase-visual-surface {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.how-phase-visual-glow {
  position: relative;
}

.how-phase-visual-glow::after {
  content: "";
  position: absolute;
  inset: -30% auto auto 50%;
  width: 60%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(72, 0, 178, 0.04), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}

.how-phase-visual-glow.is-visible::after,
.how-phase.is-visible .how-phase-visual-glow::after {
  opacity: 1;
}

.how-phase-note {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.how-note-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.how-phase-note h3 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.how-phase-note p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.how-knowledge-section {
  padding-top: 0;
}

.how-knowledge-shell {
  --how-knowledge-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--how-knowledge-radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.how-knowledge-demo-viewport {
  position: relative;
  aspect-ratio: 1.905;
}

.how-knowledge-demo-viewport iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 0;
}

@media (max-width: 959px) {
  .how-knowledge-shell {
    --how-knowledge-radius: 0.75rem;
  }

  .how-knowledge-demo-viewport {
    aspect-ratio: 1.735;
  }
}

.how-check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.how-check-list li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.how-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.how-check-list-icons li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0;
  font-weight: 600;
  color: var(--text);
}

.how-check-list-icons li::before {
  display: none;
}

.how-check-list-icons .how-icon {
  color: var(--brand);
}

.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.25rem;
}

.pipeline-animated .pipeline-step {
  animation: pipeline-highlight 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  will-change: transform, box-shadow;
}

.pipeline-animated .pipeline-step:nth-child(1) { animation-delay: 0s; }
.pipeline-animated .pipeline-step:nth-child(3) { animation-delay: 2s; }
.pipeline-animated .pipeline-step:nth-child(5) { animation-delay: 4s; }
.pipeline-animated .pipeline-step:nth-child(7) { animation-delay: 6s; }
.pipeline-animated .pipeline-step:nth-child(9) { animation-delay: 8s; }

.pipeline-animated .pipeline-arrow {
  animation: pipeline-arrow-flow 10s ease-in-out infinite;
  will-change: opacity, transform;
}

.pipeline-animated .pipeline-arrow:nth-child(2) { animation-delay: 1s; }
.pipeline-animated .pipeline-arrow:nth-child(4) { animation-delay: 3s; }
.pipeline-animated .pipeline-arrow:nth-child(6) { animation-delay: 5s; }
.pipeline-animated .pipeline-arrow:nth-child(8) { animation-delay: 7s; }

@keyframes pipeline-highlight {
  0%, 100%, 18%, 22% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: none;
    background: var(--brand-soft);
    color: var(--brand-strong);
  }

  8%, 14% {
    transform: translate3d(0, -3px, 0) scale(1.05);
    box-shadow:
      0 0 0 3px rgba(72, 0, 178, 0.14),
      0 16px 36px rgba(72, 0, 178, 0.22);
    background: #fff;
    color: var(--brand);
  }
}

@keyframes pipeline-arrow-flow {
  0%, 100%, 18%, 22% {
    opacity: 0.35;
    transform: translate3d(0, 0, 0);
    color: var(--text-muted);
  }

  8%, 14% {
    opacity: 1;
    transform: translate3d(3px, 0, 0);
    color: var(--brand);
  }
}

.pipeline-step {
  padding: 0.45rem 0.8rem;
  background: var(--brand-soft);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-strong);
}

.pipeline-arrow {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.how-tunnel-visual {
  width: min(100%, 22rem);
  min-height: 16rem;
  border: 2px dashed rgba(148, 163, 184, 0.35);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  padding: 0 2rem;
  position: relative;
  --tunnel-node-offset: 2rem;
}

.how-tunnel-node {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: #fff;
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.how-tunnel-node-source {
  left: var(--tunnel-node-offset);
  animation: tunnel-node-transfer 6s ease-in-out infinite;
}

.how-tunnel-node-primary {
  right: var(--tunnel-node-offset);
  background: var(--brand);
  color: #fff;
  z-index: 3;
}

.how-tunnel-beam {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(72, 0, 178, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.how-tunnel-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(72, 0, 178, 0.35), transparent);
  animation: tunnel-beam-sweep 6s ease-in-out infinite;
}

.how-tunnel-text {
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--brand-strong);
}

.how-tunnel-success {
  position: absolute;
  left: calc(100% - var(--tunnel-node-offset) - 2rem);
  top: 50%;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.28);
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 2;
  animation: tunnel-success-pop 6s linear infinite;
}

@keyframes tunnel-node-transfer {
  0%, 12% {
    left: var(--tunnel-node-offset);
    opacity: 1;
  }

  46% {
    left: calc(100% - var(--tunnel-node-offset) - 4rem);
    opacity: 1;
  }

  54%, 100% {
    left: var(--tunnel-node-offset);
    opacity: 0;
  }
}

@keyframes tunnel-beam-sweep {
  0%, 20% { transform: translateX(-120%); }
  50% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

@keyframes tunnel-success-pop {
  0%, 42% {
    transform: translate(-50%, -50%);
    opacity: 0;
  }

  46% {
    transform: translate(-50%, -95%);
    opacity: 0.95;
  }

  100% {
    transform: translate(-50%, -315%);
    opacity: 0;
  }
}

.how-flowchart-visual {
  width: min(100%, 24rem);
  display: grid;
  gap: 0.85rem;
}

.how-phase.is-visible .how-flowchart-box {
  animation: how-flowchart-rise 0.7s var(--ease-out) both;
}

.how-phase.is-visible .how-flowchart-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 60%
  );
  transform: translate3d(-120%, 0, 0);
  animation: how-primary-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

.how-phase.is-visible .how-similarity-chip {
  animation: how-chip-pulse 3.2s ease-in-out infinite;
}

@keyframes how-primary-shimmer {
  0%, 100% {
    transform: translate3d(-120%, 0, 0);
    opacity: 0;
  }

  20%, 80% {
    opacity: 1;
  }

  50% {
    transform: translate3d(120%, 0, 0);
    opacity: 1;
  }
}

@keyframes how-chip-pulse {
  0%, 100% {
    opacity: 0.75;
    background: rgba(255, 255, 255, 0.16);
  }

  50% {
    opacity: 1;
    background: rgba(255, 255, 255, 0.28);
  }
}

.how-phase.is-visible .how-flowchart-arrow {
  animation: flowchart-bob 2.4s ease-in-out infinite;
}

.how-phase.is-visible .how-match-card {
  animation: how-match-cycle 5s ease-in-out infinite;
}

.how-phase.is-visible .how-match-card:last-child {
  animation-delay: 2.5s;
}

@keyframes how-flowchart-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 0.75rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes how-match-cycle {
  0%, 100%, 46%, 54% {
    opacity: 0.5;
    transform: translate3d(0, 0, 0);
    box-shadow: none;
  }

  4%, 42% {
    opacity: 1;
    transform: translate3d(0, -0.2rem, 0);
    box-shadow: var(--shadow-soft);
  }
}

.how-phase.is-visible .how-match-card::before {
  animation: how-match-bar 5s ease-in-out infinite;
}

.how-phase.is-visible .how-match-card:last-child::before {
  animation-delay: 2.5s;
}

@keyframes how-match-bar {
  0%, 100%, 46%, 54% { background: transparent; }
  4%, 42% { background: var(--brand); }
}

.how-flowchart-box,
.how-match-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
}

.how-flowchart-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.how-flowchart-box .how-icon {
  color: var(--brand);
}

.how-flowchart-arrow {
  display: flex;
  justify-content: center;
  color: #94a3b8;
  animation: flowchart-bob 2.4s ease-in-out infinite;
}

@keyframes flowchart-bob {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(4px); opacity: 1; }
}

.how-flowchart-primary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  padding: 1rem;
  box-shadow: 0 16px 32px rgba(72, 0, 178, 0.18);
  position: relative;
  overflow: hidden;
}

.how-flowchart-primary > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.how-flowchart-primary > .how-similarity-chip {
  position: relative;
  z-index: 1;
}

.how-similarity-chip {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.how-flowchart-matches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.how-match-card {
  position: relative;
  overflow: hidden;
  opacity: 0.55;
  transition:
    opacity 220ms var(--ease-out),
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

.how-match-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.3rem;
  background: transparent;
}

.how-match-card-active {
  opacity: 1;
  transform: translateY(-0.15rem);
  box-shadow: var(--shadow-soft);
}

.how-match-card-active::before {
  background: var(--brand);
}

.how-match-card p {
  margin: 0 0 0.55rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-strong);
  font-weight: 800;
}

.how-match-card span {
  display: block;
  height: 0.4rem;
  border-radius: 999px;
  background: #eef2f7;
  margin-top: 0.35rem;
}

.how-rules-card {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
}

.how-phase.is-visible .how-rules-card {
  animation: how-rules-glow 4s ease-in-out infinite;
}

.how-phase.is-visible .how-rule-row {
  animation: how-rule-highlight 4s ease-in-out infinite;
}

.how-phase.is-visible .how-rule-row:nth-child(3) {
  animation-delay: 0s;
}

.how-phase.is-visible .how-rule-row:nth-child(4) {
  animation-delay: 2s;
}

@keyframes how-rules-glow {
  0%, 100% {
    box-shadow: none;
    border-color: var(--border);
  }

  50% {
    box-shadow: 0 12px 28px rgba(72, 0, 178, 0.08);
    border-color: rgba(72, 0, 178, 0.14);
  }
}

@keyframes how-rule-highlight {
  0%, 100%, 46%, 54% {
    transform: translate3d(0, 0, 0);
    opacity: 0.72;
  }

  4%, 42% {
    transform: translate3d(0.35rem, 0, 0);
    opacity: 1;
  }
}

.how-rules-card > p {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
}

.how-rule-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.how-rule-row + .how-rule-row {
  margin-top: 0.55rem;
}

.how-rule-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.how-rule-pill-green {
  background: #dcfce7;
  color: #15803d;
}

.how-rule-pill-orange {
  background: #ffedd5;
  color: #c2410c;
}

.how-threshold-visual {
  width: min(100%, 24rem);
  background: #fff;
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  position: relative;
}

.how-phase.is-visible .how-threshold-fill::after,
.how-phase.is-visible [data-threshold-fill]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: translate3d(-120%, 0, 0);
  animation: how-threshold-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

.how-phase.is-visible .how-threshold-knob,
.how-phase.is-visible [data-threshold-knob] {
  animation: how-threshold-knob-ring 2.8s ease-in-out infinite;
}

.how-phase.is-visible .how-threshold-actions .is-primary {
  animation: how-threshold-approve 2.8s ease-in-out infinite;
}

@keyframes how-threshold-shimmer {
  0%, 100% {
    transform: translate3d(-120%, 0, 0);
    opacity: 0;
  }

  30%, 70% {
    opacity: 1;
  }

  50% {
    transform: translate3d(120%, 0, 0);
  }
}

@keyframes how-threshold-knob-ring {
  0%, 100% {
    box-shadow:
      0 4px 12px rgba(15, 23, 42, 0.08),
      0 0 0 4px rgba(72, 0, 178, 0.14);
  }

  50% {
    box-shadow:
      0 6px 16px rgba(72, 0, 178, 0.18),
      0 0 0 8px rgba(72, 0, 178, 0.22),
      0 0 22px rgba(72, 0, 178, 0.2);
  }
}

@keyframes how-threshold-approve {
  0%, 100% {
    box-shadow: none;
    filter: brightness(1);
  }

  50% {
    box-shadow: 0 8px 20px rgba(72, 0, 178, 0.22);
    filter: brightness(1.05);
  }
}

.how-threshold-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.75rem;
}

.how-threshold-head p {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 800;
}

.how-threshold-head strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.how-threshold-slider,
[data-threshold-slider] {
  position: relative;
  height: 0.85rem;
  border-radius: 999px;
  background: #eef2f7;
  margin-bottom: 1.75rem;
  cursor: pointer;
  touch-action: none;
  overflow: visible;
}

.how-threshold-fill,
[data-threshold-fill] {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-strong));
  pointer-events: none;
}

.how-threshold-knob,
[data-threshold-knob] {
  position: absolute;
  left: 82%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1.65rem;
  height: 1.65rem;
  background: #fff;
  border: 3px solid var(--brand);
  border-radius: 999px;
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.08),
    0 0 0 4px rgba(72, 0, 178, 0.14);
  cursor: grab;
  z-index: 2;
  transition: box-shadow 220ms var(--ease-out);
  pointer-events: none;
}

.how-threshold-slider.is-dragging .how-threshold-knob,
.how-threshold-slider.is-dragging [data-threshold-knob] {
  cursor: grabbing;
  box-shadow:
    0 6px 16px rgba(72, 0, 178, 0.22),
    0 0 0 8px rgba(72, 0, 178, 0.24),
    0 0 22px rgba(72, 0, 178, 0.2);
}

.how-threshold-visual:hover .how-threshold-knob,
.how-threshold-visual:hover [data-threshold-knob] {
  box-shadow:
    0 5px 14px rgba(72, 0, 178, 0.16),
    0 0 0 6px rgba(72, 0, 178, 0.18),
    0 0 18px rgba(72, 0, 178, 0.16);
}

.how-threshold-actions {
  display: flex;
  gap: 0.75rem;
}

.how-threshold-actions button {
  flex: 1;
  min-height: 2.75rem;
  border-radius: 0.75rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  cursor: default;
  pointer-events: none;
}

.how-threshold-actions button:first-child {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.how-threshold-actions .is-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  border: 0;
  box-shadow: 0 16px 24px rgba(72, 0, 178, 0.16);
}

.how-delivery-visual {
  width: min(100%, 24rem);
}

.how-delivery-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.how-delivery-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.how-delivery-app-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
}

.how-delivery-lines {
  display: grid;
  gap: 0.65rem;
}

.how-delivery-lines span {
  display: block;
  height: 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  animation: delivery-line-shimmer 2.8s ease-in-out infinite;
}

.how-delivery-lines span:nth-child(1) { width: 75%; animation-delay: 0s; }
.how-delivery-lines span:nth-child(2) { width: 50%; animation-delay: 0.2s; }
.how-delivery-lines span:nth-child(3) { width: 66%; animation-delay: 0.4s; }

@keyframes delivery-line-shimmer {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.how-delivery-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.how-delivery-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 800;
}

.how-delivery-avatars {
  display: flex;
  align-items: center;
}

.how-delivery-avatars span {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 2px solid #fff;
  margin-left: -0.35rem;
}

.how-delivery-avatars span:first-child {
  margin-left: 0;
  background: #cbd5e1;
}

.how-delivery-avatars span:last-child {
  background: #94a3b8;
}

.how-delivery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}

.how-delivery-card:hover .how-delivery-overlay,
.how-phase.is-visible .how-delivery-overlay {
  animation: delivery-overlay-cycle 5s ease-in-out infinite;
}

@keyframes delivery-overlay-cycle {
  0%, 35%, 100% { opacity: 0; }
  45%, 75% { opacity: 1; }
}

.how-delivery-send {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 30px rgba(34, 197, 94, 0.22);
  animation: delivery-send-pulse 5s ease-in-out infinite;
}

@keyframes delivery-send-pulse {
  0%, 35%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.how-delivery-overlay p {
  margin: 0.85rem 0 0;
  color: #15803d;
  font-weight: 800;
  font-size: 0.88rem;
}

.how-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.how-platform-grid span {
  min-height: 2.35rem;
  border-radius: 0.65rem;
  background: rgba(237, 232, 247, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--text-muted);
  transition:
    transform 220ms var(--ease-out),
    background 220ms var(--ease-out),
    color 220ms var(--ease-out);
}

.how-platform-grid span:hover {
  transform: translateY(-2px);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

@media (max-width: 720px) {
  .how-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .pipeline-animated .pipeline-step,
  .pipeline-animated .pipeline-arrow,
  .how-tunnel-node-source,
  .how-tunnel-line,
  .how-tunnel-success,
  .how-flowchart-arrow,
  .how-delivery-lines span,
  .how-delivery-overlay,
  .how-delivery-send,
  .hero::before,
  .hero::after,
  .hero-flow-glow,
  .hero-flow-dot,
  .hero-flow-panel::after,
  .hero-flow-lane-auto,
  .hero-flow-lane-review,
  .hero-flow-confidence-high,
  .hero-flow-confidence-mid,
  .hero-flow-lane-auto .hero-flow-draft,
  .hero-flow-lane-review .hero-flow-draft,
  .hero-flow-outcome-auto,
  .hero-flow-outcome-review,
  .hero-flow-meter-fill,
  .hero-flow-meter-knob,
  .hero-flow-footer strong,
  .how-phase.is-visible .how-flowchart-primary::after,
  .how-phase.is-visible .how-similarity-chip,
  .how-phase.is-visible .how-flowchart-arrow,
  .how-phase.is-visible .how-match-card,
  .how-phase.is-visible .how-match-card::before,
  .how-phase.is-visible .how-rules-card,
  .how-phase.is-visible .how-rule-row,
  .how-phase.is-visible .how-threshold-fill::after,
  .how-phase.is-visible [data-threshold-fill]::after,
  .how-phase.is-visible .how-threshold-knob,
  .how-phase.is-visible [data-threshold-knob],
  .how-phase.is-visible .how-threshold-actions .is-primary {
    animation: none !important;
  }

  .hero-flow-lane,
  .hero-flow-lane-auto .hero-flow-draft,
  .hero-flow-lane-review .hero-flow-draft,
  .hero-flow-outcome-auto,
  .hero-flow-outcome-review {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
  }

  .how-delivery-card:hover .how-delivery-overlay {
    opacity: 1;
  }
}

.legal-content {
  max-width: 48rem;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 1.25rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: transparent;
  transition:
    color 220ms var(--ease-out),
    box-shadow 320ms var(--ease-out),
    transform 220ms var(--ease-out);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--brand-strong);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(72, 0, 178, 0.14),
    0 0 20px rgba(72, 0, 178, 0.14);
  transform: translateY(-1px);
}

.text-link:active {
  transform: scale(0.98);
}

.text-link svg {
  width: 1rem;
  height: 1rem;
}

.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  margin-bottom: 0.85rem;
}

.tile-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.soft-cta {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2.25rem, 4vw, 3.25rem);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  align-items: center;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .soft-cta {
    grid-template-columns: 1.4fr auto;
    gap: 2.5rem;
  }
}

.soft-cta h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  text-wrap: balance;
}

.soft-cta p {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  max-width: 48ch;
}

.soft-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-mock {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: linear-gradient(180deg, #ffffff, #fafbff);
  font-family: var(--font);
  color: var(--text);
  border-radius: calc(var(--radius-xl) - 0.35rem);
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (min-width: 520px) {
  .app-mock {
    grid-template-columns: 9.5rem minmax(0, 1fr);
  }
}

.app-mock-sidebar {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0.75rem;
  background: rgba(255, 255, 255, 0.78);
  border-right: 1px solid var(--border);
}

@media (min-width: 520px) {
  .app-mock-sidebar {
    display: flex;
  }
}

.app-mock-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.2rem 0.25rem 0.85rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.55rem;
}

.app-mock-brand-logo {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-mock-brand-logo svg {
  width: 0.85rem;
  height: 0.85rem;
  color: #fff;
}

.app-mock-brand-info {
  min-width: 0;
}

.app-mock-brand-name {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.02em;
}

.app-mock-brand-org {
  font-size: 0.62rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-mock-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.app-mock-nav-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.45rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
}

.app-mock-nav-item.is-active {
  background: var(--brand);
  color: #fff;
}

.app-mock-nav-item svg {
  width: 0.78rem;
  height: 0.78rem;
  flex-shrink: 0;
}

.app-mock-status {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: center;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: #15803d;
  font-size: 0.58rem;
  font-weight: 600;
}

.app-mock-status::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #15803d;
}

.app-mock-main {
  padding: 0.85rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.app-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.app-mock-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-mock-subtitle {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 0.05rem;
}

.app-mock-avatar {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

.app-mock-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.app-mock-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.app-mock-card-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-mock-pill-success {
  background: #dcfce7;
  color: #166534;
}

.app-mock-pill-info {
  background: #dbeafe;
  color: #1e40af;
}

.app-mock-pill-brand {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.app-mock-pill-muted {
  background: #eef2f7;
  color: var(--text-muted);
}

.app-mock-search {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.app-mock-search svg {
  width: 0.75rem;
  height: 0.75rem;
}

.app-mock-filters {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.app-mock-filter {
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--text-muted);
}

.app-mock-ticket-list {
  display: flex;
  flex-direction: column;
}

.app-mock-ticket-row {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) auto;
  gap: 0.55rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.app-mock-ticket-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.app-mock-ticket-row.is-active {
  background: var(--brand-soft);
  border-radius: 0.5rem;
  border-top-color: transparent;
  padding: 0.55rem 0.55rem;
  margin: 0 -0.25rem;
}

.app-mock-ticket-row.is-active + .app-mock-ticket-row {
  border-top-color: transparent;
}

.app-mock-ticket-avatar {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
}

.app-mock-ticket-info {
  min-width: 0;
}

.app-mock-ticket-name {
  font-weight: 600;
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-mock-ticket-subject {
  color: var(--text-muted);
  font-size: 0.65rem;
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-mock-ticket-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.35rem;
}

.app-mock-ticket-time {
  font-size: 0.58rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.app-mock-message {
  background: var(--brand);
  color: #fff;
  border-radius: 0.85rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.7rem;
  line-height: 1.55;
}

.app-mock-message-head {
  font-weight: 600;
  opacity: 0.78;
  font-size: 0.6rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.app-mock-message-head::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.app-mock-message p {
  margin: 0;
}

.app-mock-draft {
  background: var(--brand-soft);
  border: 1px solid rgba(72, 0, 178, 0.18);
  border-radius: 0.75rem;
  padding: 0.75rem;
  margin-top: 0.55rem;
}

.app-mock-draft-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}

.app-mock-draft-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.app-mock-draft-label svg {
  width: 0.7rem;
  height: 0.7rem;
}

.app-mock-draft-score {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.app-mock-draft-body {
  color: var(--text);
  font-size: 0.7rem;
  line-height: 1.55;
  margin: 0;
}

.app-mock-draft-actions {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.app-mock-btn {
  padding: 0.35rem 0.7rem;
  border-radius: 0.4rem;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1;
}

.app-mock-btn-primary {
  background: var(--brand);
  color: #fff;
}

.app-mock-btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.app-mock-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.app-mock-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.65rem;
}

.app-mock-stat-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.app-mock-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}

.app-mock-stat-note {
  font-size: 0.58rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.app-mock-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  gap: 0.5rem;
}

.app-mock-toggle-row + .app-mock-toggle-row {
  border-top: 1px solid var(--border);
}

.app-mock-toggle-row > span {
  font-size: 0.7rem;
  font-weight: 500;
}

.app-mock-toggle {
  width: 1.85rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--border-strong);
  position: relative;
  flex-shrink: 0;
}

.app-mock-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.1rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  transition: left 200ms var(--ease-out);
}

.app-mock-toggle.is-on {
  background: var(--brand);
}

.app-mock-toggle.is-on::after {
  left: calc(100% - 0.85rem);
}

.app-mock-slider-block {
  padding: 0.55rem 0;
}

.app-mock-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 500;
}

.app-mock-slider-head strong {
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.app-mock-slider {
  height: 0.35rem;
  background: var(--border);
  border-radius: 999px;
  margin-top: 0.4rem;
  position: relative;
}

.app-mock-slider-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
  width: 78%;
  position: relative;
}

.app-mock-slider-knob {
  position: absolute;
  right: -0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--brand);
}

.app-mock-integrations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.app-mock-int {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.app-mock-int-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.app-mock-int-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.72rem;
}

.app-mock-int-name svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--text-muted);
}

.app-mock-int-desc {
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.app-mock-upload {
  border: 1.5px dashed var(--border-strong);
  border-radius: 0.7rem;
  padding: 1rem 0.75rem;
  text-align: center;
  font-size: 0.6rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.app-mock-upload svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand);
}

.app-mock-upload strong {
  display: block;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
}

.app-mock-upload-formats {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.1rem;
}

.app-mock-upload-formats span {
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
  background: var(--surface);
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.app-mock-doc {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
}

.app-mock-doc:first-child {
  border-top: 0;
  padding-top: 0;
}

.app-mock-doc-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.35rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.app-mock-doc-info {
  flex: 1;
  min-width: 0;
}

.app-mock-doc-name {
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-mock-doc-meta {
  font-size: 0.56rem;
  color: var(--text-muted);
}

.app-mock-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
}

.app-mock-pipeline-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text);
}

.app-mock-pipeline-step svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--brand);
}

.app-mock-pipeline-arrow {
  color: var(--text-muted);
  font-weight: 500;
}

.app-mock-team {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.app-mock-team-row {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.5rem 0.55rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
}

.app-mock-team-name {
  font-weight: 600;
  font-size: 0.7rem;
}

.hero-editorial .hero-intro {
  max-width: 46rem;
}

.hero-editorial .hero-scene {
  margin-top: 0;
  max-width: none;
}

@media (max-width: 959px) {
  .hero-editorial .hero-scene {
    margin-top: clamp(2rem, 4vw, 3rem);
  }
}

.hero-flow {
  position: relative;
  isolation: isolate;
}

.hero-flow-glow {
  position: absolute;
  inset: 10% 5% -5%;
  background: radial-gradient(circle at 50% 40%, rgba(72, 0, 178, 0.22), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
  animation: hero-flow-glow 5s ease-in-out infinite alternate;
}

@keyframes hero-flow-glow {
  from { opacity: 0.55; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1.03); }
}

.hero-flow-panel {
  position: relative;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, #12082a 0%, #1a1035 42%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 32px 64px rgba(15, 23, 42, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #fff;
  overflow: hidden;
}

.hero-flow-panel::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 58%
  );
  pointer-events: none;
  z-index: 2;
  animation: hero-flow-scan 5.5s ease-in-out infinite;
}

@keyframes hero-flow-scan {
  0%, 100% {
    transform: translate3d(-18%, 0, 0) rotate(0deg);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  45% {
    transform: translate3d(38%, 0, 0) rotate(0deg);
    opacity: 1;
  }

  58%, 100% {
    transform: translate3d(55%, 0, 0) rotate(0deg);
    opacity: 0;
  }
}

.hero-flow-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(72, 0, 178, 0.35), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.18), transparent 40%);
  pointer-events: none;
}

.hero-flow-header,
.hero-flow-lanes,
.hero-flow-meter,
.hero-flow-footer {
  position: relative;
  z-index: 3;
}

.hero-flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-flow-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.hero-flow-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: hero-flow-pulse 2s ease-out infinite;
}

@keyframes hero-flow-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  70% { box-shadow: 0 0 0 0.55rem rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-flow-badge {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.hero-flow-lanes {
  display: grid;
  gap: 0.75rem;
}

.hero-flow-lane {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateZ(0);
  will-change: border-color, box-shadow, background;
}

.hero-flow-lane-auto {
  animation: hero-lane-auto-cycle 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.hero-flow-lane-review {
  animation: hero-lane-review-cycle 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes hero-lane-auto-cycle {
  0%, 100%, 48%, 52% {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
  }

  8%, 38% {
    border-color: rgba(52, 211, 153, 0.42);
    background: rgba(52, 211, 153, 0.07);
    box-shadow:
      0 0 0 1px rgba(52, 211, 153, 0.12),
      0 12px 36px rgba(52, 211, 153, 0.18);
  }
}

@keyframes hero-lane-review-cycle {
  0%, 100%, 48%, 52% {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
  }

  58%, 88% {
    border-color: rgba(251, 191, 36, 0.38);
    background: rgba(251, 191, 36, 0.06);
    box-shadow:
      0 0 0 1px rgba(251, 191, 36, 0.1),
      0 12px 36px rgba(251, 191, 36, 0.14);
  }
}

.hero-flow-lane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.hero-flow-channel {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-flow-confidence {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.hero-flow-confidence-high {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
  animation: hero-confidence-auto 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.hero-flow-confidence-mid {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.12);
  animation: hero-confidence-review 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes hero-confidence-auto {
  0%, 100%, 48%, 52% {
    transform: scale(1);
    box-shadow: none;
  }

  10%, 36% {
    transform: scale(1.06);
    box-shadow: 0 0 16px rgba(52, 211, 153, 0.35);
  }
}

@keyframes hero-confidence-review {
  0%, 100%, 48%, 52% {
    transform: scale(1);
    box-shadow: none;
  }

  60%, 86% {
    transform: scale(1.06);
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.28);
  }
}

.hero-flow-question {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.hero-flow-draft {
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(72, 0, 178, 0.22);
  border: 1px solid rgba(167, 139, 250, 0.25);
  margin-bottom: 0.65rem;
  overflow: hidden;
  transform: translateZ(0);
}

.hero-flow-lane-auto .hero-flow-draft {
  animation: hero-draft-auto 10s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.hero-flow-lane-review .hero-flow-draft {
  animation: hero-draft-review 10s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes hero-draft-auto {
  0%, 100%, 48%, 52% {
    opacity: 0.55;
    transform: translate3d(0, 4px, 0);
    border-color: rgba(167, 139, 250, 0.18);
    box-shadow: none;
  }

  10%, 38% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: inset 0 0 24px rgba(72, 0, 178, 0.2);
  }
}

@keyframes hero-draft-review {
  0%, 100%, 48%, 52% {
    opacity: 0.55;
    transform: translate3d(0, 4px, 0);
    border-color: rgba(167, 139, 250, 0.18);
    box-shadow: none;
  }

  60%, 88% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: inset 0 0 24px rgba(72, 0, 178, 0.2);
  }
}

.hero-flow-draft-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.85);
}

.hero-flow-draft p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.hero-flow-outcome {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: translateZ(0);
}

.hero-flow-outcome svg {
  width: 0.9rem;
  height: 0.9rem;
}

.hero-flow-outcome-auto {
  color: #6ee7b7;
  animation: hero-outcome-auto 10s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.hero-flow-outcome-review {
  color: #fcd34d;
  animation: hero-outcome-review 10s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes hero-outcome-auto {
  0%, 100%, 22%, 48%, 52% {
    opacity: 0;
    transform: translate3d(-6px, 0, 0);
    filter: drop-shadow(0 0 0 transparent);
  }

  30%, 42% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.55));
  }
}

@keyframes hero-outcome-review {
  0%, 100%, 72%, 48%, 52% {
    opacity: 0;
    transform: translate3d(-6px, 0, 0);
    filter: drop-shadow(0 0 0 transparent);
  }

  78%, 90% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.45));
  }
}

.hero-flow-meter {
  margin-top: 1rem;
}

.hero-flow-meter-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero-flow-meter-track {
  position: relative;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: visible;
}

.hero-flow-meter-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 85%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(251, 191, 36, 0.65) 0%,
    rgba(72, 0, 178, 0.85) 45%,
    rgba(52, 211, 153, 0.95) 100%
  );
  background-size: 200% 100%;
  animation: hero-meter-flow 10s ease-in-out infinite;
}

@keyframes hero-meter-flow {
  0%, 100% {
    background-position: 0% 50%;
    opacity: 0.8;
  }

  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
}

.hero-flow-meter-knob {
  position: absolute;
  top: 50%;
  left: 85%;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #34d399;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
  animation: hero-knob-pulse 10s ease-in-out infinite;
}

@keyframes hero-knob-pulse {
  0%, 100%, 48%, 52% {
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15);
    transform: translate(-50%, -50%) scale(1);
  }

  25%, 75% {
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.28);
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.hero-flow-footer strong {
  color: #fff;
  font-weight: 800;
  animation: hero-stat-pulse 10s ease-in-out infinite;
}

.hero-flow-footer span:last-child strong {
  animation-delay: 5s;
}

@keyframes hero-stat-pulse {
  0%, 100%, 48%, 52% {
    color: #fff;
    text-shadow: none;
  }

  20%, 40%, 70%, 90% {
    color: #c4b5fd;
    text-shadow: 0 0 12px rgba(196, 181, 253, 0.45);
  }
}

.hero-flow-footer {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.marquee-shell {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--surface-raised);
  padding: 1.1rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
}

.marquee-track.is-ready {
  animation: marquee-scroll var(--marquee-duration, 40s) linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  padding-inline-end: 2rem;
}

.marquee-group[aria-hidden="true"] {
  pointer-events: none;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.marquee-item img {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--marquee-distance, 0px)), 0, 0); }
}

.section-split-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 900px) {
  .section-split-head {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 3rem;
  }

  .section-split-head .lead {
    margin-top: 0;
    max-width: none;
  }
}

.feature-lanes {
  display: grid;
  gap: 1.5rem;
}

.feature-lane {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(72, 0, 178, 0.05), transparent 55%),
    var(--surface-raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 960px) {
  .feature-lane {
    grid-template-columns: 4.5rem minmax(0, 0.9fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 2rem;
  }

  .feature-lane-offset {
    margin-left: clamp(2rem, 8vw, 6rem);
  }

  .feature-lane-reverse .feature-lane-visual {
    order: -1;
  }

  .feature-lane-reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr) 4.5rem;
  }

  .feature-lane-reverse .feature-lane-index {
    order: 3;
  }
}

.feature-lane-index {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-soft);
  -webkit-text-stroke: 1px rgba(72, 0, 178, 0.18);
}

.feature-lane-body h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-lane-body p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}

.bento-head-offset {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bento-head-offset h2 {
  max-width: 14ch;
}

.prompt-showcase {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--text);
  color: #fff;
  overflow: hidden;
}

.prompt-showcase-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .prompt-showcase-inner {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 3rem;
  }
}

.prompt-showcase h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.prompt-showcase p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38ch;
}

.prompt-stack {
  display: grid;
  gap: 0.75rem;
}

.prompt-card {
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transform: translateX(var(--prompt-offset, 0));
  transition: transform 420ms var(--ease-out), background 420ms var(--ease-out);
}

.prompt-card:nth-child(1) { --prompt-offset: 0; }
.prompt-card:nth-child(2) { --prompt-offset: 1.5rem; }
.prompt-card:nth-child(3) { --prompt-offset: 0.75rem; }
.prompt-card:nth-child(4) { --prompt-offset: 2rem; }

.prompt-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(calc(var(--prompt-offset, 0) + 0.35rem));
}

.page-editorial {
  max-width: 40rem;
}

.pull-quote {
  margin: 0;
  padding: 1.5rem 0 1.5rem 1.25rem;
  border-left: 3px solid var(--brand);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--text);
}

.story-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }
}

.story-timeline {
  display: grid;
  gap: 1.25rem;
}

.story-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  border: 1px solid var(--border);
}

.story-step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.story-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.story-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.about-principles {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .about-principles {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(8rem, auto);
  }

  .about-principle-featured {
    grid-column: span 7;
    grid-row: span 2;
  }

  .about-principle {
    grid-column: span 5;
  }

  .about-principle-wide {
    grid-column: span 12;
  }
}

.about-principle {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  border: 1px solid var(--border);
}

.about-principle-featured {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background:
    radial-gradient(circle at top right, rgba(72, 0, 178, 0.08), transparent 55%),
    var(--surface-raised);
}

.about-principle h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.about-principle-featured h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.about-principle p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.beta-callout {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .beta-callout {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.beta-callout h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.beta-callout p {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  max-width: 48ch;
}

.security-hero-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .security-hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 3rem;
  }
}

.security-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.security-pillar {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.security-bento {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .security-bento {
    grid-template-columns: repeat(12, 1fr);
  }

  .security-card-span-7 { grid-column: span 7; }
  .security-card-span-5 { grid-column: span 5; }
  .security-card-span-6 { grid-column: span 6; }
  .security-card-span-8 { grid-column: span 8; }
  .security-card-span-4 { grid-column: span 4; }
}

.security-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.security-card-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.security-card-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.security-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.security-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.never-strip {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--text);
  color: #fff;
}

.never-strip h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

@media (min-width: 768px) {
  .never-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
  }
}

.never-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.never-list li::before {
  content: "×";
  color: #f87171;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
}

.legal-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .legal-layout {
    grid-template-columns: 14rem minmax(0, 1fr);
    align-items: start;
    gap: 4rem;
  }
}

.legal-sidebar {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 0.35rem;
}

.legal-sidebar strong {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.legal-sidebar a {
  padding: 0.45rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease-out);
}

.legal-sidebar a:hover {
  color: var(--brand);
}

.legal-section {
  scroll-margin-top: 6rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-section p,
.legal-section li {
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-section ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.legal-summary {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .legal-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.legal-summary-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  border: 1px solid rgba(72, 0, 178, 0.12);
}

.legal-summary-card strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 0.35rem;
}

.legal-summary-card span {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track.is-ready {
    animation: none;
    transform: none;
  }
}
