/* Polycarp — agent vs chatbot page (2026-09-14). Extends landing.css;
   same tokens, same frame. The two panes are the argument. */

.eyebrow {
  font: 500 13px var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.cmp-hero {
  max-width: 820px; margin: 0 auto; padding: 64px 24px 30px; text-align: center;
}
.cmp-hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; }
.cmp-hero .hero-sub { margin-top: 16px; }
.cmp-hero .hero-body { max-width: 62ch; margin: 0 auto; }
.rule-gold.centred { margin: 22px auto; }
.cmp-hero .hero-ctas { justify-content: center; }

.lede {
  font-family: var(--serif); font-size: 20px; color: var(--sage);
  max-width: 70ch; margin: 0 auto 26px;
}

/* demo */
.demo { max-width: 1120px; margin: 30px auto 0; padding: 0 24px; text-align: center; }
.demo h2, .compare h2, .honest h2, .cmp-cta h2 { font-size: 34px; margin-bottom: 12px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 18px; }
.pick-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; cursor: pointer; text-align: left;
  background: #fff; border: 1px solid var(--stone); border-radius: 10px; padding: 8px 14px; font-family: var(--sans);
}
.pick-btn strong { font: 600 14px var(--sans); color: var(--navy); }
.pick-btn span { font-size: 12px; color: #8a8578; text-transform: capitalize; }
.pick-btn:hover { border-color: var(--sage); }
.pick-btn.on { border-color: var(--sage); background: rgba(79, 124, 120, 0.08); }
.ask { max-width: 760px; margin: 0 auto 22px; }
#ask-form { display: flex; gap: 10px; }
#ask-form input {
  flex: 1; font: 400 16px var(--sans); color: var(--charcoal); background: #fff;
  border: 1px solid var(--stone); border-radius: 8px; padding: 13px 16px; outline: none;
}
#ask-form input:focus { border-color: var(--sage); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.chip-q {
  font: 400 13px var(--sans); color: var(--sage); background: none; cursor: pointer;
  border: 1px solid var(--stone); border-radius: 16px; padding: 6px 12px;
}
.chip-q:hover { border-color: var(--sage); background: rgba(79, 124, 120, 0.06); }
.chip-q.chip-doc, .src-doc, .note-doc { padding-left: 26px !important; position: relative; }
.chip-q.chip-doc::before, .src-doc::before, .note-doc::before {
  content: ""; position: absolute; left: 9px; top: 50%; width: 13px; height: 13px; margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234F7C78' stroke-width='1.4'%3E%3Cpath d='M4 1.5h5.5L13 5v9.5H4z'/%3E%3Cpath d='M9.5 1.5V5H13M6 8h4M6 10.5h4'/%3E%3C/svg%3E") no-repeat center / contain;
}
.chip-q.chip-doc { border-style: dashed; }
/* A question asked in another language (2026-09-29): the website is English. */
.chip-q.chip-lang::before { content: attr(data-lang); font-size: 11px; font-weight: 600; letter-spacing: .02em;
  margin-right: 6px; padding: 1px 6px; border-radius: 8px; background: #E7EFEE; color: #2F5652; }
.note-doc { padding: 4px 0 4px 20px; }
.note-doc::before { left: 0; top: 11px; margin-top: 0; }
/* This page IS the demo: the corner launcher collapses to its icon here so
   the pill never sits over the live pane. */
#polycarp-btn .pc-label { display: none !important; }
#polycarp-btn { width: 56px !important; padding: 0 !important; }

.panes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; }
.pane {
  background: #fff; border: 1px solid var(--stone); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(24, 48, 75, 0.10); display: flex; flex-direction: column;
  min-height: 460px;
}
.pane-live { border-color: var(--sage); }
.pane-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid #f0ede6;
}
.pane-title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: 15px; }
.pane-title .mark { height: 22px; }
.pane-script .pane-title { color: #6b6b6b; }
.pane-tag {
  font: 500 11px var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: #8a8578; border: 1px solid var(--stone); border-radius: 12px; padding: 2px 9px;
}
.pane-tag.live { color: var(--sage); border-color: var(--sage); }
.pane-tag.live::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage); margin-right: 6px; vertical-align: 1px;
}
.pane-body { flex: 1; padding: 14px 16px; overflow-y: auto; max-height: 520px; font-size: 14px; }
.pane-foot { font-size: 12px; color: #8a8578; padding: 10px 16px 14px; border-top: 1px solid #f0ede6; margin: 0; }

.bub { border-radius: 12px; padding: 9px 13px; margin: 7px 0; max-width: 92%; line-height: 1.5; }
.bub p { margin: 0; } .bub p + p { margin-top: 8px; } .bub ul { margin: 6px 0 0 18px; }
.bub.you { background: var(--navy); color: var(--parchment); margin-left: auto; }
.bub.bot { background: #f3f1ec; color: var(--charcoal); }
.bub.bot.ack { opacity: 0.72; font-style: italic; padding: 6px 13px; }
.pane-script .bub.bot { background: #f0f0f0; color: #444; }
.bub .again { color: #8a8578; font-size: 12px; }
.bub-note { font-size: 12px; color: var(--sage); margin: 6px 0; }
.bub.thinking { display: inline-flex; gap: 4px; padding: 12px 14px; }
.bub.thinking span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--sage); opacity: 0.4;
  animation: pc-blink 1.2s infinite;
}
.bub.thinking span:nth-child(2) { animation-delay: 0.2s; }
.bub.thinking span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pc-blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }

.menu { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.menu button {
  font: 400 13px var(--sans); color: #444; background: #fff; cursor: pointer;
  border: 1px solid #ccc; border-radius: 6px; padding: 6px 12px;
}
.menu button:hover { background: #f5f5f5; }

.sources { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 2px 0 8px; }
.sources-label { font-size: 11px; color: var(--sage); }
.sources span:not(.sources-label) {
  font-size: 12px; color: var(--sage); border: 1px solid var(--stone); border-radius: 14px; padding: 3px 10px;
}
.sources a {
  font-size: 12px; color: var(--sage); text-decoration: none;
  border: 1px solid var(--stone); border-radius: 14px; padding: 3px 10px;
}
.sources a:hover { border-color: var(--sage); }

/* comparison table */
.compare { max-width: 1120px; margin: 64px auto 0; padding: 0 24px; text-align: center; }
.table-scroll { overflow-x: auto; text-align: left; }
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--stone); border-radius: 12px; overflow: hidden; }
.cmp-table th, .cmp-table td { padding: 16px 18px; vertical-align: top; border-bottom: 1px solid #f0ede6; font-size: 14px; }
.cmp-table thead th { font-family: var(--serif); font-size: 20px; color: var(--navy); background: #faf8f3; }
.cmp-table thead th.col-live { color: var(--sage); }
.cmp-table tbody th { font-family: var(--serif); font-size: 18px; color: var(--navy); text-align: left; width: 18%; }
.cmp-table td:nth-child(2) { background: rgba(79, 124, 120, 0.05); width: 44%; }
.cmp-table td:nth-child(3) { color: #6b6b6b; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: none; }

/* honesty note + CTA */
.honest { max-width: 760px; margin: 56px auto 0; padding: 0 24px; text-align: center; }
.honest p { color: var(--charcoal); }
.cmp-cta { text-align: center; }
.cmp-cta .btn { margin: 6px 6px 0; }

@media (max-width: 900px) {
  .panes { grid-template-columns: 1fr; }
  .pane { min-height: 0; }
  .cmp-table tbody th { width: auto; }
}
@media (max-width: 540px) {
  #ask-form { flex-direction: column; }
  .cmp-table th, .cmp-table td { padding: 12px; font-size: 13px; }
  .cmp-table { min-width: 560px; }
}

/* The corner loader stays (the "Talk to us" links open it) but its invite
   callout would pop over the live pane — on this page the pane IS the invite. */
#polycarp-callout { display: none !important; }
