.bubble.error {
  align-self: stretch;
  color: var(--accent-deep);
  border: 1px solid var(--accent);
  background: #e4eefb;
}

/* Focus lands here after a failure, and a programmatic focus gets no ring by
   default — a sighted keyboard user needs to see where they were just moved. */
.bubble.error:focus {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}

/* Something that HAPPENED mid-conversation (a visit booked, a copy emailed) as
   opposed to something that was said. Deliberately not shaped like a bubble. */
.chat-marker {
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  padding: 7px 10px;
  border-radius: 4px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: #fff;
  font-size: 13px;
  color: var(--ink-soft);
}

.chat-marker strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.chat-marker.booked {
  border-left-color: var(--lamp);
}

.demo-input {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.demo-input input {
  flex: 1;
  /* A flex child will not shrink below its intrinsic width unless told to, and an
     <input> carries a 20-character one. Without this the Send button hangs off the
     right edge of the card on a 360px phone. */
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 11px;
  font: inherit;
}

.demo-end {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-top: 1px dashed var(--line);
  color: var(--steel);
  padding: 12px;
  cursor: pointer;
}

.demo-end:hover {
  color: var(--accent-deep);
}

/* the filed ticket */
.demo-ticket {
  margin: 0 16px 12px;
  border: 1px solid var(--lamp);
  background: #e4f1e9;
  border-radius: 6px;
  padding: 12px 14px;
}

/* Nothing was filed: same panel, but it must not wear the green "done" colours of
   a ticket that reached the owner. */
.demo-ticket.empty {
  background: var(--card);
  border-color: var(--line);
}

/* Focus is moved here the moment the ticket appears; show that it landed. */
.demo-ticket:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.demo-ticket .ticket-head {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lamp-text);
  margin: 0 0 8px;
}

.demo-ticket.empty .ticket-head {
  color: var(--ink);
}

.demo-ticket dl {
  display: grid;
  /* minmax(0,…) so a long address or email wraps inside the card instead of
     stretching the grid and pushing the chat sideways on a phone. */
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 3px 12px;
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
}

.demo-ticket dt {
  color: var(--ink-soft);
}

.demo-ticket dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* "not captured" is information, not decoration: it reads out loud, where the old
   em dash was silent, and it is muted so the details Axis DID get stand out. */
.demo-ticket dd.missing {
  color: var(--muted);
  font-style: italic;
}

.demo-ticket .ticket-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* Labels above values on a narrow phone — a 92px column plus a mono value is a
   two-word-per-line ticket on a 320px screen. */
@media (max-width: 460px) {
  .demo-ticket dl {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .demo-ticket dd {
    margin-bottom: 6px;
  }
}

.btn.secondary-cta {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  font-size: 19px;
  padding: 12px 26px;
}

.btn.secondary-cta:hover {
  background: var(--steel-tint);
}

/* signup */
.signup-band {
  background: var(--ink);
  color: #e8ecec;
}

.signup-band .eyebrow {
  color: var(--accent-lift);
}

.signup-band h2 {
  color: #fff;
}

.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

/**
 * This band never collapsed, and it holds the callback FORM.
 *
 * Every other grid on the page has a stacked breakpoint — `.hero-grid`, `.signup-page`,
 * `.three`, `.steps`, `.industries` — and this one was missed, so it stayed two columns
 * at every width. At 390px that left the copy column 144px wide and the form 165px: the
 * placeholders truncated mid-word ("Summit Fenc", "(555) 201-44", "you@compa"), the
 * textarea clipped its own hint, and the submit button wrapped to four lines reading
 * "HAVE / NATHAN / CALL / ME". It does not overflow the page — the columns just crush —
 * which is why it never announced itself. This is the lead-capture form for people who
 * want a human before they buy, on the device most of them are holding.
 *
 * `minmax(0, 1fr)` above for the reason documented on `.hero-grid`: a grid child defaults
 * to `min-width: auto` and refuses to shrink below its widest unbreakable content, which
 * is how a long placeholder or an un-wrapped phone number starts pushing the page sideways.
 */
@media (max-width: 900px) {
  .signup-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

.signup-copy p {
  color: #b9c4c8;
  max-width: 44ch;
}

/**
 * `--accent-lift`, not `--accent` — this sits on the dark band.
 *
 * Measured 2.99:1 for the sentence and 2.37:1 for the link against `--ink`, both below
 * the 4.5:1 AA floor for text this size, on the one link that starts a PURCHASE. This is
 * the exact trap the token comment in shared/codesavant.css and CLAUDE.md both name:
 * `--accent` is a FILL that carries white text, `--accent-deep` is for text on light
 * surfaces, and `--accent-lift` is the only one legible on the dark bands. The sibling
 * `.signup-band .eyebrow` already got this right.
 *
 * Size raised 13→15px for the same reason: it is a money CTA on a page whose audience
 * reads it one-handed on a phone.
 */
.signup-note {
  font-size: 15px;
  color: var(--accent-lift);
}

.signup-note a {
  color: var(--accent-lift);
  text-decoration: underline;
  text-underline-offset: 3px;
  /* Was a 17px-tall inline link — under the 44px touch minimum. */
  display: inline-block;
  padding: 12px 2px;
}

.signup-form {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
}

.flabel {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 4px;
}

.flabel em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.signup-form input,
.signup-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 11px;
  font: inherit;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-status {
  margin: 0;
  font-size: 14px;
  min-height: 1.4em;
}

.signup-status.ok {
  color: var(--lamp-text);
  font-weight: 600;
}

.signup-status.bad {
  color: var(--accent-deep);
}

/* post-demo hook */
.demo-hook {
  margin: 0 16px 14px;
  text-align: center;
}

.demo-hook a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* bands */
.band {
  padding: 56px 0;
}

.band.alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 24px;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
} .three.four { grid-template-columns: repeat(2, 1fr); } /* the 'what Axis does' four, two by two */

.slab {
  padding: 20px;
}

.slab h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.slab p {
  margin: 0;
  color: var(--ink-soft);
}

/* steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  position: relative;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 10px;
}

.steps h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

/* roster badges */
.badge-card {
  padding: 20px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
}

.badge-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
}

.badge-card p {
  margin: 4px 0 10px;
  color: var(--ink-soft);
}

.badge-status {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: auto;
}

.badge-status.available {
  color: var(--lamp-text);
}

/* pricing — replaced the old price-free "closing" band. The number is the point
   of this section, so it is the largest thing in it. */
.pricing {
  max-width: 780px;
  text-align: center;
}

.pricing-lede {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 auto 28px;
  max-width: 620px;
}

