/* --- Global Resets & Typography --- */
:root {
  --frame-size: 80px;
  --layout-vh: 1vh;
  --scene-height: 1900vh;
  --business-blue: #0052ff;
  --business-transition-start: 0px;
  --business-transition-height: 1px;
  --business-static-start: 0px;
  --business-transition-bg-offset: 0px;
  --business-static-bg-offset: 0px;
  --artwork-end: 100vh;
  --section-scroll-offset: calc(var(--frame-size) + 40px);
  --floating-nav-height: 64px;
  --legal-progress: 0;
  --legal-offset: 24px;
  --nav-compact-scale-x: 1;
  --nav-compact-scale-y: 1;
  --nav-compact-y: -2px;
}

.preview-waitlist-disclosure {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 8px;
  left: 24px;
  margin: 0 auto;
  padding: 4px 8px;
  max-width: 36rem;
  color: #4c5667;
  background: rgba(255, 255, 255, .9);
  border-radius: 999px;
  font-size: .78rem;
  line-height: 1.25;
  text-align: center;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #ffffff;
  color: #fff;
  overflow-y: scroll;
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -56px;
  z-index: 100000;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid #0052ff;
  outline-offset: 2px;
}

html.is-preparing,
body.is-preparing {
  cursor: progress;
}

.is-preparing .ticker-track {
  animation-play-state: paused;
}

/* =========================================
   BAKING / LOADING SCREEN
   ========================================= */

#page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #0052FF;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 16px;
}
.loader-text {
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 13px;
}
/* =========================================
   LAYER 1: SCROLLABLE BACKGROUND CONTENT
   ========================================= */

.content-scroll-layer {
  position: relative;
  width: 100%;
  min-height: var(--scene-height);
  z-index: 1;
}

/* Layout-neutral unless macOS Safari opts into the native sticky foreground
   stage. The scroll rail intentionally remains free of overflow, transforms,
   containment, and isolation so it is the stage's containing block. */
.content-stage {
  position: static;
  width: 100%;
}

html.has-sticky-section-motion .content-stage {
  position: sticky;
  top: 0;
  height: calc(var(--layout-vh) * 100);
  overflow: hidden;
  z-index: 5;
}

.html-graphic-container {
  position: absolute;
  top: 0;
  left: 0;
  height: var(--artwork-end);
  width: 100%;
  background: #fffff0;
  background-position: center top;
  background-repeat: repeat-y;
  contain: paint;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.html-graphic-container.is-dom-fallback {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  contain: content;
}

.html-graphic-container.is-dom-fallback pre {
  flex: none;
  width: 100%;
  overflow: hidden;
  background: #fffff0;
  color: #111111;
  font-family: "Courier New", Courier, monospace;
  font-size: calc(100vw / 180);
  line-height: 1;
  letter-spacing: 0;
  white-space: pre;
}


/* =========================================
   ARTWORK LAYERS (shared positioning)
   ========================================= */

.artwork-layer {
  position: absolute;
  top: 0;
  left: 0;
  height: var(--artwork-end);
  width: 100%;
  background-position: center top;
  background-repeat: repeat-y;
  contain: paint;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.business-art-layer,
.business-art-surface {
  z-index: 2;
  background-color: #0b0c0f;
  background-image: url("artwork/tree-dark-tile-1440.png");
  background-repeat: repeat-y;
}

.business-art-transition {
  top: var(--business-transition-start);
  height: var(--business-transition-height);
  overflow: hidden;
  contain: layout paint;
  transform: translate3d(0, 100vh, 0);
}

.business-art-surface {
  position: absolute;
  inset: 0;
  background-position: center var(--business-transition-bg-offset);
  transform: translate3d(0, -100vh, 0);
}

.business-art-transition.is-motion-active,
.business-art-surface.is-motion-active {
  will-change: transform;
}

.has-threaded-motion {
  animation-duration: auto;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-fill-mode: both;
  animation-timeline: --page-motion;
}

.business-art-layer {
  top: var(--business-static-start);
  height: max(0px, calc(var(--artwork-end) - var(--business-static-start)));
  background-position: center var(--business-static-bg-offset);
}

/* Windows sticky mode paints the business chapter on each promoted foreground
   section. The artwork therefore shares the section's compositor transform and
   requires no additional scroll-time writes or scene-height surface. */
html.has-windows-sticky-art .business-art-transition,
html.has-windows-sticky-art .business-art-layer {
  visibility: hidden;
}

html.has-windows-sticky-art .business-theme-section {
  isolation: isolate;
}

html.has-windows-sticky-art .business-theme-section::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: #0b0c0f url("artwork/tree-dark-tile-1440.png") center top / 100vw auto repeat-y;
  content: "";
  pointer-events: none;
}

html[data-theme="dark"] .business-art-transition,
html[data-theme="dark"] .business-art-layer,
html[data-theme="dark"].has-windows-sticky-art .business-theme-section::before {
  display: none;
}

.leaf-particle-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 4;
  pointer-events: none;
}

/* --- Hero Section --- */
.hero-body {
  position: absolute;
  top: calc(var(--layout-vh) * 25);
  left: 120px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
  backface-visibility: hidden;
  width: min(1000px, calc(100% - 240px));
}

.hero-body h1 {
  max-width: 1000px;
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 15px;
  color: #111111; 
}

.hero-heading-line {
  display: block;
  white-space: nowrap;
}

.blue-copy {
  color: #0052ff;
}

.hero-body p {
  font-size: 16px;
  color: #333333;
  font-weight: 400;
  max-width: 72ch;
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  pointer-events: auto;
}

.hero-buttons .cta-btn {
  font-size: 14px;
  padding: 12px 24px;
  text-decoration: none;
}

.hero-buttons .cta-btn:hover {
  text-decoration: none;
}

/* --- Full-height Feature Sections --- */
.feature-section {
  position: absolute;
  left: 120px;
  right: 120px;
  height: calc(var(--layout-vh) * 100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  z-index: 5;
  pointer-events: none;
  backface-visibility: hidden;
}

.section-text {
  flex: 1;
  max-width: 500px;
}

.section-text h2 {
  font-size: clamp(52px, 4.2vw, 60px);
  color: #111;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 15px;
}

.cursive-premium {
  font-family: inherit;
  font-style: normal;
  color: #0052FF;
  font-size: inherit;
  font-weight: inherit;
}

.section-text p {
  font-size: 20px;
  color: #333;
  font-weight: 400;
}

.cli-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.feature-visual-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.cli-section .feature-visual-container {
  order: 1;
  justify-content: flex-start;
}

.cli-section .cli-section-text {
  order: 2;
}

/* CLI TUI Frosted Glass & Layout Details */
.cli-window.frosted-glass {
  --bg-color: rgba(255, 255, 255, 0.35);          
  --border-color: rgba(0, 0, 0, 0.15);      
  --text-main: #222222;         
  --text-accent: #0052FF;       
  --text-muted: #666666;        
  --font-terminal: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.cli-window {
  position: relative;
  width: 100%;
  max-width: 650px;
  height: clamp(400px, 34vw, 440px);
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-terminal);
  isolation: isolate;
}

.cli-window.frosted-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.84);
  pointer-events: none;
}

.cli-window > * {
  position: relative;
  z-index: 1;
}
.title-bar {
  height: 40px;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}
.window-controls { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }
.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.5px;
}
.cli-content {
  flex: 1;
  padding: 20px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  line-height: 1.6;
  background-color: rgba(255, 255, 255, 0.18);
  contain: layout paint;
}
.log-entry {
  color: var(--text-main);
  min-height: 3.9em;
  opacity: 1;
}

.log-entry.is-entering {
  animation: transcriptEntry 260ms ease-out both;
}

@keyframes transcriptEntry {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.typed-copy {
  white-space: pre-line;
}
.typed-copy.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 0.15em;
  vertical-align: -0.12em;
  background: currentColor;
  animation: typingCursor 0.8s steps(1) infinite;
}
@keyframes typingCursor {
  50% { opacity: 0; }
}
.log-entry.ai-response {
  color: var(--text-accent);
  border-left: 2px solid var(--text-accent);
  padding-left: 10px;
}
.log-entry .meta {
  color: var(--text-muted);
  font-size: 11px;
  margin-bottom: 4px;
}
.cli-input-bar {
  border-top: 1px solid var(--border-color);
  background-color: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  padding: 14px 20px;
}
.prompt-symbol {
  color: var(--text-accent);
  font-weight: bold;
  font-size: 16px;
  margin-right: 12px;
  user-select: none;
}
.cli-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-terminal);
  font-size: 14px;
  outline: none;
}

.cli-input.is-typing,
.desktop-composer input.is-typing {
  caret-color: currentColor;
}

/* Desktop app */
.product-window {
  --border-color: rgba(0, 0, 0, 0.14);
  --text-muted: #667087;
  position: relative;
  width: 100%;
  max-width: 650px;
  height: clamp(480px, 40vw, 540px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #17203a;
  background: rgba(247, 249, 253, 0.96);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
  isolation: isolate;
}

.desktop-app {
  display: grid;
  grid-template-columns: 29% minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}

.desktop-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  padding: 16px 12px;
  border-right: 1px solid var(--border-color);
  background: rgba(225, 232, 246, 0.72);
}

.desktop-sidebar strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.desktop-sidebar small {
  margin-top: 7px;
  color: #75809a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.desktop-sidebar span {
  overflow: hidden;
  padding: 8px 9px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-sidebar .desktop-sidebar-action {
  color: #fff;
  background: #0052ff;
}

.desktop-sidebar span.is-current {
  color: #123b96;
  background: rgba(0, 82, 255, 0.1);
}

.desktop-main {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
}

.desktop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 700;
}

.desktop-toolbar small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4c678f;
  font-size: 9px;
  font-weight: 500;
}

.desktop-toolbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ac26d;
}

.desktop-conversation {
  flex: 1;
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 13px;
  padding: 16px 14px 10px;
  overflow-y: auto;
  contain: layout paint;
}

.desktop-message {
  display: flex;
  max-width: 94%;
  flex-direction: column;
}

.desktop-message-user {
  align-self: flex-end;
  align-items: flex-end;
}

.desktop-message > span {
  margin: 0 4px 4px;
  color: #778196;
  font-size: 9px;
}

.desktop-message > p {
  padding: 10px 12px;
  border: 1px solid rgba(18, 40, 90, 0.12);
  border-radius: 12px;
  color: #26344f;
  background: #fff;
  font-size: 12px;
  line-height: 1.48;
}

.desktop-message-user > p {
  border: 0;
  border-bottom-right-radius: 3px;
  color: #fff;
  background: #0052ff;
}

.thinking-block {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border: 1px solid rgba(0, 82, 255, 0.16);
  border-radius: 9px;
  color: #4a5e85;
  background: rgba(0, 82, 255, 0.055);
  font-size: 11px;
  font-weight: 600;
}

.thinking-block i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0052ff;
  box-shadow: 0 0 0 0 rgba(0, 82, 255, 0.35);
  animation: thinkingPulse 1.15s ease-out infinite;
}

.sponsor-surface {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  border: 1px solid;
  color: #17203a;
}

.sponsor-surface small {
  color: #68758a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.sponsor-surface strong {
  font-size: 11px;
}

.sponsor-surface p {
  font-size: 10px;
  line-height: 1.4;
}

.sponsor-surface.tier-a {
  border-color: #9bdfb7;
  background: #e9f9ef;
}

.sponsor-surface.tier-c {
  border-color: #cad5e4;
  background: #eef2f7;
}

.inline-sponsor {
  margin-top: 7px;
  padding: 10px 11px;
  border-radius: 8px;
}

.composer-stack {
  padding: 0 11px 10px;
}

.desktop-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 12px;
  border: 1px solid rgba(18, 40, 90, 0.14);
  border-radius: 999px;
  background: #fff;
}

.desktop-composer input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  color: #26344f;
  background: transparent;
  font-size: 11px;
}

.desktop-composer > span {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0052ff;
  font-size: 12px;
}

.terminal-sponsor-slot {
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.18);
}

.terminal-sponsor {
  padding: 10px 12px;
  border-radius: 8px 8px 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.thinking-block,
.sponsor-surface {
  opacity: 0;
  transform: translateY(6px);
  visibility: hidden;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    max-height 260ms ease,
    padding 260ms ease,
    margin 260ms ease,
    visibility 0s linear 260ms;
}

.thinking-block {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}

.thinking-block.is-visible,
.sponsor-surface.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}

.thinking-block.is-visible {
  max-height: 42px;
  padding-top: 9px;
  padding-bottom: 9px;
  border-width: 1px;
}

.inline-sponsor,
.terminal-sponsor {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}

.inline-sponsor {
  margin-top: 0;
}

.inline-sponsor.is-visible,
.terminal-sponsor.is-visible {
  max-height: 110px;
  border-width: 1px;
}

.inline-sponsor.is-visible {
  margin-top: 7px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.terminal-sponsor.is-visible {
  padding-top: 10px;
  padding-bottom: 10px;
}

@keyframes thinkingPulse {
  70% { box-shadow: 0 0 0 7px rgba(0, 82, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 82, 255, 0); }
}

/* Model Router */
.router-window {
  width: 100%;
  max-width: 650px;
  height: clamp(440px, 38vw, 500px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #161616;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.09);
  pointer-events: auto;
}

.router-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.router-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #0052ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.router-header h3 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.router-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #555;
  font-size: 11px;
}

.router-status > span {
  width: 7px;
  height: 7px;
  background: #27c93f;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(39, 201, 63, 0.14);
}

.router-columns,
.model-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  align-items: center;
  column-gap: 14px;
}

.router-columns {
  padding: 12px 22px;
  color: #6d6d6d;
  background: rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.router-columns span:not(:first-child),
.model-row > span { text-align: right; }

.model-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  outline: none;
  scrollbar-color: rgba(0, 82, 255, 0.45) transparent;
  scrollbar-width: thin;
}

.model-list:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(0, 82, 255, 0.5);
}

.model-list::-webkit-scrollbar { width: 7px; }
.model-list::-webkit-scrollbar-track { background: transparent; }
.model-list::-webkit-scrollbar-thumb {
  background: rgba(0, 82, 255, 0.38);
  border-radius: 4px;
}

.model-row {
  width: 100%;
  min-height: 66px;
  padding: 10px 22px;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.model-row:hover,
.model-row.is-selected {
  background: rgba(0, 82, 255, 0.08);
}

.model-row.is-selected {
  box-shadow: inset 3px 0 #0052ff;
}

.model-row:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid rgba(0, 82, 255, 0.65);
  outline-offset: -2px;
}

.model-row strong,
.model-row small { display: block; }

.model-row strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-row small {
  margin-top: 3px;
  color: #717171;
  font-size: 11px;
}

.model-row > span {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
}

.model-row > span:first-child {
  min-width: 0;
  text-align: left;
}

.router-estimator {
  padding: 10px 22px 8px;
  background: rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.router-estimator label,
.router-estimator p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.router-estimator label {
  color: #626262;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.router-estimator output { color: #0052ff; }

.router-estimator input {
  width: 100%;
  height: 3px;
  margin: 7px 0;
  accent-color: #0052ff;
  cursor: pointer;
}

.router-estimator p {
  color: #444;
  font-size: 11px;
}

.router-estimator p > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.router-estimator strong {
  flex: none;
  color: #111;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.router-estimator small {
  display: block;
  margin-top: 3px;
  color: #696969;
  font-size: 9px;
  text-align: right;
}

.router-disclaimer {
  padding: 11px 22px;
  color: #686868;
  background: rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 10px;
  line-height: 1.4;
}

/* User story content */
.story-window {
  width: 100%;
  max-width: 650px;
  min-height: 430px;
  padding: 28px;
  color: #111;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  pointer-events: auto;
}

.story-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.story-eyebrow,
.story-index,
.placement-tier,
.track-label {
  color: #0052ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.story-index { color: #6d6d6d; }

.story-lead {
  max-width: 560px;
  margin-bottom: 24px;
  color: #333;
  font-size: 17px;
  line-height: 1.55;
}

.access-path {
  display: grid;
  gap: 10px;
}

.access-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 7px;
}

.access-step > span {
  color: #0052ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.access-step strong,
.access-step small { display: block; }

.access-step strong {
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 650;
}

.access-step small {
  color: #616161;
  font-size: 12px;
  line-height: 1.4;
}

.economic-section .economic-visual,
.trust-section .trust-visual {
  order: 1;
  justify-content: flex-start;
}

.economic-section .economic-section-text,
.trust-section .trust-section-text { order: 2; }

.placement-list {
  display: grid;
  gap: 12px;
}

.placement-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  min-height: 94px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-left: 2px solid #0052ff;
  border-radius: 7px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.placement-card:hover,
.placement-card.is-selected {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(0, 82, 255, 0.42);
}

.placement-card.is-selected { transform: translateX(3px); }

.placement-card:focus-visible {
  outline: 2px solid rgba(0, 82, 255, 0.65);
  outline-offset: 2px;
}

.placement-tier { padding-top: 3px; }

.placement-card h3 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 650;
}

.placement-card p {
  color: #5f5f5f;
  font-size: 12px;
  line-height: 1.5;
}

.placement-preview {
  min-height: 54px;
  margin-top: 12px;
  padding: 10px 13px;
  background: rgba(0, 82, 255, 0.06);
  border: 1px solid rgba(0, 82, 255, 0.18);
  border-radius: 7px;
}

.placement-preview > span,
.pipeline-detail > span {
  color: #0052ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.placement-preview p {
  margin-top: 4px;
  color: #4f4f4f;
  font-size: 11px;
}

.separation-track {
  padding: 20px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 7px;
}

.separation-track strong,
.separation-track small { display: block; }

.separation-track strong {
  margin: 9px 0 5px;
  font-size: 18px;
  font-weight: 650;
}

.separation-track small {
  color: #5f5f5f;
  font-size: 12px;
  line-height: 1.5;
}

.sponsor-track { border-color: rgba(0, 82, 255, 0.25); }

.separation-divider {
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.separation-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.separation-divider span {
  position: relative;
  padding: 0 12px;
  color: #777;
  background: rgba(255, 255, 255, 0.78);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.development-note {
  margin-top: 18px;
  color: #686868;
  font-size: 10px;
  line-height: 1.5;
}

/* Brand story content */
.brand-value-list {
  display: grid;
  gap: 10px;
}

.brand-value-list > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 7px;
}

.brand-value-list > div > span,
.pipeline-grid > li > span {
  padding-top: 2px;
  color: #0052ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.brand-value-list p,
.brand-value-list strong,
.brand-value-list small { display: block; }

.brand-value-list p { margin: 0; }

.brand-value-list strong {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 650;
}

.brand-value-list small {
  color: #616161;
  font-size: 11px;
  line-height: 1.4;
}

.brand-pipeline-section .brand-pipeline-visual,
.brand-dashboard-section .brand-dashboard-visual {
  order: 1;
  justify-content: flex-start;
}

.brand-pipeline-section .brand-pipeline-text,
.brand-dashboard-section .brand-dashboard-text { order: 2; }

.brand-pipeline-window { max-width: 700px; }

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

.pipeline-grid > li {
  display: block;
}

.pipeline-grid > li > button {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 12px;
  color: inherit;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 7px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.pipeline-grid > li > button:hover,
.pipeline-grid > li > button.is-selected {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(0, 82, 255, 0.42);
}

.pipeline-grid > li > button:focus-visible {
  outline: 2px solid rgba(0, 82, 255, 0.65);
  outline-offset: 2px;
}

.pipeline-grid strong,
.pipeline-grid small { display: block; }

.pipeline-grid strong {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 650;
}

.pipeline-grid small {
  color: #666;
  font-size: 10px;
  line-height: 1.35;
}

.pipeline-grid > li > button > span:first-child {
  padding-top: 2px;
  color: #0052ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.pipeline-detail {
  min-height: 61px;
  margin-top: 12px;
  padding: 10px 13px;
  background: rgba(0, 82, 255, 0.06);
  border: 1px solid rgba(0, 82, 255, 0.18);
  border-radius: 7px;
}

.pipeline-detail p {
  margin-top: 4px;
  color: #565656;
  font-size: 10px;
  line-height: 1.35;
}

.capability-list {
  display: grid;
  gap: 12px;
}

.capability-list article {
  padding: 17px 18px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-left: 2px solid #0052ff;
  border-radius: 7px;
}

.capability-list article > span {
  color: #0052ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.capability-list h3 {
  margin: 6px 0 5px;
  font-size: 16px;
  font-weight: 650;
}

.capability-list p {
  color: #606060;
  font-size: 11px;
  line-height: 1.45;
}

.brand-dashboard-section .brand-dashboard-text { flex: 0.72; }
.brand-dashboard-section .brand-dashboard-visual { flex: 1.28; }

.dashboard-window {
  max-width: 760px;
  min-height: 470px;
  padding: 24px;
}

.dashboard-window .story-window-header { margin-bottom: 18px; }

.demo-badge {
  padding: 4px 7px;
  color: #0052ff;
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.2);
  border-radius: 4px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.campaign-editor,
.campaign-preview,
.analytics-grid > div {
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 7px;
}

.campaign-editor { padding: 15px; }

.campaign-editor h3 {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 650;
}

.campaign-editor label {
  display: block;
  margin-top: 8px;
  color: #666;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-editor label span {
  display: block;
  margin-top: 4px;
  padding: 7px 8px;
  overflow: hidden;
  color: #333;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  font-family: inherit;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.campaign-summary {
  display: grid;
  gap: 12px;
}

.campaign-preview { padding: 15px; }

.campaign-preview small,
.analytics-grid small {
  display: block;
  color: #6a6a6a;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.campaign-preview strong {
  display: block;
  margin: 9px 0 5px;
  font-size: 13px;
}

.campaign-preview p {
  color: #5e5e5e;
  font-size: 10px;
  line-height: 1.4;
}

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

.analytics-grid > div { padding: 12px; }

.analytics-grid strong {
  display: block;
  margin-top: 6px;
  color: #0052ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
}

.dashboard-disclaimer {
  margin-top: 12px;
  color: #6a6a6a;
  font-size: 9px;
  line-height: 1.4;
}

/* Waitlist */
.waitlist-section,
.advertiser-waitlist-section {
  justify-content: center;
  text-align: center;
}

.waitlist-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #0052ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.waitlist-intro {
  max-width: 560px;
  margin: -12px auto 24px;
  color: #444;
  font-size: 15px;
  line-height: 1.5;
}

.waitlist-content {
  width: min(680px, 100%);
  pointer-events: auto;
}

.waitlist-content h2 {
  margin-bottom: 28px;
  color: #111;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.09);
}

.waitlist-turnstile {
  flex: 0 0 100%;
  order: 3;
  min-height: 0;
}

.waitlist-form button {
  order: 2;
}

.waitlist-form input {
  order: 1;
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  color: #111;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 16px;
}

.waitlist-form input:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(0, 82, 255, 0.55);
  border-radius: 7px;
}

.waitlist-form button {
  padding: 0 28px;
  color: #fff;
  background: #0052ff;
  border: 1px solid #0052ff;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.waitlist-form button:hover,
.waitlist-form button:focus-visible {
  color: #0052ff;
  background: #fff;
  outline: none;
}

.waitlist-status {
  min-height: 1.5em;
  margin-top: 16px;
  color: #111;
  font-size: 15px;
}

.waitlist-disclosure {
  max-width: 48rem;
  margin: 0.85rem auto 0;
  font-size: 0.78rem;
  line-height: 1.55;
  opacity: 0.84;
}

.waitlist-disclosure a { color: inherit; text-underline-offset: 0.16em; }

.waitlist-section .waitlist-disclosure {
  color: #111;
  opacity: 1;
}

.waitlist-content.is-complete .waitlist-form {
  display: none;
}

.waitlist-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  margin: 0;
  width: min(520px, calc(100vw - 32px));
  overflow: visible;
  padding: 38px 38px 42px;
  color: #111;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 82, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 20, 72, 0.3);
  transform: translate(-50%, -50%);
}

.waitlist-dialog[open] {
  animation: dialogEnter 180ms ease-out both;
}

.waitlist-dialog::backdrop {
  background: rgba(0, 19, 61, 0.54);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.waitlist-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  color: #063baf;
  background: transparent;
  border: 1px solid rgba(0, 82, 255, 0.18);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.waitlist-dialog-eyebrow {
  color: #0052ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.waitlist-dialog h2 {
  margin: 14px 0 12px;
  color: #111;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.waitlist-dialog > p {
  color: #444;
  font-size: 14px;
  line-height: 1.55;
}

.waitlist-dialog button:focus-visible {
  outline: 2px solid #0052ff;
  outline-offset: 3px;
}

@keyframes dialogEnter {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)) scale(0.98); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================================
   NAVBARS & BUTTONS
   ========================================= */

/* General Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
  height: var(--frame-size);
  position: relative;
}
.navbar .logo {
  display: flex;
  align-items: center;
  padding-left: var(--frame-size);
  padding-right: 30px;
  height: 100%;
}

.brand-lockup {
  flex: 0 0 auto;
  width: 128px;
  aspect-ratio: 4038 / 1254;
  background-color: currentColor;
  -webkit-mask: url("/logo/adrouter-logo-with-name.svg") center / contain no-repeat;
  mask: url("/logo/adrouter-logo-with-name.svg") center / contain no-repeat;
}
.navbar .nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  height: 100%;
}
.navbar .nav-links a {
  flex: 0 0 auto;
  width: 130px;
  justify-content: center;
  padding: 0;
}
.navbar .nav-actions {
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: var(--frame-size); 
}
.navbar a {
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 100%;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar .unavailable-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: not-allowed;
  opacity: 0.55;
}

.menu-toggle,
.mobile-menu { display: none; }
.navbar .nav-links .users-link {
  border-left: 1px solid rgba(0, 0, 0, 0.15);
}
.action-btn-container {
  display: flex;
  align-items: center;
  padding-left: 20px;
}

/* Background Navbar — centered white glass bubble on desktop */
.bg-navbar {
  position: fixed;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 75vw;
  height: var(--floating-nav-height);
  max-width: calc(100vw - 160px);
  z-index: 90;
  pointer-events: auto;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 82, 255, 0.13);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  isolation: isolate;
  transform: translate3d(-50%, 0, 0) scale(1);
  transform-origin: top center;
  transition: transform 180ms ease-out;
  contain: layout paint;
}

@media (min-width: 901px) {
  html.is-nav-compact .bg-navbar {
    transform: translate3d(-50%, var(--nav-compact-y, -2px), 0) scale(var(--nav-compact-scale-x, 1), var(--nav-compact-scale-y, 1));
  }
}
.bg-navbar .logo {
  width: 100%;
  min-width: 0;
  padding-left: 28px;
  padding-right: 24px;
  color: #111;
  border-right: 1px solid rgba(0, 82, 255, 0.12);
  white-space: nowrap;
}
.bg-navbar .nav-links {
  position: static;
  left: auto;
  transform: none;
  justify-self: center;
  min-width: 0;
}
.bg-navbar .nav-links a {
  width: clamp(104px, 9vw, 130px);
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.bg-navbar .nav-actions {
  justify-self: stretch;
  justify-content: flex-end;
  min-width: 0;
  padding-right: 28px;
  white-space: nowrap;
}
.bg-navbar .action-btn-container {
  flex: 0 0 auto;
  padding-left: 18px;
}
.bg-navbar .unavailable-link {
  flex: 0 0 auto;
  padding: 0 18px;
}

.bg-navbar .nav-links a, 
.bg-navbar .nav-actions .link-btn {
  color: #111;
  border-right: 1px solid rgba(0, 82, 255, 0.12);
}
.bg-navbar .nav-links .users-link {
  border-left-color: rgba(0, 82, 255, 0.12);
}
.bg-navbar .nav-links a:hover, 
.bg-navbar .nav-actions .link-btn:hover {
  color: #555eed;
}

/* Top Frame Navbar (White Text) */
.frame-top.navbar .logo {
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.frame-top.navbar .nav-links a, 
.frame-top.navbar .nav-actions .link-btn {
  color: rgba(255, 255, 255, 0.6);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.frame-top.navbar .unavailable-link {
  color: rgba(255, 255, 255, 0.6);
  border-right-color: rgba(255, 255, 255, 0.3);
}

.bg-navbar .unavailable-link {
  color: rgba(17, 17, 17, 0.55);
}
.frame-top.navbar .nav-links .users-link {
  border-left-color: rgba(255, 255, 255, 0.3);
}
.frame-top.navbar .nav-links a:hover, 
.frame-top.navbar .nav-actions .link-btn:hover {
  color: #fff;
}

/* Base CTA Button Styles */
.cta-btn {
  font-size: 11px; 
  font-weight: 600;
  letter-spacing: 0.05em; 
  padding: 8px 16px; 
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  pointer-events: auto;
  height: auto !important; 
}

.border-white-btn { border: 1px solid #fff; color: #fff; background-color: transparent; }
.border-white-btn:hover { background-color: #fff; color: #0052FF; }

.border-dark-btn { border: 1px solid #111; color: #111; background-color: transparent; }
.border-dark-btn:hover { background-color: #111; color: #fff; }

.solid-btn { background-color: #555eed; color: #fff !important; border: 1px solid #555eed; }
.solid-btn:hover { background-color: transparent; color: #555eed !important; }

.outline-dark-btn { border: 1px solid #111; color: #111 !important; background-color: transparent; }
.outline-dark-btn:hover { background-color: #111; color: #fff !important; }

.navbar .waitlist-link {
  height: auto;
  padding: 8px 0;
  color: inherit;
  border: 0;
  background: transparent;
}
.bg-navbar .waitlist-link {
  color: #111;
}
.frame-top .waitlist-link { color: rgba(255, 255, 255, 0.75); }
.frame-top .waitlist-link:hover { color: #fff; }

.attracted-section {
  backface-visibility: hidden;
}

.attracted-section.is-motion-active {
  will-change: transform;
}

html.has-threaded-section-motion .attracted-section {
  animation-duration: auto;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-fill-mode: both;
  animation-timeline: --page-motion;
}

html.has-threaded-section-motion {
  scroll-timeline-name: --page-motion;
  scroll-timeline-axis: block;
}

/* =========================================
   LAYER 2: FIXED EXITING FRAME OVERLAY
   ========================================= */

.frame-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  pointer-events: none; 
}

.frame-panel {
  position: absolute;
  background-color: #0052FF;
  pointer-events: auto; 
  will-change: transform;
  backface-visibility: hidden;
}

.frame-top {
  top: 0; left: 0;
  width: 100vw; 
  height: var(--frame-size);
  z-index: 107;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transform: translate3d(0, 0, 0);
}

.frame-bottom {
  bottom: 0; left: 0;
  width: 100vw; 
  height: 50vh;
  min-height: 360px;
  z-index: 107;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
  transform: translate3d(0, calc(100% - var(--frame-size)), 0);
  overflow: hidden;
}

.legal-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(300px, 1fr);
  grid-template-rows: 1fr auto;
  gap: 24px 64px;
  width: 100%;
  height: 100%;
  padding: clamp(42px, 5vh, 64px) max(var(--frame-size), 7vw) 30px;
  color: #063baf;
  opacity: var(--legal-progress);
  transform: translate3d(0, var(--legal-offset), 0);
  pointer-events: none;
}

html.is-legal-active .legal-panel {
  pointer-events: auto;
}

.legal-panel-brand {
  align-self: start;
  max-width: 620px;
}

.legal-kicker,
.legal-panel-links small {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.legal-panel-brand h2 {
  margin: 12px 0 16px;
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.legal-panel-brand p,
.legal-panel-meta {
  font-size: 13px;
  line-height: 1.55;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(0, 82, 255, 0.2);
  border-radius: 50%;
  color: #063baf;
  background: rgba(0, 82, 255, 0.04);
  text-decoration: none;
}

.social-links a:hover {
  border-color: rgba(0, 82, 255, 0.38);
  background: rgba(0, 82, 255, 0.09);
}

.social-icon {
  display: block;
  width: 19px;
  height: 19px;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.social-icon-x {
  -webkit-mask-image: url("/assets/social/x.svg");
  mask-image: url("/assets/social/x.svg");
}

.social-icon-discord {
  -webkit-mask-image: url("/assets/social/discord.svg");
  mask-image: url("/assets/social/discord.svg");
}

.social-icon-github {
  -webkit-mask-image: url("/assets/social/github.svg");
  mask-image: url("/assets/social/github.svg");
}

.social-icon-reddit {
  -webkit-mask-image: url("/assets/social/reddit.svg");
  mask-image: url("/assets/social/reddit.svg");
}

.social-icon-linkedin {
  -webkit-mask-image: url("/assets/social/linkedin.svg");
  mask-image: url("/assets/social/linkedin.svg");
}

.legal-panel-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  border-top: 1px solid rgba(0, 82, 255, 0.2);
}

.legal-panel-links > span,
.legal-panel-links > a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(0, 82, 255, 0.16);
  color: #063baf;
  font-size: 12px;
  text-decoration: none;
}

.legal-panel-links > span:nth-child(odd),
.legal-panel-links > a:nth-child(odd) {
  padding-right: 18px;
  border-right: 1px solid rgba(0, 82, 255, 0.16);
}

.legal-panel-links > span:nth-child(even),
.legal-panel-links > a:nth-child(even) {
  padding-left: 18px;
}

.legal-panel-links small {
  color: rgba(6, 59, 175, 0.55);
  font-size: 8px;
}

.legal-panel-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 82, 255, 0.2);
  color: rgba(6, 59, 175, 0.72);
}

.legal-panel-meta p:first-child {
  max-width: 720px;
}

.legal-panel-meta a {
  color: inherit;
}

.legal-scroll-anchor {
  pointer-events: none;
}

.frame-left {
  top: 0; left: 0;
  width: var(--frame-size); 
  height: 100vh;
  z-index: 106; 
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.4);
  transform: translate3d(0, 0, 0);
}

.frame-right {
  top: 0; right: 0;
  width: var(--frame-size); 
  height: 100vh;
  z-index: 106;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.4);
  transform: translate3d(0, 0, 0);
}

/* --- Dynamic Expanding Brand Ticker --- */
.ticker-dock {
  position: absolute;
  bottom: 0; 
  left: 0;
  width: 100vw; 
  border-top: 1px solid rgba(0, 0, 0, 0.15); 
  background: rgba(255, 255, 255, 0.35); 
  padding: 25px 0;
  z-index: 104; 
  
  transform: translate3d(0, -80px, 0);
  will-change: transform;
  backface-visibility: hidden;
}

.ticker-wrap {
  overflow: hidden;
  width: 100%;
  contain: paint;
}
.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: scrollTimeline 25s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.ticker-group {
  display: flex;
  flex: none;
  align-items: center;
}

.ai-logo-item {
  display: grid;
  place-items: center;
  width: 220px;
  padding: 0 36px;
}

.ai-logo-item img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: 28px;
  object-fit: contain;
}

/* =========================================
   BUSINESS COLOR-INVERSION TRANSITION
   ========================================= */

.frame-panel {
  background-color: var(--business-blue);
}

.frame-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.frame-top > * {
  position: relative;
  z-index: 1;
}

.frame-top > .nav-links,
.frame-top > .menu-toggle,
.frame-top > .mobile-menu {
  position: absolute;
}

.frame-top.navbar .logo,
.frame-top.navbar .nav-links a,
.frame-top.navbar .nav-actions .link-btn,
.frame-top .waitlist-link {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.frame-top.navbar .logo,
.frame-top.navbar .nav-links a,
.frame-top.navbar .nav-actions .link-btn,
.frame-top.navbar .nav-links .users-link {
  border-color: rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s ease;
}

.is-final-frame .frame-panel::before {
  opacity: 1;
}

.is-final-frame .frame-top.navbar .logo,
.is-final-frame .frame-top .waitlist-link {
  color: #003dbf;
}

.is-final-frame .frame-top.navbar .nav-links a,
.is-final-frame .frame-top.navbar .nav-actions .link-btn {
  color: #063baf;
}

.is-final-frame .frame-top.navbar .logo,
.is-final-frame .frame-top.navbar .nav-links a,
.is-final-frame .frame-top.navbar .nav-actions .link-btn,
.is-final-frame .frame-top.navbar .nav-links .users-link {
  border-color: rgba(0, 82, 255, 0.22);
}

.is-final-frame .frame-top.navbar .nav-links a:hover,
.is-final-frame .frame-top.navbar .nav-actions .link-btn:hover,
.is-final-frame .frame-top .waitlist-link:hover {
  color: #0052ff;
  background-color: rgba(0, 82, 255, 0.07);
}

.business-theme-section {
  --business-primary-copy: #fff;
  --business-secondary-copy: rgba(255, 255, 255, 0.76);
  --business-accent-copy: #b9d1ff;
  color: var(--business-primary-copy);
}

.business-theme-section .section-text h2,
.business-theme-section .waitlist-content h2,
.business-theme-section h3,
.business-theme-section strong,
.business-theme-section .campaign-editor label span,
.business-theme-section .waitlist-status {
  color: var(--business-primary-copy);
}

.business-theme-section .section-text > p,
.business-theme-section .story-lead,
.business-theme-section .waitlist-intro,
.business-theme-section small,
.business-theme-section .capability-list p,
.business-theme-section .campaign-preview p,
.business-theme-section .dashboard-disclaimer {
  color: var(--business-secondary-copy);
}

.business-theme-section .blue-copy,
.business-theme-section .story-eyebrow,
.business-theme-section .story-index,
.business-theme-section .waitlist-eyebrow,
.business-theme-section .brand-value-list > div > span,
.business-theme-section .pipeline-grid > li > span,
.business-theme-section .capability-list article > span,
.business-theme-section .analytics-grid strong {
  color: var(--business-accent-copy);
}

.business-theme-section .story-window,
.business-theme-section .waitlist-form {
  background: var(--read-surface, #fff);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 48px rgba(0, 20, 72, 0.24);
}

.business-theme-section .story-window-header {
  border-color: rgba(255, 255, 255, 0.24);
}

.business-theme-section .brand-value-list > div,
.business-theme-section .pipeline-grid > li > button,
.business-theme-section .capability-list article,
.business-theme-section .campaign-editor,
.business-theme-section .campaign-preview,
.business-theme-section .analytics-grid > div {
  background: var(--read-surface, #fff);
  border-color: rgba(255, 255, 255, 0.22);
}

.business-theme-section .pipeline-grid > li > button:hover,
.business-theme-section .pipeline-grid > li > button.is-selected,
.business-theme-section .pipeline-detail {
  background: var(--read-card, #f4f6fa);
  border-color: rgba(255, 255, 255, 0.38);
}

.business-theme-section .pipeline-grid > li > button > span:first-child,
.business-theme-section .pipeline-detail > span {
  color: var(--adr-accent);
}

.business-theme-section .pipeline-detail p { color: var(--read-ink); }

.business-theme-section .capability-list article {
  border-left-color: #b9d1ff;
}

.business-theme-section .campaign-editor label {
  color: rgba(255, 255, 255, 0.7);
}

.business-theme-section .campaign-editor label span {
  background: rgba(0, 23, 78, 0.34);
  border-color: rgba(255, 255, 255, 0.2);
}

.business-theme-section .demo-badge {
  color: #e4edff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.business-theme-section .waitlist-form input {
  color: #fff;
}

.business-theme-section .waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.business-theme-section .waitlist-form input:focus-visible {
  box-shadow: inset 0 0 0 2px #b9d1ff;
}

.business-theme-section .waitlist-form button {
  color: #0052ff;
  background: #fff;
  border-color: #fff;
}

.business-theme-section .waitlist-form button:hover,
.business-theme-section .waitlist-form button:focus-visible {
  color: #fff;
  background: transparent;
}

.ticker-dock {
  border-top: 1px solid rgba(0, 82, 255, 0.15);
  background: transparent;
}

.ticker-dock::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.ticker-wrap {
  position: relative;
  z-index: 1;
}

.bg-navbar {
  border-color: rgba(0, 82, 255, 0.13);
}

.bg-navbar .nav-links a:hover,
.bg-navbar .nav-actions .link-btn:hover,
.bg-navbar .waitlist-link:hover {
  color: #0052ff;
  background-color: rgba(0, 82, 255, 0.06);
}

/* Floating next-section scroll controls — continuous color transition */
.section-scroll-btn {
  position: absolute;
  bottom: calc(var(--frame-size) + 18px);
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: none;
  z-index: 108;
  opacity: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.section-scroll-btn::after {
  content: '↓';
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0;
  animation: scrollArrowBob 1.35s ease-in-out infinite;
}

@keyframes scrollArrowBob {
  0%, 100% { transform: translate3d(0, -1px, 0); }
  50% { transform: translate3d(0, 5px, 0); }
}

.section-scroll-btn:hover,
.section-scroll-btn:focus-visible {
  transform: translate3d(-50%, -2px, 0);
  outline: none;
}

.section-scroll-btn.is-active {
  opacity: 1;
  pointer-events: auto;
}

html.is-scrolling .section-scroll-btn.is-active {
  opacity: 0.55;
}

html.is-scrolling .section-scroll-btn::after {
  animation-play-state: paused;
}

/* Decorative clock-driven work yields to the scroll-linked motion driver. */
html.is-scrolling .log-entry.is-entering,
html.is-scrolling .desktop-message.is-entering,
html.is-scrolling .thinking-block i,
html.is-scrolling .typed-copy.is-typing::after {
  animation-play-state: paused;
}

.section-scroll-btn[hidden] {
  display: none;
}

/* .is-business-theme .section-scroll-btn — removed, continuous color-mix handles the transition */

.section-scroll-btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 82, 255, 0.5);
}

@media (max-width: 900px) {
  .section-scroll-btn {
    font-size: 11px;
  }

  .bg-navbar {
    grid-template-columns: 1fr;
    width: 90vw;
    max-width: none;
    top: 0;
    border-radius: 0 0 16px 16px;
  }

  .bg-navbar .logo {
    width: auto;
    justify-self: start;
    padding-left: 24px;
    border-right: 0;
  }

  html.is-nav-compact .bg-navbar {
    width: 84vw;
    height: 56px;
    top: 0;
    border-radius: 0 0 14px 14px;
  }

  html.is-nav-compact .bg-navbar .logo {
    padding-left: 20px;
  }
}

@keyframes scrollTimeline {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 900px) {
  .navbar .nav-links,
  .navbar .nav-actions { display: none; }

  .navbar .logo {
    padding-left: var(--frame-size);
    padding-right: 16px;
  }

  .menu-toggle {
    position: absolute;
    right: var(--frame-size);
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 4px;
    color: #111;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .menu-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
  }

  .frame-top .menu-toggle { color: #fff; }

  .bg-navbar .menu-toggle {
    color: #111;
  }

  .is-final-frame .frame-top .menu-toggle { color: #0052ff; }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: var(--frame-size);
    width: min(240px, calc(100vw - (var(--frame-size) * 2)));
    padding: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 9px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(16px);
  }

  .navbar.is-menu-open .mobile-menu { display: grid; }

  .mobile-menu a {
    height: auto;
    min-height: 42px;
    padding: 12px;
    color: #111 !important;
    border: 0 !important;
    border-radius: 6px;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible {
    color: #0052ff !important;
    background: rgba(0, 82, 255, 0.08);
    outline: none;
  }

  .feature-section {
    left: 80px;
    right: 80px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
  }

  .section-text {
    max-width: 650px;
  }

  .cli-section .cli-section-text {
    order: 1;
  }

  .cli-section .feature-visual-container {
    order: 2;
  }

  .economic-section .economic-section-text,
  .trust-section .trust-section-text {
    order: 1;
  }

  .economic-section .economic-visual,
  .trust-section .trust-visual {
    order: 2;
  }

  .brand-pipeline-section .brand-pipeline-text,
  .brand-dashboard-section .brand-dashboard-text {
    order: 1;
  }

  .brand-pipeline-section .brand-pipeline-visual,
  .brand-dashboard-section .brand-dashboard-visual {
    order: 2;
  }

  .brand-dashboard-section .brand-dashboard-text,
  .brand-dashboard-section .brand-dashboard-visual {
    flex: 0 1 auto;
  }

  .feature-visual-container {
    width: 100%;
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .cli-window,
  .product-window,
  .router-window,
  .story-window {
    max-width: 100%;
    height: min(52vh, 470px);
  }

  .story-window {
    min-height: 0;
    overflow-y: auto;
  }

  .waitlist-section,
  .advertiser-waitlist-section {
    align-items: center;
  }

  .frame-bottom {
    height: 58vh;
  }

  .legal-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 18px;
    padding: 32px 24px 22px;
    overflow-y: auto;
  }

  .legal-panel-brand h2 {
    font-size: clamp(36px, 10vw, 52px);
  }

  .legal-panel-brand p,
  .legal-panel-meta {
    font-size: 12px;
  }

  .legal-panel-meta {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .story-window {
    padding: 20px;
  }

  .placement-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pipeline-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form button {
    min-height: 48px;
  }

  .waitlist-dialog {
    padding: 32px 22px 34px;
  }

  .legal-panel-links > span,
  .legal-panel-links > a {
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 11px;
  }

  .legal-panel-links > span:nth-child(odd),
  .legal-panel-links > a:nth-child(odd) {
    padding-right: 8px;
  }

  .legal-panel-links > span:nth-child(even) {
    padding-left: 8px;
  }

  .legal-panel-meta {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .attracted-section {
    transform: none !important;
  }

  .typed-copy.is-typing::after {
    display: none;
  }

  .desktop-message.is-entering,
  .log-entry.is-entering {
    animation: none;
  }

  .bg-navbar,
  .section-scroll-btn,
  .waitlist-dialog[open] {
    transition: none;
    animation: none;
  }

  .section-scroll-btn::after {
    animation: none;
  }
}

/* The explicit reduced-motion preference is a complete normal-flow layout,
   not merely a faster version of the cinematic rail. It uses the same
   semantic sections while removing pinning, frame travel, typing, and scene
   transforms. */
.reduced-motion-footer {
  display: none;
}

html[data-motion="reduce"] .content-scroll-layer {
  min-height: 0 !important;
  overflow: clip;
  background: var(--adr-paper, #f8f4e8);
}

html[data-motion="reduce"] .content-stage {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  overflow: visible !important;
  z-index: 5;
}

html[data-motion="reduce"] .hero-body,
html[data-motion="reduce"] .feature-section {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: min(100%, 1440px) !important;
  height: auto !important;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(116px, 13vh, 172px) clamp(28px, 8vw, 120px);
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto;
}

html[data-motion="reduce"] .hero-body {
  align-items: flex-start;
}

html[data-motion="reduce"] .feature-section {
  display: flex;
}

html[data-motion="reduce"] :is(
  .brand-intro-section,
  .brand-pipeline-section,
  .brand-capabilities-section,
  .brand-dashboard-section,
  .advertiser-waitlist-section
) {
  max-width: none !important;
  color: #fff;
  background-color: var(--adr-business, #063baf);
}

html[data-motion="reduce"] .legal-scroll-anchor {
  display: none;
  min-height: 0;
  padding: 0;
}

html[data-motion="reduce"] :is(
  .html-graphic-container,
  .artwork-layer,
  .leaf-particle-layer,
  .frame-layer,
  .section-scroll-btn
) {
  display: none !important;
}

html[data-motion="reduce"] .bg-navbar {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  margin-inline: auto;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto;
}

html[data-motion="reduce"] .reduced-motion-footer {
  display: grid;
  gap: 16px;
  padding: clamp(48px, 8vw, 96px) clamp(28px, 8vw, 120px);
  color: #fff;
  background: #051b4d;
}

html[data-motion="reduce"] .reduced-motion-footer h2,
html[data-motion="reduce"] .reduced-motion-footer p {
  max-width: 760px;
  margin: 0;
}

html[data-motion="reduce"] .reduced-motion-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

html[data-motion="reduce"] .reduced-motion-footer a {
  min-height: 44px;
  padding: 11px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  text-decoration: none;
}

html[data-motion="reduce"] .release-details,
html[data-motion="reduce"] .intent-demo,
html[data-motion="reduce"] .install-command,
html[data-motion="reduce"] .waitlist-form,
html[data-motion="reduce"] .waitlist-form * {
  pointer-events: auto;
}

@media (max-width: 900px) {
  html[data-motion="reduce"] .hero-body,
  html[data-motion="reduce"] .feature-section {
    min-height: auto;
    padding: 104px 24px 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
  }
}


/* 2026 editorial landing-page refresh */
.section-text .section-detail { margin-top: 18px; max-width: 48ch; font-size: 14px; line-height: 1.65; color: #59616e; }
.install-command { display: flex; align-items: center; gap: 10px; width: min(100%, 650px); margin-top: 14px; padding: 10px 12px; pointer-events: auto; border: 1px solid rgba(0,0,0,.15); border-radius: 9px; background: rgba(255,255,255,.78); }
.install-command code { min-width: 0; overflow: auto; color: #172033; font: 11px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; white-space: nowrap; }
.install-command button { flex: 0 0 auto; margin-left: auto; padding: 7px 10px; border: 1px solid #0052ff; border-radius: 6px; color: #0052ff; background: transparent; cursor: pointer; }
.install-command button:focus-visible { outline: 3px solid rgba(0,82,255,.28); outline-offset: 2px; }


.economic-flow{position:relative;width:min(100%,650px);min-height:430px;padding:24px;overflow:hidden;pointer-events:auto;border:1px solid rgba(0,0,0,.14);border-radius:12px;background:rgba(255,255,255,.93);box-shadow:0 18px 44px rgba(0,0,0,.09);color:#17203a}.economic-flow header{display:flex;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid rgba(18,40,90,.13);color:#0052ff;font:700 10px system-ui, -apple-system, "Segoe UI", sans-serif;letter-spacing:.13em}.flow-prompt{margin-top:16px;min-height:82px;padding:13px 15px;border:1px solid rgba(18,40,90,.13);border-radius:9px;background:rgba(255,255,255,.82)}.flow-prompt small{color:#68758a;font:700 9px system-ui, -apple-system, "Segoe UI", sans-serif}.flow-prompt p{margin-top:7px;color:#26344f;font-size:13px;line-height:1.48}.flow-fork{height:28px;background:none}.flow-lanes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.flow-lane{min-height:210px;padding:14px;border:1px solid rgba(18,40,90,.13);border-radius:9px;background:rgba(255,255,255,.76)}.flow-lane h3{display:flex;justify-content:space-between;margin:0 0 10px;color:#0052ff;font:700 10px system-ui, -apple-system, "Segoe UI", sans-serif;letter-spacing:.08em}.flow-lane h3 span{color:#68758a;font-size:8px}.flow-lane>p:not(.flow-match){color:#33415d;font-size:11px;line-height:1.55}.flow-match{margin:0 0 8px;padding:6px 8px;border-radius:5px;background:rgba(0,82,255,.065);color:#506079;font:8px system-ui, -apple-system, "Segoe UI", sans-serif;opacity:0;transform:translateY(4px);transition:.2s}.flow-match.is-visible{opacity:1;transform:none}.flow-sponsor-card{padding:11px;border:1px solid rgba(0,82,255,.18);border-radius:7px;background:rgba(0,82,255,.045);opacity:0;transition:.2s}.is-active .flow-sponsor-card,.is-complete .flow-sponsor-card{opacity:1}.flow-sponsor-card small{display:block;color:#0052ff;font:700 8px system-ui, -apple-system, "Segoe UI", sans-serif}.flow-sponsor-card strong{display:block;margin:6px 0;color:#1e2d49}.flow-sponsor-card p{color:#56647b;font-size:9.5px;line-height:1.45}.flow-note{position:absolute;bottom:8px;left:24px;right:24px;color:#7b8495;font-size:8px;text-align:center}

.router-disclaimer a{color:inherit;text-underline-offset:2px}.model-list{max-height:280px;overflow:auto}.router-columns span:nth-child(2){white-space:normal;line-height:1.1}
@media (prefers-reduced-motion:reduce){.economic-flow *{transition:none!important}}

/* Reference-parity product demos. */
.feature-visual-container { min-width: 0; }
.second-section .feature-visual-container,
.cli-section .feature-visual-container { flex-direction:column; align-items:center; }
.install-command {
  width: max-content;
  max-width: min(100%, 650px);
}
.install-command code { overflow-x: auto; }
.install-command button,
.demo-context-actions button {
  position: relative;
  width: 34px;
  height: 32px;
  padding: 0;
}
.install-command button::before,
.install-command button::after,
.demo-context-actions button::before,
.demo-context-actions button::after {
  position: absolute;
  width: 11px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  content: "";
}
.install-command button::before,
.demo-context-actions button::before { top: 7px; left: 9px; opacity: .65; }
.install-command button::after,
.demo-context-actions button::after { top: 10px; left: 12px; background: inherit; }
.install-command button[data-copy-state="success"]::before,
.demo-context-actions button[data-copy-state="success"]::before { display: none; }
.install-command button[data-copy-state="success"]::after,
.demo-context-actions button[data-copy-state="success"]::after {
  top: 8px;
  left: 11px;
  width: 11px;
  height: 6px;
  border-width: 0 0 2px 2px;
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg);
}


/* Exact sponsored-compute reference composition. */
.economic-flow {
  background: rgba(255,255,255,.93);
  isolation: isolate;
}
.economic-flow::before { position:absolute; inset:0; z-index:-1; background:transparent; content:""; }
.economic-flow header { margin-bottom:18px; padding-bottom:13px; }
.flow-prompt { margin-top:0; box-shadow:0 7px 18px rgba(18,40,90,.045); }
.flow-prompt small { display:flex; align-items:center; gap:7px; margin-bottom:7px; letter-spacing:.08em; text-transform:uppercase; }
.flow-prompt small i,
.flow-lane h3 small i { width:6px; height:6px; border-radius:50%; background:#0052ff; }
.flow-prompt p { margin:0; font-weight:560; }
.flow-fork { position:relative; background:none; }
.flow-fork::before { position:absolute; top:0; left:50%; width:1px; height:14px; background:rgba(0,82,255,.25); content:""; }
.flow-fork::after { position:absolute; top:13px; left:25%; width:50%; height:14px; border:1px solid rgba(0,82,255,.25); border-bottom:0; border-radius:7px 7px 0 0; content:""; }
.flow-lane { min-height:220px; transition:border-color 180ms ease,box-shadow 180ms ease; }
.flow-lane.is-active { border-color:rgba(0,82,255,.27); box-shadow:0 8px 24px rgba(0,82,255,.055); }
.flow-lane h3 { min-height:21px; align-items:flex-start; }
.flow-lane h3 > span { display:flex; align-items:center; gap:7px; color:#0052ff; font-size:10px; letter-spacing:.13em; }
.flow-lane h3 > span::before { width:18px; height:1px; background:#0052ff; content:""; }
.flow-lane h3 small { display:inline-flex; align-items:center; gap:5px; color:#68758a; font:700 8px/1 ui-sans-serif,system-ui,sans-serif; letter-spacing:.05em; text-transform:uppercase; }
.flow-lane h3 small i { background:#9aa4b7; }
.flow-lane.is-active h3 small i { background:#0052ff; animation:economic-pulse 1.05s ease-out infinite; }
.flow-lane.is-complete h3 small i { background:#20a565; animation:none; }
.flow-lane > p:not(.flow-match) { min-height:128px; margin:0; }
.flow-match { display:flex; align-items:center; justify-content:space-between; min-height:26px; margin:-2px 0 8px; }
.flow-match strong { color:#0052ff; }
.flow-sponsor-card { min-height:116px; transform:translateY(5px); }
.flow-sponsor-card.is-visible { opacity:1; transform:none; }
.flow-lane.is-active .flow-sponsor-card:not(.is-visible) { opacity:0; transform:translateY(5px); }

/* Intrinsic install capsules with borderless, keyboard-accessible copy controls. */
.install-command {
  --copy-icon-bg: #2b2d31;
  width: max-content;
  max-width: min(100%, 650px);
  min-height: 48px;
  padding: 7px 8px 7px 16px;
  color: #fff;
  background: #2b2d31;
  border: 0;
  border-radius: 999px;
}

.install-command code {
  overflow-x: auto;
  color: #fff;
  scrollbar-width: thin;
}

.install-command button {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-left: auto;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.install-command button::after { background: var(--copy-icon-bg); }
.install-command button[data-copy-state="success"]::after { background: transparent; }
.install-command button:focus { outline: none; }
.install-command button:focus-visible {
  outline: 3px solid rgba(0, 82, 255, 0.38);
  outline-offset: 1px;
}
.flow-sponsor-card p { min-height:47px; margin:0; }
.flow-cursor::after { display:inline-block; width:.48em; height:1em; margin-left:.14em; vertical-align:-.13em; background:currentColor; content:""; animation:economic-blink .76s steps(1) infinite; }
@keyframes economic-blink { 50%{opacity:0} }
@keyframes economic-pulse { 70%{box-shadow:0 0 0 6px rgba(0,82,255,0)} 100%{box-shadow:0 0 0 0 rgba(0,82,255,0)} }
