/* --- 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;
}

* {
  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,
.is-preparing .spinner {
  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;
}
.spinner {
  width: 40px; height: 40px;
  border: 4px solid rgba(0, 82, 255, 0.1);
  border-top-color: #0052FF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}
.loader-text {
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 13px;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* =========================================
   LAYER 1: SCROLLABLE BACKGROUND CONTENT
   ========================================= */

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

.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: #063baf;
  background-image: url("artwork/tree2-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);
}

.leaf-particle-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 8;
  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;
}

.hero-body h1 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 15px;
  color: #111111; 
}

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

.hero-body p {
  font-size: 16px;
  color: #333333;
  font-weight: 400;
}

.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;
}

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

.chat-section .chat-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: 'Courier New', Courier, monospace;
}
.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:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    var(--bg-color);
  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,
.chat-input.is-typing {
  caret-color: currentColor;
}

/* Chat Window */
.chat-window {
  --chat-border: rgba(255, 255, 255, 0.12);
  position: relative;
  width: 100%;
  max-width: 560px;
  height: clamp(470px, 42vw, 560px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #f5f5f7;
  background: transparent;
  border: 1px solid var(--chat-border);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.chat-window::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(145deg, rgba(31, 36, 49, 0.96), rgba(14, 18, 27, 0.9));
  pointer-events: none;
}

.chat-window > * {
  position: relative;
  z-index: 1;
}

.chat-title-bar {
  flex: 0 0 44px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--chat-border);
}

.chat-window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 500;
}

.chat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  contain: layout paint;
}

.message-row {
  display: flex;
  flex-direction: column;
  max-width: 78%;
}

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

.message-row.ai {
  align-self: flex-start;
  align-items: flex-start;
}

.message-row.is-sending {
  animation: messageSend 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transform-origin: bottom right;
}

@keyframes messageSend {
  from { opacity: 0; transform: translateY(58px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sender-label {
  margin: 0 4px 4px;
  color: #9ba0aa;
  font-size: 11px;
}

.bubble {
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

.message-row.user .bubble {
  color: #fff;
  background: rgba(0, 82, 255, 0.82);
  border-bottom-right-radius: 4px;
}

.message-row.ai .bubble {
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 4px;
}

.chat-input-bar {
  padding: 16px;
  background: rgba(0, 0, 0, 0.16);
  border-top: 1px solid var(--chat-border);
}

.chat-input-container {
  display: flex;
  align-items: center;
  padding: 4px 6px 4px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--chat-border);
  border-radius: 24px;
}

.chat-input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  color: #f5f5f7;
  background: none;
  border: 0;
  outline: none;
  font-size: 14px;
}

.chat-input::placeholder { color: #8f949d; }

.send-btn {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #111;
  background: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 14px;
}

/* Model Router */
.router-window {
  width: 100%;
  max-width: 650px;
  height: clamp(440px, 38vw, 500px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #161616;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
}

.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: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8));
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: 'Courier New', Courier, monospace;
  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: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
  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-content.is-complete .waitlist-form {
  display: none;
}

.waitlist-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 38px;
  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);
}

.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: "Courier New", Courier, monospace;
  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-number {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 0;
  padding: 20px;
  color: #fff;
  background: #0052ff;
  border-radius: 12px;
}

.waitlist-dialog-number small {
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.waitlist-dialog-number strong {
  font-size: 32px;
  line-height: 1;
}

.waitlist-dialog-done {
  width: 100%;
  min-height: 48px;
  color: #fff;
  background: #111;
  border: 1px solid #111;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

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

@keyframes dialogEnter {
  from { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.98); }
  to { opacity: 1; transform: translate3d(0, 0, 0) 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 {
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
  padding-left: var(--frame-size);
  padding-right: 30px;
  height: 100%;
}

.logo-icon {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: currentColor;
  border-radius: 50%;
}
.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: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.88));
  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: "Courier New", Courier, monospace;
  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;
}

.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-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: linear-gradient(145deg, rgba(4, 31, 96, 0.94), rgba(8, 45, 135, 0.84));
  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: rgba(8, 45, 135, 0.88);
  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: rgba(23, 67, 161, 0.72);
  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: #b9d1ff;
}

.business-theme-section .pipeline-detail p { color: rgba(255, 255, 255, 0.76); }

.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 .message-row.is-sending,
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;
  }

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

  .chat-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;
  }

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

  .cli-window,
  .chat-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 22px;
  }

  .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;
  }

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

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

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