/* AtendaAqui landing components: hero, product demos, calculator, comparison, offer, FAQ, closing band.
   Design tokens live ONLY in site.css (single token file). This file reads them and defines none. */
.panel{position:relative; background:var(--soft); border:1px solid var(--soft-line); border-radius:28px; padding:32px 16px; overflow:hidden;}
.panel .stage{position:relative;}
@media(min-width:900px){ .panel{padding:48px 24px;} }

/* hero: dark first screen, blue glow, vertical-light texture (CSS only) */
.hero{position:relative; isolation:isolate; overflow:hidden; background:var(--d0); color:#fff; padding:120px 0 64px;}
@media(min-width:900px){ .hero{padding:152px 0 96px;} }
.hero::before{content:""; position:absolute; inset:0; z-index:-2; background:radial-gradient(70% 46% at 50% -4%,rgba(0,85,254,.62),rgba(0,85,254,.18) 50%,transparent 74%), radial-gradient(40% 30% at 50% 58%,rgba(0,85,254,.16),transparent 70%);}
.hero::after{content:""; position:absolute; inset:0; z-index:-1; background:repeating-linear-gradient(90deg,rgba(0,85,254,0) 0,rgba(0,85,254,0) 14px,rgba(20,90,255,.34) 44px,rgba(120,170,255,.2) 49px,rgba(0,85,254,.06) 78px,rgba(0,85,254,0) 96px); -webkit-mask:linear-gradient(180deg,#000 0,rgba(0,0,0,.65) 30%,transparent 58%); mask:linear-gradient(180deg,#000 0,rgba(0,0,0,.65) 30%,transparent 58%); pointer-events:none;}
.hero .copy{max-width:900px; margin:0 auto; text-align:center;}
.hero h1{font-size:clamp(34px,9vw,58px); line-height:1.08; letter-spacing:-.03em; font-weight:800; color:#fff; text-wrap:balance;}
.hero h1 .br{display:none;}
@media(min-width:900px){ .hero h1 .br{display:inline;} }
.hero h1 .ob{white-space:nowrap;}
.hero .lead{margin:24px auto 0; max-width:58ch; font-size:17px; line-height:1.6; color:var(--dtext2);}
@media(min-width:900px){ .hero .lead{font-size:19px;} }
/* keyword chips in the sub-headline */
.kw{display:inline-block; font-weight:600; line-height:1.25; padding:1px 8px 2px; margin:0 1px; border-radius:7px; border:1px solid transparent;}
.kw-b{color:#9cc0ff; background:rgba(59,130,246,.2); border-color:rgba(139,180,255,.3);}
.kw-g{color:#5fe0a1; background:rgba(18,183,106,.18); border-color:rgba(95,224,161,.3);}
.kw-v{color:#c4b2ff; background:rgba(139,92,246,.22); border-color:rgba(196,178,255,.32);}
.actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:32px;}
.hero .actions,.final .actions{justify-content:center;}
@media(max-width:520px){ .actions .btn{width:100%;} }

/* inline objects in the headline, set at cap height */
.ob{display:inline-block; vertical-align:baseline; position:relative;}
.ob-chat{width:1.02em; height:1.02em; vertical-align:-.17em; margin:0 .06em 0 .12em; position:relative;}
.ob-chat svg.ic{width:100%; height:100%; filter:drop-shadow(0 .06em .18em rgba(0,0,0,.45));}
.ob-chat .bd{position:absolute; top:-.85em; right:-1.5em; min-width:2.3em; height:1.55em; padding:0 .45em; display:flex; align-items:center; justify-content:center; border-radius:99px; background:#d92d20; color:#fff; font-family:var(--display); font-weight:800; font-size:.34em; line-height:1; letter-spacing:0; box-shadow:0 0 0 .22em var(--d0), 0 .3em 1em rgba(217,45,32,.55); transform-origin:0% 100%;}
.ob-toggle{width:1.52em; height:.8em; vertical-align:-.04em; margin:0 .12em; border-radius:99px; background:linear-gradient(180deg,#2f7bff,#0055fe); box-shadow:0 0 .9em rgba(0,85,254,.75), inset 0 .04em .06em rgba(255,255,255,.35), 0 0 0 .03em rgba(139,180,255,.4);}
.ob-toggle::after{content:""; position:absolute; top:.08em; left:calc(100% - .72em); width:.64em; height:.64em; border-radius:50%; background:#fff; box-shadow:0 .05em .12em rgba(0,0,0,.35);}
@media(prefers-reduced-motion:no-preference){
  .ob-toggle{animation:tgTrack .45s .7s var(--ease) both;}
  .ob-toggle::after{animation:tgKnob .45s .7s var(--ease) both;}
  .ob-chat .bd{animation:bdPop .5s 1.25s cubic-bezier(.3,1.6,.5,1) both;}
  @keyframes tgTrack{from{background:#2a3142; box-shadow:0 0 0 rgba(0,85,254,0), inset 0 .04em .06em rgba(255,255,255,.12), 0 0 0 .03em rgba(255,255,255,.14);}}
  @keyframes tgKnob{from{left:.08em;}}
  @keyframes bdPop{0%{transform:scale(0);} 100%{transform:scale(1);}}
}

/* the product demo in a large rounded frame with a blue rim light */
.hframe{position:relative; margin:64px auto 0; max-width:1040px; border-radius:30px; padding:10px; background:linear-gradient(160deg,rgba(150,190,255,.5),rgba(59,130,246,.22) 40%,rgba(0,85,254,.1)); box-shadow:0 0 0 1px rgba(139,180,255,.18), 0 40px 140px -30px rgba(0,85,254,.65), 0 0 90px -10px rgba(0,85,254,.35);}
.hframe-in{border-radius:22px; overflow:hidden; background:linear-gradient(180deg,#121a2c,#0c111e); border:1px solid rgba(255,255,255,.08);}
.hframe-bar{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; border-bottom:1px solid var(--dline); text-align:left;}
.hframe-bar .pill{min-height:30px; padding:0 12px; font-size:12px; font-family:var(--mono); letter-spacing:.08em; text-transform:uppercase; color:#fff;}
.hframe-bar .caption{font-size:12.5px; color:rgba(255,255,255,.66);}
.hframe-body{display:grid; gap:24px; padding:28px 16px 32px; justify-items:center;}
.peek{display:none;}
@media(max-width:560px){ .hframe{padding:6px; border-radius:24px; margin-top:48px;} .hframe-in{border-radius:19px;} .hframe-body{padding:16px 4px 18px;} .hframe-bar{padding:12px 14px;} }
@media(min-width:900px){
  .hframe-body{grid-template-columns:minmax(0,1fr) auto; gap:36px; padding:36px 40px 36px 36px; align-items:center; justify-items:stretch;}
  .peek{display:block; background:#fff; color:var(--ink); border:1px solid rgba(255,255,255,.12); border-radius:16px; overflow:hidden; text-align:left; box-shadow:0 20px 60px -20px rgba(0,0,0,.6);}
  .peek .app-stat{grid-template-columns:repeat(2,1fr);}
  .peek .prow{display:flex; align-items:center; gap:12px; padding:12px 16px; border-top:1px solid var(--line);}
  .peek .prow .pp{flex:1 1 auto; min-width:0;}
  .peek .prow .bdg{margin-left:auto;}
}

/* two-column section with a sticky demo */
.cols{display:grid; gap:48px; align-items:start;}
@media(min-width:900px){ .cols{grid-template-columns:1fr 1fr; gap:80px;} .cols .panel{position:sticky; top:112px;} }

/* the steps: icon tile, mono pill, display heading, one or two lines */
.steps{margin-top:40px;}
.steps li{position:relative; display:grid; grid-template-columns:48px 1fr; gap:0 20px; padding:0 0 36px;}
.steps li:last-child{padding-bottom:0;}
.steps li:not(:last-child)::after{content:""; position:absolute; left:23px; top:56px; bottom:8px; width:2px; background:linear-gradient(var(--soft-line),var(--line));}
.st-ico{display:flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:14px; background:var(--soft); border:1px solid var(--soft-line); color:var(--accent);}
.st-ico svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round;}
.st-pill{display:inline-block; font-family:var(--mono); font-size:11.5px; line-height:1; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--accent-dk); background:var(--soft); border:1px solid var(--soft-line); border-radius:999px; padding:6px 10px; margin-top:4px;}
.steps h3{font-size:22px; line-height:1.2; letter-spacing:-.025em; font-weight:800; margin-top:12px;}
.steps p{margin-top:6px; color:var(--muted); max-width:46ch;}

/* does / does not */
.two{display:grid; gap:20px;}
@media(min-width:900px){ .two{grid-template-columns:1fr 1fr; gap:24px;} }
.cmp{background:var(--surface); border:1px solid var(--line); border-radius:22px; padding:32px 24px;}
@media(min-width:640px){ .cmp{padding:40px 40px 32px;} }
.cmp h3{display:flex; align-items:center; gap:12px; font-size:26px; line-height:1.2; letter-spacing:-.03em; font-weight:800; margin-bottom:16px;}
.cmp h3 .badge-ico{display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:11px; background:var(--accent); color:#fff;}
.cmp.no h3 .badge-ico{background:var(--ink);}
.cmp h3 .badge-ico .ico{width:18px; height:18px;}
.list li{display:flex; align-items:flex-start; gap:12px; padding:16px 0; border-top:1px solid var(--line); color:var(--body);}
.list li:first-child{border-top:0;}
.list li .ico{margin-top:2px; color:var(--accent);}
.aic-side .list li{font-size:18px; font-weight:500; color:var(--ink);}
.cmp.no li .ico{color:var(--muted);}

/* dashboard demo frame */
.dashsim::before{content:""; position:absolute; left:50%; top:-10%; width:1100px; height:620px; transform:translateX(-50%); background:radial-gradient(closest-side,rgba(0,85,254,.34),transparent); pointer-events:none;}
.dashsim .wrap{position:relative;}
.dashsim .sub{margin-bottom:0;}
.sample{margin-top:16px; font-size:13px; color:rgba(255,255,255,.7);}
.app{margin-top:48px; color:var(--ink);}
@media(max-width:640px){ .app{margin-left:-12px; margin-right:-12px;} }
.dashsim .actions{margin-top:32px; align-items:center;}
.dashsim .actions .ul{margin-left:12px; font-size:15px; font-weight:500;}
.dashsim .actions .ul{display:inline-flex; align-items:center; min-height:44px; padding-bottom:0; background-position:0 calc(100% - 9px);}

/* intake demo frame */
.aic-note{margin-top:16px; font-size:13px; color:var(--muted);}

/* proof: a bordered grid of facts with one line icon each */
.proof-h{margin-bottom:32px;}
.grid{display:grid; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:22px; overflow:hidden;}
.grid + .fit-h{margin-top:64px;}
@media(min-width:760px){ .grid{grid-template-columns:repeat(6,1fr);} .grid .c{grid-column:span 2;} .grid.g5 .c:nth-child(n+4){grid-column:span 3;} }
.grid .c{background:var(--surface); padding:24px; display:flex; flex-direction:column; gap:8px;}
@media(min-width:900px){ .grid .c{padding:32px;} }
.grid .c .pi{display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:13px; background:var(--soft); border:1px solid var(--soft-line); color:var(--accent); margin-bottom:8px;}
.grid .c .pi svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
.grid .c b{font-family:var(--display); font-weight:700; font-size:18px; letter-spacing:-.02em; line-height:1.3;}
.grid .c span.t{color:var(--muted); font-size:15px; line-height:1.55;}
.fit-h{font-size:clamp(24px,3vw,32px); line-height:1.15; letter-spacing:-.025em; margin-bottom:24px; max-width:24ch;}

/* pricing */
.plans{display:grid; gap:16px;}
@media(min-width:700px){ .plans{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(min-width:1140px){ .plans{grid-template-columns:repeat(4,minmax(0,1fr));} }
.plan .btn{padding:0 8px; gap:8px; font-size:15px; white-space:nowrap; text-align:center;}
.plan{position:relative; padding:32px 22px 24px; background:var(--surface); border:1px solid var(--line); border-radius:22px; display:flex; flex-direction:column; overflow:hidden;}
.plan::before{content:""; position:absolute; left:0; right:0; top:0; height:3px; background:linear-gradient(90deg,var(--accent),var(--accent-lt));}
.plan-name{font-size:22px; line-height:1.2; letter-spacing:-.03em; font-weight:800;}
.plan-for{margin-top:8px; font-size:14px; line-height:1.45; color:var(--muted); min-height:2.9em;}
.price{margin-top:24px; display:flex; align-items:baseline; gap:4px; font-variant-numeric:tabular-nums;}
.price .cur{font-size:18px; font-weight:600; color:var(--body);}
.price .amt{font-family:var(--display); font-size:46px; line-height:1; letter-spacing:-.04em; font-weight:800; font-variant-numeric:tabular-nums; color:var(--ink);}
.price .per{color:var(--muted); font-size:15px; margin-left:4px;}
.plan-setup{margin-top:8px; font-size:14px; color:var(--body); font-variant-numeric:tabular-nums;}
@media(min-width:1140px){ .plan-setup{min-height:3.1em;} }
.plan-limit{margin-top:16px; padding:12px 16px; background:var(--soft); border:1px solid var(--soft-line); border-radius:var(--radius); display:grid; gap:4px; font-size:14px; font-variant-numeric:tabular-nums;}
.plan ul{margin:24px 0 32px; display:grid; gap:12px; align-content:start; font-size:14px; line-height:1.45; color:var(--body); flex:1;}
.plan ul li{position:relative; padding-left:28px;}
.plan ul li::before{content:""; position:absolute; left:0; top:1px; width:18px; height:18px; background:var(--accent); -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat; --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E");}
.plan ul strong{font-weight:650; color:var(--ink);}
.price-line{margin-top:16px; font-size:18px; color:var(--muted); max-width:56ch;}
.enterprise{margin-top:24px; display:flex; flex-wrap:wrap; gap:16px 32px; align-items:center; justify-content:space-between; padding:24px; border:1px solid var(--line-strong); border-radius:18px; background:var(--surface);}
.enterprise p{max-width:60ch; color:var(--body);}
.pricing-foot{margin-top:24px; font-size:14px; color:var(--muted);}

/* faq */
.faq-grid{display:grid; gap:40px;}
@media(min-width:900px){ .faq-grid{grid-template-columns:1fr 1.6fr; gap:80px;} .faq-grid .head{position:sticky; top:112px; align-self:start; margin-bottom:0;} }
.faq{display:grid; gap:12px;}
.faq details{background:var(--surface); border:1px solid var(--line); border-radius:18px;}
.faq details[open]{border-color:var(--soft-line); background:var(--tint);}
.faq summary{list-style:none; cursor:pointer; min-height:64px; padding:16px 20px; font-family:var(--display); font-size:17px; font-weight:700; line-height:1.35; letter-spacing:-.015em; display:flex; justify-content:space-between; gap:16px; align-items:center; border-radius:18px;}
.faq summary:hover{color:var(--accent);}
.faq summary::-webkit-details-marker{display:none;}
.faq .pm{flex:none; width:30px; height:30px; border:1.5px solid currentColor; border-radius:10px; position:relative;}
.faq .pm::before,.faq .pm::after{content:""; position:absolute; left:7px; right:7px; top:50%; height:2px; margin-top:-1px; background:currentColor;}
.faq .pm::after{transform:rotate(90deg); transition:transform .2s var(--ease);}
.faq details[open] .pm::after{transform:rotate(0);}
.faq details[open] .pm{background:var(--accent); border-color:var(--accent); color:#fff;}
.faq .ans{padding:0 20px 20px; max-width:64ch; color:var(--body);}

/* final cta */
.final{text-align:center; padding:96px 0;}
@media(min-width:900px){ .final{padding:136px 0;} }
.final::before{content:""; position:absolute; left:50%; bottom:-40%; width:1000px; height:700px; transform:translateX(-50%); background:radial-gradient(closest-side,rgba(0,85,254,.34),transparent); pointer-events:none;}
.final .wrap{position:relative; z-index:1;}
.final h2{font-size:clamp(34px,5.4vw,56px); line-height:1.06; letter-spacing:-.035em; font-weight:800; max-width:16ch; margin:0 auto; text-wrap:balance;}
.final p{margin:20px auto 0; max-width:46ch; font-size:18px; color:var(--dtext2);}
.final .actions{margin-top:32px;}
.final-mark{position:absolute; left:50%; top:50%; width:460px; height:460px; transform:translate(-50%,-50%); color:rgba(59,130,246,.06); pointer-events:none;}
.final-mark svg{width:100%; height:100%; fill:currentColor;}
@media(max-width:760px){ .final-mark{width:320px; height:320px;} }


/* floating action bar: appears after the hero, hides near the closing band, dismissible */
.mbar{position:fixed; left:50%; bottom:max(16px,env(safe-area-inset-bottom)); z-index:60; display:flex; align-items:center; gap:14px; width:max-content; max-width:calc(100% - 24px); padding:8px 8px 8px 20px; border-radius:20px; background:rgba(14,18,28,.92); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); border:1px solid rgba(255,255,255,.14); box-shadow:0 18px 50px -12px rgba(0,0,0,.65); color:#fff; transform:translate(-50%,24px); opacity:0; visibility:hidden; transition:opacity .25s ease,transform .25s var(--ease),visibility 0s .25s;}
.mbar.on{transform:translate(-50%,0); opacity:1; visibility:visible; transition:opacity .25s ease,transform .25s var(--ease),visibility 0s;}
.mbar .mtxt{font-size:14px; line-height:1.35; color:rgba(255,255,255,.82);}
.mbar .btn{min-height:44px; padding:0 18px; font-size:15px; border-radius:14px;}
.mbar .mx{flex:none; width:44px; height:44px; margin:0 -2px 0 0; border:0; background:transparent; color:rgba(255,255,255,.7); border-radius:12px; display:flex; align-items:center; justify-content:center; cursor:pointer;}
.mbar .mx:hover{background:rgba(255,255,255,.1); color:#fff;}
.mbar .mx svg{width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round;}
@media(max-width:560px){ .mbar{padding:6px 6px 6px 14px; gap:8px; left:12px; right:12px; width:auto; max-width:none; transform:translate(0,24px);} .mbar.on{transform:none;} .mbar .mtxt{display:none;} .mbar .btn{flex:1;} }
body:has(#cookie-consent:not([hidden])) .mbar{display:none;}


/* ===== product demos (WhatsApp conversations, intake, dashboard): internals unchanged ===== */
.stage{position:relative; display:flex; justify-content:center; align-items:center;}
.phone{position:relative; z-index:1; width:332px; max-width:100%; padding:13px; border-radius:48px;
  background:linear-gradient(155deg,#0c241d,#16352b 60%,#0a1f18);
  box-shadow:var(--shadow-lg), 0 0 0 2px rgba(255,255,255,.05), inset 0 2px 4px rgba(255,255,255,.06);}
.phone .side{position:absolute; width:3px; border-radius:4px; background:#05130d;}
.phone .vol{left:-2px; top:128px; height:58px; box-shadow:0 74px 0 0 #05130d;}
.phone .pwr{right:-2px; top:150px; height:70px;}
.screen{position:relative; height:566px; border-radius:37px; overflow:hidden; background:var(--wall); display:flex; flex-direction:column;}
.screen::after{content:""; position:absolute; inset:0; pointer-events:none; z-index:6; background:linear-gradient(125deg,rgba(255,255,255,.14),transparent 30%); mix-blend-mode:overlay;}
.island{position:absolute; top:9px; left:50%; transform:translateX(-50%); width:104px; height:27px; background:#05130d; border-radius:16px; z-index:5;}

.wa-status{display:flex; align-items:center; justify-content:space-between; padding:13px 22px 5px; background:var(--wa-head); color:#fff; font-size:13px; font-weight:600;}
.wa-status .ic{display:flex; align-items:center; gap:6px;}
.wa-status svg{height:13px; width:auto; fill:#fff;}
.wa-head{display:flex; align-items:center; gap:10px; padding:7px 12px 11px; background:var(--wa-head); color:#fff;}
.wa-head .chev{opacity:.9;}
.wa-av{width:38px; height:38px; border-radius:50%; background:#128c7e; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:14px; flex:0 0 auto; box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);}
.wa-id{flex:1; min-width:0;}
.wa-id b{display:flex; align-items:center; gap:5px; font-size:15px; font-weight:600; line-height:1.15;}
.wa-pres{position:relative; display:block; height:15px; margin-top:1px; font-size:12px; color:#bfe7e2;}
.wa-pres span{position:absolute; left:0; top:0; white-space:nowrap;}
.wa-pres .po{animation:presOnline 16s infinite;}
.wa-pres .pt{animation:presTyping 16s infinite; font-style:italic; color:#9fe9c0;}
@keyframes presOnline{0%,13%{opacity:1}14%,25%{opacity:0}26%,51%{opacity:1}52%,63%{opacity:0}64%,100%{opacity:1}}
@keyframes presTyping{0%,13%{opacity:0}14%,25%{opacity:1}26%,51%{opacity:0}52%,63%{opacity:1}64%,100%{opacity:0}}
.wa-actions{display:flex; align-items:center; gap:16px; opacity:.92;}
.wa-actions svg{height:19px; width:auto; stroke:#fff; fill:none;}

.chat{flex:1; min-height:0; padding:12px 11px 8px; display:flex; flex-direction:column; justify-content:flex-end; overflow:hidden; background-color:var(--wall); background-image:var(--doodle);}
.sys{align-self:center; display:inline-flex; align-items:center; gap:6px; font-size:11px; color:#4f6b62; background:#f5efe5; border-radius:8px; padding:4px 11px; margin-bottom:8px; box-shadow:0 1px .5px rgba(8,35,28,.08); max-width:90%; text-align:center;}
.sys.enc{background:#fdf4d6; color:#7a6a3a;}
.sys svg{flex:0 0 auto;}
.row{display:flex; overflow:hidden; max-height:0; opacity:0; padding-top:9px;}
.row.in{justify-content:flex-start;}
.row.out{justify-content:flex-end;}
.bubble{position:relative; max-width:80%; padding:7px 9px 6px; border-radius:9px; font-size:14px; line-height:1.4; color:#0a1f18; box-shadow:0 1px .8px rgba(8,35,28,.16);}
.in .bubble{background:#fff; border-top-left-radius:2px;}
.out .bubble{background:var(--bubble); border-top-right-radius:2px;}
.in .bubble::after{content:""; position:absolute; top:0; left:-7px; border-top:7px solid #fff; border-left:7px solid transparent;}
.out .bubble::after{content:""; position:absolute; top:0; right:-7px; border-top:7px solid var(--bubble); border-right:7px solid transparent;}
.bubble .t{float:right; display:inline-flex; align-items:center; gap:3px; font-size:10px; color:#5a7268; margin:7px 0 -1px 8px;}
.bubble .t .tk{height:10px; width:auto;}
.typing{background:#fff; border-radius:9px; border-top-left-radius:2px; padding:11px 12px; display:inline-flex; gap:4px; box-shadow:0 1px .8px rgba(8,35,28,.16); position:relative;}
.typing::after{content:""; position:absolute; top:0; left:-7px; border-top:7px solid #fff; border-left:7px solid transparent;}
.typing i{width:6px; height:6px; border-radius:50%; background:#9aa6b2; display:block; animation:blink 1.3s infinite;}
.typing i:nth-child(2){animation-delay:.18s;} .typing i:nth-child(3){animation-delay:.36s;}
@keyframes blink{0%,70%,100%{opacity:.35; transform:translateY(0)}35%{opacity:1; transform:translateY(-3px)}}

.wa-compose{display:flex; align-items:center; gap:8px; padding:8px 9px; background:#f0f2f5;}
.wa-input{flex:1; display:flex; align-items:center; gap:8px; background:#fff; border-radius:22px; padding:9px 12px; color:#8a98a3; font-size:13.5px; box-shadow:0 1px .5px rgba(8,35,28,.1);}
.wa-input .ph{flex:1;}
.wa-input svg{height:18px; width:auto; stroke:#8a98a3; fill:none; opacity:.85;}
.wa-mic{flex:0 0 auto; width:40px; height:40px; border:0; border-radius:50%; background:linear-gradient(140deg,var(--brand-2),var(--brand-700)); display:flex; align-items:center; justify-content:center; box-shadow:0 6px 14px -5px rgba(10,110,85,.8); cursor:pointer;}
.wa-mic svg{height:18px; stroke:#fff; fill:none;}

.row{animation-duration:16s; animation-iteration-count:infinite; animation-timing-function:ease;}
.r1{animation-name:rowA;} .t1{animation-name:typeA;} .r2{animation-name:rowB;}
.r3{animation-name:rowC;} .t2{animation-name:typeB;} .r4{animation-name:rowD;}
@keyframes rowA{0%,2%{opacity:0;max-height:0}3%{opacity:0;max-height:170px}6%{opacity:1}90%{opacity:1;max-height:170px}100%{opacity:0;max-height:0}}
@keyframes typeA{0%,13%{opacity:0;max-height:0}14%{opacity:0;max-height:54px}16%{opacity:1}23%{opacity:1;max-height:54px}25%,100%{opacity:0;max-height:0}}
@keyframes rowB{0%,24%{opacity:0;max-height:0}25%{opacity:0;max-height:170px}28%{opacity:1}90%{opacity:1;max-height:170px}100%{opacity:0;max-height:0}}
@keyframes rowC{0%,41%{opacity:0;max-height:0}42%{opacity:0;max-height:170px}45%{opacity:1}90%{opacity:1;max-height:170px}100%{opacity:0;max-height:0}}
@keyframes typeB{0%,51%{opacity:0;max-height:0}52%{opacity:0;max-height:54px}54%{opacity:1}61%{opacity:1;max-height:54px}63%,100%{opacity:0;max-height:0}}
@keyframes rowD{0%,62%{opacity:0;max-height:0}63%{opacity:0;max-height:185px}66%{opacity:1}90%{opacity:1;max-height:185px}100%{opacity:0;max-height:0}}
/* ===== AI-assisted structured intake ===== */
.aiclin{position:relative; overflow:hidden;}
.aiclin .wrap{position:relative; z-index:1;}
.aic-grid{display:grid; grid-template-columns:.94fr 1.06fr; gap:46px; align-items:center; margin-top:42px;}
@media(max-width:900px){ .aic-grid{grid-template-columns:1fr; gap:34px;} }

.aic-demo{position:relative; border-radius:24px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-lg);}
.aic-demo-in{position:relative; z-index:1; padding:22px;}
.aic-cap{display:flex; align-items:center; gap:9px; font-size:13px; font-weight:600; color:var(--brand-700); margin-bottom:14px;}
.aic-cap .dot{width:8px; height:8px; border-radius:50%; background:var(--wa); box-shadow:0 0 0 0 rgba(37,211,102,.6); animation:pulse 2.2s infinite;}
.aic-photo{position:relative; height:120px; border-radius:14px; overflow:hidden; background:linear-gradient(160deg,#0f1a33,#16274d); border:1px solid rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; margin-bottom:16px;}
.aic-photo .frame{display:flex; flex-direction:column; align-items:center; gap:9px; padding:0 18px; text-align:center;}
.aic-photo .frame svg{width:30px; height:30px; stroke:rgba(255,255,255,.88); fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round;}
.aic-photo .frame span{font-size:12px; font-weight:600; letter-spacing:.01em; color:rgba(255,255,255,.62);}
.aic-photo .tag{position:absolute; right:9px; bottom:8px; display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:600; color:var(--brand-700); background:rgba(255,255,255,.94); padding:3px 8px; border-radius:8px;}
.aic-photo .tag svg{width:12px; height:12px; stroke:var(--brand-700); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
.aic-row{display:flex; align-items:flex-start; gap:11px; padding:10px 12px; border-radius:12px; background:var(--mint); margin-bottom:9px; opacity:0; transform:translateY(9px); animation:aicIn .6s cubic-bezier(.2,.75,.25,1) forwards;}
.aic-row:nth-of-type(1){animation-delay:.25s} .aic-row:nth-of-type(2){animation-delay:.75s} .aic-row:nth-of-type(3){animation-delay:1.25s} .aic-row:nth-of-type(4){animation-delay:1.75s} .aic-row:nth-of-type(5){animation-delay:2.25s}
@keyframes aicIn{to{opacity:1; transform:none;}}
.aic-row .em{flex:none; width:30px; height:30px; border-radius:9px; display:flex; align-items:center; justify-content:center; background:linear-gradient(140deg,#f4f8ff,#e3eeff); border:1px solid var(--line);}
.aic-row .em svg{width:17px; height:17px; stroke:var(--brand-700); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
.aic-row .tx{flex:1;}
.aic-row .tx b{display:block; font-size:11px; color:var(--muted); font-weight:700; text-transform:uppercase; letter-spacing:.05em;}
.aic-row .tx span{font-size:14.5px; color:var(--ink); font-weight:600;}
.aic-row .ck{flex:none; width:21px; height:21px; border-radius:50%; background:var(--wa); display:flex; align-items:center; justify-content:center; margin-top:2px;}
.aic-row .ck svg{width:12px; height:12px; stroke:#fff; fill:none; stroke-width:3.2;}
@media(prefers-reduced-motion:reduce){ .aic-row{opacity:1; transform:none; animation:none;} }
.app{margin-top:40px; border-radius:18px; overflow:hidden; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-lg);}
@keyframes appReveal{from{opacity:0; transform:translateY(26px) scale(.986);} to{opacity:1; transform:none;}}
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion: no-preference){
    .app{animation:appReveal linear both; animation-timeline:view(); animation-range:entry 6% entry 46%;}
  }
}
.app-bar{display:flex; align-items:center; gap:13px; padding:11px 16px; background:#f4f9f6; border-bottom:1px solid var(--line);}
.app-bar .dots{display:flex; gap:7px; flex:0 0 auto;}
.app-bar .dots i{width:11px; height:11px; border-radius:50%; background:#cdd9d3;}
.app-bar .dots i:nth-child(1){background:#f7b4ae;} .app-bar .dots i:nth-child(2){background:#f7dca6;} .app-bar .dots i:nth-child(3){background:#aee2bd;}
.app-bar .url{display:inline-flex; align-items:center; gap:7px; flex:0 1 330px; font-size:12.5px; font-weight:500; color:var(--muted); background:#fff; border:1px solid var(--line); border-radius:9px; padding:6px 12px; overflow:hidden; white-space:nowrap;}
.app-bar .url svg{width:12px; height:12px; stroke:var(--brand-700); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto;}
.app-bar .url b{color:var(--ink); font-weight:600;}
.app-bar .me{flex:0 0 auto; width:27px; height:27px; border-radius:50%; background:linear-gradient(140deg,var(--brand-2),var(--brand-700)); color:#fff; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; margin-left:auto;}

.app-body{position:relative; display:grid; grid-template-columns:210px 1fr; min-height:456px;}
.dt{position:absolute; top:0; left:0; width:1px; height:1px; opacity:0; pointer-events:none;}
.app-side{display:flex; flex-direction:column; padding:14px 11px; background:linear-gradient(180deg,#0d1424,#0a0f1c);}
.app-brand{display:flex; align-items:center; gap:9px; padding:5px 8px 14px; color:#fff; font-family:var(--display); font-weight:700; font-size:15px; letter-spacing:-.01em;}
.app-brand .mk{width:26px; height:26px; border-radius:8px; background:linear-gradient(140deg,var(--brand-2),var(--brand-700)); display:flex; align-items:center; justify-content:center; flex:0 0 auto;}
.app-brand .mk svg{width:15px; height:15px; stroke:#fff; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.app-nav{display:flex; flex-direction:column; gap:1px;}
.app-nav a{display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:9px; font-size:12.5px; font-weight:500; color:#9bc1b4; cursor:pointer;}
.app-nav a svg{width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto;}
.app-nav a .ct{margin-left:auto; font-size:10.5px; font-weight:700; color:#06231b; background:var(--wa); border-radius:6px; padding:1px 6px;}
.app-nav a:hover{color:#dff3e9; background:rgba(255,255,255,.05);}
#dt-pac:checked ~ .app-side .nav-pac,
#dt-inb:checked ~ .app-side .nav-inb,
#dt-acc:checked ~ .app-side .nav-acc,
#dt-age:checked ~ .app-side .nav-age,
#dt-rel:checked ~ .app-side .nav-anl{background:rgba(59,130,246,.24); color:#fff;}

.app-main{display:flex; flex-direction:column; min-width:0; background:#fff;}
.app-top{display:flex; align-items:center; gap:10px; padding:14px 18px; border-bottom:1px solid var(--line); flex-wrap:wrap;}
.tabs{display:flex; gap:4px; background:var(--cream); border:1px solid var(--line); border-radius:11px; padding:3px;}
.tab{font-size:12.5px; font-weight:600; color:var(--muted); padding:6px 13px; border-radius:8px; border:1px solid transparent; cursor:pointer; white-space:nowrap;}
.tab:hover{color:var(--brand-700);}
#dt-pac:checked ~ .app-main .tab[for="dt-pac"],
#dt-inb:checked ~ .app-main .tab[for="dt-inb"],
#dt-acc:checked ~ .app-main .tab[for="dt-acc"],
#dt-age:checked ~ .app-main .tab[for="dt-age"],
#dt-rel:checked ~ .app-main .tab[for="dt-rel"]{background:#fff; color:var(--brand-700); border-color:var(--line); box-shadow:0 1px 2px rgba(8,35,28,.08);}
#dt-pac:focus-visible ~ .app-main .tab[for="dt-pac"],
#dt-inb:focus-visible ~ .app-main .tab[for="dt-inb"],
#dt-acc:focus-visible ~ .app-main .tab[for="dt-acc"],
#dt-age:focus-visible ~ .app-main .tab[for="dt-age"],
#dt-rel:focus-visible ~ .app-main .tab[for="dt-rel"]{outline:3px solid var(--brand-2); outline-offset:2px;}
.app-tools{display:flex; align-items:center; gap:10px; margin-left:auto;}
.app-search{display:inline-flex; align-items:center; gap:7px; font-size:12.5px; color:var(--muted); background:var(--cream); border:1px solid var(--line); border-radius:9px; padding:7px 12px; min-width:0;}
.app-search svg{width:14px; height:14px; stroke:var(--muted); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto;}
.app-new{display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; color:#fff; background:linear-gradient(135deg,var(--brand-2),var(--brand)); border-radius:9px; padding:7px 13px; white-space:nowrap;}
.app-new svg{width:14px; height:14px; stroke:#fff; fill:none; stroke-width:2.2; stroke-linecap:round;}

.app-stat{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border-bottom:1px solid var(--line);}
.app-stat .st{background:#fff; padding:13px 18px; min-width:0;}
.app-stat .st .k{font-size:10.5px; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:.04em;}
.app-stat .st .v{font-family:var(--display); font-size:21px; font-weight:700; color:var(--ink); margin-top:4px; line-height:1; display:flex; align-items:baseline; gap:6px;}
.app-stat .st .v small{font-size:11px; font-weight:700; color:var(--brand); letter-spacing:0;}

.app-views{padding:14px 18px 20px;}
.view{display:none;}
#dt-pac:checked ~ .app-main .app-views .view-pac,
#dt-inb:checked ~ .app-main .app-views .view-inb,
#dt-acc:checked ~ .app-main .app-views .view-acc,
#dt-age:checked ~ .app-main .app-views .view-age,
#dt-rel:checked ~ .app-main .app-views .view-rel{display:block;}

.ptab{width:100%; border-collapse:collapse;}
.ptab th{text-align:left; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); padding:0 10px 10px;}
.ptab td{padding:9px 10px; border-top:1px solid var(--line); vertical-align:middle;}
.ptab tbody tr:hover td{background:var(--mint);}
.pp{display:flex; align-items:center; gap:10px;}
.pp .pav{width:32px; height:32px; border-radius:50%; flex:0 0 auto; display:flex; align-items:center; justify-content:center; font-size:11.5px; font-weight:700; color:var(--brand-700); background:var(--mint);}
.pp .pav.a2{color:#0e7490; background:#e0f2f7;} .pp .pav.a3{color:#9a6700; background:#fbedcd;} .pp .pav.a4{color:#475569; background:#eef2f5;}
.pp .pn{display:flex; flex-direction:column; line-height:1.25; min-width:0;}
.pp .pn b{font-size:13.5px; font-weight:600; color:var(--ink);}
.pp .pn i{font-size:11px; font-style:normal; color:var(--muted); display:flex; align-items:center;}
.pp .pn i::before{content:""; width:6px; height:6px; border-radius:50%; background:var(--wa); margin-right:5px; flex:0 0 auto;}
.ptab .mono{font-variant-numeric:tabular-nums; color:var(--body); font-size:12.5px;}
.ptab .ago{color:var(--muted); font-size:12px; white-space:nowrap;}

.bdg{display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:600; padding:3px 9px; border-radius:7px; white-space:nowrap;}
.bdg::before{content:""; width:6px; height:6px; border-radius:50%; background:currentColor;}
.b-acc{color:#0043cc; background:#e6efff;}
.b-ok{color:#0f7a3d; background:#e2f6e9;}
.b-ret{color:#9a6700; background:#fbedcd;}
.b-new{color:#475569; background:#eef2f5;}
.b-sch{color:#0e7490; background:#e0f2f7;}
.b-off{color:#64748b; background:#f1f5f9;}

.kanban{display:grid; grid-template-columns:repeat(4,1fr); gap:12px;}
.kcol{background:var(--cream); border:1px solid var(--line); border-radius:12px; padding:10px; min-width:0;}
.kh{display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:11.5px; font-weight:700; color:var(--ink); padding:2px 4px 10px;}
.kh span{font-size:10.5px; font-weight:700; color:var(--muted); background:#fff; border:1px solid var(--line); border-radius:20px; padding:1px 8px;}
.kcard{position:relative; background:#fff; border:1px solid var(--line); border-radius:10px; padding:9px 11px 9px 14px; margin-bottom:8px; overflow:hidden;}
.kcard:last-child{margin-bottom:0;}
.kcard::before{content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--brand-2);}
.kcard b{display:block; font-size:12.5px; font-weight:600; color:var(--ink);}
.kcard span{font-size:11px; color:var(--muted); display:block; margin-top:2px;}
.kcol:nth-child(1) .kcard::before{background:#94a3b8;}
.kcol:nth-child(2) .kcard::before{background:#22a6c4;}
.kcol:nth-child(3) .kcard::before{background:var(--brand-2);}
.kcol:nth-child(4) .kcard::before{background:#e0a800;}

.agday{font-size:11.5px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; padding:0 2px 13px;}
.agrow{display:flex; align-items:center; gap:13px; padding:11px 13px; border:1px solid var(--line); border-radius:12px; margin-bottom:9px;}
.agrow:last-child{margin-bottom:0;}
.agrow .agt{flex:0 0 auto; width:44px; font-variant-numeric:tabular-nums; font-size:13px; font-weight:700; color:var(--ink);}
.agrow .agc{flex:1; min-width:0; display:flex; flex-direction:column; line-height:1.3; border-left:3px solid var(--line); padding-left:13px;}
.agrow .agc b{font-size:13.5px; font-weight:600; color:var(--ink);}
.agrow .agc i{font-style:normal; font-size:11.5px; color:var(--muted);}
.agrow.c-ok .agc{border-color:var(--brand-2);}
.agrow.c-wait .agc{border-color:#e0a800;}
.agrow.free{border-style:dashed; background:var(--cream);}
.agrow.free .agc{border-color:transparent;}
.agrow.free .agc b{color:var(--muted);}

.inbox{display:grid; grid-template-columns:248px 1fr; gap:14px; min-height:340px;}
.ibx-list{display:flex; flex-direction:column; gap:3px; min-width:0;}
.ibx-it{display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; padding:9px 10px; border-radius:11px; cursor:pointer; min-width:0;}
.ibx-it:hover{background:var(--cream);}
.ibx-it.on{background:var(--mint);}
.ibx-av{flex:0 0 auto; width:34px; height:34px; border-radius:50%; background:var(--mint); color:var(--brand-700); font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center;}
.ibx-av.a2{color:#0e7490; background:#e0f2f7;} .ibx-av.a3{color:#9a6700; background:#fbedcd;}
.ibx-meta{min-width:0; display:flex; flex-direction:column; line-height:1.3;}
.ibx-meta b{font-size:13px; font-weight:600; color:var(--ink);}
.ibx-meta span{font-size:11.5px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.ibx-end{display:flex; flex-direction:column; align-items:flex-end; gap:5px;}
.ibx-end .t{font-size:10.5px; color:var(--muted); white-space:nowrap;}
.ibx-end .n{font-size:10px; font-weight:700; color:#06231b; background:var(--wa); border-radius:20px; min-width:16px; height:16px; display:flex; align-items:center; justify-content:center; padding:0 4px;}

.ibx-thread{display:flex; flex-direction:column; border:1px solid var(--line); border-radius:14px; overflow:hidden; min-width:0;}
.ibx-head{display:flex; align-items:center; gap:10px; padding:10px 13px; background:var(--wa-head); color:#fff;}
.ibx-head .ibx-av{background:rgba(255,255,255,.18); color:#fff;}
.ibx-head .h{min-width:0;}
.ibx-head .h b{font-size:13px; font-weight:600; display:block;}
.ibx-head .h i{font-style:normal; font-size:11px; color:rgba(255,255,255,.82);}
.ibx-head .bot{margin-left:auto; flex:0 0 auto; font-size:10.5px; font-weight:700; color:#06231b; background:var(--wa); padding:3px 9px; border-radius:20px; display:inline-flex; align-items:center; gap:6px;}
.ibx-head .bot::before{content:""; width:6px; height:6px; border-radius:50%; background:#06231b;}
.ibx-chat{flex:1; min-height:0; padding:13px; display:flex; flex-direction:column; justify-content:flex-end; gap:7px; background-color:var(--wall); background-image:var(--doodle);}
.ib-in,.ib-out{max-width:80%; font-size:12.5px; line-height:1.42; padding:7px 11px; border-radius:11px; box-shadow:0 1px 1px rgba(8,35,28,.08);}
.ib-in{align-self:flex-start; background:#fff; color:var(--ink); border-top-left-radius:3px;}
.ib-out{align-self:flex-end; background:var(--bubble); color:#0a2a16; border-top-right-radius:3px;}
.ibx-compose{display:flex; align-items:center; gap:9px; padding:10px 12px; background:#fff; border-top:1px solid var(--line);}
.ibx-compose .ai{flex:0 0 auto; font-size:10px; font-weight:700; color:var(--brand-700); background:var(--mint); padding:4px 8px; border-radius:7px; display:inline-flex; align-items:center; gap:5px;}
.ibx-compose .ai svg{width:12px; height:12px; stroke:var(--brand-700); fill:none; stroke-width:1.8; stroke-linejoin:round;}
.ibx-compose .in{flex:1; min-width:0; font-size:12.5px; color:var(--body); background:var(--cream); border:1px solid var(--line); border-radius:9px; padding:8px 11px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;}

.rel{display:grid; grid-template-columns:1.45fr 1fr; gap:14px;}
.rel-chart{border:1px solid var(--line); border-radius:14px; padding:16px 20px; display:flex; flex-direction:column;}
.rel-h{display:flex; align-items:baseline; justify-content:space-between; gap:10px; font-size:13px; font-weight:700; color:var(--ink);}
.rel-h span{font-size:11px; font-weight:600; color:var(--muted);}
.bars{display:grid; grid-template-columns:repeat(7,1fr); gap:10px; align-items:end; height:188px; margin:24px 0 26px;}
.bcol{position:relative; height:100%; display:flex; align-items:flex-end;}
.bar{position:relative; width:100%; height:var(--h); min-height:8px; border-radius:7px 7px 3px 3px; background:linear-gradient(180deg,var(--brand-2),var(--brand));}
.bar.today{background:#0043cc;}
.bar .val{position:absolute; top:-17px; left:0; right:0; text-align:center; font-size:10px; font-weight:700; color:var(--ink);}
.bcol .cap{position:absolute; bottom:-22px; left:0; right:0; text-align:center; font-size:10.5px; font-weight:600; color:var(--muted);}
.rel-side{display:flex; flex-direction:column; gap:12px;}
.rel-card{border:1px solid var(--line); border-radius:14px; padding:13px 16px;}
.rel-card .rk{font-size:10.5px; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:.04em;}
.rel-card .rv{font-family:var(--display); font-size:23px; font-weight:700; color:var(--ink); margin-top:5px; line-height:1; display:flex; align-items:baseline; gap:4px;}
.rel-card .rv small{font-size:13px; font-weight:700; color:var(--brand);}
.rel-card .rt{font-size:11.5px; color:var(--muted); margin-top:6px; display:flex; align-items:center; gap:6px;}
.rel-card .rt.up{color:var(--brand);}
.rel-card .rt.up::before{content:""; width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent; border-bottom:6px solid currentColor;}

.app-hint{display:flex; align-items:center; justify-content:center; gap:7px; margin-top:16px; font-size:13px; color:var(--muted);}
.app-hint svg{width:15px; height:15px; stroke:var(--brand-700); fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round;}

@media(max-width:820px){
  .app-side{display:none;}
  .kanban{grid-auto-flow:column; grid-auto-columns:236px; grid-template-columns:none; overflow-x:auto; padding-bottom:6px;}
}
@media(max-width:640px){
  .app-stat{grid-template-columns:1fr 1fr;}
  .app-search{display:none;}
  .ptab .hide-xs{display:none;}
  .kanban{grid-auto-columns:78%;}
  .inbox{grid-template-columns:1fr;}
  .ibx-list{display:none;}
  .rel{grid-template-columns:1fr;}
  .tabs{flex-wrap:wrap;}
  .app-top{padding:12px 14px;}
  .app-views{padding:12px 14px 18px;}
  .app-stat .st{padding:12px 14px;}
}
@media(max-width:420px){
  .tab{padding:6px 9px; font-size:11.5px;}
  .app-bar .url{font-size:11px;}
  .app-new span{display:none;}
}
@media(prefers-reduced-motion:reduce){
  *{animation:none !important; scroll-behavior:auto; transition:none !important;}
  .row{opacity:1; max-height:none;}
  .wa-pres .pt{display:none;}
  .row.t1,.row.t2{display:none;}
}

/* the original hid the sidebar under 820px but kept its 210px column, squeezing every view */
@media(max-width:820px){ .app-body{grid-template-columns:minmax(0,1fr);} }

/* ===== sharp pass: frames and finishing for the demos (their layouts above are unchanged) ===== */
/* the hero and step phones are a little larger; the bubble text scales with them */
.phone{width:340px;}
.screen{height:584px;}
.hero-panel .phone{width:352px;}
.hero-panel .screen{height:620px;}
.bubble{font-size:14.5px;}
.phone{background:#0d111b;}
.wa-av,.wa-mic{background:#128c7e;}
.wa-mic{box-shadow:0 6px 14px -5px rgba(7,94,84,.8);}
.app-new,.bar,.bar.today{background:var(--brand);}
.app-brand .mk{background:var(--brand); width:28px; height:28px; border-radius:var(--radius);}
.app-brand .mk svg{width:16px; height:16px; fill:#fff; stroke:none;}
.app-brand{font-family:"Inter",sans-serif; font-weight:700; font-size:15px;}
.app-stat .st .v,.rel-card .rv{font-family:"Inter",sans-serif; font-weight:700; font-variant-numeric:tabular-nums; letter-spacing:-.02em;}
.dashsim .app-main{background:#fff;}
.aic-row{border-radius:var(--radius);}
.aic-photo{border-radius:var(--radius);}
.aic-cap{color:var(--accent-dk);}
@keyframes appReveal{from{opacity:0; transform:translateY(24px);} to{opacity:1; transform:none;}}
.app-stat .st .k,.ptab th,.rel-card .rk{font-size:11px;}
.ptab .ago,.agrow .agc i,.kcard span,.ibx-meta span,.ibx-end .t,.bcol .cap,.rel-h span,.rel-card .rt,.pp .pn i{font-size:12px;}
.tab{padding:10px 14px; font-size:13px;}
.app-bar .url{font-size:12.5px;}
@media(max-width:640px){ .tab{min-height:44px; display:inline-flex; align-items:center;} }
@media(max-width:420px){ .tab{padding:8px 10px; font-size:12px;} }

/* the mobile hero: phone fills the panel width */
@media(max-width:520px){
  .phone,.hero-panel .phone{width:100%; max-width:340px;}
  .hero-panel .screen,.screen{height:584px;}
  .bubble{font-size:14px;}
}
@media(prefers-reduced-motion:reduce){
  .btn,.ul,.faq .pm::after{transition:none !important;}
}
.aic-grid{margin-top:0;}
.proof-h h2.title{font-size:clamp(28px,3.4vw,40px); max-width:24ch;}
.proof-h + .grid{margin-bottom:0;}
.proof-h.second{margin-top:80px;}
.cc-btn{min-height:44px;}
.nav-links a.ul{display:flex; align-items:center; min-height:44px; padding-bottom:0; background-position:0 calc(100% - 9px);}
.dashsim .actions .ul{display:inline-flex; align-items:center; min-height:44px; padding-bottom:0; background-position:0 calc(100% - 9px);}
.tab{min-height:44px; display:inline-flex; align-items:center;}
@media(max-width:860px){ .nav-links a.ul.hide-sm{display:none;} }

/* ===== bold pass: the demos re-skinned (their content and behaviour are unchanged) ===== */
.app-bar{background:#0f1522; border-bottom:1px solid var(--dline);}
.app-bar .url{background:#0a0d14; border-color:var(--dline); color:rgba(255,255,255,.74);}
.app-bar .url b{color:#fff;}
.app-bar .url svg{stroke:#8bb4ff;}
.app-bar .me{background:var(--brand);}
.app{border-radius:20px; border:1px solid rgba(139,180,255,.34); box-shadow:0 0 0 8px rgba(59,130,246,.08), 0 40px 120px -30px rgba(0,85,254,.6);}
.app-side{background:linear-gradient(180deg,#0d1424,#0a0f1c);}
.app-nav a{color:#a9b9d6;}
.app-nav a:hover{color:#fff; background:rgba(255,255,255,.06);}
.app-nav a .ct{background:var(--brand); color:#fff;}
.b-acc{color:#0043cc; background:#e6efff;}
.ibx-end .n{background:var(--brand); color:#fff;}
.bar.today{background:#0043cc;}
.aic-demo{border-radius:22px; border:1px solid var(--soft-line); background:#fff; box-shadow:0 30px 80px -40px rgba(0,85,254,.45);}
.aic-row .em{background:linear-gradient(140deg,#f4f8ff,#e3eeff); border-color:var(--soft-line);}
.aic-photo{background:linear-gradient(160deg,#0f1a33,#16274d);}
.kcard span,.ptab .ago{color:var(--muted);}

/* ===== proposal sections: calculator, what changes, comparison, offer ===== */
.sr{position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;}
.eyebrow{margin:0 auto 24px;}
.hero .eyebrow{display:flex; width:max-content; max-width:100%; white-space:normal; text-align:left;}

.calc{display:grid; gap:20px; min-width:0;}
@media(min-width:960px){ .calc{grid-template-columns:1.1fr .9fr; gap:28px; align-items:start;} }
.calc > *{min-width:0;}
.calc-in{background:var(--surface); border:1px solid var(--line); border-radius:22px; padding:28px 20px;}
@media(min-width:640px){ .calc-in{padding:36px;} }
.calc-in fieldset{border:0; margin:0; padding:0; min-width:0;}
.calc-in legend{padding:0; margin-bottom:18px; font-family:var(--mono); font-size:12px; line-height:1.2; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--accent-dk);}
.calc-grid{display:grid; gap:20px;}
@media(min-width:640px){ .calc-grid{grid-template-columns:1fr 1fr; gap:22px 24px;} }
.fld{min-width:0; display:flex; flex-direction:column;}
.fld label{display:block; font-weight:600; font-size:15px; line-height:1.35; color:var(--ink);}
.fld .hint{display:block; margin-top:2px; font-weight:400; font-size:13px; line-height:1.4; color:var(--muted);}
.fld .box{position:relative; margin-top:auto; padding-top:8px; display:flex; align-items:center;}
.fld input{width:100%; min-height:48px; font:inherit; font-size:17px; font-variant-numeric:tabular-nums; color:var(--ink); background:var(--tint); border:1px solid var(--line-strong); border-radius:12px; padding:0 14px;}
.fld input.pad-l{padding-left:46px;}
.fld input.pad-r{padding-right:40px;}
.fld .aff{position:absolute; top:calc(50% + 4px); transform:translateY(-50%); font-weight:600; color:var(--muted); pointer-events:none;}
.fld .aff.l{left:15px;}
.fld .aff.r{right:15px;}
.fld input:focus-visible{outline:3px solid var(--accent); outline-offset:2px; background:#fff;}
.fld input[aria-invalid="true"]{border-color:#b42318; background:#fff5f4;}
.formula{margin-top:28px; padding-top:24px; border-top:1px solid var(--line);}
.formula h3{font-size:16px; letter-spacing:-.015em; font-weight:800;}
.formula ol{margin-top:12px; display:grid; gap:8px; list-style:decimal; padding-left:22px; font-size:14px; line-height:1.5; color:var(--body);}
.formula li::marker{color:var(--muted); font-weight:600;}

.calc-out{position:relative; overflow:hidden; isolation:isolate; background:var(--d0); color:#fff; border:1px solid rgba(255,255,255,.12); border-radius:22px; padding:28px 20px; box-shadow:0 30px 80px -34px rgba(0,85,254,.7);}
@media(min-width:640px){ .calc-out{padding:36px;} }
@media(min-width:960px){ .calc-out{position:sticky; top:104px;} }
.calc-out::before{content:""; position:absolute; z-index:-1; left:50%; top:-30%; width:520px; height:360px; transform:translateX(-50%); background:radial-gradient(closest-side,rgba(0,85,254,.45),transparent);}
.calc-out .k{font-family:var(--mono); font-size:12px; line-height:1.3; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.72);}
.calc-out .big{margin-top:6px; font-family:var(--display); font-weight:800; font-size:clamp(36px,9vw,52px); line-height:1.05; letter-spacing:-.035em; font-variant-numeric:tabular-nums; overflow-wrap:anywhere;}
.calc-out .mid{margin-top:4px; font-family:var(--display); font-weight:800; font-size:clamp(24px,6vw,30px); line-height:1.15; letter-spacing:-.03em; font-variant-numeric:tabular-nums;}
.calc-out .yr{margin-top:20px;}
.calc-out dl{margin:20px 0 0; display:grid; gap:12px; grid-template-columns:1fr 1fr;}
.calc-out dt{font-size:13px; line-height:1.35; color:rgba(255,255,255,.72);}
.calc-out dd{margin:2px 0 0; font-weight:700; font-size:18px; font-variant-numeric:tabular-nums;}
.calc-out .plan-line{margin-top:24px; padding-top:20px; border-top:1px solid var(--dline);}
.calc-out .small{margin-top:6px; font-size:14px; line-height:1.5; color:rgba(255,255,255,.82);}
.calc-out .note{margin-top:20px; font-size:13px; line-height:1.5; color:rgba(255,255,255,.72);}
.calc-out .btn{margin-top:20px; white-space:normal; text-align:center; padding-top:12px; padding-bottom:12px; line-height:1.25;}
@media(max-width:520px){ .calc-out .btn{width:100%;} }

.fxs{display:grid; gap:16px; min-width:0;}
@media(min-width:760px){ .fxs{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(min-width:1100px){ .fxs.three{grid-template-columns:repeat(3,minmax(0,1fr));} .fxs.four{grid-template-columns:repeat(4,minmax(0,1fr));} }
.fx{display:flex; flex-direction:column; gap:14px; min-width:0; background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:26px 22px;}
.fx .pi{display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:13px; background:var(--soft); border:1px solid var(--soft-line); color:var(--accent);}
.fx .pi svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
.fx h3{font-size:20px; line-height:1.2; letter-spacing:-.025em; font-weight:800;}
.fx dl{margin:0; display:grid; gap:14px;}
.fx dt{font-family:var(--mono); font-size:11.5px; line-height:1.2; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--accent-dk);}
.fx dd{margin:4px 0 0; font-size:15px; line-height:1.55; color:var(--body);}
.fx ul.list li{padding:10px 0; font-size:15px;}
.fx ul.list li:first-child{padding-top:0;}
.cta-row{margin-top:40px; display:flex; flex-wrap:wrap; gap:12px 24px; align-items:center;}
.cta-row .ul{display:inline-flex; align-items:center; min-height:44px; padding-bottom:0; background-position:0 calc(100% - 9px); font-weight:500;}

.cmpt{width:100%; border-collapse:separate; border-spacing:0; background:var(--surface); border:1px solid var(--line); border-radius:20px; overflow:hidden; font-size:15px;}
.cmpt th,.cmpt td{padding:16px 18px; text-align:left; vertical-align:top; border-top:1px solid var(--line); line-height:1.5; color:var(--body);}
.cmpt thead th{border-top:0; background:var(--tint); font-family:var(--display); font-weight:800; font-size:16px; color:var(--ink);}
.cmpt tbody th{width:15%; font-weight:700; color:var(--ink);}
.cmpt .us{background:var(--soft); border-left:1px solid var(--soft-line); color:var(--ink);}
.cmpt thead th.us{color:var(--accent-dk);}
@media(max-width:899px){
  .cmpt,.cmpt tbody,.cmpt tr,.cmpt th,.cmpt td{display:block;}
  .cmpt thead{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0);}
  .cmpt tbody tr{border-top:1px solid var(--line); padding:6px 0 10px;}
  .cmpt tbody tr:first-child{border-top:0;}
  .cmpt tbody th{width:auto; padding:14px 18px 4px; border-top:0; font-family:var(--display); font-size:17px; letter-spacing:-.015em;}
  .cmpt td{border-top:0; padding:8px 18px;}
  .cmpt td::before{content:attr(data-label); display:block; margin-bottom:2px; font-family:var(--mono); font-size:11.5px; line-height:1.2; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--muted);}
  .cmpt .us{border-left:0; border-top:1px solid var(--soft-line); border-bottom:1px solid var(--soft-line);}
  .cmpt .us::before{color:var(--accent-dk);}
}
.sal{margin-top:24px; display:grid; gap:16px; padding:24px 20px; background:var(--soft); border:1px solid var(--soft-line); border-radius:20px;}
@media(min-width:900px){ .sal{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:32px; align-items:center; padding:28px 32px;} }
.sal .res{font-size:15px; line-height:1.55; color:var(--body); margin:0;}

.help{margin-top:32px; display:grid; gap:20px; padding:26px 20px; background:var(--soft); border:1px solid var(--soft-line); border-radius:22px; min-width:0;}
.help > *{min-width:0;}
@media(min-width:900px){ .help{grid-template-columns:1fr 1fr; gap:40px; padding:36px; align-items:start;} }
.help h3{font-size:24px; line-height:1.15; letter-spacing:-.03em; font-weight:800;}
.help .lead2{margin-top:8px; font-size:15px; line-height:1.55; color:var(--body); max-width:48ch;}
.help .calc-grid{margin-top:0;}
@media(min-width:640px){ .help .calc-grid{gap:20px;} }
.help .res{grid-column:1/-1; margin:0; padding:16px 18px; background:#fff; border:1px solid var(--soft-line); border-radius:14px; font-size:16px; line-height:1.55; color:var(--ink); font-weight:500;}
.offer{margin-top:40px;}
.offer-note{margin-top:16px; margin-bottom:64px; font-size:14px; color:var(--muted);}
#precos .grid.g3{margin-top:0;}
@media(min-width:760px){ #precos .grid.g3 .c{grid-column:span 2;} }


/* the floating action bar steps aside while the cookie banner is open */
body:has(.aaq-cc:not([hidden])) .mbar{display:none;}
