/* Business Automation offer page (live, Nov 13 2026).
   Loaded only on /business-automation, after /site-v3.css.
   Shared header/footer/nav come from the v3 layout; these rules cover
   the offer sections (v3 has no .sec/.contact-in) and the chat demo. */
:root{--blue:var(--accent);--blue-d:var(--accent-d);--lilac:var(--tint);--lilac-2:var(--tint)}
html{scroll-padding-top:calc(var(--hdr) + 16px)}

/* Offer sections use .sec; v3 pages use .band. */
.sec{padding-block:64px;border-top:1px solid var(--line)}
.sec-alt{background:var(--soft)}
.sec h2{font-size:clamp(36px,6.4vw,72px);line-height:1;margin:0 0 18px;max-width:820px;text-wrap:balance}
@media (min-width:900px){.sec{padding-block:100px}.sec h2{margin-bottom:22px}}

/* Hero is a sentence heading, not the home-page display .hero-h */
.hero{padding:44px 0 56px}
.hero h1{font-size:clamp(40px,8vw,84px);line-height:.98;max-width:16ch;margin:0 0 20px;text-wrap:balance}
.hero h1 span{color:var(--accent);font-style:italic}
@media (min-width:960px){.hero{padding-block:48px 72px}}

/* Contact band on this page (v3's contact styles are for /contact) */
.contact{background:var(--tint);border-top:0}
.contact-in{display:grid;grid-template-columns:minmax(0,1fr);gap:36px}
.contact h2{max-width:560px}
.contact-in>div>p{font-size:17px;color:var(--body)}
.contact a:not(.btn){color:var(--ink)}
.contact a:not(.btn):hover,.contact a:not(.btn):focus-visible{color:var(--accent)}
@media (min-width:860px){.contact-in{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(48px,7vw,105px)}}

details:first-of-type{border-top:1px solid var(--line-2)}

.feat{display:grid;grid-template-columns:minmax(0,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.feat article{background:#fff;padding:26px 22px;min-width:0}
.feat h3{font-size:22px;letter-spacing:-.04em;margin-bottom:10px}
.feat p{color:var(--body);font-size:16px;margin:0 0 12px}
.ex{margin:0;padding:14px 16px;background:var(--soft);border-left:3px solid var(--blue);border-radius:0 8px 8px 0;font-size:14px;color:var(--ink);line-height:1.55}
.ex b{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);margin-bottom:4px}
@media (min-width:900px){.feat{grid-template-columns:repeat(2,minmax(0,1fr))}.feat article{padding:32px 28px}}
.who{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.who li{padding:8px 14px;border:1px solid var(--line);border-radius:999px;font-size:14px;background:#fff;color:var(--body)}
.proof{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
.proof ul{margin:0;padding-left:1.1rem;color:var(--body)}
.proof li{padding:4px 0}
@media (min-width:900px){.proof{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px}}
.cards-4{grid-template-columns:minmax(0,1fr)}
@media (min-width:760px){.cards-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1180px){.cards-4{grid-template-columns:repeat(4,minmax(0,1fr))}.cards-4 .price{font-size:clamp(48px,4.4vw,68px)}}

.rules{display:grid;grid-template-columns:minmax(0,1fr);gap:0;list-style:none;margin:0;padding:0}
.rules li{padding:16px 0;border-top:1px solid var(--line);color:var(--body)}
.rules strong{display:block;color:var(--ink);font-size:18px;font-weight:600;letter-spacing:-.03em;margin-bottom:2px}
@media (min-width:760px){.rules{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}}

.cards-3{grid-template-columns:minmax(0,1fr)}
@media (min-width:760px){.cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cards-3 .price{font-size:clamp(48px,4.4vw,68px)}}

/* Unnumbered setup steps (override site-v2 counters) */
.steps{counter-reset:none;list-style:none}
.steps li{counter-increment:none}
.steps li::before{content:none;display:none;margin:0}

/* Live scroll-linked chat in "What it does" (Nov 12, 2026). Replaces the hero video. */
.what-split{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}
@media (max-width:899px){
  #what .feat{display:contents}
  #what .feat article{border:1px solid var(--line);border-bottom:0}
  #what .feat article:nth-child(-n+3){order:1}
  #what .feat article:nth-child(1){border-top-left-radius:0}
  #what .feat article:nth-child(3){border-bottom:1px solid var(--line)}
  #what .feat article:nth-child(n+4){order:3}
  #what .feat article:nth-child(4){border-top:1px solid var(--line)}
  #what .feat article:last-child{border-bottom:1px solid var(--line)}
  #what .chat-stage{order:2;margin:22px 0 26px;max-width:420px;width:100%;justify-self:center}
}
@media (min-width:900px){
  .what-split{grid-template-columns:minmax(0,1fr) minmax(300px,400px);gap:8px 48px;align-items:start}
  #what .feat{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
  #what .feat article{border:0;order:initial;padding:32px 28px}
  #what .chat-stage{order:initial;margin:0;position:sticky;top:calc(var(--hdr) + 16px);width:100%;max-width:400px}
}

.chat-stage{min-width:0}
.chat{position:relative;display:flex;flex-direction:column;width:100%;height:min(360px,58vh);max-height:60vh;overflow:hidden;background:var(--soft);border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 36px #24359614}
.chat-status{display:none}
.chat-head{display:flex;align-items:center;gap:10px;flex:none;padding:8px 12px;background:#fff;border-bottom:1px solid var(--line);min-height:48px}
.chat-head-title{font-size:14px;font-weight:650;letter-spacing:-.03em;line-height:1.2}
.chat-head-sub{margin-top:1px;font-size:11px;font-weight:550;color:var(--ok);letter-spacing:-.01em}
.chat-avatar{width:28px;height:28px;border-radius:50%;flex:none;overflow:hidden;display:block}
.chat-avatar svg{display:block;width:100%;height:100%}
.chat-avatar-lg{width:28px;height:28px}
.chat-avatar-ghost{visibility:hidden}
.chat-thread{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:8px;padding:10px 12px 12px;mask-image:linear-gradient(to bottom,transparent,#000 14px);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 14px)}
.chat.is-static .chat-thread{overflow-y:auto}
.chat-chip{align-self:center;font-size:11px;font-weight:600;letter-spacing:.02em;color:var(--muted);padding:2px 0 2px}
.chat-row{display:none;align-items:flex-start;gap:8px;max-width:100%;width:100%}
.chat-row.is-in,.chat.is-static .chat-row{display:flex}
.chat-row.assistant{align-self:flex-start}
.chat-row.owner{align-self:flex-end;justify-content:flex-end}
.chat-col{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:82%}
.chat-row.owner .chat-col{align-items:flex-end;max-width:80%}
.chat-sender{font-size:11px;font-weight:650;color:var(--muted);letter-spacing:-.01em;padding:0 4px 3px}
.chat-bubble{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:16px;border-bottom-left-radius:6px;padding:8px 11px;font-size:13px;font-weight:500;line-height:1.4;letter-spacing:-.02em}
.chat-row.owner .chat-bubble{background:var(--blue);color:#fff;border-color:var(--blue);border-bottom-left-radius:16px;border-bottom-right-radius:6px}
.chat-emoji{font-size:22px;line-height:1;padding:6px 10px 7px}
.chat-drafts{margin-top:6px;width:100%;background:#fff;border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:10px;overflow:hidden}
.chat-drafts-title{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--blue);padding:8px 10px 4px}
.chat-drafts ul{list-style:none;margin:0;padding:0}
.chat-drafts li{font-size:13px;font-weight:550;letter-spacing:-.02em;color:var(--ink);padding:7px 10px;border-top:1px solid var(--line)}
.chat-composer{display:none}
.chat-caption{margin:10px 0 0;text-align:center;font-size:13px;color:var(--body);line-height:1.45}
.chat-end{position:absolute;inset:0;background:#fff;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;pointer-events:none;transition:none}
.chat.is-end .chat-end{opacity:1;visibility:visible}
.chat-end-inner{display:flex;flex-direction:column;align-items:center;text-align:center;padding:16px 20px}
.chat-end-mark{width:48px;height:48px;margin-bottom:12px}
.chat-end-mark svg{display:block;width:48px;height:48px}
.chat-end-wordmark{display:inline-flex;align-items:center;justify-content:center;gap:10px;color:#141414;margin:0 0 14px}
.chat-end-wordmark strong{font-size:34px;font-weight:800;letter-spacing:-.08em;line-height:.9}
.chat-end-wordmark span{display:block;font-size:8px;font-weight:700;letter-spacing:.12em;line-height:1.3;max-width:62px;text-align:left;color:#605C56}
.chat-end-title{font-size:16px;font-weight:550;letter-spacing:-.03em;color:var(--ink)}
.chat-end-url{margin-top:4px;font-size:13px;font-weight:550;color:var(--blue)}
.chat.is-static .chat-end{display:none}

@media (min-width:900px){
  .chat{height:min(520px,calc(100vh - 200px));max-height:calc(100vh - 200px);border-radius:22px;box-shadow:0 18px 50px #24359618}
  .chat-status{display:flex;align-items:center;justify-content:space-between;flex:none;padding:8px 16px 0;background:#fff;font-size:12px;font-weight:700;letter-spacing:-.03em}
  .chat-status-icons{display:flex;align-items:center;opacity:.9}
  .chat-head{padding:6px 14px 10px;min-height:56px;gap:12px}
  .chat-head-title{font-size:16px}
  .chat-head-sub{font-size:12px}
  .chat-avatar{width:32px;height:32px}
  .chat-thread{padding:12px 14px;gap:10px}
  .chat-bubble{font-size:14px;padding:10px 13px;border-radius:18px;border-bottom-left-radius:6px}
  .chat-row.owner .chat-bubble{border-bottom-left-radius:18px;border-bottom-right-radius:6px}
  .chat-composer{display:flex;align-items:center;gap:8px;flex:none;padding:8px 12px 12px;background:#fff;border-top:1px solid var(--line)}
  .chat-field{flex:1;height:36px;border:1px solid var(--line);background:var(--soft);border-radius:18px;display:flex;align-items:center;padding:0 14px;font-size:13px;font-weight:500;color:#8a8d99}
  .chat-send{width:36px;height:36px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;flex:none}
  .chat-end-mark{width:56px;height:56px;margin-bottom:16px}
  .chat-end-mark svg{width:56px;height:56px}
  .chat-end-wordmark strong{font-size:42px}
  .chat-end-wordmark span{font-size:9px;max-width:70px}
  .chat-end-title{font-size:18px}
  .chat-end-url{font-size:14px}
}

/* Mobile paced reveal (~1.6s/msg). Desktop scroll-link stays instant. */
.chat-typing{display:none}
.chat-typing.is-on{display:flex}
.chat-dots{display:flex;align-items:center;gap:5px;min-height:1.2em;padding:10px 14px}
.chat-dot{width:6px;height:6px;border-radius:50%;background:#8a8d99;opacity:.35}
.chat.is-paced .chat-dot{animation:chat-dot 1.2s ease-in-out infinite}
.chat.is-paced .chat-dot:nth-child(2){animation-delay:.2s}
.chat.is-paced .chat-dot:nth-child(3){animation-delay:.4s}
@keyframes chat-dot{0%,80%,100%{transform:translateY(0);opacity:.35}40%{transform:translateY(-4px);opacity:1}}
.chat.is-paced .chat-row.is-in{animation:chat-in .48s var(--ease) both}
.chat.is-paced .chat-end{transition:opacity .64s var(--ease),visibility .64s var(--ease)}
.chat.is-paced.is-end .chat-end-inner{animation:chat-in .64s var(--ease) both}
@keyframes chat-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .chat.is-paced .chat-row.is-in,.chat.is-paced.is-end .chat-end-inner{animation:none}
  .chat.is-paced .chat-dot{animation:none}
  .chat.is-paced .chat-end{transition:none}
}
