/* Generated by scripts/build-marketing-css.mjs. Edit the source stylesheets. */
/* User-supplied design tokens. Complete upstream declaration inventory is retained in RECON. */
@font-face { font-family: arcadia; src: url('./arcadia.woff2') format('woff2'); font-weight: 360 500; font-display: swap; }
@font-face { font-family: arcadiaDisplay; src: url('./arcadia-display.woff2') format('woff2'); font-weight: 320 480; font-display: swap; }
@font-face { font-family: arcadia; src: url('./arcadia-latin.woff2') format('woff2'); font-weight: 360 500; font-display: swap; unicode-range: U+0020-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: arcadiaDisplay; src: url('./arcadia-display-latin.woff2') format('woff2'); font-weight: 320 480; font-display: swap; unicode-range: U+0020-00FF, U+2000-206F, U+2190-21FF; }
:root {
  --color-onyx-canvas: #171721;
  --color-graphite-card: #1e1e2a;
  --color-obsidian-button: #272735;
  --color-slate-border: #70707d;
  --color-mist-border: #e2e3ed;
  --color-ash-text: #c3c3cc;
  --color-ivory-text: #ededf3;
  --color-cobalt: #5266eb;
  --color-pure-white: #ffffff;
  --font-arcadia: 'arcadia', sans-serif;
  --font-arcadiadisplay: 'arcadiaDisplay', sans-serif;
  --typography-xs-font-family: arcadia;
  --typography-xs-font-size: 12px;
  --typography-xs-font-weight: 480;
  --typography-xs-line-height: 1;
  --typography-xs-2-font-family: arcadia;
  --typography-xs-2-font-size: 12px;
  --typography-xs-2-font-weight: 400;
  --typography-xs-2-line-height: 1.4;
  --typography-xs-3-font-family: arcadia;
  --typography-xs-3-font-size: 12px;
  --typography-xs-3-font-weight: 480;
  --typography-xs-3-line-height: 1.4;
  --typography-sm-font-family: arcadia;
  --typography-sm-font-size: 14px;
  --typography-sm-font-weight: 420;
  --typography-sm-line-height: 1;
  --typography-base-font-family: arcadia;
  --typography-base-font-size: 16px;
  --typography-base-font-weight: 400;
  --typography-base-line-height: 1.5;
  --typography-base-2-font-family: arcadia;
  --typography-base-2-font-size: 16px;
  --typography-base-2-font-weight: 420;
  --typography-base-2-line-height: 1;
  --typography-base-3-font-family: arcadia;
  --typography-base-3-font-size: 16px;
  --typography-base-3-font-weight: 480;
  --typography-base-3-line-height: 1.35;
  --typography-base-4-font-family: arcadia;
  --typography-base-4-font-size: 16px;
  --typography-base-4-font-weight: 400;
  --typography-base-4-line-height: 1.4;
  --typography-lg-font-family: arcadia;
  --typography-lg-font-size: 18px;
  --typography-lg-font-weight: 480;
  --typography-lg-line-height: 1.35;
  --typography-lg-2-font-family: arcadia;
  --typography-lg-2-font-size: 18px;
  --typography-lg-2-font-weight: 360;
  --typography-lg-2-line-height: 1.35;
  --typography-xl-font-family: arcadia;
  --typography-xl-font-size: 21px;
  --typography-xl-font-weight: 360;
  --typography-xl-line-height: 1.35;
  --typography-xl-2-font-family: arcadiaDisplay;
  --typography-xl-2-font-size: 21px;
  --typography-xl-2-font-weight: 480;
  --typography-xl-2-line-height: 1.2;
  --typography-xl-3-font-family: arcadia;
  --typography-xl-3-font-size: 21px;
  --typography-xl-3-font-weight: 480;
  --typography-xl-3-line-height: 1.2;
  --typography-2xl-font-family: arcadiaDisplay;
  --typography-2xl-font-size: 24px;
  --typography-2xl-font-weight: 480;
  --typography-2xl-line-height: 1.2;
  --typography-2xl-2-font-family: arcadiaDisplay;
  --typography-2xl-2-font-size: 28px;
  --typography-2xl-2-font-weight: 480;
  --typography-2xl-2-line-height: 1.2;
  --typography-2xl-3-font-family: arcadiaDisplay;
  --typography-2xl-3-font-size: 28px;
  --typography-2xl-3-font-weight: 360;
  --typography-2xl-3-line-height: 1.2;
  --typography-3xl-font-family: arcadiaDisplay;
  --typography-3xl-font-size: 32px;
  --typography-3xl-font-weight: 480;
  --typography-3xl-line-height: 1.15;
  --typography-4xl-font-family: arcadiaDisplay;
  --typography-4xl-font-size: 42px;
  --typography-4xl-font-weight: 480;
  --typography-4xl-line-height: 1.15;
  --typography-4xl-2-font-family: arcadiaDisplay;
  --typography-4xl-2-font-size: 42px;
  --typography-4xl-2-font-weight: 530;
  --typography-4xl-2-line-height: 1.15;
  --typography-5xl-font-family: arcadiaDisplay;
  --typography-5xl-font-size: 49px;
  --typography-5xl-font-weight: 480;
  --typography-5xl-line-height: 1.1;
  --typography-5xl-2-font-family: arcadiaDisplay;
  --typography-5xl-2-font-size: 65px;
  --typography-5xl-2-font-weight: 480;
  --typography-5xl-2-line-height: 1.1;
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-56: 56px;
  --spacing-72: 72px;
  --spacing-112: 112px;
  --spacing-128: 128px;
  --spacing-unit: 4px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-3xl: 32px;
  --radius-3xl-2: 40px;
  --surface-onyx-canvas: #171721;
  --surface-graphite-card: #1e1e2a;
  --surface-obsidian-button: #272735;
  --page-max-width: 1200px;
  --section-gap: 72px;
  --card-padding: 32px;
  --element-gap: 12px;
  --text-display: 65px;
  --radius-buttons: 32px;
  --radius-cards: 12px;
  --font-arcadia-display: var(--font-arcadiadisplay);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--color-onyx-canvas); color: var(--color-ivory-text); font-family: var(--font-arcadia); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--color-ivory-text); outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--color-onyx-canvas); padding: 12px 20px; border-radius: 32px; }
.skip-link:focus { top: 12px; }
.site-nav { height: 72px; padding: 0 clamp(24px, 3.3vw, 64px); display: flex; align-items: center; gap: 40px; position: fixed; z-index: 20; width: 100%; transition: background .3s; }
.site-nav.scrolled { background: rgb(23 23 33 / .88); backdrop-filter: blur(20px); height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.15; }
.brand > span { font-size: 14px; letter-spacing: .19em; font-weight: 480; white-space: nowrap; }
.site-nav nav { display: flex; align-items: center; gap: 30px; margin: auto; }
.site-nav nav a, .text-button { font-size: 14px; }
.site-nav nav a { white-space: nowrap; }
.site-nav nav a span { margin-left: 6px; opacity: .6; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.text-button { color: inherit; background: none; padding: 0; border: 0; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 24px; border: 0; border-radius: var(--radius-buttons); font-weight: 400; font-size: 15px; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-1px); }
.primary { background: var(--color-cobalt); color: var(--color-pure-white); }
.primary:hover { background: #4558d5; }
.button:active { transform: translateY(1px); }
.button span { font-size: 18px; }
.button span:has(.icon), .scroll-cue span:has(.icon) { display: inline-flex; align-items: center; }
.menu-toggle { display: none; background: none; color: inherit; border: 0; width: 40px; height: 40px; padding: 10px; }
.hero { position: relative; height: 330vh; height: 330svh; }
.hero-stage { --scene-extra-height: 0px; height: 100vh; height: 100svh; min-height: 650px; position: sticky; top: 0; overflow: hidden; isolation: isolate; }
.landscape { position: absolute; inset: 0; overflow: hidden; z-index: -3; pointer-events: none; } /* decoration: its transformed video layer can win hit-testing over the dashboard on top of it */
.landscape img { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% + var(--scene-extra-height)); max-width: none; object-fit: cover; object-position: center; will-change: transform; }
.fog-toggle { position: absolute; right: 18px; bottom: 18px; z-index: 4; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgb(237 237 243 / .24); border-radius: 999px; background: rgb(18 20 27 / .22); color: #fff; opacity: .7; transition: opacity 160ms ease, background-color 160ms ease; }
.fog-toggle:hover, .fog-toggle:focus-visible { opacity: 1; background: rgb(18 20 27 / .62); }
.fog-toggle.fog-toggle-hidden { opacity: 0; pointer-events: none; }
.fog-toggle span { position: relative; width: 10px; height: 12px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.fog-toggle[aria-pressed="true"] span { width: 0; height: 0; margin-left: 2px; border: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgb(20 23 34 / .42) 0%, rgb(20 23 34 / .48) 40%, rgb(20 23 34 / .10) 60%, rgb(16 24 27 / .30) 82%, rgb(16 24 27 / .62) 100%); pointer-events: none; }
.hero-copy { position: absolute; top: clamp(105px, 12vh, 148px); width: calc(100% - 48px); max-width: 1000px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 2; will-change: opacity; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.invite-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; padding: 5px 12px; border: 1px solid rgb(237 237 243 / .35); border-radius: 40px; margin-bottom: 16px; background: rgb(23 23 33 / .18); }
.invite-tag .icon { width: 13px; height: 13px; }
::selection { background: #5266eb; color: #fff; }
* { scrollbar-color: #484854 #171721; scrollbar-width: thin; }
input { caret-color: var(--color-ivory-text); }
.hero h1 { font-family: var(--font-arcadiadisplay); font-size: clamp(40px, 4.1vw, 65px); font-weight: 480; line-height: 1.08; letter-spacing: -.02em; margin: 0 auto 20px; max-width: 990px; text-wrap: balance; }
.hero h1 span { white-space: nowrap; }
.hero-description { max-width: 725px; margin: 0 auto; line-height: 1.5; font-size: 17px; text-wrap: pretty; }
.hero-description > span { display: inline-block; margin-top: 4px; }
.hero-conversion { margin-top: 24px; }
.hero-conversion .button { min-height: 50px; padding-inline: 26px; }
.hero-conversion p { font-size: 12px; margin: 9px 0 0; opacity: .85; }
.hero-conversion .bison-api-note { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; opacity: 1; }
.hero-conversion .bison-api-note { flex-wrap: wrap; gap: 4px 12px; }
.bison-key-note { display: inline-flex; align-items: center; gap: 8px; }
.bison-api-note img { display: block; width: 95px; height: 24px; object-fit: contain; }
.hero-bottom { position: absolute; bottom: 25px; left: 24px; right: 24px; text-align: center; z-index: 3; }
.scroll-cue { border: 0; background: none; color: inherit; font-size: 12px; display: inline-flex; gap: 16px; align-items: center; padding: 5px 0; }
.scroll-cue span { font-size: 19px; }
.dashboard-world { width: 1200px; height: 750px; position: absolute; top: 0; left: 0; transform: translate3d(50vw, 60svh, 0) translate(-50%, -50%) scale(.045); transform-origin: center; z-index: 1; border-radius: 12px; overflow: hidden; background: var(--color-onyx-canvas); will-change: transform; }
#dashboard-mount { height: 100%; width: 100%; }
.dashboard-caption { position: absolute; left: 24px; right: 24px; bottom: 18px; text-align: center; opacity: 0; pointer-events: none; }
.dashboard-caption > span { font-size: 11px; letter-spacing: .14em; color: var(--color-ash-text); }
.dashboard-caption p { font-size: 12px; color: var(--color-ash-text); margin: 6px 0 2px; }
.dashboard-caption .scroll-cue { font-size: 11px; }
.eyebrow { font-size: 11px; letter-spacing: .15em; color: var(--color-ash-text); }
.no-script { padding: 72px 32px; }
@media (min-width: 1600px) { .hero-copy { top: 15vh; } }
@media (min-width: 761px) and (max-height: 800px) {
  .hero-copy { top: 92px; }
  .hero h1 { font-size: 44px; margin-bottom: 12px; }
  .invite-tag { margin-bottom: 8px; padding-block: 3px; }
  .hero-description { font-size: 15px; line-height: 1.4; }
  .hero-conversion { margin-top: 16px; }
  .hero-conversion .button { min-height: 44px; padding-block: 10px; }
}
@media (max-width: 1180px) { .site-nav { gap: 24px; } .site-nav nav { gap: 20px; } .nav-actions .text-button { display: none; } }
@media (max-width: 760px) {
  .site-nav, .site-nav.scrolled { height: 104px; padding: 0 22px; gap: 16px; align-content: start; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 58px 46px; column-gap: 16px; row-gap: 0; background: rgb(23 23 33 / .94); }
  .brand svg { width: 31px; height: 31px; }
  .brand > span { font-size: 12px; }
  .nav-actions { margin-left: auto; }
  .nav-cta { min-height: 36px; padding: 8px 14px; font-size: 12px; }
  .nav-cta span { display: none; }
  .menu-toggle { display: none; }
  .site-nav nav, .site-nav nav.open { display: grid; grid-template-columns: repeat(4, 1fr); grid-column: 1 / -1; grid-row: 2; position: static; width: 100%; height: 46px; margin: 0; padding: 0; gap: 0; background: transparent; border-top: 1px solid rgb(237 237 243 / .13); }
  .site-nav nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 12px; }
  .nav-actions { grid-column: 2; grid-row: 1; }
  html { scroll-padding-top: 120px; }
  .hero-stage { min-height: 100svh; }
  .hero-copy { top: 116px; width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(30px, 7vw, 42px); line-height: 1.06; max-width: 640px; margin-bottom: 13px; }
  .hero-description { font-size: 13px; max-width: 570px; line-height: 1.4; }
  .hero-conversion { margin-top: 16px; }
  .hero-conversion .button { max-width: 100%; font-size: 12px; min-height: 44px; padding: 10px 16px; }
  .hero-bottom { bottom: 10px; left: 12px; right: 12px; }
  .dashboard-caption p { font-size: 11px; }
  .fog-toggle { right: 10px; bottom: 10px; }
}
@media (max-width: 420px) {
  .site-nav { padding: 0 12px; column-gap: 8px; row-gap: 0; }
  .brand { gap: 7px; }
  .brand > span { letter-spacing: .03em; font-size: 11px; }
  .hero h1 { font-size: 30px; }
  .hero-copy { top: 114px; }
  .hero-description br { display: none; }
  .hero-conversion .button { font-size: 12px; gap: 8px; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .hero-stage { --scene-extra-height: 88px; }
  .hero h1 { font-size: 28px; }
  .hero-description { font-size: 12.5px; }
  .hero-conversion { margin-top: 12px; }
  .invite-tag { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero { height: auto; }
  .hero-stage { position: relative; height: auto; padding-bottom: 120px; }
  .hero-copy { position: relative; left: auto; transform: none; top: auto; margin: 112px auto 280px; }
  .landscape { height: 780px; }
  .dashboard-world { position: relative; top: auto !important; left: auto !important; transform: none !important; width: calc(100% - 32px) !important; height: 750px !important; margin: 0 16px; }
  .hero-bottom { display: none; }
  .dashboard-caption { opacity: 1; pointer-events: auto; }
}

@media (max-width: 360px) {
  .hero-conversion .bison-api-note { font-size: 11px; gap: 6px; }
  .bison-key-note { gap: 4px; }
  .bison-key-note img { width: 75px; height: 20px; }
}

.ml-dashboard-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  border-radius: inherit;
  background: #171721;
  color-scheme: dark;
}

.ml-sections {
  --ml-canvas: #171721;
  --ml-card: #1e1e2a;
  --ml-control: #272735;
  --ml-text: #ededf3;
  --ml-body: #c3c3cc;
  --ml-muted: #9d9daa;
  --ml-accent: #5266eb;
  --ml-accent-strong: #6e7ff0;
  --ml-danger: #df725b;
  --ml-clear: #5aa971;
  --ml-border: #2e2e3c;
  --ml-border-strong: #4a4a5a;
  overflow: hidden;
  background: var(--ml-canvas);
  color: var(--ml-text);
  font-family: var(--font-arcadia, Arcadia, sans-serif);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.ml-sections *,
.ml-sections *::before,
.ml-sections *::after { box-sizing: border-box; }
.ml-sections a { color: inherit; }
.ml-sections button { font: inherit; }
.ml-sections [hidden] { display: none !important; }
.ml-sections .ml-shell { width: min(100% - 48px, 1200px); margin-inline: auto; }
.ml-sections .ml-section { padding-block: clamp(104px, 10vw, 148px); border-top: 1px solid var(--ml-border); }
.ml-sections h2,
.ml-sections h3,
.ml-sections p { margin-top: 0; }
.ml-sections h2 {
  max-width: 940px;
  margin-bottom: 0;
  font-family: var(--font-arcadiadisplay, var(--font-arcadia, Arcadia, sans-serif));
  font-size: clamp(3rem, 5.25vw, 4.7rem);
  font-weight: 420;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.ml-sections .ml-editorial-head,
.ml-sections .ml-observe-heading,
.ml-sections .ml-scale-head { max-width: 860px; margin-bottom: clamp(54px, 7vw, 82px); }
.ml-sections .ml-editorial-head > p,
.ml-sections .ml-observe-heading > p,
.ml-sections .ml-scale-head > p,
.ml-sections .ml-section-copy > p {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--ml-body);
  font-size: clamp(1.03rem, 1.3vw, 1.2rem);
  line-height: 1.58;
}
.ml-sections .ml-feature-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 27px; }
.ml-sections .ml-feature-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ml-border-strong);
  color: var(--ml-text);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}
.ml-sections .ml-feature-links a:hover { border-color: var(--ml-accent); color: var(--ml-accent-strong); }

.ml-sections .ml-stage-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding-inline: 4px;
  border-top: 1px solid var(--ml-border-strong);
  border-bottom: 1px solid var(--ml-border);
  color: var(--ml-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ml-sections .ml-product-shot { margin: 0; }
.ml-sections .ml-shot-frame { overflow: hidden; border: 1px solid var(--ml-border-strong); border-radius: 14px; background: var(--ml-card); }
.ml-sections .ml-shot-frame img { display: block; width: 100%; height: auto; }
.ml-sections .ml-product-shot figcaption { margin-top: 15px; color: var(--ml-muted); font-size: 11px; }
.ml-sections .ml-product-shot figcaption strong { color: var(--ml-body); font-weight: 500; }
.ml-sections .ml-identity-origin span,
.ml-sections .ml-identity-output span,
.ml-sections .ml-automation-rail span { display: block; margin-bottom: 7px; color: var(--ml-muted); font-size: 11px; }
.ml-sections .ml-identity-origin strong { font-size: 21px; font-weight: 500; letter-spacing: -0.025em; }
.ml-sections .ml-live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ml-clear); }

.ml-sections .ml-stealth { background: var(--ml-card); }
.ml-sections .ml-split { display: grid; grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr); gap: clamp(58px, 9vw, 126px); align-items: center; }
.ml-sections .ml-section-copy h2 { font-size: clamp(2.9rem, 4.6vw, 4.25rem); }
.ml-sections .ml-identity-stack { border-bottom: 1px solid var(--ml-border-strong); }
.ml-sections .ml-identity-origin { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 28px; padding: 31px 4px 25px; border-bottom: 1px solid var(--ml-border); }
.ml-sections .ml-identity-origin small,
.ml-sections .ml-identity-output small { display: block; margin-top: 5px; color: var(--ml-muted); font-size: 11px; }
.ml-sections .ml-mask-route { display: flex; align-items: center; gap: 14px; margin: 22px 4px; color: var(--ml-muted); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.ml-sections .ml-mask-route i { height: 1px; flex: 1; background: var(--ml-border-strong); }
.ml-sections .ml-mask-route i:last-child { background: var(--ml-accent); }
.ml-sections .ml-identity-output { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ml-border); }
.ml-sections .ml-identity-output > div { min-width: 0; padding: 24px 20px 22px; }
.ml-sections .ml-identity-output > div + div { border-left: 1px solid var(--ml-border); }
.ml-sections .ml-identity-output strong { overflow-wrap: anywhere; font-size: 14px; font-weight: 500; }

.ml-sections .ml-observability { background: #1a1a25; }
.ml-sections .ml-observe-heading { max-width: 960px; }
.ml-sections .ml-observe-heading h2 { font-size: clamp(2.75rem, 4.75vw, 4.35rem); line-height: 1.02; }
.ml-sections .ml-alert-workspace {
  overflow: hidden;
  border: 1px solid var(--ml-border-strong);
  border-radius: 14px;
  background: var(--ml-card);
  box-shadow: 0 24px 70px rgb(5 4 3 / 0.2);
}
.ml-sections .ml-workspace-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--ml-border); background: var(--ml-canvas); }
.ml-sections .ml-workspace-tab {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  border-right: 1px solid var(--ml-border);
  border-radius: 0;
  background: transparent;
  color: var(--ml-text);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}
.ml-sections .ml-workspace-tab:hover { background: var(--ml-card); }
.ml-sections .ml-workspace-tab:active { transform: translateY(1px); }
.ml-sections .ml-workspace-tab:last-child { border-right: 0; }
.ml-sections .ml-workspace-tab.is-active { background: var(--ml-card); }
.ml-sections .ml-workspace-tab.is-active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--ml-accent); }
.ml-sections .ml-workspace-tab span { font-size: 14px; font-weight: 500; }
.ml-sections .ml-workspace-tab small { color: var(--ml-muted); font-size: 11px; }
.ml-sections .ml-alert-preview { min-width: 0; }
.ml-sections .ml-alert-preview > .ml-stage-rail { padding-inline: 30px; border-top: 0; }
.ml-sections .ml-workspace-panel { min-height: 544px; padding: 34px 30px; }

.ml-sections .ml-native { background: var(--ml-canvas); }
.ml-sections .ml-split-reverse { grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr); }
.ml-sections .ml-bison-field { border-bottom: 1px solid var(--ml-border-strong); background: var(--ml-card); }
.ml-sections .ml-bison-field > .ml-stage-rail { padding-inline: 4px; }
.ml-sections .ml-bison-field > img { display: block; width: min(68%, 440px); height: auto; margin: 82px auto 75px; }
.ml-sections .ml-bison-status { display: flex; align-items: center; gap: 12px; padding: 18px 4px; border-top: 1px solid var(--ml-border); }
.ml-sections .ml-bison-status p { margin: 0; }
.ml-sections .ml-bison-status strong,
.ml-sections .ml-bison-status small { display: block; }
.ml-sections .ml-bison-status strong { font-size: 12px; font-weight: 500; }
.ml-sections .ml-bison-status small { margin-top: 3px; color: var(--ml-muted); font-size: 11px; }

.ml-sections .ml-scale { background: var(--ml-card); }
.ml-sections .ml-scale-head { max-width: 900px; }
.ml-sections .ml-automation-figure { margin: 0; }
.ml-sections .ml-automation-rail { display: grid; grid-template-columns: 1fr 54px 1fr 54px 1fr; align-items: stretch; border-top: 1px solid var(--ml-border-strong); border-bottom: 1px solid var(--ml-border-strong); }
.ml-sections .ml-automation-rail > div { min-height: 208px; padding: 29px 4px 27px; }
.ml-sections .ml-automation-rail strong { display: block; margin-top: 55px; font-family: var(--font-arcadiadisplay, sans-serif); font-size: 23px; font-weight: 420; letter-spacing: -0.03em; }
.ml-sections .ml-automation-rail small { display: block; max-width: 230px; margin-top: 10px; color: var(--ml-muted); font-size: 11px; line-height: 1.5; }
.ml-sections .ml-automation-rail > i { position: relative; align-self: center; height: 1px; background: var(--ml-border-strong); }
.ml-sections .ml-automation-rail > i::after { content: ""; position: absolute; top: -3px; right: 0; width: 7px; height: 7px; border-top: 1px solid var(--ml-muted); border-right: 1px solid var(--ml-muted); transform: rotate(45deg); }
.ml-sections .ml-automation-figure figcaption { margin-top: 14px; color: var(--ml-muted); font-size: 11px; }

.ml-sections .ml-comparison { background: var(--ml-canvas); }
.ml-sections .ml-comparison-head { max-width: 900px; margin: 0 auto clamp(48px, 7vw, 76px); text-align: center; }
.ml-sections .ml-comparison-head h2 { max-width: 900px; font-size: clamp(2.45rem, 4vw, 3.35rem); line-height: 1.04; }
.ml-sections .ml-comparison-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border-top: 1px solid var(--ml-border-strong); border-bottom: 1px solid var(--ml-border-strong); scrollbar-color: var(--ml-border-strong) var(--ml-canvas); }
.ml-sections .ml-comparison-scroll:focus-visible { outline: 2px solid var(--ml-accent); outline-offset: 5px; }
.ml-sections .ml-comparison-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 16px; }
.ml-sections .ml-comparison-table th,
.ml-sections .ml-comparison-table td { height: 84px; padding: 19px 22px; border-bottom: 1px solid var(--ml-border); border-left: 1px solid var(--ml-border); vertical-align: middle; text-align: left; }
.ml-sections .ml-comparison-table tr:last-child > * { border-bottom: 0; }
.ml-sections .ml-comparison-table :is(thead, tbody) tr > :first-child { position: sticky; left: 0; z-index: 2; width: 22%; border-left: 0; background: var(--ml-canvas); }
.ml-sections .ml-comparison-table thead th:nth-child(2) { width: 30%; }
.ml-sections .ml-comparison-table thead th { height: 72px; color: var(--ml-muted); font-size: 18px; font-weight: 420; }
.ml-sections .ml-comparison-table tbody th { color: var(--ml-text); font-size: 16px; font-weight: 500; }
.ml-sections .ml-comparison-table td { color: var(--ml-body); line-height: 1.45; }
.ml-sections .ml-comparison-table .ml-legion-column { border-left-color: rgb(255 255 255 / .22); background: var(--ml-accent); color: #fff; }
.ml-sections .ml-comparison-table thead .ml-legion-column { border-radius: 28px 28px 0 0; color: #fff; }
.ml-sections .ml-comparison-table thead .ml-legion-column span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1px solid rgb(255 255 255 / .35); border-radius: 999px; letter-spacing: .08em; }
.ml-sections .ml-comparison-table tfoot td { height: 86px; border-bottom: 0; background: var(--ml-canvas); }
.ml-sections .ml-comparison-table tfoot .ml-legion-column { border-radius: 0 0 28px 28px; background: var(--ml-accent); }
.ml-sections .ml-comparison-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #ffffff; color: #2638a5; font-size: 12px; font-weight: 600; cursor: pointer; transition: background-color 160ms ease, transform 160ms ease; }
.ml-sections .ml-comparison-cta:hover { background: #eef0ff; transform: translateY(-1px); }
.ml-sections .ml-comparison-cta:active { transform: translateY(1px); }
.ml-sections .ml-comparison-note { margin: 13px 0 0; color: var(--ml-muted); font-size: 11px; }

.ml-sections .ml-final { padding-block: clamp(86px, 9vw, 120px); border-top: 1px solid var(--ml-border); background: var(--ml-canvas); }
.ml-sections .ml-final .ml-shell { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 72px; align-items: end; }
.ml-sections .ml-final h2 { max-width: 760px; font-size: clamp(2.9rem, 4.9vw, 4.45rem); }
.ml-sections .ml-final-copy p { max-width: 590px; margin: 25px 0 0; color: var(--ml-body); font-size: 16px; }
.ml-sections .ml-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 0;
  border-radius: 999px;
  background: var(--ml-accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}
.ml-sections .ml-button:hover { background: var(--ml-accent-strong); transform: translateY(-2px); }
.ml-sections .ml-button:active { transform: translateY(1px); }

.ml-sections .ml-footer { padding: 66px 0 26px; border-top: 1px solid var(--ml-border); background: #121219; }
.ml-sections .ml-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 50px; }
.ml-sections .ml-footer-brand { display: flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 500; letter-spacing: 0.17em; text-decoration: none; }
.ml-sections .ml-footer-brand svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.15; }
.ml-sections .ml-footer-top nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.ml-sections .ml-footer-top nav a { color: var(--ml-muted); font-size: 12px; text-decoration: none; transition: color 160ms ease; }
.ml-sections .ml-footer-top nav a:hover { color: var(--ml-text); }
.ml-sections .ml-mike { margin: 0; padding: 34px 0 39px; border-top: 1px solid var(--ml-border); }
.ml-sections .ml-mike-frame { position: relative; width: min(100%, 320px); margin-inline: auto; overflow: hidden; border-radius: 14px; background: var(--ml-control); }
.ml-sections .ml-mike-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.ml-sections .ml-mike-frame button { position: absolute; right: 12px; bottom: 12px; min-height: 34px; padding: 0 13px; border: 1px solid rgb(242 239 232 / 0.42); border-radius: 999px; background: rgb(15 14 13 / 0.86); color: var(--ml-text); font-size: 11px; cursor: pointer; }
.ml-sections .ml-mike figcaption { margin-top: 12px; color: var(--ml-muted); font-size: 11px; text-align: center; }
.ml-sections .ml-mike figcaption a { margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }
.ml-sections .ml-footer-base { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; border-top: 1px solid var(--ml-border); color: var(--ml-muted); font-size: 11px; }
.ml-sections .ml-footer-base p { margin: 0; }
.ml-sections .ml-footer-base a { text-decoration: none; }
.ml-sections :is(a, button):focus-visible { outline: 2px solid var(--ml-accent-strong); outline-offset: 4px; }
.ml-sections ::selection { background: var(--ml-accent); color: #ffffff; }

@media (max-width: 960px) {
  .ml-sections .ml-split,
  .ml-sections .ml-split-reverse { grid-template-columns: 1fr; }
  .ml-sections .ml-section-copy { max-width: 720px; }
  .ml-sections .ml-section-copy h2 { max-width: 650px; }
  .ml-sections .ml-automation-rail { grid-template-columns: 1fr 42px 1fr 42px 1fr; }
  .ml-sections .ml-final .ml-shell { grid-template-columns: 1fr; align-items: start; }
  .ml-sections .ml-button { justify-self: start; }
}

@media (max-width: 720px) {
  .ml-sections .ml-shell { width: min(100% - 32px, 1200px); }
  .ml-sections .ml-section { padding-block: 82px; }
  .ml-sections h2 { font-size: clamp(2.65rem, 12vw, 3.8rem); }
  .ml-sections .ml-editorial-head,
  .ml-sections .ml-observe-heading,
  .ml-sections .ml-scale-head { margin-bottom: 47px; }
  .ml-sections .ml-editorial-head > p,
  .ml-sections .ml-observe-heading > p,
  .ml-sections .ml-scale-head > p,
  .ml-sections .ml-section-copy > p { margin-top: 22px; }
  .ml-sections .ml-identity-output { grid-template-columns: 1fr; }
  .ml-sections .ml-identity-output > div { padding-inline: 4px; }
  .ml-sections .ml-identity-output > div + div { border-top: 1px solid var(--ml-border); border-left: 0; }
  .ml-sections .ml-observe-heading h2,
  .ml-sections .ml-section-copy h2 { font-size: clamp(2.55rem, 11.5vw, 3.65rem); }
  .ml-sections .ml-workspace-panel { min-height: 584px; padding: 27px 20px; }
  .ml-sections .ml-alert-preview > .ml-stage-rail { padding-inline: 20px; }
  .ml-sections .ml-bison-field > img { margin-block: 72px 66px; }
  .ml-sections .ml-automation-rail { grid-template-columns: 1fr; }
  .ml-sections .ml-automation-rail > div { min-height: 174px; padding-inline: 0; }
  .ml-sections .ml-automation-rail strong { margin-top: 40px; }
  .ml-sections .ml-automation-rail > i { width: 1px; height: 38px; margin-left: 5px; }
  .ml-sections .ml-automation-rail > i::after { top: auto; right: -3px; bottom: 0; transform: rotate(135deg); }
  .ml-sections .ml-comparison-table { min-width: 0; font-size: 13px; }
  .ml-sections .ml-comparison-table th,
  .ml-sections .ml-comparison-table td { height: auto; padding: 14px 8px; }
  .ml-sections .ml-comparison-table thead th { font-size: 13px; }
  .ml-sections .ml-comparison-table tbody th { font-size: 13px; }
  .ml-sections .ml-comparison-table :is(thead, tbody) tr > :first-child { position: static; width: 32%; }
  .ml-sections .ml-comparison-table thead th:nth-child(2) { width: 24%; }
  .ml-sections .ml-comparison-table thead .ml-legion-column { border-radius: 18px 18px 0 0; }
  .ml-sections .ml-comparison-table tfoot .ml-legion-column { border-radius: 0 0 18px 18px; }
  .ml-sections .ml-final { padding-block: 82px; }
  .ml-sections .ml-final-copy p { font-size: 15px; }
  .ml-sections .ml-footer-top { align-items: flex-start; flex-direction: column; }
  .ml-sections .ml-footer-top nav { max-width: 360px; }
  .ml-sections .ml-footer-top nav a,
  .ml-sections .ml-footer-base a { display: inline-flex; align-items: center; min-height: 44px; }
  .ml-sections .ml-footer-top nav { row-gap: 0; }
}

@media (max-width: 480px) {
  .ml-sections .ml-section { padding-block: 70px; }
  .ml-sections .ml-stage-rail { font-size: 10.5px; }
  .ml-sections .ml-workspace-panel { min-height: 625px; padding-inline: 16px; }
  .ml-sections .ml-alert-preview > .ml-stage-rail { padding-inline: 16px; }
  .ml-sections .ml-button { width: 100%; white-space: normal; }
  .ml-sections .ml-footer-top nav { display: grid; grid-template-columns: 1fr 1fr; }
  .ml-sections .ml-footer-base { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .ml-sections *,
  .ml-sections *::before,
  .ml-sections *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* Real app screenshots inside the deliverability tabs: the image is the panel. */
.ml-sections .ml-workspace-panel.ml-app-panel { min-height: 0; padding: 0; }
.ml-sections .ml-app-panel img { display: block; width: 100%; height: auto; }
/* Phones: labels only, and the screen zoomed 2x past the app's own sidebar (16% of the shot) so its text can be read. */
@media (max-width: 720px) {
  .ml-sections .ml-workspace-tab { align-content: center; padding: 14px 8px; text-align: center; }
  .ml-sections .ml-workspace-tab span { font-size: 13px; }
  .ml-sections .ml-workspace-tab small { display: none; }
  .ml-sections .ml-workspace-panel.ml-app-panel { aspect-ratio: 4 / 3; overflow: hidden; }
  .ml-sections .ml-app-panel img { width: 200%; max-width: none; margin-left: -32%; }
}

.feature-dropdown > summary { cursor: pointer; font-size: 14px; padding: 12px 0; white-space: nowrap; }
.feature-dropdown > summary:focus-visible { outline: 2px solid #ededf3; outline-offset: 5px; border-radius: 3px; }
.feature-dropdown[open] > summary { color: #c2c9ff; }
.feature-dropdown-panel { position: absolute; top: calc(100% - 1px); left: 50%; transform: translateX(-50%); width: min(640px, calc(100vw - 48px)); padding: 20px; background: #1e1e2a; border: 1px solid #494957; border-radius: 12px; box-shadow: 0 16px 40px rgb(10 10 18 / .3); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; }
.feature-dropdown-panel ul { list-style: none; padding: 12px 0 0; margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 12px; }
.site-nav nav .feature-dropdown-panel a { display: flex; align-items: center; justify-content: flex-start; min-height: 44px; padding: 10px 12px; font-size: 15px; line-height: 1.4; border-radius: 6px; white-space: normal; }
.site-nav nav .feature-dropdown-panel a:hover,.site-nav nav .feature-dropdown-panel a:focus-visible { background: #30303e; color: #fff; }
.site-nav nav .feature-dropdown-panel .feature-dropdown-all { border-radius: 0; border-bottom: 1px solid #494957; padding-bottom: 16px; }
.site-nav nav .feature-dropdown-panel a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #a8b2ff; }
@media (max-width: 760px) {
  .feature-dropdown { align-self: center; }
  .feature-dropdown > summary { padding: 12px 0; font-size: 12px; text-align: center; min-height: 44px; }
  .feature-dropdown-panel { left: 12px; right: 12px; width: auto; transform: none; padding: 12px; max-height: calc(100dvh - 120px); }
  .feature-dropdown-panel ul { grid-template-columns: 1fr; gap: 2px; padding-top: 8px; }
  .site-nav nav .feature-dropdown-panel a { font-size: 15px; }
}

/* The marketing surface supports both themes. The embedded product stays dark. */
:root[data-theme="light"] {
  --color-onyx-canvas: #f3f6f9;
  --color-graphite-card: #ffffff;
  --color-obsidian-button: #e7ecf2;
  --color-slate-border: #8793a1;
  --color-mist-border: #d6dee7;
  --color-ash-text: #56616e;
  --color-ivory-text: #202731;
  --color-cobalt: #5266eb;
  --color-pure-white: #ffffff;
}

:root[data-theme="light"] body {
  background: var(--color-onyx-canvas);
  color: var(--color-ivory-text);
}

:root[data-theme="light"] * { scrollbar-color: #aeb8c4 #e8edf2; }
:root[data-theme="light"] input { caret-color: #202731; }
:root[data-theme="light"] ::selection { background: #5266eb; color: #ffffff; }

[data-theme-toggle] {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgb(237 237 243 / 0.28);
  border-radius: 999px;
  background: rgb(23 23 33 / 0.28);
  color: inherit;
  font-size: 12px;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

[data-theme-toggle]:hover { background: rgb(39 39 53 / 0.8); }
[data-theme-toggle]:active { transform: translateY(1px); }

:root[data-theme="light"] [data-theme-toggle] {
  border-color: #aeb9c6;
  background: rgb(255 255 255 / 0.72);
  color: #242c36;
}

:root[data-theme="light"] [data-theme-toggle]:hover { background: #ffffff; }

:root[data-theme="light"] .site-nav { color: #202731; }
:root[data-theme="light"] .site-nav.scrolled,
:root[data-theme="light"] .feature-page .site-nav {
  border-bottom-color: #d7dfe8;
  background: rgb(246 249 252 / 0.91);
  box-shadow: 0 1px 0 rgb(40 53 68 / 0.04);
}
:root[data-theme="light"] .site-nav nav a:hover,
:root[data-theme="light"] .feature-dropdown > summary:hover { color: #4054d4; }
:root[data-theme="light"] .site-nav nav a[aria-current] { text-decoration-color: #5266eb; }

:root[data-theme="light"] .hero-copy,
:root[data-theme="light"] .hero-bottom { color: #17212c; }
:root[data-theme="light"] .hero-shade {
  background: linear-gradient(180deg, rgb(247 250 253 / 0.72) 0%, rgb(244 248 252 / 0.68) 40%, rgb(240 246 250 / 0.24) 61%, rgb(233 240 245 / 0.38) 80%, rgb(237 243 247 / 0.82) 100%);
}
:root[data-theme="light"] .invite-tag {
  border-color: rgb(30 42 54 / 0.3);
  background: rgb(255 255 255 / 0.48);
}
:root[data-theme="light"] .bison-api-note img,
:root[data-theme="light"] .tutorial-bison { filter: invert(1); }
:root[data-theme="light"] .dashboard-caption > span,
:root[data-theme="light"] .dashboard-caption p { color: #596573; }
:root[data-theme="light"] .dashboard-world { background: #171721; }

:root[data-theme="light"] .skip-link { background: #ffffff; color: #202731; }

:root[data-theme="light"] .feature-page { --feature-line: #d4dde7; }
:root[data-theme="light"] .feature-page .feature-name,
:root[data-theme="light"] .feature-page .back-link,
:root[data-theme="light"] .feature-page .availability,
:root[data-theme="light"] .feature-page .feature-details dd,
:root[data-theme="light"] .feature-page .feature-footer > span,
:root[data-theme="light"] .feature-page .feature-product figcaption,
:root[data-theme="light"] .feature-page .feature-screenshot figcaption { color: #66717e; }
:root[data-theme="light"] .feature-page .feature-process li { border-top-color: #5266eb; }
:root[data-theme="light"] .feature-page .feature-details .lifecycle dt::before { background: #5266eb; }
:root[data-theme="light"] .feature-page :is(.feature-link, .feature-entries a):hover { color: #354bc9; }
:root[data-theme="light"] .feature-page .resource-list .feature-link { color: #4054d4; }
:root[data-theme="light"] .feature-page .tutorial-steps article::before { color: #4054d4; }
:root[data-theme="light"] .feature-page .feature-product iframe { background: #171721; }

:root[data-theme="light"] .feature-dropdown > summary:focus-visible { outline-color: #202731; }
:root[data-theme="light"] .feature-dropdown[open] > summary { color: #4054d4; }
:root[data-theme="light"] .feature-dropdown-panel {
  border-color: #cbd5e0;
  background: #ffffff;
  box-shadow: 0 18px 48px rgb(45 58 73 / 0.16);
}
:root[data-theme="light"] .site-nav nav .feature-dropdown-panel a:hover,
:root[data-theme="light"] .site-nav nav .feature-dropdown-panel a:focus-visible { background: #e9eef4; color: #202731; }
:root[data-theme="light"] .site-nav nav .feature-dropdown-panel .feature-dropdown-all { border-bottom-color: #d4dde7; }
:root[data-theme="light"] .site-nav nav .feature-dropdown-panel a[aria-current="page"] { text-decoration-color: #5266eb; }

:root[data-theme="light"] .ml-sections {
  --ml-canvas: #f3f6f9;
  --ml-card: #ffffff;
  --ml-control: #e8edf3;
  --ml-text: #202731;
  --ml-body: #4f5a67;
  --ml-muted: #596573;
  --ml-accent: #5266eb;
  --ml-accent-strong: #4054d4;
  --ml-danger: #a93f3c;
  --ml-clear: #2f7c4b;
  --ml-border: #d8e0e8;
  --ml-border-strong: #bbc6d2;
}
:root[data-theme="light"] .ml-sections .ml-observability { background: #edf2f6; }
:root[data-theme="light"] .ml-sections .ml-alert-workspace { box-shadow: 0 24px 70px rgb(45 58 73 / 0.12); }
:root[data-theme="light"] .ml-sections .ml-comparison-table :is(thead, tbody) tr > :first-child { background: var(--ml-canvas); }
:root[data-theme="light"] .ml-sections .ml-comparison-table .ml-legion-column { border-left-color: rgb(255 255 255 / .14); background: var(--halo-accent); color: #ffffff; }
:root[data-theme="light"] .ml-sections .ml-bison-field {
  background: radial-gradient(110% 90% at 0% 0%, rgb(139 154 255 / .6) 0%, rgb(139 154 255 / 0) 62%), var(--halo-accent);
  color: #ffffff;
}
:root[data-theme="light"] .ml-sections .ml-bison-field > img { filter: none; }
:root[data-theme="light"] .ml-sections .ml-bison-field :is(.ml-stage-rail, .ml-bison-status) { border-color: rgb(255 255 255 / 0.28); }
:root[data-theme="light"] .ml-sections .ml-bison-field :is(.ml-stage-rail, .ml-bison-status small) { color: #ffffff; }
:root[data-theme="light"] .ml-sections .ml-button { color: #ffffff; }
:root[data-theme="light"] .ml-sections .ml-footer { background: #e9eef4; }
:root[data-theme="light"] .ml-sections .ml-mike-frame button {
  border-color: rgb(255 255 255 / 0.54);
  background: rgb(26 31 39 / 0.84);
  color: #ffffff;
}
:root[data-theme="light"] .ml-sections ::selection { background: #5266eb; color: #ffffff; }

@media (max-width: 760px) {
  .site-nav .nav-actions { gap: 6px; }
  .site-nav [data-theme-toggle] { width: 44px; padding-inline: 0; }
  .site-nav .nav-actions .button { padding-inline: 8px; gap: 5px; white-space: nowrap; }
  :root[data-theme="light"] .site-nav,
  :root[data-theme="light"] .site-nav.scrolled,
  :root[data-theme="light"] .feature-page .site-nav { background: rgb(246 249 252 / 0.96); }
  :root[data-theme="light"] .site-nav nav,
  :root[data-theme="light"] .site-nav nav.open { border-top-color: #d7dfe8; }
}

@media (max-width: 350px) {
  .site-nav .nav-actions .button { padding-inline: 8px; font-size: 11px; }
  .site-nav [data-theme-toggle] { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme-toggle] { transition-duration: 0.01ms; }
}

/* Real app screenshots ship in both themes; show the one matching the site. */
.app-shot-light { display: none !important; }
:root[data-theme="light"] .app-shot-light { display: block !important; }
:root[data-theme="light"] .app-shot-dark { display: none !important; }

/* Mail Halo: the halo over the clouds. Loaded last, so it restyles the shared Mercury pages. */
@font-face { font-family: newsreader; src: url('./newsreader-latin.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: newsreader; src: url('./newsreader-latin-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: geist; src: url('./geist-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: geistMono; src: url('./geist-mono-latin.woff2') format('woff2'); font-weight: 400 500; font-display: swap; }
:root {
  --font-halo: newsreader, 'Iowan Old Style', Georgia, serif;
  --font-arcadia: geist, ui-sans-serif, system-ui, sans-serif;
  --font-arcadiadisplay: geist, ui-sans-serif, system-ui, sans-serif;
  --font-mono: geistMono, ui-monospace, Menlo, monospace;
  --halo: #5366ea;
  --ink: #15171c;
}
:root[data-theme="dark"] { --halo: #667cff; }
::selection { background: rgb(83 102 234 / .22); }

/* The mark (maillegion-app components/shell/Logo.tsx): a halo over a golden-rectangle envelope. The halo takes the
   accent; its back edge is thinner and fainter by phi, so it reads as a ring in space. Wordmark as in the app. */
.brand svg, .ml-sections .ml-footer-brand svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-halo { stroke: var(--halo); stroke-width: 2.05; }
.brand-halo-back { stroke-width: 1.27; stroke-opacity: .618; }
.brand, .ml-sections .ml-footer-brand { gap: 10px; }
.brand > span, .ml-sections .ml-footer-brand span { font-size: 15px; font-weight: 600; letter-spacing: .13em; }
@media (max-width: 760px) { .brand svg { width: 24px; height: 24px; } .brand > span { font-size: 13px; letter-spacing: .1em; } }
@media (max-width: 420px) { .brand { gap: 7px; } .brand svg { width: 22px; height: 22px; } .brand > span { font-size: 12px; letter-spacing: .06em; } }

.hero h1, .ml-section h2, .ml-final h2 { font-family: var(--font-halo); font-weight: 380; letter-spacing: -.022em; font-optical-sizing: auto; }
.hero h1 { font-size: clamp(40px, 4.6vw, 72px); line-height: 1.04; max-width: 940px; }
.hero h1 { font-weight: 540; letter-spacing: -.03em; line-height: 1.02; }
.hero h1 em { font-style: normal; white-space: nowrap; }



/* Night: the brand Night (#0f1015) and the app's dark surfaces, so site and product are one dark theme. The hero keeps its night sky. */
:root[data-theme="dark"] {
  --color-onyx-canvas: #0f1015;
  --color-graphite-card: #1f2025;
  --color-obsidian-button: #2c2e33;
  --color-ash-text: #cdcfd6;
}
:root[data-theme="dark"] .ml-sections {
  --ml-canvas: #0f1015;
  --ml-card: #1f2025;
  --ml-control: #2c2e33;
  --ml-text: #f2f4fb;
  --ml-body: #cdcfd6;
  --ml-muted: #92959b;
  --ml-border: #24262b;
  --ml-border-strong: #3a3c42;
}
:root[data-theme="dark"] .ml-sections .ml-observability { background: #15161b; }
:root[data-theme="dark"] .ml-sections .ml-footer { background: #0b0c10; }
:root[data-theme="dark"] .feature-dropdown-panel { background: #1f2025; border-color: #3a3c42; }
:root[data-theme="dark"] * { scrollbar-color: #3a3c42 #0f1015; }

/* The hud.ai system in Mail Halo colours: a pale haze page, ink buttons with a halo-blue sheen, hairline grid
   guides with crosshair corners, pastel panels behind the product, and a night band at the close. */
body { font-feature-settings: "ss01"; }
.button { min-height: 40px; gap: 10px; padding: 0 16px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.button span { font-size: 15px; }
/* The Mail Halo accent, same values as the app's --color-btn tokens. */
:root { --halo-accent: #5366ea; --halo-accent-hover: #4656d9; --halo-accent-active: #3b46c8; }
:root[data-theme="dark"] { --halo-accent: #4b5ce0; --halo-accent-hover: #3f4cce; --halo-accent-active: #343bbd; }
.primary, :root .ml-sections .ml-final .ml-button { background: var(--halo-accent); color: #ffffff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 1px 2px rgb(40 52 140 / .25); }
.primary:hover, :root .ml-sections .ml-final .ml-button:hover { background: var(--halo-accent-hover); }
.primary:active, :root .ml-sections .ml-final .ml-button:active { background: var(--halo-accent-active); }
.nav-cta { min-height: 38px; }
.site-nav nav a, .feature-dropdown > summary { font-weight: 450; }

/* Hero: the ring floats on a moving cloud sea at dawn (night: blue hour), a 12 s loop rendered as video.
   The copy sits in the sky; a paper veil at the top keeps it readable. */
.hero-stage { --scene-y: .7; }
.landscape { background: linear-gradient(180deg, #9db9e0 0%, #c3d0e6 38%, #e6e1e6 72%, #f2f4fb 100%); will-change: transform; } /* own layer for good: a promote/demote as the entrance or the dive hands over redraws the scene a pixel off */
:root[data-theme="dark"] .landscape { background: linear-gradient(180deg, #1d4482 0%, #2b5597 38%, #1a2a4f 76%, #0f1015 100%); }
.landscape video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; will-change: transform; }
:root[data-theme="light"] .hero-shade { background: linear-gradient(180deg, rgb(242 244 251 / .7) 0%, rgb(242 244 251 / 0) 55%); }
:root[data-theme="dark"] .hero-shade { background: linear-gradient(180deg, rgb(10 16 34 / .76) 0%, rgb(10 16 34 / .6) 42%, rgb(10 16 34 / 0) 72%); }
.hero-copy { top: calc(72px + clamp(28px, 7vh, 96px)); }
.hero h1 { font-size: clamp(38px, 5.2vw, 76px); font-weight: 500; line-height: 1.02; letter-spacing: -.025em; max-width: 19em; margin-bottom: 0; }
.hero-description { margin: 18px auto 26px; font-size: clamp(16px, 1.4vw, 20px); }
:root[data-theme="light"] .hero-copy { color: #15171c; }
:root[data-theme="light"] .hero-description { color: #46484f; }
:root[data-theme="dark"] .hero-description { color: #f2f4fb; }
/* Small type over the moving sky gets a soft night halo so it holds 4.5:1 on any frame. */
:root[data-theme="dark"] :is(.hero-description, .bison-api-note), .ml-sections .ml-final-copy p { text-shadow: 0 0 14px rgb(10 16 34 / .7), 0 1px 2px rgb(10 16 34 / .6); }
.hero-conversion { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 24px; margin-top: 0; }
.hero-conversion .button { min-height: 48px; padding: 0 22px; font-size: 16px; }
.hero-conversion .bison-api-note { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font-size: 14px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero-conversion .bison-api-note:hover { text-decoration-thickness: 2px; }
/* A quieter second way in, for teams that already run inboxes: the line under the two hero actions. */
.hero-existing { margin: 4px 0 0; font-size: 13px; text-align: center; }
.hero-existing a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; opacity: .8; text-decoration: none; }
.hero-existing a:hover, .hero-existing a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
:root[data-theme="dark"] .hero-existing { text-shadow: 0 0 14px rgb(10 16 34 / .7), 0 1px 2px rgb(10 16 34 / .6); }
.hero-bottom { bottom: 18px; }
:root[data-theme="light"] .hero-bottom { color: #15171c; }
:root[data-theme="dark"] .hero-bottom { text-shadow: 0 1px 12px rgb(1 4 13 / .5); }
.hero-bottom .scroll-cue { min-height: 44px; font-size: 13px; }
@media (max-width: 760px) {
  /* A phone sees the whole ring under the copy instead of a cover crop of the desk; the sky above is the gradient. */
  .hero-stage { --scene-width: 2; --scene-y: 1; }
  .landscape video { mask-image: linear-gradient(180deg, transparent 0, #000 18%); }
  .hero-copy { top: 128px; }
  .hero h1 { font-size: clamp(32px, 8.4vw, 42px); }
  .hero-description { margin: 14px auto 20px; }
  .hero-conversion .button { min-height: 46px; font-size: 14px; padding: 0 16px; }
}

/* Lower page: one quiet surface, framed by hairline guides that meet in crosshairs at every section. */
:root[data-theme="light"] .ml-sections {
  --ml-canvas: #f2f4fb;
  --ml-card: #fdffff;
  --ml-border: #dddfe6;
  --ml-border-strong: #c9cbd3;
  --ml-text: #15171c;
  --ml-body: #46484f;
  --ml-muted: #62646b;
}
.ml-sections { --guide: max(24px, calc(50% - 600px)); position: relative; background: linear-gradient(var(--ml-border), var(--ml-border)) var(--guide) 0 / 1px 100% no-repeat, linear-gradient(var(--ml-border), var(--ml-border)) calc(100% - var(--guide)) 0 / 1px 100% no-repeat, var(--ml-canvas); }
:root[data-theme="light"] .ml-sections :is(.ml-warm, .ml-stealth, .ml-observability, .ml-native, .ml-scale, .ml-comparison) { background: transparent; }
.ml-sections .ml-section { position: relative; }
.ml-sections :is(.ml-section, .ml-final)::before,
.ml-sections :is(.ml-section, .ml-final)::after { content: ""; position: absolute; top: -6px; width: 11px; height: 11px; background: linear-gradient(var(--ml-muted), var(--ml-muted)) center / 1px 100% no-repeat, linear-gradient(var(--ml-muted), var(--ml-muted)) center / 100% 1px no-repeat; opacity: .7; pointer-events: none; }
.ml-sections :is(.ml-section, .ml-final)::before { left: calc(var(--guide) - 5px); }
.ml-sections :is(.ml-section, .ml-final)::after { right: calc(var(--guide) - 5px); }
.ml-sections .ml-section-copy h2, .ml-sections .ml-observe-heading h2, .ml-sections .ml-scale-head h2, .ml-sections .ml-comparison-head h2, .ml-sections .ml-final h2 { font-weight: 460; letter-spacing: -.03em; }
.ml-sections .ml-feature-links a, .ml-sections .ml-stage-rail { font-family: var(--font-mono); letter-spacing: 0; }

/* Pastel panels hold the product, each tinted from the halo's sky. */
.ml-sections :is(.ml-product-shot, .ml-alert-preview, .ml-identity-stack, .ml-bison-field) { padding: clamp(16px, 2.6vw, 36px); border: 0; border-radius: 20px; }
/* 20 Oct: the panels are windows onto the hero's own sky, cut from the cloud video's first frame (night: blue hour). */
.ml-sections .ml-product-shot { background: #b9c7e3 url('./hero-video/day-panel-a.webp') center / cover; }
.ml-sections .ml-identity-stack { background: #c7cde3 url('./hero-video/day-panel-b.webp') center / cover; }
.ml-sections .ml-product-shot figcaption { color: #15171c; }
.ml-sections .ml-bison-field { background: radial-gradient(110% 90% at 0% 0%, #fdeadd 0%, rgb(253 234 221 / 0) 62%), radial-gradient(90% 90% at 100% 100%, #e1e6fd 0%, rgb(225 230 253 / 0) 60%), #f8f2ef; }
.ml-sections .ml-shot-frame, .ml-sections .ml-alert-workspace { border-color: rgb(12 14 19 / .08); border-radius: 12px; box-shadow: 0 1px 2px rgb(12 14 19 / .06), 0 18px 48px rgb(40 52 90 / .12); }
:root[data-theme="dark"] .ml-sections .ml-bison-field { background: radial-gradient(120% 90% at 0% 0%, rgb(83 102 234 / .22) 0%, rgb(83 102 234 / 0) 60%), #18191e; }
:root[data-theme="dark"] .ml-sections .ml-product-shot { background: linear-gradient(180deg, rgb(15 16 21 / 0) 62%, rgb(15 16 21 / .72) 100%), #20508e url('./hero-video/night-panel-a.webp') center / cover; }
:root[data-theme="dark"] .ml-sections .ml-identity-stack { background: linear-gradient(180deg, rgb(15 16 21 / 0) 62%, rgb(15 16 21 / .72) 100%), #20508e url('./hero-video/night-panel-b.webp') center / cover; }
:root[data-theme="dark"] .ml-sections .ml-product-shot figcaption { color: #f2f4fb; }

/* A night band carries the observability story, as hud's dark interlude does. */
:root[data-theme="light"] .ml-sections .ml-observability {
  --ml-canvas: #0f1015; --ml-card: #1f2025; --ml-control: #2c2e33; --ml-text: #f2f4fb; --ml-body: #cdcfd6; --ml-muted: #92959b; --ml-border: #24262b; --ml-border-strong: #3a3c42;
  color: var(--ml-text);
}
/* The night band is the sky before dawn: night at the top, brightening to the hero's blue hour. */
.ml-sections .ml-observability, :root[data-theme] .ml-sections .ml-observability { background: linear-gradient(180deg, #0f1015 0%, #111a33 40%, #1a3567 100%); }
.ml-sections .ml-observability .ml-alert-preview { background: #20508e url('./hero-video/night-panel-c.webp') center bottom / cover; }

/* The close: night again, the halo's night scene glowing under the footer. */
:root[data-theme="light"] .ml-sections :is(.ml-final, .ml-footer) {
  --ml-canvas: #0f1015; --ml-card: #1f2025; --ml-control: #2c2e33; --ml-text: #f2f4fb; --ml-body: #cdcfd6; --ml-muted: #92959b; --ml-border: #24262b; --ml-border-strong: #3a3c42; color: var(--ml-text);
}
/* The close is the hero's ring at blue hour, playing: the page opens at dawn and ends at dusk. */
.ml-sections .ml-final { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: clamp(560px, 56.25vw, 980px); padding-block: clamp(96px, 9vw, 140px) 0; background: #0c1328; }
.ml-sections .ml-final-scene { filter: brightness(.74); position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.ml-sections .ml-final::before, .ml-sections .ml-final::after { z-index: 1; }
.ml-sections .ml-final .ml-shell { align-items: start; }
.ml-sections .ml-final h2 { text-shadow: 0 1px 24px rgb(12 19 40 / .35); }
.ml-sections .ml-final-copy p, :root[data-theme] .ml-sections .ml-final-copy p { color: #fff; }
.ml-sections .ml-final-copy p { color: var(--ml-body); }
:root .ml-sections .ml-final .ml-button { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.ml-sections .ml-footer, :root[data-theme] .ml-sections .ml-footer { border-top: 0; background: #0c1328; }
.ml-sections .ml-button { border-radius: 12px; }
.ml-sections .ml-comparison-table thead .ml-legion-column { border-radius: 16px 16px 0 0; }
.ml-sections .ml-comparison-table tfoot .ml-legion-column { border-radius: 0 0 16px 16px; }
.ml-sections .ml-comparison-cta { border-radius: 12px; }

/* Polish pass, 18 Oct: the system's own materials everywhere. */
/* Guides sit a step outside the 1200px column, so copy never touches a hairline. */
.ml-sections { --guide: max(12px, calc(50% - 640px)); }
/* Large brand surfaces are ink with the halo-blue sheen, like the buttons; flat cobalt stays for small signals. */
.ml-sections .ml-comparison-table .ml-legion-column { border-left-color: rgb(255 255 255 / .14); background: var(--halo-accent); color: #ffffff; }
.ml-sections .ml-comparison-table thead .ml-legion-column { background: linear-gradient(to left bottom, rgb(255 255 255 / .18), rgb(255 255 255 / 0) 70%), var(--halo-accent); }
.ml-sections .ml-comparison-table thead .ml-legion-column span { border-color: rgb(255 255 255 / .22); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0; }
.ml-sections .ml-comparison-table tfoot .ml-legion-column { background: var(--halo-accent); }
.ml-sections .ml-comparison-cta { min-height: 40px; background: #f7f8fc; color: var(--ink); font-size: 14px; font-weight: 500; }
/* The agency flow reads as one line of steps: label, outcome, note, close together. */
.ml-sections .ml-automation-rail > div { min-height: 0; padding: 30px 4px 32px; }
.ml-sections .ml-automation-rail span { margin-bottom: 0; font-family: var(--font-mono); font-size: 12px; }
.ml-sections .ml-automation-rail strong { margin-top: 14px; font-family: var(--font-halo); font-size: 28px; font-weight: 460; letter-spacing: -.02em; line-height: 1.1; }
.ml-sections .ml-automation-rail small { max-width: 260px; margin-top: 8px; color: var(--ml-body); font-size: 14px; }
/* Each arrow sits level with the step titles, with the same air before and after it, so it reads as "this leads to that". */
@media (min-width: 761px) {
  .ml-sections .ml-automation-rail { grid-template-columns: auto minmax(88px, 1fr) auto minmax(88px, 1fr) auto; }
  .ml-sections .ml-automation-rail > i { align-self: start; justify-self: center; width: 56px; margin-top: 77px; }
}
@media (max-width: 760px) {
  .ml-sections .ml-automation-rail > div { padding: 22px 0; }
  .ml-sections .ml-automation-rail strong { margin-top: 10px; font-size: 24px; }
  .ml-sections .ml-automation-rail > i { height: 24px; }
}
/* Nav: a drawn chevron replaces the browser's disclosure triangle; the theme toggle matches the 12px controls. */
.feature-dropdown > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.feature-dropdown > summary::-webkit-details-marker { display: none; }
.feature-dropdown > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 160ms ease; }
.feature-dropdown[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.site-nav [data-theme-toggle] { min-height: 38px; border-radius: 12px; font-weight: 500; }
.skip-link { border-radius: 12px; }
:root[data-theme="light"] ::selection, :root[data-theme="light"] .ml-sections ::selection { background: rgb(83 102 234 / .2); color: inherit; }
@media (max-width: 760px) { .site-nav [data-theme-toggle] { min-height: 44px; } .ml-sections { --guide: 6px; } }
/* Nothing readable below 12px. */
.ml-sections :is(.ml-comparison-note, .ml-automation-figure figcaption, .ml-bison-status small), .dashboard-caption p { font-size: 12px; }
/* Inner pages speak in the same serif as the homepage. */
.feature-page :is(h1, h2) { font-family: var(--font-halo); font-weight: 460; letter-spacing: -.03em; }
/* Dive caption: dark enough to read on the accent haze, and nothing under 12px. */
:root[data-theme="light"] .dashboard-caption :is(span, p) { color: #33353b; }
:root[data-theme="light"] .dashboard-caption a { color: #15171c; }
.dashboard-caption > span, .dashboard-caption .scroll-cue { font-size: 12px; }

/* Inner pages open under the same dawn sky as the homepage and end on the ring above the clouds. */
:root body.feature-page { --page: #f2f4fb; --sky-h: max(36vw, 520px); background: linear-gradient(180deg, rgb(242 244 251 / .5) 0%, rgb(242 244 251 / .15) 45%, var(--page) 100%) top center / 100% var(--sky-h) no-repeat, url('./hero-video/day-sky.webp') top center / auto var(--sky-h) no-repeat, var(--page); }
:root[data-theme="dark"] body.feature-page { --page: #0f1015; background: linear-gradient(180deg, rgb(15 16 21 / .45) 0%, rgb(15 16 21 / .2) 45%, var(--page) 100%) top center / 100% var(--sky-h) no-repeat, url('./hero-video/night-sky.webp') top center / auto var(--sky-h) no-repeat, var(--page); }
:root[data-theme="light"] .feature-page .site-nav { background: rgb(242 244 251 / .72); backdrop-filter: blur(16px); border-bottom-color: rgb(21 23 28 / .08); }
:root[data-theme="dark"] .feature-page .site-nav { background: rgb(15 16 21 / .6); backdrop-filter: blur(16px); }
body.feature-page::after { content: ""; display: block; height: clamp(180px, 24vw, 360px); background: linear-gradient(180deg, var(--page) 0%, rgb(242 244 251 / 0) 45%) top / 100% 100% no-repeat, url('./hero-video/day-ring.webp') center 30% / cover no-repeat; }
:root[data-theme="dark"] body.feature-page::after { background: linear-gradient(180deg, var(--page) 0%, rgb(15 16 21 / 0) 45%) top / 100% 100% no-repeat, url('./hero-video/night-ring.webp') center 30% / cover no-repeat; }

/* Polish pass, 20 Oct: 12px reading floor, phone tap targets, dive caption, breadcrumb. */
.ml-sections :is(.ml-product-shot figcaption, .ml-identity-origin span, .ml-identity-output span, .ml-automation-rail span, .ml-identity-origin small, .ml-identity-output small, .ml-mask-route, .ml-workspace-tab small, .ml-bison-status small, .ml-automation-rail small, .ml-automation-figure figcaption, .ml-comparison-note, .ml-mike figcaption, .ml-stage-rail, .ml-footer-base, .ml-mike-frame button) { font-size: 12px; }
.dashboard-caption > span { display: block; font: 400 clamp(17px, 1.4vw, 20px)/1.2 Newsreader, Georgia, serif; letter-spacing: -.01em; }
.dashboard-caption p { margin: 6px 0 0; }
.dashboard-caption .scroll-cue { min-height: 44px; gap: 8px; font-size: 13px; }
.scroll-cue .icon { width: 16px; height: 16px; }
.button .icon { width: 16px; height: 16px; }
.feature-page .back-link { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.feature-page .back-link a { color: inherit; text-decoration: underline; text-underline-offset: 5px; }
.feature-page .back-link [aria-current] { opacity: .72; }
@media (max-width: 760px) {
  :is(.brand, .footer-brand, .back-link a, .feature-link, .feature-footer nav a, .ml-footer-top a, .ml-mike figcaption a) { display: inline-flex; align-items: center; min-height: 44px; }
  :is(.site-nav .button, .feature-page .button, .feature-dropdown-panel a) { min-height: 44px; display: inline-flex; align-items: center; }
  :is(.ml-sections .ml-mike-frame button, .ml-sections .ml-comparison-cta) { min-height: 44px; }
  .ml-sections .ml-feature-links a { display: inline-flex; align-items: flex-end; min-height: 44px; }
}
:root[data-theme="dark"] .ml-sections :is(.ml-shot-frame, .ml-alert-workspace) { box-shadow: 0 1px 2px rgb(0 0 0 / .3), 0 18px 48px rgb(0 0 0 / .32); }

/* One section, one screen: on a laptop or desktop each section fills the view under the fixed nav.
   The two screenshot sections are exactly a screen tall; their app shots crop from the top left instead of running past the fold. */
@media (min-width: 901px) and (min-height: 600px) {
  .ml-sections .ml-section { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(72px + clamp(24px, 5svh, 56px)) clamp(32px, 6svh, 72px); }
  .ml-sections .ml-section > .ml-shell { min-height: 0; }
  .ml-sections h2 { font-size: clamp(2.5rem, min(5.25vw, 8.5svh), 4.7rem); }
  .ml-sections :is(.ml-editorial-head, .ml-scale-head) { margin-bottom: clamp(28px, 5svh, 64px); }
  .ml-sections :is(.ml-warm, .ml-observability) { height: 100svh; }
  .ml-sections :is(.ml-warm, .ml-observability) > .ml-shell { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
  .ml-sections :is(.ml-editorial-head, .ml-observe-heading) { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: clamp(40px, 5vw, 80px); align-items: end; margin-bottom: clamp(24px, 4svh, 48px); }
  .ml-sections :is(.ml-editorial-head, .ml-observe-heading) > h2 { grid-row: span 2; }
  .ml-sections :is(.ml-editorial-head, .ml-observe-heading) > p { margin: 0; }
  .ml-sections .ml-observe-heading h2 { font-size: clamp(2.25rem, min(3.7vw, 6.4svh), 3.6rem); }
  .ml-sections :is(.ml-product-shot, .ml-alert-workspace, .ml-alert-preview) { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .ml-sections :is(.ml-shot-frame, .ml-workspace-panel.ml-app-panel) { flex: 0 1 auto; min-height: 0; overflow: hidden; }
  .ml-sections :is(.ml-shot-frame, .ml-app-panel) img { height: 100%; object-fit: cover; object-position: left top; }
  /* The three screens stack as a column beside the shot, so the shot keeps most of the screen. */
  .ml-sections .ml-alert-workspace { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); }
  .ml-sections .ml-workspace-tabs { grid-template-columns: none; grid-auto-rows: min-content; border-bottom: 0; border-right: 1px solid var(--ml-border); }
  .ml-sections .ml-workspace-tab { border-right: 0; border-bottom: 1px solid var(--ml-border); }
  .ml-sections .ml-workspace-tab.is-active::after { top: 0; right: auto; bottom: 0; width: 2px; height: auto; }
  .ml-sections .ml-comparison-head { margin-bottom: clamp(24px, 4svh, 56px); }
  .ml-sections .ml-comparison-head h2 { font-size: clamp(2.25rem, min(3.7vw, 6svh), 3.35rem); }
  .ml-sections .ml-comparison-table :is(th, td) { height: clamp(40px, 5.6svh, 84px); padding-block: 8px; }
  .ml-sections .ml-comparison-table thead th { height: clamp(44px, 6svh, 72px); }
  .ml-sections .ml-comparison-table tfoot td { height: clamp(52px, 7svh, 86px); }
}
/* A short laptop screen also tightens the comparison type and spacing. */
@media (min-width: 901px) and (min-height: 600px) and (max-height: 800px) {
  .ml-sections .ml-comparison { padding-bottom: 20px; }
  .ml-sections .ml-comparison-head { margin-bottom: 16px; }
  .ml-sections .ml-comparison-head h2 { font-size: 2.25rem; }
  .ml-sections .ml-comparison-table { font-size: 15px; }
  .ml-sections .ml-comparison-table td { line-height: 1.3; }
}


/* The laptop screen in the hero shows the app's Home from the first paint: the same image the sample opens on, so the iframe swaps in unseen. */
.dashboard-world { background: #15161c url('./app/overview-dark.webp') left top / cover; }
:root[data-theme="light"] .dashboard-world { background: #f3f6f9 url('./app/overview-light.webp') left top / cover; }

/* Theme switch as a time of day. Dusk: the day warms to gold while night falls from the top of the sky. Dawn: day rises from the horizon, warm at first. */
:root[data-theme-shift]::view-transition-old(root),
:root[data-theme-shift]::view-transition-new(root) { mix-blend-mode: normal; animation-duration: 1s; animation-timing-function: cubic-bezier(.45, 0, .2, 1); animation-fill-mode: both; }
:root[data-theme-shift="dusk"]::view-transition-old(root) { animation-name: halo-golden-hour; }
:root[data-theme-shift="dusk"]::view-transition-new(root) { -webkit-mask: linear-gradient(to bottom, #000 40%, transparent 60%) 0 100% / 100% 250% no-repeat; mask: linear-gradient(to bottom, #000 40%, transparent 60%) 0 100% / 100% 250% no-repeat; animation-name: halo-nightfall; }
:root[data-theme-shift="dawn"]::view-transition-old(root) { animation-name: none; }
:root[data-theme-shift="dawn"]::view-transition-new(root) { -webkit-mask: linear-gradient(to top, #000 40%, transparent 60%) 0 0 / 100% 250% no-repeat; mask: linear-gradient(to top, #000 40%, transparent 60%) 0 0 / 100% 250% no-repeat; animation-name: halo-sunrise; }
@keyframes halo-golden-hour { to { filter: sepia(.4) saturate(1.6) hue-rotate(-12deg) brightness(.82); } }
@keyframes halo-nightfall { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes halo-sunrise { from { filter: sepia(.35) saturate(1.5) hue-rotate(-10deg); } to { -webkit-mask-position: 0 100%; mask-position: 0 100%; filter: none; } }

/* The top bar tucks away while reading down (theme.js) and glides back on scroll up. */
.site-nav { transition: background .3s, transform .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease; }
.site-nav.nav-hidden { transform: translateY(calc(-100% - 8px)); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .site-nav { transition: background .3s, opacity .2s; } }

/* Controls, 21 Oct: glass for the top bar, a sheen on the accent buttons, one focus ring.
   Glass: a frosted tint of the page with a hairline edge and a top highlight, so controls float on the sky. */
:root { --glass: rgb(255 255 255 / .56); --glass-hover: rgb(255 255 255 / .86); --glass-edge: rgb(21 23 28 / .09); --glass-shine: rgb(255 255 255 / .7); --glass-press: rgb(21 23 28 / .06); --glass-nav: rgb(255 255 255 / .66); }
:root[data-theme="dark"] { --glass: rgb(255 255 255 / .07); --glass-hover: rgb(255 255 255 / .13); --glass-edge: rgb(255 255 255 / .13); --glass-shine: rgb(255 255 255 / .09); --glass-press: rgb(255 255 255 / .1); --glass-nav: rgb(20 24 40 / .42); }
.site-nav .nav-actions { gap: 10px; }
.site-nav [data-theme-toggle], :root[data-theme] .site-nav [data-theme-toggle] {
  display: inline-grid; place-items: center; width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0;
  border: 1px solid var(--glass-edge); border-radius: 12px; background: var(--glass); color: inherit;
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 1px 2px rgb(21 23 28 / .06); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4);
  transition: background-color .18s ease, transform .18s ease;
}
:root[data-theme] .site-nav [data-theme-toggle]:hover { background: var(--glass-hover); }
.site-nav [data-theme-toggle]:active { transform: scale(.94); }
/* The sun's rays fold away and a shadow slides across it into a crescent; reversed at dawn. The mask sits on a group,
   so it stays put while the core grows. */
.theme-icon { width: 18px; height: 18px; overflow: visible; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.theme-icon-core { fill: currentColor; transform-origin: 12px 12px; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.theme-icon-cut { transform: translate(7px, 7px); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.theme-icon-rays { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform-origin: 12px 12px; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .35s ease; }
:root[data-theme="dark"] .theme-icon { transform: rotate(-90deg); }
:root[data-theme="dark"] .theme-icon-core { transform: scale(1.55); }
:root[data-theme="dark"] .theme-icon-cut { transform: none; }
:root[data-theme="dark"] .theme-icon-rays { transform: scale(.5) rotate(45deg); opacity: 0; }

/* On a laptop or desktop the links sit in one glass capsule; the page you are on is the raised segment. */
@media (min-width: 761px) {
  .site-nav nav, :root[data-theme] .site-nav nav { gap: 2px; padding: 4px; border: 1px solid var(--glass-edge); border-radius: 14px; background: var(--glass-nav); box-shadow: inset 0 1px 0 var(--glass-shine), 0 1px 2px rgb(21 23 28 / .05); }
  /* No backdrop blur here: it would make the capsule the menu's containing block and pull the menu off centre. */
  .site-nav nav > a, .site-nav .feature-dropdown > summary { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 10px; transition: background-color .16s ease, color .16s ease; }
  .site-nav nav > a:hover, .site-nav .feature-dropdown > summary:hover, .site-nav .feature-dropdown[open] > summary { background: var(--glass-press); }
  :root[data-theme] .site-nav nav > a[aria-current], .feature-page .site-nav nav > a[aria-current] { text-decoration: none; background: var(--glass-hover); box-shadow: 0 1px 2px rgb(21 23 28 / .1); }
  .site-nav .feature-dropdown > summary { padding-right: 12px; }
}
:root[data-theme="light"] .site-nav nav > a:hover, :root[data-theme="light"] .feature-dropdown > summary:hover { color: inherit; }

/* Accent buttons: a soft top sheen and a halo-blue glow; they lift a pixel on hover and the arrow leans the way it points. */
.primary, :root .ml-sections .ml-final .ml-button {
  background: linear-gradient(180deg, rgb(255 255 255 / .16), rgb(255 255 255 / 0) 55%), var(--halo-accent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .24), inset 0 -1px 0 rgb(20 26 90 / .2), 0 1px 2px rgb(30 40 120 / .28), 0 8px 20px -8px rgb(83 102 234 / .7);
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.primary:hover, :root .ml-sections .ml-final .ml-button:hover { background: linear-gradient(180deg, rgb(255 255 255 / .2), rgb(255 255 255 / 0) 55%), var(--halo-accent-hover); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .26), inset 0 -1px 0 rgb(20 26 90 / .2), 0 2px 4px rgb(30 40 120 / .25), 0 12px 28px -8px rgb(83 102 234 / .8); }
.primary:active, :root .ml-sections .ml-final .ml-button:active { background: var(--halo-accent-active); transform: translateY(0); }
.button .icon, .ml-button .icon { transition: transform .18s ease; }
:is(.button, .ml-button):hover .icon { transform: translate(2px, -2px); }

/* The Features menu: frosted, grouped like the hub, each feature with its one-line promise. */
.feature-dropdown-panel, :root[data-theme] .feature-dropdown-panel { top: calc(100% - 6px); width: min(880px, calc(100vw - 48px)); padding: 10px; border: 1px solid var(--glass-edge); border-radius: 18px; background: #ffffff; box-shadow: 0 24px 64px -16px rgb(30 40 80 / .32); }
:root[data-theme="dark"] .feature-dropdown-panel { background: #1c1d24; box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 24px 64px -16px rgb(0 0 0 / .6); }
.feature-dropdown[open] .feature-dropdown-panel { animation: halo-menu-in .2s cubic-bezier(.2, .8, .2, 1); }
@keyframes halo-menu-in { from { opacity: 0; translate: 0 -6px; scale: .985; } }
.site-nav nav .feature-dropdown-panel .feature-dropdown-all, :root[data-theme] .site-nav nav .feature-dropdown-panel .feature-dropdown-all { min-height: 40px; margin: 0 0 6px; padding: 8px 12px; border: 0; border-radius: 10px; font-weight: 500; }
.feature-dropdown-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.feature-dropdown-group { margin: 0; padding: 12px 12px 6px; font: 500 12px/1.2 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; opacity: .62; }
.feature-dropdown-panel ul, :root .feature-dropdown-panel ul { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 0; }
.site-nav nav .feature-dropdown-panel li a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 9px 12px; border-radius: 10px; transition: background-color .14s ease; }
.site-nav nav .feature-dropdown-panel li a span { margin: 0; opacity: 1; font-size: 14px; font-weight: 500; line-height: 1.25; }
.feature-dropdown-panel li a small { font-size: 12.5px; line-height: 1.35; opacity: .66; }
:root[data-theme] .site-nav nav .feature-dropdown-panel a:is(:hover, :focus-visible) { background: rgb(83 102 234 / .1); color: inherit; }
:root[data-theme] .site-nav nav .feature-dropdown-panel a:is(:hover, :focus-visible) span { color: var(--halo); }
:root[data-theme] .site-nav nav .feature-dropdown-panel a[aria-current="page"] { text-decoration: none; background: rgb(83 102 234 / .1); }
@media (max-width: 760px) {
  .feature-dropdown-panel, :root[data-theme] .feature-dropdown-panel { top: calc(100% + 4px); padding: 8px; }
  .feature-dropdown-groups { grid-template-columns: 1fr; }
  .feature-dropdown-panel li a small { display: none; }
  .site-nav nav .feature-dropdown-panel :is(li a, .feature-dropdown-all), :root[data-theme] .site-nav nav .feature-dropdown-panel .feature-dropdown-all { min-height: 44px; }
  .site-nav [data-theme-toggle], :root[data-theme] .site-nav [data-theme-toggle] { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
}

/* One focus ring for every control: the halo colour, clear of the edge. */
:is(.button, .ml-button, [data-theme-toggle], .site-nav nav a, .feature-dropdown > summary, .menu-toggle):focus-visible { outline: 2px solid var(--halo); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .theme-icon, .theme-icon-core, .theme-icon-cut, .theme-icon-rays, .primary, .button .icon { transition-duration: .01ms; }
  .feature-dropdown[open] .feature-dropdown-panel { animation: none; }
  .primary:hover, :root .ml-sections .ml-final .ml-button:hover, :is(.button, .ml-button):hover .icon { transform: none; }
}

/* Free diagnosis hand-off (navigation.js): the diagnose page's ground (the app's --color-bg) opens out of
   the button, then the loading orb and its line rise in. */
.diagnose-veil {
  position: fixed; inset: 0; z-index: 2147483000; display: grid; place-content: center; justify-items: center; gap: 20px;
  background: #f2f4fb; color: #5b6070; font: 450 14px/1.4 geist, system-ui, sans-serif; letter-spacing: .01em;
  clip-path: circle(0 at var(--x) var(--y)); animation: diagnose-veil .7s cubic-bezier(.7, 0, .2, 1) forwards;
}
.diagnose-veil.is-dark { background: #0f1015; color: #9a9fae; }
.diagnose-veil > * { margin: 0; opacity: 0; animation: diagnose-veil-in .5s .32s cubic-bezier(.2, .8, .2, 1) forwards; }
.diagnose-veil p { animation-delay: .45s; }
.diagnose-veil canvas { width: 112px; height: 112px; }
@keyframes diagnose-veil { to { clip-path: circle(150vmax at var(--x) var(--y)); } }
@keyframes diagnose-veil-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
