/* ==========================================================
   BrowserMemex — landing site
   Monochrome warm palette, serif headline emphasis,
   considered spacing, refined micro-details.
   ========================================================== */

:root {
  /* Surfaces */
  --bg:        #f8f8f7;
  --bg-soft:   #f1f1ee;
  --bg-warm:   #efece4;
  --card:      #ffffff;

  /* Ink */
  --ink:       #2a2823;     /* warm near-black */
  --ink-2:     #34322d;
  --ink-soft:  #5e5e5b;
  --muted:     #858481;

  /* Lines */
  --line:      rgba(0, 0, 0, 0.07);
  --line-2:    rgba(0, 0, 0, 0.12);
  --line-3:    rgba(0, 0, 0, 0.20);

  /* Dark surfaces */
  --dark:      #16161a;
  --dark-2:    #1f1f23;
  --dark-soft: rgba(255, 255, 255, 0.62);

  /* Effects */
  --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 8px 28px rgba(0,0,0,0.05);
  --shadow-lift: 0 30px 80px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-pop:  0 60px 140px rgba(20,18,12,0.16), 0 10px 30px rgba(20,18,12,0.08);

  --r-sm: 10px;
  --r:    14px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 30px;

  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Libre Baskerville", "Times New Roman", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Subtle dot-grid background for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(20,18,12,0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -1px -1px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 80%);
}
main, header, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: var(--ink); color: #fff; }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-warm);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--ink);
  font-weight: 500;
}

/* ============ TYPOGRAPHY ============ */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 22px;
  /* Each authored line (split by <br />) stays on one visual line; the
   * headline can overflow the hero__inner max-width if needed. */
  white-space: nowrap;
}
@media (max-width: 700px) {
  .display { white-space: normal; text-wrap: balance; }
}
.display em {
  font-style: italic;
  font-weight: 400;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: balance;
}
.h2 em { font-style: italic; font-weight: 400; }
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 12px 0 14px;
}
.h3 em { font-style: italic; font-weight: 400; }
.h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.008em;
  color: var(--ink);
  margin: 0 0 8px;
}
.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 28px;
  text-align: center;
  letter-spacing: -0.008em;
}
.lede--narrow { max-width: 480px; }
.lede em, .body em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.body {
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.muted {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  letter-spacing: -0.005em;
}
.muted--center { text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.kicker--light { color: rgba(255,255,255,0.62); }

/* ============ CONTAINER / SECTION ============ */
.section {
  padding: 120px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  position: relative;
}
.section--alt { background: var(--bg-soft); }
.section--cta { padding: 80px 24px 160px; }

.content {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.content--center { text-align: center; }
.content--narrow { max-width: 920px; }
.content--qa { max-width: 800px; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 248, 247, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, background-color 240ms ease;
}
.nav__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.nav__menu {
  display: flex;
  gap: 44px;
  margin-left: auto;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav__menu a {
  position: relative;
  transition: color 140ms ease;
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.nav__ghost {
  font-size: 16px;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav__ghost:hover { color: var(--ink); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  /* Match the hero headline ("AI agent shares.") — Libre Baskerville */
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 200ms cubic-bezier(0.2,0.7,0.2,1),
              box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--dark {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset,
              0 12px 32px rgba(20, 18, 12, 0.18),
              0 2px 6px rgba(20, 18, 12, 0.10);
}
.btn--dark:hover { background: #1a1814; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { background: rgba(0,0,0,0.04); border-color: var(--line-3); }
.btn--light {
  background: #ffffff;
  color: var(--ink);
}
.btn--light:hover { background: #f3f1ec; }
.btn--ghost-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.18);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); }

/* ============ EYEBROW (status pill) ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 22px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f9d55;
  box-shadow: 0 0 0 3px rgba(31, 157, 85, 0.18);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -120px -20% 30% -20%;
  background: radial-gradient(ellipse 50% 40% at 50% 40%,
    rgba(212, 200, 165, 0.45) 0%,
    rgba(212, 200, 165, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
}
.hero__cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 6px;
}

/* Hero stage with orbiting agent badges */
.hero__stage {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  width: 100%;
  max-width: 1080px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.orbit {
  position: absolute;
  z-index: 1;
}
/* Orbital rings — read as deliberate paths, not faint suggestion */
.orbit--ring {
  border-radius: 50%;
  border: 1px dashed rgba(42, 40, 35, 0.18);
  pointer-events: none;
}
.orbit--ring-1 { width: 720px; height: 720px; }
.orbit--ring-2 { width: 980px; height: 980px; opacity: 0.55; }

/* Agent badges — large enough to read like satellites, not bystanders */
.orbit--badge {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--bg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 0 0 1px rgba(42, 40, 35, 0.06),
    0 18px 40px rgba(20, 18, 12, 0.18),
    0 6px 14px rgba(20, 18, 12, 0.10);
  z-index: 3;
  overflow: hidden;
  animation: drift 9s ease-in-out infinite;
  transition: transform 220ms cubic-bezier(0.2,0.7,0.2,1),
              box-shadow 220ms ease;
}
.orbit--badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 0 0 1px rgba(42, 40, 35, 0.10),
    0 28px 56px rgba(20, 18, 12, 0.22),
    0 10px 22px rgba(20, 18, 12, 0.14);
}
.orbit--badge img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
}

/* Position + size tiers. Primary three are 92px (default); secondary three
 * 74px so the constellation has hierarchy. Tighter to the device than
 * before so they read as orbiting, not scattered. */
.orbit--pos-1 { top:   8%; left:  16%; animation-delay: 0s;   }
.orbit--pos-2 { top:  14%; right: 14%; animation-delay: 1.1s; }
.orbit--pos-3 { top:  46%; right:  4%; animation-delay: 2.2s; }
.orbit--pos-4 { bottom: 22%; left:   4%; width: 74px; height: 74px; animation-delay: 3.3s; }
.orbit--pos-5 { bottom:  8%; right: 18%; width: 74px; height: 74px; animation-delay: 4.4s; }
.orbit--pos-6 { top:  56%; left:  18%; width: 74px; height: 74px; animation-delay: 5.5s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(2px, -8px); }
  50%      { transform: translate(0, -14px); }
  75%      { transform: translate(-2px, -8px); }
}

/* ============ DEVICE / SIDE PANEL ============ */
.device {
  width: 100%;
  max-width: 920px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.device--hero { transform: translateY(0); }
.device__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #f7f5f0 0%, #ece9e2 100%);
  border-bottom: 1px solid var(--line);
}
.device__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d4d0c8;
}
.device__dot:nth-child(1) { background: #ff5f57; }
.device__dot:nth-child(2) { background: #febc2e; }
.device__dot:nth-child(3) { background: #28c840; }
.device__url {
  margin-left: 16px;
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}
.device__body {
  display: flex;
  height: 480px;
  background: var(--bg);
}
.device__page {
  position: relative;
  flex: 1;
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.page-h {
  height: 22px;
  width: 55%;
  background: var(--ink);
  border-radius: 5px;
  margin-bottom: 10px;
}
.page-row {
  height: 9px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.page-row--short { width: 70%; }
.page-block {
  margin: 10px 0;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vpill {
  position: absolute;
  top: 220px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px 7px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(20,18,12,0.14), 0 2px 8px rgba(20,18,12,0.06);
  animation: vpop 0.7s cubic-bezier(0.2,0.8,0.2,1) 0.6s backwards;
}
@keyframes vpop {
  from { opacity: 0; transform: translate(-50%, 14px) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
.vpill__btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3f3f46;
  transition: background-color 140ms ease, color 140ms ease;
}
.vpill__btn:hover { background: var(--bg-soft); color: var(--ink); }
.vpill__brand {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}
.vpill__brand img { width: 20px; height: 20px; }

.device__rail {
  width: 60px;
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  gap: 4px;
}
.device__rail-item {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
}
.device__rail-item--active {
  background: var(--ink);
  color: #ffffff;
}
.device__rail-flex { flex: 1; }
.device__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.01em;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line-2);
}

/* ============ MANIFESTO (two-column quote) ============ */
.section--manifesto { padding-top: 120px; padding-bottom: 60px; }
.split-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.manifesto em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.split-col__right .body { font-size: 17px; }

/* ============ SHOWCASE (alternating splits) ============ */
.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.showcase:first-child { border-top: none; padding-top: 24px; }
.showcase--reverse .showcase__art { order: -1; }
.showcase__copy { max-width: 460px; }
.showcase__num {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 4px;
}
.showcase__copy p { color: var(--ink-soft); font-size: 16px; }

.bullets {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bullets li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 1px;
  background: var(--ink);
}

/* Showcase art frame */
.showcase__art {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 280ms ease, transform 280ms ease;
}
.showcase__art:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }

/* Ledger (showcase 1) */
.ledger {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ledger__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ledger__count { color: var(--ink); }
.ledger__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}
.ledger__row--muted { opacity: 0.55; }
.ledger__by {
  flex-shrink: 0;
  padding: 3px 8px;
  background: var(--bg-warm);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}
.ledger__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: var(--ink);
}
.ledger__main strong {
  font-weight: 600;
}
.ledger__src {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* Skill flow (showcase 2) */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}
.flow__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flow__agent {
  display: inline-block;
  padding: 4px 10px;
  background: var(--c, var(--ink));
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
  width: max-content;
  margin-bottom: 6px;
}
.flow__node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.flow__step {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-warm);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flow__node--saved {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.flow__node--saved .flow__step {
  background: #fff;
  color: var(--ink);
}
.flow__arrow {
  color: var(--ink-soft);
  display: inline-flex;
}
.flow__call {
  padding: 10px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: -0.01em;
}
.flow__call code { background: transparent; color: #fff; padding: 0; }
.flow__result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  color: var(--ink-soft);
}
.flow__ok {
  font-weight: 600;
  color: #1f9d55;
}

/* Profiles (showcase 3) */
.profiles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profiles__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.profiles__row--active {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20,18,12,0.06);
}
.profiles__a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}
.profiles__main { flex: 1; }
.profiles__n { font-weight: 600; font-size: 14px; color: var(--ink); }
.profiles__m { font-size: 12px; color: var(--muted); margin-top: 1px; }
.profiles__chk { color: var(--ink); font-size: 14px; font-weight: 700; }
.profiles__hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
  font-family: var(--font-display);
}

/* ============ STEPS ============ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: none;
}
.step {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1), box-shadow 240ms ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.step__num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ============ AGENT GRID ============ */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.agent {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 200ms ease, transform 200ms ease;
}
.agent:hover { border-color: var(--line-3); transform: translateY(-2px); }
.agent__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.agent strong {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}
.agent span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

/* ============ PROMPTS GRID ============ */
.prompts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.prompt {
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.prompt:hover { border-color: var(--line-3); transform: translateY(-2px); }
.prompt p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
}
.prompt__op {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-warm);
  padding: 3px 10px;
  border-radius: 999px;
  align-self: flex-start;
  letter-spacing: -0.01em;
}

/* ============ FAQ ============ */
.faq {
  display: flex;
  flex-direction: column;
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa:last-child { border-bottom: none; }
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 140ms ease;
}
.qa summary:hover { color: var(--ink-2); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--muted);
  transition: transform 280ms cubic-bezier(0.2,0.7,0.2,1), color 200ms;
}
.qa[open] summary::after {
  transform: rotate(45deg);
  color: var(--ink);
}
.qa p {
  margin: 0;
  padding: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 720px;
}

/* ============ CTA CARD ============ */
.cta-card {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 56px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto -10%;
  height: 130%;
  background: radial-gradient(ellipse 50% 40% at 50% 0%,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.cta__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin: 0 0 28px;
  text-wrap: balance;
  position: relative;
}
.cta__h em { font-style: italic; font-weight: 400; }
.cta__row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
}
.cta__hint {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--dark-soft);
  position: relative;
}

/* ============ FOOTER ============ */
.foot {
  background: var(--dark);
  color: #fff;
  padding: 100px 24px 40px;
}
.foot__inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.foot__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.foot__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 720px;
}
.foot__quote em { font-style: italic; }

.foot__cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.foot__col h5 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.foot__col a {
  display: block;
  font-size: 13.5px;
  color: var(--dark-soft);
  padding: 4px 0;
  transition: color 140ms ease;
}
.foot__col a:hover { color: #fff; }

.foot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  gap: 16px;
  flex-wrap: wrap;
}
.foot__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 24px 0 20px;
  margin-bottom: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  font-family: var(--font-body);
}
.foot__menu a {
  color: var(--dark-soft);
  text-decoration: none;
  transition: color 140ms ease;
}
.foot__menu a:hover { color: #fff; }
.brand--foot .brand__mark--foot {
  filter: invert(1);
  width: 44px;
  height: 44px;
}
.foot__copy {
  font-size: 12.5px;
  color: var(--dark-soft);
  margin: 0;
}
.foot__social { display: flex; gap: 8px; }
.foot__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #fff;
  transition: background-color 140ms ease, transform 200ms ease;
}
.foot__social a:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }

/* ============ REVEAL ON SCROLL ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.2,0.7,0.2,1),
              transform 700ms cubic-bezier(0.2,0.7,0.2,1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit--badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav__menu { display: none; }
  .section { padding: 80px 24px; gap: 40px; }
  .split-col { grid-template-columns: 1fr; gap: 32px; }
  .showcase { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .showcase--reverse .showcase__art { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .agent-grid { grid-template-columns: 1fr 1fr; }
  .prompts { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
  .cta-card { padding: 56px 32px; }
  .device__body { height: 400px; }
  .orbit--ring-1, .orbit--ring-2 { display: none; }
  .orbit--pos-3, .orbit--pos-6 { display: none; }
  .orbit--badge { width: 72px !important; height: 72px !important; border-width: 4px; }
  .hero__stage { padding: 30px 0; }
}

@media (max-width: 620px) {
  .nav__inner { padding: 14px 20px; }
  .nav__ghost { display: none; }
  .section { padding: 64px 20px; }
  .hero { padding: 56px 20px 40px; }
  .device__url { display: none; }
  .device__body { height: 360px; }
  .device__page { padding: 24px; }
  .device__rail { width: 50px; }
  .vpill { top: 170px; }
  .steps { grid-template-columns: 1fr; }
  .agent-grid { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .foot__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta-card { padding: 48px 24px; }
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { transform: rotate(90deg); justify-self: center; }
  .orbit--badge { width: 58px !important; height: 58px !important; border-width: 4px; }
}
