/* The WhatsApp landing (revialocal.app/whatsapp; apps/legal/landing/whatsapp.mjs, 20 Oct 2026): the plans' page (plans.css)
   with version C's live demo: Revia's conversation screen (screens/inbox.tsx, colors measured on a capture) in a phone,
   where the visitor writes as the customer and Revia's AI answers. */
:root{--wa:#25D366;--wa-soft:#F0FBF4;--bubble-c:#E7E8E2;--bubble-r:#E8EFEB;--chip:#FCF2CF;--chip-line:#EBC85A}
.wa-demo [hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Hero: the words and the businesses on one side, the phone on the other */
.wa-hero .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,440px);align-items:start}
.wa-hero .hero-copy{padding-top:34px}
.pick{margin:0 0 10px;font-size:14px;font-weight:500;color:var(--muted)}
.wa-biz{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.wa-biz button{height:44px;padding:0 15px;border-radius:999px;border:1px solid #D9D5CB;background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s}
.wa-biz button:hover{border-color:#B9B4A8}
.wa-biz button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}

.wa-demo{display:flex;flex-direction:column;gap:12px;min-width:0}
.wa-cap{margin:0;font-size:13.5px;color:var(--muted);text-align:center}
.wa-fine{margin:0;font-size:12.5px;color:#69716E;text-align:center}
/* On a phone the call to try it comes after the demo, so the phone sits right under the businesses. */
.wa-cta-m{display:none}

/* Revia's conversation screen, in a phone */
.phone{width:100%;max-width:380px;margin:0 auto;border-radius:52px;background:#171B1A;padding:11px;box-shadow:0 40px 80px -40px rgba(10,20,15,.65)}
.screen{height:min(560px,calc(100vh - 230px));min-height:470px;border-radius:42px;overflow:hidden;background:linear-gradient(180deg,#F7EFD8 0,#F5F2E8 100px,#F3F4F0 220px);display:flex;flex-direction:column;font-size:14px;color:#1F2422}
.sb{height:36px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 26px 0 34px;font-size:13px;font-weight:500}
.sb i{width:86px;height:26px;border-radius:14px;background:#000}
.ch{flex:none;display:flex;align-items:center;gap:10px;padding:8px 16px 10px;border-bottom:1px solid #DDDCD3}
.ch .av{position:relative;flex:none;width:36px;height:36px;border-radius:50%;background:#ECEDE8;display:flex;align-items:center;justify-content:center}
.ch .av svg{width:19px;height:19px;fill:#6A706C}
.ch .av b{position:absolute;right:-3px;bottom:-2px;width:14px;height:14px;border-radius:4px;background:var(--wa);border:2px solid #fff}
.ch strong{display:block;font-weight:500;font-size:15px}
.ch small{display:block;font-size:11.5px;color:#5F6763}
.ban{flex:none;margin:9px 12px 4px;padding:9px 12px;background:var(--bubble-r);display:flex;align-items:center;gap:8px;font-size:12.5px}
.ban i{width:7px;height:7px;border-radius:50%;background:#2E5A47}.ban b{margin-left:auto;font-weight:500;color:#2E5A47}
.msgs{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;padding:6px 12px 10px;scrollbar-width:thin;overscroll-behavior:contain}
.msgs>:first-child{margin-top:auto}
.hint{align-self:center;margin:auto 12px;text-align:center;font-size:13.5px;color:#5F6763;line-height:1.45}
.who{align-self:flex-end;font-size:11px;font-weight:500;color:#2E5A47;margin-top:9px}
.bub{max-width:82%;padding:9px 12px;line-height:1.42;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere;animation:pop .3s ease both}
.bub.c{align-self:flex-start;background:var(--bubble-c);margin-top:10px}.bub.r{align-self:flex-end;background:var(--bubble-r)}
.typing{align-self:flex-end;margin-top:6px;padding:11px 14px;background:var(--bubble-r);display:flex;gap:4px}
.typing span{width:7px;height:7px;border-radius:50%;background:#5F6763;animation:dots 1.2s infinite}
.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}
.chip{align-self:center;margin-top:10px;padding:7px 13px;background:var(--chip);border:1px solid var(--chip-line);font-size:12.5px;animation:pop .3s ease both}
.chip u{font-weight:500}
.ctl{align-self:stretch;margin-top:10px;padding:9px 12px;background:#fff;border:1px solid #E2DED4;font-size:12.5px;display:flex;align-items:center;gap:8px;animation:pop .3s ease both}
.ctl i{width:8px;height:8px;border-radius:50%;background:#B3261E}.ctl b{margin-left:auto;color:#2E5A47;font-weight:500}
.sys{align-self:center;margin-top:10px;max-width:92%;padding:8px 12px;border-radius:10px;background:#fff;border:1px solid #E2DED4;font-size:12.5px;color:#3E4542;text-align:center;line-height:1.4;animation:pop .3s ease both}
.sys a{color:#2E5A47;font-weight:500}
.bar{flex:none;margin:0;padding:9px 12px 16px;background:#FDFEFD;border-top:1px solid #E6E6E0;display:flex;gap:6px}
.bar input{flex:1;min-width:0;height:42px;border:1px solid #D8D8D0;border-radius:0;padding:0 11px;font:inherit;font-size:15px;color:#1F2422;background:#fff}
.bar input::placeholder{color:#6E746F}
.bar button{flex:none;width:46px;height:42px;border:0;background:var(--yellow);color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer}
.bar button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.bar button[disabled],.bar input[disabled]{opacity:.55;cursor:default}

/* The example questions under the phone */
.wa-asks{display:flex;flex-direction:column;gap:8px;width:100%;max-width:380px;margin:0 auto}
.wa-langs{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.wa-langs span{margin-right:2px}
.wa-langs button{height:32px;min-width:40px;padding:0 10px;border-radius:999px;border:1px solid #D9D5CB;background:#fff;color:var(--ink);font:inherit;font-size:12.5px;font-weight:500;cursor:pointer}
.wa-langs button[aria-pressed="true"]{background:var(--wa);border-color:var(--wa);color:#fff}
.wa-ask-label{margin:4px 0 0;font-size:13px;color:var(--muted)}
.ask{width:100%;min-height:50px;padding:9px 14px;border-radius:16px;border:1.5px solid var(--wa);background:var(--wa-soft);font:inherit;font-size:15px;text-align:left;cursor:pointer;display:flex;gap:10px;align-items:center;color:var(--ink);line-height:1.35}
.ask b{flex:none;width:30px;height:30px;border-radius:50%;background:var(--wa);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px}
.ask[disabled]{opacity:.5;cursor:default}
.again{align-self:center;background:none;border:0;padding:6px 0;font:inherit;font-size:14px;color:var(--green);font-weight:500;cursor:pointer}

/* The lead Revia leaves */
.wa-lead{width:100%;max-width:380px;margin:0 auto;background:#fff;border-radius:20px;padding:16px 18px;display:flex;flex-direction:column;gap:6px;box-shadow:0 18px 40px -26px rgba(20,30,25,.5);animation:pop .4s ease both}
.wa-lead .k{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#7A5E00;font-weight:500}
.wa-lead strong{font-size:19px;font-weight:500}
.wa-lead .row{display:flex;gap:8px;margin-top:6px}
.wa-lead .row span{flex:1;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:500;font-size:14.5px;border:1px solid #D9D5CB}
.wa-lead .row span:first-child{background:var(--yellow);border-color:var(--yellow)}
.wa-lead small{color:var(--muted);font-size:13px}

/* What you just saw, and the three steps */
.wa-seen h2,.wa-steps h2{font-size:38px;line-height:1.1;margin-bottom:22px}
.checks.big li{font-size:18px}
.wa-step-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px}
.wa-step-list li{display:flex;gap:14px}
.wa-step-list b{flex:none;width:38px;height:38px;border-radius:50%;background:var(--wa);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:500}
.wa-step-list strong{display:block;font-weight:500;font-size:19px}
.wa-step-list small{display:block;font-size:16px;color:var(--muted);line-height:1.45;margin-top:2px}

@keyframes dots{0%,80%,100%{opacity:.25}40%{opacity:1}}
@keyframes pop{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.bub,.chip,.ctl,.sys,.wa-lead{animation:none}.typing span{animation:none}}

@media (max-width:980px){.wa-hero .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,400px)}}
@media (max-width:820px){
  .wa-hero .hero-grid{grid-template-columns:minmax(0,1fr)}
  .wa-hero .hero-copy{min-width:0}
  .wa-hero .hero-copy{padding-top:0}
  .wa-hero .hero-copy>.btn.big,.wa-hero .hero-copy>.note{display:none}
  .wa-demo .btn.wa-cta-m{display:flex;width:100%;margin-top:6px}
  .wa-demo .note.wa-cta-m{display:block;margin:0}
  .wa-biz{flex-wrap:nowrap;overflow-x:auto;margin:0 -18px 20px;padding:2px 18px 4px;scrollbar-width:none}
  .wa-biz::-webkit-scrollbar{display:none}
  .wa-biz button{flex:none}
  .screen{height:540px;min-height:0}
  .wa-seen h2,.wa-steps h2{font-size:30px}
  .checks.big li{font-size:16.5px}
}
