:root {
  --landing-bg: #11100f;
  --landing-bg-soft: #171513;
  --landing-panel: #1b1917;
  --landing-panel-light: #211f1c;
  --landing-text: #f4f1eb;
  --landing-text-soft: #b5b0a9;
  --landing-text-dim: #77716b;
  --landing-line: rgba(241, 238, 232, 0.14);
  --landing-line-bright: rgba(241, 238, 232, 0.24);
  --landing-blue: #58adff;
  --landing-blue-soft: rgba(88, 173, 255, 0.13);
  --landing-green: #59c78b;
  --landing-amber: #e1b34f;
  --landing-display: "Fraunces", "GT Super", "Georgia", "Times New Roman", serif;
  --landing-accent-display: "Fraunces", "GT Super", "Georgia", "Times New Roman", serif;
  --landing-sans: "Space Grotesk", "Inter", "Segoe UI", system-ui, sans-serif;
  --landing-mono: "JetBrains Mono", "Geist Mono", "SFMono-Regular", Consolas, monospace;
  --landing-max: 1240px;
  --landing-fast: 160ms ease;
  --landing-base: 260ms cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--landing-bg);
  color: var(--landing-text);
  font-family: var(--landing-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 5%, rgba(72, 140, 205, 0.11), transparent 28rem),
    radial-gradient(circle at 15% 38%, rgba(76, 91, 115, 0.06), transparent 25rem);
}

a { color: inherit; text-decoration: none; }

button { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--landing-blue);
  outline-offset: 4px;
}

.site-shell { overflow: hidden; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 20;
  padding: 8px 12px;
  border-radius: 7px;
  background: var(--landing-text);
  color: var(--landing-bg);
  transform: translateY(-160%);
  transition: transform var(--landing-fast);
}

.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0;
  transition: padding var(--landing-base);
}

.site-header.scrolled { padding: 9px 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(var(--landing-max), calc(100% - 64px));
  height: 78px;
  margin: 0 auto;
  border-bottom: 1px solid transparent;
  transition: width var(--landing-base), height var(--landing-base), padding var(--landing-base), background var(--landing-base), border-color var(--landing-base), border-radius var(--landing-base), box-shadow var(--landing-base);
}

.site-header.scrolled .header-inner {
  width: fit-content;
  max-width: min(var(--landing-max), calc(100% - 48px));
  height: 60px;
  padding: 0 14px 0 24px;
  border: 1px solid rgba(241, 238, 232, 0.18);
  border-bottom: 1px solid rgba(241, 238, 232, 0.18);
  border-radius: 999px;
  background: rgba(21, 19, 17, 0.76);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-family: var(--landing-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.brand img { display: block; border-radius: 8px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: var(--landing-text-soft);
  font-size: 13px;
}

.site-nav a,
.mobile-menu a { transition: color var(--landing-fast); }

.site-nav a:hover,
.mobile-menu a:hover { color: var(--landing-text); }


.header-actions { display: flex; align-items: center; gap: 18px; }


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--landing-line-bright);
  border-radius: 8px;
  color: var(--landing-text);
  font-size: 13px;
  transition: background var(--landing-fast), border-color var(--landing-fast), color var(--landing-fast), transform var(--landing-fast), box-shadow var(--landing-fast);
}

.button:hover { transform: translateY(-2px); border-color: rgba(241, 238, 232, 0.42); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }

.button-small { min-height: 36px; padding: 0 13px; font-size: 12px; }

.button-primary { border-color: var(--landing-blue); background: var(--landing-blue); color: #0e141a; font-weight: 600; }

.button-primary:hover { border-color: #86c5ff; background: #86c5ff; color: #0e141a; box-shadow: 0 10px 28px rgba(88, 173, 255, 0.2); }

.menu-toggle,
.mobile-menu { display: none; }

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 8vw, 122px);
  width: min(var(--landing-max), calc(100% - 64px));
  margin: 0 auto;
}

.hero {
  min-height: 720px;
  align-items: center;
  padding: 92px 0 100px;
}

.hero-copy { max-width: 560px; padding-bottom: 22px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--landing-blue);
  font-family: var(--landing-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-dot,
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--landing-green);
  box-shadow: 0 0 0 4px rgba(89, 199, 139, 0.1), 0 0 14px rgba(89, 199, 139, 0.7);
}

h1, h2, h3, p { margin-top: 0; }

h1,
h2 {
  margin-bottom: 0;
  font-family: var(--landing-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 0.98;
}

h3 { font-family: var(--landing-display); }

h1 { max-width: 640px; font-size: clamp(51px, 6.4vw, 92px); }

h1 em,
h2 em {
  font-family: var(--landing-accent-display);
  font-weight: 500;
  color: var(--landing-blue);
  font-style: italic;
}

.hero-lede {
  max-width: 470px;
  margin: 28px 0 30px;
  color: var(--landing-text-soft);
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--landing-text-soft);
  font-size: 13px;
  transition: color var(--landing-fast), gap var(--landing-fast);
}

.text-link:hover { gap: 14px; color: var(--landing-text); }

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 29px;
  color: var(--landing-text-dim);
  font-family: var(--landing-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.hero-note .status-dot { width: 5px; height: 5px; box-shadow: 0 0 0 3px rgba(89, 199, 139, 0.08); }

.note-separator { color: #4e4a45; }

.hero-visual { position: relative; min-width: 0; min-height: 520px; display: grid; place-items: center; }

.preview-window {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  overflow: hidden;
  border: 1px solid rgba(241, 238, 232, 0.2);
  border-radius: 13px;
  background: rgba(26, 24, 22, 0.94);
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.42), 0 0 0 8px rgba(241, 238, 232, 0.025);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg) rotateZ(1deg);
}

.preview-topbar,
.preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 0 16px; border-bottom: 1px solid rgba(241, 238, 232, 0.1); color: var(--landing-text-dim); font-family: var(--landing-mono); font-size: 9px; letter-spacing: 0.02em; }

.preview-title { display: flex; align-items: center; gap: 10px; }

.window-lights { display: flex; gap: 4px; }

.window-lights i { width: 6px; height: 6px; border-radius: 50%; background: #5b554f; }

.window-lights i:first-child { background: #8e625d; }

.window-lights i:nth-child(2) { background: #9d8350; }

.window-lights i:nth-child(3) { background: #5d8b71; }

.preview-health { display: inline-flex; align-items: center; gap: 7px; color: var(--landing-text-soft); }

.preview-health .status-dot { width: 5px; height: 5px; box-shadow: 0 0 0 3px rgba(89, 199, 139, 0.09); }

.preview-canvas { position: relative; height: 374px; overflow: hidden; background: radial-gradient(circle at 50% 49%, rgba(88, 173, 255, 0.11), transparent 30%), #171614; }

.canvas-grid { position: absolute; inset: 0; opacity: 0.45; background-image: linear-gradient(rgba(241, 238, 232, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(241, 238, 232, 0.035) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(circle at 50% 50%, black, transparent 82%); }

.preview-ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(241, 238, 232, 0.13); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }

.preview-ring-one { width: 180px; height: 78px; }

.preview-ring-two { width: 335px; height: 151px; border-color: rgba(241, 238, 232, 0.1); transform: translate(-50%, -50%) rotate(22deg); }

.preview-ring-three { width: 500px; height: 245px; border-color: rgba(88, 173, 255, 0.13); transform: translate(-50%, -50%) rotate(-8deg); }

.preview-core { position: absolute; top: 49%; left: 50%; display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid rgba(241, 238, 232, 0.36); border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #9c9d9c 24%, #4c93c9 52%, #242b30 75%); box-shadow: 0 0 0 7px rgba(88, 173, 255, 0.07), 0 0 46px rgba(88, 173, 255, 0.34); transform: translate(-50%, -50%); }

.preview-core img { width: 42px; height: 42px; border-radius: 12px; opacity: 0.68; mix-blend-mode: screen; }

.core-caption { position: absolute; top: calc(49% + 54px); left: 50%; display: grid; gap: 3px; color: var(--landing-text); font-family: var(--landing-mono); font-size: 10px; text-align: center; transform: translateX(-50%); white-space: nowrap; }

.core-caption span { color: var(--landing-text-dim); font-size: 8px; text-transform: uppercase; }

.agent-node { position: absolute; display: grid; justify-items: center; gap: 5px; min-width: 94px; color: var(--landing-text-soft); font-family: var(--landing-mono); font-size: 9px; text-align: center; }

.agent-node strong { color: var(--landing-text); font-size: 10px; font-weight: 400; }

.agent-node small { color: var(--landing-text-dim); font-size: 8px; }

.agent-planet { width: 31px; height: 31px; border: 1px solid rgba(241, 238, 232, 0.28); border-radius: 50%; background: radial-gradient(circle at 30% 25%, #e6e6e1, #6e7478 42%, #2a2a29 78%); box-shadow: 0 0 0 5px rgba(241, 238, 232, 0.035), 0 0 24px rgba(241, 238, 232, 0.12); }

.node-status { position: absolute; top: 1px; right: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--landing-green); box-shadow: 0 0 0 3px rgba(89, 199, 139, 0.12); }

.node-status-warn { background: var(--landing-amber); box-shadow: 0 0 0 3px rgba(225, 179, 79, 0.12); }

.agent-node-auth { top: 17%; left: 17%; }

.agent-node-api { top: 18%; right: 14%; }

.agent-node-web { bottom: 9%; left: 46%; }

.signal { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--landing-blue); box-shadow: 0 0 16px 5px rgba(88, 173, 255, 0.42); }

.signal-one { top: 30%; left: 36%; }

.signal-two { top: 40%; right: 27%; width: 5px; height: 5px; background: var(--landing-green); box-shadow: 0 0 14px 4px rgba(89, 199, 139, 0.32); }

.signal-three { bottom: 25%; left: 27%; width: 5px; height: 5px; background: var(--landing-amber); box-shadow: 0 0 14px 4px rgba(225, 179, 79, 0.3); }

.preview-footer { min-height: 40px; border-top: 1px solid rgba(241, 238, 232, 0.1); border-bottom: 0; }

.preview-footer b { color: var(--landing-text); font-weight: 400; }

.preview-footer-live { display: inline-flex; align-items: center; gap: 6px; color: var(--landing-green); text-transform: uppercase; }

.preview-footer-live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; min-width: 188px; padding: 11px 13px; border: 1px solid rgba(241, 238, 232, 0.16); border-radius: 9px; background: rgba(32, 30, 27, 0.88); box-shadow: 0 18px 35px rgba(0, 0, 0, 0.26); backdrop-filter: blur(14px); }

.floating-card-top { top: 15%; right: -6%; }

.floating-card-bottom { bottom: 12%; left: -9%; }

.floating-card b,
.floating-card small { display: block; }

.floating-card b { color: var(--landing-text); font-size: 10px; font-weight: 400; }

.floating-card small { margin-top: 3px; color: var(--landing-text-dim); font-family: var(--landing-mono); font-size: 8px; }

.floating-icon.icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: rgba(225, 179, 79, 0.13); color: var(--landing-amber); font-size: 16px; }

.floating-icon-blue { background: var(--landing-blue-soft); color: var(--landing-blue); }

.signal-strip { display: flex; align-items: center; overflow: hidden; width: min(var(--landing-max), calc(100% - 64px)); min-height: 72px; margin: 0 auto; border-top: 1px solid var(--landing-line); border-bottom: 1px solid var(--landing-line); color: var(--landing-text-dim); font-family: var(--landing-mono); font-size: 9px; letter-spacing: 0.14em; }

.signal-track {
  display: flex;
  align-items: center;
  min-width: max-content;
  animation: signal-scroll 24s linear infinite;
}

.signal-strip:hover .signal-track { animation-play-state: paused; }

.signal-track-group { display: flex; align-items: center; gap: 18px; padding-right: 18px; }

.signal-strip i { width: 3px; height: 3px; border-radius: 50%; background: var(--landing-blue); box-shadow: 0 0 10px rgba(88, 173, 255, 0.65); }

@keyframes signal-scroll { to { transform: translateX(-50%); } }

.feature-section,
.workflow-section { padding-top: 152px; padding-bottom: 152px; }

.section-intro,
.workflow-intro { align-self: start; }

h2 { font-size: clamp(42px, 5.1vw, 70px); }

.section-intro > p:last-child,
.workflow-intro > p:not(.eyebrow),
.principles-copy > p:last-child { max-width: 330px; margin: 28px 0 0; color: var(--landing-text-soft); font-size: 15px; line-height: 1.65; }

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

.feature-card { min-height: 330px; padding: 25px; border: 1px solid var(--landing-line); border-radius: 11px; background: linear-gradient(145deg, rgba(241, 238, 232, 0.055), rgba(27, 25, 23, 0.76)); transition: border-color var(--landing-base), background var(--landing-base), transform var(--landing-base); }

.feature-card:hover { border-color: rgba(88, 173, 255, 0.36); background: linear-gradient(145deg, rgba(88, 173, 255, 0.09), rgba(27, 25, 23, 0.84)); transform: translateY(-4px); }

.feature-card-large { grid-row: span 2; min-height: 674px; }

.feature-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--landing-text-dim); }

.feature-number { font-family: var(--landing-mono); font-size: 10px; }

.icon {
  display: inline-block;
  flex: none;
  font-family: "Material Symbols Outlined", "Material Symbols", sans-serif;
  font-weight: 400;
  font-size: inherit;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
}

.text-link .icon,
.button .icon { font-size: 15px; }

.button-primary .icon,
.button-small .icon { vertical-align: -2px; }

.text-link .icon { vertical-align: -3px; }

.eyebrow .icon { font-size: 14px; }

.feature-mark {
  color: var(--landing-blue);
  font-size: 24px;
  line-height: 1;
}

.feature-card h3 { max-width: 300px; margin: 50px 0 11px; font-family: var(--landing-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }

.feature-card p { max-width: 330px; margin-bottom: 0; color: var(--landing-text-soft); font-size: 13px; line-height: 1.6; }

.feature-visual { position: relative; overflow: hidden; height: 245px; margin: 43px -4px -5px; border-top: 1px solid rgba(241, 238, 232, 0.1); background: radial-gradient(circle at 50% 55%, rgba(88, 173, 255, 0.11), transparent 50%); }

.mini-ring { position: absolute; top: 55%; left: 50%; border: 1px solid rgba(241, 238, 232, 0.14); border-radius: 50%; transform: translate(-50%, -50%) rotate(-15deg); }

.mini-ring-one { width: 220px; height: 89px; }

.mini-ring-two { width: 340px; height: 143px; border-color: rgba(88, 173, 255, 0.14); transform: translate(-50%, -50%) rotate(12deg); }

.mini-core { position: absolute; top: 55%; left: 50%; width: 44px; height: 44px; border: 1px solid rgba(241, 238, 232, 0.35); border-radius: 50%; background: radial-gradient(circle at 30% 26%, #fff, #609bd0 48%, #272a2b 77%); box-shadow: 0 0 24px rgba(88, 173, 255, 0.35); transform: translate(-50%, -50%); }

.mini-node { position: absolute; top: 55%; left: 50%; width: 11px; height: 11px; border: 2px solid var(--landing-panel); border-radius: 50%; background: var(--landing-text-soft); box-shadow: 0 0 0 1px rgba(241, 238, 232, 0.25), 0 0 13px rgba(241, 238, 232, 0.2); }

.mini-node-one { background: var(--landing-blue); transform: translate(-50%, -50%) translate(-156.75px, -52.24px); }

.mini-node-two { background: var(--landing-green); transform: translate(-50%, -50%) translate(151.44px, -4.36px); }

.mini-node-three { background: var(--landing-amber); transform: translate(-50%, -50%) translate(-14.87px, 69.94px); }

.activity-preview { display: grid; gap: 0; margin-top: 35px; border-top: 1px solid rgba(241, 238, 232, 0.1); }

.activity-preview > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 42px; border-bottom: 1px solid rgba(241, 238, 232, 0.08); color: var(--landing-text-soft); font-family: var(--landing-mono); font-size: 9px; }

.activity-preview b { color: var(--landing-text-dim); font-weight: 400; }

.activity-dot { width: 6px; height: 6px; border-radius: 50%; }

.activity-dot-blue { background: var(--landing-blue); box-shadow: 0 0 10px rgba(88, 173, 255, 0.45); }

.activity-dot-green { background: var(--landing-green); }

.activity-dot-amber { background: var(--landing-amber); }

.approval-preview { display: flex; align-items: center; gap: 10px; margin-top: 38px; padding-top: 17px; border-top: 1px solid rgba(241, 238, 232, 0.1); }

.approval-check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: rgba(89, 199, 139, 0.13); color: var(--landing-green); font-size: 17px; }

.approval-preview div { min-width: 0; }

.approval-preview b,
.approval-preview small { display: block; }

.approval-preview b { color: var(--landing-text); font-size: 11px; font-weight: 400; }

.approval-preview small { margin-top: 3px; color: var(--landing-text-dim); font-family: var(--landing-mono); font-size: 8px; }

.approval-arrow { margin-left: auto; color: var(--landing-text-dim); font-size: 16px; }

.workflow-section { border-top: 1px solid var(--landing-line); }

.workflow-intro .text-link { margin-top: 34px; color: var(--landing-blue); }

.workflow-steps { display: grid; align-content: start; gap: 0; border-top: 1px solid var(--landing-line); }

.workflow-step { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 140px; padding: 22px 0; border-bottom: 1px solid var(--landing-line); transition: padding var(--landing-base), color var(--landing-fast); }

.workflow-step:hover { padding-left: 10px; color: var(--landing-text); }

.workflow-step-active { color: var(--landing-text); }

.step-number { align-self: start; padding-top: 4px; color: var(--landing-blue); font-family: var(--landing-mono); font-size: 10px; }

.workflow-step h3 { margin: 0 0 7px; font-family: var(--landing-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

.workflow-step p { max-width: 320px; margin: 0; color: var(--landing-text-dim); font-size: 13px; line-height: 1.5; }

.step-arrow { align-self: start; color: var(--landing-text-dim); font-size: 19px; }

.principles-section { padding-bottom: 152px; }

.principles-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); padding: clamp(34px, 5vw, 64px); border: 1px solid var(--landing-line); border-radius: 13px; background: linear-gradient(120deg, rgba(241, 238, 232, 0.055), rgba(27, 25, 23, 0.74)); }

.principles-copy h2 { font-size: clamp(40px, 4.7vw, 64px); }

.principles-list { align-self: end; }

.principle { display: grid; grid-template-columns: 126px minmax(0, 1fr); gap: 26px; padding: 16px 0; border-top: 1px solid var(--landing-line); }

.principle:last-child { border-bottom: 1px solid var(--landing-line); }

.principle span { padding-top: 3px; color: var(--landing-blue); font-family: var(--landing-mono); font-size: 9px; letter-spacing: 0.1em; }

.principle p { margin: 0; color: var(--landing-text-soft); font-size: 13px; line-height: 1.5; }

.final-cta { position: relative; display: grid; place-items: center; min-height: 590px; overflow: hidden; border-top: 1px solid var(--landing-line); border-bottom: 1px solid var(--landing-line); text-align: center; }

.final-cta::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 50% 50%, rgba(88, 173, 255, 0.12), transparent 35%); pointer-events: none; }

.cta-content { position: relative; z-index: 2; display: grid; justify-items: center; }

.cta-content .eyebrow { margin-bottom: 24px; }

.cta-content h2 { font-size: clamp(49px, 7vw, 92px); }

.cta-content > p:not(.eyebrow) { max-width: 350px; margin: 25px 0 28px; color: var(--landing-text-soft); font-size: 16px; }

.cta-orbit { position: absolute; top: 50%; left: 50%; width: min(100vw, 880px); height: min(100vw, 880px); transform: translate(-50%, -50%); }

.cta-ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(241, 238, 232, 0.09); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }

.cta-ring-one { width: 63%; height: 22%; }

.cta-ring-two { width: 91%; height: 36%; border-color: rgba(88, 173, 255, 0.14); transform: translate(-50%, -50%) rotate(23deg); }

.cta-core { position: absolute; top: 50%; left: 50%; width: 96px; height: 96px; border: 1px solid rgba(241, 238, 232, 0.22); border-radius: 50%; background: radial-gradient(circle at 31% 27%, rgba(255, 255, 255, 0.8), rgba(88, 173, 255, 0.36) 42%, rgba(27, 25, 23, 0.4) 72%); box-shadow: 0 0 0 14px rgba(88, 173, 255, 0.04), 0 0 82px rgba(88, 173, 255, 0.22); opacity: 0.85; transform: translate(-50%, -50%); }

.site-footer { display: flex; align-items: center; gap: 26px; width: min(var(--landing-max), calc(100% - 64px)); min-height: 106px; margin: 0 auto; color: var(--landing-text-dim); }

.site-footer .brand { color: var(--landing-text); font-size: 16px; }

.legal-page { width: min(760px, calc(100% - 64px)); margin: 0 auto; padding: 104px 0 140px; }

.legal-page h1 { font-size: clamp(44px, 5.4vw, 72px); }

.legal-page .legal-meta { margin: 20px 0 0; color: var(--landing-text-dim); font-family: var(--landing-mono); font-size: 10px; letter-spacing: 0.06em; }

.legal-body { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--landing-line); }

.legal-body h2 { margin: 44px 0 14px; font-family: var(--landing-display); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }

.legal-body h2:first-child { margin-top: 0; }

.legal-body p { margin: 0 0 16px; color: var(--landing-text-soft); font-size: 14px; line-height: 1.75; }

.legal-body ul { margin: 0 0 16px; padding-left: 22px; color: var(--landing-text-soft); font-size: 14px; line-height: 1.75; }

.legal-body li { margin-bottom: 6px; }

.legal-body strong { color: var(--landing-text); font-weight: 500; }

.legal-body a { color: var(--landing-blue); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 560px) {
  .legal-page { width: calc(100% - 32px); padding: 72px 0 96px; }
}

.site-footer .brand img { border-radius: 6px; }

.site-footer p { margin: 0; font-size: 12px; }

.footer-meta { margin-left: auto; font-family: var(--landing-mono); font-size: 9px; }

@media (max-width: 1040px) {
  .site-nav { gap: 20px; }
  .hero { padding-top: 70px; }
  .floating-card-top { right: -2%; }
  .floating-card-bottom { left: -2%; }
}

@media (max-width: 960px) {
  .nav-legal { display: none; }
}

@media (max-width: 820px) {
  .header-inner,
  .section-grid,
  .signal-strip,
  .site-footer { width: min(100% - 40px, var(--landing-max)); }

  .site-nav { display: none; }

  .header-actions { margin-left: auto; }

  .button-small { display: none; }

  .menu-toggle { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--landing-line-bright); border-radius: 7px; background: transparent; color: var(--landing-text); cursor: pointer; }

  .menu-toggle-lines,
  .menu-toggle-lines::before,
  .menu-toggle-lines::after { display: block; width: 15px; height: 1px; background: currentColor; transition: transform var(--landing-fast), opacity var(--landing-fast); }

  .menu-toggle-lines::before,
  .menu-toggle-lines::after { content: ""; }

  .menu-toggle-lines::before { transform: translateY(-5px); }

  .menu-toggle-lines::after { transform: translateY(4px); }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: translateY(0) rotate(45deg); }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: translateY(-1px) rotate(-45deg); }

  .mobile-menu { position: fixed; top: 78px; right: 20px; left: 20px; z-index: 9; flex-direction: column; padding: 10px; border: 1px solid var(--landing-line-bright); border-radius: 10px; background: rgba(27, 25, 23, 0.96); box-shadow: 0 22px 42px rgba(0, 0, 0, 0.35); backdrop-filter: blur(18px); }

  .mobile-menu.is-open { display: flex; }

  .mobile-menu a { display: flex; justify-content: space-between; padding: 13px 11px; border-radius: 6px; color: var(--landing-text-soft); font-size: 13px; }

  .mobile-menu a:hover { background: rgba(241, 238, 232, 0.055); }

  .hero { grid-template-columns: 1fr; gap: 60px; min-height: auto; padding: 83px 0 91px; }

  .hero-copy { max-width: 660px; }

  .hero-visual { width: min(100%, 650px); min-height: 480px; margin: 0 auto; }

  .feature-section,
  .workflow-section { grid-template-columns: 1fr; gap: 52px; padding-top: 108px; padding-bottom: 108px; }

  .section-intro > p:last-child,
  .workflow-intro > p:not(.eyebrow) { max-width: 500px; }

  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .feature-card-large { min-height: 590px; }

  .principles-section { grid-template-columns: 1fr; padding-bottom: 108px; }

  .principles-panel { gap: 54px; }
}

@media (max-width: 560px) {
  .header-inner,
  .section-grid,
  .signal-strip,
  .site-footer { width: calc(100% - 32px); }

  .header-inner { height: 68px; }

  .site-header.scrolled { padding: 8px 0; }

  .site-header.scrolled .header-inner { height: 52px; padding: 0 10px 0 16px; }

  .mobile-menu { top: 68px; right: 16px; left: 16px; }

  .hero { gap: 42px; padding: 70px 0 72px; }

  h1 { font-size: clamp(48px, 15vw, 72px); }

  h2 { font-size: clamp(42px, 13vw, 60px); }

  .hero-lede { margin-top: 22px; font-size: 15px; }

  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }

  .hero-actions .button { width: 100%; }

  .hero-note { align-items: flex-start; flex-wrap: wrap; line-height: 1.5; }

  .hero-visual { min-height: 386px; }

  .preview-window { transform: none; }

  .preview-topbar,
  .preview-footer { padding: 0 10px; font-size: 8px; }

  .preview-health { display: none; }

  .preview-canvas { height: 285px; }

  .preview-ring-one { width: 140px; height: 62px; }

  .preview-ring-two { width: 250px; height: 114px; }

  .preview-ring-three { width: 365px; height: 178px; }

  .preview-core { width: 56px; height: 56px; }

  .preview-core img { width: 30px; height: 30px; }

  .core-caption { top: calc(49% + 43px); font-size: 8px; }

  .agent-node { min-width: 72px; font-size: 7px; }

  .agent-node strong { font-size: 8px; }

  .agent-node small { font-size: 7px; }

  .agent-planet { width: 24px; height: 24px; }

  .agent-node-auth { left: 8%; }

  .agent-node-api { right: 5%; }

  .agent-node-web { bottom: 5%; left: 40%; }

  .floating-card { min-width: 0; padding: 8px; }

  .floating-card-top { top: 4%; right: -2px; }

  .floating-card-bottom { bottom: 2%; left: -2px; }

  .floating-card b { font-size: 9px; }

  .floating-card small { font-size: 7px; }

  .floating-icon { width: 22px; height: 22px; font-size: 12px; }

  .signal-strip { flex-wrap: wrap; justify-content: flex-start; gap: 12px; padding: 18px 0; line-height: 1.4; }

  .signal-track { flex-wrap: wrap; gap: 12px; min-width: 0; animation: none; }

  .signal-track-group { flex-wrap: wrap; gap: 12px; padding-right: 0; }

  .signal-track-group:not(:first-child) { display: none; }

  .signal-strip i { display: none; }

  .feature-section,
  .workflow-section { padding-top: 84px; padding-bottom: 84px; }

  .feature-grid { grid-template-columns: 1fr; }

  .feature-card,
  .feature-card-large { min-height: 0; }

  .feature-card-large { min-height: 490px; }

  .feature-card h3 { margin-top: 38px; }

  .feature-visual { margin-top: 35px; }

  .principles-section { padding-bottom: 84px; }

  .principles-panel { grid-template-columns: 1fr; padding: 28px 22px; }

  .principle { grid-template-columns: 1fr; gap: 7px; }

  .final-cta { min-height: 500px; }

  .cta-content h2 { font-size: clamp(48px, 14vw, 72px); }

  .cta-content > p:not(.eyebrow) { font-size: 14px; }

  .cta-orbit { width: 710px; height: 710px; }

  .site-footer { align-items: flex-start; flex-wrap: wrap; gap: 12px 20px; padding: 26px 0; }

  .site-footer p { width: 100%; order: 3; }

  .footer-meta { margin-left: auto; padding-top: 3px; }
}

/* Mission-control preview: mirror the current workspace shell without adding dashboard noise. */
.preview-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  height: 374px;
}

.preview-main .preview-canvas {
  height: 100%;
  min-width: 0;
}

.preview-main .preview-ring-three { width: 420px; }

.agent-node-auth .agent-planet,
.agent-node-web .agent-planet {
  border-color: rgba(88, 173, 255, 0.48);
  background: radial-gradient(circle at 30% 25%, #d9edff, #5aaef3 42%, #1f4260 78%);
  box-shadow: 0 0 0 5px rgba(88, 173, 255, 0.06), 0 0 24px rgba(88, 173, 255, 0.2);
}

.agent-node-api .agent-planet {
  border-color: rgba(225, 179, 79, 0.42);
  background: radial-gradient(circle at 30% 25%, #fff2bf, #d29f39 42%, #4a3820 78%);
  box-shadow: 0 0 0 5px rgba(225, 179, 79, 0.05), 0 0 24px rgba(225, 179, 79, 0.16);
}

.agent-node-selected .agent-planet {
  box-shadow: 0 0 0 5px rgba(88, 173, 255, 0.12), 0 0 0 1px rgba(88, 173, 255, 0.52), 0 0 26px rgba(88, 173, 255, 0.24);
}

.agent-node-auth .node-status,
.agent-node-web .node-status {
  background: var(--landing-blue);
  box-shadow: 0 0 0 3px rgba(88, 173, 255, 0.12);
}

.agent-node-selected strong { color: var(--landing-blue); }

.preview-inspector {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  padding: 13px 12px 11px;
  border-left: 1px solid rgba(241, 238, 232, 0.1);
  background: rgba(20, 19, 17, 0.66);
  color: var(--landing-text-soft);
  font-family: var(--landing-mono);
  font-size: 8px;
}

.preview-inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  color: var(--landing-text-dim);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-inspector-head .icon { color: #625d57; font-size: 12px; }

.preview-inspector > strong {
  overflow: hidden;
  color: var(--landing-text);
  font-size: 11px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-inspector-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--landing-blue);
  font-size: 8px;
  text-transform: uppercase;
}

.preview-inspector-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(88, 173, 255, 0.1);
}

.preview-inspector-stats {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 9px;
  border-top: 1px solid rgba(241, 238, 232, 0.09);
}

.preview-inspector-stats span { display: grid; gap: 2px; min-width: 0; }

.preview-inspector-stats small {
  color: var(--landing-text-dim);
  font-size: 7px;
  text-transform: uppercase;
}

.preview-inspector-stats b {
  overflow: hidden;
  color: var(--landing-text-soft);
  font-size: 8px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-inspector-action {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid rgba(241, 238, 232, 0.09);
  color: var(--landing-blue);
  font-size: 8px;
  white-space: nowrap;
}

.preview-inspector-action .icon { font-size: 12px; }

.preview-toolbar-divider { width: 1px; height: 12px; background: rgba(241, 238, 232, 0.14); }

.preview-tool { color: #77716b; font-size: 12px; }

.preview-tool:last-child { color: var(--landing-text-soft); }

.preview-footer {
  min-height: 42px;
  border-top: 1px solid rgba(241, 238, 232, 0.1);
}

.preview-footer-tabs,
.preview-footer-meta { display: flex; align-items: center; }

.preview-footer-tabs { gap: 12px; height: 100%; }

.preview-footer-tabs span {
  position: relative;
  color: var(--landing-text-dim);
  font-size: 8px;
}

.preview-footer-tabs .preview-tab-active { color: var(--landing-text-soft); }

.preview-footer-tabs .preview-tab-active::after {
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 1px;
  background: var(--landing-blue);
  content: "";
}

.preview-footer-meta { gap: 11px; }

.preview-footer-meta > span:last-child { color: var(--landing-text-dim); }

@media (max-width: 560px) {
  .preview-main { grid-template-columns: minmax(0, 1fr) 112px; height: 285px; }

  .preview-main .preview-ring-three { width: 365px; }

  .preview-inspector { gap: 5px; padding: 10px 8px 8px; font-size: 7px; }

  .preview-inspector-head { font-size: 6px; }

  .preview-inspector-head .icon { font-size: 10px; }

  .preview-inspector > strong { font-size: 9px; }

  .preview-inspector-status,
  .preview-inspector-stats b,
  .preview-inspector-action { font-size: 7px; }

  .preview-inspector-stats { gap: 6px; padding-top: 7px; }

  .preview-inspector-stats small { font-size: 6px; }

  .preview-inspector-action { gap: 3px; padding-top: 7px; }

  .preview-inspector-action .icon { font-size: 10px; }

  .preview-footer-tabs span:not(.preview-tab-active) { display: none; }

  .preview-footer-meta { gap: 8px; }
}

/* ---------- Motion & scroll reveal ---------- */

::selection { background: rgba(88, 173, 255, 0.4); color: #f4f1eb; }

html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--landing-base), transform 0.8s var(--landing-base);
  will-change: opacity, transform;
}

html.has-reveal [data-reveal="left"] { transform: translateX(-42px); }

html.has-reveal [data-reveal="right"] { transform: translateX(42px); }

html.has-reveal [data-reveal="zoom"] { transform: scale(0.93) translateY(10px); }

html.has-reveal [data-reveal="fade"] { transform: none; }

html.has-reveal [data-reveal="blur"] {
  transform: translateY(24px);
  filter: blur(10px);
  transition: opacity 0.9s var(--landing-base), transform 0.9s var(--landing-base), filter 0.9s var(--landing-base);
}

html.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

h1 em,
h2 em {
  background: linear-gradient(110deg, #58adff 0%, #a8d8ff 28%, #58adff 52%, #8ecbff 74%, #58adff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: em-shimmer 7s ease-in-out infinite;
}

@keyframes em-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.eyebrow-dot { animation: dot-pulse 2.6s ease-in-out infinite; }

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(89, 199, 139, 0.1), 0 0 14px rgba(89, 199, 139, 0.7); }
  50% { box-shadow: 0 0 0 9px rgba(89, 199, 139, 0.05), 0 0 22px rgba(89, 199, 139, 0.95); }
}

.preview-ring-three { animation: ring-orbit 42s linear infinite; }

@keyframes ring-orbit {
  from { transform: translate(-50%, -50%) rotate(-8deg); }
  to { transform: translate(-50%, -50%) rotate(352deg); }
}

.preview-core { animation: core-pulse 5.2s ease-in-out infinite; }

@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(88, 173, 255, 0.07), 0 0 46px rgba(88, 173, 255, 0.34); }
  50% { box-shadow: 0 0 0 11px rgba(88, 173, 255, 0.13), 0 0 64px rgba(88, 173, 255, 0.5); }
}

.mini-ring-two { animation: ring-orbit-mini 30s linear infinite; }

@keyframes ring-orbit-mini {
  from { transform: translate(-50%, -50%) rotate(12deg); }
  to { transform: translate(-50%, -50%) rotate(372deg); }
}

.mini-core { animation: mini-core-pulse 4.6s ease-in-out infinite; }

@keyframes mini-core-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(88, 173, 255, 0.35); }
  50% { box-shadow: 0 0 40px rgba(88, 173, 255, 0.58); }
}

.signal { animation: signal-pulse 2.4s ease-in-out infinite; }

.signal-two { animation-delay: 0.5s; }

.signal-three { animation-delay: 1s; }

@keyframes signal-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.preview-footer-live i { animation: live-blink 1.6s ease-in-out infinite; }

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.floating-card { animation: float-slow 6.5s ease-in-out infinite; }

.floating-card-bottom { animation-delay: 1.2s; }

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.button-primary { position: relative; overflow: hidden; }

.button-primary::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  content: "";
  pointer-events: none;
  transform: translateX(-160%) skewX(-18deg);
  animation: btn-shine 6s ease-in-out infinite;
}

@keyframes btn-shine {
  0%, 60% { transform: translateX(-160%) skewX(-18deg); }
  85%, 100% { transform: translateX(320%) skewX(-18deg); }
}

.feature-card { position: relative; }

.feature-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(88, 173, 255, 0.16), transparent 65%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--landing-base);
}

.feature-card:hover::before { opacity: 1; }

.cta-ring-one { animation: cta-orbit-one 70s linear infinite; }

.cta-ring-two { animation: cta-orbit-two 52s linear infinite reverse; }

@keyframes cta-orbit-one {
  from { transform: translate(-50%, -50%) rotate(-18deg); }
  to { transform: translate(-50%, -50%) rotate(342deg); }
}

@keyframes cta-orbit-two {
  from { transform: translate(-50%, -50%) rotate(23deg); }
  to { transform: translate(-50%, -50%) rotate(383deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
