:root {
  --ink: #17162B;
  --panel: #222140;
  --panel-edge: #34335A;
  --honey: #F4B23E;
  --honey-deep: #C98A1E;
  --mint: #5CD6A2;
  --mist: #C8C8DF;
  --dim: #8C8BAE;
  --paper: #F6F5FF;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--paper); }

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--honey);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 10;
}
.skip:focus { left: 8px; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--paper);
  margin: 0;
  letter-spacing: -0.02em;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  max-width: 1280px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--paper);
}
.nav nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); }
.nav nav a {
  color: var(--mist);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav nav a:hover { color: var(--paper); }
.nav .nav-cta {
  color: var(--paper);
  border: 1px solid var(--panel-edge);
  padding: 6px 14px;
  border-radius: 999px;
}
@media (max-width: 720px) {
  .nav nav a:not(.nav-cta) { display: none; }
}

/* Hero */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 80px) var(--gutter) clamp(48px, 8vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
}
.kicker {
  font-family: var(--display);
  font-weight: 500;
  color: var(--honey);
  margin: 0 0 14px;
  font-size: 1.05rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  font-weight: 800;
  max-width: 12ch;
}
.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  max-width: var(--measure);
  margin: 22px 0 30px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 10px;
  transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--honey); color: var(--ink); }
.btn-primary:hover { background: #FFC45E; }
.btn-quiet { color: var(--paper); border: 1px solid var(--panel-edge); }
.btn-quiet:hover { background: var(--panel); }
.fineprint { color: var(--dim); font-size: 0.92rem; margin: 18px 0 0; }

/* Live agent grid (the one bold element) */
.hive-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 520px) {
  .hive-grid { grid-template-columns: 1fr; }
}
.pane {
  background: #100F22;
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  overflow: hidden;
  min-height: 190px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.pane header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--panel);
  border-bottom: 1px solid var(--panel-edge);
  font-size: 0.85rem;
  color: var(--paper);
}
.pane header strong { font-weight: 700; }
.pane .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(92, 214, 162, .18);
}
.pane .chip {
  margin-left: auto;
  font-style: normal;
  font-size: 0.75rem;
  padding: 2px 9px;
  border-radius: 999px;
  color: var(--mint);
  border: 1px solid rgba(92, 214, 162, .45);
}
.pane pre {
  margin: 0;
  padding: 12px 14px 16px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--mist);
  white-space: pre-wrap;
  word-break: break-word;
}
.pane pre .prompt { color: var(--paper); font-weight: 600; }
.pane pre .ask { color: var(--honey); font-weight: 600; }
.pane pre .caret {
  display: inline-block;
  width: 0.55em; height: 1em;
  background: var(--mist);
  vertical-align: -0.15em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.pane[data-state="needs"] {
  border-color: var(--honey);
  box-shadow: 0 0 0 1px var(--honey), 0 12px 40px -12px rgba(244, 178, 62, .55);
}
.pane[data-state="needs"] .dot { background: var(--honey); box-shadow: 0 0 0 3px rgba(244, 178, 62, .22); }
.pane[data-state="needs"] .chip { color: var(--honey); border-color: rgba(244, 178, 62, .6); }
.pane[data-state="done"] .dot { background: var(--dim); box-shadow: none; }
.pane[data-state="done"] .chip { color: var(--dim); border-color: var(--panel-edge); }

.toast {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  display: grid;
  gap: 2px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 12px;
  border-left: 5px solid var(--honey);
  box-shadow: 0 18px 50px -14px rgba(0, 0, 0, .6);
  font-size: 0.9rem;
  max-width: 280px;
  animation: toast-in .35s ease-out;
}
.toast strong { font-family: var(--display); font-size: 1rem; }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 520px) { .toast { position: static; margin-top: 4px; max-width: none; } }

/* Sections */
section h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  font-weight: 700;
}
.section-lede { max-width: var(--measure); margin: 16px 0 0; font-size: 1.12rem; }

.what, .tour, .works-with {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 56px);
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillar { border-top: 2px solid var(--panel-edge); padding-top: 18px; }
.pillar h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.pillar p { margin: 0; }

/* Tour */
.tour h2 { margin-bottom: clamp(28px, 4vw, 44px); }
.shot { margin: 0; }
.shot img {
  border-radius: 12px;
  border: 1px solid var(--panel-edge);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
}
.shot figcaption { margin-top: 14px; max-width: var(--measure); color: var(--mist); }
.shot figcaption strong { color: var(--paper); font-family: var(--display); }
.shot-wide { margin-bottom: clamp(40px, 6vw, 72px); }
.shot-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(40px, 6vw, 64px);
}
@media (max-width: 760px) { .shot-row { grid-template-columns: 1fr; } }

/* Local by design */
.local { background: var(--panel); border-top: 1px solid var(--panel-edge); border-bottom: 1px solid var(--panel-edge); }
.local-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) var(--gutter);
}
.local-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  margin-top: 24px;
  align-items: start;
}
@media (max-width: 820px) { .local-cols { grid-template-columns: 1fr; } }
.local-cols p { margin: 0; font-size: 1.15rem; max-width: var(--measure); }
.local-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.local-cols li { padding-left: 28px; position: relative; }
.local-cols li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.42em;
  width: 12px; height: 12px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--honey);
}

/* Works with */
.works-with dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px clamp(24px, 5vw, 64px);
  margin: 32px 0 40px;
}
@media (max-width: 640px) { .works-with dl { grid-template-columns: 1fr; } }
.works-with dt { font-family: var(--display); font-weight: 700; color: var(--paper); }
.works-with dd { margin: 4px 0 0; }

/* Footer */
.footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px var(--gutter) 48px;
  border-top: 1px solid var(--panel-edge);
}
.footer p { margin: 0; }
.footer strong { color: var(--paper); }
.footer-small { color: var(--dim); font-size: 0.85rem; margin-top: 8px !important; max-width: 60rem; }

@media (prefers-reduced-motion: reduce) {
  .pane pre .caret, .toast { animation: none; }
}
