@charset "UTF-8";
/* Mobile Live v7 — responsive and Safari-safe polish layer */

:root {
  --ml-type-caption: clamp(.75rem, .72rem + .08vw, .8125rem);
  --ml-type-label: clamp(.8125rem, .78rem + .12vw, .875rem);
  --ml-type-body: clamp(.9375rem, .9rem + .16vw, 1rem);
  --ml-type-lead: clamp(1rem, .94rem + .25vw, 1.125rem);
  --ml-type-h3: clamp(1.125rem, 1.02rem + .42vw, 1.375rem);
  --ml-type-h2: clamp(2rem, 1.55rem + 1.75vw, 3rem);
  --ml-type-hero: clamp(2.5rem, 1.95rem + 2.15vw, 3.5rem);
}

/* Content is visible by default. Motion is enhancement, never a dependency. */
.landing-v6 .rv,
.landing-v6 .rv.in,
.landing-v6 main > section {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.landing-v6 .rv,
.landing-v6 .rv.in { animation: none !important; }

/* Mobile Live identity: phone-frame ML monogram. */
.logo { gap: 10px; }
.logo-mark,
.landing-v6 .logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #32d9bd;
  border: 1px solid rgba(74, 226, 208, .28);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(17, 56, 69, .96), rgba(3, 24, 35, .98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 20px rgba(0, 211, 174, .12);
}
.logo-mark .ml-monogram,
.landing-v6 .logo-mark .ml-monogram { width: 31px; height: 31px; }
.logo-copy { display: grid; line-height: 1; }
.logo-text,
.landing-v6 .logo-text {
  color: #eaf9fb;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.logo-text b,
.landing-v6 .logo-text b { color: #39ddc1; font-weight: 800; }

.live-signal {
  width: 16px;
  height: 14px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  color: currentColor;
}
.live-signal i {
  width: 3px;
  border-radius: 3px;
  background: currentColor;
  box-shadow: 0 0 8px rgba(0, 227, 155, .3);
}
.live-signal i:nth-child(1) { height: 6px; }
.live-signal i:nth-child(2) { height: 12px; }
.live-signal i:nth-child(3) { height: 9px; }

/* Landing header: theme-aware tokens replace the legacy dark-only cosmic skin. */
body.landing-v6 {
  --ml-header-bg: rgba(247, 249, 255, .94);
  --ml-header-bg-stuck: rgba(255, 255, 255, .97);
  --ml-header-surface: var(--v6-card);
  --ml-header-text: var(--v6-ink);
  --ml-header-muted: var(--v6-text);
  --ml-header-border: var(--v6-line);
  --ml-header-hover: var(--v6-bg-soft);
  --ml-header-accent: var(--v6-primary-deep);
  --ml-header-logo-bg: #e8fbf7;
  --ml-header-logo-color: #087f70;
  --ml-header-focus: #123dcc;
  --ml-header-shadow: 0 14px 34px -27px rgba(18, 39, 85, .38);
  color-scheme: light;
}
:root[data-theme="dark"] body.landing-v6 {
  --ml-header-bg: rgba(7, 16, 36, .93);
  --ml-header-bg-stuck: rgba(14, 28, 56, .97);
  --ml-header-logo-bg: #0d302e;
  --ml-header-logo-color: #55e1c7;
  --ml-header-focus: #7ff7e5;
  --ml-header-shadow: 0 18px 40px -28px rgba(0, 0, 0, .9);
  color-scheme: dark;
}
.landing-v6 .nav,
.landing-v6 .nav.stuck {
  height: 70px;
  padding: 0;
  color: var(--ml-header-text);
  border-bottom: 1px solid var(--ml-header-border);
  background: var(--ml-header-bg);
  box-shadow: var(--ml-header-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}
.landing-v6 .nav.stuck { background: var(--ml-header-bg-stuck); }
.landing-v6 .nav > .wrap,
.landing-v6 .nav.stuck > .wrap {
  width: min(1240px, calc(100% - 48px));
  height: 70px;
  min-height: 70px;
  padding: 0;
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.landing-v6 .nav .logo-mark {
  width: 38px;
  height: 38px;
  color: var(--ml-header-logo-color);
  border-color: color-mix(in srgb, var(--ml-header-logo-color) 30%, transparent);
  background: var(--ml-header-logo-bg);
  box-shadow: none;
}
.landing-v6 .nav .logo-text { color: var(--ml-header-text); }
.landing-v6 .nav .logo-text b { color: var(--ml-header-logo-color); }
.landing-v6 .market-status {
  color: var(--ml-header-muted);
  border-color: var(--ml-header-border);
  background: var(--ml-header-surface);
  box-shadow: none;
}
.landing-v6 .nav-links { border: 0; background: transparent; }
.landing-v6 .nav-links a { color: var(--ml-header-muted); }
.landing-v6 .nav-links a:hover,
.landing-v6 .nav-links a.on,
.landing-v6 .nav-links a[aria-current="page"] {
  color: var(--ml-header-accent);
  background: var(--ml-header-hover);
}
.landing-v6 .nav-search,
.landing-v6 .ibtn,
.landing-v6 .btn-ghost,
.landing-v6 .user-chip {
  color: var(--ml-header-text);
  border-color: var(--ml-header-border);
  background: var(--ml-header-surface);
  box-shadow: none;
}
.landing-v6 .nav-search kbd {
  color: var(--ml-header-accent);
  border-color: var(--ml-header-border);
  background: var(--ml-header-hover);
}
.landing-v6 .nav-search:hover,
.landing-v6 .ibtn:hover,
.landing-v6 .btn-ghost:hover,
.landing-v6 .user-chip:hover {
  color: var(--ml-header-accent);
  border-color: var(--ml-header-accent);
  background: var(--ml-header-hover);
}
.landing-v6 .nav-actions > .btn-live {
  color: #fff !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--v6-primary), var(--v6-primary-deep)) !important;
  box-shadow: 0 10px 24px rgba(53, 71, 210, .22) !important;
}
.landing-v6 #themeBtn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: grid !important;
  place-items: center;
}
.landing-v6 #themeBtn:focus-visible {
  outline: 3px solid var(--ml-header-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--ml-header-surface);
}
.landing-v6 .mobile-dock {
  color: var(--ml-header-muted);
  border-color: var(--ml-header-border);
  background: var(--ml-header-bg-stuck);
}
.landing-v6 .mobile-dock a,
.landing-v6 .mobile-dock button { color: var(--ml-header-muted); }
.landing-v6 .mobile-dock a.on,
.landing-v6 .mobile-dock a[aria-current="page"] {
  color: var(--ml-header-accent);
  background: var(--ml-header-hover);
}
.landing-v6 .mobile-dock .dock-action {
  color: #fff;
  background: linear-gradient(135deg, var(--v6-primary), var(--v6-primary-deep));
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  .landing-v6 .nav .logo-mark { border-color: var(--ml-header-border); }
}

@media (max-width: 800px) {
  .landing-v6 .nav > .wrap,
  .landing-v6 .nav.stuck > .wrap { width: calc(100% - 28px); gap: 8px; }
  .landing-v6 .nav-actions { margin-inline-start: auto; gap: 6px; }
  .landing-v6 .nav-links {
    inset: 70px 12px auto;
    padding: 10px;
    color: var(--ml-header-text);
    border: 1px solid var(--ml-header-border);
    border-radius: 16px;
    background: var(--ml-header-bg-stuck);
    visibility: hidden;
    pointer-events: none;
  }
  .landing-v6 .nav-links.open { visibility: visible; pointer-events: auto; }
  .landing-v6 .nav-links a { min-height: 46px; }
}

@media (max-width: 680px) {
  .landing-v6 .nav,
  .landing-v6 .nav.stuck,
  .landing-v6 .nav > .wrap,
  .landing-v6 .nav.stuck > .wrap { height: 60px; min-height: 60px; }
  .landing-v6 .nav-links { inset-block-start: 60px; }
  .landing-v6 .nav .logo-mark { width: 36px; height: 36px; }
}

@media (max-width: 520px) {
  .landing-v6 .nav-actions > .btn-live { display: none !important; }
}

@media (max-width: 350px) {
  .landing-v6 .nav .logo-copy { display: none; }
}

/* A restrained, readable type scale across landing content. */
.landing-v6 { font-size: var(--ml-type-body); }
.landing-v6 .cosmic-hero h1 {
  max-width: 820px;
  margin-inline: auto;
  font-size: var(--ml-type-hero) !important;
  line-height: 1.2;
  letter-spacing: -.055em;
}
.landing-v6 :where(.cosmic-section-head h2,.story-copy h2,.cosmic-lab-copy h2,.advantage-content h2,.cosmic-proof h2,.faq-copy h2,.final-copy h2) {
  font-size: var(--ml-type-h2) !important;
  line-height: 1.3;
  letter-spacing: -.04em;
}
.landing-v6 .cosmic-market-head h2 { font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.65rem) !important; }
.landing-v6 :where(.cosmic-hero-lead,.cosmic-centered>p,.story-copy>p,.cosmic-lab-copy>p,.faq-copy>p,.final-copy>p) {
  font-size: var(--ml-type-lead) !important;
  line-height: 1.95;
}
.landing-v6 :where(.cosmic-kicker,.cosmic-eyebrow,.cosmic-market-status,.source-band-label,.cosmic-board-tabs button,.cosmic-board-tools>a,.cosmic-text-link,.faq-copy>a,.deck-insight>a) {
  font-size: var(--ml-type-label) !important;
}
.landing-v6 :where(.cosmic-btn,.cosmic-trust,.story-copy li,.advantage-grid p,.price-card li,.faq-list p) {
  font-size: var(--ml-type-body) !important;
}
.landing-v6 :where(.advantage-grid h3,.price-card h3,.faq-list summary b) { font-size: var(--ml-type-h3) !important; }

/* Readable market table and product-demo microcopy. */
.landing-v6 .cosmic-table thead,
.landing-v6 .cosmic-table th { font-size: var(--ml-type-caption) !important; }
.landing-v6 .cosmic-table td,
.landing-v6 .market-product b,
.landing-v6 .cosmic-table td:nth-child(2) strong { font-size: var(--ml-type-label) !important; }
.landing-v6 :where(.market-product small,.cosmic-table td:nth-child(2) small,.confidence-num,.cosmic-board-foot) {
  font-size: var(--ml-type-caption) !important;
}
.landing-v6 .row-action { width: 42px; height: 42px; }
.landing-v6 .cosmic-board-tabs button { min-height: 42px; }

.landing-v6 :where(.deck-side nav button,.deck-health>span,.deck-head small,.deck-kpis span,.deck-kpis small,.deck-card-head small,.deck-insight small,.deck-insight p,.raw-tag,.engine-core small,.clean-product small,.clean-product em,.story-metrics small,.lab-disclaimer) {
  font-size: .75rem !important;
}
.landing-v6 :where(.deck-brand b,.deck-head h3,.deck-kpis strong,.deck-card-head b,.deck-insight h4,.engine-core b,.clean-product b) {
  font-size: .875rem !important;
}
.landing-v6 .deck-logo::before,
.landing-v6 .deck-logo::after { display: none; }
.landing-v6 .deck-logo { color: #022b25; display: grid; place-items: center; }
.landing-v6 .deck-logo svg { width: 30px; height: 30px; }

/* Hero height works with both modern and older iOS viewport implementations. */
.landing-v6 .cosmic-hero {
  min-height: clamp(760px, calc(100svh - 97px), 920px);
  padding-block: clamp(58px, 7vw, 84px) 74px;
}
@supports not (height: 100svh) {
  .landing-v6 .cosmic-hero { min-height: clamp(760px, calc(100vh - 97px), 920px); }
}
.landing-v6 .cosmic-scroll-cue {
  bottom: 24px;
  display: grid;
  gap: 8px;
  color: #8ab0ba;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.landing-v6 .cosmic-scroll-cue small { font-size: inherit; }
.landing-v6 .cosmic-scroll-cue > span { width: 28px; height: 46px; border-radius: 15px; border-color: rgba(120, 216, 224, .4); }
.landing-v6 .cosmic-scroll-cue > span::after { width: 4px; height: 8px; top: 8px; left: 11px; }

/* Continuous market-coverage carousel. */
.landing-v6 .market-coverage-carousel {
  height: auto;
  min-height: 136px;
  padding-block: 19px;
  overflow: hidden;
  border-block-color: rgba(98, 205, 216, .16);
}
.landing-v6 .market-coverage-carousel > .cosmic-wrap {
  min-height: 96px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
}
.landing-v6 .source-band-label { display: grid; gap: 5px; color: #c4e4e8; font-weight: 750; }
.landing-v6 .source-band-label small { color: #698c96; font-size: var(--ml-type-caption); font-weight: 500; }
.landing-v6 .source-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.landing-v6 .source-marquee .marquee-track {
  min-width: max-content;
  display: flex;
  align-items: stretch;
  gap: 12px;
  animation: ml-coverage-scroll 34s linear infinite;
  will-change: transform;
}
.landing-v6 .source-marquee:where(:hover,:focus-within) .marquee-track { animation-play-state: paused; }
.landing-v6 .source-marquee .coverage-card {
  width: 210px;
  height: 78px;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  gap: 0 10px;
  border: 1px solid rgba(124, 204, 216, .13);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  color: #b6d3d8;
  white-space: nowrap;
}
.landing-v6 .source-marquee .coverage-card > i {
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(37, 215, 177, .09);
  color: #43d8c0;
  font: 700 .72rem/1 monospace;
}
.landing-v6 .source-marquee .coverage-card > b { align-self: end; font-size: .875rem; }
.landing-v6 .source-marquee .coverage-card > small { align-self: start; color: #64858e; font-size: .75rem; }
@keyframes ml-coverage-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(50%,0,0); } }

/* Desktop footer is explicitly four columns; mobile keeps the stacked pattern. */
@media (min-width: 901px) {
  .foot .foot-grid {
    display: grid !important;
    grid-template-columns: minmax(300px, 1.7fr) repeat(3, minmax(140px, .8fr)) !important;
    gap: clamp(28px, 4vw, 58px) !important;
    align-items: start;
  }
  .foot .foot-grid > div { min-width: 0; }
}
.foot .foot-grid p,
.foot .foot-grid a { font-size: .875rem; line-height: 1.9; }
.foot .foot-grid h4 { font-size: 1rem; }

@media (max-width: 900px) {
  .landing-v6 .cosmic-hero { min-height: auto; padding-block: 58px 72px; }
  .landing-v6 .cosmic-scroll-cue { display: none; }
  .landing-v6 .market-coverage-carousel > .cosmic-wrap { grid-template-columns: 1fr; gap: 12px; }
  .landing-v6 .source-band-label { display: flex; align-items: baseline; justify-content: space-between; }
}

@media (max-width: 640px) {
  :root {
    --ml-type-hero: clamp(2.15rem, 1.75rem + 2vw, 2.75rem);
    --ml-type-h2: clamp(1.75rem, 1.55rem + 1vw, 2.1rem);
  }
  .landing-v6 .cosmic-hero h1 { line-height: 1.28; letter-spacing: -.04em; }
  .landing-v6 .cosmic-hero-lead { font-size: .9375rem !important; }
  .landing-v6 .cosmic-trust { font-size: .8125rem !important; }
  .landing-v6 .market-coverage-carousel { min-height: 126px; padding-block: 15px; }
  .landing-v6 .source-marquee .coverage-card { width: 190px; height: 72px; }
  .landing-v6 .source-band-label small { display: none; }
  .logo-mark,.landing-v6 .logo-mark { width: 36px; height: 36px; }
  .logo-text,.landing-v6 .logo-text { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-v6 .source-marquee .marquee-track { animation-play-state: paused; }
}
