/* Layout fixes from the Oct 2026 visual QA. */

h1, h2, h3 { text-wrap: balance; }

/* Tagline and final lines: keep the last word from sitting alone at 390. */
body.site .htext > p.sub,
body.site .final p {
  text-wrap: balance;
}

/* Receipt total: keep the value on the card under 480px. */
@media (max-width: 480px) {
  .rrow.total {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 20px;
  }
  .rrow.total .val {
    font-size: 22px;
    white-space: normal;
  }
}

/* Orphaned card rows: last row centers instead of hugging the left. */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}
.cards > * {
  flex: 0 0 calc((100% - 72px) / 4);
  max-width: calc((100% - 72px) / 4);
  min-width: 0;
}
@media (max-width: 1100px) {
  .cards > * {
    flex-basis: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}
@media (max-width: 860px) {
  .cards > * { flex-basis: 100%; max-width: 100%; }
}
/* Five cards: 3 + 2, same width, short row centered. One across on a phone. */
@media (min-width: 861px) {
  .cards.balance > * {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
  }
}
/* Two remaining result cards fill the row instead of sitting at one-third width. */
.cards.pair > * {
  flex: 1 1 280px;
  max-width: calc((100% - 24px) / 2);
}
@media (max-width: 860px) {
  .cards.pair > * { flex-basis: 100%; max-width: 100%; }
}

/* State and city tiles: center a short last row. */
.tiles.tiles-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.tiles.tiles-center > .tile {
  flex: 1 1 220px;
  max-width: 280px;
}

/* Footer phone stays one unit. The line can use the column. */
.foot-brand .sm { max-width: none; }
.foot-brand .sm .tel,
.foot-brand .sm a[href^="tel:"] { white-space: nowrap; }

/* Quick Links is a long list. Two columns when the row is wide. */
@media (min-width: 1000px) {
  .foot-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    align-content: start;
  }
  .foot-links .foot-h { grid-column: 1 / -1; }
}

/* Comparison tables scroll inside the wrapper. The hint appears only when they overflow. */
.cmp-wrap, .cmp-scroll { max-width: 100%; }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-scroll::before { content: none; display: none; }
.cmp-scroll.can-swipe::before {
  content: "Swipe to compare →";
  display: block;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--slate-light, #64748b);
  margin: 0 0 16px;
  padding: 12px 0 8px 18px;
}
.cmp-scroll > table.cmp:not(.stack) { min-width: 680px; }

/* Other areas: gap instead of pipes that strand at the line edge. */
.also .links, section.also .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
}
.also .sep, section.also .links .sep { display: none; }

/* Trust strip dots dangle when the row wraps. */
.trust-strip > span:nth-child(even) { display: none; }
.trust-strip { gap: 8px 18px; }

/* Pricing hero trust items: stack the leftover chip. */
@media (max-width: 480px) {
  .page-hero .trust-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* Phone numbers stay one unit, including mid-paragraph. */
a[href^="tel:"], .tel { white-space: nowrap; }

/* State tiles: 21 states divide evenly in three columns. */
@media (min-width: 900px) {
  .tiles.tiles-states {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tiles.tiles-states > .tile { max-width: none; width: auto; flex: none; }
}

/* Light math sections were forcing cream links on a cream page. */
.math:not(#problem) a.text-cta { color: var(--ink, #1A1A1A) !important; }
#problem a.text-cta, .final a.text-cta, section.final a.text-cta { color: #FAF8F4 !important; }
.post-cta .btn-line {
  color: #FAF8F4 !important;
  border: 2px solid #FAF8F4 !important;
  background: rgba(250, 248, 244, .08);
}

/* Math fine print stays inside the card width. */
.math .fine, .qual-math + .fine {
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
}

/* Provider tables: readable columns on desktop, stacked cards on a phone. */
.cmp-wrap { max-width: 100%; }
@media (min-width: 861px) {
  .narrow .cmp-wrap {
    width: min(1080px, calc(100vw - 64px));
    margin-left: 50%;
    transform: translateX(-50%);
  }
  table.cmp.stack { width: 100%; table-layout: auto; }
  table.cmp.stack th, table.cmp.stack td { vertical-align: top; }
  table.cmp.stack th:nth-child(5),
  table.cmp.stack td:nth-child(5) { min-width: 168px; width: 22%; }
  table.cmp.stack td a { overflow-wrap: anywhere; }
}
@media (max-width: 860px) {
  table.cmp.stack { min-width: 0; width: 100%; }
  table.cmp.stack thead { display: none; }
  table.cmp.stack, table.cmp.stack tbody, table.cmp.stack tr, table.cmp.stack td { display: block; width: 100%; }
  table.cmp.stack tr {
    border: 1px solid var(--line, #e6e2da);
    border-radius: 12px;
    margin: 0 0 12px;
    padding: 12px 14px;
    background: var(--white, #fff);
    width: 100%;
    box-sizing: border-box;
  }
  table.cmp.stack td {
    border: 0;
    padding: 8px 0;
    display: block;
    width: 100%;
    text-align: left;
    white-space: normal;
    overflow: visible;
  }
  table.cmp.stack td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: var(--slate, #475569);
    font-size: 12px;
    margin-bottom: 2px;
  }
}

/* One-card groups line up with their heading. */
.group .cards:has(> :only-child) { justify-content: flex-start; }
.group .cards:has(> :only-child) > * {
  flex: 1 1 100%;
  max-width: min(100%, 440px);
}

/* A little room under the hero. The launcher hides if copy still sits in its corner. */
@media (max-width: 520px) {
  header.hero, header.page-hero, .hero {
    padding-bottom: 60px;
  }
}

/* Compact demo pill in the bottom-left. Chat stays bottom-right. */
.floating {
  left: 16px;
  right: auto;
  bottom: 20px;
  width: max-content;
  max-width: 200px;
  transform: translateY(140px);
}
.floating a { padding: 10px 14px; font-size: 13px; }
.floating.show { transform: translateY(0); }
.floating.is-clear,
.floating.is-clear.show { visibility: hidden; pointer-events: none; transform: translateY(140px); }

/* Glossary: a last odd term spans the row instead of sitting half-width. */
@media (min-width: 861px) {
  .term-grid > .term-card:last-child:nth-child(odd),
  .term-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* Footer wordmark keeps the space between the two words. */
footer .logo text, .foot-brand .logo text { letter-spacing: 0; }


/* Option A design system. Appended here so the site loads one render-blocking stylesheet.
   Scoped to body.site so demos and client microsites stay as they are.
   Homepage hero rules live in a later style block and are not retargeted here. */

body.site {
  --ds-ink: #1a1a1a;
  --ds-slate: #475569;
  --ds-paper: #ffffff;
  --ds-hero-0: #e6dfd4;
  --ds-hero-1: #f3eee6;
  --ds-line: rgba(26, 26, 26, .14);
  --ds-space-1: 8px;
  --ds-space-2: 16px;
  --ds-space-3: 28px;
  --ds-space-4: 48px;
  --ds-space-5: 88px;
  --ds-step--1: 13px;
  --ds-step-0: 17px;
  --ds-step-1: 20px;
  --ds-step-2: clamp(26px, 3vw, 34px);
  --ds-step-3: clamp(32px, 4vw, 48px);
  --ds-step-4: clamp(40px, 5.2vw, 68px);
  --ds-radius: 0px;
  --ds-shadow: none;
  --paper: #ffffff;
  background: var(--ds-paper);
  color: var(--ds-ink);
  font-weight: 400;
}

body.site h1 {
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--ds-ink);
}
body.site h2 { font-weight: 500; letter-spacing: -.02em; }
body.site h3 { font-weight: 600; letter-spacing: -.015em; }

body.site p,
body.site li,
body.site .sub,
body.site .lede,
body.site .card p,
body.site .card > p,
body.site .step p,
body.site .prose p,
body.site .prose li,
body.site .faq-a p,
body.site .faq-item p,
body.site .aeo p,
body.site .aeo li,
body.site .split p {
  color: var(--ds-ink);
}

body.site .eyebrow,
body.site .sec-tag,
body.site .cat-tag,
body.site .split .num {
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ds-slate);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: block;
  width: fit-content;
}

body.site .reveal,
body.site .d1,
body.site .d2,
body.site .d3 {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

body.site #navbar {
  background: #e6dfd4;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.site #navbar.scrolled {
  background: #faf8f4;
  border-bottom: 1px solid rgba(71, 85, 105, .2);
  box-shadow: 0 1px 0 rgba(26, 26, 26, .04), 0 10px 24px rgba(26, 26, 26, .06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.site .nav-links a { opacity: 1; color: var(--ds-ink); }
body.site .alt { background: #fff; }
body.site .sec-head,
body.site .sec-head.center { text-align: left; }
body.site .sec-head h2,
body.site .sec-head p { margin-left: 0; margin-right: 0; }
body.site .sec-head > p[style*="margin"] {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 62ch !important;
  text-align: left;
}
body.site .narrow { margin-left: 0; margin-right: auto; }
body.site .narrow[style*="text-align:center"],
body.site .sec-head[style*="text-align"] { text-align: left !important; }

/* Heroes. Homepage (body.home) keeps the phone composition in its own style block. */
body.site:not(.home) .page-hero,
body.site:not(.home) header.hero,
body.site .hero-loc,
body.site .faq-hero,
body.site .demo-hero,
body.site .roi-hero,
body.site .gloss-hero,
body.site .blog-hero,
body.site .lp-hero {
  text-align: left;
  background: linear-gradient(165deg, var(--ds-hero-0) 0%, var(--ds-hero-1) 48%, #fff 100%);
  border-bottom-color: transparent;
}
body.site .article-head,
body.site .art-hero,
body.site .doc-head {
  text-align: left;
  background: #fff;
}
body.site:not(.home) .page-hero h1,
body.site:not(.home) header.hero h1,
body.site .hero-loc h1,
body.site .faq-hero h1,
body.site .blog-hero h1,
body.site .demo-hero h1,
body.site .roi-hero h1,
body.site .gloss-hero h1,
body.site .doc-head h1,
body.site .article-head h1,
body.site .art-hero h1,
body.site .lp-hero h1,
body.site:not(.home) .page-hero .sub,
body.site:not(.home) header.hero .sub,
body.site .hero-loc .sub,
body.site .demo-hero .sub,
body.site .faq-hero .sub,
body.site .blog-hero .sub,
body.site:not(.home) .page-hero .fine {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
body.site:not(.home) .page-hero .btns,
body.site:not(.home) header.hero .btns,
body.site .hero-loc .btns,
body.site .faq-hero .btns,
body.site .demo-hero .btns,
body.site .blog-hero .btns,
body.site .lp-hero .btns {
  justify-content: flex-start;
}
body.site header.hero .narrow { max-width: 38em; }

/* Solid header so a crumb can never draw through the wordmark.
   Some templates set `nav { position: fixed }`, which also pins <nav class="crumb"> over the logo. */
body.site:not(.home) #navbar { background: #e6dfd4; }
body.site nav.crumb {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  z-index: auto;
  width: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
}
body.site:has(.art-hero) #navbar,
body.site:has(.article-head) #navbar,
body.site:has(.doc-head) #navbar { background: #fff; }

/* Clear the fixed bar. Inline padding-top:54px was shorter than the nav. */
body.site:not(.home) header.hero,
body.site:not(.home) header.page-hero,
body.site .lp-hero,
body.site .hero-loc,
body.site .faq-hero,
body.site .blog-hero,
body.site .demo-hero,
body.site .roi-hero,
body.site .gloss-hero,
body.site .doc-head,
body.site .article-head,
body.site header[style*="padding-top"] {
  padding-top: 132px !important;
  overflow: visible;
}
body.site > .wrap[style*="padding-top"] {
  padding-top: 132px !important;
}
body.site header .wrap[style*="padding-top"] { padding-top: 0 !important; }
/* A crumb that still sits above the hero already cleared the bar. Don't open a second hole. */
body.site > .wrap[style*="padding-top"] + header.hero,
body.site > .wrap[style*="padding-top"] + header.page-hero,
body.site > .wrap[style*="padding-top"] + header.lp-hero,
body.site > .wrap[style*="padding-top"] + header.hero-loc {
  padding-top: 28px !important;
}
@media (max-width: 860px) {
  body.site:not(.home) header.hero,
  body.site:not(.home) header.page-hero,
  body.site .lp-hero,
  body.site .hero-loc,
  body.site .faq-hero,
  body.site .blog-hero,
  body.site .demo-hero,
  body.site .roi-hero,
  body.site .gloss-hero,
  body.site .doc-head,
  body.site .article-head,
  body.site header[style*="padding-top"],
  body.site > .wrap[style*="padding-top"] {
    padding-top: 108px !important;
  }
}

/* The outline trade icon read as clip art. The phone replaces it. */
body.site .hero-art { display: none !important; }

/* Pain line shares the headline's left edge and follows the H1. */
body.site .situation,
body.site .page-hero .answer,
body.site header.hero .answer,
body.site .page-hero .htext .sub,
body.site header.hero .htext .sub,
body.site .lp-hero .sub,
body.site .lp-hero .fine,
body.site .page-hero .htext .fine,
body.site header.hero .htext .fine {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
  max-width: 36em;
}
body.site .htext > .crumb,
body.site .narrow > .crumb,
body.site .hero-loc .crumb,
body.site header.hero .crumb,
body.site .page-hero .crumb { margin-bottom: 18px; }
body.site:not(.home) .lp-hero .btns { justify-content: flex-start; }

/* Blog: crumb clears the bar, then the label follows without a hole. */
body.site .art-hero { padding-top: 20px !important; }
body.site .article-head .crumb,
body.site .art-hero .crumb,
body.site > .wrap > .crumb { margin-bottom: 18px; }
body.site .article-head .lede,
body.site .art-hero .lede { color: var(--ds-ink); font-size: 19px; }
body.site .art-hero .inner,
body.site .article .prose,
body.site .prose {
  margin-left: 0;
  margin-right: auto;
}
@media (min-width: 861px) {
  body.site .article-head .col,
  body.site .article-body .prose {
    margin-left: max(0px, calc((100vw - 1260px) / 2));
    padding-left: 48px;
    padding-right: 48px;
  }
}
body.site .prose p,
body.site .prose li { font-size: 17.5px; line-height: 1.65; }

/* Byline: flex row, left-aligned. The dot trails an item so a wrapped line never starts with it. */
body.site .byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  column-gap: 0;
  row-gap: 4px;
  text-align: left;
}
body.site .byline .bar,
body.site .byline .dot,
body.site .byline .sep,
body.site .byline .pipe { display: none; }
body.site .byline > :not(.bar):not(.dot):not(.sep):not(.pipe) {
  max-width: 100%;
  white-space: nowrap;
}
body.site .byline > :not(.bar):not(.dot):not(.sep):not(.pipe):not(:last-child)::after {
  content: "·";
  margin-inline: .45em;
  color: #475569;
  font-weight: 400;
}

/* Demo: same left stage as the homepage, Chloe stays the slate button. */
body.site .demo-hero .call-chloe { margin-left: 0; margin-right: auto; text-align: left; }
body.site .demo-hero .call-chloe p { margin-left: 0; color: var(--ds-ink); }
body.site .live-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ds-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 16px;
  white-space: normal;
  text-align: left;
  max-width: 36em;
  line-height: 1.4;
}
body.site .live-badge i { animation: none; background: var(--ds-slate); }
body.site .dlist { display: flex; }
body.site .dlist .li { color: var(--ds-ink); }

/* Cards stop being one lifted 3-up. Stats keep a row, uneven. */
body.site .cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
}
body.site .cards > * {
  flex: 1 1 auto;
  max-width: none;
  width: 100%;
}
body.site .card,
body.site .quote {
  background: transparent;
  border: 0;
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow);
  border-top: 1px solid var(--ds-line);
  padding: 26px 0;
}
body.site .card:hover,
body.site .quote:hover,
body.site .card:hover .ic {
  transform: none;
  box-shadow: none;
}
body.site .cards:has(> .stat-card) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 22px;
  width: 100%;
  border-top: 0;
  padding-top: 0;
}
body.site .stat-card {
  text-align: left;
  border-top: 0;
  padding: 20px 0 8px;
}
body.site .cards:not(.stat-row) > .stat-card {
  padding: 24px;
  border: 1px solid rgba(71, 85, 105, .16);
  border-radius: 14px;
  background: #fff;
  box-sizing: border-box;
  min-width: 0;
}
/* A row with any non-numeric card is a set of headlines, not display numerals. */
body.site .cards.heads {
  align-items: stretch;
}
body.site .cards.heads > .stat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
body.site .cards.heads > .stat-card > h3 {
  font-family: Manrope, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ds-ink);
  margin: 0 0 10px;
  font-variant-numeric: normal;
}
body.site .stat-card .stat { color: var(--ds-ink); }
body.site .card .ic {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  margin-bottom: 12px;
}
body.site .card .ic svg { stroke: var(--ds-ink); }
body.site .svc {
  display: flex;
  flex-direction: column;
  gap: 0;
}
body.site .steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 40em;
}
body.site .step {
  border-top: 0;
  border-left: 1px solid var(--ds-line);
  padding: 0 0 28px 20px;
}
body.site .step .n {
  background: transparent;
  color: var(--ds-slate);
  border-radius: 0;
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
  font-weight: 600;
}
body.site .price-card,
body.site .callout,
body.site .ask {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ds-line);
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}
body.site .price-card > p,
body.site .ask p,
body.site .callout p { margin-left: 0; margin-right: 0; }
body.site .price-grid .pi { background: #fff; border-radius: 0; }

@media (min-width: 900px) {
  body.site .about-grid,
  body.site .grid2,
  body.site .two-col,
  body.site .compare-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .72fr) !important;
  }
  body.site .quotes { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); }
}
@media (max-width: 480px) {
  body.site .cards:has(> .stat-card) { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body.site:not(.home) .page-hero .btns,
  body.site:not(.home) header.hero .btns,
  body.site .demo-hero .btns,
  body.site .faq-hero .btns {
    flex-direction: column;
    align-items: stretch;
  }
  body.site:not(.home) .page-hero .btns .btn,
  body.site:not(.home) header.hero .btns .btn,
  body.site .demo-hero .call-chloe .btn,
  body.site .demo-hero .btns .btn,
  body.site .demo-hero .btns .btn-outline {
    display: block;
    width: 100%;
    text-align: center;
  }
}
@media (min-width: 861px) {
  body.site .demo-hero .call-chloe .btn,
  body.site .demo-hero .btns .btn,
  body.site .demo-hero .btns .btn-outline {
    display: inline-block;
    width: auto;
  }
}

/* Dark bands keep light type. */
body.site .final { text-align: left; background: #334155; }
body.site .final h2 { color: #f7f4ef; margin-left: 0; margin-right: 0; }
body.site .final p,
body.site .final .fine { color: rgba(247, 244, 239, .92); margin-left: 0; }
/* Final headings are left. Buttons and the small line share that edge. */
body.site .btns,
body.site .cta-row {
  align-items: center;
}
body.site .final .btns {
  justify-content: flex-start;
  align-items: center;
}
body.site .final .fine {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}
body.site .btn-ghost,
body.site .btns .text-cta,
body.site .cta-row .text-cta {
  width: fit-content;
  max-width: 100%;
  align-self: center;
}
@media (max-width: 860px) {
  body.site .btns,
  body.site .cta-row,
  body.site .final .btns {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
  }
  body.site .btns > .btn,
  body.site .btns > .btn-outline,
  body.site .cta-row > .btn,
  body.site .cta-row > .btn-outline,
  body.site .final .btns > .btn,
  body.site .final .btns > .btn-outline {
    width: 100%;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  body.site .btn-ghost,
  body.site .btns .text-cta,
  body.site .cta-row .text-cta,
  body.site .final .btns > .btn-ghost {
    width: fit-content;
    align-self: flex-start;
  }
}
body.site [id] {
  scroll-margin-top: 88px;
}
@media (max-width: 860px) {
  body.site [id] { scroll-margin-top: 80px; }
  body.site footer { padding-bottom: 108px; }
}
body.site:not(.home) header.hero .fine {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}
body.site:not(.home) .page-hero .trust-row {
  justify-content: flex-start;
}
body.site .receipt .rhead {
  padding: 16px 32px;
  border-bottom: 1px solid var(--line, #e7e5e4);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink, #1a1a1a);
  background: var(--paper, #f7f4ef);
}
body.site .eyebrow,
body.site .sec-tag,
body.site .cat-tag { color: #3f4c5e; }
body.site .final .btn { background: #f7f4ef; color: #1a1a1a; }
body.site .final a.text-cta { color: #f7f4ef; }
body.site .final .eyebrow { color: #f7f4ef; }
/* Cream type only on the dark home band. Other .math sections are light. */
body.site #problem.math .eyebrow,
body.site #problem.math .sec-head h2,
body.site #problem.math h2,
body.site #problem.math .fine,
body.site #problem.math .fine a,
body.site #problem.math .btn-outline { color: #f7f4ef; }
body.site #problem.math .btn { background: #f7f4ef; color: #1a1a1a; }
body.site .math:not(#problem) .eyebrow { color: #475569; }
body.site .math:not(#problem) .sec-head h2,
body.site .math:not(#problem) h2,
body.site .math:not(#problem) .fine,
body.site .math:not(#problem) .fine a { color: #1a1a1a; }
body.site #problem .card {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, .12);
  border-radius: 14px;
  padding: 28px 24px;
}
body.site #problem .card h3,
body.site #problem .card p { color: #1a1a1a; }
body.site .crumb .sep { color: #5c534c; }
body.site .rrow.total .lab { color: rgba(247, 244, 239, .9); }
body.site .rrow.total .val { color: #fff; }
body.site .btn { color: #f7f4ef; min-height: 48px; }
/* Cream buttons and light secondary buttons keep ink. Dark callout bands keep cream type. */
body.site .btn.alt { color: #475569; background: #fff; }
body.site .post-cta p,
body.site .art-cta p,
body.site .art-cta .fine,
body.site .art-cta .fine a,
body.site .post-cta .fine,
body.site .post-cta .fine a,
body.site .compare-card.eng li,
body.site .compare-card.eng li strong { color: #f7f4ef; }
body.site .post-cta .btn,
body.site .art-cta .btn { background: #f7f4ef; color: #1a1a1a; }
body.site .split > div.leak p,
body.site .split > div.leak h3,
body.site .split > div.leak .flag { color: #f7f4ef; }
body.site .hd-bub.out { color: #f7f4ef; }

/* Hero headline and sub paint with the first frame. The phone animation stays on .desk. */
body.site:not(.home) .page-hero h1,
body.site:not(.home) header.page-hero h1,
body.site:not(.home) .page-hero p.sub,
body.site:not(.home) header.page-hero p.sub {
  animation: none !important;
  opacity: 1 !important;
  transition: none !important;
  transform: none !important;
  visibility: visible !important;
}

/* Option A phone. Same resting state as the homepage. Copy comes from data-t. */
body.site:not(.home) .stage {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(240px, .78fr);
  grid-template-areas: "copy phone";
  column-gap: 28px;
  align-items: start;
}
body.site:not(.home) .htext { grid-area: copy; min-width: 0; text-align: left; }
body.site:not(.home) .stage > .desk {
  grid-area: phone;
  justify-self: end;
  align-self: start;
  width: min(292px, 100%);
  margin: 8px 0 0;
  position: relative;
  z-index: 2;
}
.desk .hd { background: #fff; border: 1px solid rgba(71,85,105,.28); border-radius: 36px; padding: 10px 10px 12px; box-shadow: 0 26px 40px -22px rgba(26,26,26,.45); }
.desk .hd-bar { height: 16px; display: flex; align-items: center; justify-content: center; }
.desk .hd-bar span { width: 64px; height: 7px; border-radius: 8px; background: rgba(71,85,105,.18); }
.desk .hd-screen { position: relative; background: #faf8f4; border-radius: 26px; overflow: hidden; }
.desk .hd p { margin: 0; max-width: none; }
.desk [data-t]::before { content: attr(data-t); }
.desk .hd-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 16px; background: #faf8f4; animation: hd-in 2.1s ease forwards; }
.desk .hd-ring { width: 56px; height: 56px; border-radius: 50%; background: #475569; color: #faf8f4; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.desk .hd-ring svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.desk .ic-chat { display: none; }
.desk[data-kind="chat"] .ic-call { display: none; }
.desk[data-kind="chat"] .ic-chat { display: block; }
.desk .hd-label { font-size: 13px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }
.desk .hd-who { font-size: 24px; font-weight: 500; color: #1a1a1a; letter-spacing: -.03em; line-height: 1.1; margin-top: 4px; }
.desk .hd-sub { font-size: 13px; color: #1a1a1a; margin-top: 4px; line-height: 1.3; }
.desk .hd-thread { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 12px; opacity: 0; animation: hd-th .35s ease 1.35s forwards; }
.desk .hd-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: #1a1a1a; line-height: 1.3; }
.desk .hd-top span { font-size: 12px; font-weight: 600; }
.desk .hd-bub { max-width: 92%; margin: 0; padding: 9px 11px; font-size: 13.5px; line-height: 1.35; border-radius: 16px; opacity: 0; }
.desk .hd-bub.in { align-self: flex-start; background: #fff; border: 1px solid #e4ded3; color: #1a1a1a; border-bottom-left-radius: 5px; animation: hd-pop .3s ease 1.5s forwards; }
.desk .hd-bub.out { align-self: flex-end; background: #475569; color: #faf8f4; border-bottom-right-radius: 5px; animation: hd-pop .3s ease 1.75s forwards; }
.desk .hd-bub.late { animation-delay: 2s; }
.desk .hd-card { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #e4ded3; border-radius: 14px; padding: 10px; opacity: 0; animation: hd-pop .3s ease 2.25s forwards; }
.desk .hd-card i { width: 26px; height: 26px; border-radius: 50%; background: #475569; color: #faf8f4; display: flex; align-items: center; justify-content: center; flex: none; animation: hd-beat 2.8s ease 3s infinite; }
.desk .hd-card svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.desk .hd-card b { display: block; font-size: 13px; color: #1a1a1a; }
.desk .hd-card span { font-size: 12px; color: #1a1a1a; }
/* A call mockup reads as a transcript, not a text thread. */
.desk .hd-say { margin: 0; max-width: none; text-align: left; opacity: 0; animation: hd-pop .3s ease 1.5s forwards; }
.desk .hd-say.out { animation-delay: 1.75s; }
.desk .hd-say.late { animation-delay: 2s; }
.desk .hd-say b { display: block; font-size: 12px; font-weight: 600; color: #3f4c5e; margin: 0 0 2px; }
.desk .hd-say span { display: block; font-size: 13.5px; line-height: 1.35; color: #1a1a1a; font-weight: 500; }
@keyframes hd-in { 0% { opacity: 0; } 14%, 58% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes hd-th { to { opacity: 1; } }
@keyframes hd-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes hd-beat { 0%, 100% { transform: none; } 50% { transform: scale(1.06); } }
@media (max-width: 860px) {
  body.site:not(.home) .stage { grid-template-columns: 1fr; grid-template-areas: "copy" "phone"; }
  body.site:not(.home) .stage > .desk { justify-self: center; width: min(280px, 100%); margin: 22px auto 0; }
}

body.site a:focus-visible,
body.site button:focus-visible,
body.site .btn:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
}
.cmp-scroll:focus,
.cmp-scroll:focus-visible,
.stk-hscroll:focus,
.stk-hscroll:focus-visible,
.table-scroll:focus,
.table-scroll:focus-visible,
.table-wrap:focus,
.table-wrap:focus-visible,
.compare-scroll:focus,
.compare-scroll:focus-visible,
.dtable-wrap:focus,
.dtable-wrap:focus-visible,
.cmp-wrap:focus,
.cmp-wrap:focus-visible {
  outline: 2px solid #475569;
  outline-offset: -2px;
}

/* Open menu covers the chat host. The loader script is unchanged. */
body.site .mobile-menu.open {
  z-index: 2147483000;
  background: #fff;
}
body.site:has(.mobile-menu.open) chat-widget {
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
  body.site *,
  body.site *::before,
  body.site *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .desk .hd-in { display: none !important; }
  .desk .hd-thread,
  .desk .hd-bub,
  .desk .hd-say,
  .desk .hd-card { opacity: 1 !important; transform: none !important; animation: none !important; }
  .desk .hd-card i { animation: none !important; }
}
