:root {
  --bg: #1a1a18;
  --bg-2: #15151310;
  --panel: rgba(255,255,255,0.035);
  --panel-2: rgba(255,255,255,0.055);
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.13);
  --text: #f5f3ed;
  --text-muted: rgba(245,243,237,0.66);
  --text-dim: rgba(245,243,237,0.42);
  --accent: #b8c97a;
  --jim: #b8c97a;
  --sarah: #a8c4c4;
  --maya: #c4a8b8;
  --kai: #c4b8a8;
  --ava: #c9b97a;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(184,201,122,0.10), transparent 60%),
    radial-gradient(50% 40% at 90% 30%, rgba(196,168,184,0.08), transparent 65%),
    radial-gradient(70% 60% at 50% 110%, rgba(168,196,196,0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
main { position: relative; z-index: 1; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Top nav ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(26,26,24,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topnav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topnav-brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.topnav-brand .brand-mark {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
  margin-right: 8px;
  letter-spacing: 0.18em;
  font-size: 11px;
  text-transform: uppercase;
  font-family: var(--sans);
}
.topnav-links {
  display: flex;
  gap: 4px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}
.topnav-link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.topnav-link:hover { color: var(--text); }
.topnav-link.active {
  background: var(--accent);
  color: #1a1a18;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 48px;
  text-align: center;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.05;
  margin: 18px 0 18px;
  letter-spacing: -0.01em;
}
.lede {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Agent tabs (the clickable agent boxes) ---------- */
.agent-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 56px 0 48px;
}
.agent-tab {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.agent-tab::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  opacity: 0.20;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.agent-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
}
.agent-tab:hover::before { opacity: 0.32; }
.agent-tab.active {
  border-color: var(--glow);
  background: rgba(255,255,255,0.05);
}
.agent-tab.active::before { opacity: 0.50; }
.agent-tab .agent-emoji {
  font-size: 24px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.agent-tab .agent-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  color: var(--glow);
}
.agent-tab .agent-role {
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 12px;
  font-weight: 500;
}
.tab-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tab-status .sdot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
}
.tab-status.proactive { color: var(--accent); }
.tab-status.proactive .sdot {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,201,122,0.20);
}

.agent-panel { display: none; animation: fadeIn 0.35s ease; }
.agent-panel.active { display: block; }

/* ---------- Agent overview cards (used on landing/index style sections) ---------- */
.agents {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 56px 0 24px;
}
.agent {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 20px 22px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.agent::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}
.agent-emoji {
  font-size: 26px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.agent-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  color: var(--glow);
}
.agent-role {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 12px;
  font-weight: 500;
}
.agent-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0 0 14px;
}
.channels { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ---------- Flow tabs (Daily / Ad-hoc / Proactive) ---------- */
.tabs-wrap { margin-top: 32px; }
.tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto 40px;
  backdrop-filter: blur(8px);
}
.tab {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab:hover { color: var(--text); }
.tab.active {
  background: var(--accent);
  color: #1a1a18;
}

.panel { display: none; animation: fadeIn 0.4s ease; }
.panel.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.panel-head {
  text-align: center;
  margin-bottom: 48px;
}
.panel-head h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.panel-head p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 80px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 60px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-strong) 12%, var(--border-strong) 88%, transparent);
}
.tl-item { position: relative; margin-bottom: 28px; }
.tl-time {
  position: absolute;
  left: -80px;
  top: 4px;
  width: 56px;
  text-align: right;
  font-size: 12px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.tl-dot {
  position: absolute;
  left: -22px;
  top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--dot, var(--accent));
  box-shadow: 0 0 0 4px rgba(184,201,122,0.10);
}
.tl-dot.muted {
  border-color: var(--text-dim);
  box-shadow: none;
  width: 6px; height: 6px;
  top: 11px; left: -20px;
}
.tl-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.tl-card.muted {
  background: transparent;
  border: 0;
  padding: 0 0 0 4px;
  color: var(--text-dim);
  font-size: 13px;
}
.tl-title {
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tl-agent-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--tag, var(--text-muted));
  border: 1px solid var(--border);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.tl-body {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- Message mock ---------- */
.mock-phone {
  max-width: 380px;
  margin: 48px auto 0;
  background: rgba(20,20,18,0.7);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}
.mock-phone-header {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 14px;
}
.bubble {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}
.bubble.from-you {
  border-radius: 14px 14px 4px 14px;
  margin-left: auto;
  background: rgba(184,201,122,0.10);
  border-color: rgba(184,201,122,0.20);
  max-width: 80%;
}
.bubble + .bubble { margin-top: 10px; }
.bubble-head {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bubble-color, var(--text));
  font-size: 13px;
}
.bubble-line { color: var(--text-muted); }
.bubble em { color: var(--accent); font-style: normal; font-weight: 600; }

.caption {
  max-width: 600px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
}

/* ---------- Ad-hoc steps ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}
.steps {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 28px 24px;
}
.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: 0; }
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(184,201,122,0.10);
  color: var(--accent);
  border: 1px solid rgba(184,201,122,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step-text {
  padding-top: 4px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}
.step-text .quote {
  color: var(--text);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.step-text .meta {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 4px;
}
.step-agent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--tag, var(--accent));
}

.trust {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.trust h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}
.trust .sub {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 18px;
}
.trust-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.trust-row:first-of-type { border-top: 0; }
.trust-glyph { font-size: 16px; line-height: 1; padding-top: 2px; }
.trust-name { font-weight: 600; color: var(--text); margin-bottom: 2px; }
.trust-desc { color: var(--text-muted); }

.matrix {
  margin-top: 40px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.matrix h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}
.matrix-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.matrix-row:first-of-type { border-top: 0; }
.matrix-msg {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--text);
}
.arrow {
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.1em;
}
.matrix-route { font-size: 14px; color: var(--tag, var(--text)); }
.matrix-route .who { font-weight: 600; color: var(--tag); }
.matrix-route .why { color: var(--text-dim); font-size: 12px; margin-left: 8px; }

/* ---------- Proactive scenarios ---------- */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.scenario {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.scenario-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.scenario-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tag, var(--accent));
  font-weight: 600;
  margin-bottom: 8px;
}
.scenario-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  color: var(--text);
}
.scenario-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.scenario-step {
  display: flex; gap: 10px;
  align-items: flex-start;
}
.scenario-step .marker {
  color: var(--tag, var(--accent));
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  flex-shrink: 0;
}
.scenario-bubble {
  margin-top: auto;
  background: rgba(20,20,18,0.7);
  border: 1px solid var(--border-strong);
  border-radius: 14px 14px 14px 4px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.55;
}
.scenario-bubble .from {
  font-weight: 600;
  color: var(--tag, var(--text));
  font-size: 12.5px;
  margin-bottom: 6px;
}

/* ---------- Team detail card (used inside agent panels) ---------- */
.team-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: "";
  position: absolute;
  top: -80px; left: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--tag) 0%, transparent 65%);
  opacity: 0.10;
  pointer-events: none;
}
.team-left, .team-right { position: relative; z-index: 1; }
.team-avatar {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.team-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  margin: 0;
  color: var(--tag);
  line-height: 1;
}
.team-role {
  font-size: 14px;
  color: var(--text-muted);
  margin: 6px 0 18px;
  font-weight: 500;
}
.behavior-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.behavior-badge .bdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}
.behavior-badge.proactive {
  background: rgba(184,201,122,0.10);
  border-color: rgba(184,201,122,0.28);
  color: var(--accent);
}
.behavior-badge.proactive .bdot {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,201,122,0.20);
}
.team-pitch {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 26px;
}
.team-section { margin-bottom: 20px; }
.team-section:last-child { margin-bottom: 0; }
.team-section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tag);
  font-weight: 600;
  margin-bottom: 10px;
}
.team-bullets { list-style: none; padding: 0; margin: 0; }
.team-bullets li {
  position: relative;
  padding: 5px 0 5px 22px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.team-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px; height: 1px;
  background: var(--tag);
  opacity: 0.6;
}
.team-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.team-example {
  background: rgba(20,20,18,0.55);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.team-example .you { color: var(--accent); font-weight: 600; }
.team-example .agent-line { color: var(--tag); font-weight: 600; }

/* ---------- Technical detail (collapsible, for agent architects) ---------- */
.tech-details {
  margin-top: 26px;
  border-top: 1px dashed var(--border-strong);
  padding-top: 18px;
}
.tech-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tag);
  font-weight: 600;
  user-select: none;
  outline: none;
}
.tech-summary::-webkit-details-marker { display: none; }
.tech-summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 1;
  color: var(--tag);
  flex-shrink: 0;
}
.tech-details[open] .tech-summary::before { content: "\2013"; }
.tech-summary .tech-summary-sub {
  color: var(--text-dim);
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
  font-size: 11.5px;
}
.tech-body {
  margin-top: 16px;
  display: grid;
  gap: 0;
}
.tech-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.tech-row:first-child { border-top: 0; }
.tech-key {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  padding-top: 3px;
}
.tech-val {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}
.tech-val strong { color: var(--text); font-weight: 600; }
.tool {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  padding: 2px 8px;
  margin: 3px 4px 3px 0;
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
}
/* tools carrying a description tooltip — signal hoverability */
.tool[title] {
  cursor: help;
  border-bottom: 1px dotted rgba(245,243,237,0.30);
}
.tool[title]:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-strong);
}
/* a labelled group of tools at one guardrail level */
.tool-group { margin: 4px 0 12px; }
.tool-group:last-child { margin-bottom: 0; }
.tool-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.tool-group-head .count {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
}
/* persona / system-prompt composition list */
.prompt-stack {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  counter-reset: pstep;
}
.prompt-stack li {
  position: relative;
  padding: 4px 0 4px 26px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.prompt-stack li::before {
  counter-increment: pstep;
  content: counter(pstep);
  position: absolute;
  left: 0;
  top: 4px;
  width: 17px; height: 17px;
  border-radius: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--tag);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prompt-stack li strong { color: var(--text); font-weight: 600; }
.tech-val code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
  padding: 1px 5px;
  color: var(--text);
}
.guard {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}
.guard.always   { background: rgba(120,190,120,0.13); color: #9fcf8f; border: 1px solid rgba(120,190,120,0.30); }
.guard.confirm  { background: rgba(214,196,120,0.13); color: #d8c878; border: 1px solid rgba(214,196,120,0.30); }
.guard.owner    { background: rgba(214,150,110,0.15); color: #e0a878; border: 1px solid rgba(214,150,110,0.32); }
.guard.blocked  { background: rgba(214,110,110,0.15); color: #e08a8a; border: 1px solid rgba(214,110,110,0.32); }
.guard.readonly { background: rgba(150,170,200,0.13); color: #a8c0d8; border: 1px solid rgba(150,170,200,0.30); }
.tech-note {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 8px 0 0;
}
.tech-details.standalone {
  max-width: 720px;
  margin: 48px auto 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 26px;
  background: var(--panel);
}

/* ---------- Reach-out comparison ---------- */
.reach-out { margin-top: 56px; }
.reach-out h2 {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.reach-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 36px;
}
.reach-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.reach-col {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
}
.reach-col.proactive { border-color: rgba(184,201,122,0.22); }
.reach-col-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 4px;
}
.reach-col-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.reach-col.proactive .reach-col-tag { color: var(--accent); }
.reach-col-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text-muted);
}
.reach-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.reach-row:last-child { border-bottom: 0; }
.reach-emoji {
  font-size: 22px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.reach-name {
  font-weight: 600;
  color: var(--tag);
  font-size: 15px;
  margin-bottom: 2px;
}
.reach-when {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 96px;
  margin-bottom: 80px;
  text-align: center;
}
.footer-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  margin-bottom: 36px;
  color: var(--text);
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}
.benefit {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.benefit-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 8px;
}
.benefit h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 8px;
}
.benefit p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.signoff {
  margin-top: 64px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .agents { grid-template-columns: repeat(2, 1fr); }
  .agent-tabs { grid-template-columns: repeat(3, 1fr); }
  .flow-grid { grid-template-columns: 1fr; }
  .scenarios { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .matrix-row { grid-template-columns: 1fr; gap: 6px; }
  .arrow { display: none; }
  .team-card { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .tech-row { grid-template-columns: 1fr; gap: 6px; }
  .reach-cols { grid-template-columns: 1fr; }
  .topnav-inner { padding: 14px 20px; }
  .topnav-brand { font-size: 16px; }
}
@media (max-width: 540px) {
  .agents { grid-template-columns: 1fr; }
  .agent-tabs { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 20px; }
  .timeline { padding-left: 64px; }
  .tl-time { left: -64px; width: 44px; font-size: 11px; }
  .topnav-brand .brand-mark { display: none; }
}
