/* biaX Global Landing — design tokens (app_colors.dart SSOT + spec §2) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --bg-page: #060810;
  --bg-card: #0d1220;
  --bg-nested: #111827;
  --border: #1a2448;
  --border-strong: #1e2d4a;
  --text-primary: #f0f4ff;
  --text-secondary: #3a4a7a;
  --text-tertiary: #3a4a7a;
  --accent-label: #3a5aaa;
  --accent: #0044ee;
  --neon: #0055ff;
  --success: #00cc88;
  --danger: #ff4455;
  --on-accent: #ffffff;

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 20px;

  --max-content: 72rem;
  --max-prose: 45rem;
  --header-h: 4.5rem;
  --page-pad-x: clamp(1rem, 4vw, 1.5rem);
  --section-pad-y: clamp(3.5rem, 8vw, 5.5rem);
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --reveal-duration: 0.55s;
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus-ring: 2px solid var(--neon);
  --focus-offset: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-stagger > *,
  .hero-stagger > *,
  .hero-badge-dot,
  .page-landing [data-anim='up'],
  .page-landing [data-anim='strike'] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .page-landing [data-anim='strike'] {
    transform: scaleX(1) !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.9375rem, 2.8vw, 1rem);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 68, 238, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 68, 238, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

.page-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

p,
li,
dd {
  overflow-wrap: anywhere;
}

a {
  color: var(--accent-label);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--neon);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 400;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  background: var(--bg-page);
  border-bottom: 0.5px solid var(--bg-nested);
}

.site-header__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.wordmark {
  font-weight: 200;
  font-size: 1.375rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.wordmark:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.wordmark-x {
  color: var(--neon);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-inline {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-inline a {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 0.9375rem;
  text-decoration: none;
}

.nav-inline a:hover,
.nav-inline a[aria-current='page'] {
  color: var(--text-primary);
  text-decoration: none;
}

.nav-cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-primary);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .nav-inline {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.75rem var(--page-pad-x) 1rem;
    background: var(--bg-page);
    border-bottom: 0.5px solid var(--bg-nested);
  }

  .nav-inline.is-open {
    display: flex;
  }

  .nav-inline a {
    padding: 0.75rem 0;
    border-bottom: 0.5px solid var(--bg-nested);
  }

  .nav-cta {
    margin: 0.75rem 0 0;
    width: 100%;
    text-align: center;
  }

  .site-header__inner {
    position: relative;
    flex-wrap: wrap;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--on-accent);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--neon);
  color: var(--text-primary);
}

.btn--secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn--block {
  width: 100%;
}

/* —— Section layout —— */
.landing {
  flex: 1;
}

.section-block {
  padding: var(--section-pad-y) var(--page-pad-x);
}

.section-block__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-label);
  margin-bottom: 0.75rem;
}

.section-title {
  font-weight: 200;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.section-sub {
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 36rem;
  margin: 0 0 2.5rem;
}

/* —— Hero —— */
.hero {
  padding: clamp(3rem, 10vw, 6rem) var(--page-pad-x) clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.hero__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  flex-shrink: 0;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.hero__title {
  font-weight: 200;
  font-size: clamp(1.75rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero__title-neon {
  color: var(--neon);
}

.hero__sub {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
}

.hero-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.hero-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.hero-stagger.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
.hero-stagger.is-visible > *:nth-child(4) { transition-delay: 0.3s; }
.hero-stagger.is-visible > *:nth-child(5) { transition-delay: 0.4s; }

/* —— Stat row —— */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--page-pad-x) var(--section-pad-y);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-card__value {
  display: block;
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--neon);
  margin-bottom: 0.35rem;
}

.stat-card__label {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.45;
}

@media (max-width: 640px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}

/* —— Feature grid —— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

.feature-card__icon {
  font-size: 1.5rem;
  color: var(--neon);
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.feature-card__title {
  font-weight: 400;
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.feature-card__desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Comparison table —— */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--bg-nested);
}

.compare-table th {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td:not(:first-child) {
  text-align: center;
  width: 22%;
}

.compare-yes {
  color: var(--success);
  font-weight: 400;
}

.compare-no {
  color: var(--danger);
  font-weight: 400;
}

/* —— Pricing —— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border: 2px solid var(--neon);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--neon);
  color: var(--on-accent);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-card__tier {
  font-weight: 400;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.pricing-card__price {
  font-weight: 200;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.pricing-card__price span {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.pricing-card__features li {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  border-bottom: 0.5px solid var(--bg-nested);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 24rem;
    margin: 0 auto;
  }
}

/* —— About —— */
.about-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem 2.25rem;
  max-width: 40rem;
}

.about-section p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.about-section p:last-child {
  margin-bottom: 0;
}

/* —— Waitlist —— */
.waitlist-section {
  text-align: center;
}

.waitlist-section .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {
  max-width: 28rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.waitlist-form__row {
  display: flex;
  gap: 0.5rem;
}

.waitlist-form__input {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 300;
  font-size: 0.9375rem;
}

.waitlist-form__input::placeholder {
  color: var(--text-secondary);
}

.waitlist-form__msg {
  font-size: 0.875rem;
  font-weight: 300;
  min-height: 1.25rem;
}

.waitlist-form__msg--success {
  color: var(--success);
}

.waitlist-form__msg--error {
  color: var(--danger);
}

@media (max-width: 640px) {
  .waitlist-form__row {
    flex-direction: column;
  }
}

/* —— Footer —— */
.site-footer {
  border-top: 0.5px solid var(--bg-nested);
  padding: 2rem var(--page-pad-x);
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
}

.site-footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--text-primary);
}

.site-footer__company {
  text-align: right;
  line-height: 1.6;
}

.site-footer__company a {
  color: var(--accent-label);
}

@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__company {
    text-align: center;
  }

  .site-footer__links {
    justify-content: center;
  }
}

/* —— Reveal animations —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }

/* —— Prose (legal pages) —— */
.prose {
  flex: 1;
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: 2.5rem var(--page-pad-x) 4rem;
  line-height: 1.75;
}

.page-title {
  font-weight: 200;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.page-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin: 0 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid var(--bg-nested);
}

.prose section {
  margin-bottom: 2rem;
}

.prose h2 {
  font-weight: 400;
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.prose h3 {
  font-weight: 400;
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--text-primary);
}

.prose ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.prose p {
  font-weight: 300;
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
}

.prose ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose a {
  color: var(--accent-label);
}

/* —— Support page —— */
.support-page {
  max-width: var(--max-content);
}

.support-hero {
  margin-bottom: 2rem;
}

.support-lead {
  color: var(--text-secondary);
  font-weight: 300;
  margin: 0;
}

.support-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.support-tab {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: inherit;
  font-weight: 300;
  font-size: 0.875rem;
  cursor: pointer;
}

.support-tab[aria-selected='true'] {
  border-color: var(--neon);
  color: var(--text-primary);
}

.support-panel[hidden] {
  display: none;
}

.support-search {
  margin-bottom: 1rem;
}

.support-search__input {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 300;
}

.faq-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.faq-chip {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 300;
  cursor: pointer;
}

.faq-chip--active {
  border-color: var(--neon);
  color: var(--text-primary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-item__summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 400;
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-q {
  color: var(--neon);
  flex-shrink: 0;
}

.faq-item__body {
  padding: 0 1.25rem 1rem 2.25rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item__body p {
  margin: 0;
}

.support-empty {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: center;
  padding: 2rem;
}

.inquiry-form {
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.inquiry-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.inquiry-input,
.inquiry-textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 300;
  font-size: 0.9375rem;
}

.inquiry-textarea {
  resize: vertical;
  min-height: 8rem;
}

.notice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.notice-table th,
.notice-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 0.5px solid var(--bg-nested);
}

.notice-table th {
  color: var(--text-secondary);
  font-weight: 400;
}

/* —— 404 —— */
.page-404 {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--page-pad-x);
}

.page-404 h1 {
  font-weight: 200;
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.page-404 p {
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

/* —— Landing (page-landing) —— */
body.page-landing {
  --bg-page: #04060d;
  --text-primary: #f5f7fa;
  --text-secondary: #9aa3b5;
  --text-label: #5b6b8f;
  --accent: #2f6bff;
  --neon: #2f6bff;
  --neon-line: #4d8bff;
  --danger-ext: #ff6b6b;
  --warn-ext: #f5b74d;
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 4.75rem;
}

body.page-landing::before {
  display: none;
}

body.page-landing .site-header--landing {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 6, 13, 0.55);
  border-bottom: 0.5px solid transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
}

body.page-landing .site-header__inner {
  max-width: none;
  margin: 0;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: calc((100% - min(100%, var(--max-content))) / 2 + var(--page-pad-x));
}

body.page-landing .site-header--landing.is-scrolled {
  background: rgba(4, 6, 13, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.page-landing .wordmark {
  font-weight: 700;
  font-size: 1.5625rem;
  letter-spacing: -0.02em;
}

body.page-landing .wordmark-x {
  color: var(--neon-line);
  font-weight: 700;
}

body.page-landing .nav-inline a {
  color: #aab2c2;
  font-weight: 500;
  font-size: 0.9375rem;
}

body.page-landing .nav-inline a:hover {
  color: var(--text-primary);
}

body.page-landing .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 36px -8px rgba(47, 107, 255, 0.55);
}

body.page-landing .btn--primary:hover {
  background: var(--neon-line);
  border-color: var(--neon-line);
}

body.page-landing .hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  padding-left: 0;
  padding-right: 0;
  text-align: left;
  overflow: hidden;
  background: var(--bg-page);
}

body.page-landing .hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

body.page-landing .hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(4, 6, 13, 0.96) 30%,
    rgba(4, 6, 13, 0.55) 55%,
    rgba(4, 6, 13, 0.08) 100%
  );
}

body.page-landing .hero__glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(500px 400px at 75% 55%, rgba(47, 107, 255, 0.18), transparent 70%);
  transition: transform 0.3s ease-out;
  will-change: transform;
}

body.page-landing .hero__content {
  position: relative;
  z-index: 3;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(2rem, 5vw, 3rem);
  pointer-events: none;
}

body.page-landing .hero__copy {
  max-width: 41.25rem;
  pointer-events: auto;
}

body.page-landing .hero-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-label);
}

body.page-landing .hero__title {
  margin: 1.375rem 0 0;
  font-family: var(--font-sans);
  font-size: clamp(2.75rem, 8vw, 5.625rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

body.page-landing .hero__bias {
  position: relative;
  display: inline-block;
}

body.page-landing .hero__strike {
  position: absolute;
  left: -2px;
  right: -2px;
  top: 54%;
  height: 7px;
  border-radius: 4px;
  background: var(--neon-line);
  transform-origin: left center;
  transform: scaleX(0);
  box-shadow: 0 0 20px rgba(77, 139, 255, 0.9);
}

body.page-landing .hero__sub {
  margin: 1.75rem 0 0;
  max-width: 27.5rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

body.page-landing .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

body.page-landing .btn--hero {
  padding: 0.9375rem 1.875rem;
  border-radius: 0.6875rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 12px 36px -8px rgba(47, 107, 255, 0.8);
  text-decoration: none;
}

body.page-landing .btn--hero:hover {
  background: var(--neon-line);
  border-color: var(--neon-line);
  color: #fff;
  text-decoration: none;
}

body.page-landing [data-anim='up'] {
  opacity: 1;
}

body.page-landing #features {
  scroll-margin-top: var(--header-h);
  min-height: 0;
  padding: 0;
  margin: 0;
}

/* —— Features scrollytelling —— */
@keyframes bxPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.82);
  }
}

@keyframes bxCaret {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

#biax-scrolly {
  --scrolly-height: 800vh;
  --scrolly-height-mobile: 700vh;
  --scrolly-enter-window: 0.28;
  --scrolly-exit-window: 0.28;
  --scrolly-scene-slide: 38;
  background: #04060d;
  color: #f5f7fa;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

#biax-scrolly *,
#biax-scrolly *::before,
#biax-scrolly *::after {
  box-sizing: border-box;
}

#biax-scrolly .scrolly {
  position: relative;
  height: var(--scrolly-height);
}

#biax-scrolly .scrolly__stage {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(1100px 700px at 68% 12%, rgba(47, 107, 255, 0.1), transparent 60%), #04060d;
}

#biax-scrolly .scrolly__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 164px minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 40px;
  padding: 52px 48px;
  align-items: center;
}

#biax-scrolly .scrolly__rail-wrap {
  position: relative;
}

#biax-scrolly .scrolly__rail-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #5b6b8f;
  margin-bottom: 34px;
}

#biax-scrolly .scrolly__rail {
  position: relative;
  height: 520px;
}

#biax-scrolly .scrolly__rail-track {
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #141d30;
  border-radius: 2px;
}

#biax-scrolly .scrolly__rail-fill {
  position: absolute;
  left: 5px;
  top: 8px;
  width: 2px;
  height: 0%;
  background: linear-gradient(#4d8bff, #2f6bff);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(47, 107, 255, 0.55);
}

#biax-scrolly .scrolly__rail-steps {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#biax-scrolly .scrolly__rail-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

#biax-scrolly [data-rail-dot] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #141d30;
  border: 2px solid #223458;
  flex-shrink: 0;
  transition: none;
}

#biax-scrolly [data-rail-label] {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #5b6b8f;
}

#biax-scrolly .scrolly__rail--horiz {
  display: none;
}

#biax-scrolly .scrolly__sets {
  grid-column: 2 / 4;
  position: relative;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

#biax-scrolly .scrolly__set {
  grid-column: 1 / -1;
  grid-row: 1;
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  pointer-events: none;
}

#biax-scrolly .scrolly__set-scene {
  grid-column: 1;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
}

#biax-scrolly .scrolly__set-cap {
  grid-column: 2;
  position: relative;
  min-width: 0;
  height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

#biax-scrolly .scrolly__live {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

#biax-scrolly .scrolly__live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f6bff;
  box-shadow: 0 0 14px #2f6bff;
  animation: bxPulse 1.4s infinite;
}

#biax-scrolly .scrolly__live-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #4d8bff;
}

#biax-scrolly .scrolly__detect-alert {
  display: flex;
  align-items: flex-end;
  gap: 22px;
}

#biax-scrolly .scrolly__ticker {
  font-weight: 700;
  font-size: 82px;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

#biax-scrolly .scrolly__fill-meta {
  padding-bottom: 14px;
}

#biax-scrolly .scrolly__fill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(8, 153, 129, 0.5);
  border-radius: 8px;
  background: rgba(8, 153, 129, 0.1);
}

#biax-scrolly .scrolly__fill-badge span {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #089981;
}

#biax-scrolly .scrolly__fill-detail {
  font-family: var(--font-mono);
  font-size: 15px;
  color: #9aa3b5;
  margin-top: 12px;
}

#biax-scrolly .scrolly__progress-block {
  margin-top: 44px;
  max-width: 440px;
}

#biax-scrolly .scrolly__progress-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #5b6b8f;
  margin-bottom: 10px;
}

#biax-scrolly .scrolly__bar-track {
  height: 4px;
  border-radius: 4px;
  background: #141d30;
  overflow: hidden;
}

#biax-scrolly .scrolly__bar-track--md {
  height: 12px;
  border-radius: 8px;
  background: #0b1220;
}

#biax-scrolly .scrolly__bar-track--lg {
  height: 16px;
  border-radius: 8px;
  background: #0b1220;
  position: relative;
}

#biax-scrolly .scrolly__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
}

#biax-scrolly .scrolly__bar-fill--neon {
  background: linear-gradient(90deg, #4d8bff, #2f6bff);
  box-shadow: 0 0 12px rgba(47, 107, 255, 0.5);
}

#biax-scrolly .scrolly__bar-fill--green {
  background: #089981;
}

#biax-scrolly .scrolly__bar-fill--red {
  background: #f23645;
}

#biax-scrolly .scrolly__scene-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #5b6b8f;
}

#biax-scrolly .scrolly__scene-kicker--spaced {
  margin-bottom: 26px;
}

#biax-scrolly .scrolly__scene-kicker--tight {
  margin-bottom: 8px;
}

#biax-scrolly .scrolly__scene-kicker--home {
  margin-bottom: 10px;
}

#biax-scrolly .scrolly__scene-kicker--journal {
  margin-bottom: 24px;
}

#biax-scrolly .scrolly__scene-kicker--rule {
  margin-bottom: 22px;
}

#biax-scrolly .scrolly__scene-kicker--insight {
  margin-bottom: 6px;
}

#biax-scrolly .scrolly__scene-title {
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
}

#biax-scrolly .scrolly__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 560px;
}

#biax-scrolly [data-chip] {
  padding: 11px 19px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 500;
  border: 1.5px solid #223458;
  color: #9aa3b5;
  background: #0b1220;
}

#biax-scrolly .scrolly__metrics {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 600px;
}

#biax-scrolly .scrolly__metric-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 9px;
}

#biax-scrolly .scrolly__metric-label {
  font-size: 15px;
  color: #c5cee0;
}

#biax-scrolly .scrolly__metric-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
}

#biax-scrolly .scrolly__metric-val--green {
  color: #089981;
}

#biax-scrolly .scrolly__metric-val--red {
  color: #f23645;
}

#biax-scrolly .scrolly__metric-val--blue {
  color: #4d8bff;
}

#biax-scrolly .scrolly__capture-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #5b6b8f;
  margin-top: 8px;
}

#biax-scrolly .scrolly__note {
  margin-top: 8px;
  border-left: 2px solid #223458;
  padding-left: 16px;
  min-height: 26px;
}

#biax-scrolly .scrolly__note-text {
  font-size: 16px;
  color: #c5cee0;
  font-style: italic;
}

#biax-scrolly .scrolly__note-caret {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: #4d8bff;
  margin-left: 2px;
  vertical-align: middle;
  animation: bxCaret 1s infinite;
}

#biax-scrolly .scrolly__journal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
}

#biax-scrolly .scrolly__jrow {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #141d30;
  opacity: 0.34;
}

#biax-scrolly .scrolly__jrow-ticker {
  font-weight: 600;
  font-size: 22px;
  width: 92px;
}

#biax-scrolly .scrolly__jrow-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #5b6b8f;
  flex: 1;
}

#biax-scrolly .scrolly__jrow-pct {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #9aa3b5;
}

#biax-scrolly .scrolly__jrow--featured {
  flex-direction: column;
  align-items: stretch;
  padding: 22px 20px;
  border: 1px solid #223458;
  border-radius: 12px;
  background: #0a1120;
  opacity: 1;
  border-bottom: none;
}

#biax-scrolly .scrolly__jrow-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

#biax-scrolly .scrolly__jrow-head .scrolly__jrow-ticker {
  font-weight: 700;
  font-size: 26px;
  width: auto;
}

#biax-scrolly .scrolly__tag-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #5b6b8f;
  color: #9aa3b5;
}

#biax-scrolly .scrolly__jrow-quote {
  font-size: 15px;
  color: #c5cee0;
  font-style: italic;
  margin-bottom: 14px;
}

#biax-scrolly .scrolly__jrow-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#biax-scrolly .scrolly__stat-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(47, 107, 255, 0.1);
  border: 1px solid rgba(77, 139, 255, 0.28);
  color: #9cc0ff;
}

#biax-scrolly .scrolly__home-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

#biax-scrolly .scrolly__home-score {
  font-weight: 700;
  font-size: 118px;
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-shadow: 0 0 34px rgba(47, 107, 255, 0.35);
}

#biax-scrolly .scrolly__home-delta {
  padding-bottom: 22px;
  opacity: 0;
}

#biax-scrolly .scrolly__delta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(47, 107, 255, 0.12);
  border: 1px solid rgba(77, 139, 255, 0.3);
}

#biax-scrolly .scrolly__delta-badge span {
  font-family: var(--font-mono);
  font-size: 15px;
  color: #4d8bff;
}

#biax-scrolly .scrolly__delta-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #5b6b8f;
  margin-top: 12px;
}

#biax-scrolly .scrolly__spark {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 60px;
  margin-top: 40px;
}

#biax-scrolly .scrolly__spark span {
  width: 26px;
  border-radius: 3px;
}

#biax-scrolly .scrolly__spark span:nth-child(1) {
  background: #1b2a48;
  height: 38%;
}

#biax-scrolly .scrolly__spark span:nth-child(2) {
  background: #1b2a48;
  height: 52%;
}

#biax-scrolly .scrolly__spark span:nth-child(3) {
  background: #1b2a48;
  height: 44%;
}

#biax-scrolly .scrolly__spark span:nth-child(4) {
  background: #1b2a48;
  height: 66%;
}

#biax-scrolly .scrolly__spark span:nth-child(5) {
  background: #2a3f6e;
  height: 58%;
}

#biax-scrolly .scrolly__spark span:nth-child(6) {
  background: linear-gradient(#4d8bff, #2f6bff);
  height: 74%;
  box-shadow: 0 0 14px rgba(47, 107, 255, 0.5);
}

#biax-scrolly .scrolly__ins-focus {
  font-size: 19px;
  color: #c5cee0;
  max-width: 600px;
  margin-bottom: 30px;
}

#biax-scrolly .scrolly__ins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 34px;
  max-width: 640px;
}

#biax-scrolly .scrolly__ins-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #5b6b8f;
  margin-bottom: 16px;
}

#biax-scrolly .scrolly__ins-num {
  font-weight: 700;
  font-size: 33px;
  letter-spacing: -0.02em;
  color: #4d8bff;
}

#biax-scrolly .scrolly__ins-sub {
  font-size: 12px;
  color: #9aa3b5;
  margin-top: 4px;
}

#biax-scrolly .scrolly__ins-bar {
  height: 8px;
  border-radius: 6px;
  background: #0b1220;
  overflow: hidden;
  margin-top: 14px;
}

#biax-scrolly .scrolly__ins-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4d8bff, #2f6bff);
  border-radius: 6px;
}

#biax-scrolly .scrolly__ins-suffix {
  font-size: 22px;
  color: #5b6b8f;
}

#biax-scrolly .scrolly__psy {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#biax-scrolly .scrolly__psy-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#biax-scrolly .scrolly__psy-label {
  font-size: 11px;
  color: #9aa3b5;
  width: 62px;
}

#biax-scrolly .scrolly__psy-label--fomo {
  color: #9cc0ff;
}

#biax-scrolly .scrolly__psy-track {
  flex: 1;
  height: 7px;
  border-radius: 5px;
  background: #0b1220;
  overflow: hidden;
}

#biax-scrolly .scrolly__psy-bar {
  height: 100%;
  width: 0%;
  border-radius: 5px;
}

#biax-scrolly .scrolly__psy-bar--a {
  background: #4d8bff;
}

#biax-scrolly .scrolly__psy-bar--b {
  background: #4a86f0;
}

#biax-scrolly .scrolly__psy-bar--c {
  background: #2f6bff;
}

#biax-scrolly .scrolly__psy-foot {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #5b6b8f;
  margin-top: 12px;
}

#biax-scrolly .scrolly__rule-card {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 560px;
  padding: 26px 28px;
  border: 1px solid #223458;
  border-radius: 14px;
  background: #0a1120;
  margin-bottom: 36px;
}

#biax-scrolly .scrolly__rule-copy {
  flex: 1;
}

#biax-scrolly .scrolly__rule-title {
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
}

#biax-scrolly .scrolly__rule-sub {
  font-size: 14px;
  color: #9aa3b5;
  margin-top: 6px;
}

#biax-scrolly .scrolly__toggle {
  width: 64px;
  height: 34px;
  border-radius: 20px;
  background: #141d30;
  border: 1px solid #223458;
  position: relative;
  flex-shrink: 0;
  transition: none;
}

#biax-scrolly .scrolly__toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #5b6b8f;
  transition: none;
}

#biax-scrolly .scrolly__cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 12px;
  padding: 18px 34px;
  border-radius: 12px;
  background: #2f6bff;
  color: #fff;
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(47, 107, 255, 0.4);
  opacity: 0;
  transform: translateY(16px);
}

#biax-scrolly .scrolly__cta:hover {
  color: #fff;
  text-decoration: none;
}

#biax-scrolly .scrolly__cta-arrow {
  font-family: var(--font-mono);
  font-size: 16px;
}

#biax-scrolly [data-cap] {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#biax-scrolly .scrolly__cap-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #4d8bff;
  margin-bottom: 12px;
}

#biax-scrolly .scrolly__cap-title {
  font-weight: 600;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}

#biax-scrolly .scrolly__cap-body {
  font-size: 14px;
  line-height: 1.5;
  color: #9aa3b5;
}

@media (max-width: 768px) {
  #biax-scrolly .scrolly {
    height: auto;
  }

  #biax-scrolly .scrolly__stage {
    position: static;
    height: auto;
    overflow: visible;
  }

  #biax-scrolly .scrolly__grid {
    position: static;
    display: block;
    padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1rem, 4vw, 1.5rem);
  }

  #biax-scrolly .scrolly__rail-wrap {
    display: none;
  }

  #biax-scrolly .scrolly__sets {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 7vw, 3.5rem);
    height: auto;
    overflow: visible;
    grid-column: auto;
  }

  #biax-scrolly .scrolly__set {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: min(85dvh, 720px);
    padding: clamp(1.25rem, 4vw, 1.75rem) 0;
    opacity: 0;
    visibility: visible;
    transform: translateY(22px);
    pointer-events: auto;
    overflow: hidden;
  }

  #biax-scrolly .scrolly__set[data-set="1"],
  #biax-scrolly .scrolly__set[data-set="6"] {
    min-height: 0;
    padding-block: clamp(1.5rem, 5vw, 2.25rem);
    overflow: visible;
  }

  #biax-scrolly .scrolly__set[data-set="1"] .scrolly__set-scene,
  #biax-scrolly .scrolly__set[data-set="6"] .scrolly__set-scene {
    flex: 0 0 auto;
    overflow: visible;
    padding-block: 0;
  }

  #biax-scrolly .scrolly__set[data-set="6"] .scrolly__scene-kicker--rule {
    margin-bottom: 10px;
  }

  #biax-scrolly .scrolly__set[data-set="6"] .scrolly__rule-card {
    margin-bottom: 10px;
  }

  #biax-scrolly .scrolly__set[data-set="3"],
  #biax-scrolly .scrolly__set[data-set="5"] {
    min-height: min(88dvh, 760px);
  }

  #biax-scrolly .scrolly__set.is-visible {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  }

  #biax-scrolly .scrolly__set-scene {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 0;
    opacity: 1;
    transform: none !important;
  }

  #biax-scrolly .scrolly__set-cap {
    flex: 0 0 auto;
    height: auto;
    align-self: stretch;
    overflow: hidden;
    mask-image: none;
    -webkit-mask-image: none;
    opacity: 1;
    transform: none;
  }

  #biax-scrolly .scrolly__cap-kicker {
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.18em;
    margin-bottom: 8px;
  }

  #biax-scrolly .scrolly__cap-title {
    font-size: 0.9375rem;
    line-height: 1.25;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
  }

  #biax-scrolly .scrolly__cap-body {
    font-size: 0.75rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  #biax-scrolly [data-cap] {
    justify-content: flex-start;
  }

  /* —— Scene 0 Detect —— */
  #biax-scrolly .scrolly__live {
    margin-bottom: 16px;
  }

  #biax-scrolly .scrolly__detect-alert {
    flex-wrap: wrap;
    gap: 12px;
  }

  #biax-scrolly .scrolly__ticker {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
  }

  #biax-scrolly .scrolly__progress-block {
    margin-top: 18px;
    max-width: 100%;
  }

  /* —— Scene 1 Tag —— */
  #biax-scrolly .scrolly__scene-kicker--tight {
    margin-bottom: 6px;
  }

  #biax-scrolly .scrolly__scene-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    margin-bottom: 14px;
    line-height: 1.15;
  }

  #biax-scrolly .scrolly__chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 100%;
  }

  #biax-scrolly [data-chip] {
    padding: 8px 6px;
    font-size: 0.8125rem;
    text-align: center;
  }

  /* —— Scene 2 Analyze —— */
  #biax-scrolly .scrolly__scene-kicker--spaced {
    margin-bottom: 14px;
  }

  #biax-scrolly .scrolly__metrics {
    gap: 14px;
    max-width: 100%;
  }

  #biax-scrolly .scrolly__metric-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 6px;
  }

  #biax-scrolly .scrolly__metric-label {
    font-size: 0.8125rem;
    line-height: 1.3;
  }

  #biax-scrolly .scrolly__metric-val {
    font-size: 1.125rem;
  }

  #biax-scrolly .scrolly__capture-note {
    font-size: 0.6875rem;
    margin-top: 6px;
  }

  #biax-scrolly .scrolly__note {
    margin-top: 4px;
    min-height: 20px;
  }

  #biax-scrolly .scrolly__note-text {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  /* —— Scene 3 Journal —— */
  #biax-scrolly .scrolly__scene-kicker--journal {
    margin-bottom: 10px;
  }

  #biax-scrolly .scrolly__journal {
    gap: 8px;
    max-width: 100%;
  }

  #biax-scrolly .scrolly__jrow {
    padding: 8px 0;
    gap: 10px;
  }

  #biax-scrolly .scrolly__jrow-ticker {
    font-size: 1.0625rem;
    width: 3.5rem;
    flex-shrink: 0;
  }

  #biax-scrolly .scrolly__jrow-note {
    font-size: 0.75rem;
  }

  #biax-scrolly .scrolly__jrow-pct {
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  #biax-scrolly .scrolly__jrow--featured {
    padding: 12px 14px;
  }

  #biax-scrolly .scrolly__jrow-head {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
  }

  #biax-scrolly .scrolly__jrow-head .scrolly__jrow-ticker {
    font-size: 1.25rem;
    width: auto;
  }

  #biax-scrolly .scrolly__tag-pill {
    font-size: 0.625rem;
    padding: 3px 8px;
  }

  #biax-scrolly .scrolly__jrow-quote {
    font-size: 0.8125rem;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  #biax-scrolly .scrolly__jrow-pills {
    gap: 6px;
  }

  #biax-scrolly .scrolly__stat-pill {
    font-size: 0.6875rem;
    padding: 4px 8px;
  }

  /* —— Scene 4 Home —— */
  #biax-scrolly .scrolly__scene-kicker--home {
    margin-bottom: 8px;
  }

  #biax-scrolly .scrolly__home-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  #biax-scrolly .scrolly__home-score {
    font-size: clamp(3.5rem, 18vw, 5.5rem);
  }

  #biax-scrolly .scrolly__home-delta {
    padding-bottom: 0;
  }

  #biax-scrolly .scrolly__delta-badge span {
    font-size: 0.8125rem;
  }

  #biax-scrolly .scrolly__delta-sub {
    margin-top: 6px;
    font-size: 0.6875rem;
  }

  #biax-scrolly .scrolly__spark {
    margin-top: 12px;
    height: 40px;
    gap: 6px;
  }

  #biax-scrolly .scrolly__spark span {
    width: clamp(16px, 4.5vw, 22px);
  }

  /* —— Scene 5 Insight —— */
  #biax-scrolly .scrolly__scene-kicker--insight {
    margin-bottom: 4px;
  }

  #biax-scrolly .scrolly__ins-focus {
    font-size: 0.8125rem;
    line-height: 1.35;
    margin-bottom: 10px;
    max-width: 100%;
  }

  #biax-scrolly .scrolly__ins-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }

  #biax-scrolly .scrolly__ins-label {
    margin-bottom: 8px;
    font-size: 0.625rem;
  }

  #biax-scrolly .scrolly__ins-num {
    font-size: 1.625rem;
  }

  #biax-scrolly .scrolly__ins-sub {
    font-size: 0.6875rem;
    margin-top: 2px;
  }

  #biax-scrolly .scrolly__ins-bar {
    margin-top: 8px;
  }

  #biax-scrolly .scrolly__psy {
    gap: 6px;
  }

  #biax-scrolly .scrolly__psy-label {
    width: 3.25rem;
    font-size: 0.625rem;
  }

  #biax-scrolly .scrolly__psy-foot {
    margin-top: 6px;
    font-size: 0.625rem;
  }

  /* —— Scene 6 Rule —— */
  #biax-scrolly .scrolly__scene-kicker--rule {
    margin-bottom: 12px;
  }

  #biax-scrolly .scrolly__rule-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px 16px;
    max-width: 100%;
  }

  #biax-scrolly .scrolly__rule-title {
    font-size: clamp(1rem, 4.2vw, 1.375rem);
    line-height: 1.15;
  }

  #biax-scrolly .scrolly__rule-sub {
    font-size: 0.75rem;
    margin-top: 4px;
    line-height: 1.35;
  }

  #biax-scrolly .scrolly__toggle {
    width: 52px;
    height: 28px;
    flex-shrink: 0;
  }

  #biax-scrolly .scrolly__toggle-knob {
    width: 22px;
    height: 22px;
  }

  #biax-scrolly .scrolly__cta {
    padding: 12px 20px;
    font-size: 0.9375rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #biax-scrolly .scrolly__live-dot,
  #biax-scrolly .scrolly__note-caret {
    animation: none !important;
  }

  @media (max-width: 768px) {
    #biax-scrolly .scrolly__set {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
}

body.page-landing .trial-section {
  padding: clamp(4rem, 10vw, 6rem) var(--page-pad-x);
  text-align: center;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}

body.page-landing .trial-section__inner {
  max-width: 36rem;
  margin: 0 auto;
}

body.page-landing .trial-section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

body.page-landing .trial-section__sub {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

body.page-landing .trial-section__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

body.page-landing .btn--store {
  min-width: 10.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.6875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

body.page-landing .btn--store:hover {
  border-color: var(--neon-line);
  background: rgba(77, 139, 255, 0.08);
  color: var(--text-primary);
  text-decoration: none;
}

body.page-landing .site-footer {
  border-top-color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 640px) {
  body.page-landing .hero__content {
    padding-top: 1rem;
  }

  body.page-landing .trial-section__stores {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-landing .btn--store {
    width: 100%;
  }
}
