/* Токены синхронизированы с frontend/src/styles/tokens-brand.css */
:root {
  --color-canvas: #f8fbff;
  --color-surface: #ffffff;
  --color-elevated: #ffffff;
  --color-text: #0b1020;
  --color-text-secondary: #3d4d66;
  --color-text-tertiary: #556378;
  --color-border: rgba(30, 64, 175, 0.1);
  --color-border-strong: rgba(37, 99, 235, 0.22);
  --color-ring: rgba(37, 99, 235, 0.38);
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-accent-2: #06b6d4;
  --color-accent-3: #6d5dfc;
  --color-accent-muted: rgba(37, 99, 235, 0.1);
  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #6d5dfc 58%, #06b6d4 100%);
  --shadow-xs: 0 1px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 28px rgba(30, 64, 175, 0.1);
  --shadow-lg: 0 22px 60px rgba(30, 64, 175, 0.14);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 22px 54px rgba(30, 64, 175, 0.1);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --font:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

.page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.013em;
  color: var(--color-text);
  background:
    radial-gradient(circle at 88% 0%, rgba(109, 93, 252, 0.16) 0, transparent 30%),
    radial-gradient(circle at 8% 8%, rgba(37, 99, 235, 0.12) 0, transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #eef4ff 100%);
  position: relative;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@keyframes mesh-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(2.5%, 3%) scale(1.04);
    opacity: 0.68;
  }
}

@keyframes mesh-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1.03);
    opacity: 0.38;
  }

  50% {
    transform: translate(-3%, -2.5%) scale(1);
    opacity: 0.55;
  }
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@keyframes hero-shine {
  0%,
  62% {
    transform: translateX(-145%) skewX(-18deg);
  }

  82%,
  100% {
    transform: translateX(245%) skewX(-18deg);
  }
}

@keyframes metric-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

@keyframes metric-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }

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

@keyframes showcase-enter {
  from {
    transform: perspective(1200px) rotateX(1deg) scale(0.975);
  }

  to {
    transform: perspective(1200px) rotateX(0deg) scale(1);
  }
}

@keyframes product-story-sheen {
  0% {
    opacity: 0;
    transform: translateX(-145%) skewX(-16deg);
  }

  28% {
    opacity: 0.55;
  }

  100% {
    opacity: 0;
    transform: translateX(245%) skewX(-16deg);
  }
}

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

  .page::before,
  .page::after {
    animation: none !important;
    opacity: 0.45;
    transform: none !important;
  }

  .feature-card,
  .hero-showcase,
  .hero-showcase-frame,
  .hero-metric,
  .reveal,
  .tool-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-showcase-frame::after {
    animation: none !important;
    display: none;
  }

  .product-story .tool-card-copy > *,
  .product-story .tool-card-media,
  .product-story:nth-child(2) .tool-card-media::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-meta span:hover,
  .feature-card:hover,
  .btn-primary:hover,
  .btn-ghost:hover,
  .nav-cta:hover,
  .pain-card:hover,
  .footer-social-link:hover {
    transform: none !important;
  }

  .feature-card:hover .feature-icon {
    transform: none !important;
  }

  .site-nav {
    transition: none !important;
  }

  .site-header.is-nav-open .site-nav {
    transform: none !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .site-header:not(.is-nav-open) .site-nav {
    transform: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-backdrop {
    transition: none !important;
  }

  .footer-social-link:hover {
    transform: none !important;
  }

  .cursor-glow,
  .cursor-trail-dot {
    display: none !important;
  }

  .hero-theme-picture {
    transition: none !important;
  }

}

.page::before,
.page::after {
  content: "";
  position: fixed;
  inset: -22%;
  z-index: -1;
  pointer-events: none;
  will-change: transform, opacity;
}

.page::before {
  background:
    radial-gradient(ellipse 80% 55% at 12% 0%, rgba(37, 99, 235, 0.16), transparent 52%),
    radial-gradient(ellipse 50% 40% at 92% 8%, rgba(6, 182, 212, 0.14), transparent 48%);
  animation: mesh-drift-a 36s ease-in-out infinite;
}

.page::after {
  background:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 55% 45% at 50% 100%, rgba(79, 70, 229, 0.08), transparent 55%);
  background-size: 44px 44px, 44px 44px, auto;
  animation: mesh-drift-b 40s ease-in-out infinite;
}

.page.is-page-hidden::before,
.page.is-page-hidden::after,
.page.is-page-hidden .hero-showcase-frame,
.page.is-page-hidden .hero-showcase-frame::after,
.page.is-page-hidden .hero-metric,
.hero-showcase.is-offscreen .hero-showcase-frame::after,
.hero-showcase.is-offscreen .hero-metric {
  animation-play-state: paused !important;
}

.cursor-glow {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    display: block;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    background:
      radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(37, 99, 235, 0.15) 34%, transparent 70%);
    filter: blur(12px);
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.25s ease;
    will-change: transform, opacity;
  }

  .cursor-glow.is-visible {
    opacity: 1;
  }
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  overflow: visible;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(20px) saturate(1.08);
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    background 0.25s var(--ease-out);
}

.site-header.is-nav-open {
  z-index: 120;
}

.site-header.is-scrolled {
  border-color: var(--color-border-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, var(--shadow-sm);
  background: rgba(255, 255, 255, 0.94);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  width: 100%;
  overflow: visible;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-text);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 130;
  transition: background 0.15s ease;
}

.nav-toggle:hover {
  background: rgba(37, 99, 235, 0.14);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease-out), opacity 0.2s ease;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.nav-backdrop[hidden] {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

body.is-nav-open {
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-name span {
  color: var(--color-accent);
}

.beta-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-accent);
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: var(--color-text);
  background: rgba(9, 9, 11, 0.04);
  text-decoration: none;
}

.nav-login {
  margin-left: 6px;
  font-weight: 600;
  color: var(--color-text);
}

.nav-login--platform {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.nav-cta {
  margin-left: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-brand);
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
  transition:
    background 0.15s ease,
    box-shadow 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    color 0.15s ease;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 55%, #0891b2 100%);
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.34);
  transform: translateY(-2px) scale(1.02);
}

.nav-cta:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .site-header-inner {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    background: rgba(11, 16, 32, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease-out), visibility 0.25s var(--ease-out);
  }

  .nav-backdrop:not([hidden]) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    z-index: 140;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border-strong);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.2s var(--ease-out),
      opacity 0.2s var(--ease-out),
      visibility 0.2s var(--ease-out);
  }

  .site-header.is-nav-open .site-nav {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .site-nav .nav-link {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 0;
    color: var(--color-text);
    background: rgba(37, 99, 235, 0.05);
    transition:
      color 0.15s ease,
      background 0.15s ease,
      box-shadow 0.15s ease;
  }

  .site-nav .nav-link:focus-visible {
    outline: 2px solid var(--color-ring);
    outline-offset: 2px;
  }

  .site-nav .nav-link:hover {
    color: var(--color-accent);
    background:
      linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.1));
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.16);
    text-decoration: none;
  }

  .site-nav .nav-cta {
    display: none;
  }

  .site-nav .nav-cta:focus-visible {
    outline: 2px solid var(--color-ring);
    outline-offset: 2px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .site-nav .nav-link:hover {
    color: var(--color-accent);
    background:
      linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.1));
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.16);
    text-decoration: none;
  }

  .site-nav .nav-cta:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 55%, #0891b2 100%);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
    text-decoration: none;
  }
}

@media (min-width: 901px) {
  .nav-backdrop {
    display: none !important;
  }

  .site-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .nav-cta {
    font-size: 0.95rem;
  }
}

/* Hero */
.hero {
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 clamp(12px, 2vw, 20px);
  background:
    radial-gradient(circle at 82% 14%, rgba(109, 93, 252, 0.16), transparent 30%),
    radial-gradient(circle at 16% 4%, rgba(37, 99, 235, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.78) 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
  max-width: 100%;
  text-align: center;
}

.hero-copy {
  width: 100%;
  max-width: 52rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.06);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(2.45rem, 5.2vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--color-text);
}

.hero-title-accent {
  display: block;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.04em 0.04em 0.08em;
  margin: 0.04em -0.04em -0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-lead {
  margin: 0 auto 20px;
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
  line-height: 1.55;
  color: var(--color-text-secondary);
  max-width: 44rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
}

.hero-trust {
  margin: 0 0 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-tertiary);
  letter-spacing: -0.01em;
}

.btn:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.02em;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    border-color 0.15s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #0891b2 100%);
  border: 1px solid rgba(9, 9, 11, 0.06);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 45%, #0e7490 100%);
  text-decoration: none;
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.4);
  transform: translateY(-3px) scale(1.02);
}

.btn-ghost {
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
}

.btn-ghost:hover {
  background: #fafafa;
  text-decoration: none;
  border-color: rgba(9, 9, 11, 0.14);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-block {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
  max-width: 56rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: background 0.2s ease, transform 0.2s var(--ease-out);
}

.hero-meta span:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
}

.hero-meta-ai {
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.1);
}

.hero-meta-icon {
  width: 17px;
  height: 17px;
  color: var(--color-accent);
  fill: currentColor;
  flex: 0 0 auto;
}

/* Proof strip */
.proof-strip {
  position: relative;
  z-index: 2;
  padding: clamp(16px, 2.5vw, 28px) 0 clamp(8px, 1.5vw, 16px);
  margin-top: 0;
}

.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 6px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 8px 22px rgba(30, 64, 175, 0.05);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  text-align: center;
  position: relative;
}

.proof-item + .proof-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(37, 99, 235, 0.1);
}

.proof-value {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.proof-label {
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--color-text-tertiary);
}

/* Pain → result */
.section-pain {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.4) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pain-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px 16px;
  align-items: stretch;
  padding: 18px;
  border-radius: 18px;
  background: var(--color-surface);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.06);
}

.pain-side {
  padding: 14px 16px;
  border-radius: 14px;
}

.pain-side-before {
  background: rgba(148, 163, 184, 0.1);
}

.pain-side-after {
  background: rgba(37, 99, 235, 0.07);
}

.pain-badge {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  background: rgba(255, 255, 255, 0.8);
}

.pain-badge-after {
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.1);
}

.pain-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.pain-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.pain-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-accent);
  opacity: 0.75;
}

/* Final CTA */
.section-final-cta {
  padding-top: clamp(12px, 2vw, 24px);
  padding-bottom: clamp(12px, 2vw, 24px);
}

.final-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.16), transparent 36%),
    linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 48%, #0e7490 100%);
  color: #fff;
  box-shadow: 0 22px 50px rgba(30, 64, 175, 0.28);
}

.final-cta-title {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.final-cta-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  max-width: 36rem;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.final-cta-actions .btn-primary {
  background: #fff;
  color: #1d4ed8;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.final-cta-actions .btn-primary:hover {
  background: #f8fafc;
  color: #1e40af;
  transform: translateY(-2px);
}

.final-cta-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.final-cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: none;
}

.final-cta-note {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.hero-showcase {
  position: relative;
  width: 100%;
  max-width: min(1240px, 100%);
  margin: 0;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 12% 8% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse 74% 60% at 50% 42%, rgba(109, 93, 252, 0.16), transparent 72%);
  z-index: 0;
  pointer-events: none;
}

.hero-showcase-caption {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--color-text-tertiary);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.hero-showcase-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 36px 80px rgba(30, 64, 175, 0.18),
    0 12px 28px rgba(30, 64, 175, 0.1);
  transform: perspective(1200px) rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg))
    scale(var(--hero-scale, 1));
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  will-change: transform;
  animation: showcase-enter 0.9s var(--ease-out) 0.1s both;
}

.hero-showcase-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -25%;
  bottom: -25%;
  left: 0;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.36),
    rgba(255, 255, 255, 0.04),
    transparent
  );
  filter: blur(2px);
  animation: hero-shine 6.5s ease-in-out 1.2s infinite;
}

.hero-showcase-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: linear-gradient(180deg, #f9fbff 0%, #f1f5fc 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-showcase-url {
  margin-left: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text-tertiary);
}

.hero-showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4ddea;
  flex: 0 0 auto;
}

.hero-showcase-dot:nth-child(1) {
  background: #f87171;
}

.hero-showcase-dot:nth-child(2) {
  background: #fbbf24;
}

.hero-showcase-dot:nth-child(3) {
  background: #34d399;
}

.hero-showcase-image {
  display: block;
  width: 100%;
  height: auto;
  background: #f8fafc;
}

.hero-showcase-frame picture {
  display: block;
}

.hero-floating-metrics {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease-out);
}

.hero-metric {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 16px 38px rgba(30, 64, 175, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation:
    metric-pop 0.58s var(--ease-out) 0.35s both,
    metric-float 4.8s ease-in-out 1.1s infinite;
}

.hero-metric--cash {
  top: 15%;
  left: -34px;
}

.hero-metric--profit {
  top: 37%;
  right: -36px;
  animation-delay: 0.48s, 1.25s;
}

.hero-metric--payments {
  bottom: 7%;
  left: 7%;
  animation-delay: 0.61s, 1.4s;
}

.hero-metric-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 1rem;
  font-weight: 800;
}

.hero-metric-icon--blue {
  color: #1d4ed8;
  background: #dbeafe;
}

.hero-metric-icon--green {
  color: #047857;
  background: #d1fae5;
}

.hero-metric-icon--violet {
  color: #6d28d9;
  background: #ede9fe;
}

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

.hero-metric-copy strong {
  color: var(--color-text);
  font-size: 0.86rem;
  line-height: 1.15;
}

.hero-metric-copy span {
  color: var(--color-text-secondary);
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
}

@media (min-width: 901px) {
  .hero-showcase {
    animation: fade-rise 0.7s var(--ease-out) both;
    animation-delay: 0.08s;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.tools-grid .tool-card.reveal:nth-child(1) {
  --reveal-delay: 0ms;
}

.tools-grid .tool-card.reveal:nth-child(2) {
  --reveal-delay: 70ms;
}

.tools-grid .tool-card.reveal:nth-child(3) {
  --reveal-delay: 140ms;
}

.tools-grid .tool-card.reveal:nth-child(4) {
  --reveal-delay: 210ms;
}

.tools-grid .tool-card.reveal:nth-child(5) {
  --reveal-delay: 280ms;
}

.pricing-grid .pricing-card.reveal:nth-child(1) {
  --reveal-delay: 0ms;
}

.pricing-grid .pricing-card.reveal:nth-child(2) {
  --reveal-delay: 80ms;
}

.pricing-grid .pricing-card.reveal:nth-child(3) {
  --reveal-delay: 160ms;
}

.proof-strip-grid .proof-item.reveal:nth-child(1) {
  --reveal-delay: 0ms;
}

.proof-strip-grid .proof-item.reveal:nth-child(2) {
  --reveal-delay: 70ms;
}

.proof-strip-grid .proof-item.reveal:nth-child(3) {
  --reveal-delay: 140ms;
}

/* Sections */
#features {
  background: var(--color-surface);
}

.section {
  padding: clamp(40px, 5.5vw, 72px) 0;
}

.section-tools {
  content-visibility: auto;
  contain-intrinsic-size: auto 2200px;
}

.section-pricing {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.section-consultant {
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}

.section-final-cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

.contacts-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 680px;
}

.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.section + .section {
  border-top: 1px solid var(--color-border);
}

.section-header {
  max-width: 820px;
  margin: 0 auto clamp(22px, 3vw, 32px);
  text-align: center;
}

.section-kicker {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.18;
  color: var(--color-text);
}

.section-desc {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  color: var(--color-text-secondary);
  line-height: 1.58;
  font-weight: 400;
}

/* Tools gallery */
.section-tools {
  background: var(--color-surface);
}

.section-tools .shell {
  max-width: 1360px;
}

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

.tool-card {
  --reveal-y: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --card-lift: 0px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.07);
  min-height: 100%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      420px circle at var(--spot-x, 50%) var(--spot-y, 50%),
      rgba(37, 99, 235, var(--spot-opacity, 0)),
      transparent 44%
    ),
    #fff;
  transform: translateY(calc(var(--reveal-y) + var(--card-lift))) perspective(1000px)
    rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.22s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    border-color 0.25s ease,
    background 0.25s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform;
}

.tool-card.reveal {
  --reveal-y: 18px;
}

.tool-card.reveal.is-inview {
  --reveal-y: 0px;
}

.tool-card.reveal.is-revealed {
  transition-delay: 0ms;
}

@media (hover: hover) and (pointer: fine) {
  .tool-card:hover {
    --card-lift: -4px;
    --spot-opacity: 0.1;
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 22px 50px rgba(30, 64, 175, 0.13);
  }
}

.tool-card-copy {
  flex: 0 0 auto;
}

.tool-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
}

.tool-card-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.tool-card-title {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.tool-card-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.tool-card-media {
  margin: auto 0 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: #f1f5f9;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  aspect-ratio: 16 / 10;
  min-height: 260px;
}

.tool-card--wide .tool-card-media {
  aspect-ratio: 16 / 10;
  min-height: 380px;
}

.tool-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

/* Pricing */
.section-pricing {
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.08), transparent 40%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.pricing-included {
  margin: 0 auto 24px;
  max-width: 960px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 10px 26px rgba(30, 64, 175, 0.06);
}

.pricing-included-title {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.pricing-included-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pricing-included-list li {
  position: relative;
  padding: 8px 12px 8px 28px;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--color-text);
  font-weight: 500;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.pricing-included-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--color-accent);
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.06);
  min-height: 100%;
}

.pricing-card--featured {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.16);
  transform: translateY(-4px);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(109, 93, 252, 0.2), rgba(6, 182, 212, 0.25)) border-box;
  border: 1.5px solid transparent;
}

.pricing-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-brand);
}

.pricing-card-badge--soft {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent);
}

.pricing-card-period {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.pricing-card-price {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-text);
  line-height: 1.1;
}

.pricing-card-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-tertiary);
}

.pricing-card-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-tertiary);
}

.pricing-card-benefit {
  margin: 4px 0 12px;
  min-height: 2.8em;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: #047857;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.14);
  flex: 1;
}

.pricing-card-benefit--muted {
  color: var(--color-text-tertiary);
  font-weight: 500;
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.16);
}

.pricing-card .btn-block {
  margin-top: auto;
}

@media (max-width: 900px) {
  .tool-card--wide {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .tool-card--wide .tool-card-media {
    min-height: 260px;
    aspect-ratio: 16 / 10;
  }

  .tool-card-media {
    min-height: 220px;
  }

  .tools-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pricing-card--featured {
    transform: none;
  }

  .proof-item + .proof-item::before {
    top: 0;
    bottom: auto;
    left: 12%;
    right: 12%;
    width: auto;
    height: 1px;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 10px 26px rgba(30, 64, 175, 0.06);
  border-radius: 22px;
  padding: 22px;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  animation: fade-rise 0.55s var(--ease-out) forwards;
  transition:
    box-shadow 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}

.feature-card:nth-child(1) {
  animation-delay: 0.04s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.08s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.12s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.16s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.24s;
}

.feature-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.feature-card-accent {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.07);
}

.feature-card-accent::after {
  content: "AI";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 9px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-kicker {
  margin: 0 0 10px;
  color: var(--color-text-tertiary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-1px);
  border-color: var(--color-border-strong);
  box-shadow: none;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.85;
}

.feature-card-accent .feature-icon {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.feature-title {
  margin: 0 0 9px;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  color: var(--color-text);
}

.feature-text {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.58;
  font-weight: 400;
  margin-top: auto;
}

/* Consultant */
#consultant {
  background:
    radial-gradient(ellipse 80% 60% at 12% 50%, rgba(37, 99, 235, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
}

.consultant-card {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 40px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px) clamp(24px, 3.5vw, 38px);
  border-radius: 26px;
  border: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
  box-shadow: var(--shadow-card);
}

.consultant-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  align-self: stretch;
  position: relative;
  padding: 0 0 4px;
}

.consultant-media > picture {
  display: contents;
}

.consultant-media::before {
  content: "";
  position: absolute;
  width: min(400px, 88vw);
  height: min(400px, 88vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.11) 0%, transparent 68%);
  top: 0;
  left: 50%;
  translate: -50% 0;
  z-index: 0;
  pointer-events: none;
}

.consultant-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(520px, 100%);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 32px rgba(30, 64, 175, 0.14));
}

.consultant-image--scene {
  width: 100%;
  max-width: 520px;
  height: 360px;
  object-fit: cover;
  border-radius: 22px;
  filter: none;
  box-shadow: 0 18px 40px rgba(30, 64, 175, 0.12);
}

.consultant-trustline {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 18px 0 0;
  padding: 0;
  width: 100%;
  max-width: 28rem;
  text-align: center;
}

.consultant-trustline-lead {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--color-accent);
}

.consultant-trustline-sub {
  font-size: clamp(0.9rem, 1.15vw, 0.98rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--color-text-secondary);
}

.consultant-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
}

.consultant-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.28;
  color: var(--color-text);
}

.consultant-lead {
  margin: 0 0 14px;
  font-size: 1.08rem;
  line-height: 1.58;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.consultant-outcome {
  margin: 0 0 14px;
  padding: 12px 0 12px 16px;
  border-radius: 0;
  border: none;
  border-left: 3px solid var(--color-accent);
  background: transparent;
}

.consultant-outcome-title {
  margin: 0 0 8px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.consultant-outcome-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.consultant-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.consultant-list li {
  position: relative;
  padding-left: 18px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.consultant-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--color-accent);
  opacity: 1;
}

@media (max-width: 800px) {
  .consultant-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    text-align: center;
  }

  .consultant-media {
    align-self: center;
    order: -1;
    margin-bottom: 6px;
  }

  .consultant-image {
    width: min(400px, 96%);
  }

  .consultant-trustline {
    max-width: 100%;
    margin-top: 14px;
  }

  .consultant-list {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Contacts */
.contacts-section {
  padding: clamp(36px, 5vw, 64px) 0 clamp(42px, 6vw, 72px);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.contacts-kicker {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 10px;
}

.contacts-card {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: none;
  border-radius: 24px;
  padding: clamp(26px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
}

.contacts-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(37, 99, 235, 0.015) 100%);
  pointer-events: none;
}

.contacts-main,
.contacts-aside {
  position: relative;
  z-index: 1;
}

.contacts-heading {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--color-text);
}

.contacts-lead {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 400;
  max-width: 30rem;
}

.contacts-meta {
  margin: 10px 0 0;
  color: var(--color-text-tertiary);
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 0 0 14px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-tertiary);
  margin-bottom: 0;
}

.contact-item a {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.contact-item a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-phone {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  color: var(--color-accent) !important;
}

.contact-item-phone {
  padding-bottom: 16px;
}

.contacts-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  align-self: stretch;
  justify-content: center;
  padding: 4px 0 4px clamp(20px, 3vw, 32px);
  border: none;
  border-left: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.contact-anketa-btn {
  margin-top: 2px;
}

@media (max-width: 720px) {
  .contacts-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contacts-aside {
    align-self: stretch;
    padding: 16px 0 0;
    border-left: none;
    border-top: 1px solid var(--color-border);
  }
}

/* Footer */
.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--color-border);
  background: #0f172a;
  color: rgba(226, 232, 240, 0.86);
}

.site-footer-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 28rem;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.footer-brand-accent {
  color: #60a5fa;
}

.footer-tagline {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.88);
}

.footer-contacts-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer-contacts-mini a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.footer-contacts-mini a:hover {
  color: #93c5fd;
  text-decoration: none;
}

.footer-legal {
  padding: 22px 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.footer-legal-title {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.footer-legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0 0 20px;
}

.footer-legal-item {
  margin: 0;
}

.footer-legal-item dt {
  margin: 0 0 3px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.footer-legal-item dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #f1f5f9;
}

.footer-legal-item a {
  color: #93c5fd;
  text-decoration: none;
}

.footer-legal-item a:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

.footer-okved-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.footer-okved-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.footer-okved-list li {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.88);
}

.footer-okved-list strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.footer-okved-main {
  color: #93c5fd;
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.footer-copy {
  font-variant-numeric: tabular-nums;
  color: rgba(148, 163, 184, 0.85);
  font-size: 0.9rem;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.footer-policy-links a,
.footer-policy-links button {
  padding: 0;
  border: 0;
  color: rgba(191, 219, 254, 0.82);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  text-decoration: underline;
  text-decoration-color: rgba(147, 197, 253, 0.3);
  text-underline-offset: 3px;
}

.footer-policy-links a:hover,
.footer-policy-links button:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.footer-policy-links button:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 3px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.15s ease;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
  text-decoration: none;
}

.footer-social-icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-social-icon--max {
  width: 26px;
  height: 26px;
}

.icon-line {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mobile-sticky-phone .icon-line {
  width: 22px;
  height: 22px;
}

.section-themes {
  padding-top: 0;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.theme-card {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.06);
}

.theme-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.theme-card figcaption {
  padding: 12px 14px 14px;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

@media (max-width: 800px) {
  .theme-grid {
    grid-template-columns: 1fr;
  }

  .theme-card img {
    height: 190px;
  }

  .consultant-image--scene {
    height: 240px;
  }
}
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 720px) {
  .mobile-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(37, 99, 235, 0.14);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(12px);
  }

  .mobile-sticky-cta .btn {
    min-height: 48px;
    width: auto;
  }

  .mobile-sticky-phone {
    width: 48px !important;
    min-width: 48px;
    padding: 0;
    font-size: 1.2rem;
  }

  .page {
    padding-bottom: 84px;
  }
}

@media (max-width: 900px) {
  .proof-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pain-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pain-arrow {
    transform: rotate(90deg);
    padding: 2px 0;
  }

  .final-cta-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .proof-strip {
    margin-top: 0;
  }

  .proof-strip-grid {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 6px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-contacts-mini {
    align-items: flex-start;
  }

  .footer-legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 34px 0 34px;
  }

  .hero-grid {
    max-width: 100%;
    gap: 22px;
  }

  .section {
    padding: 34px 0;
  }

  .section-header {
    margin-bottom: 22px;
  }

  .hero-metric--cash {
    left: 10px;
  }

  .hero-metric--profit {
    right: 10px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 58px;
  }

  .shell {
    padding: 0 16px;
  }

  .site-header-inner {
    gap: 12px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .beta-badge {
    display: none;
  }

  .nav-cta {
    padding: 9px 13px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .hero {
    padding: 20px 0 28px;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-kicker {
    margin-bottom: 12px;
    min-height: 28px;
    font-size: 0.78rem;
  }

  .hero-title {
    font-size: clamp(2.05rem, 10.5vw, 2.75rem);
    line-height: 1.08;
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.48;
    margin-bottom: 16px;
    max-width: 36rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 8px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    font-size: 0.98rem;
  }

  .hero-trust {
    margin-bottom: 0;
    font-size: 0.88rem;
  }

  .hero-meta {
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero-meta::-webkit-scrollbar {
    display: none;
  }

  .hero-meta span {
    flex: 0 0 auto;
    font-size: 0.84rem;
    padding: 7px 11px;
  }

  .hero-showcase {
    max-width: none;
    margin-inline: 0;
  }

  .hero-showcase-caption {
    font-size: 0.82rem;
    margin-bottom: 8px;
    padding: 0;
    text-align: center;
  }

  .hero-showcase-frame {
    border-radius: 14px;
    aspect-ratio: auto;
    overflow: hidden;
  }

  .hero-floating-metrics {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 9px;
    transform: none !important;
  }

  .hero-metric,
  .hero-metric--cash,
  .hero-metric--profit,
  .hero-metric--payments {
    position: static;
    min-width: 0;
    gap: 7px;
    padding: 8px;
    border-radius: 12px;
    animation: none;
  }

  .hero-metric-icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 0.84rem;
  }

  .hero-metric-copy {
    min-width: 0;
  }

  .hero-metric-copy strong {
    font-size: 0.75rem;
  }

  .hero-metric-copy span {
    display: none;
  }

  .hero-showcase-chrome {
    padding: 8px 12px;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-showcase-dot {
    width: 8px;
    height: 8px;
  }

  .hero-showcase-url {
    font-size: 0.72rem;
  }

  .hero-showcase-frame picture {
    display: block;
    min-width: 0;
  }

  .hero-showcase-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top left;
  }

  .tool-card {
    padding: 14px;
    gap: 10px;
  }

  .tool-card-media,
  .tool-card--wide .tool-card-media {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }

  .tool-card-media img {
    object-fit: contain;
  }

  .tool-card-title {
    font-size: 1.15rem;
  }

  .tool-card-text {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .section-desc {
    font-size: 1rem;
    line-height: 1.52;
  }

  .section-header {
    text-align: left;
  }

  .section-desc {
    margin-left: 0;
    margin-right: 0;
  }

  .features-grid {
    gap: 12px;
  }

  .feature-card {
    padding: 18px;
    border-radius: 16px;
  }

  .feature-kicker {
    font-size: 0.7rem;
    margin-bottom: 8px;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  .feature-title {
    font-size: 1.06rem;
  }

  .feature-text {
    font-size: 0.98rem;
  }

  .consultant-card {
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
  }

  .consultant-image {
    width: min(360px, 94%);
  }

  .consultant-trustline {
    margin-top: 12px;
  }

  .consultant-trustline-lead {
    font-size: 0.98rem;
  }

  .consultant-trustline-sub {
    font-size: 0.88rem;
  }

  .consultant-title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .consultant-lead,
  .consultant-list li {
    font-size: 1rem;
  }

  .consultant-outcome {
    padding: 12px;
    margin-bottom: 12px;
  }

  .consultant-outcome-title {
    font-size: 0.9rem;
  }

  .consultant-outcome-list {
    font-size: 0.9rem;
  }

  .contacts-section {
    padding: 30px 0 38px;
  }

  .contacts-card {
    padding: 18px;
    border-radius: 20px;
  }

  .contacts-heading {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .contact-grid {
    gap: 10px;
  }

  .contact-item {
    padding: 0 0 12px;
  }

  .contacts-aside .btn {
    min-height: 50px;
  }

  .pain-card {
    padding: 14px;
  }

  .pain-side {
    padding: 12px 14px;
  }

  .pain-title {
    font-size: 1rem;
  }

  .pain-text {
    font-size: 0.92rem;
  }

  .final-cta-card {
    padding: 18px;
    border-radius: 18px;
  }

  .final-cta-title {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 1rem;
  }

  .nav-cta {
    padding: 8px 11px;
    font-size: 0.82rem;
  }

  .hero-kicker,
  .section-kicker,
  .contacts-kicker {
    font-size: 0.72rem;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-showcase {
    margin-inline: -8px;
  }

  .hero-showcase-caption {
    font-size: 0.78rem;
  }

  .hero-showcase-url {
    display: none;
  }
}

/* Product scenes: native, resolution-independent interface compositions */
.hero-theme-stage {
  aspect-ratio: 16 / 10;
}

.hero-ui-scene {
  --scene-bg: #edf4fc;
  --scene-surface: rgba(255, 255, 255, 0.94);
  --scene-border: rgba(51, 65, 85, 0.11);
  --scene-text: #0f172a;
  --scene-muted: #64748b;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  overflow: hidden;
  color: var(--scene-text);
  background:
    radial-gradient(circle at 82% 15%, rgba(34, 211, 238, 0.18), transparent 32%),
    radial-gradient(circle at 12% 90%, rgba(59, 130, 246, 0.16), transparent 35%),
    var(--scene-bg);
  transition: color 0.45s ease, background 0.45s ease;
}

.hero-showcase-frame.is-dark-preview .hero-ui-scene {
  --scene-bg: #071426;
  --scene-surface: rgba(15, 35, 61, 0.93);
  --scene-border: rgba(148, 180, 220, 0.17);
  --scene-text: #f8fafc;
  --scene-muted: #94a3b8;
  background:
    radial-gradient(circle at 84% 16%, rgba(34, 211, 238, 0.16), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(37, 99, 235, 0.2), transparent 36%),
    var(--scene-bg);
}

.hero-real-screen {
  position: absolute;
  inset: 2% 2.5% 7%;
  z-index: 0;
  display: block;
  overflow: hidden;
  border: 1px solid var(--scene-border);
  border-radius: 18px;
  background: var(--scene-bg);
  box-shadow:
    0 28px 60px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  transform: rotate(-0.35deg) scale(0.985);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.hero-real-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-real-screen--dark {
  opacity: 0;
  transform: rotate(0.35deg) scale(0.975);
}

.hero-showcase-frame.is-dark-preview .hero-real-screen--light {
  opacity: 0;
  transform: rotate(-0.35deg) scale(0.975);
}

.hero-showcase-frame.is-dark-preview .hero-real-screen--dark {
  opacity: 1;
  transform: rotate(0.35deg) scale(0.985);
}

.hero-ui-scene::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 35%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--scene-bg) 40%, transparent));
}

.hero-ui-top,
.hero-ui-metrics,
.hero-ui-chart,
.hero-ui-risk,
.hero-ui-donut {
  position: absolute;
  z-index: 1;
  border: 1px solid var(--scene-border);
  background: var(--scene-surface);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(14px);
}

.hero-ui-top {
  inset: 5% 5% auto;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border-radius: 14px;
}

.hero-ui-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  font-size: 0.64rem;
  font-weight: 800;
}

.hero-ui-top > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.hero-ui-top b {
  font-size: 0.77rem;
}

.hero-ui-top small,
.hero-ui-chart-head small {
  color: var(--scene-muted);
  font-size: 0.58rem;
}

.hero-ui-live {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #047857;
  background: rgba(16, 185, 129, 0.11);
  font-size: 0.55rem;
  font-weight: 700;
}

.hero-ui-metrics {
  top: auto;
  bottom: 4%;
  left: 4%;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 61%;
  padding: 9px;
  border-radius: 15px;
  transform: rotate(-0.6deg);
}

.hero-ui-metrics > span {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border-right: 1px solid var(--scene-border);
}

.hero-ui-metrics > span:last-child {
  border-right: 0;
}

.hero-ui-metrics small {
  color: var(--scene-muted);
  font-size: 0.55rem;
}

.hero-ui-metrics b {
  font-size: 0.78rem;
}

.hero-ui-metrics em {
  color: #059669;
  font-size: 0.52rem;
  font-style: normal;
}

.hero-ui-chart {
  bottom: 7%;
  left: 5%;
  width: 68%;
  height: 51%;
  padding: 14px 15px;
  border-radius: 18px;
}

.hero-ui-chart-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero-ui-bars,
.scene-mini-bars {
  position: absolute;
  inset: 54px 17px 18px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 7%;
  border-bottom: 1px solid var(--scene-border);
  background: repeating-linear-gradient(to top, transparent 0 28px, var(--scene-border) 29px 30px);
}

.hero-ui-bars i,
.scene-mini-bars i {
  width: 9%;
  height: var(--bar);
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.18);
}

.hero-ui-bars i:nth-child(2n) {
  background: linear-gradient(180deg, #5eead4, #10b981);
}

.hero-ui-risk {
  top: auto;
  bottom: 4%;
  right: 3%;
  z-index: 5;
  display: grid;
  gap: 6px;
  width: 29%;
  padding: 13px;
  border-color: rgba(245, 158, 11, 0.28);
  border-radius: 16px;
}

.hero-ui-risk small {
  color: #d97706;
  font-size: 0.55rem;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-ui-risk b {
  font-size: 0.68rem;
  line-height: 1.25;
}

.hero-ui-risk span {
  color: var(--scene-muted);
  font-size: 0.55rem;
}

.hero-ui-donut {
  top: 7%;
  right: 4%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border-radius: 18px;
  transform: rotate(3deg);
}

.hero-ui-donut em {
  padding: 4px 6px;
  border-radius: 999px;
  color: #047857;
  background: rgba(16, 185, 129, 0.11);
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 750;
}

.ui-donut {
  position: relative;
  display: grid;
  place-content: center;
  flex: 0 0 auto;
  width: 92px;
  aspect-ratio: 1;
  border-radius: 50%;
  text-align: center;
  background: conic-gradient(#2563eb 0 34%, #10b981 34% 67%, #f43f5e 67% 100%);
}

.ui-donut::after {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: var(--donut-center, #fff);
}

.ui-donut b,
.ui-donut small {
  position: relative;
  z-index: 1;
}

.ui-donut b {
  font-size: 0.7rem;
  line-height: 1;
}

.ui-donut small {
  display: block;
  max-width: 4.8em;
  margin: 3px auto 0;
  color: var(--scene-muted, #64748b);
  font-size: 0.48rem;
  line-height: 1.05;
  white-space: normal;
}

.ui-donut--hero {
  width: 76px;
}

.hero-showcase-frame.is-dark-preview .ui-donut {
  --donut-center: #0f233d;
}

.hero-ai-control {
  position: absolute;
  top: 8%;
  right: 3%;
  z-index: 5;
  display: grid;
  gap: 9px;
  width: 46%;
  padding: 13px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 18px;
  color: var(--scene-text);
  background:
    radial-gradient(circle at 100% 0, rgba(34, 211, 238, 0.15), transparent 38%),
    var(--scene-surface);
  box-shadow:
    0 28px 60px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  backdrop-filter: blur(18px);
}

.hero-ai-control__head,
.hero-ai-control__pulse,
.hero-ai-control__risk,
.hero-ai-control__action {
  display: flex;
  align-items: center;
}

.hero-ai-control__head {
  gap: 9px;
}

.hero-ai-control__head > span:nth-child(2),
.hero-ai-control__pulse > span:last-child,
.hero-ai-control__risk > span,
.hero-ai-control__action > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.hero-ai-control__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.hero-ai-control__head b {
  font-size: 0.72rem;
}

.hero-ai-control__head small,
.hero-ai-control__pulse small,
.hero-ai-control__risk small,
.hero-ai-control__action small {
  color: var(--scene-muted);
  font-size: 0.51rem;
}

.hero-ai-control__head > em {
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.12);
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 800;
}

.hero-ai-control__pulse {
  gap: 11px;
  padding: 8px 10px;
  border: 1px solid var(--scene-border);
  border-radius: 13px;
  background: color-mix(in srgb, var(--scene-surface) 82%, transparent);
}

.hero-ai-control__pulse .ui-donut {
  width: 62px;
}

.hero-ai-control__pulse b {
  font-size: 0.7rem;
}

.hero-ai-control__pulse i {
  color: #059669;
  font-size: 0.49rem;
  font-style: normal;
  font-weight: 700;
}

.hero-ai-control__risk,
.hero-ai-control__action {
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
}

.hero-ai-control__risk {
  border: 1px solid rgba(245, 158, 11, 0.22);
  background: rgba(245, 158, 11, 0.08);
}

.hero-ai-control__action {
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.07);
}

.hero-ai-control__risk b,
.hero-ai-control__action b {
  overflow: hidden;
  font-size: 0.59rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-ai-control__risk > em,
.hero-ai-control__action > em {
  flex: 0 0 auto;
  color: #d97706;
  font-size: 0.53rem;
  font-style: normal;
  font-weight: 800;
}

.hero-ai-control__action > em {
  color: #2563eb;
}

.product-story .tool-card-media {
  aspect-ratio: 16 / 10;
}

.product-scene {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  overflow: hidden;
  color: #0f172a;
  background:
    radial-gradient(circle at 90% 5%, rgba(6, 182, 212, 0.12), transparent 32%),
    radial-gradient(circle at 5% 95%, rgba(37, 99, 235, 0.12), transparent 34%),
    #eef4fb;
}

.scene-kpi-ribbon,
.scene-donut-card,
.scene-floating-result,
.scene-ai-head,
.scene-ai-pulse,
.scene-ai-risk,
.scene-ai-action,
.scene-report-head,
.scene-report-totals,
.scene-table,
.scene-pnl-kpis,
.scene-pnl-rows,
.scene-calendar-head,
.scene-calendar-kpis,
.scene-week-cards {
  border: 1px solid rgba(51, 65, 85, 0.1);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(14px);
}

.scene-kpi-ribbon {
  position: absolute;
  z-index: 4;
  top: 7%;
  left: 7%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 68%;
  padding: 9px;
  border-radius: 16px;
  transform: rotate(-1.5deg);
}

.scene-kpi-ribbon span,
.scene-report-totals span,
.scene-pnl-kpis span,
.scene-calendar-kpis span {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
}

.product-scene small {
  color: #64748b;
  font-size: 0.62rem;
}

.scene-kpi-ribbon b {
  font-size: 0.83rem;
}

.scene-donut-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 43%;
  padding: 13px;
  border-radius: 20px;
}

.scene-donut-card > div {
  display: grid;
  gap: 5px;
}

.scene-donut-card > div b {
  font-size: 0.72rem;
}

.scene-donut-card--a {
  top: 28%;
  left: 5%;
  transform: rotate(-2deg);
}

.scene-donut-card--b {
  top: 20%;
  right: 4%;
  z-index: 2;
  transform: rotate(2.5deg);
}

.scene-donut-card--c {
  top: 52%;
  bottom: auto;
  left: 19%;
  z-index: 3;
  transform: rotate(1deg);
}

.ui-donut--a {
  background: conic-gradient(#2563eb 0 33%, #10b981 33% 70%, #f43f5e 70%);
}

.ui-donut--b {
  background: conic-gradient(#f43f5e 0 39%, #2563eb 39% 64%, #10b981 64% 82%, #f59e0b 82%);
}

.ui-donut--c {
  background: conic-gradient(#2563eb 0 53%, #10b981 53% 84%, #f43f5e 84%);
}

.scene-floating-result {
  position: absolute;
  right: 5%;
  bottom: 8%;
  z-index: 5;
  display: grid;
  align-content: start;
  gap: 3px;
  width: 38%;
  min-height: 18%;
  padding: 12px 15px;
  border-radius: 14px;
}

.scene-floating-result::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  height: 38%;
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.36), rgba(37, 99, 235, 0.05));
  clip-path: polygon(0 88%, 18% 62%, 36% 70%, 56% 32%, 76% 46%, 100% 4%, 100% 100%, 0 100%);
}

.scene-floating-result b {
  color: #047857;
  font-size: 0.86rem;
}

.product-scene--ai {
  color: #f8fafc;
  background:
    radial-gradient(circle at 85% 5%, rgba(34, 211, 238, 0.16), transparent 32%),
    linear-gradient(145deg, #071426, #102641);
}

.product-scene--ai small {
  color: #94a3b8;
}

.scene-ai-head,
.scene-ai-pulse,
.scene-ai-risk,
.scene-ai-action {
  position: absolute;
  z-index: 2;
  border-color: rgba(148, 180, 220, 0.17);
  background: rgba(15, 35, 61, 0.92);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.scene-ai-head {
  top: 7%;
  right: 5%;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 16px;
}

.scene-ai-head > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.scene-ai-head div {
  display: grid;
  gap: 2px;
}

.scene-ai-head em {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.12);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
}

.scene-ai-pulse {
  top: 24%;
  left: 6%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 73%;
  padding: 8px;
  border-radius: 17px;
  transform: rotate(-1deg);
}

.scene-ai-pulse span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-right: 1px solid rgba(148, 180, 220, 0.14);
}

.scene-ai-pulse span:last-child {
  border-right: 0;
}

.scene-ai-risk {
  top: 46%;
  right: 6%;
  display: grid;
  gap: 6px;
  width: 54%;
  padding: 15px;
  border-color: rgba(248, 113, 113, 0.28);
  border-radius: 18px;
  transform: rotate(1deg);
}

.scene-ai-risk em {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  font-size: 0.52rem;
  font-style: normal;
}

.scene-ai-risk > small,
.scene-ai-action > small {
  color: #7dd3fc;
  font-weight: 750;
  text-transform: uppercase;
}

.scene-ai-risk b,
.scene-ai-action b {
  font-size: 0.78rem;
}

.scene-ai-action {
  bottom: 8%;
  left: 7%;
  display: grid;
  gap: 6px;
  width: 51%;
  padding: 15px;
  border-radius: 18px;
  transform: rotate(-1.5deg);
}

.scene-ai-action > span {
  color: #60a5fa;
  font-size: 0.61rem;
}

.scene-ai-glow {
  position: absolute;
  right: -12%;
  bottom: -30%;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.16);
  filter: blur(45px);
}

.product-scene--cashflow,
.product-scene--pnl,
.product-scene--calendar {
  padding: 6%;
}

.scene-report-head,
.scene-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  border-radius: 16px;
}

.scene-report-head span,
.scene-calendar-head span {
  display: grid;
  gap: 3px;
}

.scene-report-head b,
.scene-calendar-head b {
  font-size: 0.84rem;
}

.scene-report-head em,
.scene-calendar-head em {
  padding: 5px 8px;
  border-radius: 999px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 700;
}

.scene-report-totals,
.scene-pnl-kpis,
.scene-calendar-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  padding: 8px;
  border-radius: 16px;
}

.scene-report-totals span + span,
.scene-pnl-kpis span + span,
.scene-calendar-kpis span + span {
  border-left: 1px solid rgba(51, 65, 85, 0.1);
}

.scene-report-totals b,
.scene-pnl-kpis b,
.scene-calendar-kpis b {
  font-size: 0.78rem;
}

.scene-report-totals span:first-child b,
.scene-report-totals span:last-child b {
  color: #059669;
}

.scene-report-totals span:nth-child(2) b {
  color: #dc2626;
}

.scene-table {
  position: absolute;
  right: 5%;
  bottom: 7%;
  left: 5%;
  display: grid;
  padding: 8px 12px;
  border-radius: 18px;
}

.scene-table span,
.scene-pnl-rows span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 5px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.08);
  font-size: 0.62rem;
}

.scene-table span:last-child,
.scene-pnl-rows span:last-child {
  border-bottom: 0;
}

.scene-table i,
.scene-pnl-rows i {
  color: #059669;
  font-style: normal;
  font-weight: 750;
}

.scene-table i.is-negative,
.scene-pnl-rows i {
  color: #dc2626;
}

.scene-mini-bars {
  inset: auto;
  top: 35%;
  right: 4%;
  bottom: auto;
  left: auto;
  z-index: 2;
  width: 27%;
  height: 17%;
  padding: 0 10px;
  border: 1px solid rgba(51, 65, 85, 0.1);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.14);
}

.scene-table {
  padding-right: 34%;
}

.scene-data-table {
  position: absolute;
  z-index: 1;
  display: grid;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dfe5ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.13);
}

.scene-data-table > div {
  display: grid;
  grid-template-columns: minmax(90px, 1.45fr) repeat(4, minmax(48px, 1fr));
  align-items: center;
  min-width: 0;
  border-bottom: 1px solid #e4e9f0;
}

.scene-data-table > div:last-child {
  border-bottom: 0;
}

.scene-data-table b,
.scene-data-table i {
  overflow: hidden;
  padding: 7px 8px;
  border-right: 1px solid #e4e9f0;
  font-size: 0.56rem;
  font-style: normal;
  line-height: 1.2;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene-data-table b:last-child,
.scene-data-table i:last-child {
  border-right: 0;
}

.scene-data-table b:first-child {
  text-align: left;
}

.scene-data-table i {
  color: #334155;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.scene-data-table__head {
  color: #64748b;
  background: #f1f5f9;
}

.scene-data-table__head b {
  font-size: 0.52rem;
  text-transform: uppercase;
}

.scene-data-table .is-expense i {
  color: #dc2626;
}

.scene-data-table .is-income i {
  color: #059669;
}

.scene-data-table .is-section {
  background: #e9eef5;
}

.scene-data-table .is-section b {
  color: #1e293b;
  font-weight: 800;
}

.scene-data-table .is-subsection {
  background: #f5f7fa;
}

.scene-data-table .is-subsection b,
.scene-data-table .is-subsection i {
  font-weight: 750;
}

.scene-data-table .is-item b {
  position: relative;
  padding-left: 19px;
  font-weight: 550;
}

.scene-data-table .is-item b::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #94a3b8;
  transform: translateY(-50%);
}

.scene-data-table .is-total {
  color: #0f172a;
  background: #e7edf5;
}

.scene-data-table .is-total b,
.scene-data-table .is-total i {
  color: #0f172a;
  font-weight: 800;
}

.scene-data-table--cash .is-total b,
.scene-data-table--cash .is-total i {
  color: #047857;
}

.scene-data-table--cash {
  right: 6%;
  bottom: 6%;
  left: 5%;
}

.scene-data-table--pnl {
  top: 34%;
  right: 4%;
  width: 51%;
  transform: rotate(0.7deg);
}

.product-scene--pnl {
  background:
    radial-gradient(circle at 12% 0, rgba(16, 185, 129, 0.13), transparent 32%),
    #f3f8f7;
}

.scene-waterfall {
  position: absolute;
  top: 32%;
  left: 6%;
  display: flex;
  align-items: end;
  gap: 8%;
  width: 41%;
  height: 49%;
  padding: 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.scene-waterfall i {
  width: 12%;
  height: var(--bar);
  border-radius: 6px 6px 2px 2px;
}

.scene-waterfall .is-positive {
  background: #10b981;
}

.scene-waterfall .is-negative {
  background: #f97316;
}

.scene-waterfall .is-result {
  background: #2563eb;
}

.scene-pnl-rows {
  position: absolute;
  top: 36%;
  right: 5%;
  width: 39%;
  padding: 11px;
  border-radius: 18px;
  transform: rotate(1deg);
}

.scene-pnl-rows i {
  color: #475569;
}

.scene-pnl-rows .is-total {
  margin-top: 5px;
  border-radius: 9px;
  color: #065f46;
  background: rgba(16, 185, 129, 0.1);
}

.scene-pnl-rows .is-total i {
  color: #047857;
}

.product-scene--calendar {
  background:
    radial-gradient(circle at 88% 10%, rgba(59, 130, 246, 0.16), transparent 34%),
    #f0f6ff;
}

.scene-calendar-chart {
  position: absolute;
  right: 6%;
  bottom: 17%;
  left: 6%;
  width: 88%;
  height: 38%;
  padding: 10px;
  border: 1px solid rgba(51, 65, 85, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.11);
}

.scene-week-cards {
  position: absolute;
  right: 8%;
  bottom: 6%;
  left: 8%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 8px;
  border-radius: 14px;
}

.scene-week-cards span {
  display: grid;
  gap: 2px;
  padding: 6px;
  border-radius: 8px;
  background: #f8fafc;
}

.scene-week-cards b {
  font-size: 0.62rem;
}

@media (max-width: 900px) {
  .hero-theme-stage {
    aspect-ratio: 4 / 3;
  }

  .hero-ui-scene,
  .product-scene {
    min-height: 0;
  }

  .product-story .tool-card-media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .hero-real-screen img {
    width: 100%;
    height: 100%;
  }

  .hero-ui-top {
    inset: 4% 4% auto;
  }

  .hero-ui-live,
  .hero-ui-metrics > span:nth-child(2),
  .hero-ui-risk span {
    display: none;
  }

  .hero-ui-metrics {
    left: 4%;
    bottom: 2%;
    grid-template-columns: repeat(2, 1fr);
    width: 62%;
  }

  .hero-ui-chart {
    left: 4%;
    width: 70%;
  }

  .hero-ui-donut {
    right: 3%;
  }

  .hero-ui-risk {
    right: 3%;
    width: 29%;
    padding: 9px;
  }

  .hero-ai-control {
    top: 1%;
    right: 2%;
    width: 52%;
    gap: 5px;
    padding: 7px;
    border-radius: 12px;
  }

  .hero-ai-control__head {
    gap: 5px;
  }

  .hero-ai-control__mark {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 0.55rem;
  }

  .hero-ai-control__head b {
    font-size: 0.55rem;
  }

  .hero-ai-control__head small,
  .hero-ai-control__head > em {
    display: none;
  }

  .hero-ai-control__pulse {
    gap: 6px;
    padding: 5px 6px;
  }

  .hero-ai-control__pulse .ui-donut {
    width: 46px;
  }

  .hero-ai-control__risk {
    padding: 6px;
  }

  .hero-ai-control__risk > em {
    display: none;
  }

  .hero-ai-control__action {
    display: none;
  }

  .ui-donut {
    width: 70px;
  }

  .scene-kpi-ribbon {
    width: 83%;
  }

  .scene-donut-card {
    width: 48%;
    padding: 9px;
  }

  .scene-donut-card--c {
    left: 14%;
  }

  .scene-floating-result {
    right: 3%;
  }

  .scene-ai-pulse {
    width: 88%;
  }

  .scene-ai-risk {
    width: 67%;
  }

  .scene-ai-action {
    width: 62%;
  }

  .scene-data-table {
    padding: 5px 6px;
    border-radius: 12px;
  }

  .scene-data-table > div {
    grid-template-columns: minmax(50px, 1.35fr) repeat(4, minmax(0, 1fr));
  }

  .scene-data-table b,
  .scene-data-table i {
    padding: 4px 2px;
    font-size: 0.42rem;
  }

  .scene-data-table__head b {
    font-size: 0.39rem;
  }

  .scene-data-table--pnl {
    top: 31%;
    width: 62%;
  }

  .scene-waterfall {
    width: 42%;
  }
}

/* Professional product-led landing */
.page {
  background: #f6f8fc;
}

.page::before,
.page::after {
  display: none !important;
}

.cursor-glow,
.cursor-trail-dot {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9997;
    display: block;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.2) 0%, rgba(59, 130, 246, 0.12) 32%, transparent 72%);
    filter: blur(7px);
    transform: translate3d(-220px, -220px, 0);
    transition: opacity 0.22s ease;
    will-change: transform, opacity;
  }

  .cursor-glow.is-visible {
    opacity: 1;
  }

  .cursor-trail-dot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    display: block;
    width: var(--trail-size, 8px);
    height: var(--trail-size, 8px);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(135deg, #60a5fa, #22d3ee);
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.46);
    transform: translate3d(-40px, -40px, 0);
    transition: opacity 0.18s ease;
    will-change: transform, opacity;
  }
}

.site-header {
  background: rgba(6, 15, 28, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(22px) saturate(1.15);
  transition:
    background 0.42s var(--ease-out),
    border-color 0.42s var(--ease-out),
    box-shadow 0.42s var(--ease-out);
}

.site-header .brand-name {
  color: #f8fbff;
  transition: color 0.42s var(--ease-out);
}

.site-header .brand-name span {
  color: #72a7ff;
  transition: color 0.42s var(--ease-out);
}

.site-header .nav-link {
  color: rgba(226, 232, 240, 0.76);
  transition:
    color 0.42s var(--ease-out),
    background-color 0.42s var(--ease-out);
}

.site-header .nav-link:hover,
.site-header .nav-login {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.site-header .nav-cta {
  background-color: #f8fafc;
  background-image: none;
  color: #0b1730;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.24);
  transition:
    color 0.42s var(--ease-out),
    background-color 0.42s var(--ease-out),
    box-shadow 0.42s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.site-header .nav-cta:hover {
  color: #0b1730;
  background: #fff;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.32);
}

.site-header .nav-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition:
    color 0.42s var(--ease-out),
    background-color 0.42s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.07);
}

.site-header.is-scrolled .brand-name {
  color: var(--color-text);
}

.site-header.is-scrolled .brand-name span {
  color: var(--color-accent);
}

.site-header.is-scrolled .nav-link {
  color: var(--color-text-secondary);
}

.site-header.is-scrolled .nav-login {
  color: var(--color-text);
  background: transparent;
}

.site-header.is-scrolled .nav-cta {
  color: #fff;
  background-color: #2563eb;
  background-image: none;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.22);
}

.site-header.is-scrolled .nav-toggle {
  color: var(--color-text);
  background: rgba(37, 99, 235, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 116px) 0 clamp(92px, 9vw, 132px);
  color: #fff;
  border-bottom: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(145deg, #050c18 0%, #09172c 58%, #061b2b 100%);
  background-size: 64px 64px, 64px 64px, auto;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -38%;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28), rgba(6, 182, 212, 0.08) 45%, transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
}

.hero-aurora span:first-child {
  top: -18%;
  left: 28%;
  width: 36vw;
  height: 36vw;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.18), transparent 68%);
}

.hero-aurora span:last-child {
  right: 18%;
  bottom: -24%;
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 68%);
}

.hero .shell {
  max-width: 1440px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(380px, 0.7fr) minmax(700px, 1.3fr);
  align-items: center;
  gap: clamp(36px, 4vw, 64px);
  text-align: left;
}

.hero-copy {
  max-width: 600px;
}

.hero-kicker {
  gap: 9px;
  min-height: auto;
  padding: 0;
  margin-bottom: 24px;
  color: #9ec5ff;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 0.78rem;
}

.hero-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.1), 0 0 18px rgba(52, 211, 153, 0.7);
}

.hero-title {
  max-width: 660px;
  margin-bottom: 24px;
  color: #f8fafc;
  font-size: clamp(3.25rem, 5.4vw, 5.25rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-title-accent {
  margin-top: 0.12em;
  padding: 0;
  background: linear-gradient(100deg, #7aa7ff 0%, #a8b9ff 46%, #72e2df 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 34rem;
  margin: 0 0 30px;
  color: rgba(226, 232, 240, 0.72);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  justify-content: flex-start;
  margin-bottom: 28px;
}

.hero .btn {
  min-height: 56px;
  padding-inline: 26px;
  border-radius: 999px;
}

.hero .btn-primary {
  color: #07111f;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.34);
}

.hero .btn-primary:hover {
  color: #07111f;
  background: #f8fafc;
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.42);
}

.hero .btn-ghost {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.hero-sources {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(203, 213, 225, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-sources::before {
  content: "Данные:";
  margin-right: 2px;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.48);
}

.hero-sources span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-showcase {
  width: min(900px, 100%);
  max-width: none;
  justify-self: end;
  perspective: none;
}

.hero-showcase::before {
  inset: 10% -5% -7%;
  border-radius: 30%;
  background: radial-gradient(ellipse at center, rgba(51, 109, 255, 0.36), transparent 68%);
  filter: blur(30px);
}

.hero-showcase-frame {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #eaf0f8;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 45px 100px rgba(0, 0, 0, 0.46),
    0 12px 34px rgba(37, 99, 235, 0.18);
  transform: none;
}

.hero-showcase-frame::after {
  opacity: 0.5;
}

.hero-showcase-chrome {
  position: relative;
  z-index: 4;
  padding: 12px 16px;
  background: linear-gradient(180deg, #111d31, #0d1829);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.hero-showcase-url {
  color: rgba(226, 232, 240, 0.58);
}

.hero-theme-switch {
  display: inline-flex;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.hero-theme-button {
  appearance: none;
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  color: rgba(226, 232, 240, 0.62);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-theme-button:hover {
  color: #fff;
}

.hero-theme-button:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 2px;
}

.hero-theme-button.is-active {
  color: #071426;
  background: linear-gradient(135deg, #dbeafe, #a5f3fc);
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.18);
}

.hero-theme-stage {
  position: relative;
  overflow: hidden;
  background: #eef4fb;
}

.hero-theme-picture {
  display: block;
  width: 100%;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.65s var(--ease-out);
}

.hero-theme-picture--dark {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.012);
}

.hero-showcase-frame.is-dark-preview .hero-theme-picture--light {
  opacity: 0;
  transform: scale(0.992);
}

.hero-showcase-frame.is-dark-preview .hero-theme-picture--dark {
  opacity: 1;
  transform: scale(1);
}

.hero-showcase-image {
  height: auto;
  background: #eef4fb;
}

.hero-product-status {
  position: absolute;
  z-index: 6;
  right: 28px;
  bottom: -20px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(8, 20, 36, 0.82);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  font-size: 0.76rem;
  font-weight: 600;
}

.hero-product-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.8);
}

.proof-strip {
  z-index: 3;
  margin-top: -36px;
  padding: 0 0 48px;
}

.proof-strip .shell {
  max-width: 1080px;
}

.proof-strip-grid {
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(20px);
}

.proof-item {
  padding: 18px 22px;
  text-align: left;
}

.proof-value {
  font-size: 1.1rem;
}

.proof-label {
  color: #64748b;
}

.section-tools {
  overflow: hidden;
  padding: clamp(84px, 10vw, 140px) 0;
  background: #fff;
  contain-intrinsic-size: auto 4500px;
}

.section-tools .shell {
  max-width: 1360px;
}

.section-tools .section-header {
  max-width: 790px;
  margin: 0 0 clamp(56px, 7vw, 88px);
  text-align: left;
}

.section-tools .section-kicker {
  margin-bottom: 14px;
  color: #2563eb;
  font-size: 0.78rem;
}

.section-tools .section-title {
  max-width: 700px;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
}

.section-tools .section-desc {
  max-width: 620px;
  margin: 20px 0 0;
  color: #64748b;
  font-size: 1.15rem;
}

.tools-grid {
  display: block;
}

.tool-card.product-story {
  --reveal-y: 0px;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(560px, 1.38fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  min-height: 0;
  padding: clamp(62px, 8vw, 104px) 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(var(--reveal-y));
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.tool-card.product-story:nth-child(even) {
  grid-template-columns: minmax(560px, 1.38fr) minmax(280px, 0.62fr);
}

.tool-card.product-story:nth-child(even) .tool-card-media {
  order: -1;
}

.tool-card.product-story:nth-child(2) {
  margin-inline: -42px;
  padding-inline: 42px;
  border: 0;
  border-radius: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 5% 5%, rgba(37, 99, 235, 0.24), transparent 32%),
    linear-gradient(145deg, #07111f, #0b1c34);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.18);
}

.product-story .tool-card-copy {
  max-width: 430px;
}

.product-story-index {
  display: block;
  margin-bottom: 42px;
  color: rgba(37, 99, 235, 0.2);
  font-size: 4rem;
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 1;
}

.product-story:nth-child(2) .product-story-index {
  color: rgba(125, 169, 255, 0.28);
}

.product-story .tool-card-kicker {
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.product-story:nth-child(2) .tool-card-kicker {
  color: #8db6ff;
}

.product-story .tool-card-title {
  margin-bottom: 18px;
  color: #0f172a;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.product-story:nth-child(2) .tool-card-title {
  color: #f8fafc;
}

.product-story .tool-card-text {
  color: #64748b;
  font-size: 1.08rem;
  line-height: 1.65;
}

.product-story:nth-child(2) .tool-card-text {
  color: rgba(226, 232, 240, 0.7);
}

.product-story-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.product-story-points li {
  padding: 7px 11px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 999px;
  color: #475569;
  background: #f5f8ff;
  font-size: 0.78rem;
  font-weight: 600;
}

.product-story:nth-child(2) .product-story-points li {
  color: rgba(226, 232, 240, 0.8);
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.product-story .tool-card-media,
.product-story.tool-card--wide .tool-card-media {
  position: relative;
  width: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 26px;
  background: #eef4fb;
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.14),
    0 2px 8px rgba(15, 23, 42, 0.06);
}

.product-story:nth-child(2) .tool-card-media {
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.36);
}

.product-story .tool-card-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.product-story .tool-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-story.reveal .tool-card-copy > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.65s var(--ease-out);
}

.product-story.reveal.is-inview .tool-card-copy > * {
  opacity: 1;
  transform: translateY(0);
}

.product-story.reveal.is-inview .tool-card-copy > :nth-child(1) {
  transition-delay: 60ms;
}

.product-story.reveal.is-inview .tool-card-copy > :nth-child(2) {
  transition-delay: 110ms;
}

.product-story.reveal.is-inview .tool-card-copy > :nth-child(3) {
  transition-delay: 160ms;
}

.product-story.reveal.is-inview .tool-card-copy > :nth-child(4) {
  transition-delay: 210ms;
}

.product-story.reveal.is-inview .tool-card-copy > :nth-child(5) {
  transition-delay: 260ms;
}

.product-story.reveal .tool-card-media {
  opacity: 0;
  transform: translateY(24px) scale(0.975);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.85s var(--ease-out),
    box-shadow 0.35s ease;
}

.product-story.reveal.is-inview .tool-card-media {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 120ms;
}

.product-story:nth-child(2) .tool-card-media::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -35%;
  z-index: 2;
  width: 34%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.2), transparent);
  transform: translateX(-145%) skewX(-16deg);
}

.product-story:nth-child(2).reveal.is-inview .tool-card-media::after {
  animation: product-story-sheen 1.15s var(--ease-out) 520ms both;
}

@media (hover: hover) and (pointer: fine) {
  .product-story.is-revealed .tool-card-media:hover {
    transform: translateY(-4px) scale(1.008);
  }
}

.section-pricing {
  padding-block: clamp(64px, 7vw, 92px);
}

#consultant {
  padding-block: clamp(48px, 5vw, 72px);
}

.section-final-cta {
  padding-block: clamp(18px, 2.5vw, 34px);
}

.contacts-section {
  padding-block: clamp(48px, 5vw, 68px);
}

.section-pricing {
  border-top: 0;
  background: #f6f8fc;
}

.section-pricing .section-header {
  margin-bottom: 42px;
}

.pricing-included,
.pricing-card,
.consultant-card,
.contacts-card {
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.pricing-card {
  border-radius: 26px;
}

.pricing-card--featured {
  border-color: rgba(37, 99, 235, 0.28);
  transform: translateY(-8px);
}

.consultant-card {
  border-radius: 34px;
}

.final-cta-card {
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 10%, rgba(34, 211, 238, 0.18), transparent 34%),
    linear-gradient(135deg, #071426 0%, #0c2855 52%, #0b4961 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-showcase {
    width: 100%;
    justify-self: stretch;
  }

  .hero-title {
    font-size: clamp(3rem, 5.8vw, 4.3rem);
  }

  .tool-card.product-story,
  .tool-card.product-story:nth-child(even) {
    grid-template-columns: minmax(260px, 0.58fr) minmax(480px, 1.42fr);
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .site-header .site-nav {
    background: rgba(255, 255, 255, 0.98);
  }

  .site-header .site-nav .nav-link,
  .site-header .site-nav .nav-login {
    color: var(--color-text);
  }

  .hero {
    padding: 58px 0 82px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-title {
    max-width: 700px;
  }

  .hero-showcase {
    width: 100%;
    justify-self: stretch;
  }

  .hero-product-status {
    right: 18px;
  }

  .proof-strip {
    margin-top: -28px;
  }

  .tool-card.product-story,
  .tool-card.product-story:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 64px 0;
  }

  .tool-card.product-story:nth-child(even) .tool-card-media {
    order: initial;
  }

  .tool-card.product-story:nth-child(2) {
    margin-inline: -20px;
    padding-inline: 20px;
    border-radius: 28px;
  }

  .product-story .tool-card-copy {
    max-width: 620px;
  }

  .product-story-index {
    margin-bottom: 24px;
    font-size: 3rem;
  }

  .pricing-card--featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .mobile-sticky-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition:
      opacity 0.25s var(--ease-out),
      transform 0.25s var(--ease-out);
  }

  .mobile-sticky-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding: 46px 0 68px;
  }

  .hero-grid {
    gap: 36px;
    text-align: left;
  }

  .hero-kicker {
    min-height: auto;
    margin-bottom: 18px;
  }

  .hero-title {
    margin-bottom: 18px;
    font-size: clamp(2.75rem, 13vw, 3.7rem);
    line-height: 0.98;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
  }

  .hero-sources {
    flex-wrap: wrap;
  }

  .hero-showcase {
    margin-inline: 0;
  }

  .hero-showcase-frame {
    border-radius: 16px;
  }

  .hero-theme-button {
    padding: 5px 8px;
    font-size: 0.62rem;
  }

  .hero-product-status {
    position: relative;
    right: auto;
    bottom: auto;
    width: fit-content;
    margin: 12px 0 0;
    padding: 9px 12px;
  }

  .proof-strip-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    text-align: left;
  }

  .section-tools {
    padding: 76px 0;
    contain-intrinsic-size: auto 5600px;
  }

  .section-tools .section-header {
    margin-bottom: 34px;
  }

  .section-tools .section-title {
    font-size: clamp(2.45rem, 11vw, 3.3rem);
  }

  .tool-card.product-story,
  .tool-card.product-story:nth-child(even) {
    gap: 26px;
    padding: 52px 0;
  }

  .tool-card.product-story:nth-child(2) {
    margin-inline: -16px;
    padding-inline: 16px;
    border-radius: 24px;
  }

  .product-story .tool-card-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .product-story .tool-card-text {
    font-size: 1rem;
  }

  .product-story .tool-card-media {
    border-radius: 17px;
  }

  .product-story.reveal .tool-card-copy > * {
    transform: translateY(8px);
    transition-duration: 0.45s;
  }

  .product-story.reveal .tool-card-media {
    transform: translateY(12px) scale(0.99);
    transition-duration: 0.55s;
  }

  .product-story:nth-child(2).reveal.is-inview .tool-card-media::after {
    animation: none;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 2.65rem;
  }

  .hero-sources::before {
    width: 100%;
  }
}

/* Real interactive product walkthrough */
.hero-theme-stage {
  aspect-ratio: 16 / 9;
}

.hero-demo-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  color: rgba(226, 232, 240, 0.75);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.62rem;
  font-weight: 650;
}

.hero-demo-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.85);
}

.hero-demo-state {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.008);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.hero-demo-state.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.hero-demo-state img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-ui-scene[data-active-step="dashboard"] .hero-ui-metrics {
  opacity: 1;
}

.hero-ui-scene:not([data-active-step="dashboard"]) .hero-ui-metrics {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) rotate(-0.6deg);
}

.hero-ui-metrics {
  transition:
    opacity 0.3s ease,
    transform 0.45s var(--ease-out);
}

.hero-demo-focus {
  position: absolute;
  z-index: 4;
  border: 2px solid rgba(37, 99, 235, 0.72);
  border-radius: 12px;
  pointer-events: none;
  box-shadow:
    0 0 0 5px rgba(37, 99, 235, 0.1),
    0 12px 30px rgba(37, 99, 235, 0.16);
  transition:
    top 0.75s var(--ease-out),
    right 0.75s var(--ease-out),
    bottom 0.75s var(--ease-out),
    left 0.75s var(--ease-out);
  animation: hero-demo-focus-pulse 2.4s ease-in-out infinite;
}

.hero-ui-scene[data-active-step="dashboard"] .hero-demo-focus {
  top: 26%;
  right: 2%;
  bottom: 57%;
  left: 16%;
}

.hero-ui-scene[data-active-step="ai"] .hero-demo-focus {
  top: 1.5%;
  right: 0.8%;
  bottom: 2%;
  left: 77.5%;
}

.hero-ui-scene[data-active-step="debtors"] .hero-demo-focus {
  top: 28%;
  right: 2%;
  bottom: 9%;
  left: 16%;
}

.hero-demo-cursor {
  position: absolute;
  z-index: 6;
  width: 19px;
  height: 25px;
  pointer-events: none;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 28% 72%, 44% 100%, 58% 92%, 42% 65%, 78% 65%);
  filter:
    drop-shadow(0 1px 1px rgba(15, 23, 42, 0.7))
    drop-shadow(0 8px 14px rgba(15, 23, 42, 0.3));
  transition:
    top 0.8s var(--ease-out),
    left 0.8s var(--ease-out);
}

.hero-demo-cursor i {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(34, 211, 238, 0.85);
  border-radius: 50%;
  animation: hero-demo-cursor-click 2.4s ease-out infinite;
}

.hero-ui-scene[data-active-step="dashboard"] .hero-demo-cursor {
  top: 32%;
  left: 91%;
}

.hero-ui-scene[data-active-step="ai"] .hero-demo-cursor {
  top: 46%;
  left: 88%;
}

.hero-ui-scene[data-active-step="debtors"] .hero-demo-cursor {
  top: 45%;
  left: 55%;
}

.hero-demo-steps {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.hero-demo-step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 13px;
  color: rgba(226, 232, 240, 0.7);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  text-align: left;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.hero-demo-step:hover {
  color: #fff;
  border-color: rgba(125, 211, 252, 0.34);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-1px);
}

.hero-demo-step.is-active {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.48);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.12));
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.18);
}

.hero-demo-step > span {
  grid-row: 1 / span 2;
  color: #67e8f9;
  font-size: 0.58rem;
  font-weight: 800;
}

.hero-demo-step b {
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-step small {
  overflow: hidden;
  color: rgba(148, 163, 184, 0.72);
  font-size: 0.56rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes hero-demo-focus-pulse {
  0%,
  100% {
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08), 0 12px 30px rgba(37, 99, 235, 0.12);
  }
  50% {
    border-color: rgba(34, 211, 238, 0.88);
    box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.12), 0 16px 34px rgba(37, 99, 235, 0.2);
  }
}

@keyframes hero-demo-cursor-click {
  0%,
  58% {
    opacity: 0;
    transform: scale(0.35);
  }
  66% {
    opacity: 0.9;
  }
  86%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@media (max-width: 720px) {
  .hero-theme-stage {
    aspect-ratio: 16 / 9;
  }

  .hero-demo-cursor,
  .hero-demo-focus {
    display: none;
  }

  .hero-demo-steps {
    gap: 5px;
    margin-top: 8px;
  }

  .hero-demo-step {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 9px 6px;
    text-align: center;
  }

  .hero-demo-step > span {
    grid-row: auto;
  }

  .hero-demo-step b {
    font-size: 0.62rem;
  }

  .hero-demo-step small {
    display: none;
  }

  .hero-demo-live {
    padding: 4px 7px;
    font-size: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-demo-state,
  .hero-ui-metrics,
  .hero-demo-step {
    transition: none !important;
  }

  .hero-demo-focus,
  .hero-demo-cursor {
    display: none !important;
    animation: none !important;
  }
}

/* Full-size themed product gallery */
.hero .shell {
  max-width: 1560px;
}

.hero-grid {
  grid-template-columns: minmax(360px, 0.52fr) minmax(640px, 1.48fr);
  gap: clamp(28px, 3vw, 48px);
}

.hero-copy {
  transform: translateY(-26px);
}

.hero-showcase {
  width: min(1040px, 100%);
}

.hero-showcase-frame {
  overflow: hidden;
}

.hero-showcase-frame::after {
  display: none;
}

.hero-showcase-chrome {
  min-height: 44px;
}

.hero-gallery-theme {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.hero-gallery-theme button {
  position: relative;
  appearance: none;
  padding: 4px 0 6px;
  border: 0;
  color: rgba(226, 232, 240, 0.48);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 650;
  transition: color 0.2s ease;
}

.hero-gallery-theme button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #67e8f9;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease-out);
}

.hero-gallery-theme button:hover,
.hero-gallery-theme button.is-active {
  color: #fff;
}

.hero-gallery-theme button.is-active::after {
  transform: scaleX(1);
}

.hero-gallery-theme button:focus-visible,
.hero-gallery-progress button:focus-visible,
.hero-gallery-arrow:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 3px;
}

.hero-theme-stage,
.hero-gallery {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-gallery {
  background: #eef4fb;
  touch-action: pan-y;
}

.hero-gallery[data-gallery-theme="dark"] {
  background: #071426;
}

.hero-gallery-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.004);
  transition:
    opacity 0.65s var(--ease-out),
    transform 1.1s var(--ease-out),
    visibility 0s linear 0.65s;
}

.hero-gallery-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}

.hero-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-gallery-controls {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 14px;
  align-items: end;
  margin-top: 16px;
}

.hero-gallery-arrow {
  appearance: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0 0 2px;
  border: 0;
  color: rgba(226, 232, 240, 0.5);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.hero-gallery-arrow:hover {
  color: #fff;
  transform: translateX(-2px);
}

.hero-gallery-arrow--next:hover {
  transform: translateX(2px);
}

.hero-gallery-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-gallery-progress button {
  appearance: none;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  color: rgba(148, 163, 184, 0.58);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.hero-gallery-progress button > span {
  position: relative;
  display: block;
  height: 2px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.2);
}

.hero-gallery-progress button > span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #60a5fa, #67e8f9);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-gallery-progress button.is-active {
  color: rgba(255, 255, 255, 0.92);
}

.hero-gallery-progress button.is-active > span::after {
  animation: hero-gallery-progress 6s linear forwards;
}

.hero-showcase.is-gallery-paused .hero-gallery-progress button.is-active > span::after {
  animation-play-state: paused;
}

.hero-gallery-progress b {
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes hero-gallery-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    transform: none;
  }

  .hero-showcase {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero-showcase-chrome {
    min-height: 38px;
    padding: 9px 11px;
  }

  .hero-gallery-theme {
    gap: 11px;
  }

  .hero-gallery-theme button {
    font-size: 0.58rem;
  }

  .hero-gallery-controls {
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    gap: 7px;
    margin-top: 12px;
  }

  .hero-gallery-arrow {
    width: 26px;
    height: 28px;
    font-size: 0.95rem;
  }

  .hero-gallery-progress {
    gap: 5px;
  }

  .hero-gallery-progress button {
    gap: 6px;
  }

  .hero-gallery-progress b {
    font-size: 0.55rem;
  }
}

@media (max-width: 420px) {
  .hero-showcase-url {
    display: none;
  }

  .hero-gallery-theme {
    margin-left: auto;
  }

  .hero-gallery-progress b {
    font-size: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-gallery-slide,
  .hero-gallery-theme button::after,
  .hero-gallery-arrow {
    transition: none !important;
  }

  .hero-gallery-progress button.is-active > span::after {
    animation: none !important;
    transform: scaleX(1);
  }
}

/* Light financial editorial hero */
.hero {
  color: #0f1f3d;
  background:
    radial-gradient(circle at 78% 18%, rgba(37, 99, 235, 0.13), transparent 25%),
    radial-gradient(circle at 56% 74%, rgba(6, 182, 212, 0.1), transparent 28%),
    #f6f9ff;
}

.site-header,
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.07);
}

.site-header .brand-name,
.site-header.is-scrolled .brand-name {
  color: var(--color-text);
}

.site-header .brand-name span,
.site-header.is-scrolled .brand-name span {
  color: var(--color-accent);
}

.site-header .nav-link,
.site-header.is-scrolled .nav-link {
  color: var(--color-text-secondary);
}

.site-header .nav-login,
.site-header.is-scrolled .nav-login {
  color: var(--color-text);
  background: transparent;
}

.site-header .nav-cta,
.site-header.is-scrolled .nav-cta {
  color: #fff;
  background-color: #2563eb;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.22);
}

.site-header .nav-toggle,
.site-header.is-scrolled .nav-toggle {
  color: var(--color-text);
  background: rgba(37, 99, 235, 0.08);
}

.site-header .nav-link:hover,
.site-header.is-scrolled .nav-link:hover,
.site-header .nav-login:hover,
.site-header.is-scrolled .nav-login:hover {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
}

.site-header .nav-cta:hover,
.site-header.is-scrolled .nav-cta:hover {
  color: #fff;
  background: #1d4ed8;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.site-header .nav-link:focus-visible,
.site-header .nav-login:focus-visible,
.site-header .nav-cta:focus-visible,
.site-header .nav-toggle:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.hero::after,
.hero-aurora {
  display: none;
}

.hero-kicker {
  color: #2563eb;
}

.hero-kicker span {
  background: #2563eb;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
}

.hero-title {
  color: #10213f;
}

.hero-title-accent {
  background: linear-gradient(100deg, #2563eb, #1687d8 65%, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  color: #52627b;
}

.hero .btn-primary {
  color: #fff;
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.2);
}

.hero .btn-primary:hover {
  color: #fff;
  background: #1d4ed8;
}

.hero .btn-ghost {
  color: #23416c;
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: none;
}

.hero .btn-ghost:hover {
  color: #1d4ed8;
  background: #fff;
  border-color: rgba(37, 99, 235, 0.35);
}

.hero-sources {
  color: #587096;
}

.hero-sources::before {
  color: #8291aa;
}

.hero-sources span {
  border-color: rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.hero-financial-board {
  position: relative;
  width: min(880px, 100%);
  min-height: 545px;
  margin: 0;
  overflow: hidden;
  justify-self: end;
}

.hero-financial-board::before {
  content: "";
  position: absolute;
  inset: 3% 2% 4% 5%;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 36px;
  background:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.76);
  background-size: 38px 38px;
  box-shadow: 0 28px 70px rgba(51, 83, 142, 0.13);
}

.hero-board-overview,
.hero-board-chart,
.hero-board-breakdown,
.hero-board-ai,
.hero-board-table,
.hero-board-kpi {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 45px rgba(49, 77, 122, 0.14);
}

.hero-board-overview {
  top: 10%;
  right: 4%;
  width: 54%;
  overflow: hidden;
  transform: rotate(1.4deg);
}

.hero-board-overview picture,
.hero-board-overview img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-board-overview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.hero-board-caption {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #1e40af;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.12);
  font-size: 0.62rem;
  font-weight: 700;
}

.hero-board-chart {
  top: 17%;
  left: 2%;
  display: grid;
  width: 44%;
  padding: 20px 20px 15px;
}

.hero-board-chart > div:first-child {
  display: grid;
  gap: 3px;
}

.hero-board-chart span,
.hero-board-table header span,
.hero-board-ai small {
  color: #6f82a0;
  font-size: 0.68rem;
  font-weight: 650;
}

.hero-board-chart strong {
  color: #10213f;
  font-size: 1.24rem;
  letter-spacing: -0.04em;
}

.hero-board-chart em {
  color: #059669;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
}

.hero-board-chart svg {
  width: 100%;
  margin-top: 10px;
}

.hero-board-grid {
  fill: none;
  stroke: #dfe9fa;
  stroke-width: 1;
}

.hero-board-axis {
  display: flex;
  justify-content: space-between;
  margin-top: -4px;
  color: #94a3b8;
  font-size: 0.58rem;
}

.hero-board-breakdown {
  right: 5%;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 37%;
  padding: 15px;
  transform: rotate(-1.2deg);
}

.hero-board-donut {
  display: grid;
  place-content: center;
  width: 88px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#2563eb 0 70%, #62d5e5 70% 87%, #dceeff 87% 100%);
  text-align: center;
}

.hero-board-donut::after {
  content: "";
  grid-area: 1 / 1;
  width: 60px;
  aspect-ratio: 1;
  margin: auto;
  border-radius: inherit;
  background: #fff;
}

.hero-board-donut b,
.hero-board-donut small {
  z-index: 1;
  grid-area: 1 / 1;
}

.hero-board-donut b {
  align-self: end;
  color: #152647;
  font-size: 0.8rem;
}

.hero-board-donut small {
  align-self: start;
  margin-top: 46px;
  color: #7c8ca4;
  font-size: 0.5rem;
}

.hero-board-breakdown > div:last-child {
  display: grid;
  gap: 6px;
  color: #62728b;
  font-size: 0.6rem;
}

.hero-board-breakdown strong {
  color: #1a3157;
  font-size: 0.76rem;
}

.hero-board-breakdown span {
  white-space: nowrap;
}

.hero-board-breakdown i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #2563eb;
}

.hero-board-breakdown span:last-child i {
  background: #62d5e5;
}

.hero-board-ai {
  top: 54%;
  right: 4%;
  left: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: 49%;
  padding: 14px 15px;
  z-index: 3;
}

.hero-board-ai-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.hero-board-ai div {
  display: grid;
  gap: 3px;
}

.hero-board-ai strong {
  color: #19345f;
  font-size: 0.72rem;
  line-height: 1.25;
}

.hero-board-ai em {
  color: #dc2626;
  font-size: 0.6rem;
  font-style: normal;
}

.hero-board-ai-arrow {
  color: #2563eb;
  font-size: 1.1rem;
}

.hero-board-table {
  top: 58%;
  left: 3%;
  width: 43%;
  overflow: hidden;
  transform: rotate(-1deg);
}

.hero-board-table header,
.hero-board-table > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
}

.hero-board-table header {
  background: #edf4ff;
}

.hero-board-table header strong {
  color: #6380ab;
  font-size: 0.58rem;
}

.hero-board-table > div {
  border-top: 1px solid #edf1f7;
  color: #52647e;
  font-size: 0.62rem;
}

.hero-board-table i {
  color: #059669;
  font-style: normal;
  font-weight: 750;
}

.hero-board-table i.is-expense {
  color: #dc2626;
}

.hero-board-table .is-total {
  color: #1e3a63;
  background: #f7fbff;
  font-weight: 700;
}

.tool-card.product-story:nth-child(2) {
  margin-inline: 0;
  padding-inline: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
}

.product-story:nth-child(2) .product-story-index {
  color: rgba(37, 99, 235, 0.2);
}

.product-story:nth-child(2) .tool-card-kicker {
  color: #2563eb;
}

.product-story:nth-child(2) .tool-card-title {
  color: #0f172a;
}

.product-story:nth-child(2) .tool-card-text {
  color: #64748b;
}

.product-story:nth-child(2) .product-story-points li {
  color: #475569;
  border-color: rgba(37, 99, 235, 0.12);
  background: #f5f8ff;
}

.product-story:nth-child(2) .tool-card-media {
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14);
}

.product-scene--ai {
  color: #17315a;
  background:
    radial-gradient(circle at 92% 8%, rgba(6, 182, 212, 0.14), transparent 28%),
    linear-gradient(145deg, #f9fcff, #eaf3ff);
}

.product-scene--ai small {
  color: #6b7f9d;
}

.product-scene--ai .scene-ai-head,
.product-scene--ai .scene-ai-pulse,
.product-scene--ai .scene-ai-risk,
.product-scene--ai .scene-ai-action {
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 16px 34px rgba(45, 79, 130, 0.12);
}

.product-scene--ai .scene-ai-pulse span {
  border-right-color: rgba(37, 99, 235, 0.1);
}

.product-scene--ai .scene-ai-risk {
  border-color: rgba(239, 68, 68, 0.2);
}

.product-scene--ai .scene-ai-risk em {
  color: #dc2626;
  background: #fef2f2;
}

.product-scene--ai .scene-ai-risk > small,
.product-scene--ai .scene-ai-action > small {
  color: #2563eb;
}

.product-scene--ai .scene-ai-action > span {
  color: #2563eb;
}

.product-scene--ai .scene-ai-glow {
  background: rgba(37, 99, 235, 0.1);
}

.product-story:nth-child(2) .tool-card-media::after {
  display: none;
}

@media (max-width: 1100px) {
  .hero-financial-board {
    width: min(920px, 100%);
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .hero-financial-board {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero-financial-board::before {
    border-radius: 24px;
  }

  .hero-board-overview {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-board-chart {
    width: 56%;
    padding: 13px 13px 9px;
  }

  .hero-board-chart strong {
    font-size: 0.88rem;
  }

  .hero-board-chart svg {
    margin-top: 4px;
  }

  .hero-board-breakdown {
    right: 4%;
    width: 42%;
    padding: 9px;
  }

  .hero-board-donut {
    width: 60px;
  }

  .hero-board-donut::after {
    width: 42px;
  }

  .hero-board-donut b {
    font-size: 0.58rem;
  }

  .hero-board-donut small {
    margin-top: 33px;
    font-size: 0.42rem;
  }

  .hero-board-breakdown > div:last-child {
    gap: 4px;
    font-size: 0.48rem;
  }

  .hero-board-breakdown strong {
    font-size: 0.6rem;
  }

  .hero-board-ai {
    bottom: 10%;
    left: 6%;
    width: 57%;
    gap: 7px;
    padding: 9px;
  }

  .hero-board-ai-mark {
    width: 23px;
    height: 23px;
    border-radius: 7px;
    font-size: 0.72rem;
  }

  .hero-board-ai small,
  .hero-board-ai em {
    font-size: 0.46rem;
  }

  .hero-board-ai strong {
    font-size: 0.54rem;
  }

  .hero-board-table {
    top: 53%;
    width: 50%;
  }

  .hero-board-table header,
  .hero-board-table > div {
    padding: 6px 7px;
    font-size: 0.47rem;
  }

  .hero-board-table header span {
    font-size: 0.48rem;
  }
}

/* Focused hero and real product preview strip */
.hero-financial-board {
  width: min(1000px, 100%);
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  justify-self: end;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 28px;
  background: #eef4fb;
  box-shadow: 0 40px 90px rgba(35, 66, 116, 0.16);
}

.hero-financial-board::before {
  display: none;
}

.hero-board-overview {
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: auto;
  height: auto;
  overflow: hidden;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-board-overview::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22%;
  background: linear-gradient(180deg, transparent, rgba(247, 250, 255, 0.92));
  opacity: calc(1 - var(--hero-reveal, 0));
  pointer-events: none;
}

.hero-board-chart,
.hero-board-ai,
.hero-board-kpi {
  pointer-events: none;
  transform: translate3d(
    calc(var(--fly-x) * var(--hero-reveal, 0)),
    calc(var(--fly-y) * var(--hero-reveal, 0)),
    0
  );
  opacity: calc(1 - var(--hero-reveal, 0));
}

.hero-board-chart {
  top: auto;
  bottom: 12%;
  left: 3%;
  z-index: 3;
  width: 44%;
  --fly-x: -88px;
  --fly-y: 96px;
  background: rgba(255, 255, 255, 0.98);
}

.hero-board-ai {
  top: auto;
  right: 3%;
  bottom: 14%;
  z-index: 4;
  width: 48%;
  padding: 17px 18px;
  --fly-x: 92px;
  --fly-y: 78px;
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.18);
}

.hero-board-kpi {
  display: grid;
  gap: 2px;
  width: 32%;
  padding: 12px 14px;
  z-index: 4;
}

.hero-board-kpi small {
  color: #6f82a0;
  font-size: 0.62rem;
  font-weight: 650;
}

.hero-board-kpi strong {
  color: #10213f;
  font-size: 1.02rem;
  letter-spacing: -0.04em;
}

.hero-board-kpi em {
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
}

.hero-board-kpi--cash {
  top: 8%;
  left: 3%;
  --fly-x: -78px;
  --fly-y: -72px;
}

.hero-board-kpi--cash em {
  color: #2563eb;
}

.hero-board-kpi--profit {
  top: 8%;
  right: 3%;
  left: auto;
  --fly-x: 86px;
  --fly-y: -68px;
}

.hero-board-kpi--profit em {
  color: #059669;
}

.hero-board-ai strong {
  font-size: 0.8rem;
}

.product-preview-strip {
  padding: clamp(66px, 8vw, 108px) 0;
  background:
    radial-gradient(circle at 50% 0, rgba(37, 99, 235, 0.07), transparent 30%),
    #fff;
}

.product-preview-strip .shell {
  max-width: 1380px;
}

.product-preview-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 62px);
}

.product-preview-header .section-kicker {
  margin-bottom: 12px;
  color: #2563eb;
}

.product-preview-header h2 {
  max-width: 760px;
  margin: 0;
  color: #0f1f3d;
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.product-preview-header > p {
  max-width: 420px;
  margin: 0 0 4px;
  color: #66758d;
  font-size: 1rem;
  line-height: 1.65;
}

.product-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

.product-preview-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.11);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(38, 65, 108, 0.11);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s ease;
}

.product-preview-card--featured {
  transform: translateY(-14px);
  box-shadow: 0 30px 68px rgba(37, 99, 235, 0.16);
}

.product-preview-card picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid #e8eef8;
  background: #eef4fb;
}

.product-preview-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-preview-card > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 11px;
  padding: 17px 18px 19px;
}

.product-preview-card span {
  grid-row: 1 / 3;
  color: #2563eb;
  font-size: 0.68rem;
  font-weight: 800;
}

.product-preview-card strong {
  color: #172b4d;
  font-size: 0.9rem;
}

.product-preview-card small {
  margin-top: 4px;
  color: #718097;
  font-size: 0.7rem;
}

@media (hover: hover) and (pointer: fine) {
  .product-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 68px rgba(37, 99, 235, 0.16);
  }

  .product-preview-card--featured:hover {
    transform: translateY(-18px);
  }
}

@media (max-width: 900px) {
  .product-preview-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-preview-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }

  .product-preview-card--featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .hero-financial-board {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero-financial-board::before {
    display: none;
  }

  .hero-board-overview {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-board-chart {
    top: auto;
    bottom: 8%;
    left: 3%;
    width: 56%;
    --fly-x: -36px;
    --fly-y: 48px;
  }

  .hero-board-ai {
    top: auto;
    right: 3%;
    bottom: 8%;
    left: auto;
    width: 58%;
    padding: 10px;
    --fly-x: 40px;
    --fly-y: 42px;
  }

  .hero-board-kpi {
    width: 42%;
    padding: 8px 10px;
  }

  .hero-board-kpi strong {
    font-size: 0.78rem;
  }

  .hero-board-kpi--cash {
    top: 6%;
    --fly-x: -28px;
    --fly-y: -36px;
  }

  .hero-board-kpi--profit {
    top: 6%;
    --fly-x: 30px;
    --fly-y: -34px;
  }

  .hero-board-ai strong {
    font-size: 0.56rem;
  }

  .product-preview-strip {
    padding: 62px 0;
  }

  .product-preview-header h2 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-preview-card {
    transition: none;
  }
}

/* Single-screen capability showcase */
.product-preview-strip {
  overflow: hidden;
  padding: clamp(76px, 9vw, 124px) 0;
}

.product-preview-header {
  margin-bottom: 34px;
}

.capability-tabs {
  display: flex;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 999px;
  background: rgba(239, 245, 255, 0.84);
  scrollbar-width: none;
}

.capability-tabs::-webkit-scrollbar {
  display: none;
}

.capability-tabs button {
  appearance: none;
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  color: #667892;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 650;
  white-space: nowrap;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.capability-tabs button:hover {
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.68);
}

.capability-tabs button.is-active {
  color: #fff;
  background: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.capability-tabs button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.tab-label-short {
  display: none;
}

.capability-showcase {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 30px;
  background: #fff;
  box-shadow:
    0 40px 90px rgba(35, 66, 116, 0.16),
    0 4px 12px rgba(35, 66, 116, 0.06);
}

.capability-showcase::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.62), transparent);
}

.capability-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.06), transparent 38%),
    #eef4fb;
}

.capability-screen {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.42s var(--ease-out),
    visibility 0s linear 0.42s;
}

.capability-screen.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.capability-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.capability-caption {
  position: relative;
  min-height: 106px;
  margin: 0;
  border-top: 1px solid #e8eef8;
  background: rgba(255, 255, 255, 0.97);
}

.capability-caption > div {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 40px minmax(180px, 0.42fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition:
    opacity 0.28s ease,
    transform 0.38s var(--ease-out),
    visibility 0s linear 0.28s;
}

.capability-caption > div.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.capability-caption span {
  color: #2563eb;
  font-size: 0.7rem;
  font-weight: 800;
}

.capability-caption strong {
  color: #15294a;
  font-size: 1rem;
}

.capability-caption p {
  margin: 0;
  color: #6b7b91;
  font-size: 0.86rem;
  line-height: 1.5;
}


@media (max-width: 720px) {
  .product-preview-header {
    margin-bottom: 26px;
  }

  .capability-tabs {
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 14px;
    border-radius: 16px;
  }

  .capability-tabs button {
    padding: 9px 13px;
    font-size: 0.68rem;
  }

  .capability-showcase {
    border-radius: 18px;
  }

  .capability-caption {
    min-height: 132px;
  }

  .capability-caption > div {
    grid-template-columns: 28px 1fr;
    gap: 7px 10px;
    padding: 18px;
  }

  .capability-caption p {
    grid-column: 2;
    font-size: 0.75rem;
  }

  .capability-caption strong {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-board-overview img,
  .hero-board-chart,
  .hero-board-ai,
  .hero-board-kpi,
  .hero-board-overview::after {
    transform: none !important;
    opacity: 1 !important;
  }
}

.product-preview-strip {
  padding: 36px 0 20px;
}

.capability-caption {
  min-height: 84px;
}

.capability-caption > div {
  padding: 16px 24px;
}

.section-tools {
  padding: 40px 0 48px;
  contain-intrinsic-size: auto 2400px;
}

.section-tools .section-header {
  margin-bottom: 24px;
}

.tool-card.product-story {
  padding-block: 36px;
}

@media (max-width: 720px) {
  .product-preview-strip {
    padding: 28px 0 16px;
  }

  .section-tools {
    padding: 32px 0 40px;
  }

  .section-tools .section-header {
    margin-bottom: 18px;
  }

  .tool-card.product-story {
    padding-block: 28px;
  }

  .hero-board-kpi,
  .hero-board-chart,
  .hero-board-ai,
  .hero-board-overview::after {
    display: none;
  }

  .hero-financial-board {
    aspect-ratio: 16 / 9;
    width: 100%;
    justify-self: stretch;
    border-radius: 20px;
  }

  .hero-board-overview img {
    object-fit: contain;
    object-position: top left;
  }

  .capability-tabs {
    justify-content: center;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
  }

  .tab-label-full {
    display: none;
  }

  .tab-label-short {
    display: inline;
  }

  .capability-stage {
    aspect-ratio: 16 / 9;
  }

  .capability-screen img {
    object-fit: contain;
    object-position: top left;
  }

  .product-preview-header h2 {
    font-size: clamp(1.7rem, 8.4vw, 2.4rem);
    line-height: 1.12;
  }
}

.section-capabilities {
  padding: 48px 0 28px;
}

.section-capabilities .section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.feature-pillar {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.2fr);
  gap: 40px 56px;
  align-items: center;
  margin: 0 0 72px;
}

.feature-pillar:last-child {
  margin-bottom: 0;
}

.feature-pillar--reverse {
  grid-template-columns: minmax(420px, 1.2fr) minmax(280px, 0.9fr);
}

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

.feature-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #2563eb;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  background: #2563eb;
  letter-spacing: 0;
}

.feature-pillar-copy h3 {
  margin: 0 0 14px;
  color: #10213f;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.feature-pillar-copy p {
  margin: 0 0 18px;
  color: #4b5d76;
  font-size: 1.02rem;
  line-height: 1.55;
}

.feature-pillar-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-pillar-copy li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  color: #24364f;
  font-size: 0.95rem;
  line-height: 1.45;
}

.feature-pillar-copy li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
}

.feature-pillar-screen {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 24px;
  background: #eef4fb;
  box-shadow:
    0 28px 70px rgba(35, 66, 116, 0.14),
    0 4px 12px rgba(35, 66, 116, 0.05);
}

.feature-pillar-screen picture,
.feature-pillar-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-pillar-screen img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top left;
  background: #eef4fb;
}

@media (max-width: 900px) {
  .feature-pillar,
  .feature-pillar--reverse {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 52px;
  }

  .feature-pillar--reverse .feature-pillar-copy {
    order: 0;
  }

  .feature-pillar-screen {
    border-radius: 18px;
  }
}
    border-radius: 18px;
  }
}

/* Catalog landing: one report per screen, drawings between chapters */
.hero.hero--catalog {
  padding: clamp(36px, 6vw, 72px) 0 12px;
}

.hero-catalog {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(22px, 4vw, 36px);
}

.hero.hero--catalog .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
}

.hero.hero--catalog .hero-title {
  max-width: 12em;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.02;
}

.hero.hero--catalog .hero-lead {
  max-width: 38rem;
}

.hero.hero--catalog .hero-actions {
  justify-content: center;
  width: auto;
  margin-bottom: 0;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-checks li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 700;
}

.hero-product {
  width: min(1100px, 100%);
  margin: 0;
}

.hero-product img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.scene-break {
  padding: clamp(12px, 3vw, 28px) 0 4px;
}

.scene-break-inner {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.scene-break img {
  width: min(820px, 100%);
  height: auto;
  max-height: 380px;
  object-fit: contain;
}

.scene-break p {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.chapter {
  padding: clamp(36px, 5vw, 64px) 0 8px;
  scroll-margin-top: 88px;
}

.chapter-intro {
  max-width: 40rem;
  margin: 0 auto 22px;
  text-align: center;
}

.chapter-intro h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.chapter-intro p {
  margin: 0;
  color: #52627b;
  font-size: 1.05rem;
  line-height: 1.5;
}

.chapter-tabs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.chapter-tabs::-webkit-scrollbar {
  display: none;
}

.chapter-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.chapter-tabs button[aria-selected="true"] {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}

.chapter-tabs button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.chapter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  padding: clamp(16px, 3vw, 28px);
  border-radius: 28px;
  background: #f4f7fb;
}

.chapter-panel[hidden] {
  display: none !important;
}

.chapter-copy h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.chapter-copy p {
  margin: 0 0 12px;
  color: #52627b;
  line-height: 1.5;
}

.chapter-copy ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
}

.chapter-copy li + li {
  margin-top: 6px;
}

.chapter-panel figure {
  margin: 0;
}

.chapter-shots {
  display: grid;
  gap: 12px;
}

.chapter-shots-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.chapter-shot--drawer {
  justify-self: start;
}

.chapter-panel img,
.chapter-panel video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.chapter-panel .chapter-shot--drawer img,
.chapter-panel .chapter-shot--drawer video {
  width: min(100%, 380px);
  background: #0c1428;
}

.chapter-panel .chapter-shot--drawer .ai-live {
  width: min(100%, 380px);
}

.ai-live {
  display: flex;
  flex-direction: column;
  height: 640px;
  overflow: hidden;
  border-radius: 16px;
  color: #e7eefb;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.22), transparent 38%),
    radial-gradient(circle at 100% 0, rgba(99, 102, 241, 0.28), transparent 42%),
    linear-gradient(180deg, #0c1428 0%, #101b33 46%, #152445 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  font-size: 13px;
  line-height: 1.45;
}

.ai-live__header {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 14px 10px;
}

.ai-live__header strong,
.ai-live__header small {
  display: block;
}

.ai-live__header strong {
  font-size: 16px;
}

.ai-live__header small {
  color: #9fb4d4;
  font-size: 12px;
}

.ai-live__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #4f46e5);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.35);
}

.ai-live__questions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-live__questions span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.ai-live__questions span.is-active {
  border-color: rgba(147, 197, 253, 0.7);
  background: rgba(59, 130, 246, 0.18);
}

.ai-live__thread {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

.ai-live__empty {
  margin: auto;
  max-width: 240px;
  text-align: center;
  color: #cbd5e1;
}

.ai-live__empty::before {
  content: "✦";
  display: block;
  margin-bottom: 8px;
  font-size: 26px;
  background: linear-gradient(135deg, #60a5fa, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ai-live__bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
}

.ai-live__bubble--user {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(125deg, #3b82f6, #4f46e5);
  border-bottom-right-radius: 6px;
}

.ai-live__bubble--assistant {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 6px;
}

.ai-live__bubble--assistant::before {
  content: "AI";
  display: inline-block;
  margin-bottom: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.25);
}

.ai-live__bubble strong {
  font-weight: 700;
}

.ai-live__typing {
  display: inline-flex;
  gap: 4px;
  padding: 4px 0;
}

.ai-live__typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #93c5fd;
  animation: ai-live-dot 1s infinite ease-in-out;
}

.ai-live__typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-live__typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes ai-live-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.ai-live__task {
  margin-top: 8px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(8, 15, 32, 0.45);
}

.ai-live__task strong,
.ai-live__task p {
  display: block;
  margin: 0 0 6px;
}

.ai-live__task p {
  color: #dbe7f8;
}

.ai-live__actions {
  display: flex;
  gap: 6px;
}

.ai-live__actions span {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.ai-live__actions span:first-child {
  color: #fff;
  background: linear-gradient(125deg, #3b82f6, #4f46e5);
}

.ai-live__actions span:last-child {
  color: #dbe7f8;
  border-color: rgba(255, 255, 255, 0.16);
}

.ai-live__task.is-done .ai-live__actions span:first-child {
  background: #166534;
}

.ai-live__task.is-done .ai-live__actions span:last-child {
  opacity: 0.4;
}

.ai-live__composer {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 10px 12px 12px;
}

.ai-live__field {
  flex: 1;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 12px;
  color: #f8fafc;
}

.ai-live__field:not(.is-typing)::before {
  content: "Спросите о финансах или дайте задачу…";
  color: #8ea0bb;
}

.ai-live__caret {
  display: none;
  width: 1px;
  height: 1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: #bfdbfe;
}

.ai-live__field.is-typing .ai-live__caret {
  display: inline-block;
  animation: ai-live-caret 1s steps(1) infinite;
}

@keyframes ai-live-caret {
  50% { opacity: 0; }
}

.ai-live__send {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(125deg, #3b82f6, #4f46e5);
}

.ai-live__send svg {
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .ai-live__typing i,
  .ai-live__caret {
    animation: none;
  }
}

.consultant-image--drawing {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 800px) {
  .hero.hero--catalog {
    padding-top: 28px;
  }

  .hero.hero--catalog .hero-title {
    font-size: clamp(1.9rem, 8.4vw, 2.5rem);
  }

  .hero-checks {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hero-product,
  .chapter-panel figure {
    overflow: visible;
  }

  .hero-product img,
  .chapter-panel img,
  .chapter-panel video {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .chapter-tabs {
    padding-right: 28px;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent);
  }

  .chapter-panel {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 16px;
  }

  .chapter-shots-row {
    grid-template-columns: 1fr;
  }

  .scene-break img {
    max-height: 220px;
  }

  .consultant-image--drawing {
    max-height: 220px;
  }

  .chapter {
    padding-top: 32px;
  }
}
