/* RMflow — /chatbot page. Sits on top of rm.css + blog.css (same nav, blueprint hero, buttons, footer). */
.cb-hero{padding-block:150px 40px}
.cb-hero .hero-columns{align-items:end}
.cb-hero .hero-aside{padding-bottom:8px}
.cb-actions{display:flex;flex-wrap:wrap;gap:12px 14px;margin-top:28px}
.cb-actions .button{font-size:15px;gap:14px}
.button--ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}
.button--ghost:hover{background:rgba(255,255,255,.12)}
.button--ink{background:var(--ink);color:#fff}
.button--ink:hover{background:#18265f}
button.button{border:0;cursor:pointer;font-family:inherit}

.cb-sec{padding-block:96px 0}
.cb-sec:last-of-type{padding-bottom:96px}
.cb-head{margin-bottom:48px}
.cb-head h2{font-size:clamp(36px,4.2vw,64px);line-height:1.05}
.cb-head p{color:var(--muted);font-size:18px;max-width:420px}

/* 01 · four jobs, drawn as a spec sheet */
.cb-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--ink);border-left:1px solid var(--line);list-style:none;margin:0;padding:0}
.cb-card{position:relative;padding:28px 28px 40px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:260px;display:flex;flex-direction:column;background:transparent;transition:background .25s}
.cb-card:hover{background:#fff}
.cb-card .num{font:500 11px/1.5 "JetBrains Mono",monospace;letter-spacing:.08em;color:var(--blue)}
.cb-card svg{width:44px;height:44px;margin:40px 0 28px;color:var(--blue)}
.cb-card h3{font-size:28px;line-height:1.1;margin-bottom:14px}
.cb-card p{font-size:16px;line-height:1.6;color:var(--muted)}

/* 02 · demo band on the blueprint */
.cb-demo{margin-top:96px;padding-block:96px}
.cb-demo-in{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.cb-demo h2{font-size:clamp(36px,4.2vw,64px);line-height:1.05;margin:22px 0 24px}
.cb-demo h2 span{color:var(--yellow)}
.cb-demo-p{font-size:19px;line-height:1.6;color:#ffffffcf;max-width:480px}
.cb-demo .cb-actions{margin-top:32px}
.cb-mock{position:relative;background:var(--paper);color:var(--ink);border:1px solid var(--ink);border-radius:4px;box-shadow:12px 12px 0 -1px var(--blue),12px 12px 0 0 var(--ink);padding:0;overflow:hidden;max-width:480px;justify-self:end;width:100%}
.cb-mock-bar{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);font:500 11px/1.4 "JetBrains Mono",monospace;letter-spacing:.06em;text-transform:uppercase}
.cb-mock-bar img{width:28px;height:28px;border-radius:50%}
.cb-mock-bar span{margin-left:auto;display:flex;align-items:center;gap:8px;color:var(--muted)}
.cb-mock-bar span:before{content:"";width:7px;height:7px;border-radius:50%;background:#2fbf71}
.cb-mock-body{display:flex;flex-direction:column;gap:12px;padding:20px 16px 8px;min-height:268px}
.cb-bub{margin:0;padding:11px 14px;border-radius:3px;font-size:15px;line-height:1.5;max-width:86%}
.cb-bub--you{align-self:flex-start;background:#fff;border:1px solid var(--line);border-bottom-left-radius:0}
.cb-bub--me{align-self:flex-end;background:var(--blue);color:#fff;border-bottom-right-radius:0}
.cb-lead{margin:8px 16px 16px;display:grid;grid-template-columns:auto 1fr auto;gap:4px 14px;align-items:center;padding:14px;background:var(--ink);color:#fff;border-radius:2px}
.cb-lead i{grid-row:1/3;width:36px;height:36px;border-radius:50%;background:var(--yellow);color:var(--ink);display:grid;place-items:center;font:700 15px "Instrument Sans",sans-serif;font-style:normal}
.cb-lead b{font:700 14px/1.3 "Instrument Sans",sans-serif}
.cb-lead small{grid-column:2;font:500 11px/1.4 "JetBrains Mono",monospace;letter-spacing:.04em;color:#ffffffb0;text-transform:uppercase}
.cb-lead time{grid-row:1/3;grid-column:3;font:500 11px "JetBrains Mono",monospace;color:var(--yellow)}

/* 03 · steps */
.cb-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;list-style:none;margin:0;padding:0;border-top:1px dashed var(--ink)}
.cb-step{padding:36px 32px 8px 0}
.cb-step+.cb-step{padding-left:32px;border-left:1px dashed var(--line)}
.cb-step .n{display:block;font:400 clamp(64px,7vw,112px)/1 "Bricolage Grotesque Variable",sans-serif;letter-spacing:-.05em;color:var(--blue);margin-bottom:28px}
.cb-step h3{font-size:30px;line-height:1.1;margin-bottom:14px}
.cb-step p{font-size:17px;line-height:1.65;color:var(--muted)}

/* 04 · where it lives */
.cb-where{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0}
.cb-chan{position:relative;padding:28px;background:#fff;border:1px solid var(--line);border-radius:2px;display:flex;gap:20px;align-items:flex-start;transition:transform .25s,border-color .25s}
.cb-chan:hover{transform:translateY(-3px);border-color:var(--ink)}
.cb-chan>span{display:grid;place-items:center;width:52px;height:52px;border-radius:2px;background:var(--blue);color:#fff;flex:none}
.cb-chan svg{width:26px;height:26px}
.cb-chan h3{font-size:24px;line-height:1.15;margin-bottom:8px}
.cb-chan p{font-size:16px;line-height:1.6;color:var(--muted)}

/* 05 · price (honest: custom quote) */
.cb-price{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.cb-price h3{font-size:clamp(30px,3vw,44px);line-height:1.1;margin:18px 0 20px}
.cb-price>div>p{font-size:20px;line-height:1.5;color:var(--muted)}
.cb-sheet{background:#fff;border:1px solid var(--ink);border-radius:2px;box-shadow:10px 10px 0 -1px var(--paper),10px 10px 0 0 var(--ink)}
.cb-sheet-h{padding:14px 20px;border-bottom:1px solid var(--ink);font:500 11px/1.5 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase;display:flex;justify-content:space-between;gap:12px}
.cb-row{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:18px 20px;border-bottom:1px dashed var(--line);font-size:16px}
.cb-row b{font:400 22px/1.2 "Bricolage Grotesque Variable",sans-serif;letter-spacing:-.03em;text-align:right}
.cb-sheet ul{margin:0;padding:18px 20px 22px;list-style:none;display:grid;gap:10px;font-size:15px;color:var(--muted)}
.cb-sheet li{display:flex;gap:12px}
.cb-sheet li:before{content:"";flex:none;width:8px;height:8px;margin-top:8px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 3px #ffd84a30}
.cb-price .cb-actions{margin-top:28px}
.cb-price .button--ghost{color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.cb-price .button--ghost:hover{background:#fff}

/* 06 · faq */
.cb-faq{max-width:900px}
.cb-faq .article-faq{border-top:1px solid var(--ink);padding-top:0}

/* final call sits in the shared footer */
.rm-foot .cb-actions{margin-top:28px}

@media(max-width:1199px){
  .cb-demo-in{gap:40px}
  .cb-price{gap:40px}
  .cb-where{grid-template-columns:1fr;gap:16px}
}
@media(max-width:809px){
  .cb-hero{padding-top:128px;padding-bottom:24px}
  .cb-sec{padding-block:64px 0}
  .cb-sec:last-of-type{padding-bottom:64px}
  .cb-head{grid-template-columns:1fr;gap:20px;margin-bottom:36px}
  .cb-head p{display:none}
  .cb-hero .hero-description{font-size:17px}
  .cb-card{min-height:0;padding:24px 20px 32px}
  .cb-card svg{margin:24px 0 20px}
  .cb-demo{margin-top:64px;padding-block:64px}
  .cb-demo-in{grid-template-columns:1fr;gap:40px}
  .cb-mock{justify-self:stretch;max-width:none;box-shadow:8px 8px 0 -1px var(--blue),8px 8px 0 0 var(--ink);margin-right:8px}
  .cb-steps{grid-template-columns:1fr}
  .cb-step,.cb-step+.cb-step{padding:28px 0;border-left:0}
  .cb-step+.cb-step{border-top:1px dashed var(--line)}
  .cb-step .n{font-size:72px;margin-bottom:16px}
  .cb-price{grid-template-columns:1fr}
  .cb-sheet{margin-right:10px}
}
@media(max-width:540px){
  .cb-cards{grid-template-columns:1fr}
  .cb-actions .button{width:100%}
  .cb-row{flex-direction:column;gap:4px}
  .cb-row b{text-align:left}
}

/* shorter page on phones */
@media(max-width:809px){
  .cb-hero .hero-bottom>span{display:none}
  .cb-hero .hero-bottom{justify-content:flex-end}
  .cb-hero .hero-bottom>a{max-width:none}
  .cb-card{padding:18px 20px 22px}
  .cb-card svg{width:32px;height:32px;margin:14px 0 14px}
  .cb-card h3{font-size:24px;margin-bottom:6px}
  .cb-card p{font-size:15px}
  .cb-head{margin-bottom:28px}
  .cb-price{gap:24px}
  .cb-price>div>p{font-size:18px}
}

/* Embedded demo: the only chatbot on this page; WhatsApp stays fixed. */
.cb-hero .hero-columns{grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr);gap:clamp(40px,6vw,96px);align-items:center;margin-top:32px}
.cb-hero .hero-columns h1{font-size:clamp(48px,5.1vw,80px);line-height:1.04;letter-spacing:-.055em}
.cb-hero .hero-description{max-width:540px;margin-top:32px;font-size:20px;line-height:1.6;color:#ffffffd9}
.cb-hero-copy,.cb-chat-demo{min-width:0}
.cb-demo-label{display:flex;justify-content:space-between;margin:0 0 16px;font:500 12px/1.5 "JetBrains Mono",monospace;text-transform:uppercase;letter-spacing:.08em}
.cw.cw--inline{position:relative;inset:auto;z-index:1;width:100%}
.cw--inline .cw__panel{position:relative;inset:auto;width:100%;height:520px;max-height:none;display:flex;box-shadow:8px 8px 0 rgba(12,22,64,.22);animation:none}
.cw--inline .cw__launch,.cw--inline .cw__tease,.cw--inline #cw-close{display:none}
.cw--inline .cw__id{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;flex:1}
.cw--inline .cw__av{width:36px;height:36px;margin:0}
.cw--inline .cw__id b{font-size:18px}
.cw--inline .cw__head{padding:12px 16px;background-image:none;border-bottom:1px solid #ffffff33}
.cw--inline .cw__chips{max-height:100px;overflow-y:auto}
.cb-whatsapp{position:fixed;right:24px;bottom:24px;z-index:45;display:flex;align-items:center;gap:10px;min-height:56px;padding:12px 18px;background:var(--yellow);color:var(--ink);border:1px solid var(--ink);border-radius:4px;text-decoration:none;font:600 15px/1.2 "Instrument Sans",sans-serif;box-shadow:0 8px 24px #0c164030}
.cb-whatsapp svg{width:28px;height:28px}
.cb-whatsapp:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
@media(max-width:1000px) and (min-width:810px){.cb-hero .hero-columns{grid-template-columns:minmax(0,1fr) minmax(340px,1fr);gap:32px}.cb-hero .hero-columns h1{font-size:50px}}
@media(max-width:809px){.cb-hero .hero-columns{grid-template-columns:1fr;gap:32px}.cb-hero .hero-columns h1{font-size:clamp(40px,8vw,64px)}.cb-hero .hero-description{font-size:18px;margin-top:24px}.cw--inline .cw__panel{position:relative;inset:auto;width:100%;height:520px;max-height:none;border-radius:4px}.cb-whatsapp{right:16px;bottom:16px}}

.cb-setup .cb-head{max-width:900px}.cb-setup .cb-step .n{font-size:64px}.cb-setup .cb-step h3{font-size:26px}.cb-questions .article-faq p{font-size:17px;line-height:1.65;color:var(--muted);padding-bottom:24px}.cb-questions{padding-bottom:96px}.cb-card p{margin-top:auto}.cb-card h3{font-size:26px}

/* Concise hero copy for phone screens. */
.cb-copy-mobile{display:none}
@media(max-width:809px){
 .cb-copy-desktop{display:none}.cb-copy-mobile{display:block}
 .cb-hero{padding-top:112px}.cb-hero .hero-columns{margin-top:24px;gap:32px}
 .cb-hero .hero-columns h1{font-size:clamp(38px,9.6vw,60px);line-height:1.08}
 .cb-hero .hero-description{font-size:17px;line-height:1.55;margin-top:20px}
 .cw--inline .cw__panel{height:480px;box-shadow:4px 4px 0 #0c164038}
 .cw--inline .cw__chips{display:flex;flex-wrap:wrap;max-height:104px;overflow:auto}
 .cw--inline .cw__chip{white-space:normal;text-align:left;min-height:44px}
 .cw--inline .cw__id b{font-size:17px}.cw--inline .cw__note{font-size:11px}
 .cb-questions .article-faq summary{font-size:17px;gap:16px}
 .cb-questions .article-faq p{font-size:16px}
 .cb-setup .cb-step h3{font-size:24px}
 .cb-whatsapp{bottom:max(16px,env(safe-area-inset-bottom));min-height:52px}
}
@media(max-width:809px){
 .cw.cw--inline.is-open{position:relative;inset:auto;width:100%}
 .cw.cw--inline.is-open .cw__panel{position:relative;inset:auto;width:100%;height:480px;border:1px solid #0c164048;border-radius:4px;animation:none}
}
.cb-quote-actions{align-items:center;margin-top:24px}.cb-email{display:inline-flex;align-items:center;min-height:44px;font-size:15px;color:#fff;text-underline-offset:4px}
.cb-next-note{font:400 14px/1.55 "Instrument Sans",sans-serif;color:#ffffffd9;max-width:520px;margin-top:12px}
@media(max-width:809px){.cb-quote-actions .button{font-size:15px}.cb-head h2{font-size:clamp(32px,8vw,44px)}.cb-whatsapp{z-index:45}}

/* All suggested questions are visible on desktop, without a hidden horizontal strip. */
@media(min-width:810px){
 .cw--inline .cw__chips{flex-wrap:wrap;overflow:visible;max-height:none;-webkit-mask-image:none;mask-image:none;padding-top:8px}
 .cw--inline .cw__chip{white-space:normal;max-width:100%;min-height:40px;flex:0 1 auto;text-align:left}
}
/* The embedded demo should be readable immediately, without popup fade/scale. */
.cw.cw--inline.is-open .cw__panel{animation:none}
@media(min-width:810px){
 .cw--inline .cw__chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .cw--inline .cw__chip{width:100%;min-width:0}
 .cw--inline .cw__chip:last-child{grid-column:1/-1}
}
