/* NOW · v3
   Glass morphism throughout: frosted pill nav, hero install panel, mac window,
   chips. Inline orb icon in hero, mixed white/grey text. */

:root {
  --c-midnight-ink: #000000;
  --c-carbon:       #222f30;
  --c-fog:          #4d5757;
  --c-sage-mist:    #c9cbbe;
  --c-cloud-canvas: #e7e8e1;
  --c-off-white:    #f7f7f5;
  --c-polar-white:  #ffffff;
  --c-bio-green:    #cef79e;

  --font-sans:     -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, ui-sans-serif, system-ui, sans-serif;
  --font-display:  -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Tight", "Inter", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-mono:     "SF Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1180px;
  --r-pill: 999px;
  --r-card: 24px;
  --r-card-sm: 18px;
  --r-btn: 10px;

  /* dark default */
  --bg:           #06080a;
  --bg-soft:      #0c1011;
  --ink:          var(--c-polar-white);
  --ink-soft:     #d4d7d2;
  --muted:        #7d8580;
  --muted-2:      #5a615e;
  --hairline:     rgba(255, 255, 255, 0.10);
  --hairline-2:   rgba(255, 255, 255, 0.18);
  --glass-fill:   rgba(255, 255, 255, 0.05);
  --glass-stroke: rgba(255, 255, 255, 0.12);
  --glass-inner:  rgba(255, 255, 255, 0.08);
  --shadow-lg:    0 32px 80px -32px rgba(0, 0, 0, 0.7);
  --accent:       var(--c-bio-green);
  --accent-ink:   var(--c-carbon);
}

[data-theme="light"] {
  --bg:           var(--c-off-white);
  --bg-soft:      #ece9e1;
  --ink:          var(--c-carbon);
  --ink-soft:     var(--c-carbon);
  --muted:        var(--c-fog);
  --muted-2:      #8a9293;
  --hairline:     rgba(34, 47, 48, 0.10);
  --hairline-2:   rgba(34, 47, 48, 0.20);
  --glass-fill:   rgba(255, 255, 255, 0.55);
  --glass-stroke: rgba(34, 47, 48, 0.10);
  --glass-inner:  rgba(255, 255, 255, 0.7);
  --shadow-lg:    0 30px 60px -32px rgba(34, 47, 48, 0.20);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  min-width: 320px;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .25s ease, color .25s ease;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 100;
  padding: 10px 12px;
  border-radius: var(--r-btn);
  background: var(--accent);
  color: var(--accent-ink);
}
.skip:focus { left: 12px; top: 12px; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }

/* ---------- Hero wallpaper - only covers hero + into laptop ---------- */
.bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1100px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(206, 247, 158, .14), transparent 54%),
    radial-gradient(70% 50% at 50% 30%, rgba(206, 247, 158, .05), transparent 60%),
    radial-gradient(80% 55% at 86% 2%, rgba(94, 106, 210, .06), transparent 58%),
    linear-gradient(180deg, #0c1011 0%, #06080a 60%, #06080a 100%);
  overflow: hidden;
}
.bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, #06080a);
  pointer-events: none;
}
@media (max-width: 720px) {
  .bg { height: 900px; }
}

.bg__grain {
  position: absolute;
  inset: 0;
  opacity: .25;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* All sections render above the background */
main, .topbar, .foot { position: relative; z-index: 1; }

/* ---------- Glass utility ---------- */
.glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid var(--glass-stroke);
  box-shadow:
    inset 0 1px 0 var(--glass-inner),
    inset 0 -1px 0 rgba(0,0,0,.15),
    var(--shadow-lg);
}
[data-theme="light"] .glass {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(34,47,48,.05),
    var(--shadow-lg);
}

.glass-chip {
  background: var(--glass-fill);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--glass-stroke);
  box-shadow:
    inset 0 1px 0 var(--glass-inner),
    0 4px 10px -4px rgba(0,0,0,.3);
  border-radius: var(--r-pill);
}

/* ---------- Brand mark + word ---------- */
.brand-logo {
  flex: 0 0 auto;
  height: 36px;
  width: auto;
  display: block;
}
.brand-mark {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 18px;
  flex: 0 0 auto;
}
.brand-mark span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
}
.brand-mark span:nth-child(2) { width: 68%; background: var(--accent); }
.brand-mark span:nth-child(3) { width: 44%; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0;
  line-height: 1;
}
.brand-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0;
  padding: 3px 8px;
  color: var(--ink-soft);
  text-transform: lowercase;
}

/* ---------- Topbar floating glass pill ---------- */
.topbar {
  position: sticky;
  top: 14px;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.topbar__pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 8px 8px 8px 18px;
  border-radius: var(--r-pill);
  max-width: calc(100vw - 32px);
  background: rgba(6, 8, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar__nav a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.topbar__nav a:hover { color: var(--ink); }
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hairline-2);
  border-radius: 999px;
  color: var(--ink);
  transition: border-color .15s ease;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle__sun, .theme-toggle__moon {
  position: absolute;
  inset: 0;
  margin: auto;
}
.theme-toggle__sun {
  width: 12px; height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.theme-toggle__moon {
  display: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  box-shadow: -4px 0 0 0 currentColor;
  transform: translateX(4px);
}
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: 14px;
  line-height: 1;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--sm { min-height: 32px; padding: 7px 14px; font-size: 13px; border-radius: 999px; }
.btn--solid {
  background: var(--ink);
  color: var(--bg);
}
.btn--solid:hover { background: color-mix(in srgb, var(--ink) 88%, transparent); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-2);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--accent:hover { filter: brightness(.97); }
.btn--block { width: 100%; }
.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: transform .16s ease;
}
.btn:hover .btn__arrow { transform: translateX(2px); }

/* ---------- Kicker ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
.kicker__dot {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--muted);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: visible;
  padding: clamp(96px, 14vw, 184px) 24px 0;
  text-align: center;
}
.hero__copy { max-width: 920px; margin: 0 auto; }
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.hero__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto 16px;
  color: color-mix(in srgb, var(--ink) 48%, transparent);
  font-size: 12.5px;
  line-height: 1.2;
  letter-spacing: 0;
}
.hero__meta a {
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  border-bottom: 0;
}
.hero__meta a:hover {
  color: var(--ink-soft);
}
.hero__built,
.hero__meta .hero__built {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tetraxon-built-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  text-decoration: none;
  transition: color .15s ease;
}
.tetraxon-built-link:hover {
  color: var(--ink-soft);
}
.tetraxon-mini-mark {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("/tetraxon-mark.png") center / contain no-repeat;
  mask: url("/tetraxon-mark.png") center / contain no-repeat;
}
.hero__head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
  margin: 0 auto 24px;
  max-width: 26ch;
  color: var(--ink);
  text-wrap: balance;
}
.hero__head-main { display: block; white-space: nowrap; }
.hero__head-soft {
  display: block;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0;
}

/* Feature row sits just above the laptop, small mono icons + labels */
.hero__feats {
  list-style: none;
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink-soft);
}
.hero__feat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
}
.hero__feat-icon {
  width: 16px;
  height: 16px;
  color: var(--ink);
  flex: 0 0 auto;
}
.hero__sep {
  display: inline-block;
  color: var(--muted-2);
  opacity: .55;
  font-size: 0.95em;
}
@media (max-width: 720px) {
  .hero__head-main { white-space: normal; }
}
.hero__lead {
  margin: 8px auto 0;
  max-width: 58ch;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.hero__lead strong { color: var(--ink); font-weight: 500; }

/* Inline OpenClaw avatar tucked tight between words */
.inline-orb {
  display: inline-block;
  vertical-align: -0.2em;
  width: 1.1em;
  height: 1.1em;
  margin: 0 0.12em;
  border-radius: 22%;
  overflow: hidden;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.55));
  animation: orb-pulse 6s ease-in-out infinite;
  isolation: isolate;
}
.inline-orb img,
.inline-orb svg { width: 100%; height: 100%; display: block; object-fit: contain; }
@keyframes orb-pulse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-2px) rotate(4deg); }
}

/* Hero CTA row (no install code in hero anymore, just two buttons) */
.hero__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 8px;
}
.btn--lg { min-height: 44px; padding: 12px 20px; font-size: 14.5px; }

/* Install bar — sits below the laptop in the panel section */
.install-bar {
  margin: 56px auto 0;
  width: 100%;
  max-width: 780px;
  padding: 18px;
  border-radius: 18px;
  display: grid;
  gap: 14px;
}
.install-bar__tabs {
  display: inline-flex;
  align-self: start;
  padding: 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: rgba(0,0,0,.28);
}
[data-theme="light"] .install-bar__tabs { background: rgba(255,255,255,.55); }
.install-bar__tabs .tab { padding: 7px 16px; font-size: 13px; }

.install-bar__code {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.40) 100%);
  border: 1px solid var(--hairline-2);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    inset 0 -1px 0 rgba(0,0,0,.3);
}
[data-theme="light"] .install-bar__code {
  background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(247,247,245,.7) 100%);
}
.install-bar__code .dollar {
  color: var(--accent);
  user-select: none;
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1;
}
.install-bar__code code {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
@media (max-width: 720px) {
  .install-bar__code { grid-template-columns: 1fr; gap: 10px; }
  .install-bar__code code { white-space: normal; word-break: break-all; }
}
.install-bar__code .copy {
  align-self: center;
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid var(--hairline-2);
  background: rgba(255,255,255,.04);
  color: var(--ink-soft);
  transition: all .15s ease;
}
.install-bar__code .copy:hover { background: rgba(255,255,255,.1); color: var(--ink); border-color: var(--hairline-2); }
.install-bar__code .copy.is-copied { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* ---------- Install bar foot strip (free + open-source + GitHub chip) ---- */
.install-bar__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.install-bar__free {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}

/* ---------- Get started block ---------- */
.get-started {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 108px;
  margin: 48px auto 0;
  width: 100%;
  max-width: 940px;
  padding: 24px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .58fr);
  gap: 22px;
  align-items: center;
}
.get-started::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4,6,7,.90), rgba(4,6,7,.66) 58%, rgba(4,6,7,.82)),
    radial-gradient(circle at 82% 18%, rgba(206,247,158,.16), transparent 34%);
  pointer-events: none;
}
.block-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(1.15) contrast(1.05) brightness(.72);
  pointer-events: none;
}
.get-started__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.get-started__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: lowercase;
}
.get-started h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}
.get-started p {
  margin: 0;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}
.get-started__steps {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
}
.get-started__steps span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.035);
  color: var(--ink-soft);
  font-size: 13px;
}
.get-started__steps b {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
}
.get-started__actions {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Premium variant: clean dark card, no video bg */
.get-started--premium {
  background: #0a0c0d;
  border: 1px solid #23252a;
  box-shadow: 0 32px 80px -32px rgba(0, 0, 0, 0.7);
}
.get-started--premium::before {
  background:
    radial-gradient(circle at 14% 0%, rgba(206,247,158,.10), transparent 40%),
    transparent;
}

/* ---------- GitHub star chip (header + install-bar variants) ---------- */
.gh-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 10px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--ink-soft);
  border-radius: var(--r-pill);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
  white-space: nowrap;
  line-height: 1;
}
.gh-chip:hover { color: var(--ink); }
.gh-chip__logo {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--ink);
}
.gh-chip__label {
  font-weight: 500;
  color: var(--ink);
}
.gh-chip__divider {
  width: 1px;
  height: 14px;
  background: var(--hairline-2);
  margin: 0 2px;
  flex: 0 0 auto;
}
.gh-chip__count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.gh-chip__star {
  width: 12px;
  height: 12px;
  color: var(--accent);
  flex: 0 0 auto;
}
.gh-chip:hover .gh-chip__star { filter: drop-shadow(0 0 6px var(--accent)); }

/* Compact variant for the header pill */
.gh-chip--sm { padding: 5px 9px; font-size: 12px; gap: 6px; }
.gh-chip--sm .gh-chip__logo { width: 13px; height: 13px; }
.gh-chip--sm .gh-chip__divider { height: 12px; }

/* Legacy hero__install styles below — kept narrow so nothing collides ---- */
.hero__install-tabs {
  display: inline-flex;
  align-self: start;
  padding: 3px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: rgba(0,0,0,.18);
}
[data-theme="light"] .hero__install-tabs { background: rgba(255,255,255,.55); }
.tab {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}
.hero__install-code {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--r-btn);
  background: rgba(0,0,0,.30);
  border: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--ink);
  text-align: left;
}
[data-theme="light"] .hero__install-code { background: rgba(255,255,255,.7); }
.hero__install-code .dollar { color: var(--accent); user-select: none; }
.hero__install-code code {
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}
.copy {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--hairline-2);
  transition: color .15s ease, border-color .15s ease;
}
.copy:hover { color: var(--ink); border-color: var(--ink); }
.copy.is-copied {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}
.hero__install-note {
  margin: 4px 4px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hero__install-note a { color: var(--ink-soft); border-bottom: 1px solid var(--hairline-2); }
.hero__install-note a:hover { color: var(--accent); border-color: var(--accent); }

/* Why-row glass chips */
.why-row {
  list-style: none;
  margin: 22px auto 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.why-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.why-row li strong { font-weight: 500; color: var(--ink); }
.why-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: rgba(206, 247, 158, 0.18);
  color: var(--accent);
}
.why-row__icon svg { width: 12px; height: 12px; }

/* Keyframes kept for .agent__icon usage */
@keyframes float-a {
  0%   { transform: translate3d(0, 0, 0) rotate(-4deg); }
  35%  { transform: translate3d(6px, -16px, 0) rotate(2deg); }
  70%  { transform: translate3d(-4px, -8px, 0) rotate(-1deg); }
  100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
}
@keyframes float-b {
  0%   { transform: translate3d(0, 0, 0) rotate(4deg); }
  40%  { transform: translate3d(-8px, -12px, 0) rotate(-2deg); }
  80%  { transform: translate3d(4px, -18px, 0) rotate(3deg); }
  100% { transform: translate3d(0, 0, 0) rotate(4deg); }
}

/* ---------- Panel section (mac window with video) ---------- */
.panel {
  padding: 0;
  position: relative;
}
.panel__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0;
}

/* ---------- Agent chat surface ---------- */
.agent-chat {
  width: min(100%, 980px);
  margin: clamp(28px, 4vw, 56px) auto 0;
  font-family: "Inter", var(--font-sans);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto auto auto;
  min-height: clamp(560px, 58vw, 680px);
  text-align: left;
  isolation: isolate;
  background: #0a0c0d;
}
.agent-chat__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 20px;
  border-bottom: 1px solid #23252a;
  background: rgba(255,255,255,.015);
}
.agent-chat__identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}
.agent-chat__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #27a644;
  box-shadow: 0 0 8px rgba(39, 166, 68, 0.5);
}
.agent-chat__name {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.agent-chat__model {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #62666d;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #23252a;
}
.agent-chat__orb {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(206,247,158,.7);
}
.agent-chat__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}
.agent-chat__status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}
.agent-chat__log {
  min-height: 0;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
}
.chat-msg {
  width: fit-content;
  max-width: min(52ch, 82%);
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid #23252a;
  background: #161718;
}
.chat-msg--user {
  align-self: flex-end;
  background: #cef79e;
  color: #0f1011;
  border-color: transparent;
}
.chat-msg--assistant {
  align-self: flex-start;
  background: #161718;
  border: 1px solid #23252a;
}
.chat-msg__role {
  display: block;
  margin-bottom: 6px;
  font-family: "Inter", var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: none;
}
.chat-msg--user .chat-msg__role { color: rgba(15,16,17,.45); }
.chat-msg p {
  margin: 0;
  font-family: "Inter", var(--font-sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: inherit;
  letter-spacing: 0.005em;
}
.chat-msg.is-thinking p::after {
  content: " ...";
  display: inline-block;
  animation: chat-caret .9s ease-in-out infinite;
}
.chat-msg.is-typing p::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1.1em;
  margin-left: 3px;
  vertical-align: -0.18em;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  animation: cursor-blink 1s steps(2, jump-none) infinite;
}
@keyframes chat-caret {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}
.agent-chat__prompts {
  display: flex;
  gap: 8px;
  padding: 0 24px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.agent-chat__prompts::-webkit-scrollbar { display: none; }
.agent-chat__prompts button {
  flex: 0 0 auto;
  max-width: 260px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  color: color-mix(in srgb, var(--ink) 68%, transparent);
  background: rgba(255,255,255,.035);
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.agent-chat__prompts button:hover {
  color: var(--ink);
  border-color: var(--hairline-2);
  background: rgba(255,255,255,.07);
}
.agent-chat__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: end;
  gap: 10px;
  padding: 0 24px 18px;
}
.agent-chat__form textarea {
  width: 100%;
  min-height: 48px;
  max-height: 140px;
  resize: none !important;
  border: 1px solid var(--hairline-2);
  border-radius: 16px;
  padding: 13px 15px;
  background: rgba(0,0,0,.28);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
  overflow: hidden;
}
.agent-chat__form textarea::-webkit-resizer { display: none; }
.agent-chat__form textarea::placeholder { color: var(--muted); }
.agent-chat__form textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--hairline-2));
  box-shadow: 0 0 0 3px rgba(206,247,158,.08);
}
.agent-chat__form button {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, filter .15s ease;
}
.agent-chat__form button:hover { filter: brightness(.97); transform: translateY(-1px); }
.agent-chat__form button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.agent-chat__note {
  margin: 0;
  padding: 0 20px 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.45;
}

/* The "floor" — a real shelf line edge-to-edge so the laptop reads as
   actually standing on it, with a soft glow under the line to suggest
   a horizon. The block below is visibly its own section. */
.panel__floor {
  position: relative;
  margin-top: 0;
  padding: 112px 0 96px;
}
.panel__floor::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.32) 18%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.32) 82%,
    rgba(255, 255, 255, 0.04) 100%
  );
  pointer-events: none;
}
.panel__floor::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 12%;
  right: 12%;
  height: 80px;
  background: radial-gradient(ellipse at center top,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
[data-theme="light"] .panel__floor::before {
  background: linear-gradient(90deg,
    rgba(34, 47, 48, 0.05) 0%,
    rgba(34, 47, 48, 0.32) 18%,
    rgba(34, 47, 48, 0.42) 50%,
    rgba(34, 47, 48, 0.32) 82%,
    rgba(34, 47, 48, 0.05) 100%
  );
}
[data-theme="light"] .panel__floor::after {
  background: radial-gradient(ellipse at center top,
    rgba(34, 47, 48, 0.05) 0%,
    transparent 70%
  );
}
.panel__floor-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.panel__head {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}
.panel__head .kicker { display: inline-flex; }
.panel__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.06;
  letter-spacing: 0;
  margin: 0 0 14px;
}
.panel__lead {
  margin: 0 auto;
  max-width: 96ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: balance;
}
.panel__lead-line {
  display: block;
  margin-top: 4px;
  white-space: nowrap;
}
@media (max-width: 880px) {
  .panel__lead { max-width: 60ch; }
  .panel__lead-line { display: inline; white-space: normal; margin-top: 0; }
}

.mac {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin-top: -48px;       /* peek up into the hero so the video is visible above the fold */
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  z-index: 3;
}

/* ---------- Laptop silhouette (CSS-only mockup, swap with real PNG later) */
.laptop {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: clamp(16px, 2vw, 24px) auto 0;
  z-index: 3;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,.55));
}
.laptop--chat {
  max-width: 1120px;
  margin-top: clamp(28px, 4vw, 54px);
}
.laptop--chat .laptop__screen {
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  background: #050607;
}
.laptop--chat .agent-chat {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.laptop--chat .agent-chat__log {
  overscroll-behavior: auto;
}
.laptop__lid {
  position: relative;
  border-radius: 22px 22px 6px 6px;
  background:
    linear-gradient(180deg, #1f2326 0%, #15181a 100%);
  padding: 26px 22px 14px;
  border: 1px solid #2a2e30;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.6);
}
.laptop__camera {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: #0a0c0d;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #2a2e30, 0 0 0 1px rgba(0,0,0,.4);
}
.laptop__camera::after {
  content: "";
  position: absolute;
  inset: 1.6px;
  border-radius: 50%;
  background: #2c3539;
}
.laptop__screen {
  position: relative;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid #050607;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.laptop__screen video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.laptop__hinge {
  position: relative;
  margin: 0 auto;
  width: 102%;
  margin-left: -1%;
  height: 5px;
  background:
    linear-gradient(180deg, #2a2e30 0%, #14171a 60%, #0a0c0d 100%);
}
.laptop__base {
  position: relative;
  margin: 0 -3.2%;
  width: 106.4%;
  height: 16px;
  background:
    linear-gradient(180deg, #1c1f21 0%, #0c0e10 55%, #050606 100%);
  border-radius: 0 0 22px 22px;
  clip-path: polygon(3% 0%, 97% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 2px 0 rgba(0,0,0,.4);
}
.laptop__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #050607;
  border-radius: 0 0 9px 9px;
}
.laptop__shadow {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -36px;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55) 0%, transparent 70%);
  filter: blur(20px);
  z-index: -1;
}
@media (max-width: 720px) {
  .laptop__lid { padding: 18px 14px 10px; border-radius: 16px 16px 4px 4px; }
  .laptop__camera { top: 7px; width: 4px; height: 4px; }
}
.mac__bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(0,0,0,.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
[data-theme="light"] .mac__bar { background: rgba(255,255,255,.55); }
.mac__dots { display: inline-flex; gap: 6px; }
.mac__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
}
.mac__dot--r { background: #ff5f57; }
.mac__dot--y { background: #febc2e; }
.mac__dot--g { background: #28c840; }
.mac__title {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.mac__title-soft { color: var(--muted); }
.mac__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}
.mac__pulse {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(206,247,158,.6);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(206,247,158,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(206,247,158,0); }
  100% { box-shadow: 0 0 0 0 rgba(206,247,158,0); }
}

.mac__body {
  position: relative;
  z-index: 1;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.mac__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mac__glow {
  position: absolute;
  z-index: 0;
  bottom: -120px;
  left: 10%;
  right: 10%;
  height: 240px;
  background: radial-gradient(ellipse at center, var(--accent), transparent 65%);
  filter: blur(60px);
  opacity: .35;
  pointer-events: none;
}

/* ---------- Section heads (shared) ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }
.section-head .kicker { margin-bottom: 14px; display: inline-flex; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.06;
  letter-spacing: 0;
  margin: 0 0 14px;
}
.section-head__sub {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 62ch;
  text-wrap: balance;
}
.section-head h2,
.hero__head,
.what__head h2,
.panel__head h2,
.foot__pitch { text-wrap: balance; }

/* ---------- Switcher (What it does) ---------- */
.what {
  position: relative;
  padding: 88px 0 72px;
  margin-top: 16px;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(94, 106, 210, 0.06), transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(206, 247, 158, 0.04), transparent 60%),
    linear-gradient(180deg, #06080a 0%, #0a0c0d 100%);
}
.what::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.20) 50%,
    transparent 100%
  );
  pointer-events: none;
}
[data-theme="light"] .what::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34, 47, 48, 0.22) 50%,
    transparent 100%
  );
}
.what__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.what,
.pricing,
.faq {
  scroll-margin-top: 108px;
}
.what__head .kicker { display: inline-flex; }
.what__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.06;
  letter-spacing: 0;
  margin: 0 0 12px;
}
.what__sub {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 880px) {
  .what__sub { white-space: normal; max-width: 56ch; }
}

.switcher__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 6px;
  border-radius: var(--r-pill);
  max-width: 960px;
  margin: 0 auto 28px;
}
.switcher__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease;
}
.switcher__tab:hover { background: rgba(255,255,255,.05); color: var(--ink); }
.switcher__tab.is-active {
  background: var(--ink);
  color: var(--bg);
}
.switcher__tab.is-active .switcher__tab-num { color: var(--accent); }
.switcher__tab-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.switcher__stage {
  position: relative;
  margin: 0 auto;
  max-width: 1080px;
  border-radius: var(--r-card);
  overflow: hidden;
  isolation: isolate;
  min-height: 460px;
  background: #0a0c0d;
  border: 1px solid #23252a;
}
.stage-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.cap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  padding: 32px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cap.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  position: relative;
}
.cap[hidden] { display: none; }

.cap__copy { display: flex; flex-direction: column; gap: 12px; max-width: 44ch; }
.cap__copy h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.18;
  letter-spacing: 0;
  margin: 0;
}
.cap__copy p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Cap card (clean dark card for scenario content) ---------- */
.cap__visual { min-width: 0; display: flex; }
.cap__card {
  width: 100%;
  min-height: 320px;
  max-height: 380px;
  overflow-y: auto;
  background: #0f1011;
  border: 1px solid #23252a;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.cap__card--video {
  position: relative;
  overflow: hidden;
}
.cap__card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(1.1) brightness(0.85);
  pointer-events: none;
}
.cap__card--video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.4) 0%, rgba(8, 9, 10, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
.cap__card-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.agent-panel {
  position: relative;
  z-index: 2;
  width: min(88%, 420px);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(180deg, rgba(10,14,15,.82), rgba(4,6,7,.76));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 26px 56px -30px rgba(0,0,0,.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.agent-panel__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
}
.agent-panel__top span {
  font-weight: 500;
}
.agent-panel__top em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}
.agent-panel__rows {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.agent-panel__rows span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
}
.agent-panel__rows b,
.agent-panel__rows em {
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.15;
  font-weight: 400;
  font-style: normal;
}
.agent-panel__rows b {
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.agent-panel__rows em {
  color: var(--accent);
  white-space: nowrap;
}
.agent-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}
.terminal-demo {
  position: absolute;
  inset: 22px;
  z-index: 1;
  padding: 18px 18px 46px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(circle at 20% 0%, rgba(206,247,158,.10), transparent 42%),
    rgba(0,0,0,.30);
  font-family: var(--font-mono);
  color: var(--ink-soft);
  overflow: hidden;
}
.terminal-demo__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.terminal-demo__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
}
.terminal-demo__bar span:first-child { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.terminal-demo p {
  margin: 0 0 10px;
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.35;
  opacity: .4;
  transform: translateY(4px);
  animation: terminal-line 6s ease-in-out infinite;
  white-space: nowrap;
}
.terminal-demo p:nth-of-type(2) { animation-delay: .45s; }
.terminal-demo p:nth-of-type(3) { animation-delay: .9s; }
.terminal-demo p:nth-of-type(4) { animation-delay: 1.35s; }
.terminal-demo b {
  color: var(--accent);
  font-weight: 500;
}
.terminal-demo__accent {
  color: var(--ink);
}
.terminal-demo__accent::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.2em;
  margin-left: 5px;
  vertical-align: -0.2em;
  background: var(--accent);
  animation: cursor-blink 1s steps(2, jump-none) infinite;
}
@keyframes terminal-line {
  0%, 12% { opacity: .35; transform: translateY(4px); }
  28%, 72% { opacity: 1; transform: translateY(0); }
  100% { opacity: .55; transform: translateY(0); }
}
@keyframes cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
/* (old cap__slot pseudo-elements removed) */

/* ---------- Switcher progress bar (scaleX, never overflows pill) ---------- */
.switcher__progress {
  position: relative;
  display: block;
  width: 100%;
  flex: 1 0 100%;
  height: 2px;
  margin: 4px 0 2px;
  border-radius: 999px;
  background: var(--hairline);
  overflow: hidden;
}
.switcher__progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.switcher.is-paused .switcher__progress > span { opacity: .35; }

/* ---------- Trial block (moved after capabilities) ---------- */
/* ---------- Trial section (premium) ---------- */
.trial-section {
  position: relative;
  padding: 96px 0 80px;
}
.trial-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
  pointer-events: none;
}
.trial-card {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 48px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 0%, rgba(206, 247, 158, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0a0c0d 0%, #06080a 100%);
  border: 1px solid #23252a;
  overflow: hidden;
  box-shadow: 0 32px 80px -32px rgba(0, 0, 0, 0.8);
}
.trial-card__glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(206, 247, 158, 0.12) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(60px);
}
.trial-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.trial-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(206, 247, 158, 0.08);
  border: 1px solid rgba(206, 247, 158, 0.18);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0;
}
.trial-card__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: trial-pulse 2s ease-in-out infinite;
}
@keyframes trial-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.trial-card__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 18ch;
}
.trial-card__lead {
  margin: 0 0 32px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.trial-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.trial-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  width: 100%;
}
.trial-card__features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.trial-card__features svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .trial-card { padding: 36px 24px; border-radius: 18px; }
  .trial-card__features { gap: 14px 20px; }
}

/* ---------- Agents ---------- */
.agents { padding: 56px 0; }
.agents__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.agent {
  position: relative;
  padding: 32px 32px 28px;
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.agent__icon {
  width: 80px; height: 80px;
  margin-bottom: 4px;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.45));
  animation: float-a 10s ease-in-out infinite;
}
.agent:nth-child(2) .agent__icon { animation-name: float-b; animation-duration: 12s; }
.agent h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1;
  margin: 4px 0 0;
}
.agent h3 .muted {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}
.agent__role {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.agent__bullets {
  list-style: none;
  margin: 8px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agent__bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}
.agent__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 2px;
  background: var(--accent);
}
.agent .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Pricing ---------- */
.pricing {
  position: relative;
  padding: 88px 0 80px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(206, 247, 158, 0.06), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 122, 89, 0.025), transparent 60%),
    linear-gradient(180deg, #0a0c0d 0%, #06080a 100%);
}
.pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.20) 50%,
    transparent 100%
  );
  pointer-events: none;
}
[data-theme="light"] .pricing::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34, 47, 48, 0.22) 50%,
    transparent 100%
  );
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pricing__grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
}
.tier {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 32px;
  border-radius: var(--r-card);
}
.tier:not(.glass) {
  border: 1px solid var(--hairline-2);
  background: rgba(255,255,255,.02);
}
.tier--featured {
  background: var(--c-carbon);
  border: 1px solid var(--c-carbon);
  color: var(--c-polar-white);
}
.tier--featured .tier__pitch,
.tier--featured ul li { color: var(--c-sage-mist); }
.tier--featured ul li::before { background: var(--accent); }
.tier--featured .btn--ghost { color: var(--c-polar-white); border-color: rgba(255,255,255,.22); }
.tier__name {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tier--featured .tier__name { color: var(--c-sage-mist); }
.tier__chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0;
}
.tier__price {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 0;
}
.tier__price span {
  display: inline-block;
  font-size: 44px;
  line-height: 1;
  color: inherit;
  letter-spacing: 0;
  margin-right: 4px;
  color: var(--ink);
}
.tier--featured .tier__price span { color: var(--c-polar-white); }
.tier__pitch {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  min-height: 42px;
}
.tier ul {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier--featured ul { border-top-color: rgba(255,255,255,.12); }
.tier li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.tier li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 2px;
  background: var(--accent);
}
.tier .btn--block { margin-top: auto; }
.pricing__note {
  margin: 32px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.pricing__note a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
}
.pricing__note a:hover { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq {
  position: relative;
  padding: 88px 0 96px;
  background:
    radial-gradient(ellipse at 80% 100%, rgba(94, 106, 210, 0.04), transparent 60%),
    linear-gradient(180deg, #06080a 0%, #0a0c0d 100%);
}
.faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.20) 50%,
    transparent 100%
  );
  pointer-events: none;
}
[data-theme="light"] .faq::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34, 47, 48, 0.22) 50%,
    transparent 100%
  );
}
.faq__list {
  max-width: 820px;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.faq__list details {
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
}
.faq__list summary {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--muted);
}
.faq__list details[open] summary::after { content: "\2212"; }
.faq__list details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 62ch;
}

/* ---------- Footer (big) ---------- */
.foot {
  position: relative;
  padding: 72px 0 24px;
  margin-top: 56px;
  border-top: 1px solid var(--hairline);
  overflow: hidden;
}
/* Top edge light — a brighter accent glow riding the divider */
.foot::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(206,247,158,.55), transparent);
  pointer-events: none;
  z-index: 1;
}
/* Ambient glow rising behind the giant wordmark */
.foot::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -120px;
  transform: translateX(-50%);
  width: min(1000px, 130%);
  height: 460px;
  background:
    radial-gradient(ellipse at center bottom, rgba(206,247,158,.12), transparent 68%),
    radial-gradient(ellipse at center bottom, rgba(206,247,158,.06), transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.foot__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(0, 1.95fr);
  gap: 56px;
  padding-bottom: 56px;
}

.foot__cta { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.foot__cta .topbar__brand { color: var(--ink); }
.foot__pitch {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0;
  max-width: 22ch;
}
.foot__email {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline-2);
  padding-bottom: 1px;
}
.foot__email:hover { color: var(--accent); border-color: var(--accent); }

.foot__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 24px;
  align-self: start;
}
.foot__col-head {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: lowercase;
  letter-spacing: 0;
}
.foot__cols a,
.foot__cols button {
  display: block;
  width: fit-content;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 5px 0;
  transition: color .15s ease;
}
.foot__cols a:hover,
.foot__cols button:hover { color: var(--accent); }

.foot__built {
  position: absolute;
  right: max(18px, calc((100vw - var(--container)) / 2 + 18px));
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0;
  padding: 6px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  transition: color .15s ease;
  z-index: 2;
}
.foot__built:hover {
  color: var(--ink-soft);
}

/* Giant decorative wordmark — the visual ending of the page */
.foot__wordmark {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(120px, 22vw, 280px);
  line-height: 0.85;
  letter-spacing: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(206,247,158,.16) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 32px 0 -28px;
  user-select: none;
  pointer-events: none;
}
[data-theme="light"] .foot__wordmark {
  background: linear-gradient(180deg, rgba(34,47,48,.10) 0%, rgba(120,150,70,.20) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Scenario items (clean dark cards) ---------- */
.scenario-item {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
  line-height: 1.5;
  color: #d0d6e0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.scenario-item:last-child {
  border-bottom: none;
}
.scenario-item__text {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #d0d6e0;
}
.scenario-item__time {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  padding-top: 2px;
}
.scenario-item__meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 4px;
}
.scenario-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.scenario-item__draft-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.scenario-item__status {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  padding-top: 2px;
}

/* Draft item with green accent border */
.scenario-item--draft {
  border-left: 2px solid var(--accent);
  margin: 0 8px 8px;
  border-radius: 0 8px 8px 0;
  background: rgba(206,247,158,.04);
  border-bottom: none;
}
.scenario-item__draft-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
}

/* Signal item */
.scenario-item--signal {
  padding: 14px 16px;
}

/* Draft preview */
.scenario-item--draft-preview {
  padding: 14px 16px;
  background: rgba(255,255,255,.02);
}

/* Approval item */
.scenario-item--approval {
  padding: 14px 16px;
}
.scenario-item__approval-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.scenario-item__approval-type {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.scenario-item__actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

/* Scenario badges */
.scenario-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
  font-family: var(--font-mono);
}
.scenario-badge--tg {
  background: rgba(87,182,255,.14);
  color: #57b6ff;
}
.scenario-badge--email {
  background: rgba(168,130,255,.14);
  color: #a882ff;
}
.scenario-badge--li {
  background: rgba(87,182,255,.14);
  color: #57b6ff;
}
.scenario-badge--warn {
  background: rgba(254,188,46,.14);
  color: #febc2e;
  text-transform: uppercase;
  font-size: 10px;
}
.scenario-badge--ok {
  background: rgba(40,200,64,.14);
  color: #28c840;
  text-transform: uppercase;
  font-size: 10px;
}

/* Scenario buttons */
.scenario-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: default;
}
.scenario-btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.scenario-btn--ghost {
  background: rgba(255,255,255,.06);
  color: var(--ink-soft);
  border: 1px solid rgba(255,255,255,.08);
}
.scenario-btn--approve {
  background: rgba(40,200,64,.16);
  color: #28c840;
}
.scenario-btn--decline {
  background: rgba(255,95,87,.10);
  color: #ff5f57;
}

/* Scenario stats row */
.scenario-stats {
  display: flex;
  gap: 16px;
  padding: 10px 16px 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.scenario-stats b {
  color: var(--accent);
  font-weight: 500;
  margin-right: 3px;
}

/* Scenario log entries */
.scenario-log-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.scenario-log-entry:last-of-type {
  border-bottom: none;
}
.scenario-log__time {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  width: 36px;
}
.scenario-log__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.scenario-log__dot--green { background: #28c840; }
.scenario-log__dot--accent { background: var(--accent); }
.scenario-log__dot--blue { background: #57b6ff; }
.scenario-log__dot--muted { background: var(--muted-2); }
.scenario-log__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ---------- Payment methods ---------- */
.pricing__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.pricing__payments-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: lowercase;
}
.pricing__payments-icons {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.payment-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1;
}
.payment-method__icon {
  height: 28px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}
.payment-method__icon--sbp {
  height: 26px;
  width: 26px;
}
.payment-method__icon--btc {
  height: 26px;
  width: 26px;
}
.payment-method__icon--bank {
  height: 24px;
  width: 24px;
}
.payment-method__cards {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.payment-method__icon--visa,
.payment-method__icon--mc {
  height: 18px;
  width: 28px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ---------- Signup modal ---------- */
.signup-modal {
  width: min(520px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
}
.signup-modal::backdrop {
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.signup-modal__panel {
  position: relative;
  display: grid;
  gap: 11px;
  padding: 22px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border-radius: 22px;
  border: 1px solid var(--glass-stroke);
  background:
    radial-gradient(circle at 14% 0%, rgba(206,247,158,.14), transparent 40%),
    rgba(10,14,15,.94);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-inner);
}
.signup-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
}
.signup-modal__close:hover { color: var(--ink); border-color: var(--hairline-2); }
.signup-modal__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.signup-modal h2 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.05;
  letter-spacing: 0;
}
.signup-modal p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}
.signup-modal label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
}
.signup-modal input,
.signup-modal textarea {
  width: 100%;
  border: 1px solid var(--hairline-2);
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
  outline: none;
}
.signup-modal textarea { resize: vertical; min-height: 104px; }
.signup-modal textarea { min-height: 86px; }
.signup-modal input::placeholder,
.signup-modal textarea::placeholder { color: var(--muted); }
.signup-modal input:focus,
.signup-modal textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--hairline-2));
  box-shadow: 0 0 0 3px rgba(206,247,158,.08);
}
.signup-modal__status {
  min-height: 18px;
  font-family: var(--font-mono);
  font-size: 12px !important;
  color: var(--accent) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .topbar__nav { display: none; }
  .brand-word { font-size: 17px; }
  .brand-logo { height: 28px; }
  .agents__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .get-started { grid-template-columns: 1fr; }
  .cap {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }
  .switcher__stage { min-height: 0; }
  .switcher__tabs { padding: 4px; }
  .switcher__tab { padding: 7px 12px; font-size: 13px; }
  .hero { padding: 96px 16px 0; }
  .hero__feats { gap: 10px; row-gap: 10px; }
  .panel { padding: 0; }
  .trial-block { padding: 64px 0 56px; }
  .agent-chat { min-height: 560px; }
  .install-bar { margin-top: 40px; }
  .foot__top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .pricing__payments { flex-wrap: wrap; gap: 12px; }
  .cap__card { min-height: auto; }
}
@media (max-width: 720px) {
  .hero { padding: 72px 16px 0; }
  .hero__meta {
    flex-wrap: wrap;
    row-gap: 6px;
    max-width: 34ch;
  }
  .hero__head { max-width: 18ch; margin-bottom: 18px; }
  .hero__lead { font-size: 15px; }
  .hero__feats { font-size: 13px; gap: 10px; row-gap: 8px; margin-top: 20px; }
  .agent-chat {
    min-height: 100%;
    margin-top: 22px;
    border-radius: 18px;
  }
  .laptop--chat .agent-chat {
    margin: 0;
    border-radius: 0;
  }
  .laptop--chat .laptop__screen {
    aspect-ratio: auto;
    height: 560px;
  }
  .agent-chat__top {
    padding: 12px 18px;
    flex-direction: row;
    gap: 10px;
  }
  .agent-chat__log { padding: 18px; }
  .chat-msg { max-width: 94%; }
  .agent-chat__prompts { padding: 0 18px 16px; }
  .agent-chat__form { padding: 0 18px 16px; }
  .agent-chat__note { padding: 0 18px 18px; }
  .cap__card {
    min-height: auto;
  }
  .scenario-item {
    padding: 10px 12px;
    font-size: 13px;
  }
  .scenario-item__text {
    font-size: 12.5px;
  }
  .scenario-log-entry {
    padding: 8px 12px;
  }
  .pricing__payments {
    flex-direction: column;
    gap: 14px;
  }
  .pricing__payments-icons {
    gap: 18px;
    justify-content: center;
  }
  .trial-block { padding: 48px 0 40px; }
  .panel__lead { font-size: 15px; }
  .install-bar { padding: 14px; }
  .install-bar__code { padding: 12px; font-size: 12.5px; }
  .get-started {
    padding: 18px;
    border-radius: 18px;
  }
  .get-started__actions { flex-direction: column; }
  .get-started__actions .btn { width: 100%; }
}
@media (max-width: 560px) {
  .inline-orb {
    width: 0.98em;
    height: 0.98em;
    vertical-align: -0.16em;
  }
  .topbar__pill { gap: 12px; padding-left: 14px; }
  .brand-logo { height: 24px; }
  .brand-mark { width: 19px; height: 16px; }
  .brand-word { font-size: 15px; }
  .topbar__actions .btn { padding-inline: 12px; font-size: 12.5px; }
  .hero__feats {
    flex-direction: column;
    gap: 8px;
  }
  .hero__sep { display: none; }
  .terminal-demo { inset: 16px; padding: 14px 14px 42px; }
  .terminal-demo p { white-space: normal; }
  .foot__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .foot__built {
    right: 16px;
    bottom: 16px;
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .agent__icon, .mac__pulse, .inline-orb { animation: none !important; }
}
