/* Link to the AI public site. Follows docs/DESIGN.md:
   dark hero and footer, white body sections, Signal Green accent, 2px radius, Inter. */
:root {
  --primary: #76b900;
  --primary-dark: #5a8d00;
  --ink: #000000;
  --body: #1a1a1a;
  --mute: #757575;
  --canvas: #ffffff;
  --soft: #f7f7f7;
  --dark: #000000;
  --elevated: #1a1a1a;
  --on-dark: #ffffff;
  --on-dark-mute: rgba(255, 255, 255, 0.7);
  --hairline: #cccccc;
  --hairline-strong: #5e5e5e;
  --link: #0046a4;
  --error: #e52020;
  --radius: 2px;
  --font: "Inter", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 400 16px/1.5 var(--font); color: var(--body); background: var(--canvas); }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.wrap { width: min(1280px, 100% - 48px); margin: 0 auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--dark); color: var(--on-dark); box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: nowrap; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; font: 700 18px/1.25 var(--font); }
.brand img { height: 34px; width: 34px; display: block; }
.nav ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav ul a { color: var(--on-dark); text-decoration: none; font-weight: 700; padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav ul a:hover { color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 24px; background: var(--primary); color: #000; border: 2px solid var(--primary); border-radius: var(--radius); font: 700 16px/1.25 var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #000; }
.btn.outline { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn.outline:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--on-dark); color: var(--on-dark); }
.btn.lg { font-size: 18px; padding: 14px 28px; }
.nav .btn { min-height: 40px; padding: 8px 18px; font-size: 15px; color: #000; }
.nav .btn:hover { color: #000; }
.nav .btn.nav-book { min-height: 36px; padding: 6px 14px; font-size: 15px; font-weight: 700; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.72); border-radius: 8px; }
.nav .btn.nav-book:hover { color: #fff; background: rgba(255,255,255,.12); border-color: #fff; }

/* Sections */
section { padding: 64px 0; }
.eyebrow { font: 700 14px/1.43 var(--font); text-transform: uppercase; letter-spacing: 0.04em; color: var(--primary-dark); margin: 0 0 8px; }
h1 { font: 700 48px/1.25 var(--font); margin: 0 0 16px; }
h2 { font: 700 36px/1.25 var(--font); margin: 0 0 12px; color: var(--ink); }
h3 { font: 700 20px/1.25 var(--font); margin: 0 0 8px; color: var(--ink); }
.lead { font-size: 20px; line-height: 1.6; max-width: 62ch; margin: 0; }

.hero { background: var(--dark); color: var(--on-dark); padding: 96px 0 88px; position: relative; }
.hero::after { content: ""; position: absolute; left: max(24px, calc((100% - 1280px) / 2 + 24px)); bottom: 0; width: 12px; height: 12px; background: var(--primary); }
.hero h1 { color: var(--on-dark); max-width: 18ch; }
.hero .lead { color: var(--on-dark-mute); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: block; font: 700 36px/1.25 var(--font); color: var(--primary-dark); margin-bottom: 8px; }
.steps p, .card p { margin: 0; color: var(--body); }

.alt { background: var(--soft); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.card { position: relative; background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 32px 24px 24px; }
.card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px; background: var(--primary); }

.split { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.split p { max-width: 62ch; }
.fact { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; background: var(--canvas); }
.fact strong { display: block; font: 700 36px/1.25 var(--font); color: var(--primary-dark); }

.cta { background: var(--dark); color: var(--on-dark); }
.cta h2 { color: var(--on-dark); }
.cta p { color: var(--on-dark-mute); max-width: 60ch; margin: 0 0 24px; }
.cta a.mail { color: var(--primary); font-weight: 700; }

footer { background: var(--dark); color: var(--on-dark-mute); padding: 32px 0; border-top: 1px solid var(--hairline-strong); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Admin login page */
.login { max-width: 420px; margin: 64px auto; position: relative; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 32px; }
.login::before { content: ""; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px; background: var(--primary); }
.login h1 { font-size: 24px; margin-bottom: 4px; }
.login p { color: var(--mute); margin: 0 0 16px; font-size: 15px; }
.login label { display: block; font-weight: 700; font-size: 14px; margin: 16px 0 6px; }
.login input { width: 100%; height: 44px; padding: 12px 16px; border: 1px solid var(--hairline); border-radius: var(--radius); font: inherit; }
.login input:focus { outline: none; border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.login button { width: 100%; margin-top: 24px; }
.login .err { color: var(--error); font-size: 14px; margin-top: 12px; min-height: 20px; }

@media (max-width: 1024px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .hero { padding: 64px 0 56px; }
  .nav ul li:not(:last-child) { display: none; }
  .steps, .grid, .split { grid-template-columns: 1fr; }
  .split { gap: 24px; }
}


/* Homepage additions: hero sample chat, three-column benefits, pricing, FAQ */
.hero-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; }
.hero-note { color: var(--on-dark-mute); font-size: 15px; margin: 16px 0 0; }
.sample { margin: 0; background: var(--elevated); border: 1px solid var(--hairline-strong); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.sample figcaption { font-size: 13px; color: var(--on-dark-mute); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }
.sample .msg { margin: 0; padding: 10px 14px; border-radius: var(--radius); max-width: 88%; font-size: 15px; line-height: 1.45; }
.sample .them { align-self: flex-end; background: #2b2b2b; color: var(--on-dark); }
.sample .bot { align-self: flex-start; background: var(--canvas); color: var(--body); border-left: 4px solid var(--primary); }
.sample-alert { margin: 6px 0 0; font-size: 13px; color: var(--primary); font-weight: 700; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.also { margin-top: 24px; }
.also p { margin: 0; color: var(--body); }
.price-card { position: relative; max-width: 460px; margin-top: 32px; background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 32px; }
.price-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px; background: var(--primary); }
.price-tag { margin: 0; font-weight: 700; color: var(--primary-dark); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.price { margin: 8px 0 16px; font-size: 18px; }
.price span { font: 700 48px/1.1 var(--font); color: var(--ink); }
.price-card ul { margin: 0 0 24px; padding-left: 20px; }
.price-card li { margin: 6px 0; }
.price-note { margin: 12px 0 0; font-size: 14px; color: var(--mute); }
.faq { margin-top: 24px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--hairline); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; color: var(--ink); }
.faq details p { margin: 10px 0 0; max-width: 70ch; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; } .grid.three { grid-template-columns: 1fr; } }

.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.try-list { padding-left: 20px; margin: 0 0 24px; }
.try-list li { margin: 6px 0; font-weight: 700; color: var(--ink); }
.sample { background: var(--ink); }
.who { margin: 24px 0 0; }
.about-text { max-width: 70ch; }
.url-form { display: flex; gap: 12px; max-width: 560px; margin: 24px 0 8px; }
.url-form input { flex: 1; min-width: 0; padding: 14px 16px; font: 16px var(--font); border: 1px solid var(--hairline-strong); border-radius: var(--radius); }
.form-note { font-size: 14px; color: var(--on-dark-mute); margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 1024px) { .demo-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .url-form { flex-direction: column; } }
.sub { color: var(--mute); margin: -8px 0 0; font-size: 18px; }
.demo-card { margin-top: 24px; background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
.demo-card-title { margin: 0 0 16px; font-weight: 700; color: var(--ink); }
.demo-card-title span { font-weight: 400; color: var(--mute); }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ask-chips button { background: transparent; color: var(--primary-dark); border: 1px solid var(--primary); border-radius: 999px; padding: 8px 14px; font: 600 14px var(--font); cursor: pointer; }
.ask-chips button:hover { background: var(--primary); color: var(--ink); }
.demo-off { margin: 0; font-size: 14px; color: var(--mute); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.price-card { margin-left: auto; margin-right: auto; }
#pricing .wrap > .eyebrow, #pricing .wrap > h2, #pricing .wrap > .sub { text-align: center; }
.faq { margin-left: auto; margin-right: auto; }
#faq .wrap > .eyebrow, #faq .wrap > h2 { text-align: center; }
.faq details { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; background: var(--canvas); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary-dark); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
@media (max-width: 768px) { .grid.two { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }

/* Design system fixes (docs/DESIGN.md): 2px radius everywhere, pill-tab chips, feature-card icons, text-input */
.sub { font: 400 22px/1.75 var(--font); color: var(--body); margin: 0 0 8px; max-width: 62ch; }
.card .icon { display: block; width: 24px; height: 24px; color: var(--primary); margin-bottom: 16px; }
.ask-chips { gap: 8px; }
.ask-chips button { min-height: 44px; padding: 10px 18px; background: transparent; color: var(--ink); border: 2px solid var(--primary); border-radius: var(--radius); font: 700 14.4px/1 var(--font); letter-spacing: 0.144px; text-align: left; cursor: pointer; }
.ask-chips button:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.url-form input { min-height: 44px; padding: 12px 16px; background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--radius); font: 400 16px/1.5 var(--font); }
.url-form input:focus { outline: none; border: 2px solid var(--primary); padding: 11px 15px; }
.sample .bot { border-left: 0; }
.sample-alert { font: 700 14px/1.43 var(--font); }

/* About section */
.about { padding: 96px 24px; background: #f7f7f5; }
.about-inner { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.about-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; box-shadow: 0 12px 32px rgba(0,0,0,.12); position: sticky; top: 96px; }
.about-text { max-width: 640px; }
.about-text .about-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #4a7a00; margin: 0 0 8px; }
.about-title { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; font-weight: 800; color: #111; margin: 0 0 24px; }
.about-text p { font-size: 18px; line-height: 1.7; color: #3a3a3a; margin: 0 0 20px; }
.about-quote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 4px solid #76b900; font-size: 24px; line-height: 1.4; font-weight: 600; color: #111; text-wrap: balance; }
.about-quote cite { display: block; margin-top: 10px; font-size: 15px; font-style: normal; font-weight: 500; color: #666; }
.about-cta { display: inline-block; margin-top: 12px; padding: 14px 26px; background: #76b900; color: #fff; font-weight: 700; border-radius: 10px; text-decoration: none; transition: background .2s, transform .2s; }
.about-cta:hover { background: #5f9600; transform: translateY(-1px); }
@media (max-width: 760px) {
  .about { padding: 64px 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 220px; aspect-ratio: 1; border-radius: 50%; position: static; }
}

/* ===== Link to the AI: layout fixes (corner squares kept per docs/DESIGN.md) ===== */

/* 1. Unified content width (nav, sections, footer, About all share one column) */
:root { --content: 1120px; }
.wrap { width: min(var(--content), 100% - 48px); }
.about { padding-left: 24px; padding-right: 24px; }
.about-inner { max-width: var(--content); grid-template-columns: 220px 1fr; gap: 48px; }
.about-photo { top: 88px; }

/* 2. Hero: 2-column grid (uses the existing .hero-grid class)  */
.hero .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero::after { left: max(24px, calc((100% - var(--content)) / 2)); }
.hero .sample { background: var(--elevated); border-color: var(--hairline-strong); }
.hero .sample .them { background: #333; }

/* Demo section is now single column, since the example chat moved to the hero */

/* Step-number badges */
.steps li::before {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #000;
  display: grid; place-items: center;
  font: 700 18px/1 var(--font); margin-bottom: 16px;
}
.steps li { background: var(--canvas); }
.steps p { font-size: 16px; }

/* 4. Pricing: centered subtitle, wider card, full-width button, checkmarks */
#pricing .wrap > .sub { margin-left: auto; margin-right: auto; }
.price-card { max-width: 460px; }
.price-card .btn { width: 100%; }
.price-card ul { list-style: none; padding-left: 0; }
.price-card li { position: relative; padding-left: 28px; }
.price-card li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--primary-dark); font-weight: 700; }

/* 5. Footer: room for the chat bubble + layout for new links */
footer { padding-bottom: clamp(4.5rem, 8vw, 6.5rem); }
footer a { color: var(--on-dark); }
footer a:hover { color: var(--primary); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Mobile menu (<details class="m-menu">), hidden on desktop */
.m-menu { display: none; position: relative; }
.m-menu summary { list-style: none; cursor: pointer; color: var(--on-dark); font-weight: 700; padding: 8px 12px; border: 1px solid var(--hairline-strong); border-radius: var(--radius); }
.m-menu summary::-webkit-details-marker { display: none; }
.m-menu[open] summary { border-color: var(--primary); color: var(--primary); }
.m-menu nav { display: none; position: absolute; right: 0; top: calc(100% + .5rem); min-width: min(15rem, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); background: var(--dark); border: 1px solid var(--hairline-strong); padding: .5rem 0; }
.m-menu[open] nav { display: flex; flex-direction: column; }
.m-menu nav a { color: var(--on-dark); text-decoration: none; font-weight: 700; padding: 12px 20px; white-space: nowrap; }
.m-menu nav a:hover { color: var(--primary); }

@media (max-width: 1040px) and (min-width: 769px) {
  .nav ul { gap: 12px; }
  .nav ul a { font-size: 14px; }
}
@media (max-width: 1024px) {
  .hero .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .m-menu { display: block; }
  .nav .wrap { gap: 10px; }
  .nav ul { margin-left: auto; }
  .hero .actions .btn { flex: 1 1 100%; }
  /* Mobile demo: chips + button first, intro text tightened */
  #demo .sub { font-size: 18px; }
  #demo .demo-card { margin-top: 16px; }
  .ask-chips button { width: 100%; }
  #demo .demo-card .btn { width: 100%; }
}
@media (max-width: 760px) {
  .about-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .brand { white-space: nowrap; font-size: 16px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .nav .btn { white-space: nowrap; padding: 6px 10px; font-size: 13px; min-height: 36px; }
  .m-menu summary { padding: 6px 10px; font-size: 14px; }
  .m-menu nav { right: 0; left: auto; }
}
/* Icon-only launcher on phones. Size follows the viewport, same scale as widget.js. */
@media (max-width: 30rem) {
  body .lta-btn {
    width: clamp(2.75rem, 14vw, 3.5rem);
    height: clamp(2.75rem, 14vw, 3.5rem);
    min-width: 2.75rem;
    padding: 0;
    gap: 0;
  }
  body .lta-btn span { display: none; }
  body .lta-btn svg { width: 1.35rem; height: 1.35rem; }
}
/* High browser zoom shrinks the CSS viewport. Keep the launcher under the sticky header. */
@media (max-height: 500px) {
  body .lta-btn {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    padding: 0;
    bottom: max(.4rem, env(safe-area-inset-bottom, 0px));
    right: max(.4rem, env(safe-area-inset-right, 0px));
  }
  body .lta-btn span { display: none; }
  body .lta-btn svg { width: 1.1rem; height: 1.1rem; }
  .nav .wrap { min-height: 2.5rem; }
}
@media (max-height: 240px) {
  body .lta-btn { width: 1.75rem; height: 1.75rem; min-width: 1.75rem; bottom: .25rem; right: .25rem; }
  .nav .wrap { min-height: 2rem; }
}
body.calc-in-view .lta-btn:not(.open),
body.calc-in-view .lta-tip { opacity: 0; pointer-events: none; }

/* Demo section: both cards preview the real chat widget, so they use its rounded pills and bubbles */
#demo .demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; margin-top: 32px; }
#demo .demo-card, #demo .sample { margin: 0; background: var(--canvas); border: 1px solid var(--hairline); border-radius: 10px; padding: 24px; }
#demo .demo-card { display: flex; flex-direction: column; justify-content: center; }
#demo .ask-chips { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0 0 16px; }
#demo .ask-chips button { width: 100%; min-height: 44px; padding: 10px 16px; border: 1px solid var(--primary-dark); border-radius: 999px; background: transparent; color: var(--ink); font: 600 15px/1.3 var(--font); text-align: left; }
#demo .ask-chips button:hover { background: var(--primary); border-color: var(--primary); color: #000; }
#demo .demo-card .btn { margin-top: 8px; width: 100%; font-size: 16px; padding: 11px 24px; }
#demo .sample { display: flex; flex-direction: column; gap: 10px; }
#demo .sample figcaption { color: var(--mute); }
#demo .sample .msg { max-width: 85%; font-size: 15px; line-height: 1.45; padding: 10px 14px; }
#demo .sample .them { align-self: flex-end; background: var(--elevated); color: var(--on-dark); border-radius: 14px 14px 4px 14px; }
#demo .sample .bot { align-self: flex-start; background: var(--soft); color: var(--body); border: 0; border-radius: 14px 14px 14px 4px; }
#demo .sample-alert { margin-top: auto; padding-top: 6px; color: #3f8500; }
@media (max-width: 1024px) { #demo .demo-grid { grid-template-columns: 1fr; } }

/* ===== Link to the AI: typography + demo-section fixes =====
   Append to the END of /site.css (after the layout fixes already there), or <link> it after site.css.
   Scale: 16px base, ratio 1.25 -> 14 (small, floor) / 16 / 20 / 25 / 32 / 40 / 48. Weights: 400 + 700 only (the two Inter weights loaded). */

:root {
  --fs-sm: clamp(.75rem, .2vw + .7rem, .875rem);
  --fs-body: clamp(.9rem, .25vw + .85rem, 1rem);
  --fs-lead: clamp(.95rem, .6vw + .85rem, 1.25rem);
  --fs-h3: clamp(1.05rem, .4vw + .95rem, 1.25rem);
  --fs-h2: clamp(1.25rem, 1.4vw + .9rem, 2rem);
  --fs-h1: clamp(1.5rem, 2.4vw + 1rem, 3rem);
  --lh-body: 1.6; --lh-head: 1.2;
  --accent-text: #4a7a00;          /* green for TEXT on white: 4.8:1 (was #5a8d00 = 4.0:1, fails AA) */
  --mute-text: #5e5e5e;            /* gray small text on white: 6.5:1 */
}

/* Load the 500/600 weights the CSS asks for, or stop asking. We stop asking: */
.about-title { font-weight: 700; }
.about-quote { font-weight: 700; }
.about-quote cite { font-weight: 400; }

/* Body + headings */
body { line-height: var(--lh-body); }
h1, .hero h1 { font-size: var(--fs-h1); line-height: 1.15; letter-spacing: -0.01em; }
h2, .about-title, .cta h2 { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: -0.005em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
.lead, .hero .lead { font-size: var(--fs-lead); line-height: 1.6; }
.sub { font-size: var(--fs-lead); line-height: 1.6; }   /* was 22px / 1.75, off-scale */
.about-text p:not(.about-eyebrow) { font-size: 17px; line-height: 1.7; color: #333; }
.about-quote { font-size: 24px; line-height: 1.35; }
.faq summary { font-size: 18px; }
.faq details p { font-size: var(--fs-body); line-height: 1.65; }
.price span { font-size: var(--fs-h1); }

/* Eyebrows: one style everywhere (About was 13px/0.12em, others 14px/0.04em) */
.eyebrow, .about-text .about-eyebrow, .price-tag {
  font-size: var(--fs-sm); font-weight: 700; line-height: 1.4;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text);
}
.hero .eyebrow, .cta .eyebrow { color: var(--primary); } /* bright green is fine on black (8.7:1) */

/* Small text: 14px floor, darker gray */
.price-note, .about-quote cite { font-size: var(--fs-sm); color: var(--mute-text); }
.sample figcaption { font-size: 12px; letter-spacing: 0.06em; }  /* label only, uppercase, on black */
.form-note, footer { font-size: var(--fs-sm); }
.steps li::before { color: #000; }

/* Buttons: one size/weight; dark text on green (white on #76b900 = 2.4:1 fails AA) */
.btn, .about-cta { font-weight: 700; font-size: var(--fs-body); }
.btn.lg { font-size: 17px; }
.about-cta { color: #000; }
.about-cta:hover { color: #000; }

/* Mobile */
@media (max-width: 768px) {
  .about-quote { font-size: clamp(1.05rem, 2vw + .8rem, 1.25rem); }
  .about-text p:not(.about-eyebrow) { font-size: 16px; }
  .nav .btn { font-size: var(--fs-sm); }   /* was 13px */
}

/* ===== Live demo section ===== */
#demo { padding-bottom: clamp(4.5rem, 10vw, 7.5rem); } /* room for the floating launcher */
#demo .demo-grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
#demo .demo-grid > div { max-width: none; display: flex; flex-direction: column; }
#demo .demo-card { flex: 1; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; }
#demo .demo-card-title { font-size: var(--fs-body); }

/* Suggested questions -> pills */
#demo .ask-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
#demo .ask-chips button {
  width: auto; min-height: 40px; padding: 9px 16px;
  border: 1px solid var(--primary); border-radius: 999px; background: #fff; color: var(--ink);
  font: 500 15px/1.3 var(--font); letter-spacing: 0; text-align: left;
}
#demo .ask-chips button:hover { background: #f1f8e6; border-color: var(--primary-dark); color: var(--ink); }

/* Open the live demo: same size as hero .btn.lg, rounded */
#demo .demo-card .btn { align-self: flex-start; width: auto; border-radius: 12px; font-size: 17px; padding: 13px 26px; margin-top: auto; }

/* Example roofing chat */
#demo .sample { border-radius: 16px; padding: 24px; gap: 12px; align-self: stretch; }
#demo .sample .msg { max-width: 75%; padding: 11px 15px; font-size: 15px; line-height: 1.5; border-radius: 16px; }
#demo .sample .them { background: #2a2a2a; color: #fff; border-bottom-right-radius: 4px; }
#demo .sample .bot  { background: #f2f2f2; color: #1a1a1a; border-bottom-left-radius: 4px; }

@media (max-width: 1024px) {
  #demo .demo-grid { grid-template-columns: 1fr; gap: 24px; }
  #demo .sample .msg { max-width: 85%; }
}
@media (max-width: 768px) {
  #demo .ask-chips button { width: auto; }   /* undo the earlier full-width rule; pills wrap */
  #demo .demo-card .btn { width: 100%; }
  #demo .demo-card { padding: 20px; }
}

/* round2.css: append after site.css */
:root{--radius:12px}                         /* match the rounded demo cards & pills everywhere */
.btn,.url-form input{border-radius:12px}
.sub{font:400 20px/1.6 var(--font);max-width:60ch}
.sub,h1,h2{text-wrap:balance}               /* kills "your site." orphans (demo, contact) */
#demo .sub{max-width:52ch}
@media (max-width:1024px) and (min-width:760px){#demo .demo-grid{grid-template-columns:1fr 1fr;gap:24px}}
.eyebrow,.about-eyebrow{color:#4a7a00;font:700 14px/1.4 var(--font);letter-spacing:.06em}
.hero .eyebrow{color:var(--primary)}
.hero::after,.card::before,.price-card::before{border-radius:3px} /* soften corner squares to fit rounded cards */
.about-cta{color:#000}                      /* white on #76b900 = 2.4:1, fails AA */
.about-text h2{font-size:32px;font-weight:700}
.about-quote{font-weight:700}.about-quote cite{font-weight:400;color:#5e5e5e}
.price-card .btn+p,.price-note{color:#5e5e5e}
.faq details p{max-width:68ch}
.faq details{border-radius:12px}
.cta .url-form{max-width:560px}
footer .wrap{display:flex;gap:24px;flex-wrap:wrap;justify-content:space-between}
@media (max-width:640px){
  .m-menu summary,header .btn{font-size:14px}
  .hero .btn{width:100%}
  .about-text h2{font-size:26px}
}

/* ===== Track record (dark band) ===== */
.tb { padding: 96px 0; background: #0a2a00; color: #fff; }
.tb .wrap > .eyebrow { color: #a4e33b; text-align: center; }
.tb .wrap > h2 { color: #fff; text-align: center; }
.tb-summary { text-align: center; margin: 0 auto 56px; color: rgba(255,255,255,.7); }
.tb a { color: #a4e33b; font-weight: 700; text-decoration: none; }
.tb a:hover { text-decoration: underline; }
.tb-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.tb-item { padding: 32px 0; border-top: 1px solid rgba(255,255,255,.16); }
.tb-item:first-child { grid-column: 1 / -1; }
.tb-item:first-child h3 { font-size: var(--fs-h2); max-width: 22ch; }
.tb-item:first-child blockquote { font-size: var(--fs-lead); line-height: 1.55; max-width: 60ch; color: #fff; }
.tb-job h3 { margin: 0 0 12px; font: 700 24px/1.2 var(--font); color: #fff; }
.tb-tags, .tb-chips { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tb-tags li { font-size: 13px; color: rgba(255,255,255,.7); }
.tb-tags li + li::before { content: "·"; margin-right: 6px; }
.tb-tags .tb-plat { color: #a4e33b; font-weight: 700; }
.tb-stars { color: #a4e33b; font-size: 16px; letter-spacing: 3px; }
.tb-proof blockquote { margin: 8px 0 0; line-height: 1.65; color: rgba(255,255,255,.88); }
.tb-done { margin: 8px 0 0; font-weight: 700; }
.tb-chips { margin: 12px 0 0; }
.tb-chips li { font-size: 13px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.tb-who { margin: 12px 0 0; font-size: var(--fs-sm); color: rgba(255,255,255,.6); }
@media (max-width: 860px) {
  .tb { padding: 64px 0; }
  .tb-list { grid-template-columns: 1fr; }
  .tb-item:first-child h3 { font-size: 24px; }
}
@media (min-width: 861px) {
  .tb-item:first-child { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; padding: 40px 0 48px; }
  .tb-item:first-child .tb-proof { padding-top: 6px; }
}
@media (max-width: 860px) {
  .tb-tags { gap: 4px 12px; }
  .tb-tags li + li::before { content: none; }
  .tb-summary { max-width: 30ch; }
}

/* About photo: 110px circle (half the old size); the image file itself has room above the head */
.about-inner { grid-template-columns: 110px 1fr; }
.about-photo { width: 110px; height: 110px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; border-radius: 50%; }
@media (max-width: 760px) { .about-photo { max-width: 110px; } }

/* Tiny CSS viewports (high browser zoom). Header collapses; the demo button moves into the menu. */
@media (max-width: 480px) {
  .wrap { width: calc(100% - 1rem); }
  .nav .wrap { min-height: 2.75rem; gap: .35rem; width: calc(100% - 1rem); flex-wrap: nowrap; }
  .nav ul { display: none; }
  .brand { flex: 1 1 auto; min-width: 0; gap: .35rem; font-size: clamp(.8rem, 4.2vw, 1rem); }
  .brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand img { width: 1.35rem; height: 1.35rem; flex: none; }
  .m-menu { flex: none; }
  .m-menu summary { padding: .3rem .5rem; font-size: clamp(.75rem, 3.2vw, .9rem); }
  .hero { padding: 1.25rem 0 1.5rem; }
  section { padding: 1.5rem 0; }
  .hero .actions { margin-top: 1rem; gap: .5rem; }
  .tb { padding: 2rem 0; }
  .tb-summary { margin-bottom: 1.5rem; }
  .about { padding: 1.5rem 0; }
  .about-inner { grid-template-columns: 1fr; gap: 1rem; }
  .about-photo { width: 4.5rem; height: 4.5rem; }
}
@media (max-width: 760px) {
  .about-inner { grid-template-columns: 1fr; }
}

/* Legal pages: same site chrome, a readable document column */
.doc { padding: 56px 0 80px; }
.doc .wrap { width: min(720px, 100% - 48px); }
.doc h1 { font-size: 40px; line-height: 1.2; margin: 0 0 8px; max-width: 18ch; }
.doc .updated { margin: 0 0 28px; color: var(--mute); font-size: 14px; }
.doc h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 8px; }
.doc p { margin: 0 0 16px; }
.doc a { font-weight: 700; }
.doc .emergency { border: 2px solid var(--error); background: #fff5f5; border-radius: 12px; padding: 16px 18px; margin: 8px 0 24px; }
.doc .emergency h2 { margin: 0 0 8px; color: var(--error); font-size: 22px; }
.doc .emergency p { margin: 0; }
.doc .shot { display: block; width: 100%; max-width: 420px; height: auto; margin: 8px 0 8px; border: 1px solid var(--hairline); border-radius: 12px; }
.doc .optin { border: 1px solid var(--hairline); border-radius: 12px; padding: 20px; margin: 8px 0 24px; background: var(--soft); }
.doc .optin label { display: block; font-weight: 700; font-size: 14px; margin: 12px 0 6px; }
.doc .optin input[type="text"],
.doc .optin input[type="tel"] { width: 100%; min-height: 44px; padding: 12px 16px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--canvas); color: var(--ink); font: 400 16px/1.5 var(--font); }
.doc .optin input:focus { outline: none; border: 2px solid var(--primary); padding: 11px 15px; }
.doc .consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 15px; line-height: 1.5; }
.doc .consent input { margin-top: 4px; flex: none; width: 18px; height: 18px; }
.doc .consent label { font-weight: 400; margin: 0; }
.doc .optin .btn { margin-top: 4px; }
.doc .optin .btn:disabled { opacity: 0.45; cursor: not-allowed; }
.doc .optin .btn:disabled:hover { background: var(--primary); border-color: var(--primary); color: #000; }
footer a[aria-current="page"] { color: var(--primary); }
@media (max-width: 768px) {
  .doc { padding: 32px 0 64px; }
  .doc h1 { font-size: 32px; }
  .doc h2, .doc .emergency h2 { font-size: 20px; }
  .doc .wrap { width: min(720px, 100% - 32px); }
  .doc .optin { padding: 16px; }
}

/* Missed call calculator. Scoped so other pages keep their layout. */
.mcc-hero { padding: 56px 0 40px; }
.mcc-hero h1 { max-width: 18ch; }
.mcc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.mcc-card { position: relative; background: var(--canvas); border: 1px solid var(--hairline); border-radius: 12px; padding: 24px; height: 100%; }
.mcc-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px; background: var(--primary); border-radius: 3px; }
.mcc-card h2 { font-size: 22px; }
.mcc-card label { display: block; font-weight: 700; font-size: 16px; margin: 16px 0 6px; color: var(--ink); }
.mcc-card label:first-of-type { margin-top: 0; }
.mcc-est { font-weight: 700; color: var(--accent-text, #4a7a00); }
.mcc-card input,
.mcc-card select { width: 100%; min-height: 44px; padding: 12px 16px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--canvas); color: var(--ink); font: 400 16px/1.5 var(--font); }
.mcc-card input:focus,
.mcc-card select:focus { outline: none; border: 2px solid var(--primary); padding: 11px 15px; }
.mcc-affix { display: flex; align-items: center; gap: 8px; }
.mcc-affix span { font-weight: 700; color: var(--ink); }
.mcc-affix input { flex: 1; min-width: 0; }
.mcc-hint { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #5e5e5e; }
.mcc-band { padding-top: 24px; padding-bottom: 28px; }
#calculator .sub { margin-bottom: 12px; }
.mcc-title { display: flex; align-items: center; gap: 10px; }
.mcc-title h1, .mcc-title h2 { margin: 0; }
.mcc-lead { margin: 10px 0 28px; font-size: 18px; line-height: 1.4; max-width: 36ch; }
.mcc-hero .mcc-lead { color: var(--on-dark-mute); }
.mcc-hero .mcc-help { background: transparent; color: #fff; border-color: rgba(255,255,255,.72); }
.mcc-form .mcc-label { display: flex; align-items: center; gap: 8px; margin: 20px 0 8px; }
.mcc-form .mcc-label:first-child { margin-top: 0; }
.mcc-form .mcc-label label { margin: 0; font-size: 15px; }
.mcc-form input, .mcc-form select { min-height: 52px; font-size: 18px; }
.mcc-source { margin-left: auto; font-size: 13px; font-weight: 700; }
.mcc-helpwrap { position: relative; display: inline-flex; flex: none; }
.mcc-help { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 1px solid #6e6e6e; background: #fff; color: #000; font: 700 13px/20px var(--font); text-align: center; cursor: pointer; }
.mcc-tip { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: min(260px, calc(100vw - 24px)); margin: 0; padding: 10px 12px; background: #111; color: #fff; border-radius: 8px; font: 400 14px/1.4 var(--font); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.mcc-result-line { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; flex-wrap: nowrap; }
.mcc-result-line .mcc-total-label { display: inline; width: auto; margin: 0; }
.mcc-total.is-empty { font-weight: 700; font-size: clamp(40px, 5vw, 56px); line-height: 1; color: #c8c8c8; letter-spacing: -0.02em; }
.mcc-share { position: relative; display: inline-block; margin-top: 14px; }
.mcc-share-btn { min-height: 36px; padding: 6px 14px; border: 1px solid var(--hairline); border-radius: 8px; background: #fff; color: var(--ink); font: 700 14px/1.2 var(--font); cursor: pointer; }
.mcc-share .mcc-social { position: absolute; z-index: 6; left: 0; top: calc(100% + 6px); display: flex; flex-direction: column; gap: 0; min-width: 180px; margin: 0; padding: 6px 0; background: #fff; border: 1px solid var(--hairline); border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.mcc-share .mcc-social a { display: block; padding: 8px 14px; }
.mcc-results { padding: 16px 16px 12px; }
.mcc-total-block { margin: 0 0 8px; }
.mcc-total { display: block; margin: 0; font-size: 18px; font-weight: 400; line-height: 1.4; color: #5e5e5e; }
.mcc-total.is-ready { font-weight: 700; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
.mcc-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 8px; }
.mcc-stat { margin: 0; padding: 8px 10px; background: var(--soft); border-radius: 12px; }
.mcc-total-sub { font-weight: 700; font-size: 20px; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
.mcc-total-label { display: block; margin-top: 2px; font: 700 13px/1.3 var(--font); color: var(--ink); }
.mcc-band .mcc-sources { margin-top: 16px; }
.mcc-sources summary { cursor: pointer; font-weight: 700; color: var(--link); width: fit-content; list-style: none; }
.mcc-sources summary::-webkit-details-marker { display: none; }
.mcc-sources summary::before { content: ""; }
.mcc-sources summary:hover { text-decoration: underline; }
.mcc-sources[open] summary { margin-bottom: 16px; }
.mcc-chart { margin: 8px 0 8px; padding: 0; background: none; border: 0; }
.mcc-chart-plot { display: flex; flex-direction: column; gap: 10px; }
.mcc-bar-row { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); column-gap: 8px; align-items: center; }
.mcc-bar-name { font: 700 13px/1.2 var(--font); color: var(--ink); text-align: right; white-space: nowrap; }
.mcc-bar-track { position: relative; width: 100%; max-width: none; height: 24px; border-left: 2px solid var(--ink); }
.mcc-bar-fill { display: block; height: 24px; width: max(12px, calc(var(--pct, 0) * 1%)); max-width: 100%; background: var(--primary); border-radius: 0 12px 12px 0; }
.mcc-bar-amt { position: absolute; z-index: 1; top: 0; left: min(calc(100% - 6.6rem), max(12px, calc(var(--pct, 0) * 1%))); height: 24px; display: flex; align-items: center; padding-left: 6px; font: 700 13px/1 var(--font); font-variant-numeric: tabular-nums; color: #000; white-space: nowrap; }
.mcc-card .btn:disabled { opacity: 0.45; cursor: not-allowed; }
.mcc-card .btn:disabled:hover { background: var(--primary); border-color: var(--primary); color: #000; }
.mcc-math-details { margin: 4px 0 8px; }
.mcc-math-details summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.mcc-math { list-style: none; margin: 8px 0 0; padding: 0; }
.mcc-math li { margin: 0 0 6px; font-size: 14px; }
.mcc-wait { margin: 8px 0 0; color: #5e5e5e; font-size: 14px; }
.mcc-note { margin: 0 0 8px; font-size: 14px; line-height: 1.4; color: #5e5e5e; }
.mcc-fine { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: #5e5e5e; }
.mcc-share-line { display: none; }
.mcc-share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px; }
.mcc-social { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mcc-social a { font-weight: 700; }
.mcc-status { min-height: 0; margin: 4px 0 0; font-size: 14px; font-weight: 700; color: #3f8500; }
.mcc-riley { margin: 8px 0 0; font-size: 14px; line-height: 1.4; }
.mcc-cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mcc-sources p { margin: 0 0 16px; max-width: 70ch; }
.mcc-sources h2 { max-width: 20ch; }
@media (max-width: 800px) {
  .mcc-hero { padding: 40px 0 28px; }
  .mcc-layout { grid-template-columns: 1fr; }
  .mcc-card { padding: 20px; }
  .mcc-cta .actions .btn { width: 100%; }
}
@media (max-width: 640px) {
  .mcc-chart-plot { gap: 8px; }
  .mcc-bar-row { grid-template-columns: 4.4rem minmax(0, 1fr); column-gap: 6px; }
  .mcc-bar-track, .mcc-bar-fill, .mcc-bar-amt { height: 22px; }
  .mcc-bar-name, .mcc-bar-amt { font-size: 12px; }
  .mcc-bar-amt { left: min(calc(100% - 5.8rem), max(10px, calc(var(--pct, 0) * 1%))); }
}

/* Desktop type and section rhythm. Phone rules above stay as they are. */
@media (min-width: 1024px) {
  :root {
    --fs-h1: clamp(1.5rem, 2.4vw + 1rem, 2.5rem);
    --fs-h2: clamp(1.25rem, 1.4vw + .9rem, 1.625rem);
    --fs-lead: clamp(.95rem, .6vw + .85rem, 1.125rem);
  }
  section { padding-top: 48px; padding-bottom: 48px; }
  .hero { padding-top: 72px; padding-bottom: 66px; }
  .tb { padding-top: 72px; padding-bottom: 72px; }
  .about { padding-top: 72px; padding-bottom: 72px; }
  .mcc-hero { padding-top: 42px; padding-bottom: 30px; }
  .mcc-band { padding-top: 18px; padding-bottom: 21px; }
  .tb-item:first-child h3 { font-size: 1.375rem; }
  .tb-item:first-child blockquote { font-size: 1.0625rem; }
  .price span { font-size: 2.25rem; }
  .price-card li { font-size: 1rem; }
  .nav ul a { font-size: 0.875rem; }
  body .lta-btn { height: 3rem; font-size: 0.9rem; padding: 0 1rem 0 .75rem; }
}

/* Full link row fits from 781px up. Below that, every link is in the menu. */
@media (max-width: 780px) {
  .m-menu { display: block; }
  .nav ul { display: none; }
}

/* ========================================================================
   Live mobile spacing + header patch (prepared locally, not deployed).
   Append-only. Desktop (>=681px) unchanged.
   v2: Hatch-like centered mobile typography; compact (not full-width) buttons;
   larger header Menu; equal 20px gutters.
   ======================================================================== */

@media (max-width: 680px) {
  /* Compact buttons: ~40px tall, 6px radius, NOT Hatch-style full-width slabs */
  .btn,
  .btn.lg,
  .about-cta,
  .hero .btn,
  .hero .actions .btn,
  #demo .demo-card .btn,
  .price-card .btn,
  .mcc-cta .actions .btn,
  .url-form .btn,
  #contact .btn {
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
    align-self: center;
    min-height: 40px;
    height: auto;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
  }
  .hero .actions {
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  .url-form {
    flex-direction: column;
    align-items: center;
  }
  .url-form input { width: 100%; }
  .url-form .btn { align-self: center; }

  /* Softer secondary / outline buttons so they don't shout */
  .btn.outline,
  .hero .btn.outline,
  .hero .actions .btn.outline {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.32);
    color: rgba(255, 255, 255, 0.92);
  }

  /* Header: one row, equal gutters, logo and controls vertically centered.
     Menu (and any visible header CTA) sized like Hatch's header button:
     44px tall, 16px type, comfortable padding — not a miniature chip. */
  .nav .wrap {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
  }
  .brand {
    flex: 0 1 auto;
    min-width: 0;
    gap: 8px;
    font-size: 16px;
    white-space: nowrap;
  }
  .brand img { width: 32px; height: 32px; flex: none; }
  .m-menu { flex: 0 0 auto; }
  .m-menu summary,
  .nav .btn,
  .nav .btn.nav-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 1.2;
    border-radius: 6px;
    box-sizing: border-box;
  }

  /* Section vertical rhythm */
  section,
  #demo,
  #calculator,
  .mcc-band,
  .tb { padding: 56px 0; }
  .hero { padding: 56px 0; }

  /* Center hero and section text (headline, lead, eyebrow, buttons), like Hatch */
  .hero .wrap,
  section .wrap,
  .about,
  .about-inner,
  .about-text,
  .cta .wrap {
    text-align: center;
  }
  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  section > .wrap > .eyebrow,
  section > .wrap > h2,
  section > .wrap > .sub,
  section > .wrap > .lead,
  section > .wrap > p.sub,
  section > .wrap > p.lead,
  .about-eyebrow,
  .about-title,
  .about-text p,
  .cta h2,
  .cta p,
  .tb-summary,
  .mcc-title,
  .mcc-title h2,
  .mcc-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .mcc-title { justify-content: center; width: 100%; }
  /* Keep the h2 visually centered; the help icon is balanced by an empty sibling. */
  .mcc-title::before { content: ""; width: 22px; flex: none; }
  .mcc-helpwrap { flex: none; width: 22px; }
  .hero h1 { max-width: 18ch; }
  .hero::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .about-photo {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .about-quote {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 36ch;
  }

  /* v3: paired buttons in a row share one width and height.
     Equal flex, capped so they stay compact (not full-width slabs).
     175px is the natural width of the wider hero label at 15px type. */
  .hero .actions,
  .actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  .hero .actions .btn,
  .actions .btn {
    flex: 1 1 0;
    max-width: 175px;
    min-width: 0;
    width: auto;
    min-height: 40px;
    height: 40px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 15px;
    white-space: nowrap;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  /* 20px side gutters on every .wrap (overrides calc(100% - 1rem) = 8px) */
  .wrap,
  .nav .wrap {
    width: calc(100% - 40px);
  }

  /* About does not use .wrap; 20px equal side padding so nothing hits the edge.
     Extra bottom padding plus a narrower centered CTA keeps the chat launcher
     from covering the button, without shifting the block to one side. */
  .about {
    padding: 56px 20px 80px;
  }
  .about-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .about-cta {
    display: inline-flex;
    width: auto;
    max-width: 200px;
    margin: 12px auto 0;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 6px;
    box-sizing: border-box;
  }
}

/* v3b QA fixes (mobile only) */
@media (max-width:680px){
  .mcc-lead{margin:12px 0 24px}
}
@media (max-width:480px){
  .about-cta{max-width:100%}
}

/* v3c QA symmetry fix (mobile only) */
@media (max-width:680px){
  section .wrap{text-align:left}
  .about-quote{border-left:0;padding-left:0;padding-right:0}
  .about-quote::before{content:"";display:block;width:32px;height:4px;margin:0 auto 16px;background:#76b900;border-radius:2px}
}

/* v3d center pricing button (mobile only) */
@media (max-width:680px){.price-card .btn{display:flex;width:fit-content;margin-left:auto;margin-right:auto}}


/* about-move 2026-11-29: Knows your business + reviews without section or card headlines */
.knows {
  padding: 96px 0;
  background: #f7f7f5;
}
.knows .wrap { text-align: center; }
.knows h2 { margin: 0 0 32px; }
.knows-lines {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 40rem;
}
.knows-lines li {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.7;
  color: #3a3a3a;
}
.knows-lines li:last-child { margin-bottom: 0; }

/* Headless reviews: keep the green band, drop the leftover header gap and the
   first-card title column so quotes start evenly. */
.tb-list { margin-top: 0; }
.tb-item:first-child { display: block; }
.tb-item:first-child .tb-proof { padding-top: 0; }
@media (min-width: 861px) {
  .tb-item:first-child {
    display: block;
    padding: 0 0 48px;
  }
}
@media (max-width: 860px) {
  .tb { padding: 64px 0; }
}
@media (max-width: 480px) {
  .knows { padding: 2rem 0; }
  .tb { padding: 2rem 0; }
}

/* Standalone About page: clear the sticky header, keep equal side margins */
.about-page { padding-top: 120px; }
@media (max-width: 480px) {
  .about-page { padding-top: 2.5rem; }
}

.tb-item:first-child { border-top: none; }
@media (max-width: 680px) {
  .knows .wrap { text-align: center; }
}


/* about-move 2026-11-29d: even 2x2 reviews; About page is a person intro only */
.tb-item:first-child {
  grid-column: auto;
  display: block;
  padding: 32px 0;
  border-top: none;
}
.tb-item:nth-child(2) { border-top: none; }
.tb-item:first-child blockquote {
  font-size: inherit;
  line-height: 1.65;
  max-width: none;
  color: rgba(255,255,255,.88);
}
@media (min-width: 861px) {
  .tb-item:first-child {
    display: block;
    padding: 32px 0;
  }
}
@media (max-width: 860px) {
  .tb-item:nth-child(2) { border-top: 1px solid rgba(255,255,255,.16); }
}

.about-page .about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: none;
}
.about-page .about-photo {
  position: static;
  width: 110px;
  height: 110px;
  margin: 0 auto;
}
.about-page .about-text {
  max-width: none;
  text-align: center;
}
.about-page .about-title {
  margin: 0 0 12px;
  text-align: center;
}
.about-page .about-role {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #3a3a3a;
  text-wrap: balance;
}
@media (max-width: 480px) {
  .about-page .about-photo { width: 110px; height: 110px; max-width: 110px; }
  .about-page .about-role { font-size: 16px; }
}
