@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/geist-vietnamese.woff2') format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/geist-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/geist-mono-vietnamese.woff2') format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/geist-mono-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --font-sans: 'Geist', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'Geist Mono', 'SFMono-Regular', Consolas, monospace;
  --bg: #07091d;
  --bg-deep: #03040f;
  --surface: #0c1030;
  --surface-2: #121844;
  --ink: #f7f7ff;
  --muted: #a9aed2;
  --dim: #71779f;
  --line: rgba(219, 223, 255, 0.12);
  --line-strong: rgba(219, 223, 255, 0.24);
  --brand: #3d50ff;
  --brand-strong: #2f42e8;
  --periwinkle: #8d9bff;
  --electric: #6075ff;
  --violet: #7138ff;
  --violet-soft: #b69cff;
  --aqua: #55d6ff;
  --magenta: #d45cff;
  --signal: #ffcf5a;
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.55);
  --content: min(1220px, calc(100vw - 48px));
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings:
    'kern' 1,
    'liga' 1;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  max-width: 100%;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.heading-clause {
  display: block;
  text-wrap: balance;
}

p,
li,
legend,
label {
  orphans: 2;
  text-wrap: pretty;
  widows: 2;
}

.eyebrow,
.section-index,
.workspace-kicker,
.workspace-status,
.date-chip,
.metric-trend,
.evidence-badge,
.flow-step-meta,
.mode-label,
.form-status-mark,
.feedback-brand,
.footer-top-link,
.button,
.header-cta,
.text-link,
.segmented-control button {
  white-space: nowrap;
}

code,
kbd,
samp,
pre,
.workspace-status,
.workspace-avatar,
.date-chip,
.metric-card strong,
.metric-trend,
.evidence-badge,
.chart-tooltip,
.section-index,
.flow-step-meta,
.mini-kpi span,
.prompt-footnote,
.lineage-node small,
.iris-label,
.mode-label,
.mode-stat-row,
.form-status-mark,
.character-count,
.feedback-form-status {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

::selection {
  background: var(--periwinkle);
  color: #07091c;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid var(--periwinkle);
  background: var(--bg);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  transform: translateZ(0);
  contain: strict;
}

.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  width: 420px;
  height: 420px;
  transform: translate3d(
    calc(var(--cursor-x, -500px) - 50%),
    calc(var(--cursor-y, -500px) - 50%),
    0
  );
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 155, 255, 0.08), transparent 67%);
  pointer-events: none;
  transition: opacity 300ms ease;
}

.has-hover-field {
  --section-hover-x: 50%;
  --section-hover-y: 50%;
  --section-hover-color: 141, 155, 255;
  --section-hover-opacity: 0.09;
  isolation: isolate;
}

.section-hover-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: radial-gradient(
    circle 390px at var(--section-hover-x) var(--section-hover-y),
    rgba(var(--section-hover-color), var(--section-hover-opacity)),
    transparent 72%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.has-hover-field.pointer-inside > .section-hover-field {
  opacity: 1;
}

.has-hover-field.hover-light {
  --section-hover-color: 61, 80, 255;
  --section-hover-opacity: 0.12;
}

.has-hover-field.hover-light > .section-hover-field {
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1280px, calc(100vw - 32px));
  height: var(--header-height);
  padding: 0 18px;
  transform: translateX(-50%);
  border-bottom: 1px solid transparent;
  transition:
    background 300ms ease,
    border-color 300ms ease,
    top 300ms ease;
}

.site-header.scrolled {
  top: 10px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 24, 0.78);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.wordmark,
.footer-wordmark {
  font-size: 19px;
  font-weight: 720;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
}

.wordmark-logo {
  width: 27px;
  height: 27px;
  object-fit: contain;
  filter: drop-shadow(0 0 13px rgba(61, 80, 255, 0.22));
}

.desktop-nav {
  display: flex;
  gap: 30px;
  color: #cbd0ec;
  font-size: 13px;
}

.desktop-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.site-footer a:hover {
  color: #9ca8ff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.header-cta:hover {
  border-color: var(--brand);
  background: rgba(61, 80, 255, 0.09);
}

.hero {
  position: relative;
  min-height: 1240px;
  overflow: hidden;
  background: #07091c;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 320px;
  content: '';
  background: linear-gradient(180deg, transparent, #07091d 82%);
  pointer-events: none;
}

.hero-canvas,
.closing-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-grid,
.closing-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 155, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 155, 255, 0.055) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 77%);
  pointer-events: none;
}

.hero-grid {
  transform: perspective(700px) rotateX(64deg) scale(1.75) translateY(175px);
  transform-origin: center 62%;
  opacity: 0.55;
}

.hero-beam {
  position: absolute;
  top: -180px;
  width: 1px;
  height: 930px;
  transform-origin: top center;
  background: linear-gradient(to bottom, transparent, rgba(96, 117, 255, 0.46), transparent);
  box-shadow: 0 0 60px 13px rgba(96, 117, 255, 0.1);
  opacity: 0.65;
  pointer-events: none;
}

.hero-beam-one {
  left: 24%;
  transform: rotate(32deg);
}

.hero-beam-two {
  right: 18%;
  transform: rotate(-38deg);
  background: linear-gradient(to bottom, transparent, rgba(113, 56, 255, 0.45), transparent);
  box-shadow: 0 0 60px 13px rgba(113, 56, 255, 0.1);
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: var(--content);
  margin: 0 auto;
  padding-top: 154px;
  text-align: center;
}

.eyebrow,
.section-index {
  margin: 0;
  color: #9ca8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(61, 80, 255, 0.28);
  background: rgba(61, 80, 255, 0.06);
}

.live-dot,
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--periwinkle);
  box-shadow: 0 0 14px var(--periwinkle);
  animation: liveBlink 1.9s ease-in-out infinite;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0 24px;
  font-size: clamp(68px, 10vw, 148px);
  font-weight: 690;
  line-height: 0.88;
}

.hero-title-secondary {
  max-width: min(100%, 980px);
  margin-top: 21px;
  color: transparent;
  font-size: clamp(37px, 5.2vw, 76px);
  font-weight: 560;
  -webkit-text-stroke: 1px rgba(224, 227, 255, 0.43);
}

.hero-description {
  max-width: 680px;
  margin: 0 auto;
  color: #b0b5d3;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 206px;
  min-height: 52px;
  padding: 0 18px 0 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 650;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

.button-primary::before {
  position: absolute;
  inset: 0;
  content: '';
  transform: translateX(-105%);
  background: var(--brand-strong);
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button-primary:hover::before {
  transform: translateX(0);
}

.button-ghost {
  background: rgba(4, 5, 18, 0.52);
  backdrop-filter: blur(12px);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.06);
}

.button > span {
  position: relative;
  z-index: 1;
}

.button-icon {
  font-size: 17px;
}

.hero-product {
  position: absolute;
  top: 655px;
  left: 50%;
  z-index: 4;
  width: min(1110px, calc(100vw - 64px));
  transform: translateX(-50%);
  perspective: 1500px;
}

.product-halo {
  position: absolute;
  top: -110px;
  left: 50%;
  width: 72%;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(141, 155, 255, 0.16), transparent 68%);
  filter: blur(20px);
}

.workspace-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(218, 222, 255, 0.2);
  background: #0a0e29;
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(141, 155, 255, 0.04) inset;
  transform: rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.workspace-topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  height: 54px;
  padding: 0 16px 0 18px;
  border-bottom: 1px solid var(--line);
  background: #0b0f2d;
  font-size: 11px;
}

.workspace-brand,
.workspace-status {
  display: flex;
  align-items: center;
  gap: 9px;
}

.workspace-brand-mark {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(61, 80, 255, 0.35));
}

.workspace-status {
  color: #9299bc;
}

.workspace-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: var(--violet);
  color: #120b2b;
  font-size: 9px;
  font-weight: 800;
}

.workspace-body {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 530px;
}

.workspace-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-right: 1px solid var(--line);
  background: #080b25;
}

.sidebar-control {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  background: transparent;
}

.sidebar-control.active {
  border-color: rgba(141, 155, 255, 0.22);
  background: rgba(141, 155, 255, 0.08);
}

.sidebar-icon {
  position: relative;
  display: block;
  width: 13px;
  height: 13px;
  color: #878dac;
}

.active .sidebar-icon {
  color: var(--periwinkle);
}

.icon-grid {
  background:
    linear-gradient(currentColor 0 0) 0 0 / 5px 5px,
    linear-gradient(currentColor 0 0) 100% 0 / 5px 5px,
    linear-gradient(currentColor 0 0) 0 100% / 5px 5px,
    linear-gradient(currentColor 0 0) 100% 100% / 5px 5px;
  background-repeat: no-repeat;
}

.icon-wave::before {
  position: absolute;
  inset: 3px 0;
  content: '';
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: skewY(-28deg);
}

.icon-stack,
.icon-stack::before,
.icon-stack::after {
  position: absolute;
  left: 1px;
  width: 11px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.icon-stack {
  top: 1px;
}

.icon-stack::before,
.icon-stack::after {
  left: -1px;
  content: '';
}

.icon-stack::before {
  top: 3px;
}

.icon-stack::after {
  top: 7px;
}

.dashboard-shell {
  padding: 30px 34px 34px;
  background-image: linear-gradient(125deg, rgba(141, 155, 255, 0.025), transparent 42%);
}

.dashboard-heading-row,
.panel-heading,
.agent-heading,
.prompt-input-row,
.prompt-footnote,
.mode-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.workspace-kicker,
.metric-card p,
.panel-heading p,
.agent-heading p {
  margin: 0;
}

.workspace-kicker {
  color: var(--dim);
  font-size: 10px;
  text-transform: uppercase;
}

.dashboard-heading-row h2 {
  margin: 5px 0 0;
  font-size: 21px;
  font-weight: 630;
}

.date-chip,
.evidence-badge {
  border: 1px solid var(--line);
  color: #a3a8c7;
  font-size: 9px;
}

.date-chip {
  padding: 8px 10px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 23px 0 10px;
}

.metric-card,
.chart-panel,
.agent-panel {
  border: 1px solid var(--line);
  background: rgba(12, 16, 48, 0.88);
}

.metric-card {
  --card-accent: var(--aqua);
  position: relative;
  min-height: 110px;
  padding: 15px;
  overflow: hidden;
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.metric-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 1px;
  content: '';
  background: var(--card-accent);
  box-shadow: 0 0 14px var(--card-accent);
}

.metric-card:nth-child(2) {
  --card-accent: var(--periwinkle);
}
.metric-card:nth-child(3) {
  --card-accent: var(--magenta);
}

.metric-card p {
  color: #8e94b8;
  font-size: 10px;
}

.metric-card strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(17px, 2.1vw, 24px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition:
    color 240ms ease,
    transform 240ms ease;
}

.metric-trend {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: #9ea4c3;
  font-size: 8px;
}

.metric-trend.positive {
  color: var(--periwinkle);
}

.dashboard-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 0.72fr);
  gap: 10px;
}

.chart-panel,
.agent-panel {
  min-height: 285px;
  padding: 17px;
}

.panel-heading p,
.agent-heading p {
  font-size: 11px;
  font-weight: 650;
}

.panel-heading span,
.agent-heading span {
  color: #757ca1;
  font-size: 8px;
}

.evidence-badge {
  padding: 6px 8px;
  color: var(--periwinkle) !important;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 14px;
  min-height: 12px;
  margin-top: 9px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7f86aa;
  font-size: 7px;
  white-space: nowrap;
}

.chart-legend i {
  width: 14px;
  height: 2px;
  background: var(--periwinkle);
}

.legend-current i {
  background: linear-gradient(90deg, var(--brand), var(--aqua));
}
.legend-previous i {
  background: linear-gradient(90deg, var(--violet), var(--magenta));
}
.legend-forecast i {
  background: repeating-linear-gradient(90deg, var(--magenta) 0 4px, transparent 4px 6px);
}

.chart-area {
  position: relative;
  margin-top: 8px;
}

.chart-area svg {
  width: 100%;
  overflow: visible;
}

.chart-guides path {
  fill: none;
  stroke: rgba(222, 225, 255, 0.08);
  stroke-width: 1;
}

.chart-area-fill {
  fill: url(#areaFill);
  opacity: 0;
  animation: areaReveal 1.3s ease 1.6s forwards;
}

.chart-line {
  fill: none;
  stroke-linecap: round;
}

.chart-line-primary {
  stroke: url(#revenueStroke);
  stroke-dasharray: 920;
  stroke-dashoffset: 920;
  stroke-width: 2.6;
  filter: drop-shadow(0 0 8px rgba(85, 214, 255, 0.4));
  animation: drawLine 2.3s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

.chart-line-comparison {
  stroke: url(#comparisonStroke);
  stroke-dasharray: 7 8;
  stroke-width: 1.45;
  opacity: 0.6;
  filter: drop-shadow(0 0 5px rgba(212, 92, 255, 0.3));
  animation: comparisonFlow 3.2s linear infinite;
}

.chart-line-forecast {
  stroke: url(#forecastStroke);
  stroke-dasharray: 8 7;
  stroke-width: 2.1;
  filter: drop-shadow(0 0 7px rgba(255, 207, 90, 0.34));
  animation: forecastFlow 1.35s linear infinite;
}

.chart-points circle {
  fill: #0d1234;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: chartPointPulse 3.2s ease-in-out infinite;
}

.chart-points-primary circle {
  stroke: var(--aqua);
}
.chart-points-comparison circle {
  stroke: var(--magenta);
  opacity: 0.72;
}
.chart-points-forecast circle {
  stroke: var(--signal);
}
.chart-points circle:nth-child(2n) {
  animation-delay: 400ms;
}
.chart-points circle:nth-child(3n) {
  animation-delay: 800ms;
}

.chart-tooltip {
  position: absolute;
  top: 10px;
  right: 3px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  border: 1px solid rgba(141, 155, 255, 0.28);
  background: rgba(7, 9, 29, 0.9);
  font-size: 8px;
  animation: tooltipFloat 3.4s ease-in-out infinite;
}

.chart-tooltip span {
  color: #868cab;
}

.agent-panel {
  position: relative;
  overflow: hidden;
}

.agent-panel::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 45%;
  height: 1px;
  content: '';
  background: var(--electric);
  box-shadow: 0 0 18px rgba(96, 117, 255, 0.7);
}

.agent-heading {
  justify-content: flex-start;
  gap: 10px;
}

.agent-glyph,
.prompt-mark {
  color: var(--electric);
  text-shadow: 0 0 14px rgba(96, 117, 255, 0.75);
}

.agent-question {
  margin: 26px 0 17px;
  color: #dfe2f4;
  font-size: 12px;
  line-height: 1.5;
}

.agent-thinking {
  display: flex;
  gap: 4px;
  height: 12px;
}

.agent-thinking span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--electric);
  animation: thinking 1.2s ease-in-out infinite;
}

.agent-thinking span:nth-child(2) {
  animation-delay: 120ms;
}

.agent-thinking span:nth-child(3) {
  animation-delay: 240ms;
}

.agent-answer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: answerReveal 500ms ease 2.7s forwards;
}

.agent-answer p {
  margin: 0 0 17px;
  color: #a1a6c6;
  font-size: 10px;
  line-height: 1.65;
}

.agent-answer strong {
  color: var(--periwinkle);
}

.agent-evidence-link {
  padding: 0;
  color: var(--electric);
  font-size: 9px;
}

.scroll-cue {
  position: absolute;
  right: 26px;
  bottom: 126px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #71779f;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 52px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.scroll-line::after {
  display: block;
  width: 100%;
  height: 40%;
  content: '';
  background: var(--periwinkle);
  animation: scrollCue 2s ease-in-out infinite;
}

.signal-band {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090d29;
}

.signal-track {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 68px;
  animation: marquee 28s linear infinite;
}

.signal-track span {
  margin: 0 34px;
  color: #858baa;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.13em;
}

.signal-track i {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--violet);
  box-shadow: 0 0 14px rgba(113, 56, 255, 0.65);
}

.flow-section,
.intelligence-section,
.evidence-section,
.modes-section {
  position: relative;
  padding: 150px 0;
}

.flow-section {
  background: #07091d;
}

.section-transition {
  --transition-progress: 0;
  --transition-reveal: 100%;
  --transition-radius: 0%;
  --transition-line-scale: 0.15;
  --transition-axis-scale: 0.25;
  --transition-core-scale: 0.86;
  --aperture-outer-scale: 0.72;
  --aperture-mid-scale: 0.65;
  --aperture-inner-scale: 0.55;
  --aperture-outer-rotation: 0deg;
  --aperture-mid-rotation: 0deg;
  --aperture-inner-rotation: 0deg;
  --aperture-grid-rotation: 0deg;
  --proof-rail-y: -80px;
  --proof-rail-y-inverse: 430px;
  --proof-word-scale: 0.84;
  --proof-word-opacity: 0.18;
  --iris-outer-rotation: 0deg;
  --iris-inner-rotation: 0deg;
  --iris-core-scale: 0.72;
  position: relative;
  z-index: 3;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
}

.transition-aperture {
  display: grid;
  min-height: 360px;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #07091d;
}

.transition-aperture::before,
.transition-aperture::after {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42%;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, transparent, rgba(61, 80, 255, 0.5));
  transform: scaleX(var(--transition-line-scale));
  transform-origin: right;
}

.transition-aperture::before {
  left: 0;
}

.transition-aperture::after {
  right: 0;
  transform: scaleX(var(--transition-line-scale)) rotate(180deg);
}

.aperture-grid {
  position: absolute;
  inset: -35%;
  background-image:
    linear-gradient(rgba(61, 80, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 80, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, black, transparent 58%);
  transform: perspective(700px) rotateX(62deg) rotateZ(var(--aperture-grid-rotation));
  will-change: transform;
}

.aperture-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(96, 117, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(var(--aperture-mid-scale));
  will-change: transform;
}

.aperture-ring::before,
.aperture-ring::after {
  position: absolute;
  width: 7px;
  height: 7px;
  content: '';
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 16px var(--electric);
}

.aperture-ring::before {
  top: 12%;
  left: 10%;
}

.aperture-ring::after {
  right: 4%;
  bottom: 25%;
  background: var(--violet);
  box-shadow: 0 0 16px var(--violet);
}

.aperture-ring-outer {
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%) scale(var(--aperture-outer-scale))
    rotate(var(--aperture-outer-rotation));
}

.aperture-ring-mid {
  width: 218px;
  height: 218px;
  border-style: dashed;
  transform: translate(-50%, -50%) scale(var(--aperture-mid-scale))
    rotate(var(--aperture-mid-rotation));
}

.aperture-ring-inner {
  width: 132px;
  height: 132px;
  border-color: rgba(141, 155, 255, 0.28);
  transform: translate(-50%, -50%) scale(var(--aperture-inner-scale))
    rotate(var(--aperture-inner-rotation));
}

.aperture-axis {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  background: rgba(141, 155, 255, 0.12);
}

.aperture-axis-horizontal {
  width: min(720px, 82vw);
  height: 1px;
  transform: translate(-50%, -50%) scaleX(var(--transition-axis-scale));
}

.aperture-axis-vertical {
  width: 1px;
  height: 310px;
  transform: translate(-50%, -50%) scaleY(var(--transition-axis-scale));
}

.aperture-core {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 142px;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(141, 155, 255, 0.28);
  background: rgba(7, 9, 29, 0.86);
  box-shadow: 0 0 65px rgba(61, 80, 255, 0.16);
  color: #cfd3e9;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
  transform: scale(var(--transition-core-scale));
  will-change: transform;
}

.aperture-core i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), var(--periwinkle));
}

.transition-aperture > p,
.transition-iris > p {
  position: absolute;
  bottom: 24px;
  z-index: 4;
  margin: 0;
  color: #6c7298;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.transition-proof {
  min-height: 390px;
  background: #050619;
}

.proof-light-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #f0f1ff;
  clip-path: inset(var(--transition-reveal) 0 0 0);
  will-change: clip-path;
}

.proof-light-field::before {
  position: absolute;
  inset: 0;
  content: '';
  background-image:
    linear-gradient(rgba(11, 13, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 13, 38, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
}

.proof-rails {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.proof-rails i {
  position: relative;
  border-left: 1px solid rgba(132, 139, 180, 0.12);
}

.proof-rails i::after {
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 74px;
  content: '';
  background: linear-gradient(to bottom, transparent, var(--periwinkle), transparent);
  transform: translateY(var(--proof-rail-y));
  box-shadow: 0 0 12px rgba(141, 155, 255, 0.45);
}

.proof-rails i:nth-child(2n)::after {
  transform: translateY(var(--proof-rail-y-inverse));
  background: linear-gradient(to bottom, transparent, var(--brand), transparent);
}

.proof-word {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 100%;
  transform: translate(-50%, -52%) scale(var(--proof-word-scale));
  color: #f2f3ff;
  font-size: clamp(74px, 15vw, 220px);
  font-weight: 720;
  line-height: 0.8;
  text-align: center;
  mix-blend-mode: difference;
  opacity: var(--proof-word-opacity);
  will-change: transform, opacity;
}

.proof-caption {
  position: absolute;
  right: 0;
  bottom: 26px;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #787ea3;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-caption i {
  width: 42px;
  height: 1px;
  background: currentColor;
  transform: scaleX(var(--transition-line-scale));
}

.transition-iris {
  display: grid;
  min-height: 390px;
  place-items: center;
  background: #f0f1ff;
}

.iris-dark-field {
  position: absolute;
  inset: -1px;
  z-index: 1;
  overflow: hidden;
  background: #07091d;
  clip-path: circle(var(--transition-radius) at 50% 50%);
  will-change: clip-path;
}

.iris-dark-field::before,
.iris-dark-field::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  transform: translate(-50%, -50%);
  border: 1px solid rgba(61, 80, 255, 0.12);
  border-radius: 50%;
}

.iris-dark-field::before {
  width: 520px;
  height: 520px;
}

.iris-dark-field::after {
  width: 270px;
  height: 270px;
}

.iris-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(141, 155, 255, 0.22);
  border-radius: 50%;
}

.iris-orbit-outer {
  width: 350px;
  height: 350px;
  transform: translate(-50%, -50%) rotate(var(--iris-outer-rotation));
}

.iris-orbit-inner {
  width: 205px;
  height: 205px;
  transform: translate(-50%, -50%) rotate(var(--iris-inner-rotation));
}

.iris-label {
  position: absolute;
  z-index: 2;
  color: #8e94b8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.iris-label-local {
  top: 50%;
  left: calc(50% - 235px);
}

.iris-label-hybrid {
  top: calc(50% - 150px);
  left: 50%;
  color: var(--periwinkle);
  transform: translateX(-50%);
}

.iris-label-cloud {
  top: 50%;
  right: calc(50% - 240px);
}

.iris-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 118px;
  height: 118px;
  transform: translate(-50%, -50%) scale(var(--iris-core-scale));
  place-content: center;
  border: 1px solid rgba(141, 155, 255, 0.32);
  border-radius: 50%;
  background: #0c1133;
  box-shadow: 0 0 70px rgba(141, 155, 255, 0.11);
  text-align: center;
}

.iris-core span {
  color: #777eaa;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.iris-core strong {
  margin-top: 4px;
  color: var(--periwinkle);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.transition-iris > p {
  color: #71779f;
}

.section-heading,
.flow-stage,
.evidence-layout,
.mode-switcher {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  align-items: end;
  column-gap: 64px;
}

.section-heading .section-index {
  grid-column: 1 / -1;
  margin-bottom: 22px;
}

.section-heading h2,
.evidence-copy h2,
.closing-copy h2 {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 570;
  line-height: 1.08;
}

#flow-title {
  font-size: clamp(42px, 5vw, 68px);
}

.section-heading > p:last-child,
.evidence-copy > p,
.closing-copy > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.flow-stage {
  position: relative;
  margin-top: 100px;
}

.flow-line {
  position: absolute;
  top: 0;
  left: 92px;
  width: 1px;
  height: 100%;
  overflow: hidden;
  background: var(--line);
}

.flow-line span {
  display: block;
  width: 100%;
  height: var(--flow-progress, 0%);
  background: linear-gradient(to bottom, var(--periwinkle), var(--electric), var(--violet));
  box-shadow: 0 0 18px var(--periwinkle);
}

.flow-step {
  display: grid;
  grid-template-columns: 185px minmax(340px, 0.9fr) minmax(280px, 0.66fr);
  align-items: center;
  gap: 70px;
  min-height: 470px;
  border-top: 1px solid var(--line);
}

.flow-step:last-child {
  border-bottom: 1px solid var(--line);
}

.flow-step-meta span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: 73px;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: #07091d;
  color: var(--periwinkle);
  font-size: 10px;
}

.flow-step-meta p {
  margin: 18px 0 0 54px;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-visual {
  position: relative;
  min-height: 330px;
}

.source-visual {
  display: grid;
  place-items: center;
  perspective: 900px;
}

.source-sheet {
  position: absolute;
  width: 242px;
  height: 278px;
  border: 1px solid var(--line-strong);
  background: #0c1031;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.sheet-back {
  transform: translateX(-54px) rotateY(17deg) rotateZ(-7deg);
  opacity: 0.45;
}

.sheet-mid {
  transform: translateX(48px) rotateY(-17deg) rotateZ(6deg);
  opacity: 0.6;
}

.sheet-front {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 52px 24px 24px;
  transform: translateZ(38px);
}

.sheet-front::before {
  position: absolute;
  top: 22px;
  left: 24px;
  width: 48px;
  height: 6px;
  content: '';
  background: var(--periwinkle);
  box-shadow: 0 0 16px rgba(141, 155, 255, 0.4);
}

.sheet-front span {
  min-height: 38px;
  border: 1px solid rgba(235, 237, 255, 0.08);
  animation: cellPulse 3s ease-in-out infinite;
}

.sheet-front span:nth-child(2n) {
  animation-delay: 400ms;
}

.file-orbit {
  position: absolute;
  display: grid;
  width: 50px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: #111641;
  color: #afb4d1;
  font-size: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.file-orbit-one {
  top: 30px;
  left: 7%;
  animation: floatOne 4.5s ease-in-out infinite;
}

.file-orbit-two {
  right: 4%;
  bottom: 58px;
  animation: floatTwo 5s ease-in-out infinite;
}

.file-orbit-three {
  bottom: 18px;
  left: 22%;
  border-color: rgba(113, 56, 255, 0.36);
  animation: floatOne 5.6s ease-in-out 1s infinite;
}

.transform-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-image:
    linear-gradient(rgba(141, 155, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 155, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.transform-column {
  display: grid;
  gap: 7px;
  width: 104px;
}

.transform-column i {
  display: block;
  height: 15px;
  background: rgba(183, 188, 224, 0.11);
  animation: rowStream 2.8s ease-in-out infinite;
}

.transform-column i:nth-child(2n) {
  width: 74%;
  animation-delay: 180ms;
}

.transform-column i.bad {
  width: 90%;
  background: rgba(113, 56, 255, 0.48);
}

.clean-column i {
  background: rgba(141, 155, 255, 0.2);
}

.transform-core {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(141, 155, 255, 0.4);
  border-radius: 50%;
  background: #0f143a;
  box-shadow:
    0 0 0 12px rgba(141, 155, 255, 0.03),
    0 0 40px rgba(141, 155, 255, 0.08);
}

.transform-core span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--periwinkle);
  color: #070a22;
}

.scan-line {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--electric);
  box-shadow: 0 0 20px 2px rgba(96, 117, 255, 0.45);
  animation: scan 3.8s ease-in-out infinite;
}

.insight-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.mini-kpi,
.mini-bars,
.mini-donut {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #0c1031;
}

.mini-kpi {
  grid-column: 1 / -1;
  justify-items: start;
  padding: 30px;
}

.mini-kpi span {
  color: var(--periwinkle);
  font-size: 36px;
}

.mini-kpi i {
  position: absolute;
  right: 28px;
  bottom: 33px;
  left: 28px;
  height: 44px;
  border-bottom: 1px solid rgba(141, 155, 255, 0.22);
  clip-path: polygon(
    0 80%,
    14% 58%,
    28% 68%,
    43% 28%,
    57% 45%,
    71% 15%,
    84% 32%,
    100% 0,
    100% 100%,
    0 100%
  );
  background: linear-gradient(
    90deg,
    rgba(85, 214, 255, 0.16),
    rgba(141, 155, 255, 0.2),
    rgba(212, 92, 255, 0.16)
  );
  transition:
    filter 300ms ease,
    transform 300ms ease;
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 9px;
  padding: 28px;
}

.mini-bars i {
  width: 11px;
  height: var(--bar-height, 50%);
  transform-origin: bottom;
  background: linear-gradient(180deg, var(--bar-color, var(--aqua)), rgba(61, 80, 255, 0.54));
  box-shadow: 0 0 14px color-mix(in srgb, var(--bar-color, var(--aqua)) 34%, transparent);
  animation: barBreathe 3s ease-in-out infinite;
}

.mini-bars i:nth-child(1) {
  --bar-height: 30%;
  --bar-color: var(--aqua);
}
.mini-bars i:nth-child(2) {
  --bar-height: 52%;
  --bar-color: var(--periwinkle);
  animation-delay: 140ms;
}
.mini-bars i:nth-child(3) {
  --bar-height: 43%;
  --bar-color: var(--electric);
  animation-delay: 280ms;
}
.mini-bars i:nth-child(4) {
  --bar-height: 74%;
  --bar-color: var(--violet);
  animation-delay: 420ms;
}
.mini-bars i:nth-child(5) {
  --bar-height: 92%;
  --bar-color: var(--magenta);
  animation-delay: 560ms;
}

.mini-donut::before {
  width: 84px;
  height: 84px;
  content: '';
  border-radius: 50%;
  background: conic-gradient(
    var(--aqua) 0 24%,
    var(--periwinkle) 24% 48%,
    var(--violet) 48% 65%,
    var(--magenta) 65% 76%,
    rgba(255, 255, 255, 0.08) 76%
  );
  mask: radial-gradient(circle, transparent 48%, black 50%);
  animation: donutSpin 8s linear infinite;
}

.mini-donut span {
  position: absolute;
  font-size: 18px;
}

.fresh-pulse {
  position: absolute;
  top: 20px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--periwinkle);
  font-size: 8px;
}

.fresh-pulse i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--periwinkle);
  box-shadow: 0 0 10px var(--periwinkle);
}

.flow-step-copy h3 {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 560;
}

.flow-step-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.intelligence-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #050619;
}

.intelligence-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 960px;
  height: 960px;
  transform: translate(-50%, -50%);
  opacity: 0.44;
  pointer-events: none;
}

.orbit {
  position: absolute;
  inset: var(--orbit-inset);
  border: 1px solid rgba(96, 117, 255, 0.1);
  border-radius: 50%;
}

.orbit::after {
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  content: '';
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 14px var(--electric);
}

.orbit-one {
  --orbit-inset: 60px;
  animation: orbitSpin 28s linear infinite;
}
.orbit-two {
  --orbit-inset: 190px;
  animation: orbitSpin 19s linear reverse infinite;
}
.orbit-three {
  --orbit-inset: 320px;
  animation: orbitSpin 12s linear infinite;
}

.section-heading.centered {
  position: relative;
  display: block;
  text-align: center;
}

.section-heading.centered .section-index {
  margin-bottom: 24px;
}

.prompt-experience {
  position: relative;
  width: min(980px, calc(100vw - 48px));
  margin: 76px auto 0;
  border: 1px solid var(--line-strong);
  background: rgba(8, 10, 31, 0.82);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.prompt-input-row {
  min-height: 88px;
  gap: 18px;
  padding: 0 20px 0 28px;
  border-bottom: 1px solid var(--line);
}

.prompt-input-row p {
  flex: 1;
  margin: 0;
  color: #e5e7fa;
  font-size: 15px;
}

.prompt-input-row button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  background: var(--periwinkle);
  color: #07091c;
  font-size: 20px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.prompt-input-row button:hover {
  transform: translateY(-2px);
  background: var(--violet-soft);
}

.reasoning-path {
  display: grid;
  grid-template-columns: 1fr 55px 1fr 55px 1fr 55px 1fr;
  align-items: center;
  min-height: 240px;
  padding: 34px 28px;
}

.reasoning-node {
  min-height: 138px;
  padding: 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  opacity: 0.45;
  transition:
    border-color 350ms ease,
    opacity 350ms ease,
    transform 350ms ease;
}

.reasoning-node.active {
  border-color: rgba(96, 117, 255, 0.58);
  opacity: 1;
  transform: translateY(-5px);
  box-shadow: 0 10px 38px rgba(96, 117, 255, 0.07);
}

.reasoning-node.complete {
  border-color: rgba(141, 155, 255, 0.3);
  opacity: 1;
}

.reasoning-node > span {
  color: var(--electric);
  font-size: 9px;
}

.reasoning-node strong {
  display: block;
  margin-top: 32px;
  font-size: 11px;
  text-wrap: balance;
}

.reasoning-node p {
  margin: 7px 0 0;
  color: var(--dim);
  font-size: 9px;
  line-height: 1.5;
}

.result-node > span {
  color: var(--violet);
}

.reasoning-connector {
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.reasoning-connector i {
  display: block;
  width: 45%;
  height: 100%;
  transform: translateX(-100%);
  background: var(--electric);
  box-shadow: 0 0 12px var(--electric);
}

.prompt-experience.running .reasoning-connector i {
  animation: connectorRun 1.1s linear infinite;
}

.prompt-footnote {
  min-height: 56px;
  padding: 0 28px;
  border-top: 1px solid var(--line);
  color: #6b7298;
  font-size: 9px;
}

.verified-icon {
  display: inline-grid;
  width: 17px;
  height: 17px;
  margin-right: 7px;
  place-items: center;
  border-radius: 50%;
  background: rgba(141, 155, 255, 0.12);
  color: var(--periwinkle);
  font-style: normal;
}

.prompt-footnote strong {
  color: #bcc1dd;
  font-weight: 550;
}

.evidence-section {
  background: #f0f1ff;
  color: #0b0d26;
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(600px, 1.25fr);
  align-items: center;
  gap: 80px;
}

.evidence-copy .section-index {
  color: #3448d9;
}

.evidence-copy h2 {
  margin: 24px 0 28px;
  font-size: clamp(40px, 4.5vw, 64px);
}

.evidence-copy > p {
  color: #62698e;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  margin-top: 32px;
  padding-bottom: 7px;
  border-bottom: 1px solid #959bb9;
  font-size: 13px;
  font-weight: 650;
}

.lineage-map {
  position: relative;
  min-height: 600px;
  border: 1px solid rgba(11, 13, 38, 0.12);
  background-image:
    linear-gradient(rgba(11, 13, 38, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 13, 38, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
}

.lineage-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lineage-lines path {
  fill: none;
  stroke: rgba(52, 72, 217, 0.45);
  stroke-dasharray: 6 7;
  stroke-width: 1.4;
  animation: lineageFlow 1.4s linear infinite;
}

.lineage-lines path:nth-child(3n + 1) {
  stroke: rgba(61, 80, 255, 0.54);
}
.lineage-lines path:nth-child(3n + 2) {
  stroke: rgba(113, 56, 255, 0.48);
}
.lineage-lines path:nth-child(3n) {
  stroke: rgba(212, 92, 255, 0.42);
}

.lineage-node {
  --node-scale: 1;
  position: absolute;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  width: 170px;
  min-height: 68px;
  padding: 12px;
  border: 1px solid rgba(11, 13, 38, 0.16);
  background: rgba(249, 249, 255, 0.93);
  box-shadow: 0 14px 40px rgba(18, 22, 66, 0.07);
  transform: scale(var(--node-scale));
  animation: lineageFloat 4.5s ease-in-out infinite;
}

.lineage-node > span {
  grid-row: 1 / 3;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  background: #e1e4f8;
  color: #3448d9;
  font-size: 8px;
  font-weight: 750;
}

.lineage-node strong {
  font-size: 10px;
  font-weight: 700;
  text-wrap: balance;
}

.lineage-node small {
  margin-top: 4px;
  color: #767c9f;
  font-size: 8px;
}

.node-source {
  left: 18px;
}
.node-a {
  top: 62px;
}
.node-b {
  top: 264px;
  animation-delay: 500ms;
}
.node-c {
  top: 458px;
  animation-delay: 1s;
}
.node-dataset {
  left: 238px;
}
.node-d {
  top: 184px;
  animation-delay: 1.2s;
}
.node-e {
  top: 355px;
  animation-delay: 700ms;
}
.node-metric {
  left: 448px;
}
.node-f {
  top: 87px;
  animation-delay: 900ms;
}
.node-g {
  top: 443px;
  animation-delay: 1.5s;
}
.node-output {
  top: 240px;
  right: 8px;
  width: 160px;
  border-color: rgba(113, 56, 255, 0.45);
}

.node-output > span {
  background: #eee5ff;
  color: #7028b5;
}

.modes-section {
  background: #07091d;
}

.modes-section .section-heading {
  display: block;
}

.mode-switcher {
  margin-top: 68px;
}

.segmented-control {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 420px;
  padding: 4px;
  border: 1px solid var(--line);
  background: #0a0e2b;
}

.segmented-control button {
  position: relative;
  z-index: 2;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777eaa;
  font-size: 12px;
  cursor: pointer;
  transition: color 250ms ease;
}

.segmented-control button.active {
  color: #07091d;
}

.segment-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  z-index: 1;
  width: calc((100% - 8px) / 3);
  transform: translateX(var(--segment-index, 100%));
  background: var(--periwinkle);
  transition:
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1),
    background 350ms ease;
}

.mode-stage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
  min-height: 580px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.mode-label {
  color: var(--periwinkle);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mode-copy h3 {
  margin: 20px 0;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 560;
  line-height: 1.12;
}

.mode-copy > p:not(.mode-label) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.mode-stat-row {
  justify-content: flex-start;
  gap: 28px;
  margin-top: 34px;
  color: #747a9f;
  font-size: 9px;
}

.mode-stat-row strong {
  display: block;
  margin-bottom: 4px;
  color: #dde0f2;
  font-size: 16px;
  font-weight: 580;
}

.mode-visual {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-image:
    linear-gradient(rgba(141, 155, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 155, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.mode-visual::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  content: '';
  transform: translate(-50%, -50%);
  border: 1px solid rgba(141, 155, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(141, 155, 255, 0.025),
    0 0 0 130px rgba(141, 155, 255, 0.018);
}

.device,
.data-vault {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #949ab9;
  font-size: 9px;
}

.device-local {
  top: 48%;
  left: 9%;
}

.device-cloud {
  top: 48%;
  right: 8%;
}

.device-screen {
  display: flex;
  align-items: end;
  gap: 6px;
  width: 84px;
  height: 58px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  background: #0e1338;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.38);
}

.device-screen i {
  width: 12px;
  height: 46%;
  background: var(--electric);
}

.device-screen i:nth-child(2) {
  height: 76%;
}
.device-screen i:nth-child(3) {
  height: 100%;
}

.cloud-shape {
  position: relative;
  width: 84px;
  height: 45px;
  margin-top: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 44px;
  background: #0e1338;
}

.cloud-shape::before,
.cloud-shape::after {
  position: absolute;
  content: '';
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: #0e1338;
}

.cloud-shape::before {
  top: -25px;
  left: 20px;
  width: 39px;
  height: 34px;
}

.cloud-shape::after {
  top: -15px;
  left: 7px;
  width: 28px;
  height: 22px;
}

.data-vault {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vault-core {
  display: grid;
  width: 102px;
  height: 102px;
  place-items: center;
  border: 1px solid rgba(141, 155, 255, 0.42);
  border-radius: 50%;
  background: #0e1439;
  box-shadow:
    0 0 0 12px rgba(141, 155, 255, 0.035),
    0 0 70px rgba(141, 155, 255, 0.11);
}

.vault-core::after {
  width: 34px;
  height: 42px;
  content: '';
  border: 1px solid var(--periwinkle);
  border-radius: 3px 3px 15px 15px;
  background: rgba(141, 155, 255, 0.08);
  box-shadow: inset 0 0 18px rgba(141, 155, 255, 0.13);
}

.transfer-path {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 22%;
  height: 1px;
  background: var(--line);
}

.path-one {
  left: 23%;
}
.path-two {
  right: 22%;
}

.transfer-path i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--periwinkle);
  box-shadow: 0 0 10px var(--periwinkle);
  animation: packetTravel 1.8s linear infinite;
}

.transfer-path i:nth-child(2) {
  animation-delay: 600ms;
}
.transfer-path i:nth-child(3) {
  animation-delay: 1.2s;
}

.projection-packet {
  position: absolute;
  top: 33%;
  right: 23%;
  z-index: 4;
  padding: 7px 9px;
  border: 1px solid rgba(96, 117, 255, 0.3);
  background: #0d1235;
  color: var(--electric);
  font-size: 8px;
  animation: projectionFloat 3s ease-in-out infinite;
}

.mode-stage[data-mode-stage='local'] .path-two,
.mode-stage[data-mode-stage='local'] .device-cloud,
.mode-stage[data-mode-stage='local'] .projection-packet {
  opacity: 0.14;
}

.mode-stage[data-mode-stage='cloud'] .device-local {
  opacity: 0.22;
}

.mode-stage[data-mode-stage='cloud'] .projection-packet {
  color: var(--violet);
  border-color: rgba(113, 56, 255, 0.3);
}

.closing-section {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  place-items: center;
  background: #040514;
  text-align: center;
}

.closing-grid {
  mask-image: radial-gradient(circle, black, transparent 70%);
  opacity: 0.55;
}

.closing-copy {
  position: relative;
  z-index: 3;
  width: min(900px, calc(100vw - 48px));
}

.closing-copy h2 {
  margin-inline: auto;
}

.closing-brand-mark {
  width: 68px;
  height: 68px;
  margin-bottom: 25px;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(61, 80, 255, 0.3));
}

.closing-copy .section-index {
  margin-bottom: 26px;
}

.closing-copy > p {
  margin: 26px auto 36px;
}

.feedback-section {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  background: #f0f1ff;
  color: #0b0d26;
}

.feedback-section::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, transparent, rgba(61, 80, 255, 0.72), transparent);
  box-shadow: 0 0 24px rgba(61, 80, 255, 0.22);
}

.feedback-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(590px, 1.18fr);
  align-items: start;
  gap: 72px;
  width: var(--content);
  margin: 0 auto;
}

.feedback-intro {
  position: sticky;
  top: 112px;
}

.feedback-brand,
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.feedback-brand {
  margin-bottom: 64px;
  font-size: 13px;
  font-weight: 750;
}

.feedback-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.feedback-intro .section-index {
  color: #2f42e8;
}

.feedback-intro h2 {
  margin: 23px 0 27px;
  font-size: clamp(40px, 4vw, 52px);
  font-weight: 570;
  line-height: 1.08;
}

.feedback-intro > p {
  margin: 0;
  color: #62698e;
  font-size: 14px;
  line-height: 1.85;
}

.feedback-promise {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px 13px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(11, 13, 38, 0.14);
}

.feedback-promise span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(47, 66, 232, 0.3);
  color: #2f42e8;
  font-size: 8px;
  font-weight: 750;
}

.feedback-promise p {
  margin: 4px 0 0;
  color: #6b7196;
  font-size: 11px;
  line-height: 1.6;
}

.feedback-form {
  padding: 34px;
  border: 1px solid rgba(11, 13, 38, 0.17);
  background: rgba(248, 248, 255, 0.86);
  box-shadow: 0 32px 80px rgba(34, 39, 91, 0.08);
}

.form-heading,
.form-footer,
.form-status-mark {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-heading {
  min-height: 48px;
  margin-bottom: 32px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(11, 13, 38, 0.12);
}

.form-heading p {
  margin: 0;
  font-size: 17px;
  font-weight: 720;
}

.form-heading > div span,
.form-status-mark {
  color: #797fa4;
  font-size: 9px;
}

.form-heading > div span {
  display: block;
  margin-top: 5px;
}

.form-status-mark {
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(11, 13, 38, 0.12);
  text-transform: uppercase;
}

.form-status-mark i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3d50ff;
  box-shadow: 0 0 9px rgba(61, 80, 255, 0.45);
}

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

.form-grid-feedback {
  align-items: end;
  margin-top: 24px;
}

.form-field {
  position: relative;
  display: grid;
  gap: 9px;
  color: #343a5c;
  font-size: 10px;
  font-weight: 680;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(11, 13, 38, 0.17);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.75);
  color: #0b0d26;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.form-field input,
.form-field select {
  height: 50px;
  padding: 0 13px;
}

.form-field textarea {
  min-height: 170px;
  padding: 14px 46px 34px 14px;
  line-height: 1.65;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #999fbd;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #2f42e8;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47, 66, 232, 0.1);
}

.feedback-form.was-validated input:invalid,
.feedback-form.was-validated select:invalid,
.feedback-form.was-validated textarea:invalid {
  border-color: #7d35c5;
  box-shadow: 0 0 0 3px rgba(125, 53, 197, 0.08);
}

.form-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-fieldset legend {
  margin-bottom: 10px;
  color: #343a5c;
  font-size: 10px;
  font-weight: 680;
}

.experience-fieldset {
  margin-top: 24px;
}

.choice-grid,
.rating-options {
  display: grid;
  gap: 7px;
}

.choice-grid {
  grid-template-columns: repeat(3, 1fr);
}

.choice-grid label,
.rating-options label {
  position: relative;
  cursor: pointer;
}

.choice-grid input,
.rating-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-grid label > span,
.rating-options label > span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(11, 13, 38, 0.15);
  background: rgba(255, 255, 255, 0.5);
  color: #6b7197;
  font-size: 10px;
  font-weight: 620;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.choice-grid label:hover > span,
.rating-options label:hover > span {
  border-color: rgba(47, 66, 232, 0.45);
  transform: translateY(-2px);
}

.choice-grid input:focus-visible + span,
.rating-options input:focus-visible + span {
  outline: 2px solid #2f42e8;
  outline-offset: 2px;
}

.choice-grid input:checked + span,
.rating-options input:checked + span {
  border-color: #2f42e8;
  background: #2f42e8;
  color: #ffffff;
}

.rating-options {
  grid-template-columns: repeat(5, 1fr);
}

.rating-options label > span {
  min-height: 50px;
  font-variant-numeric: tabular-nums;
}

.message-field {
  margin-top: 24px;
}

.character-count {
  position: absolute;
  right: 13px;
  bottom: 12px;
  color: #9298b6;
  font-size: 8px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

.character-count strong {
  color: #2f42e8;
  font-weight: 700;
}

.contact-consent {
  display: grid;
  grid-template-columns: 17px 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 22px;
  color: #666c91;
  font-size: 10px;
  line-height: 1.55;
  cursor: pointer;
}

.contact-consent input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #2f42e8;
}

.form-footer {
  gap: 24px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(11, 13, 38, 0.12);
}

.form-footer p {
  max-width: 280px;
  margin: 0;
  color: #8086a5;
  font-size: 9px;
  line-height: 1.55;
}

.form-footer .button {
  min-width: 176px;
  border: 0;
  cursor: pointer;
}

.form-footer .button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.feedback-form-status {
  min-height: 20px;
  margin: 18px 0 0;
  color: #2f42e8;
  font-size: 10px;
  line-height: 1.5;
}

.feedback-form-status.error {
  color: #7b2ebc;
}

.feedback-form-status.success {
  color: #3448d9;
}

.site-footer {
  padding: 0 max(24px, calc((100vw - 1220px) / 2));
  border-top: 1px solid var(--line);
  background: #040514;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 96px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-wordmark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.site-footer p,
.site-footer a {
  color: #70769a;
  font-size: 10px;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: #9ca8ff;
}

.footer-top-link {
  justify-self: end;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
}

.interactive-surface {
  --surface-color: 85, 214, 255;
  --surface-x: 50%;
  --surface-y: 50%;
  position: relative;
  isolation: isolate;
}

.surface-glow {
  position: absolute;
  inset: 0;
  z-index: 7;
  content: '';
  background: radial-gradient(
    circle 190px at var(--surface-x) var(--surface-y),
    rgba(var(--surface-color), 0.14),
    transparent 72%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.metric-card:nth-child(2),
.reasoning-node:nth-child(3n + 2),
.lineage-node:nth-of-type(3n + 2) {
  --surface-color: 141, 155, 255;
}

.metric-card:nth-child(3),
.reasoning-node:nth-child(3n),
.lineage-node:nth-of-type(3n) {
  --surface-color: 212, 92, 255;
}

.feedback-form,
.lineage-node {
  --surface-color: 61, 80, 255;
}

.heading-clause {
  transition:
    color 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-nav a {
  position: relative;
  padding: 9px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, var(--aqua), var(--periwinkle), var(--magenta));
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button::after {
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -55%;
  z-index: 1;
  width: 30%;
  content: '';
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button-icon,
.header-cta span:last-child {
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.flow-step,
.flow-visual,
.flow-step-meta span,
.flow-step-copy h3,
.mode-visual,
.device,
.data-vault,
.mini-kpi span {
  transition:
    border-color 300ms ease,
    box-shadow 300ms ease,
    color 300ms ease,
    filter 300ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lineage-node {
  transition:
    border-color 280ms ease,
    box-shadow 280ms ease,
    filter 280ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .interactive-surface:hover > .surface-glow {
    opacity: 1;
  }

  .desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .button:hover::after {
    left: 130%;
  }
  .button:hover .button-icon {
    transform: translate(3px, -3px) rotate(-8deg);
  }
  .closing-copy .button:hover .button-icon {
    transform: translateY(4px);
  }
  .header-cta:hover span:last-child {
    transform: translate(3px, -3px);
  }

  .metric-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--card-accent) 54%, transparent);
    box-shadow: 0 18px 38px color-mix(in srgb, var(--card-accent) 12%, transparent);
  }

  .metric-card:hover strong {
    color: var(--card-accent);
    transform: translateX(3px);
  }

  .chart-panel:hover .chart-line-primary {
    filter: drop-shadow(0 0 12px rgba(85, 214, 255, 0.62));
  }
  .chart-panel:hover .chart-line-comparison {
    opacity: 0.9;
  }
  .chart-panel:hover .chart-points circle {
    animation-duration: 1.5s;
  }

  .flow-step:hover .flow-visual {
    transform: translateY(-7px) scale(1.012);
    filter: saturate(1.16);
  }

  .flow-step:hover .flow-step-meta span {
    transform: rotate(6deg) scale(1.08);
    border-color: rgba(85, 214, 255, 0.55);
    box-shadow: 0 0 26px rgba(85, 214, 255, 0.14);
  }

  .flow-step:hover .flow-step-copy h3 {
    color: var(--aqua);
  }
  .flow-step:hover .file-orbit {
    border-color: rgba(212, 92, 255, 0.5);
  }
  .flow-step:hover .mini-kpi span {
    transform: translateX(5px);
    color: var(--aqua);
  }
  .flow-step:hover .mini-kpi i {
    transform: translateY(-3px);
    filter: saturate(1.5) brightness(1.15);
  }
  .flow-step:hover .mini-bars i {
    animation-duration: 1.35s;
  }
  .flow-step:hover .mini-donut::before {
    animation-duration: 3s;
  }

  .reasoning-node:hover {
    opacity: 1;
    transform: translateY(-7px);
    border-color: rgba(85, 214, 255, 0.46);
    box-shadow: 0 16px 40px rgba(61, 80, 255, 0.12);
  }

  .lineage-node:hover {
    --node-scale: 1.08;
    z-index: 9;
    border-color: rgba(61, 80, 255, 0.62);
    box-shadow: 0 22px 54px rgba(61, 80, 255, 0.2);
    filter: saturate(1.25);
    animation-play-state: paused;
  }

  .segmented-control button:hover:not(.active) {
    color: var(--aqua);
  }
  .mode-visual:hover {
    border-color: rgba(141, 155, 255, 0.32);
  }
  .mode-visual:hover .device-local {
    transform: translateX(-8px);
  }
  .mode-visual:hover .device-cloud {
    transform: translateX(8px);
  }
  .mode-visual:hover .data-vault {
    filter: drop-shadow(0 0 18px rgba(212, 92, 255, 0.34));
  }
  .mode-visual:hover .transfer-path i {
    animation-duration: 1.05s;
  }

  .feedback-form:hover {
    border-color: rgba(61, 80, 255, 0.28);
    box-shadow: 0 38px 92px rgba(61, 80, 255, 0.12);
  }

  :is(.section-heading, .evidence-copy, .closing-copy, .feedback-intro):hover
    .heading-clause:first-child {
    transform: translateX(7px);
  }

  :is(.section-heading, .evidence-copy, .closing-copy, .feedback-intro):hover
    .heading-clause:last-child {
    transform: translateX(-7px);
  }
}

.js .motion-region:not(.is-motion-active) * {
  animation-play-state: paused !important;
}

.js .reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 800ms ease,
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.hero-copy .reveal:nth-child(2) {
  transition-delay: 100ms;
}
.hero-copy .reveal:nth-child(3) {
  transition-delay: 180ms;
}
.hero-copy .reveal:nth-child(4) {
  transition-delay: 260ms;
}

@keyframes liveBlink {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes areaReveal {
  to {
    opacity: 1;
  }
}
@keyframes comparisonFlow {
  to {
    stroke-dashoffset: -30;
  }
}
@keyframes forecastFlow {
  to {
    stroke-dashoffset: -30;
  }
}
@keyframes chartPointPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.84);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}
@keyframes tooltipFloat {
  50% {
    transform: translateY(-6px);
  }
}
@keyframes thinking {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
@keyframes answerReveal {
  to {
    opacity: 1;
  }
}
@keyframes scrollCue {
  from {
    transform: translateY(-110%);
  }
  to {
    transform: translateY(250%);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes cellPulse {
  50% {
    background: rgba(141, 155, 255, 0.08);
    border-color: rgba(141, 155, 255, 0.18);
  }
}
@keyframes floatOne {
  50% {
    transform: translate(8px, -12px);
  }
}
@keyframes floatTwo {
  50% {
    transform: translate(-10px, 9px);
  }
}
@keyframes rowStream {
  50% {
    transform: translateX(7px);
    opacity: 0.62;
  }
}
@keyframes scan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  12%,
  88% {
    opacity: 1;
  }
  50% {
    transform: translateY(328px);
  }
}
@keyframes barBreathe {
  50% {
    transform: scaleY(0.82);
    opacity: 0.6;
  }
}
@keyframes donutSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes connectorRun {
  to {
    transform: translateX(250%);
  }
}
@keyframes lineageFlow {
  to {
    stroke-dashoffset: -26;
  }
}
@keyframes lineageFloat {
  0%,
  100% {
    transform: scale(var(--node-scale)) translateY(0);
  }
  50% {
    transform: scale(var(--node-scale)) translateY(-7px);
  }
}
@keyframes packetTravel {
  from {
    transform: translateX(-24px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  to {
    transform: translateX(24px);
    opacity: 0;
  }
}
@keyframes projectionFloat {
  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 1050px) {
  :root {
    --content: min(920px, calc(100vw - 40px));
  }

  .hero {
    min-height: 1110px;
  }
  .hero-product {
    top: 610px;
  }
  .workspace-body {
    min-height: 450px;
  }
  .dashboard-shell {
    padding: 24px;
  }
  .chart-panel,
  .agent-panel {
    min-height: 250px;
  }
  .flow-step {
    grid-template-columns: 115px minmax(300px, 0.95fr) minmax(240px, 0.7fr);
    gap: 35px;
  }
  .flow-line {
    left: 57px;
  }
  .flow-step-meta span {
    margin-left: 38px;
  }
  .flow-step-meta p {
    margin-left: 20px;
  }
  .evidence-layout {
    grid-template-columns: 1fr;
  }
  .lineage-map {
    width: 760px;
    max-width: 100%;
    margin: 0 auto;
  }
  .mode-stage {
    gap: 40px;
  }
  .feedback-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .feedback-intro {
    position: static;
    max-width: 620px;
  }
}

@media (max-width: 780px) {
  :root {
    --content: calc(100vw - 32px);
    --header-height: 64px;
  }

  .desktop-nav {
    display: none;
  }
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .header-cta {
    min-height: 34px;
  }
  .cursor-aura {
    display: none;
  }

  .hero {
    min-height: 1020px;
  }
  .hero-copy {
    padding-top: 125px;
  }
  .hero-title {
    font-size: clamp(50px, 16vw, 92px);
  }
  .hero-title-secondary {
    font-size: clamp(28px, 8.6vw, 52px);
    line-height: 1.02;
  }
  .hero-description {
    max-width: 560px;
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .button {
    width: min(290px, 100%);
  }
  .hero-product {
    top: 600px;
    width: calc(100vw - 24px);
  }
  .workspace-frame {
    transform: none;
  }
  .workspace-topbar {
    grid-template-columns: 1fr auto;
  }
  .workspace-status {
    display: none;
  }
  .workspace-body {
    grid-template-columns: 42px 1fr;
    min-height: 350px;
  }
  .workspace-sidebar {
    gap: 3px;
  }
  .sidebar-control {
    transform: scale(0.82);
  }
  .dashboard-shell {
    padding: 18px 14px;
  }
  .date-chip {
    display: none;
  }
  .metrics-grid {
    gap: 6px;
  }
  .metric-card {
    min-height: 82px;
    padding: 10px;
  }
  .metric-card strong {
    font-size: 14px;
  }
  .metric-trend {
    right: 9px;
    bottom: 8px;
    font-size: 7px;
  }
  .dashboard-main-grid {
    grid-template-columns: 1fr;
  }
  .chart-panel {
    min-height: 205px;
    padding: 12px;
  }
  .agent-panel {
    display: none;
  }
  .scroll-cue {
    display: none;
  }

  .transition-aperture,
  .transition-proof,
  .transition-iris {
    min-height: 290px;
  }
  .aperture-ring-outer {
    width: 244px;
    height: 244px;
  }
  .aperture-ring-mid {
    width: 178px;
    height: 178px;
  }
  .aperture-ring-inner {
    width: 108px;
    height: 108px;
  }
  .aperture-axis-vertical {
    height: 250px;
  }
  .transition-aperture > p,
  .transition-iris > p {
    bottom: 18px;
    font-size: 7px;
  }
  .proof-word {
    font-size: clamp(62px, 18vw, 118px);
  }
  .proof-caption {
    bottom: 18px;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px;
    font-size: 7px;
  }
  .proof-caption i {
    width: 18px;
  }
  .iris-dark-field::before {
    width: 390px;
    height: 390px;
  }
  .iris-dark-field::after {
    width: 210px;
    height: 210px;
  }
  .iris-orbit-outer {
    width: 280px;
    height: 280px;
  }
  .iris-orbit-inner {
    width: 168px;
    height: 168px;
  }
  .iris-label-local {
    left: calc(50% - 174px);
  }
  .iris-label-hybrid {
    top: calc(50% - 122px);
  }
  .iris-label-cloud {
    right: calc(50% - 180px);
  }
  .iris-core {
    width: 96px;
    height: 96px;
  }

  .flow-section,
  .intelligence-section,
  .evidence-section,
  .modes-section {
    padding: 100px 0;
  }
  .heading-clause {
    display: inline;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2,
  .evidence-copy h2,
  .closing-copy h2 {
    font-size: clamp(34px, 9.5vw, 56px);
  }
  .section-heading > p:last-child {
    margin-top: 26px;
  }
  .flow-stage {
    margin-top: 70px;
  }
  .flow-line {
    display: none;
  }
  .flow-step {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 52px 0;
  }
  .flow-step-meta {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .flow-step-meta span,
  .flow-step-meta p {
    margin: 0;
  }
  .flow-visual {
    min-height: 300px;
  }
  .flow-step-copy h3 {
    font-size: 24px;
  }

  .prompt-experience {
    margin-top: 52px;
  }
  .prompt-input-row {
    padding: 18px;
  }
  .prompt-input-row p {
    font-size: 13px;
    line-height: 1.6;
  }
  .reasoning-path {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }
  .reasoning-node {
    min-height: auto;
  }
  .reasoning-node strong {
    margin-top: 16px;
  }
  .reasoning-connector {
    width: 1px;
    height: 24px;
    margin-left: 20px;
  }
  .prompt-footnote {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 12px 22px;
  }
  .orbit {
    display: none;
  }

  .evidence-layout {
    gap: 60px;
  }
  .lineage-map {
    min-height: 520px;
    overflow: hidden;
  }
  .lineage-node {
    --node-scale: 0.8;
    transform-origin: left center;
  }
  .node-source {
    left: 4px;
  }
  .node-dataset {
    left: 32%;
  }
  .node-metric {
    left: 62%;
  }
  .node-output {
    right: -42px;
  }

  .segmented-control {
    width: 100%;
  }
  .mode-stage {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 54px;
  }
  .mode-visual {
    min-height: 390px;
  }
  .mode-stat-row {
    flex-wrap: wrap;
  }

  .closing-section {
    min-height: 650px;
  }
  .closing-brand-mark {
    width: 58px;
    height: 58px;
  }
  .feedback-section {
    padding: 100px 0;
  }
  .feedback-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }
  .feedback-intro {
    position: static;
    max-width: 620px;
  }
  .feedback-brand {
    margin-bottom: 42px;
  }
  .feedback-intro h2 {
    font-size: clamp(34px, 9.5vw, 56px);
  }
  .footer-main {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 26px 0;
  }
  .footer-contact {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer-top-link {
    grid-column: 2;
    grid-row: 1;
  }
  .footer-bottom {
    min-height: 52px;
  }
  .footer-bottom p:last-child {
    display: none;
  }
}

@media (max-width: 520px) {
  .header-cta span:first-child {
    display: none;
  }
  .header-cta {
    width: 36px;
    padding: 0;
    justify-content: center;
  }
  .eyebrow {
    justify-content: center;
    max-width: 100%;
    font-size: 8px;
    line-height: 1.45;
    white-space: normal;
  }
  .hero-title {
    font-size: clamp(50px, 14vw, 58px);
  }
  .hero-title-secondary {
    font-size: clamp(27px, 8vw, 36px);
  }
  .hero-description {
    max-width: 100%;
    font-size: 14px;
  }
  .hero {
    min-height: 940px;
  }
  .hero-product {
    top: 590px;
  }
  .workspace-body {
    min-height: 300px;
  }
  .workspace-topbar {
    height: 45px;
  }
  .dashboard-shell {
    padding: 13px 10px;
  }
  .dashboard-heading-row h2 {
    font-size: 15px;
  }
  .workspace-kicker {
    font-size: 7px;
  }
  .metric-card p {
    font-size: 7px;
  }
  .metric-card strong {
    font-size: 10px;
  }
  .metric-trend {
    font-size: 6px;
  }
  .chart-panel {
    min-height: 165px;
  }
  .chart-legend {
    display: none;
  }
  .chart-area {
    margin-top: 12px;
  }
  .chart-tooltip {
    display: none;
  }
  .transition-aperture,
  .transition-proof,
  .transition-iris {
    min-height: 250px;
  }
  .aperture-ring-outer {
    width: 214px;
    height: 214px;
  }
  .aperture-ring-mid {
    width: 154px;
    height: 154px;
  }
  .aperture-ring-inner {
    width: 92px;
    height: 92px;
  }
  .aperture-core {
    min-width: 124px;
    min-height: 40px;
    font-size: 8px;
  }
  .proof-word {
    font-size: 58px;
  }
  .proof-caption span:nth-of-type(2) {
    display: none;
  }
  .proof-caption i:nth-of-type(1) {
    display: none;
  }
  .iris-dark-field::before {
    width: 330px;
    height: 330px;
  }
  .iris-dark-field::after {
    width: 180px;
    height: 180px;
  }
  .iris-orbit-outer {
    width: 238px;
    height: 238px;
  }
  .iris-orbit-inner {
    width: 146px;
    height: 146px;
  }
  .iris-label-local {
    left: calc(50% - 145px);
  }
  .iris-label-hybrid {
    top: calc(50% - 105px);
  }
  .iris-label-cloud {
    right: calc(50% - 150px);
  }
  .feedback-form {
    padding: 22px 18px;
  }
  .form-heading {
    align-items: flex-start;
  }
  .form-status-mark {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .choice-grid label > span {
    min-height: 46px;
  }
  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .form-footer p {
    max-width: none;
  }
  .form-footer .button {
    width: 100%;
  }
  .footer-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
  .flow-visual {
    min-height: 260px;
  }
  .source-sheet {
    width: 190px;
    height: 230px;
  }
  .transform-visual {
    gap: 15px;
  }
  .transform-column {
    width: 72px;
  }
  .transform-core {
    width: 52px;
    height: 52px;
  }
  .mini-kpi span {
    font-size: 28px;
  }
  .lineage-map {
    min-height: 500px;
    margin-right: -16px;
    margin-left: -16px;
    max-width: none;
    width: calc(100% + 32px);
  }
  .lineage-lines {
    opacity: 0.45;
  }
  .lineage-node {
    width: 138px;
  }
  .node-dataset {
    left: 29%;
  }
  .node-metric {
    left: 56%;
  }
  .mode-visual {
    min-height: 340px;
  }
  .device-local {
    left: 4%;
  }
  .device-cloud {
    right: 3%;
  }
  .data-vault {
    transform: translate(-50%, -50%) scale(0.8);
  }
  .device-screen,
  .cloud-shape {
    transform: scale(0.78);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .cursor-aura {
    display: none;
  }
  .section-hover-field {
    display: none;
  }
  .surface-glow {
    display: none;
  }
  .transition-proof {
    background: linear-gradient(180deg, #050619, #f0f1ff);
  }
  .proof-light-field {
    display: none;
  }
  .proof-word {
    opacity: 0.38;
    transform: translate(-50%, -52%);
  }
  .transition-iris {
    background: linear-gradient(180deg, #f0f1ff, #07091d);
  }
  .iris-dark-field {
    clip-path: none;
    background: transparent;
  }
}

@media (hover: none), (pointer: coarse) {
  .section-hover-field {
    display: none;
  }
}

html:not(.js) .transition-proof {
  background: linear-gradient(180deg, #050619, #f0f1ff);
}

html:not(.js) .proof-light-field {
  display: none;
}

html:not(.js) .transition-iris {
  background: linear-gradient(180deg, #f0f1ff, #07091d);
}

html:not(.js) .iris-dark-field {
  clip-path: none;
  background: transparent;
}
