@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-vietnamese-wght-normal.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: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin-wght-normal.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: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/fraunces-vietnamese-wght-normal.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: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin-wght-italic.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: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/fraunces-vietnamese-wght-italic.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;
}

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #06090a;
  --bg-2: #0a100f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass-top: rgba(255, 255, 255, 0.065);
  --glass-bottom: rgba(255, 255, 255, 0.022);

  /* Text */
  --text: #edf2ef;
  --text-2: rgba(237, 242, 239, 0.74);
  --text-3: rgba(237, 242, 239, 0.6);

  /* Brand */
  --emerald: #3ddc97;
  --emerald-2: #1fb57a;
  --emerald-text: #6ee7b0;
  --amber: #f5b544;
  --amber-text: #f8c46a;
  --sky: #8fb8ff;
  --sky-text: #b9d0ff;
  --clay: #e07a5f;

  /* Semantic: what an agent may do */
  --suggest: var(--sky-text);
  --suggest-soft: rgba(143, 184, 255, 0.13);
  --answer: var(--emerald-text);
  --answer-soft: rgba(61, 220, 151, 0.13);
  --act: var(--amber-text);
  --act-soft: rgba(245, 181, 68, 0.14);
  --stop: #ff9b9b;
  --stop-soft: rgba(255, 107, 107, 0.14);

  /* Type */
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-hero: clamp(2.6rem, 1.3rem + 4vw, 4.35rem);
  --text-h2: clamp(2rem, 1.25rem + 2.6vw, 3.5rem);

  /* Space and shape */
  --space-section: clamp(5rem, 3.5rem + 6vw, 9rem);
  --r-xl: 26px;
  --r-lg: 18px;
  --r-md: 12px;
  --r-pill: 999px;
  --shadow-deep: 0 40px 90px -40px rgba(0, 0, 0, 0.95);

  /* Motion */
  --dur: 240ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body {
  position: relative;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
/* Fine film grain over the whole page */
body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
h3 { letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.accent {
  font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.02em;
  padding-right: 0.06em;
  color: var(--emerald);
  background: linear-gradient(100deg, var(--emerald) 10%, var(--amber) 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--answer-soft); color: var(--emerald-text); border: 1px solid rgba(61, 220, 151, 0.18); }

/* Glass surfaces */
.glass {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.glass--glow {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(22, 32, 29, 0.92), rgba(11, 17, 16, 0.92)) padding-box,
    linear-gradient(135deg, rgba(61, 220, 151, 0.65), rgba(255, 255, 255, 0.06) 38%, rgba(255, 255, 255, 0.06) 62%, rgba(245, 181, 68, 0.6)) border-box;
  box-shadow: var(--shadow-deep), 0 30px 120px -50px rgba(61, 220, 151, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-md);
  background: var(--text); color: var(--bg);
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 9, 10, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.brand-mark { fill: var(--emerald); filter: drop-shadow(0 0 10px rgba(61, 220, 151, 0.45)); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-link { position: relative; font-size: 0.93rem; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color var(--dur) var(--ease); }
.nav-link:hover { color: var(--text); }
.lang-switch { font-size: 0.9rem; font-weight: 600; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); }
@media (max-width: 900px) { .nav-link { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.95em 1.5em; border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform var(--dur) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary {
  background: linear-gradient(180deg, #5eeaae, var(--emerald-2));
  color: #03140d;
  box-shadow: 0 0 0 1px rgba(61, 220, 151, 0.45), 0 12px 32px -10px rgba(61, 220, 151, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--ghost { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--small { padding: 0.6em 1.1em; font-size: 0.9rem; }

/* Section scaffolding */
.section { position: relative; padding-block: var(--space-section); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald-text);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.eyebrow--pill { padding: 0.5em 1em; border-radius: var(--r-pill); border: 1px solid rgba(61, 220, 151, 0.3); background: rgba(61, 220, 151, 0.07); }
.eyebrow--pill::before { display: none; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }
.section-head h2, .control h2, .observe h2, .brain h2, .final h2 { font-size: var(--text-h2); }
.section-sub { margin-top: 18px; max-width: 60ch; font-size: 1.1rem; color: var(--text-2); }
.section-head--split { max-width: none; display: grid; gap: 18px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.4fr 1fr; } .section-head--split .section-sub { margin: 0 0 8px; } }

/* Shared chips */
.tag {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  padding: 0.32em 0.8em; border-radius: var(--r-pill);
  font-size: 0.74rem; font-weight: 600; white-space: nowrap;
}
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.tag--suggest { background: var(--suggest-soft); color: var(--suggest); }
.tag--answer { background: var(--answer-soft); color: var(--answer); }
.tag--act { background: var(--act-soft); color: var(--act); }
.mini { display: inline-flex; padding: 0.38em 0.95em; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.mini--primary { background: var(--amber); border-color: var(--amber); color: #1a1203; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 0.3em 0.75em; border-radius: var(--r-pill); font-size: 0.75rem; font-weight: 600; white-space: nowrap; width: fit-content; }
.pill .icon { width: 13px; height: 13px; stroke-width: 2.8; }
.pill--done { background: var(--answer-soft); color: var(--answer); }
.pill--wait { background: var(--act-soft); color: var(--act); }
.pill--person { background: var(--suggest-soft); color: var(--suggest); }
.pill--stop { background: var(--stop-soft); color: var(--stop); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); flex: none; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 36px 48px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--text-3); }
.brand--footer { font-size: 1.1rem; color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.hero-section { position: relative; overflow: clip; isolation: isolate; border-bottom: 1px solid var(--line); }

/* Slow-moving aurora: big soft radial blobs, transform-only animation */
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; will-change: transform; }
.aurora-a {
  width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; top: -38%; right: -18%;
  background: radial-gradient(circle, rgba(61, 220, 151, 0.32), transparent 62%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.aurora-b {
  width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; bottom: -42%; left: -20%;
  background: radial-gradient(circle, rgba(245, 181, 68, 0.2), transparent 62%);
  animation: drift-b 26s ease-in-out infinite alternate;
}
.aurora-c {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; top: 10%; left: 30%;
  background: radial-gradient(circle, rgba(143, 184, 255, 0.14), transparent 62%);
  animation: drift-c 30s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(-8vw, 6vw) scale(1.08); } }
@keyframes drift-b { to { transform: translate(10vw, -6vw) scale(1.12); } }
@keyframes drift-c { to { transform: translate(-6vw, -4vw) scale(0.92); } }

.grid-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 75%);
}

.hero {
  display: grid; gap: clamp(48px, 6vw, 72px); align-items: center;
  padding-block: clamp(3.5rem, 1.5rem + 6vw, 7.5rem) clamp(4.5rem, 2rem + 6vw, 8.5rem);
}
@media (min-width: 1024px) { .hero { grid-template-columns: 1.12fr 1fr; } }

.hero-title { font-size: var(--text-hero); line-height: 1.02; letter-spacing: -0.045em; }
.hero-line { display: block; animation: rise 0.9s var(--ease) backwards; }
.hero-line + .hero-line { animation-delay: 0.12s; }
.hero-sub { margin-top: 28px; max-width: 54ch; font-size: clamp(1.06rem, 1rem + 0.35vw, 1.22rem); color: var(--text-2); animation: rise 0.9s var(--ease) 0.24s backwards; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; animation: rise 0.9s var(--ease) 0.34s backwards; }
.powered { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 0.9rem; font-weight: 500; color: var(--text-3); }
.powered-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.18), 0 0 14px var(--clay); }

/* Product visual: two layered glass agent cards */
.viz { position: relative; width: 100%; max-width: 560px; margin-inline: auto; padding-top: 140px; }
.viz-card { padding: 22px; }
.viz-card--back {
  position: absolute; top: 0; left: 0; width: 74%;
  transform: rotate(-3.5deg); padding: 18px 20px; opacity: 0.85;
  animation: card-back 1s var(--ease) 0.25s backwards;
}
.viz-card--front { position: relative; width: 92%; margin-left: auto; animation: card-front 1s var(--ease) 0.45s backwards; }
@keyframes card-back { from { opacity: 0; transform: translateY(30px) rotate(-8deg); } }
@keyframes card-front { from { opacity: 0; transform: translateY(44px); } }

.viz-head { display: flex; align-items: center; gap: 10px; }
.viz-name { font-weight: 600; }
.viz-head .tag { margin-left: auto; }
.agent-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.agent-dot--answer { background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
.agent-dot--act { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.viz-answer { margin-top: 12px; font-size: 0.95rem; color: var(--text-2); }
.viz-meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.8rem; font-weight: 600; color: var(--emerald-text); }

.viz-steps { display: grid; gap: 9px; margin: 18px 0; }
.viz-steps li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text-2); }
.viz-steps .icon { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--answer-soft); color: var(--emerald); stroke-width: 2.6; }

.limit { padding: 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.limit-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.84rem; color: var(--text-2); }
.limit-row strong { font-size: 1.05rem; color: var(--text); font-variant-numeric: tabular-nums; }
.meter { position: relative; height: 8px; margin-top: 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.meter-fill {
  position: absolute; inset: 0; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--emerald-2), var(--emerald));
  box-shadow: 0 0 14px rgba(61, 220, 151, 0.7);
  transform: scaleX(0.64); transform-origin: left;
  animation: fill 1.3s var(--ease) 0.9s backwards;
}
.meter-cap { position: absolute; top: 0; bottom: 0; right: 0; width: 3px; background: var(--amber); }
@keyframes fill { from { transform: scaleX(0); } }

.viz-items { display: grid; gap: 10px; margin-top: 14px; }
.viz-item {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 12px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}
.viz-item-text { font-weight: 500; font-variant-numeric: tabular-nums; }
.viz-item--wait { border-color: rgba(245, 181, 68, 0.4); background: rgba(245, 181, 68, 0.06); animation: rise 0.8s var(--ease) 1.5s backwards; }
.viz-buttons { grid-column: 1 / -1; display: flex; gap: 8px; }

@media (max-width: 520px) {
  .viz { padding-top: 96px; }
  .viz-card--back { width: 86%; transform: rotate(-2deg); }
  .viz-card--front { width: 100%; padding: 18px; }
  .viz-item { grid-template-columns: 1fr; }
}

/* Three kinds of agent: a rising ladder */
.ladder { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .ladder { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .rung--suggest { margin-top: 112px; }
  .rung--answer { margin-top: 56px; }
}
.rung { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 28px; }
.rung h3 { font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.8rem); }
.rung > p:not(.caps):not(.rung-example) { color: var(--text-2); }
.rung-num { position: absolute; top: 18px; right: 24px; font-family: var(--font-accent); font-style: italic; font-size: 2.6rem; line-height: 1; color: rgba(237, 242, 239, 0.45); }
.caps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.caps .icon { width: 14px; height: 14px; color: var(--text-3); }
.cap { padding: 0.3em 0.8em; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 0.78rem; font-weight: 600; color: var(--text-2); }
.cap--suggest { background: var(--sky); border-color: var(--sky); color: #08121f; }
.cap--answer { background: var(--emerald); border-color: var(--emerald); color: #03140d; }
.cap--act { background: var(--amber); border-color: var(--amber); color: #1a1203; }
.rung-example {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(245, 181, 68, 0.07); border: 1px solid rgba(245, 181, 68, 0.25); font-size: 0.9rem;
}
.rung-example .icon { margin-top: 3px; color: var(--amber); }

/* Showcase: tabs with product mock windows */
.showcase-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 500px at 50% 0%, rgba(61, 220, 151, 0.1), transparent 70%);
}
.tablist {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px);
}
@media (max-width: 720px) {
  .tablist { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
}
.tab {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding: 0.7em 1.2em; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03); color: var(--text-2);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tab:hover { color: var(--text); transform: translateY(-1px); }
.tab[aria-selected='true'] { color: var(--text); background: rgba(255, 255, 255, 0.1); border-color: var(--line-strong); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px -14px rgba(61, 220, 151, 0.5); }
.tab-dot { width: 8px; height: 8px; border-radius: 50%; }
.tab-dot--suggest { background: var(--sky); box-shadow: 0 0 8px var(--sky); }
.tab-dot--answer { background: var(--emerald); box-shadow: 0 0 8px var(--emerald); }
.tab-dot--act { background: var(--amber); box-shadow: 0 0 8px var(--amber); }

.panel { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; border-radius: var(--r-xl); }
.panel[hidden] { display: none; }
@media (min-width: 1024px) { .panel { grid-template-columns: 0.85fr 1.15fr; } }
.panel-copy { display: grid; gap: 16px; }
.panel-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.12; }
.panel-copy p { color: var(--text-2); font-size: 1.05rem; }
.panel:not([hidden]) .window { animation: rise 0.55s var(--ease); }

.window { overflow: hidden; padding: 0; }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.82rem; font-weight: 600; color: var(--text-3); }
.window-dots { display: inline-flex; gap: 6px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.window-label { margin-left: auto; padding: 0.2em 0.65em; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }

.chat { display: grid; gap: 10px; padding: 20px; }
.bubble { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: 0.93rem; }
.bubble--user { justify-self: end; background: var(--text); color: var(--bg); border-bottom-right-radius: 5px; }
.bubble--agent { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.chat-step { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--text-3); }
.chat-step .icon { color: var(--emerald); stroke-width: 2.4; }
.chat-source { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.78rem; font-weight: 600; color: var(--emerald-text); }
.handoff { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-md); border: 1px dashed rgba(245, 181, 68, 0.45); color: var(--amber-text); font-size: 0.85rem; font-weight: 500; }

.split { display: grid; }
@media (min-width: 640px) { .split { grid-template-columns: 1fr 1fr; } .chat--compact { border-right: 1px solid var(--line); } }
.mock-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.summary { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.summary-list { display: grid; gap: 6px; }
.summary-list li { position: relative; padding-left: 16px; font-size: 0.9rem; }
.summary-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.urgency { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-md); background: var(--act-soft); color: var(--amber-text); font-size: 0.9rem; font-weight: 600; }
.mock-note { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-3); }

.mock { display: grid; gap: 12px; padding: 20px; }
.mock-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.95rem; }
.limit-chip { display: inline-flex; align-items: center; gap: 6px; padding: 0.3em 0.8em; border-radius: var(--r-pill); border: 1px solid rgba(245, 181, 68, 0.4); color: var(--amber-text); font-size: 0.78rem; font-weight: 600; }
.rows { display: grid; gap: 8px; }
.rows li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
  padding: 11px 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line);
  font-size: 0.9rem; font-variant-numeric: tabular-nums;
}
.rows strong, .rows small, .total small, .total strong { display: block; }
.rows small, .total small { font-size: 0.78rem; color: var(--text-3); }
.row--wait { border-color: rgba(245, 181, 68, 0.35) !important; background: rgba(245, 181, 68, 0.06) !important; }
.row-actions { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }

.candidates { display: grid; gap: 8px; }
.candidates li {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 6px 12px;
  padding: 12px 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line);
}
.avatar { grid-column: 1; grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald), var(--sky)); color: #03140d; font-size: 0.78rem; font-weight: 700; }
.cand strong { display: block; font-size: 0.92rem; }
.cand small { display: block; font-size: 0.78rem; color: var(--text-3); }
.cand { grid-column: 2; grid-row: 1; }
.match { grid-column: 3; grid-row: 1; display: inline-flex; gap: 3px; }
.match i { width: 12px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.match i.on { background: var(--emerald); box-shadow: 0 0 6px rgba(61, 220, 151, 0.6); }
.suggestion { grid-column: 2 / -1; grid-row: 2; font-size: 0.8rem; font-weight: 600; color: var(--sky-text); }
.suggestion--strong { color: var(--emerald-text); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); font-size: 0.82rem; color: var(--text-3); }
.stat-num { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 1rem; color: var(--text-3); }
.total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid rgba(245, 181, 68, 0.45); background: rgba(245, 181, 68, 0.07); }
.total strong { font-size: 1.4rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Agent library */
.library { display: grid; gap: 14px; }
@media (min-width: 640px) { .library { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .library { grid-template-columns: repeat(3, 1fr); } }
.agent {
  --kind: var(--sky);
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 10px; padding: 24px;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.agent[data-kind='answer'] { --kind: var(--emerald); }
.agent[data-kind='act'] { --kind: var(--amber); }
.agent::after {
  content: ''; position: absolute; z-index: -1; top: -80px; right: -80px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, var(--kind), transparent 65%); opacity: 0.16;
}
.agent:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.agent h3 { font-size: 1.15rem; }
.agent p { color: var(--text-2); font-size: 0.94rem; }

/* Control */
.control::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 420px at 8% 20%, rgba(61, 220, 151, 0.1), transparent 65%),
    radial-gradient(600px 380px at 100% 100%, rgba(245, 181, 68, 0.08), transparent 65%);
}
.control-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .control-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } .control-intro { position: sticky; top: 110px; } }
.queue { margin-top: 36px; padding: 18px; border-radius: var(--r-lg); }
.queue-title { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; font-weight: 600; color: var(--amber-text); }
.queue ul { display: grid; gap: 10px; margin-top: 14px; }
.queue li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.queue strong { display: block; font-weight: 600; }
.queue small { font-size: 0.8rem; color: var(--text-3); }
.control-list { display: grid; gap: 40px 36px; }
@media (min-width: 640px) { .control-list { grid-template-columns: repeat(2, 1fr); } }
.control-list h3, .feature-list h3, .feature h3 { margin: 14px 0 6px; font-size: 1.06rem; letter-spacing: -0.01em; }
.control-list p { color: var(--text-2); font-size: 0.96rem; }

/* Visibility */
.observe-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .observe-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.trace { padding: 24px; }
.trace-title { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; font-weight: 600; }
.trace-title .icon { color: var(--emerald); }
.trace ol { position: relative; margin-top: 16px; }
.trace ol::before { content: ''; position: absolute; left: 5px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--emerald), rgba(61, 220, 151, 0.15)); }
.trace li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 13px 0 13px 30px; border-bottom: 1px dashed var(--line); font-size: 0.93rem; color: var(--text-2); }
.trace li:last-child { border-bottom: 0; }
.trace li::before { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid var(--emerald); background: var(--bg); }
.trace time { font-size: 0.82rem; font-variant-numeric: tabular-nums; color: var(--text-3); }
.trace .trace-done { font-weight: 600; color: var(--emerald-text); }
.trace .trace-done::before { background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
.feature-list { display: grid; gap: 30px 28px; margin-top: 36px; }
@media (min-width: 640px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature-list p, .feature p { color: var(--text-2); font-size: 0.96rem; }

/* Platform */
.platform-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .platform-grid { grid-template-columns: repeat(2, 1fr); } .ai-card { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .platform-grid { grid-template-columns: 1.25fr 1fr 1fr; } .ai-card { grid-column: 1; grid-row: span 3; } }
.ai-card {
  display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 3vw, 40px);
  background:
    radial-gradient(420px 300px at 0% 0%, rgba(224, 122, 95, 0.3), transparent 70%),
    radial-gradient(380px 280px at 100% 100%, rgba(61, 220, 151, 0.18), transparent 70%),
    linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
}
.ai-card h3 { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); letter-spacing: -0.03em; }
.ai-card p { color: var(--text-2); }
.providers { display: grid; gap: 8px; margin-top: auto; padding-top: 12px; }
.provider { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-weight: 500; }
.provider--default { background: rgba(224, 122, 95, 0.14); border-color: rgba(224, 122, 95, 0.55); font-weight: 600; box-shadow: 0 0 30px -10px rgba(224, 122, 95, 0.6); }
.provider-tag { padding: 0.2em 0.65em; border-radius: var(--r-pill); background: #f0b8a6; color: #1a0d08; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.feature { padding: 26px; border-radius: var(--r-lg); }

/* Closing call to action */
.final { padding-bottom: var(--space-section); }
.final-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 7vw, 96px); border-radius: var(--r-xl);
  border: 1px solid rgba(61, 220, 151, 0.25);
  background: linear-gradient(160deg, #0d1f19, #070c0b);
  box-shadow: var(--shadow-deep), 0 40px 140px -60px rgba(61, 220, 151, 0.5);
}
.aurora--final { z-index: -1; }
.aurora--final .aurora-a { top: -60%; right: -20%; }
.aurora--final .aurora-b { bottom: -70%; left: -10%; }
.final-card h2 { max-width: 15ch; }
.final-card p { max-width: 52ch; margin: 18px 0 34px; font-size: 1.1rem; color: var(--text-2); }
.final-mark { position: absolute; z-index: -1; right: -40px; bottom: -70px; width: clamp(220px, 30vw, 380px); fill: rgba(61, 220, 151, 0.06); }

/* Scroll reveal where supported; content is always visible otherwise */
@supports (animation-timeline: view()) {
  .section-head, .rung, .agent, .control-list li, .trace, .feature-list li, .ai-card, .feature, .final-card, .checkpoint, .safety-log, .gov-item, .brain-window {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
  @keyframes reveal { from { opacity: 0; transform: translateY(28px); } }
}

/* Insurance claim mock */
.claim { display: grid; gap: 12px; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.claim-name { display: inline-flex; align-items: center; gap: 8px; }
.claim-name .icon { color: var(--amber); }
.checks { display: grid; gap: 7px; }
.checks li { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; color: var(--text-2); }
.checks .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--answer-soft); color: var(--emerald); stroke-width: 2.6; }
.total--done { border-color: rgba(61, 220, 151, 0.4); background: rgba(61, 220, 151, 0.07); }

/* Company brain */
.brain::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(800px 480px at 90% 40%, rgba(143, 184, 255, 0.09), transparent 70%);
}
.brain-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .brain-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.brain-body { display: grid; }
@media (min-width: 640px) { .brain-body { grid-template-columns: 0.8fr 1.2fr; } .brain-tree { border-right: 1px solid var(--line); } }
.brain-tree { display: grid; align-content: start; gap: 12px; padding: 20px; }
.brain-tree ul { display: grid; gap: 6px; }
.brain-area { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid transparent; color: var(--text-2); }
.brain-area .icon { color: var(--text-3); }
.brain-area strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.brain-area small { display: block; font-size: 0.76rem; color: var(--text-3); }
.brain-area--active { border-color: rgba(61, 220, 151, 0.35); background: rgba(61, 220, 151, 0.07); }
.brain-area--active .icon { color: var(--emerald); }
.brain-detail { display: grid; align-content: start; gap: 12px; padding: 20px; }
.access { display: flex; flex-wrap: wrap; gap: 8px; }
.access .agent-dot { width: 7px; height: 7px; }
.files { display: grid; gap: 8px; }
.files li {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  padding: 10px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); font-size: 0.88rem;
}
.files .pill { margin-left: auto; }
.files li > .icon { color: var(--text-3); }
.file-name { flex: 1 1 9ch; min-width: 0; }
.file-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(143, 184, 255, 0.12); }
.file-progress span { position: absolute; inset: 0; background: var(--sky); transform-origin: left; transform: scaleX(0.6); animation: learn 2.4s ease-in-out infinite alternate; }
@keyframes learn { from { transform: scaleX(0.25); } to { transform: scaleX(0.85); } }
.dropzone { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); color: var(--text-3); font-size: 0.86rem; }
.dropzone .icon { color: var(--emerald); }

/* Claims inbox and processing steps */
.mail { display: grid; gap: 10px; }
.mail-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.mail-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--suggest-soft); color: var(--sky-text); }
.mail-text strong { display: block; font-size: 0.9rem; }
.mail-text span { display: block; font-size: 0.82rem; color: var(--text-2); }
.mail-time { font-size: 0.78rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.attachments { display: flex; flex-wrap: wrap; gap: 6px; }
.attachment { display: inline-flex; align-items: center; gap: 6px; padding: 0.3em 0.7em; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 0.76rem; font-weight: 500; color: var(--text-2); }
.attachment .icon { width: 13px; height: 13px; color: var(--text-3); }
.stepper { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 4px 0; }
.stepper::before { content: ''; position: absolute; top: 15px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--emerald), var(--amber)); opacity: 0.6; }
.stepper li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 0.76rem; font-weight: 600; color: var(--text-2); }
.step-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--emerald); color: var(--emerald); }
.step-dot .icon { width: 12px; height: 12px; stroke-width: 3; }
.stepper li:last-child .step-dot { border-color: var(--amber); color: var(--amber); }

/* Safety: six checkpoints, a safety log and governance */
.safety::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 400px at 15% 60%, rgba(255, 107, 107, 0.07), transparent 70%),
    radial-gradient(800px 460px at 85% 30%, rgba(61, 220, 151, 0.08), transparent 70%);
}
.checkpoints { position: relative; display: grid; gap: 14px; counter-reset: none; }
@media (min-width: 640px) { .checkpoints { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .checkpoints { grid-template-columns: repeat(6, 1fr); }
  .checkpoints::before {
    content: ''; position: absolute; top: 49px; left: 6%; right: 6%; height: 2px; z-index: -1;
    background: linear-gradient(90deg, var(--sky), var(--emerald) 50%, var(--amber));
    opacity: 0.45;
  }
}
.checkpoint { position: relative; display: grid; align-content: start; gap: 6px; padding: 22px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(10, 16, 15, 0.82); }
.checkpoint-num { position: absolute; top: 14px; right: 16px; font-family: var(--font-accent); font-style: italic; font-size: 1.4rem; line-height: 1; color: rgba(237, 242, 239, 0.45); }
.checkpoint .icon--lg { margin-bottom: 8px; }
.checkpoint h3 { font-size: 1rem; letter-spacing: -0.01em; }
.checkpoint p { font-size: 0.88rem; color: var(--text-2); }

.safety-grid { display: grid; gap: 40px; margin-top: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 1024px) { .safety-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.log { display: grid; gap: 8px; padding: 18px; }
.log-event { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.log-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.log-event--stop { border-color: rgba(255, 107, 107, 0.35); background: rgba(255, 107, 107, 0.05); }
.log-event--stop .log-icon { background: var(--stop-soft); color: var(--stop); }
.log-event--hold .log-icon { background: var(--suggest-soft); color: var(--suggest); }
.log-event--clean .log-icon { background: var(--answer-soft); color: var(--answer); }
.log-event--wait .log-icon { background: var(--act-soft); color: var(--act); }
.log-text strong { display: block; font-size: 0.9rem; }
.log-text small { display: block; font-size: 0.8rem; color: var(--text-3); }
@media (max-width: 480px) { .log-event { grid-template-columns: auto 1fr; } .log-event .pill { grid-column: 2; } }
.gov-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; }
.gov-list { display: grid; gap: 22px; margin-top: 26px; }
.gov-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.gov-item strong { display: block; margin-bottom: 4px; font-size: 1.04rem; color: var(--text); }
.gov-item span { color: var(--text-2); font-size: 0.96rem; }
