:root {
  --mx: 50%;
  --my: 50%;
  --brand-deep: #881098;
  --brand-dark: #780080;
  --brand-deep-rgb: 136, 16, 152;
  --bg-0: #090511;
  --bg-1: #130a24;
  --bg-2: #1f1240;
  --bg-3: #2a1a53;
  --text: #f7f2ff;
  --muted: #c2b7dc;
  --muted-strong: #d5c8f2;
  --accent: #b08cff;
  --accent-2: #d4bcff;
  --accent-3: #8c6cff;
  --line: rgba(255, 255, 255, 0.2);
  --line-soft: rgba(255, 255, 255, 0.1);
  --glass: linear-gradient(140deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
  --glass-strong: linear-gradient(140deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  --shadow-soft: 0 20px 45px rgba(5, 3, 10, 0.35);
  --shadow-strong: 0 28px 90px rgba(6, 2, 16, 0.55);
  --header-bg: rgba(8, 5, 16, 0.62);
  --header-bg-scrolled: rgba(8, 5, 16, 0.86);
  --hero-chip-bg: rgba(176, 140, 255, 0.15);
  --hero-chip-border: rgba(203, 178, 255, 0.52);
  --focus-ring: 0 0 0 3px rgba(176, 140, 255, 0.3);
  --radius: 20px;
  --header-height: 82px;
}

body[data-theme="light"] {
  --brand-deep: #881098;
  --brand-dark: #780080;
  --brand-deep-rgb: 136, 16, 152;
  --bg-0: #fcf8ff;
  --bg-1: #f2e9ff;
  --bg-2: #e8dcff;
  --bg-3: #dfcffb;
  --text: #211735;
  --muted: #5e4f7f;
  --muted-strong: #433363;
  --accent: #7f59ef;
  --accent-2: #a487ff;
  --accent-3: #6f47eb;
  --line: rgba(90, 61, 188, 0.3);
  --line-soft: rgba(90, 61, 188, 0.2);
  --glass: linear-gradient(140deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.63));
  --glass-strong: linear-gradient(140deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.7));
  --shadow-soft: 0 18px 38px rgba(82, 58, 148, 0.2);
  --shadow-strong: 0 30px 68px rgba(101, 73, 170, 0.24);
  --header-bg: rgba(251, 245, 255, 0.78);
  --header-bg-scrolled: rgba(251, 245, 255, 0.95);
  --hero-chip-bg: rgba(141, 103, 255, 0.15);
  --hero-chip-border: rgba(141, 103, 255, 0.43);
  --focus-ring: 0 0 0 3px rgba(141, 103, 255, 0.24);
}

body[data-theme="light"] .hero-copy p,
body[data-theme="light"] .section-head p,
body[data-theme="light"] .card p,
body[data-theme="light"] .bento-card p,
body[data-theme="light"] .spotlight p,
body[data-theme="light"] .step p,
body[data-theme="light"] .faq-item p {
  color: #5a4a7b;
}

@media (prefers-contrast: more) {
  body[data-theme="light"] {
    --text: #1a102d;
    --muted: #4f3f73;
    --muted-strong: #382858;
    --line: rgba(80, 50, 178, 0.38);
    --line-soft: rgba(80, 50, 178, 0.26);
  }
}

* {
  box-sizing: border-box;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: auto;
}

body {
  position: relative;
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(1400px 700px at 15% -20%, rgba(177, 127, 255, 0.25), transparent 68%),
    radial-gradient(1000px 560px at 90% 0%, rgba(117, 77, 255, 0.26), transparent 64%),
    linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 32%, var(--bg-2) 72%, var(--bg-3) 100%);
  overflow-x: hidden;
  overscroll-behavior-x: none;
  padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
}

main {
  max-width: 100%;
  overflow-x: hidden;
}

body[data-theme="light"] {
  background:
    radial-gradient(1400px 700px at 15% -20%, rgba(162, 110, 255, 0.32), transparent 66%),
    radial-gradient(1000px 560px at 90% 0%, rgba(102, 64, 232, 0.3), transparent 62%),
    linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 30%, var(--bg-2) 70%, var(--bg-3) 100%);
}

main {
  opacity: 0;
  transform: translateY(16px);
}

body.boot-ready main {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

body.booting .hero-panel,
body.booting .hero-copy,
body.booting .heartbeat-strip,
body.booting .hero-actions .btn,
body.booting .metric-grid article,
body.booting .hero h1,
body.booting .hero-copy p,
body.booting .quick-points li,
body.booting .visual-panel,
body.booting .app-window,
body.booting .pain-card,
body.booting .logic-console,
body.booting .cta-box {
  opacity: 0;
  transform: translateY(18px) scale(0.996);
}

body.boot-ready .hero-panel,
body.boot-ready .hero-copy,
body.boot-ready .heartbeat-strip,
body.boot-ready .hero-actions .btn,
body.boot-ready .metric-grid article,
body.boot-ready .hero h1,
body.boot-ready .hero-copy p,
body.boot-ready .quick-points li,
body.boot-ready .visual-panel,
body.boot-ready .app-window,
body.boot-ready .pain-card,
body.boot-ready .logic-console,
body.boot-ready .cta-box {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1), transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

body.boot-ready .hero-panel {
  transition-delay: 60ms;
}

body.boot-ready .hero-copy {
  transition-delay: 30ms;
}

body.boot-ready .visual-panel,
body.boot-ready .pain-card {
  transition-delay: 110ms;
}

body.boot-ready .app-window,
body.boot-ready .logic-console {
  transition-delay: 150ms;
}

body.boot-ready .cta-box {
  transition-delay: 190ms;
}

body.boot-ready .heartbeat-strip {
  transition-delay: 220ms;
}

body.boot-ready .hero-actions .btn:nth-child(1) {
  transition-delay: 180ms;
}

body.boot-ready .hero-actions .btn:nth-child(2) {
  transition-delay: 230ms;
}

body.boot-ready .metric-grid article:nth-child(1) {
  transition-delay: 210ms;
}

body.boot-ready .metric-grid article:nth-child(2) {
  transition-delay: 250ms;
}

body.boot-ready .metric-grid article:nth-child(3) {
  transition-delay: 290ms;
}

body.boot-ready .metric-grid article:nth-child(4) {
  transition-delay: 330ms;
}

body.booting .hero h1 {
  transform: translateY(22px) scale(0.985);
  filter: blur(3px);
}

body.boot-ready .hero h1 {
  transition-delay: 90ms;
  filter: blur(0);
}

body.booting .hero-copy p {
  transform: translateY(16px);
}

body.boot-ready .hero-copy p {
  transition-delay: 170ms;
}

body.booting .quick-points li {
  transform: translateY(8px);
}

body.boot-ready .quick-points li:nth-child(1) {
  transition-delay: 245ms;
}

body.boot-ready .quick-points li:nth-child(2) {
  transition-delay: 285ms;
}

body.boot-ready .quick-points li:nth-child(3) {
  transition-delay: 325ms;
}

.entry-curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 1;
  background:
    radial-gradient(760px 380px at 18% 18%, rgba(176, 140, 255, 0.2), transparent 66%),
    radial-gradient(620px 320px at 84% 14%, rgba(141, 207, 255, 0.14), transparent 68%),
    linear-gradient(160deg, rgba(12, 6, 24, 0.08), rgba(12, 6, 24, 0));
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.entry-curtain.exit {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  main {
    animation: none;
  }

  body.booting main,
  body.boot-ready main,
  body.booting .hero-panel,
  body.booting .hero-copy,
  body.booting .heartbeat-strip,
  body.booting .hero-actions .btn,
  body.booting .metric-grid article,
  body.booting .hero h1,
  body.booting .hero-copy p,
  body.booting .quick-points li,
  body.booting .visual-panel,
  body.booting .app-window,
  body.booting .pain-card,
  body.booting .logic-console,
  body.booting .cta-box,
  body.boot-ready .hero-panel,
  body.boot-ready .hero-copy,
  body.boot-ready .heartbeat-strip,
  body.boot-ready .hero-actions .btn,
  body.boot-ready .metric-grid article,
  body.boot-ready .hero h1,
  body.boot-ready .hero-copy p,
  body.boot-ready .quick-points li,
  body.boot-ready .visual-panel,
  body.boot-ready .app-window,
  body.boot-ready .pain-card,
  body.boot-ready .logic-console,
  body.boot-ready .cta-box {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .entry-curtain {
    display: none;
  }

}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  filter: blur(48px);
}

/* Safari stabilization: reduce expensive compositing that causes scroll jitter */
.is-safari .site-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.is-safari .hero-panel,
.is-safari .visual-panel,
.is-safari .app-window,
.is-safari .logic-console,
.is-safari .pain-card,
.is-safari .cta-box,
.is-safari .demo-modal__panel,
.is-safari .copilot-panel {
  backdrop-filter: blur(6px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(6px) saturate(1.05) !important;
}

.is-safari .grain {
  mix-blend-mode: normal;
  opacity: 0.04;
}

.is-safari .fp-world-image {
  mix-blend-mode: normal;
}

.is-safari .visual-panel,
.is-safari .app-window,
.is-safari .logic-console {
  animation: none !important;
}

.is-safari .copilot-backdrop {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Theme toggle snap mode to avoid delayed repaint on Safari/WebKit */
body.theme-switching .site-header,
body.theme-switching .hero-panel,
body.theme-switching .visual-panel,
body.theme-switching .app-window,
body.theme-switching .logic-console,
body.theme-switching .pain-card,
body.theme-switching .cta-box,
body.theme-switching .demo-modal__panel,
body.theme-switching .copilot-panel,
body.theme-switching .btn,
body.theme-switching .card,
body.theme-switching .bento-card,
body.theme-switching .spotlight,
body.theme-switching .step,
body.theme-switching .faq-item {
  transition: none !important;
}

body::before {
  width: 460px;
  height: 460px;
  left: -120px;
  top: 18vh;
  background: rgba(151, 95, 255, 0.28);
}

body::after {
  width: 540px;
  height: 540px;
  right: -170px;
  top: 4vh;
  background: rgba(204, 170, 255, 0.22);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 0.4px, transparent 0.4px);
  background-size: 3px 3px;
  z-index: -1;
}

/* Performance stabilization: prioritize smooth scrolling over heavy compositing effects */
body::before,
body::after,
.aura,
.grain {
  display: none;
}

.hero-panel,
.card,
.spotlight,
.step,
.cta-box,
.bento-card,
.price-card,
.faq-item,
.visual-panel,
.app-window,
.logic-console,
.pain-card,
.demo-modal__panel,
.main-nav {
  backdrop-filter: none !important;
}

.hero-panel,
.card,
.spotlight,
.step,
.cta-box,
.bento-card,
.price-card,
.faq-item,
.visual-panel,
.app-window {
  transform-style: flat;
}

.hero-panel::after,
.card::after,
.spotlight::after,
.step::after,
.cta-box::after,
.bento-card::after,
.price-card::after,
.faq-item::after {
  background: none;
  opacity: 0;
}

.visual-panel,
.app-window,
.logic-console {
  animation: none !important;
}

body[data-scrolling="true"] .hero-panel,
body[data-scrolling="true"] .card,
body[data-scrolling="true"] .spotlight,
body[data-scrolling="true"] .step,
body[data-scrolling="true"] .bento-card,
body[data-scrolling="true"] .price-card,
body[data-scrolling="true"] .faq-item,
body[data-scrolling="true"] .visual-panel,
body[data-scrolling="true"] .app-window,
body[data-scrolling="true"] .logic-console,
body[data-scrolling="true"] .pain-card,
body[data-scrolling="true"] .hub-card,
body[data-scrolling="true"] .question-card,
body[data-scrolling="true"] .trace-list div,
body[data-scrolling="true"] .step-row,
body[data-scrolling="true"] .timeline-list li,
body[data-scrolling="true"] .insight-icon,
body[data-scrolling="true"] .card-orb,
body[data-scrolling="true"] .pain-dial,
body[data-scrolling="true"] .fp-land,
body[data-scrolling="true"] .fp-dot {
  transition: none !important;
  animation: none !important;
}

body[data-scrolling="true"] .site-header {
  transition: none !important;
}

/* Stepwise visual restoration (safe path): bring back selective glass + static glow */
body::before,
body::after {
  display: block;
  opacity: 0.48;
  filter: blur(38px);
}

.hero-panel,
.visual-panel,
.app-window,
.logic-console,
.pain-card,
.cta-box,
.demo-modal__panel {
  backdrop-filter: saturate(1.14) blur(8px) !important;
}

.hero-panel::after,
.cta-box::after {
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.14), transparent 45%);
  opacity: 0.46;
}

/* Max-glass step 6: CTA + modal polish */
.cta-box,
.demo-modal__panel {
  backdrop-filter: saturate(1.3) blur(14px) !important;
}

.cta-box::after {
  background: radial-gradient(620px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.24), transparent 44%);
  opacity: 0.58;
}

body[data-motion="mobile"]::before,
body[data-motion="mobile"]::after {
  display: none;
}

.visual-panel,
.app-window,
.logic-console,
.pain-card {
  position: relative;
}

.visual-panel::after,
.app-window::after,
.logic-console::after,
.pain-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px circle at 24% 0%, rgba(255, 255, 255, 0.13), transparent 58%);
  opacity: 0.34;
}

body[data-motion="desktop"]:not([data-scrolling="true"]) .visual-panel,
body[data-motion="desktop"]:not([data-scrolling="true"]) .app-window,
body[data-motion="desktop"]:not([data-scrolling="true"]) .logic-console {
  animation: ambientBreathe 18.5s ease-in-out infinite !important;
}

body[data-motion="tablet"]:not([data-scrolling="true"]) .visual-panel,
body[data-motion="tablet"]:not([data-scrolling="true"]) .app-window,
body[data-motion="tablet"]:not([data-scrolling="true"]) .logic-console {
  animation: ambientBreathe 24s ease-in-out infinite !important;
}

/* Max-glass step 1: hero + platform preview only */
.hero-panel,
.product-preview .app-window {
  backdrop-filter: saturate(1.34) blur(14px) !important;
}

.hero-panel::after,
.product-preview .app-window::after {
  background: radial-gradient(620px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.24), transparent 44%);
  opacity: 0.6;
}

/* Max-glass step 2: immersive visual panels */
.immersive .visual-panel {
  backdrop-filter: saturate(1.32) blur(13px) !important;
}

.immersive .visual-panel::after {
  background: radial-gradient(580px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.2), transparent 46%);
  opacity: 0.54;
}

/* Max-glass step 3: pain landscape cards */
.pain-landscape .pain-card {
  backdrop-filter: saturate(1.28) blur(12px) !important;
}

.pain-landscape .pain-card::after {
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04) 44%, transparent 72%);
  opacity: 0.34;
}

/* Max-glass step 4: logic flow nodes + console */
.logic-flow .pppp-node {
  backdrop-filter: saturate(1.3) blur(14px) !important;
}

.logic-flow .logic-console {
  backdrop-filter: saturate(1.32) blur(14px) !important;
  box-shadow: 0 24px 52px rgba(104, 78, 178, 0.26);
}

/* Max-glass step 5: remaining content cards */
body[data-motion="desktop"] .cards .card,
body[data-motion="desktop"] .bento .bento-card,
body[data-motion="desktop"] .split-grid .spotlight,
body[data-motion="desktop"] .faq-grid .faq-item {
  backdrop-filter: saturate(1.22) blur(10px) !important;
}

body[data-motion="tablet"] .cards .card,
body[data-motion="tablet"] .bento .bento-card,
body[data-motion="tablet"] .split-grid .spotlight,
body[data-motion="tablet"] .faq-grid .faq-item {
  backdrop-filter: saturate(1.16) blur(8px) !important;
}

/* Step 4 restore: one ultra-soft ambient aura (desktop only) */
.aura {
  display: none;
}

body[data-motion="desktop"] .aura-1 {
  display: block;
  opacity: 0.14;
  animation: drift 32s ease-in-out infinite alternate;
}

/* Step 8 restore (safe): second static aura for depth, no motion cost */
body[data-motion="desktop"] .aura-2 {
  display: block;
  opacity: 0.09;
  animation: none;
}

body[data-scrolling="true"] .aura-2 {
  opacity: 0.06;
}

/* Step 9 restore (safe): third static aura, ultra-low opacity */
body[data-motion="desktop"] .aura-3 {
  display: block;
  opacity: 0.06;
  animation: none;
}

body[data-scrolling="true"] .aura-3 {
  opacity: 0.04;
}

body[data-scrolling="true"] .aura-1 {
  animation-play-state: paused;
  opacity: 0.09;
}

/* Step 5 restore: faint cinematic grain (desktop only) */
.grain {
  display: none;
}

body[data-motion="desktop"] .grain {
  display: block;
  opacity: 0.032;
  mix-blend-mode: soft-light;
}

body[data-theme="light"][data-motion="desktop"] .grain {
  opacity: 0.026;
}

body[data-scrolling="true"] .grain {
  opacity: 0.022;
}

/* Step 6 restore (safe): selective sheen on spotlight + bento only */
.split-grid .spotlight::after,
.bento .bento-card::after {
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05) 44%,
    transparent 74%
  );
  opacity: 0.14;
}

body[data-motion="desktop"]:not([data-scrolling="true"]) .split-grid .spotlight::after,
body[data-motion="desktop"]:not([data-scrolling="true"]) .bento .bento-card::after {
  animation: sheenTravelLite 18s ease-in-out infinite;
}

body[data-motion="tablet"]:not([data-scrolling="true"]) .split-grid .spotlight::after,
body[data-motion="tablet"]:not([data-scrolling="true"]) .bento .bento-card::after {
  animation: sheenTravelLite 24s ease-in-out infinite;
}

.split-grid .spotlight:nth-child(2)::after,
.bento .bento-card:nth-child(2n)::after {
  animation-delay: -7.2s;
}

/* Step 10 restore (safe): light glass blur on spotlight + bento cards only */
body[data-motion="desktop"] .split-grid .spotlight,
body[data-motion="desktop"] .bento .bento-card,
body[data-motion="tablet"] .split-grid .spotlight,
body[data-motion="tablet"] .bento .bento-card {
  backdrop-filter: saturate(1.05) blur(3px) !important;
}

/* Step 7 restore (safe): extend sheen to role cards + faq cards */
.cards .card::after,
.faq-grid .faq-item::after {
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.04) 46%,
    transparent 76%
  );
  opacity: 0.12;
}

body[data-motion="desktop"]:not([data-scrolling="true"]) .cards .card::after,
body[data-motion="desktop"]:not([data-scrolling="true"]) .faq-grid .faq-item::after {
  animation: sheenTravelLite 22s ease-in-out infinite;
}

body[data-motion="tablet"]:not([data-scrolling="true"]) .cards .card::after,
body[data-motion="tablet"]:not([data-scrolling="true"]) .faq-grid .faq-item::after {
  animation: sheenTravelLite 28s ease-in-out infinite;
}

.cards .card:nth-child(2n)::after,
.faq-grid .faq-item:nth-child(2n)::after {
  animation-delay: -9.4s;
}

.aura {
  position: fixed;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
  animation: drift 12s ease-in-out infinite alternate;
}

.aura-1 {
  width: 360px;
  height: 360px;
  left: 10%;
  top: 36%;
  background: rgba(178, 123, 255, 0.22);
}

.aura-2 {
  width: 260px;
  height: 260px;
  right: 15%;
  top: 48%;
  animation-delay: 1.8s;
  background: rgba(127, 92, 255, 0.2);
}

.aura-3 {
  width: 220px;
  height: 220px;
  right: 35%;
  bottom: 9%;
  animation-delay: 0.7s;
  background: rgba(216, 187, 255, 0.18);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(14px, -18px, 0) scale(1.07);
  }
}

.container {
  width: min(1160px, calc(100% - 3.1rem));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.section {
  position: relative;
  padding: 6.3rem 0;
}

.section-sm {
  padding: 2.2rem 0;
}

.site-header {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 120;
  backdrop-filter: none;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--hero-chip-border);
  box-shadow: 0 10px 30px rgba(7, 3, 17, 0.25);
}

.nav-wrap {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem;
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  padding: 0.12rem 0;
}

.logo-img {
  display: block;
  height: 2.26rem;
  width: auto;
  max-width: 12.4rem;
  filter: drop-shadow(0 0 14px rgba(var(--brand-deep-rgb), 0.28));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-left: auto;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.menu-toggle,
.theme-toggle,
.visual-toggle {
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  border-radius: 999px;
  padding: 0.52rem 0.88rem;
  font-weight: 700;
  font-size: 0.81rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.menu-toggle {
  display: none;
}

.visual-toggle {
  min-width: 6.1rem;
}

.icon-toggle {
  width: 2.2rem;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.theme-toggle.icon-toggle,
.visual-toggle.icon-toggle {
  min-width: 2.2rem;
  width: 2.2rem;
}

.icon-toggle span {
  display: inline-block;
  transform: translateY(-0.5px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  padding: 0.83rem 1.26rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(139, 127, 255, 0.32);
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(139, 127, 255, 0.42);
  filter: saturate(1.08);
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.theme-toggle:focus-visible,
.visual-toggle:focus-visible,
.main-nav a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-sm {
  padding: 0.58rem 0.96rem;
}

.main-nav .btn-sm {
  background: linear-gradient(130deg, rgba(193, 175, 255, 0.26), rgba(168, 198, 255, 0.18));
  border-color: rgba(199, 180, 255, 0.42);
  color: var(--text);
  font-size: 0.84rem;
  box-shadow: 0 8px 18px rgba(128, 112, 195, 0.18);
}

.main-nav .btn-sm:hover {
  box-shadow: 0 10px 20px rgba(128, 112, 195, 0.24);
  filter: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  padding-top: 7.1rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 18%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  filter: blur(0.2px);
}

body[data-theme="dark"][data-motion="desktop"] .hero::before {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.kicker,
.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--hero-chip-border);
  background: var(--hero-chip-bg);
  border-radius: 999px;
  padding: 0.38rem 0.78rem;
  color: var(--muted-strong);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.015em;
  line-height: 1.1;
  backdrop-filter: blur(6px);
}

.kicker {
  font-size: 0.55rem;
  letter-spacing: 0.016em;
  font-weight: 540;
  padding: 0.2rem 0.44rem;
  border-radius: 999px;
  opacity: 0.9;
}

.kicker::before {
  width: 5px;
  height: 5px;
}

.kicker::before,
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #95d3ff, #be9fff);
  box-shadow: 0 0 0 0 rgba(173, 146, 255, 0.55);
  animation: liveDot 2.5s ease-in-out infinite;
}

.hero h1 {
  margin: 1.05rem 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.05rem, 4.5vw, 3.95rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 17ch;
  text-wrap: balance;
}

.hero-copy p {
  color: var(--muted-strong);
  max-width: 56ch;
  line-height: 1.58;
  font-size: clamp(0.98rem, 1.04vw, 1.05rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.35rem 0;
}

.quick-points {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.quick-points li {
  color: var(--muted-strong);
  padding-left: 1.22rem;
  position: relative;
}

.quick-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(180, 140, 255, 0.6);
}

.hero-panel,
.card,
.spotlight,
.step,
.cta-box,
.bento-card,
.price-card,
.faq-item {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(1.3) blur(16px);
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero-panel::before,
.card::before,
.spotlight::before,
.step::before,
.cta-box::before,
.bento-card::before,
.price-card::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 40%);
  pointer-events: none;
}

body.boot-ready .hero-panel::before {
  animation: heroSweep 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.18s 1;
}

.hero-panel::after,
.card::after,
.spotlight::after,
.step::after,
.cta-box::after,
.bento-card::after,
.price-card::after,
.faq-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.16), transparent 42%);
  opacity: 0.62;
  pointer-events: none;
}

.card,
.bento-card,
.spotlight,
.step,
.price-card,
.faq-item {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover,
.bento-card:hover,
.spotlight:hover,
.step:hover,
.price-card:hover,
.faq-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: var(--hero-chip-border);
}

body[data-motion="desktop"] .card,
body[data-motion="desktop"] .bento-card,
body[data-motion="desktop"] .spotlight,
body[data-motion="desktop"] .step,
body[data-motion="desktop"] .faq-item {
  animation: cardIdle 11.8s ease-in-out infinite;
}

body[data-motion="tablet"] .card,
body[data-motion="tablet"] .bento-card,
body[data-motion="tablet"] .spotlight,
body[data-motion="tablet"] .step,
body[data-motion="tablet"] .faq-item {
  animation: cardIdle 14.6s ease-in-out infinite;
}

.card:nth-child(2n),
.bento-card:nth-child(2n),
.spotlight:nth-child(2n),
.step:nth-child(2n),
.faq-item:nth-child(2n) {
  animation-delay: -3.4s;
}

.card:nth-child(3n),
.bento-card:nth-child(3n),
.spotlight:nth-child(3n),
.step:nth-child(3n),
.faq-item:nth-child(3n) {
  animation-delay: -6.2s;
}

.hero-panel {
  padding: 1.26rem;
  box-shadow: var(--shadow-strong);
}

.hero-tags {
  margin-top: 0.98rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  font-size: 0.75rem;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.05);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted-strong);
}

.panel-title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.26rem;
  flex-wrap: wrap;
  min-width: 0;
}

.panel-title-main {
  color: var(--muted-strong);
  font-size: inherit;
  font-weight: 600;
  line-height: 1.2;
}

.panel-title-sub {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.2;
}

.panel-header strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: var(--accent-2);
}

.panel-header strong::before,
.app-head strong::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #93d0ff, #b99dff);
  box-shadow: 0 0 0 0 rgba(173, 146, 255, 0.5);
  animation: liveDot 2.3s ease-in-out infinite;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.metric-grid article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  padding: 0.9rem;
  border-radius: 13px;
}

.metric-grid h3 {
  margin: 0;
  font-size: 1.55rem;
  font-family: "Sora", sans-serif;
}

.metric-grid p {
  margin: 0.24rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.timeline {
  margin-top: 0.88rem;
  padding: 0.88rem;
  background: rgba(176, 140, 255, 0.12);
  border: 1px solid var(--hero-chip-border);
  border-radius: 13px;
}

.timeline h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  line-height: 1.18;
}

.timeline-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.64rem;
  margin-bottom: 0.56rem;
}

.timeline-filters {
  margin-top: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.2rem;
  justify-content: flex-end;
  overflow-x: auto;
  scrollbar-width: none;
}

.timeline-filters::-webkit-scrollbar {
  display: none;
}

.cr-filter {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.13rem 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cr-filter.active {
  color: var(--muted-strong);
  border-color: var(--hero-chip-border);
  background: var(--hero-chip-bg);
}

.timeline-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
  min-height: 6.25rem;
}

.timeline-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.38rem;
  padding: 0.18rem 0.24rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.015);
  color: var(--muted-strong);
  font-size: 0.8rem;
  line-height: 1.35;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.cr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 0.12rem 0.36rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  background: rgba(255, 255, 255, 0.06);
}

.cr-badge.risk {
  color: #ffd9c8;
  border-color: rgba(255, 168, 124, 0.5);
  background: rgba(255, 145, 94, 0.16);
}

.cr-badge.evidence {
  color: #d5f6ff;
  border-color: rgba(102, 214, 255, 0.5);
  background: rgba(102, 214, 255, 0.14);
}

.cr-badge.closure {
  color: #bcf5d3;
  border-color: rgba(102, 224, 164, 0.45);
  background: rgba(84, 217, 155, 0.14);
}

.cr-text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.timeline-list li.is-fresh {
  animation: timelinePulse 1.1s ease;
}

@keyframes timelinePulse {
  0% {
    opacity: 0.35;
    transform: translateY(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.heartbeat {
  padding-top: 0.7rem;
}

.heartbeat-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  padding: 0.72rem 0.86rem;
  backdrop-filter: blur(10px);
}

.heartbeat-strip p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.91rem;
}

.heart-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd9f9, #bf8fff 60%, #9a74ff 100%);
  box-shadow: 0 0 0 0 rgba(167, 114, 255, 0.56);
  animation: heartbeat 1.7s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(167, 114, 255, 0.56);
  }
  36% {
    transform: scale(1.35);
    box-shadow: 0 0 0 10px rgba(167, 114, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(167, 114, 255, 0);
  }
}

@keyframes dialHeartbeat {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 22px rgba(147, 120, 221, 0.2), inset 0 0 0 0 rgba(167, 114, 255, 0);
  }
  45% {
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgba(147, 120, 221, 0.26), inset 0 0 0 2px rgba(167, 114, 255, 0.14);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 10px 22px rgba(147, 120, 221, 0.2), inset 0 0 0 0 rgba(167, 114, 255, 0);
  }
}

.section-head {
  max-width: 70ch;
  margin-bottom: 1.86rem;
}

.section-head h2 {
  margin: 0.88rem 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3.3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

body[data-motion="desktop"]:not([data-scrolling="true"]) .section-head h2 {
  animation: headingGlow 11.5s ease-in-out infinite;
}

body[data-motion="desktop"]:not([data-scrolling="true"]) .timeline-list li {
  animation: rowGleam 9.8s ease-in-out infinite;
}

body[data-motion="tablet"]:not([data-scrolling="true"]) .section-head h2 {
  animation: headingGlow 15s ease-in-out infinite;
}

body[data-motion="tablet"]:not([data-scrolling="true"]) .timeline-list li {
  animation: rowGleam 13.8s ease-in-out infinite;
}

.timeline-list li:nth-child(2n) {
  animation-delay: -3.2s;
}

.timeline-list li:nth-child(3n) {
  animation-delay: -6.1s;
}


.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
  line-height: 1.6;
}

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

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

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

.card {
  padding: 1.2rem;
  padding-top: 3.6rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: "Sora", sans-serif;
  font-size: 1.07rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

#solutions .cards {
  gap: 1.08rem;
}

#solutions .card {
  --solution-accent-rgb: 143, 212, 255;
  --solution-accent-soft: rgba(143, 212, 255, 0.24);
  min-height: 198px;
  padding: 1.28rem 1.2rem 1.16rem;
  padding-top: 3.86rem;
  border-radius: 22px;
  isolation: isolate;
}

#solutions .card h3 {
  margin-bottom: 0.62rem;
  font-size: clamp(1.1rem, 1.05vw, 1.3rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

#solutions .card p {
  max-width: 34ch;
  line-height: 1.64;
}

#solutions .card .insight-icon {
  --icon-accent-rgb: var(--solution-accent-rgb);
}

#solutions .card .card-orb {
  right: -34px;
  bottom: -42px;
  width: 128px;
  height: 128px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(var(--solution-accent-rgb), 0.34),
    rgba(var(--brand-deep-rgb), 0.07) 74%
  );
  opacity: 0.72;
}

#solutions .card:nth-child(2),
#solutions .card:nth-child(5) {
  border-color: rgba(var(--solution-accent-rgb), 0.38);
  box-shadow:
    0 20px 44px rgba(98, 72, 168, 0.2),
    0 0 0 1px rgba(var(--solution-accent-rgb), 0.2) inset;
}

#solutions .card:nth-child(1) {
  --solution-accent-rgb: 143, 212, 255;
}

#solutions .card:nth-child(2) {
  --solution-accent-rgb: 190, 159, 255;
}

#solutions .card:nth-child(3) {
  --solution-accent-rgb: 255, 177, 107;
}

#solutions .card:nth-child(4) {
  --solution-accent-rgb: 141, 223, 176;
}

#solutions .card:nth-child(5) {
  --solution-accent-rgb: 175, 156, 255;
}

#solutions .card:nth-child(6) {
  --solution-accent-rgb: 129, 204, 255;
}

.tone {
  margin-top: -2px;
  background: transparent;
  z-index: 0;
}

.tone::before {
  content: "";
  position: absolute;
  inset: -90px 0 -40px;
  pointer-events: none;
  background: radial-gradient(960px 520px at 50% 18%, rgba(176, 140, 255, 0.14), transparent 78%);
  opacity: 0.88;
  z-index: 0;
}

.tone > .container {
  position: relative;
  z-index: 1;
}

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

.bento-card {
  padding: 1.2rem;
  padding-top: 3.6rem;
}

.bento-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.bento-card p {
  color: var(--muted);
  line-height: 1.58;
}

.bento-card ul {
  padding-left: 1rem;
  margin: 0.8rem 0 0;
  color: var(--muted-strong);
}

.tall {
  grid-row: span 2;
}

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

.spotlight {
  padding: 1.68rem;
  padding-top: 3.6rem;
}

.spotlight h3 {
  margin: 0.9rem 0 0.6rem;
  font-family: "Sora", sans-serif;
  font-size: 1.48rem;
}

.spotlight p {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 700;
}

.process .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  padding: 1.24rem;
  padding-top: 3.1rem;
}

.step span {
  font-family: "Sora", sans-serif;
  color: var(--accent-2);
  font-size: 1.14rem;
}

.step h3 {
  margin: 0.68rem 0 0.45rem;
  font-family: "Sora", sans-serif;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.cta {
  padding-top: 2.2rem;
}

.cta-box {
  text-align: center;
  padding: 2.6rem;
  background: var(--glass-strong);
  box-shadow: var(--shadow-strong);
}

.cta-box {
  border-color: rgba(204, 170, 255, 0.45);
}

.cta-box h2 {
  margin: 0.95rem 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.85rem, 3.1vw, 2.92rem);
  text-wrap: balance;
}

.cta-box p {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.62;
}

.cta-box .hero-actions {
  justify-content: center;
}

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

.price-card {
  padding: 1.35rem;
  padding-top: 3.5rem;
}

.price-card .plan {
  display: inline-flex;
  padding: 0.3rem 0.66rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--hero-chip-bg);
  border: 1px solid var(--hero-chip-border);
  color: var(--muted-strong);
}

.price-card h3 {
  font-family: "Sora", sans-serif;
  margin: 0.9rem 0 0.5rem;
  font-size: 1.1rem;
}

.price-card .amount {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  font-size: 1.46rem;
}

.price-card ul {
  margin: 1rem 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.price-card li + li {
  margin-top: 0.45rem;
}

.featured {
  border-color: var(--hero-chip-border);
  transform: translateY(-8px);
}

.btn-block {
  width: 100%;
}

.faq {
  padding-top: 1.1rem;
}

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

.faq-item {
  padding: 1.12rem;
  padding-top: 3.72rem;
}

.insight-icon {
  --icon-accent-rgb: 171, 152, 255;
  --icon-accent-rgb-2: 146, 124, 255;
  position: absolute;
  top: 0.84rem;
  left: 0.84rem;
  width: 2.16rem;
  height: 2.16rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: rgba(248, 244, 255, 0.95);
  border: 1px solid rgba(var(--icon-accent-rgb), 0.34);
  background: linear-gradient(
    135deg,
    rgba(var(--icon-accent-rgb), 0.34),
    rgba(var(--icon-accent-rgb-2), 0.52)
  );
  box-shadow:
    0 6px 12px rgba(var(--icon-accent-rgb), 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.09) inset;
  backdrop-filter: blur(3px);
  animation: none;
  transform: translateZ(10px);
  opacity: 0.96;
  z-index: 3;
}

.insight-icon::after {
  content: none;
}

.insight-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #fff !important;
  stroke: #fff !important;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
  filter: none;
}

.insight-icon svg path {
  stroke: #fff !important;
  fill: none !important;
  opacity: 0.9 !important;
}

.step .insight-icon {
  --icon-accent-rgb: 171, 152, 255;
}

.step .insight-icon svg {
  stroke-width: 2.05;
  filter: none;
}

.process .step .insight-icon {
  --icon-accent-rgb: 143, 212, 255;
}

.process .step .insight-icon svg {
  stroke: #fff !important;
  filter: none;
  opacity: 1;
}

.cards .card:nth-child(6n + 1) .insight-icon,
.bento .bento-card:nth-child(6n + 1) .insight-icon,
.process .step:nth-child(6n + 1) .insight-icon,
.split-grid .spotlight:nth-child(6n + 1) .insight-icon,
.faq-grid .faq-item:nth-child(6n + 1) .insight-icon {
  --icon-accent-rgb: 143, 212, 255;
  --icon-accent-rgb-2: 115, 172, 255;
}

.cards .card:nth-child(6n + 2) .insight-icon,
.bento .bento-card:nth-child(6n + 2) .insight-icon,
.process .step:nth-child(6n + 2) .insight-icon,
.split-grid .spotlight:nth-child(6n + 2) .insight-icon,
.faq-grid .faq-item:nth-child(6n + 2) .insight-icon {
  --icon-accent-rgb: 190, 159, 255;
  --icon-accent-rgb-2: 160, 121, 255;
}

.cards .card:nth-child(6n + 3) .insight-icon,
.bento .bento-card:nth-child(6n + 3) .insight-icon,
.process .step:nth-child(6n + 3) .insight-icon,
.split-grid .spotlight:nth-child(6n + 3) .insight-icon,
.faq-grid .faq-item:nth-child(6n + 3) .insight-icon {
  --icon-accent-rgb: 255, 177, 107;
  --icon-accent-rgb-2: 255, 143, 116;
}

.cards .card:nth-child(6n + 4) .insight-icon,
.bento .bento-card:nth-child(6n + 4) .insight-icon,
.process .step:nth-child(6n + 4) .insight-icon,
.split-grid .spotlight:nth-child(6n + 4) .insight-icon,
.faq-grid .faq-item:nth-child(6n + 4) .insight-icon {
  --icon-accent-rgb: 141, 223, 176;
  --icon-accent-rgb-2: 93, 194, 160;
}

.cards .card:nth-child(6n + 5) .insight-icon,
.bento .bento-card:nth-child(6n + 5) .insight-icon,
.process .step:nth-child(6n + 5) .insight-icon,
.split-grid .spotlight:nth-child(6n + 5) .insight-icon,
.faq-grid .faq-item:nth-child(6n + 5) .insight-icon {
  --icon-accent-rgb: 210, 188, 255;
  --icon-accent-rgb-2: 170, 146, 255;
}

.cards .card:nth-child(6n + 6) .insight-icon,
.bento .bento-card:nth-child(6n + 6) .insight-icon,
.process .step:nth-child(6n + 6) .insight-icon,
.split-grid .spotlight:nth-child(6n + 6) .insight-icon,
.faq-grid .faq-item:nth-child(6n + 6) .insight-icon {
  --icon-accent-rgb: 246, 176, 225;
  --icon-accent-rgb-2: 205, 136, 255;
}

.card-orb {
  position: absolute;
  right: -28px;
  bottom: -36px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(201, 176, 255, 0.44), rgba(var(--brand-deep-rgb), 0.08) 72%);
  filter: blur(4px);
  opacity: 0.75;
  pointer-events: none;
  animation: orbFloat 9.5s ease-in-out infinite;
  transform: translateZ(10px);
}

.mini-visuals {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.7rem;
}

.mini-heatmap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.3rem;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
}

.mini-heatmap span,
.heatmap-canvas span {
  border-radius: 7px;
  background: rgba(172, 139, 255, 0.2);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background 0.4s ease, transform 0.35s ease;
}

.mini-heatmap span {
  aspect-ratio: 1;
}

.mini-dials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.mini-dials .dial {
  min-height: 102px;
  padding-top: 0.42rem;
}

.dial {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  padding: 0.5rem 0.5rem 0.4rem;
  min-height: 114px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
}

.dial svg {
  width: 74px;
  height: 74px;
  transform: rotate(-90deg);
}

.dial.lg svg {
  width: 98px;
  height: 98px;
}

.dial.lg {
  min-height: 140px;
}

.dial-track {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 7.5;
  fill: none;
}

.dial-progress {
  stroke: url(#dialStroke);
  stroke: #c79bff;
  stroke-width: 7.5;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 239;
  stroke-dashoffset: 239;
  transition: stroke-dashoffset 0.8s ease;
  filter: drop-shadow(0 0 7px rgba(190, 150, 255, 0.55));
}

.dial strong {
  font-size: 0.96rem;
  font-family: "Sora", sans-serif;
  line-height: 1;
}

.dial small {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.1;
}

.immersive {
  padding-top: 3rem;
}

.immersive-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}

.visual-panel {
  position: relative;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(15px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
  animation: ambientBreathe 13.5s ease-in-out infinite;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent 40%);
}

.visual-panel.wide {
  grid-column: 1 / -1;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.72rem;
}

.panel-top strong {
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.heatmap-canvas {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.38rem;
  padding: 0.66rem;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.heatmap-canvas span {
  aspect-ratio: 1 / 0.9;
}

.heat-meta {
  margin-top: 0.62rem;
  display: grid;
  gap: 0.5rem;
}

.heat-legend {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.heat-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.66rem;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--muted);
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
}

.hx {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.12);
}

.hx.l0 {
  background: rgba(176, 140, 255, 0.42);
}

.hx.l1 {
  background: rgba(176, 140, 255, 0.74);
}

.hx.l2 {
  background: #ffbe66;
}

.hx.l3 {
  background: #ff7a59;
}

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

.heat-kpis div {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.38rem 0.48rem;
}

.heat-kpis small {
  display: block;
  font-size: 0.64rem;
  color: var(--muted);
}

.heat-kpis b {
  font-family: "Sora", sans-serif;
  font-size: 0.86rem;
  color: var(--muted-strong);
}

.heat-l0 {
  background: rgba(176, 140, 255, 0.16) !important;
}

.heat-l1 {
  background: rgba(176, 140, 255, 0.34) !important;
}

.heat-l2 {
  background: rgba(255, 191, 104, 0.62) !important;
}

.heat-l3 {
  background: linear-gradient(135deg, #ffbe66, #ff7a59) !important;
  transform: none;
  box-shadow: inset 0 0 8px rgba(255, 170, 92, 0.28);
  animation: heatPulse 2.35s ease-in-out infinite;
}

.dial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.command-dials {
  gap: 0.65rem;
}

.dial-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.55rem;
}

.dial-card-main {
  grid-row: span 2;
}

.dial-card p {
  margin: 0.4rem 0 0.1rem;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.dial-meta {
  margin-top: 0.42rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.trend,
.state {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.trend {
  padding: 0.24rem 0.42rem;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
}

.trend.up {
  color: #bcf5d3;
  border-color: rgba(102, 224, 164, 0.45);
  background: rgba(84, 217, 155, 0.14);
}

.trend.down {
  color: #ffd9c8;
  border-color: rgba(255, 168, 124, 0.5);
  background: rgba(255, 145, 94, 0.16);
}

.state {
  padding: 0.26rem 0.5rem;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
}

.state.stable {
  border-color: rgba(134, 182, 255, 0.45);
  background: rgba(134, 182, 255, 0.13);
}

.state.watch {
  border-color: rgba(255, 179, 120, 0.52);
  background: rgba(255, 179, 120, 0.13);
}

.state.strong {
  border-color: rgba(188, 155, 255, 0.55);
  background: rgba(188, 155, 255, 0.16);
}

.command-detail-grid {
  margin-top: 0.62rem;
  display: grid;
  gap: 0.45rem;
}

.detail-row {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem 0.5rem 0.45rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.12rem 0.4rem;
  align-items: center;
}

.detail-row small {
  color: var(--muted);
  font-size: 0.68rem;
}

.detail-row span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted-strong);
}

.detail-row b {
  grid-column: 1 / -1;
  display: block;
  height: 8px;
  border-radius: 999px;
  width: var(--dw);
  background: linear-gradient(90deg, #8dcfff, #ba9dff);
  box-shadow: 0 0 14px rgba(176, 140, 255, 0.25);
}

.pulse-graph {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}

.pulse-area {
  fill: url(#pulseFill);
}

.pulse-line {
  fill: none;
  stroke: rgba(193, 166, 255, 0.95);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 14 8;
  animation: flow 8s linear infinite;
  filter: drop-shadow(0 0 9px rgba(176, 140, 255, 0.45));
}

body[data-motion="desktop"] .aura-1 {
  animation-duration: 32s;
}

body[data-motion="desktop"] .pulse-line {
  animation-duration: 7s;
}

body[data-motion="desktop"] .insight-icon {
  animation-duration: 7.4s;
}

body[data-motion="desktop"] .card-orb {
  animation-duration: 9s;
}

body[data-motion="tablet"] .aura {
  opacity: 0.62;
  animation-duration: 18s;
}

body[data-motion="tablet"] .pulse-line {
  animation-duration: 12s;
}

body[data-motion="tablet"] .insight-icon,
body[data-motion="tablet"] .card-orb {
  animation-duration: 12s;
}

body[data-motion="tablet"] .card:hover,
body[data-motion="tablet"] .bento-card:hover,
body[data-motion="tablet"] .spotlight:hover,
body[data-motion="tablet"] .step:hover,
body[data-motion="tablet"] .price-card:hover,
body[data-motion="tablet"] .faq-item:hover {
  transform: translateY(-4px);
}

body[data-motion="mobile"] .aura {
  opacity: 0.25;
  animation-duration: 24s;
}

body[data-motion="mobile"] .pulse-line {
  animation-duration: 16s;
}

body[data-motion="mobile"] .insight-icon,
body[data-motion="mobile"] .card-orb {
  animation: none;
}

body[data-motion="mobile"] .hub-card,
body[data-motion="mobile"] .question-card,
body[data-motion="mobile"] .trace-list div,
body[data-motion="mobile"] .step-row,
body[data-motion="mobile"] .pain-card,
body[data-motion="mobile"] .visual-panel,
body[data-motion="mobile"] .app-window,
body[data-motion="mobile"] .logic-console,
body[data-motion="mobile"] .how-node.active .how-icon {
  animation: none;
}

body[data-motion="mobile"] .pain-dial {
  animation: none;
}

body[data-motion="mobile"] .v-row i::before {
  transition: none;
}

body[data-motion="mobile"] .card:hover,
body[data-motion="mobile"] .bento-card:hover,
body[data-motion="mobile"] .spotlight:hover,
body[data-motion="mobile"] .step:hover,
body[data-motion="mobile"] .price-card:hover,
body[data-motion="mobile"] .faq-item:hover {
  transform: translateY(-2px);
}

@keyframes flow {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes heatPulse {
  0% {
    transform: none;
    box-shadow: inset 0 0 7px rgba(255, 170, 92, 0.18);
    filter: saturate(1);
  }
  50% {
    transform: none;
    box-shadow: inset 0 0 12px rgba(255, 144, 82, 0.32);
    filter: saturate(1.05);
  }
  100% {
    transform: none;
    box-shadow: inset 0 0 7px rgba(255, 170, 92, 0.18);
    filter: saturate(1);
  }
}

@keyframes copilotDotPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.32;
  }
  50% {
    transform: translateY(-2px);
    opacity: 0.92;
  }
}

@keyframes copilotLivePulse {
  0%,
  100% {
    opacity: 0.72;
    text-shadow: 0 0 0 rgba(143, 211, 255, 0.1);
    transform: scale(1);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(143, 211, 255, 0.58);
    transform: scale(1.08);
  }
}

@keyframes iconDrift {
  0% {
    transform: translate3d(0, 0, 18px) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -2.7px, 18px) rotate(-1.2deg);
  }
  100% {
    transform: translate3d(0, 0, 18px) rotate(0deg);
  }
}

@keyframes orbFloat {
  0% {
    transform: translate3d(0, 0, 10px) scale(1);
    opacity: 0.74;
  }
  50% {
    transform: translate3d(-3.6px, -4.5px, 10px) scale(1.027);
    opacity: 0.84;
  }
  100% {
    transform: translate3d(0, 0, 10px) scale(1);
    opacity: 0.74;
  }
}

@keyframes cardIdle {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.8px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes rowBreath {
  0% {
    border-color: var(--line-soft);
  }
  50% {
    border-color: rgba(185, 157, 255, 0.34);
  }
  100% {
    border-color: var(--line-soft);
  }
}

@keyframes cardSheen {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.62;
  }
  100% {
    opacity: 0.2;
  }
}

@keyframes liveDot {
  0% {
    box-shadow: 0 0 0 0 rgba(173, 146, 255, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(173, 146, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(173, 146, 255, 0);
  }
}

@keyframes headingGlow {
  0% {
    text-shadow: 0 0 0 rgba(176, 140, 255, 0);
  }
  50% {
    text-shadow: 0 0 18px rgba(176, 140, 255, 0.14);
  }
  100% {
    text-shadow: 0 0 0 rgba(176, 140, 255, 0);
  }
}

@keyframes rowGleam {
  0% {
    background: rgba(255, 255, 255, 0.015);
    border-color: rgba(255, 255, 255, 0);
    transform: translateY(0);
  }
  50% {
    background: rgba(176, 140, 255, 0.08);
    border-color: rgba(176, 140, 255, 0.2);
    transform: translateY(-1px);
  }
  100% {
    background: rgba(255, 255, 255, 0.015);
    border-color: rgba(255, 255, 255, 0);
    transform: translateY(0);
  }
}

@keyframes sheenTravelLite {
  0% {
    opacity: 0.1;
    transform: translateX(-2%);
  }
  50% {
    opacity: 0.2;
    transform: translateX(2%);
  }
  100% {
    opacity: 0.1;
    transform: translateX(-2%);
  }
}

@keyframes ambientBreathe {
  0% {
    box-shadow: var(--shadow-soft);
  }
  50% {
    box-shadow: 0 24px 56px rgba(100, 74, 172, 0.22);
  }
  100% {
    box-shadow: var(--shadow-soft);
  }
}

@keyframes heroSweep {
  0% {
    transform: translateX(-24%);
    opacity: 0;
  }
  35% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(24%);
    opacity: 0;
  }
}

.product-preview {
  padding-top: 2.4rem;
}

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

.app-window {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
  animation: ambientBreathe 14.5s ease-in-out infinite;
}

.app-window.wide {
  grid-column: 1 / -1;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.72rem 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
}

.app-head p {
  margin: 0;
  font-weight: 700;
  color: var(--muted-strong);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.app-head strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.74rem;
  color: var(--accent-2);
  border: 1px solid var(--hero-chip-border);
  background: var(--hero-chip-bg);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.app-tabs {
  display: flex;
  gap: 0.45rem;
  padding: 0.55rem 0.86rem 0;
}

.control-room-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.1rem;
  scrollbar-width: none;
}

.control-room-tabs::-webkit-scrollbar {
  display: none;
}

.control-room-tabs .chip {
  font-size: 0.65rem;
  padding: 0.22rem 0.56rem;
}

.app-tabs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}

.app-tabs .active {
  color: var(--muted-strong);
  border-color: var(--hero-chip-border);
  background: var(--hero-chip-bg);
}

.dots {
  display: inline-flex;
  gap: 0.3rem;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.app-body {
  padding: 0.86rem 0.92rem 0.92rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.chip {
  font-size: 0.63rem;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem 0.46rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.chip.active {
  color: var(--muted-strong);
  border-color: var(--hero-chip-border);
  background: var(--hero-chip-bg);
}

.app-body.split {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 0.9rem;
}

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

.app-kpis div {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
}

.app-kpis small {
  color: var(--muted-strong);
  opacity: 0.88;
  font-size: 0.7rem;
}

.app-kpis strong {
  display: block;
  font-size: 1.24rem;
  margin-top: 0.2rem;
  font-family: "Sora", sans-serif;
}

.stream {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.48rem;
}

.stream div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 0.5rem 0.6rem;
  background: rgba(255, 255, 255, 0.03);
}

.stream p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted-strong);
  line-height: 1.34;
  max-width: 44ch;
}

.stream small {
  color: var(--muted);
  font-size: 0.67rem;
}

.tag {
  font-size: 0.63rem;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.tag.high {
  color: #f1e7ff;
  background: rgba(176, 140, 255, 0.24);
  border: 1px solid rgba(176, 140, 255, 0.52);
}

.tag.med {
  color: #ffe9c6;
  background: rgba(255, 197, 94, 0.24);
  border: 1px solid rgba(255, 197, 94, 0.5);
}

.tag.low {
  color: #d5f6ff;
  background: rgba(102, 214, 255, 0.2);
  border: 1px solid rgba(102, 214, 255, 0.5);
}

.question-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  animation: cardIdle 10.5s ease-in-out infinite;
}

.question-card small,
.hub-card small {
  color: var(--muted);
  font-size: 0.67rem;
}

.question-card p {
  margin: 0.55rem 0 0;
  color: var(--muted-strong);
  font-size: 0.85rem;
  line-height: 1.45;
  max-width: 44ch;
}

.sim-status {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-status strong {
  font-family: "Sora", sans-serif;
}

.trace-list {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.32rem;
}

.trace-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 0.3rem 0.45rem;
  background: rgba(255, 255, 255, 0.03);
  animation: rowBreath 8.8s ease-in-out infinite;
}

.trace-list b {
  font-size: 0.67rem;
  color: var(--muted-strong);
}

.trace-list span {
  font-size: 0.64rem;
  color: var(--muted);
  line-height: 1.3;
}

.bars {
  display: grid;
  gap: 0.68rem;
}

.bars div {
  display: grid;
  gap: 0.25rem;
}

.bars small {
  color: var(--muted-strong);
  opacity: 0.88;
  font-size: 0.7rem;
}

.bars span {
  display: block;
  height: 10px;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, #8bbcff, #b996ff);
  box-shadow: 0 0 16px rgba(176, 140, 255, 0.3);
  transition: width 0.7s ease;
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 0.7rem;
}

.hub-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0.68rem;
  background: rgba(255, 255, 255, 0.04);
  animation: cardIdle 11.2s ease-in-out infinite;
}

.hub-card::after,
.question-card::after {
  content: "";
  position: absolute;
  left: 0.62rem;
  right: 0.62rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(141, 207, 255, 0), rgba(186, 157, 255, 0.48), rgba(255, 172, 114, 0));
  opacity: 0.5;
  animation: cardSheen 8.5s ease-in-out infinite;
  pointer-events: none;
}

.hub-card svg {
  width: 100%;
  height: 74px;
  margin-top: 0.46rem;
}

.hub-card svg path {
  fill: none;
  stroke: rgba(182, 153, 255, 0.94);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 10 8;
  animation: flow 7s linear infinite;
}

.hub-card:nth-child(2),
.question-card,
.trace-list div:nth-child(2),
.step-row:nth-child(2) {
  animation-delay: 1.4s;
}

.hub-card:nth-child(3),
.trace-list div:nth-child(3),
.step-row:nth-child(3) {
  animation-delay: 2.5s;
}

.legend-row {
  margin-top: 0.35rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.legend-row span {
  font-size: 0.65rem;
  line-height: 1.1;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.lg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.lg-dot.up {
  background: #9de4ff;
}

.lg-dot.risk {
  background: #c7a2ff;
}

.mini-heatmap.dense {
  margin-top: 0.45rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hub-card.list ul {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.48rem;
}

.hub-card.list li {
  display: grid;
  gap: 0.1rem;
}

.hub-card.list b {
  font-size: 0.78rem;
  color: var(--muted-strong);
}

.hub-card.list span {
  font-size: 0.66rem;
  color: var(--muted);
}

.compact-table {
  margin-top: 0.72rem;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
}

.compact-table .row {
  display: grid;
  grid-template-columns: 1fr 72px 1fr 72px;
  gap: 0.45rem;
  align-items: center;
  padding: 0.4rem 0.55rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.68rem;
}

.compact-table .row.head {
  border-top: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-weight: 700;
}

.compact-table .st {
  justify-self: start;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.012em;
  line-height: 1.1;
}

.compact-table .st.good {
  color: #dff7ff;
  border: 1px solid rgba(102, 214, 255, 0.62);
  background: rgba(102, 214, 255, 0.28);
}

.compact-table .st.med {
  color: #ffefcf;
  border: 1px solid rgba(255, 197, 94, 0.64);
  background: rgba(255, 197, 94, 0.28);
}

body[data-theme="light"] .app-head strong {
  color: #5b3fc2;
  border-color: rgba(120, 84, 234, 0.5);
  background: rgba(141, 103, 255, 0.2);
}

body[data-theme="light"] .app-tabs span {
  color: #5e4f84;
  border-color: rgba(106, 77, 198, 0.24);
  background: rgba(255, 255, 255, 0.76);
}

body[data-theme="light"] .app-tabs .active {
  color: #463373;
  border-color: rgba(120, 84, 234, 0.52);
  background: rgba(141, 103, 255, 0.2);
}

body[data-theme="light"] .chip {
  color: #5f5185;
  border-color: rgba(106, 77, 198, 0.26);
  background: rgba(255, 255, 255, 0.8);
}

body[data-theme="light"] .chip.active {
  color: #433166;
  border-color: rgba(120, 84, 234, 0.52);
  background: rgba(141, 103, 255, 0.2);
}

body[data-theme="light"] .compact-table .st.good {
  color: #1e6074;
  border-color: rgba(70, 178, 212, 0.66);
  background: rgba(136, 223, 250, 0.34);
}

body[data-theme="light"] .compact-table .st.med {
  color: #87500b;
  border-color: rgba(228, 152, 49, 0.68);
  background: rgba(255, 200, 115, 0.36);
}

body[data-theme="light"] .tag.high {
  color: #5d2d8b;
  border-color: rgba(139, 93, 209, 0.58);
  background: rgba(189, 151, 255, 0.34);
}

body[data-theme="light"] .tag.med {
  color: #8a4f0b;
  border-color: rgba(228, 152, 49, 0.66);
  background: rgba(255, 200, 115, 0.34);
}

body[data-theme="light"] .tag.low {
  color: #1f6379;
  border-color: rgba(70, 178, 212, 0.64);
  background: rgba(136, 223, 250, 0.34);
}

body[data-theme="light"] .trend {
  color: #56467f;
  border-color: rgba(106, 77, 198, 0.3);
  background: rgba(255, 255, 255, 0.82);
}

body[data-theme="light"] .trend.up {
  color: #1f6f47;
  border-color: rgba(56, 173, 117, 0.56);
  background: rgba(129, 224, 174, 0.32);
}

body[data-theme="light"] .trend.down {
  color: #8a4f0b;
  border-color: rgba(228, 152, 49, 0.64);
  background: rgba(255, 200, 115, 0.34);
}

body[data-theme="light"] .state {
  color: #4d3c73;
  border-color: rgba(106, 77, 198, 0.3);
  background: rgba(255, 255, 255, 0.82);
}

body[data-theme="light"] .state.stable {
  color: #2a4f7f;
  border-color: rgba(108, 152, 234, 0.58);
  background: rgba(164, 196, 255, 0.3);
}

body[data-theme="light"] .state.watch {
  color: #87500b;
  border-color: rgba(228, 152, 49, 0.64);
  background: rgba(255, 200, 115, 0.34);
}

body[data-theme="light"] .state.strong {
  color: #5a3388;
  border-color: rgba(139, 93, 209, 0.58);
  background: rgba(189, 151, 255, 0.33);
}

body[data-theme="light"] .heat-legend span {
  color: #5b4a82;
  border-color: rgba(106, 77, 198, 0.28);
  background: rgba(255, 255, 255, 0.8);
}

body[data-theme="light"] .pain-badges span {
  color: #4d3a73;
  border-color: rgba(106, 77, 198, 0.28);
  background: rgba(255, 255, 255, 0.8);
}

body[data-theme="light"] .cr-badge.risk {
  color: #8a4f0b;
  border-color: rgba(228, 152, 49, 0.64);
  background: rgba(255, 200, 115, 0.34);
}

body[data-theme="light"] .cr-filter {
  color: #5f5185;
  border-color: rgba(106, 77, 198, 0.26);
  background: rgba(255, 255, 255, 0.78);
}

body[data-theme="light"] .cr-filter.active {
  color: #433166;
  border-color: rgba(120, 84, 234, 0.52);
  background: rgba(141, 103, 255, 0.2);
}


body[data-theme="light"] .cr-badge.evidence {
  color: #1f6379;
  border-color: rgba(70, 178, 212, 0.64);
  background: rgba(136, 223, 250, 0.34);
}

body[data-theme="light"] .cr-badge.closure {
  color: #1f6f47;
  border-color: rgba(56, 173, 117, 0.56);
  background: rgba(129, 224, 174, 0.32);
}

body[data-theme="light"] .pain-meter,
body[data-theme="light"] .pain-mini-heatmap {
  background: rgba(255, 255, 255, 0.76);
}

body[data-theme="light"] .pain-dial {
  border-color: rgba(106, 77, 198, 0.3);
}

body[data-theme="light"] .v-row {
  background: rgba(255, 255, 255, 0.78);
}

.logic-flow {
  padding-top: 2.2rem;
}

.pain-landscape {
  padding-top: 2.3rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.82rem;
}

.pain-card {
  position: relative;
  grid-column: span 2;
  --pain-rgb: 176, 140, 255;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  padding: 0.86rem;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  animation: cardIdle 10.8s ease-in-out infinite;
}

.pain-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02) 42%, transparent 68%);
  opacity: 0.28;
  pointer-events: none;
  animation: cardSheen 8.8s ease-in-out infinite;
}

.pain-card.active {
  border-color: rgba(var(--pain-rgb), 0.5);
  box-shadow: 0 18px 38px rgba(var(--pain-rgb), 0.2);
  transform: translateY(-3px);
}

#painEvidenceCard {
  --pain-rgb: 144, 196, 255;
}

#painDrillCard {
  --pain-rgb: 255, 169, 118;
}

#painCapaCard {
  --pain-rgb: 175, 152, 255;
}

#painMismatchCard {
  --pain-rgb: 255, 153, 106;
}

#painVisibilityCard {
  --pain-rgb: 190, 161, 255;
}

.pain-head {
  display: flex;
  align-items: center;
  gap: 0.52rem;
}

.pain-icon {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
  border: 1px solid rgba(var(--pain-rgb), 0.44);
  background: linear-gradient(135deg, rgba(var(--pain-rgb), 0.42), rgba(140, 121, 245, 0.68));
  box-shadow: 0 10px 20px rgba(var(--pain-rgb), 0.24);
}

.pain-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  line-height: 1.16;
}

.pain-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.48;
}

.pain-statline {
  margin-top: 0.66rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.46rem;
}

.pain-statline small {
  color: var(--muted);
  font-size: 0.7rem;
}

.pain-statline strong {
  font-family: "Sora", sans-serif;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.pain-meter {
  margin-top: 0.36rem;
  height: 7px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.pain-meter span {
  display: block;
  height: 100%;
  width: var(--pw, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(141, 206, 255, 0.88), rgba(187, 157, 255, 0.92), rgba(255, 170, 112, 0.88));
  box-shadow: 0 0 10px rgba(181, 150, 255, 0.36);
  transition: width 0.55s ease;
}

.pain-badges {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.pain-badges span {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--muted-strong);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

.pain-mini-heatmap {
  margin-top: 0.68rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.3rem;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem;
  overflow: hidden;
}

.pain-mini-heatmap span {
  aspect-ratio: 1;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: rgba(176, 140, 255, 0.24);
  transition: background 0.4s ease, transform 0.35s ease;
}

.pain-dial-wrap {
  margin-top: 0.74rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pain-dial {
  width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 53%, transparent 55%),
    conic-gradient(from -90deg, rgba(141, 206, 255, 0.9) 0 var(--pd), rgba(255, 255, 255, 0.1) 0 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(147, 120, 221, 0.22);
  animation: dialHeartbeat 2.8s ease-in-out infinite;
}

.pain-dial b {
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  color: var(--muted-strong);
}

.pain-dial-wrap small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.34;
}

.visibility-signals {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.38rem;
}

.visibility-snapshot {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.38rem;
}

.snap-item {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.42rem 0.5rem;
  display: grid;
  gap: 0.16rem;
}

.snap-item small {
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.25;
}

.snap-item strong {
  color: var(--muted-strong);
  font-family: "Sora", sans-serif;
  font-size: 0.86rem;
  line-height: 1.1;
}

.visibility-notes {
  margin-top: 0.56rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.44rem 0.5rem 0.46rem;
  display: grid;
  gap: 0.28rem;
}

.visibility-notes strong {
  color: var(--muted-strong);
  font-size: 0.66rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.visibility-notes div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.34rem;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  padding-top: 0.26rem;
}

.visibility-notes span {
  color: rgba(146, 204, 255, 0.92);
  font-size: 0.8rem;
  line-height: 1;
}

.visibility-notes p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.67rem;
  line-height: 1.25;
}

.visibility-notes small {
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.1;
}

.v-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.55rem;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.34rem 0.46rem;
}

.v-row span {
  color: var(--muted);
  font-size: 0.68rem;
}

.v-row b {
  color: var(--muted-strong);
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
}

.v-row i {
  grid-column: 1 / -1;
  display: block;
  height: 5px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.v-row i::before {
  content: "";
  display: block;
  width: var(--vw, 50%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(141, 206, 255, 0.88), rgba(187, 157, 255, 0.9));
  box-shadow: 0 0 8px rgba(176, 140, 255, 0.34);
  transition: width 0.45s ease;
}

.pain-card:nth-child(4),
.pain-card:nth-child(5) {
  grid-column: span 3;
}

.pain-bridge {
  margin: 0.9rem 0 0;
  color: var(--muted-strong);
  font-size: 0.92rem;
  border: 1px solid var(--hero-chip-border);
  background: var(--hero-chip-bg);
  border-radius: 12px;
  padding: 0.58rem 0.72rem;
}

.how-system {
  padding-top: 2.2rem;
}

.how-flow {
  position: relative;
  --how-step: 0;
  --how-gap: 0.7rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--how-gap);
  padding-bottom: 1rem;
}

.how-flow::before {
  display: none;
}

.how-node {
  position: relative;
  --how-rgb: var(--how-accent, 176, 140, 255);
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  padding: 0.7rem 0.74rem 0.78rem;
  cursor: pointer;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}

.how-node.active {
  border-color: var(--hero-chip-border);
  background: var(--glass-strong);
  box-shadow: 0 18px 36px rgba(106, 77, 198, 0.2);
  transform: translateY(-3px);
}

.how-node.active .how-icon {
  box-shadow:
    0 0 0 1px rgba(var(--how-accent, 176, 140, 255), 0.5) inset,
    0 10px 22px rgba(var(--how-accent, 176, 140, 255), 0.24),
    0 0 0 0 rgba(var(--how-accent, 176, 140, 255), 0.26);
  border-color: rgba(var(--how-accent, 176, 140, 255), 0.52);
  background: linear-gradient(
    135deg,
    rgba(var(--how-accent, 176, 140, 255), 0.46),
    rgba(142, 124, 255, 0.72)
  );
  text-shadow: 0 0 8px rgba(var(--how-accent, 176, 140, 255), 0.34);
  filter: saturate(1.02);
  animation: howIconMorph 1.8s ease-in-out infinite, howIconGlow 2.45s ease-in-out infinite;
}

.how-node[data-how="observe"] {
  --how-accent: 134, 196, 255;
}

.how-node[data-how="detect"] {
  --how-accent: 255, 162, 104;
}

.how-node[data-how="guide"] {
  --how-accent: 160, 174, 255;
}

.how-node[data-how="validate"] {
  --how-accent: 118, 208, 164;
}

.how-node[data-how="assure"] {
  --how-accent: 189, 161, 255;
}

.how-node:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), 0 18px 36px rgba(106, 77, 198, 0.2);
}

.how-icon {
  width: 1.86rem;
  height: 1.86rem;
  border-radius: 11px;
  display: inline-grid;
  place-items: center;
  font-size: 0.84rem;
  font-weight: 900;
  color: rgba(249, 246, 255, 0.96);
  border: 1px solid rgba(var(--how-rgb), 0.3);
  background: linear-gradient(135deg, rgba(var(--how-rgb), 0.28), rgba(var(--how-rgb), 0.46));
  box-shadow:
    0 8px 16px rgba(var(--how-rgb), 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: background 0.32s ease, box-shadow 0.32s ease, transform 0.32s ease, border-radius 0.32s ease;
}

.how-node h3 {
  margin: 0.52rem 0 0.3rem;
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
}

.how-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.how-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: 0.22rem;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.how-beam span {
  display: block;
  width: calc((100% - (var(--how-gap) * 4)) / 5);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #8dcfff, #ba9dff, #ffaf7a);
  box-shadow: 0 0 14px rgba(176, 140, 255, 0.42);
  transform: translateX(calc(var(--how-step) * (100% + var(--how-gap))));
  transition: transform 0.45s ease;
}

.how-caption {
  margin: 0.18rem 0 0;
  color: var(--muted-strong);
  font-size: 0.87rem;
  line-height: 1.35;
  max-width: 78ch;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.how-caption.is-updating {
  opacity: 0.36;
  transform: translateY(2px);
}

.adaptive-footprint {
  padding-top: 1.9rem;
}

.footprint-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin: -0.15rem 0 0.88rem;
}

.footprint-strip article {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0.58rem 0.66rem;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 12px 24px rgba(64, 44, 118, 0.08);
}

.footprint-strip strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.77rem;
  line-height: 1.2;
}

.footprint-strip p {
  margin: 0.24rem 0 0;
  font-size: 0.71rem;
  color: var(--muted);
  line-height: 1.4;
}

.footprint-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.88rem;
  align-items: stretch;
}

.footprint-map,
.footprint-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.footprint-map {
  padding: 0.78rem;
}

.footprint-map-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.66rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.footprint-map-head strong {
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
}

.footprint-map-head small {
  color: var(--muted);
  font-size: 0.7rem;
}

.footprint-canvas {
  position: relative;
  min-height: 278px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background:
    radial-gradient(520px 220px at 56% 112%, rgba(178, 147, 255, 0.2), transparent 70%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}

.fp-world-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  opacity: 0.16;
  filter: grayscale(1) contrast(1.12) brightness(0.62);
  mix-blend-mode: multiply;
  pointer-events: none;
}

body[data-theme="light"] .fp-world-image {
  opacity: 0.24;
  filter: grayscale(1) contrast(1.06) brightness(0.95);
}

.fp-dot {
  --dot-rgb: 143, 212, 255;
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: #8fd4ff;
  box-shadow: 0 0 0 0 rgba(var(--dot-rgb), 0.38);
  animation: none;
  z-index: 3;
}

.fp-dot.nabh {
  --dot-rgb: 143, 212, 255;
  background: #8fd4ff;
  box-shadow: 0 0 0 0 rgba(var(--dot-rgb), 0.38);
}

.fp-dot.jci {
  --dot-rgb: 190, 159, 255;
  background: #be9fff;
  box-shadow: 0 0 0 0 rgba(var(--dot-rgb), 0.38);
}

.fp-dot.local {
  --dot-rgb: 255, 177, 107;
  background: #ffb16b;
  box-shadow: 0 0 0 0 rgba(var(--dot-rgb), 0.38);
}

.footprint-legend {
  margin-top: 0.56rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.footprint-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.48rem;
  font-size: 0.67rem;
  color: var(--muted-strong);
}

.footprint-legend i {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
}

.footprint-snapshot {
  margin-top: 0.58rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.42rem;
}

.fp-snap {
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.048);
  padding: 0.4rem 0.48rem 0.44rem;
  min-height: 2.9rem;
  display: grid;
  align-content: center;
  gap: 0.04rem;
}

.fp-snap small {
  font-size: 0.62rem;
  color: var(--muted);
  line-height: 1.25;
}

.fp-snap strong {
  font-size: 0.74rem;
  font-family: "Sora", sans-serif;
  line-height: 1.2;
}

.lg-nabh {
  background: #8fd4ff;
}

.lg-jci {
  background: #be9fff;
}

.lg-local {
  background: #ffb16b;
}

.footprint-panel {
  padding: 0.82rem;
  display: grid;
  gap: 0.58rem;
}

.fp-block {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  padding: 0.55rem 0.6rem;
}

.fp-block h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
}

.fp-block p {
  margin: 0.34rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.48;
}

.fp-tags {
  margin-top: 0.42rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.fp-tags span {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.17rem 0.44rem;
  font-size: 0.64rem;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.05);
}

.fp-note {
  margin: 0.06rem 0 0;
  border: 1px solid var(--hero-chip-border);
  background: var(--hero-chip-bg);
  color: var(--muted-strong);
  border-radius: 10px;
  padding: 0.48rem 0.58rem;
  font-size: 0.77rem;
}

@keyframes fpPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--dot-rgb, 143, 212, 255), 0.42);
  }
  55% {
    transform: scale(1.07);
    box-shadow: 0 0 0 8px rgba(var(--dot-rgb, 143, 212, 255), 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--dot-rgb, 143, 212, 255), 0);
  }
}

@keyframes fpRegionDrift {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0.8%, -0.8%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes howIconMorph {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    border-radius: 11px;
  }
  50% {
    transform: translateY(-1.5px) scale(1.035) rotate(-2deg);
    border-radius: 13px;
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    border-radius: 11px;
  }
}

@keyframes howIconGlow {
  0% {
    box-shadow:
      0 10px 22px rgba(var(--how-accent, 176, 140, 255), 0.24),
      0 0 0 0 rgba(var(--how-accent, 176, 140, 255), 0.26);
  }
  50% {
    box-shadow:
      0 12px 25px rgba(var(--how-accent, 176, 140, 255), 0.28),
      0 0 0 5px rgba(var(--how-accent, 176, 140, 255), 0);
  }
  100% {
    box-shadow:
      0 10px 22px rgba(var(--how-accent, 176, 140, 255), 0.24),
      0 0 0 0 rgba(var(--how-accent, 176, 140, 255), 0);
  }
}

.pppp-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.pppp-node {
  position: relative;
  border: 1px solid var(--line-soft);
  background: var(--glass);
  border-radius: 16px;
  padding: 0.9rem;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pppp-node .stage-index {
  font-size: 0.64rem;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.pppp-node h3 {
  margin: 0.58rem 0 0.3rem;
  font-size: 1rem;
  font-family: "Sora", sans-serif;
}

.pppp-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.pppp-node.active {
  border-color: var(--hero-chip-border);
  box-shadow: 0 20px 40px rgba(176, 140, 255, 0.28);
  transform: translateY(-6px);
}

.pppp-beam {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.pppp-beam span {
  display: block;
  height: 100%;
  width: 26%;
  background: linear-gradient(90deg, #8dcfff, #ba9dff);
  box-shadow: 0 0 16px rgba(176, 140, 255, 0.42);
  transition: transform 0.55s ease;
}

.logic-console {
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass-strong);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  animation: ambientBreathe 15s ease-in-out infinite;
}

.console-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.console-head strong {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.console-head small {
  color: var(--muted);
  font-size: 0.72rem;
}

.logic-progress {
  margin-top: 0.55rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.logic-progress span {
  display: block;
  width: 22%;
  height: 100%;
  background: linear-gradient(90deg, #8dcfff, #ba9dff);
  box-shadow: 0 0 16px rgba(176, 140, 255, 0.4);
  transition: width 0.5s ease;
}

.logic-steps {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.42rem;
}

.step-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.4rem 0.52rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.73rem;
  animation: rowBreath 8.2s ease-in-out infinite;
}

.step-row b {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
}

.step-row.active {
  color: var(--muted-strong);
  border-color: var(--hero-chip-border);
}

.step-row.active b {
  border-color: var(--hero-chip-border);
  background: var(--hero-chip-bg);
}

body[data-visual="calm"] .aura {
  opacity: 0.35;
  animation-duration: 20s;
}

body[data-visual="calm"] .pulse-line {
  animation-duration: 16s;
}

body[data-visual="calm"] .card:hover,
body[data-visual="calm"] .bento-card:hover,
body[data-visual="calm"] .spotlight:hover,
body[data-visual="calm"] .step:hover,
body[data-visual="calm"] .price-card:hover,
body[data-visual="calm"] .faq-item:hover {
  transform: translateY(-3px);
}

body[data-visual="calm"] .mini-heatmap span,
body[data-visual="calm"] .heatmap-canvas span {
  transition-duration: 0.9s;
}

body[data-visual="calm"] .heart-dot {
  animation-duration: 2.4s;
}

body[data-visual="calm"] .heat-l3 {
  animation-duration: 4.8s;
}

body[data-visual="calm"] .insight-icon,
body[data-visual="calm"] .card-orb {
  animation-duration: 14s;
}

body[data-visual="calm"] .how-node.active .how-icon {
  animation-duration: 3.1s;
}

body[data-visual="calm"] .how-node .how-icon {
  box-shadow:
    0 7px 14px rgba(var(--how-rgb), 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

body[data-visual="calm"] .hub-card,
body[data-visual="calm"] .question-card,
body[data-visual="calm"] .trace-list div,
body[data-visual="calm"] .step-row,
body[data-visual="calm"] .pain-card,
body[data-visual="calm"] .visual-panel,
body[data-visual="calm"] .app-window,
body[data-visual="calm"] .logic-console {
  animation-duration: 16s;
}

body[data-visual="calm"] .pain-dial {
  animation-duration: 4.6s;
}

.faq-item h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.faq-item p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 3.2rem;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.demo-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 3, 18, 0.62);
  backdrop-filter: blur(6px);
}

.demo-modal__panel {
  position: relative;
  width: min(760px, calc(100% - 1.2rem));
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(14px);
  padding: 1.12rem 1.45rem 1.22rem;
}

.demo-modal__close {
  position: absolute;
  top: 0.82rem;
  right: 0.92rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  font-size: 1.24rem;
  line-height: 1;
  cursor: pointer;
}

.demo-modal__panel h3 {
  margin: 0.78rem 0 0.35rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.72rem);
}

.demo-modal__intro {
  margin: 0 0 0.86rem;
  color: var(--muted);
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.66rem;
}

.demo-form label {
  display: grid;
  gap: 0.28rem;
}

.demo-form label.full {
  grid-column: 1 / -1;
}

.demo-form span {
  font-size: 0.72rem;
  color: var(--muted-strong);
  font-weight: 700;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.62rem 0.7rem;
}

.demo-form input:focus-visible,
.demo-form select:focus-visible,
.demo-form textarea:focus-visible,
.demo-modal__close:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.demo-form__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.18rem;
}

.demo-form__status {
  grid-column: 1 / -1;
  margin: 0.16rem 0 0;
  min-height: 1.2rem;
  color: var(--muted-strong);
  font-size: 0.82rem;
}

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

.copilot {
  position: fixed;
  right: 1.1rem;
  bottom: 1.08rem;
  z-index: 110;
  display: grid;
  justify-items: end;
  gap: 0.62rem;
}

.copilot-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 4, 17, 0.48);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.copilot.open .copilot-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.copilot-launcher {
  position: relative;
  z-index: 1;
  border: 1px solid var(--hero-chip-border);
  background: var(--glass-strong);
  color: var(--text);
  border-radius: 999px;
  padding: 0.56rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(10, 6, 22, 0.26);
  backdrop-filter: blur(10px);
}

.copilot-launcher small {
  opacity: 0.78;
  font-size: 0.72em;
}

.copilot-launcher__dot {
  color: #8fd4ff;
  font-size: 0.72rem;
  animation: copilotLivePulse 1.9s ease-in-out infinite;
}

.copilot-panel {
  position: relative;
  z-index: 1;
  width: min(392px, calc(100vw - 1.8rem));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(14px);
  padding: 0.84rem;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transition: opacity 0.16s ease, transform 0.2s ease;
}

.copilot-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.copilot-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
}

.copilot-kicker {
  margin: 0;
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.copilot-head h3 {
  margin: 0.18rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
}

.copilot-close {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.copilot-body {
  margin-top: 0.62rem;
  display: grid;
  gap: 0.5rem;
  max-height: 278px;
  overflow: auto;
  padding-right: 0.18rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(177, 151, 255, 0.62) transparent;
}

.copilot-body::-webkit-scrollbar {
  width: 6px;
}

.copilot-body::-webkit-scrollbar-track {
  background: transparent;
}

.copilot-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(177, 151, 255, 0.56);
}

.copilot-msg {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0.45rem 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.copilot-msg.bot {
  border-color: rgba(170, 147, 255, 0.26);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(177, 145, 255, 0.08));
}

.copilot-msg.user {
  background: linear-gradient(135deg, rgba(141, 103, 255, 0.18), rgba(118, 186, 255, 0.14));
  border-color: rgba(141, 103, 255, 0.34);
}

.copilot-msg p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.56;
  color: var(--muted-strong);
  white-space: pre-line;
}

.copilot-msg p + p {
  margin-top: 0.46rem;
}

.copilot-msg strong {
  color: var(--text);
  font-weight: 800;
}

.copilot-msg em {
  font-style: normal;
  color: var(--text);
  opacity: 0.92;
}

.copilot-msg code {
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  padding: 0.04rem 0.32rem;
  border-radius: 6px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.06);
}

.copilot-msg ul,
.copilot-msg ol {
  margin: 0.5rem 0 0.12rem;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
  color: var(--muted-strong);
  font-size: 0.8rem;
  line-height: 1.54;
}

.copilot-msg li {
  margin: 0;
}

.copilot-thinking {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  min-height: 1.1rem;
}

.copilot-thinking span {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--muted-strong);
  opacity: 0.35;
  animation: copilotDotPulse 1.1s ease-in-out infinite;
}

.copilot-thinking span:nth-child(2) {
  animation-delay: 0.16s;
}

.copilot-thinking span:nth-child(3) {
  animation-delay: 0.32s;
}

.copilot-quick {
  margin-top: 0.56rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
}

.copilot-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.5rem;
  cursor: pointer;
}

.copilot-form {
  margin-top: 0.64rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.46rem;
}

.copilot-form input {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  padding: 0.58rem 0.68rem;
}

.copilot-form .btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.copilot-cta-row {
  margin-top: 0.62rem;
  display: flex;
  gap: 0.46rem;
  flex-wrap: wrap;
}

.copilot-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  text-decoration: none;
  font-size: 0.71rem;
  font-weight: 800;
  padding: 0.28rem 0.62rem;
}

.copilot-form input:focus-visible,
.copilot-launcher:focus-visible,
.copilot-close:focus-visible,
.copilot-chip:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
  .copilot {
    display: none;
  }

  .copilot-launcher {
    justify-content: center;
  }

  .copilot-panel {
    width: 100%;
    padding: 0.74rem;
  }
}

body.modal-open {
  overflow: hidden;
}

.footer-wrap {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-mid {
  display: grid;
  gap: 0.32rem;
  justify-items: center;
  text-align: center;
}

.footer-mid p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem 0.74rem;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 130ms;
}

.delay-2 {
  transition-delay: 240ms;
}

@media (max-width: 1366px) {
  .container {
    width: min(1160px, calc(100% - 2.3rem));
  }

  .hero h1 {
    max-width: 18ch;
  }

  .section-head h2 {
    max-width: 24ch;
  }
}

@media (max-width: 1200px) {
  .main-nav {
    gap: 0.9rem;
  }

  .main-nav a {
    font-size: 0.86rem;
  }

  .nav-utility {
    gap: 0.34rem;
  }

  .theme-toggle,
  .visual-toggle,
  .menu-toggle {
    padding: 0.46rem 0.7rem;
    font-size: 0.74rem;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .container {
    width: min(1160px, calc(100% - 1.9rem));
  }

  .section {
    padding: 5.35rem 0;
  }

  .section-head {
    margin-bottom: 1.4rem;
    max-width: 62ch;
  }

  .section-head h2 {
    font-size: clamp(1.62rem, 3.08vw, 2.28rem);
    line-height: 1.14;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-grid {
    gap: 1.35rem;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 4vw, 3.05rem);
    max-width: 18ch;
    line-height: 1.06;
    margin: 0.8rem 0 0.72rem;
  }

  .kicker {
    margin-bottom: 0.2rem;
  }

  .hero-copy p {
    font-size: 0.95rem;
    line-height: 1.54;
    max-width: 54ch;
  }

  .hero-actions {
    margin: 1rem 0 0.84rem;
    gap: 0.56rem;
  }

  .hero-actions .btn {
    padding: 0.72rem 1.02rem;
    font-size: 0.9rem;
  }

  .quick-points {
    margin-top: 0.74rem;
    gap: 0.5rem;
  }

  .quick-points li {
    font-size: 0.86rem;
  }

  .six-col,
  .bento,
  .process .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .four-col,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

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

  .pain-card,
  .pain-card:nth-child(4),
  .pain-card:nth-child(5) {
    grid-column: span 1;
    padding: 0.8rem;
  }

  .app-body.split,
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .app-head {
    padding: 0.62rem 0.74rem;
  }

  .app-head p {
    font-size: 0.78rem;
  }

  .app-tabs {
    gap: 0.34rem;
    padding: 0.46rem 0.66rem 0;
  }

  .app-tabs span,
  .control-room-tabs .chip {
    font-size: 0.6rem;
    padding: 0.18rem 0.46rem;
  }

  .control-room-tabs {
    padding-right: 0.2rem;
  }

  .app-body {
    padding: 0.74rem 0.78rem 0.8rem;
  }

  .stream p {
    font-size: 0.73rem;
    line-height: 1.34;
  }

  .pppp-rail {
    grid-template-columns: 1fr 1fr;
    gap: 0.62rem;
  }

  .how-flow {
    gap: 0.62rem;
  }

  .app-kpis strong {
    font-size: 1.12rem;
  }

  .compact-table .row {
    grid-template-columns: 1fr 58px 1fr 62px;
    font-size: 0.65rem;
  }

  .compact-table {
    overflow-x: auto;
  }

  .cta-box {
    padding: 2.2rem;
  }

  .footer-wrap {
    gap: 0.7rem;
  }
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-height) - 2px);
    right: 0.8rem;
    left: 0.8rem;
    padding: 0.95rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--header-bg-scrolled);
    flex-direction: column;
    align-items: flex-start;
    backdrop-filter: blur(12px);
    z-index: 90;
  }

  .main-nav.open {
    display: flex;
  }

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

  .nav-wrap {
    min-height: 74px;
  }

  :root {
    --header-height: 74px;
  }

  .nav-utility {
    margin-left: auto;
  }

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

  .app-kpis div:last-child {
    grid-column: 1 / -1;
  }

  .compact-table .row {
    grid-template-columns: 1fr 64px 1fr 66px;
  }

  .insight-icon {
    top: 0.76rem;
    left: 0.76rem;
    width: 2.02rem;
    height: 2.02rem;
    border-radius: 11px;
  }

  .insight-icon svg {
    width: 0.88rem;
    height: 0.88rem;
  }

  .card,
  .bento-card {
    padding-top: 3.38rem;
  }

  .step {
    padding-top: 2.98rem;
  }

  .spotlight,
  .faq-item {
    padding-top: 3.4rem;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .mini-visuals,
  .immersive-grid {
    grid-template-columns: 1fr;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footprint-canvas {
    min-height: 260px;
  }

  .fp-world-image {
    transform: none;
  }

  .pppp-rail {
    grid-template-columns: 1fr 1fr;
  }

  .pppp-beam {
    display: none;
  }

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

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

  .how-flow::before {
    display: none;
  }

  .how-beam {
    display: none;
  }

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

  .tall {
    grid-row: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .featured {
    transform: translateY(0);
  }

  .fp-map-label {
    display: none;
  }
}

@media (max-width: 980px) {
  .pppp-rail {
    grid-template-columns: 1fr;
  }

  .console-head {
    align-items: flex-start;
  }
}

@media (min-width: 768px) and (max-width: 900px) and (orientation: portrait) {
  .section {
    padding: 5rem 0;
  }

  .hero {
    padding-top: 5.6rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 4.6vw, 2.8rem);
    line-height: 1.07;
  }

  .hero-copy p {
    font-size: 0.97rem;
    line-height: 1.5;
    max-width: 52ch;
  }

  .section-head h2 {
    font-size: clamp(1.65rem, 3.35vw, 2.25rem);
  }

  .section-head {
    margin-bottom: 1.22rem;
    max-width: 58ch;
  }

  .pppp-rail {
    grid-template-columns: 1fr;
  }

  .pppp-node {
    padding: 0.8rem;
  }

  .logic-console {
    padding: 0.86rem;
  }

  .app-window {
    border-radius: 16px;
  }

  .app-head {
    padding: 0.62rem 0.72rem;
  }

  .app-body {
    padding: 0.78rem;
  }

  .app-kpis strong {
    font-size: 1.02rem;
  }

  .app-tabs span,
  .control-room-tabs .chip {
    font-size: 0.58rem;
    padding: 0.16rem 0.42rem;
  }

  .stream p {
    font-size: 0.74rem;
  }

  .compact-table .row {
    grid-template-columns: 1fr 52px 1fr 58px;
    font-size: 0.62rem;
  }
}

@media (min-width: 1180px) and (max-width: 1366px) and (max-height: 820px) {
  .section {
    padding: 4.7rem 0;
  }

  .hero {
    padding-top: 5.2rem;
  }

  .hero-grid {
    gap: 1.2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 3.1vw, 3rem);
    line-height: 1.04;
  }

  .hero-copy p {
    font-size: 0.95rem;
  }

  .hero-actions {
    margin: 0.9rem 0;
  }

  .product-preview,
  .logic-flow {
    padding-top: 1.8rem;
  }

  .section-head {
    margin-bottom: 1.22rem;
  }

  .section-head h2 {
    font-size: clamp(1.7rem, 2.45vw, 2.35rem);
  }

  .cta-box {
    padding: 2.1rem;
  }

  .app-head {
    padding: 0.58rem 0.74rem;
  }

  .app-tabs {
    padding: 0.42rem 0.74rem 0;
  }

  .app-body {
    padding: 0.72rem 0.78rem 0.78rem;
  }

  .pppp-node {
    padding: 0.78rem;
  }
}

@media (min-width: 1180px) and (max-width: 1366px) and (max-height: 1050px) and (orientation: landscape) {
  .main-nav {
    gap: 0.7rem;
  }

  .main-nav a {
    font-size: 0.84rem;
  }

  .btn-sm {
    padding: 0.46rem 0.7rem;
  }

  .theme-toggle,
  .visual-toggle {
    padding: 0.42rem 0.6rem;
    font-size: 0.7rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 3.25vw, 3.15rem);
  }

  .mini-visuals {
    gap: 0.55rem;
  }

  .dial svg {
    width: 68px;
    height: 68px;
  }

  .dial.lg svg {
    width: 88px;
    height: 88px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .container {
    width: min(1160px, calc(100% - 1.35rem));
  }

  .section {
    padding: 4.7rem 0;
  }

  .hero {
    padding-top: 5.4rem;
  }

  .hero h1 {
    font-size: clamp(1.86rem, 9.8vw, 2.7rem);
    line-height: 1.09;
    max-width: 12ch;
    text-wrap: pretty;
    overflow-wrap: anywhere;
  }

  .main-nav {
    right: 0.7rem;
    left: 0.7rem;
    top: calc(var(--header-height) - 1px);
    padding: 0.9rem;
  }

  .theme-toggle {
    margin-left: 0;
  }

  .visual-toggle {
    min-width: 5.7rem;
  }

  .app-body.split,
  .hub-grid,
  .pppp-rail,
  .footprint-strip {
    grid-template-columns: 1fr;
  }

  .command-dials {
    grid-template-columns: 1fr;
  }

  .footprint-snapshot {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .dial-card-main {
    grid-row: auto;
  }

  .dial-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .heat-kpis {
    grid-template-columns: 1fr;
  }

  .compact-table .row {
    grid-template-columns: 1fr 56px 1fr 60px;
    font-size: 0.64rem;
  }

  .nav-utility {
    gap: 0.35rem;
  }

  .visual-toggle,
  .theme-toggle {
    padding-inline: 0.58rem;
    font-size: 0.74rem;
  }

  .logo-img {
    height: 1.86rem;
    max-width: 10.6rem;
  }

  .panel-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .heartbeat-strip {
    align-items: flex-start;
  }

  .timeline-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .timeline-filters {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .six-col,
  .four-col,
  .bento,
  .process .steps,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .how-flow {
    grid-template-columns: 1fr;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .pain-card,
  .pain-card:nth-child(4),
  .pain-card:nth-child(5) {
    grid-column: span 1;
  }

  .pain-dial-wrap {
    align-items: flex-start;
  }

  .footprint-map {
    padding: 0.68rem;
  }

  .footprint-canvas {
    min-height: 220px;
  }

  .fp-world-image {
    transform: none;
    opacity: 0.24;
  }

  .fp-dot {
    width: 0.39rem;
    height: 0.39rem;
    transform: translate(-50%, -50%) scale(0.92);
  }

  .footprint-panel {
    padding: 0.72rem;
  }

  .how-caption {
    font-size: 0.82rem;
  }

  .hero-copy p {
    font-size: 0.97rem;
    line-height: 1.58;
    max-width: 56ch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  #solutions .card {
    min-height: 0;
    padding-top: 3.62rem;
  }

  #solutions .card .insight-icon {
    width: 1.92rem;
    height: 1.92rem;
  }

  .faq-item {
    padding-top: 3.26rem;
  }

  .insight-icon {
    top: 0.68rem;
    left: 0.68rem;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 10px;
    box-shadow:
      0 4px 8px rgba(var(--icon-accent-rgb), 0.11),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }

  .insight-icon svg {
    width: 0.8rem;
    height: 0.8rem;
    opacity: 0.86;
  }

  .card,
  .bento-card {
    padding-top: 3.2rem;
  }

  .step {
    padding-top: 2.84rem;
  }

  .spotlight {
    padding-top: 3.22rem;
  }

  .demo-modal__panel {
    padding: 0.9rem 0.96rem 0.98rem;
  }

  .demo-form {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 0;
  }

  .footer-mid {
    justify-items: flex-start;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .aura {
    display: none;
  }

  .copilot {
    display: none !important;
  }
}
