/* Shared public-site design layer. Kept outside the PHP pages so every website route
   gets the same navigation, surfaces, motion and responsive polish. */
:root {
  color-scheme: dark;
  --bg: #07111b;
  --bg2: #0d1b27;
  --card: rgba(16, 31, 44, .88);
  --line: rgba(155, 190, 207, .15);
  --ink: #edf5f8;
  --muted: #9db1bc;
  --accent: #54dfb0;
  --wa: #25d6a0;
  --wa-deep: #087f78;
  --shadow: 0 24px 70px -38px rgba(0, 0, 0, .86);
  --glow1: rgba(15, 185, 153, .20);
  --glow2: rgba(55, 114, 220, .16);
  --foot: #9aafb8;
  --ux-ease: cubic-bezier(.2, .75, .25, 1);
}
:root[data-bs-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1721;
  --bg2: #111f2b;
  --card: rgba(20, 35, 47, .91);
  --line: rgba(187, 213, 222, .13);
  --ink: #e8f1f5;
  --muted: #a0b3bc;
  --accent: #49d6b0;
  --wa: #23c79a;
  --wa-deep: #078b78;
  --shadow: 0 24px 70px -36px rgba(0, 0, 0, .8);
  --glow1: rgba(20, 184, 166, .13);
  --glow2: rgba(59, 130, 246, .11);
  --foot: #91a9b2;
}
:root[data-bs-theme="light"] {
  color-scheme: light;
  --bg: #f5f8fb;
  --bg2: #edf4f6;
  --card: rgba(255, 255, 255, .9);
  --line: rgba(18, 48, 66, .11);
  --ink: #102737;
  --muted: #536c79;
  --accent: #087f70;
  --wa: #16b981;
  --wa-deep: #087f70;
  --shadow: 0 22px 60px -34px rgba(13, 43, 61, .32);
  --glow1: rgba(20, 184, 166, .13);
  --glow2: rgba(59, 130, 246, .1);
  --foot: #45626e;
}
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { background-color: var(--bg) !important; background-image: radial-gradient(ellipse at 4% 10%, var(--glow1), transparent 32rem), radial-gradient(ellipse at 96% 32%, var(--glow2), transparent 34rem); color: var(--ink); }
.wrap { width: min(1200px, calc(100% - 48px)); }
.nav { background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom-color: color-mix(in srgb, var(--line) 72%, transparent); box-shadow: 0 8px 30px rgba(0, 0, 0, .22); }
.nav .wrap { height: 74px; }
.brand { flex: none; }
.brand img { filter: drop-shadow(0 3px 8px rgba(10, 66, 63, .08)); }
.menu { gap: 7px; margin-left: 12px; }
.menu a { position: relative; padding: 9px 11px; border-radius: 10px; transition: color .2s var(--ux-ease), background .2s var(--ux-ease); }
.menu a:hover, .menu a.on { color: var(--ink); background: color-mix(in srgb, var(--wa) 13%, transparent); }
.menu a.on { color: var(--accent); }
.menu a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--wa); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ux-ease); }
.menu a:hover::after, .menu a.on::after { transform: scaleX(1); }
.nav .right { gap: 12px; }
.icon-btn { transition: transform .2s var(--ux-ease), color .2s, border-color .2s, background .2s; }
.icon-btn:hover { transform: translateY(-2px) rotate(-4deg); }
.btn { border-radius: 13px; transition: transform .22s var(--ux-ease), box-shadow .22s var(--ux-ease), background .22s, border-color .22s; }
.btn-wa { background: linear-gradient(120deg, #19c990, #087c78 78%); box-shadow: 0 12px 28px -14px rgba(5, 126, 105, .8), inset 0 1px rgba(255,255,255,.25); }
.btn-wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(5, 126, 105, .72); }
.btn-ghost { background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(12px); }
.hero, .dhero { isolation: isolate; }
.hero::before, .hero::after { filter: blur(105px); }
.gridbg { opacity: .34; background-size: 48px 48px; }
.hero h1, .dhero h1 { letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.grad,
:root[data-bs-theme="dark"] .grad {
  background-image: linear-gradient(115deg, #0a9b69 5%, #08776f 56%, #075e54 100%);
}
.sh h2.live-section-heading,
:root[data-bs-theme="dark"] .sh h2.live-section-heading {
  background-image: linear-gradient(110deg, var(--ink) 0%, var(--ink) 38%, #0a9b69 47%, #08776f 53%, var(--ink) 62%, var(--ink) 100%);
}
.sh h2.live-section-heading::after,
:root[data-bs-theme="dark"] .sh h2.live-section-heading::after {
  background: linear-gradient(90deg, #0a9b69, #08776f, #075e54);
}
.badge, .pill { backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(16, 97, 87, .07); }
.phone { box-shadow: 0 36px 90px -36px rgba(10, 78, 77, .75), 0 0 0 1px rgba(255,255,255,.5); }
.phonecol::before { opacity: .78; }
.float {
  border-color: color-mix(in srgb, var(--wa) 32%, var(--line));
  background: color-mix(in srgb, var(--card) 90%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 38px -18px rgba(5, 126, 105, .48), inset 0 1px rgba(255, 255, 255, .35);
}
.float i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #16bd83, #08776f);
  box-shadow: 0 8px 18px -9px rgba(5, 126, 105, .85);
}
.float span { color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
section { position: relative; }
section:not(.hero):not(.final):not(.dhero):not(.stage) { scroll-margin-top: 86px; }
section.alt { background: linear-gradient(180deg, color-mix(in srgb, var(--bg2) 72%, transparent), color-mix(in srgb, var(--bg2) 35%, transparent)); border-block: 1px solid color-mix(in srgb, var(--line) 68%, transparent); }
.sh h2, .dsec h2 { letter-spacing: -.035em; text-wrap: balance; }
.sh p { max-width: 650px; }
.card, .step, .faq details, .win, .scene-wrap, .dsum .sum-box, .mcard { border-color: color-mix(in srgb, var(--line) 88%, transparent); box-shadow: 0 16px 42px -28px rgba(0, 0, 0, .68); }
.card { background: var(--card); backdrop-filter: blur(14px); transition: transform .32s var(--ux-ease), box-shadow .32s var(--ux-ease), border-color .32s; }
.card:hover, .mcard:hover { transform: translateY(-6px); box-shadow: 0 26px 54px -32px rgba(0, 0, 0, .78); border-color: color-mix(in srgb, var(--wa) 46%, var(--line)); }
.tile { background: linear-gradient(145deg, #21c995, #087c78 72%, #426fd0); box-shadow: 0 12px 26px -12px rgba(8, 127, 112, .65); }
.win, .scene-wrap { border-radius: 22px; background: radial-gradient(circle at 50% 5%, rgba(37, 211, 102, .16), transparent 38%), linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 249, 242, .72)); }
.spot { gap: clamp(32px, 5vw, 70px); padding-block: clamp(30px, 5vw, 58px); }
.dsec { padding-block: clamp(38px, 6vw, 76px); }
.dsec:nth-of-type(even) { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg2) 40%, transparent)); }
.scene-wrap { overflow: clip; border: 1px solid var(--line); box-shadow: 0 30px 80px -48px rgba(10, 51, 67, .46); background: radial-gradient(circle at 50% 5%, rgba(37, 211, 102, .16), transparent 38%), linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 249, 242, .72));}
.step { background: var(--card); border-radius: 20px; transition: transform .3s var(--ux-ease), border-color .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--wa) 42%, var(--line)); box-shadow: var(--shadow); }
.step::before { background: linear-gradient(140deg, #1bc992, #087b7c 78%); }
.use { background: var(--card); transition: transform .2s var(--ux-ease), border-color .2s; }
.use:hover { transform: translateY(-2px); border-color: var(--wa); }
.industry-card[data-industry-card] {
  min-height: 0;
  cursor: pointer;
  user-select: none;
}
.industry-card[data-industry-card]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--wa) 48%, transparent);
  outline-offset: 3px;
}
.industry-summary { display: grid; grid-template-columns: auto minmax(0, 1fr) 34px; align-items: center; gap: 13px; }
.industry-summary .industry-icon { margin: 0; }
.industry-title h3 { margin: 0 0 3px; }
.industry-title span { color: var(--muted); font-size: .72rem; font-weight: 600; }
.industry-toggle {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  background: var(--bg);
  transition: transform .28s ease, color .28s ease, background .28s ease;
}
.industry-details { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .38s ease, opacity .25s ease, margin .3s ease; }
.industry-details > p { margin: 0 0 17px; color: var(--muted); font-size: .88rem; }
.industry-card.expanded { border-color: color-mix(in srgb, var(--wa) 50%, var(--line)); box-shadow: var(--shadow); }
.industry-card.expanded .industry-details { max-height: 320px; margin-top: 18px; opacity: 1; }
.industry-card.expanded .industry-toggle { transform: rotate(45deg); color: #fff; background: var(--accent); }
.faq details { background: var(--card); border-radius: 15px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--wa) 45%, var(--line)); box-shadow: 0 12px 30px -24px rgba(8,127,112,.38); }
.faq summary { cursor: pointer; }
.faq summary:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--wa) 65%, white); outline-offset: 3px; }
.final .box { background: radial-gradient(circle at 82% 10%, rgba(112, 237, 207, .28), transparent 35%), linear-gradient(125deg, #087b70, #105975 72%, #394d92); box-shadow: 0 32px 76px -40px rgba(8, 82, 99, .8); }
footer:not(.site-footer) { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg2) 45%, transparent); }
footer:not(.site-footer) a { transition: color .18s, transform .18s; }
footer:not(.site-footer) a:hover { color: var(--accent); }
.site-footer { position: relative; overflow: hidden; padding: 0 0 26px; border-top: 1px solid rgba(255,255,255,.08); color: #9db5af; background: #071512; font-size: .86rem; }
.site-footer::before, .site-footer::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.site-footer::before { width: 560px; height: 560px; left: -300px; bottom: -340px; background: rgba(37,211,102,.15); filter: blur(100px); }
.site-footer::after { width: 420px; height: 420px; right: -260px; top: -220px; background: rgba(32,191,163,.12); filter: blur(90px); }
.site-footer .wrap { position: relative; z-index: 1; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta-copy { display: flex; align-items: center; gap: 16px; }
.footer-cta-icon { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(90,241,150,.25); border-radius: 17px; color: #5af196; background: rgba(37,211,102,.1); font-size: 1.35rem; box-shadow: 0 14px 30px -18px rgba(37,211,102,.65); }
.footer-cta h3 { margin: 0 0 5px; color: #fff; font-size: 1.25rem; }
.footer-cta p { margin: 0; color: #9db5af; }
.footer-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.site-footer .footer-login { border-color: rgba(255,255,255,.18); color: #e8f3f0; background: rgba(255,255,255,.06); }
.footer-main { display: grid; grid-template-columns: 1.45fr .85fr .85fr 1.15fr; gap: 46px; padding: 44px 0 38px; }
.footer-logo { display: block; width: 132px; height: auto; margin-bottom: 17px; }
.footer-brand p { max-width: 330px; margin: 0 0 19px; line-height: 1.75; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-trust span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; color: #c4d5d1; background: rgba(255,255,255,.04); font-size: .68rem; font-weight: 700; }
.footer-trust i { color: #4de78b; }
.site-footer h4 { margin: 2px 0 15px; color: #fff; font-family: 'Sora'; font-size: .84rem; letter-spacing: .02em; }
.footer-links { display: grid; gap: 2px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer .btn-wa { color: #fff; }
.footer-links a { position: relative; width: fit-content; padding: 5px 0; transition: color .2s ease, transform .2s ease; }
.footer-links a::before { content: ''; position: absolute; left: 0; bottom: 3px; width: 0; height: 1px; background: #4de78b; transition: width .2s ease; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-links a:hover::before { width: 100%; }
.footer-contact { padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.045); }
.footer-contact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-row > i { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #4de78b; background: rgba(37,211,102,.1); }
.footer-contact-row small { display: block; margin-bottom: 2px; color: #718d86; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-contact-row a, .footer-contact-row span { color: #dce9e6; font-weight: 600; }
.footer-contact .btn { width: 100%; margin-top: 2px; padding: 10px 14px; font-size: .82rem; }
.footer-bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #718d86; font-size: .72rem; }
.footer-disclaimer { text-align: center; line-height: 1.55; }
.back-top { display: inline-flex; align-items: center; gap: 7px; color: #c4d5d1 !important; font-weight: 700; }
.back-top i { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: #4de78b; }
.dhero { padding-block: clamp(48px, 8vw, 88px) 30px; }
.panel-overview { padding: 30px 0 58px; }
.panel-overview > .wrap { width: min(1200px, calc(100% - 48px)); max-width: 1200px; margin-inline: auto; }
.panel-overview-heading { margin-bottom: 24px; }
.panel-overview-heading h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.panel-overview-heading p { font-size: .94rem; }
.panel-overview-frame { position: relative; overflow: hidden; height: min(740px, 80vh); min-height: 640px; border: 1px solid color-mix(in srgb, var(--line) 90%, transparent); border-radius: 22px; background: var(--bg2); box-shadow: 0 30px 80px -48px rgba(0, 0, 0, .76); }
.panel-overview-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
/* .stage { background: radial-gradient(ellipse at 18% 18%, var(--glow1), transparent 33rem), radial-gradient(ellipse at 84% 82%, var(--glow2), transparent 30rem); } */
.sum, .dsum, .benefit { border-color: var(--line); }
.ux-progress { position: fixed; inset: 0 auto auto 0; z-index: 100; height: 3px; width: 0; background: linear-gradient(90deg, #23c995, #58a8dc); box-shadow: 0 0 12px rgba(35, 201, 149, .5); pointer-events: none; }
.ux-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ux-ease), transform .7s var(--ux-ease); }
.ux-reveal.ux-in { opacity: 1; transform: none; }
.ux-reveal.ux-left { transform: translateX(-18px); }
.ux-reveal.ux-left.ux-in { transform: none; }
:root[data-bs-theme="dark"] .nav { background: color-mix(in srgb, var(--bg) 82%, transparent); }
:root[data-bs-theme="dark"] .card, :root[data-bs-theme="dark"] .step, :root[data-bs-theme="dark"] .faq details, :root[data-bs-theme="dark"] .win, :root[data-bs-theme="dark"] .scene-wrap { box-shadow: 0 18px 48px -35px rgba(0,0,0,.7); }
@media (max-width: 1099.98px) {
  .nav .wrap { height: 68px; }
  .menu { top: 68px; padding: 12px 24px 18px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(20px); box-shadow: 0 22px 34px -28px rgba(0, 0, 0, .72); }
  .menu a { padding: 13px 12px; border-bottom-color: var(--line); }
  .menu a::after { display: none; }
  .menu a.on { background: color-mix(in srgb, var(--wa) 12%, transparent); }
}
@media (max-width: 980px) {
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 34px; }
  .footer-contact-wrap { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; gap: 12px; text-align: center; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 68px; }
  .wrap { width: min(100% - 30px, 540px); }
  .panel-overview { display: none; }
  .panel-overview > .wrap { width: calc(100% - 30px); }
  .panel-overview { padding: 24px 0 42px; }
  .panel-overview-frame { height: 610px; min-height: 0; border-radius: 16px; }
  .site-footer { padding-bottom: calc(22px + env(safe-area-inset-bottom)); font-size: .84rem; }
  .footer-cta { align-items: stretch; flex-direction: column; gap: 18px; padding: 24px 0; }
  .footer-cta-copy { align-items: flex-start; gap: 12px; }
  .footer-cta-icon { width: 46px; height: 46px; border-radius: 14px; }
  .footer-cta h3 { font-size: 1.1rem; line-height: 1.35; }
  .footer-cta p { font-size: .84rem; }
  .footer-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 8px; }
  .footer-actions .btn { min-height: 45px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 32px 0 28px; }
  .footer-brand, .footer-contact-wrap { grid-column: 1 / -1; }
  .footer-brand p { line-height: 1.65; }
  .footer-links { gap: 0; }
  .footer-links a { min-height: 40px; display: flex; align-items: center; padding: 8px 0; }
  .footer-contact { padding: 15px; border-radius: 16px; }
  .footer-bottom { gap: 10px; padding-top: 18px; font-size: .72rem; line-height: 1.55; }
  .nav .wrap { height: 62px; gap: 10px; }
  .brand img { height: 30px; }
  .nav .right { gap: 7px; }
  .nav .right>.btn { padding: 9px 12px; font-size: .82rem; }
  .icon-btn { width: 38px; height: 38px; }
  .hero h1, .dhero h1 { letter-spacing: -.035em; }
  .phonecol { overflow: visible; }
  .float.f1 { left: -1%; }
  .float.f2 { right: -1%; }
  .card, .step { border-radius: 17px; }
  .final .box { border-radius: 24px; padding: 42px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ux-reveal { opacity: 1; transform: none; }
}

/* Mobile app presentation -------------------------------------------------- */
@media (max-width: 620px) {
  :root {
    --mobile-gutter: 16px;
    --mobile-radius: 18px;
  }

  html { font-size: 15px; scroll-padding-top: 70px; }
  body {
    font-size: 1rem;
    line-height: 1.55;
    background-attachment: fixed;
    -webkit-tap-highlight-color: transparent;
  }
  .wrap { width: calc(100% - (var(--mobile-gutter) * 2)); }

  /* Compact sticky app bar */
  .nav {
    top: 0;
    padding-top: env(safe-area-inset-top);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    box-shadow: 0 8px 26px rgba(4, 23, 31, .12);
  }
  .nav .wrap { height: 60px; gap: 8px; }
  .brand img { height: 28px; }
  .nav .right { gap: 6px; }
  .nav .right > .btn {
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: .8rem;
  }
  .icon-btn { width: 40px; height: 40px; font-size: 1rem; }
  .menu {
    top: calc(60px + env(safe-area-inset-top));
    max-height: calc(100dvh - 60px - env(safe-area-inset-top));
    padding: 8px var(--mobile-gutter) 18px;
    overflow-y: auto;
    border-radius: 0 0 22px 22px;
  }
  .menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    font-size: .94rem;
    font-weight: 600;
  }

  /* Hero behaves like an app welcome screen */
  .hero { min-height: auto; padding: 22px 0 24px; }
  .hero .wrap { gap: 18px; }
  .hero .wrap > div:first-child { text-align: left; }
  .hero .badge {
    display: inline-flex;
    padding: 6px 10px;
    font-size: .72rem;
    line-height: 1.25;
  }
  .hero h1 {
    max-width: 18ch;
    margin: 12px 0 10px;
    font-size: clamp(1.85rem, 8.4vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -.045em;
  }
  .hero .lead {
    display: block;
    margin: 0 0 18px;
    font-size: .96rem;
    line-height: 1.55;
  }
  .hero .cta { gap: 10px; }
  .hero .cta .btn {
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 14px;
    font-size: .86rem;
  }
  .hero .cta .btn i { display: inline-block; }
  .hero .chips { display: none; }
  .phonecol { margin-top: 0; }
  .hero .float {
    display: flex;
    max-width: 145px;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: .72rem;
    line-height: 1.2;
    white-space: nowrap;
  }
  .hero .float i { width: 25px; height: 25px; border-radius: 8px; font-size: .82rem; }
  .hero .float.f1 { left: 0; top: 17%; }
  .hero .float.f2 { right: 0; bottom: 5%; }
  .phone {
    width: min(254px, 66vw);
    max-height: none;
    border-radius: 28px;
  }

  /* A native-feeling horizontal benefits rail */
  .trust { padding: 12px 0; overflow: hidden; }
  .trust .wrap {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 var(--mobile-gutter);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .trust .wrap::-webkit-scrollbar, .tour-tabs::-webkit-scrollbar { display: none; }
  .trust span {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    font-size: .78rem;
    scroll-snap-align: start;
  }
  .trust i { font-size: .94rem; }

  /* Mobile typography and spacing */
  section { padding: 48px 0; }
  .sh { margin-bottom: 26px; text-align: left; }
  .eyebrow { margin-bottom: 8px; font-size: .72rem; letter-spacing: .09em; }
  .sh h2 { font-size: clamp(1.55rem, 7vw, 1.9rem); line-height: 1.16; }
  .sh h2.live-section-heading { display: block; padding-bottom: 13px; }
  .sh h2.live-section-heading::after { left: 0; width: 48px; height: 3px; transform: none; }
  .sh p { margin-top: 11px; font-size: .94rem; line-height: 1.6; }
  .spot { gap: 22px; padding: 24px 0; }
  .spot h3 { margin: 5px 0 10px; font-size: 1.42rem; }
  .spot p.d { margin-bottom: 15px; font-size: .94rem; }

  /* Surfaces use the same rhythm as mobile app cards */
  .card, .step, .industry-card, .pricing-card, .journey-card,
  .faq-list details, .win, .scene-wrap {
    border-radius: var(--mobile-radius);
    box-shadow: 0 10px 30px -24px rgba(5, 31, 39, .5);
  }
  .card, .step { padding: 19px 17px; }
  .card h3, .step h3 { font-size: 1.04rem; }
  .card p, .step p { font-size: .9rem; line-height: 1.55; }

  #features .sh h2 { font-size: 1.55rem; line-height: 1.18; }
  #features .sh p { font-size: .9rem; }
  .feature-showcase { padding: 8px 6px 16px; border-radius: 22px; }
  .feature-stage { height: 300px; }
  .feature-card {
    width: 76%;
    min-height: 258px;
    padding: 18px 15px;
    border-radius: 18px;
  }
  .feature-card[data-pos="0"] {
    opacity: 1;
    transform: translate(-50%, -50%) translateZ(60px) scale(1);
  }
  .feature-card[data-pos="-1"] {
    opacity: .52;
    transform: translate(-50%, -50%) translate3d(-62%, 0, -100px) rotateY(18deg) scale(.76);
    filter: saturate(.7);
  }
  .feature-card[data-pos="1"] {
    opacity: .52;
    transform: translate(-50%, -50%) translate3d(62%, 0, -100px) rotateY(-18deg) scale(.76);
    filter: saturate(.7);
  }
  .feature-card[data-pos="-2"], .feature-card[data-pos="2"] { opacity: 0; }
  .feature-card .feature-top { margin-bottom: 12px; }
  .feature-card .tile { width: 43px; height: 43px; font-size: 1.1rem; }
  .feature-label { padding: 5px 8px; font-size: .62rem; }
  .feature-card h3 { margin-bottom: 7px; font-size: 1.05rem; line-height: 1.35; }
  .feature-card > p { min-height: 0; font-size: .84rem; line-height: 1.5; }
  .feature-benefit { margin-top: 13px; padding-top: 12px; font-size: .76rem; line-height: 1.4; }
  .feature-controls { margin-top: 2px; }
  .feature-arrow { width: 42px; height: 42px; }

  /* Dashboard preview: swipeable tabs and compact panels */
  .tour-shell { border-radius: 20px; }
  .tour-topbar { min-height: 58px; padding: 10px 12px; }
  .tour-brand img { width: 30px; height: 30px; }
  .tour-brand b { font-size: .82rem; }
  .tour-brand small { font-size: .7rem; }
  .tour-tabs {
    gap: 6px;
    padding: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .tour-tab {
    min-width: 118px;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 11px;
    font-size: .76rem;
    scroll-snap-align: start;
  }
  .tour-tab.active::after { display: none; }
  .tour-panel { padding: 21px 14px; gap: 20px; }
  .tour-panel .eyebrow { padding: 6px 9px; font-size: .68rem; }
  .tour-panel .copy h3 {
    margin: 4px 0 9px;
    font-size: 1.05rem;
    line-height: 1.35;
  }
  .tour-panel .copy p.d {
    margin-bottom: 14px;
    font-size: .88rem;
    line-height: 1.55;
  }
  .tour-panel .ticks { gap: 8px; font-size: .84rem; line-height: 1.45; }
  .tour-panel .ticks li { gap: 8px; }
  .tour-panel .ticks i { font-size: .95rem; }
  .tour-panel .demo-link {
    min-height: 42px;
    margin-top: 16px;
    padding: 9px 14px;
    font-size: .82rem;
  }
  .tour-panel .win .bar { padding-block: 10px; font-size: .72rem; }
  .tour-panel .win .body { padding: 16px; font-size: .84rem; }
  .tour-panel .fld label { font-size: .66rem; }
  .tour-panel .inp { padding: 9px 10px; font-size: .8rem; }
  .tour-panel .pill, .tour-panel .opt { font-size: .7rem; }
  .tour-panel .node { padding: 9px 12px; font-size: .76rem; }
  .tour-panel .code { padding: 15px; font-size: .7rem; line-height: 1.6; }
  .stats { gap: 7px; }
  .stat { padding: 10px 6px; }
  .stat b { font-size: 1.08rem; }
  .stat small { font-size: .68rem; }

  .journey { padding: 15px 12px; border-radius: 20px; }
  .journey-grid { gap: 14px; padding-left: 54px; }
  .journey-grid::before, .journey-grid::after { left: 22px; }
  .journey-node { left: -54px; width: 46px; height: 46px; border-radius: 14px; font-size: 1.05rem; }
  .journey-card { padding: 17px 15px; }
  .journey-card h3 { font-size: 1rem; }
  .journey-card p { font-size: .87rem; }

  .industry-grid, .pricing-grid { gap: 12px; }
  .industry-card { padding: 16px; }
  .industry-summary { grid-template-columns: auto minmax(0, 1fr) 32px; gap: 11px; }
  .industry-title span { font-size: .7rem; }
  .industry-card.expanded .industry-details { margin-top: 15px; }
  .industry-icon, .pricing-icon { width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; font-size: 1.2rem; }
  .industry-card h3 { font-size: 1.04rem; }
  .industry-details > p { margin-bottom: 14px; font-size: .86rem; }
  .industry-tags span { padding: 6px 8px; font-size: .72rem; }

  .pricing-formula { justify-content: flex-start; margin: -8px 0 24px; gap: 6px; }
  .pricing-formula span { padding: 7px 9px; font-size: .74rem; }
  .pricing-card { min-height: 0; padding: 21px 18px 19px; }
  .pricing-card h3 { font-size: 1.2rem; }
  .pricing-card > p, .pricing-list { font-size: .88rem; }
  .pricing-cta { margin-top: 22px; padding: 17px 15px; border-radius: 18px; }
  .pricing-cta-copy { align-items: flex-start; }

  .faq-help { padding: 21px 18px; border-radius: 20px; }
  .faq-help-icon { width: 46px; height: 46px; margin-bottom: 14px; }
  .faq-help h3 { font-size: 1.2rem; }
  .faq-list { gap: 9px; }
  .faq-list summary { grid-template-columns: 36px minmax(0, 1fr) 30px; gap: 9px; padding: 12px; }
  .faq-q-icon { width: 36px; height: 36px; border-radius: 11px; font-size: .95rem; }
  .faq-question b { font-size: .88rem; line-height: 1.4; }
  .faq-toggle { width: 30px; height: 30px; }
  .faq-answer { margin: 0 12px 0 57px; padding-bottom: 15px; font-size: .86rem; line-height: 1.6; }

  /* Single-column mobile footer */
  .site-footer { padding-bottom: calc(22px + env(safe-area-inset-bottom)); font-size: .84rem; }
  .footer-cta { gap: 18px; padding: 24px 0; }
  .footer-cta-copy { align-items: flex-start; gap: 12px; }
  .footer-cta-icon { width: 46px; height: 46px; border-radius: 14px; }
  .footer-cta h3 { font-size: 1.1rem; line-height: 1.35; }
  .footer-cta p { font-size: .84rem; }
  .footer-actions { grid-template-columns: 1fr 1fr; width: 100%; gap: 8px; }
  .footer-actions .btn { min-height: 45px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 32px 0 28px; }
  .footer-brand, .footer-contact-wrap { grid-column: 1 / -1; }
  .footer-brand p { line-height: 1.65; }
  .footer-links { gap: 0; }
  .footer-links a { min-height: 40px; display: flex; align-items: center; padding: 8px 0; }
  .footer-contact { padding: 15px; border-radius: 16px; }
  .footer-bottom { gap: 10px; padding-top: 18px; font-size: .72rem; line-height: 1.55; }
}

@media (max-width: 380px) {
  .nav .right > .btn { padding-inline: 9px; font-size: .75rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero .cta { flex-direction: row; gap: 7px; }
  .hero .cta .btn { width: auto; padding-inline: 8px; font-size: .78rem; }
  .phone { width: min(195px, 70vw); }
  .hero .float { padding: 7px 8px; font-size: .66rem; }
  .hero .float.f1 { left: -2px; }
  .hero .float.f2 { right: -2px; }
}

/* Campaign creation and delivery walkthrough */
.campaign-demo { overflow: hidden; }
.campaign-demo .bar { position: relative; z-index: 3; }
.campaign-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 68px minmax(150px, .78fr);
  align-items: center;
  gap: 12px;
  min-height: 350px;
  padding: 20px;
  background: radial-gradient(circle at 78% 35%, rgba(37, 211, 102, .13), transparent 34%), var(--bg);
}
.campaign-compose { display: grid; gap: 9px; min-width: 0; }
.compose-head { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 9px; margin-bottom: 2px; }
.compose-head > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #16bd83, #08776f); }
.compose-head b, .compose-head small { display: block; }
.compose-head b { font: 700 .86rem 'Sora'; }
.compose-head small { color: var(--muted); font-size: .68rem; }
.compose-head em { padding: 5px 7px; border-radius: 7px; color: var(--muted); background: var(--bg2); font-size: .62rem; font-style: normal; font-weight: 700; }
.compose-field { position: relative; padding: 9px 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--card); animation: campaignField 9s infinite; }
.compose-field::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent, rgba(37, 211, 102, .11), transparent); transform: translateX(-110%); animation: fieldSweep 9s infinite; }
.compose-field small, .compose-field strong { position: relative; z-index: 1; display: block; }
.compose-field small { margin-bottom: 2px; color: var(--muted); font-size: .61rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.compose-field strong { padding-right: 84px; overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.compose-field > span { position: absolute; z-index: 1; right: 8px; top: 50%; display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 7px; color: var(--accent); background: rgba(37, 211, 102, .1); font-size: .58rem; font-weight: 700; transform: translateY(-50%); }
.field-template, .field-template::after { animation-delay: 1.15s; }
.field-time, .field-time::after { animation-delay: 2.3s; }
.campaign-send { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 2px; border-radius: 11px; color: #fff; background: linear-gradient(120deg, #19c990, #087c78); font-size: .74rem; font-weight: 800; box-shadow: 0 11px 24px -15px rgba(5, 126, 105, .85); animation: campaignSend 9s 3.1s infinite; }
.delivery-stream { position: relative; align-self: stretch; min-height: 240px; }
.stream-line { position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: linear-gradient(90deg, rgba(37,211,102,.2), var(--wa), rgba(37,211,102,.2)); }
.delivery-stream small { position: absolute; left: 50%; bottom: 26%; color: var(--accent); font-size: .58rem; font-weight: 800; transform: translateX(-50%); opacity: 0; animation: sendingLabel 9s infinite; }
.message-packet { position: absolute; z-index: 2; left: -4px; top: calc(50% - 14px); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #26d568, #0a8e78); box-shadow: 0 8px 20px -8px rgba(18,140,126,.9); opacity: 0; animation: packetFly 9s 3.65s infinite; }
.packet-two { animation-delay: 3.95s; }
.packet-three { animation-delay: 4.25s; }
.delivery-phone { position: relative; width: min(164px, 100%); aspect-ratio: .54; justify-self: center; overflow: hidden; border: 4px solid #172122; border-radius: 23px; background: #efeae2; box-shadow: 0 20px 42px -24px rgba(5, 60, 53, .72); animation: phoneReceive 9s infinite; }
.delivery-notch { position: absolute; z-index: 4; left: 50%; top: 5px; width: 46px; height: 12px; border-radius: 99px; background: #121819; transform: translateX(-50%); }
.delivery-phone-head { height: 50px; display: flex; align-items: flex-end; gap: 5px; padding: 0 9px 8px; color: #15232a; background: #f0f2f5; font-size: .65rem; }
.delivery-phone-head span { margin-right: 2px; color: #0a9b86; }
.delivery-phone-head > i { color: #49a9dd; }
.delivery-chat { min-height: calc(100% - 50px); padding: 18px 7px 8px; background-image: radial-gradient(rgba(0,0,0,.05) 1px, transparent 1.2px); background-size: 15px 15px; }
.delivery-template { overflow: hidden; border-radius: 9px; color: #182329; background: #fff; box-shadow: 0 3px 9px rgba(0,0,0,.1); opacity: 0; transform: translateY(15px) scale(.94); animation: templateArrive 9s infinite; }
.delivery-banner { height: 62px; display: grid; place-items: center; margin-bottom: 7px; color: #fff; background: linear-gradient(135deg, #ff9747, #d53d84); font: 800 .78rem 'Sora'; }
.delivery-template strong, .delivery-template p { display: block; margin-inline: 7px; }
.delivery-template strong { font-size: .68rem; }
.delivery-template p { margin-block: 2px 8px; font-size: .58rem; line-height: 1.35; }
.delivery-template button { width: 100%; padding: 7px; border: 0; border-top: 1px solid #edf0f2; color: #0795e5; background: #fff; font-size: .62rem; font-weight: 700; }
.delivery-receipt { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 8px; color: #08776f; font-size: .56rem; font-weight: 800; opacity: 0; animation: receiptArrive 9s infinite; }
.campaign-playback { display: grid; grid-template-columns: 8px auto 1fr auto; align-items: center; gap: 8px; padding: 9px 14px; border-top: 1px solid var(--line); color: var(--muted); background: var(--card); font-size: .62rem; }
.playback-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,.12); animation: playbackPulse 1.2s ease-in-out infinite; }
.campaign-playback b { color: var(--ink); font-size: .64rem; }
.campaign-playback > div { height: 3px; overflow: hidden; border-radius: 99px; background: var(--bg2); }
.campaign-playback > div i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #16bd83, #08776f); transform-origin: left; animation: playback 9s linear infinite; }

@keyframes campaignField { 0%,8%,32%,100% { border-color: var(--line); box-shadow: none; } 11%,24% { border-color: rgba(37,211,102,.72); box-shadow: 0 0 0 3px rgba(37,211,102,.1); } }
@keyframes fieldSweep { 0%,8%,32%,100% { transform: translateX(-110%); } 12%,24% { transform: translateX(110%); } }
@keyframes campaignSend { 0%,5%,20%,100% { transform: scale(1); filter: none; } 8%,15% { transform: scale(1.04); filter: brightness(1.12); } }
@keyframes packetFly { 0%,42% { opacity: 0; transform: translateX(0) scale(.75); } 46% { opacity: 1; } 62% { opacity: 1; transform: translateX(50px) scale(1); } 66%,100% { opacity: 0; transform: translateX(58px) scale(.7); } }
@keyframes sendingLabel { 0%,40%,67%,100% { opacity: 0; } 46%,62% { opacity: 1; } }
@keyframes phoneReceive { 0%,53%,58%,100% { transform: translateX(0); } 55%,57% { transform: translateX(2px); } 56% { transform: translateX(-2px); } }
@keyframes templateArrive { 0%,54% { opacity: 0; transform: translateY(15px) scale(.94); } 61%,92% { opacity: 1; transform: none; } 98%,100% { opacity: 0; transform: translateY(5px); } }
@keyframes receiptArrive { 0%,64% { opacity: 0; transform: translateY(5px); } 70%,92% { opacity: 1; transform: none; } 98%,100% { opacity: 0; } }
@keyframes playback { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes playbackPulse { 50% { opacity: .45; transform: scale(.8); } }

@media (max-width: 620px) {
  .campaign-scene { grid-template-columns: minmax(0, 1fr) 42px 112px; gap: 5px; min-height: 292px; padding: 12px 8px; }
  .compose-head { grid-template-columns: 30px 1fr; gap: 7px; }
  .compose-head > span { width: 30px; height: 30px; border-radius: 9px; }
  .compose-head em, .compose-head small { display: none; }
  .compose-head b { font-size: .7rem; }
  .compose-field { padding: 7px; }
  .compose-field small { font-size: .52rem; }
  .compose-field strong { padding-right: 0; font-size: .63rem; }
  .compose-field > span { position: static; width: max-content; margin-top: 4px; font-size: .5rem; transform: none; }
  .campaign-send { min-height: 32px; font-size: .61rem; }
  .delivery-stream { min-height: 190px; }
  .message-packet { width: 23px; height: 23px; top: calc(50% - 12px); font-size: .7rem; }
  .delivery-stream small { display: none; }
  .delivery-phone { width: 108px; border-width: 3px; border-radius: 17px; }
  .delivery-notch { width: 34px; height: 9px; }
  .delivery-phone-head { height: 40px; padding: 0 6px 6px; font-size: .52rem; }
  .delivery-chat { min-height: calc(100% - 40px); padding: 12px 5px 5px; }
  .delivery-banner { height: 45px; font-size: .62rem; }
  .delivery-template strong { font-size: .54rem; }
  .delivery-template p { font-size: .48rem; }
  .delivery-template button { padding: 5px; font-size: .5rem; }
  .delivery-receipt { font-size: .46rem; }
  .campaign-playback { grid-template-columns: 7px auto 1fr; padding: 8px 10px; }
  .campaign-playback small { display: none; }
}

/* Guide-inspired product demonstrations */
.guided-demo { overflow: hidden; background: var(--card); }
.template-workbench, .calling-workbench, .flow-workbench { min-height: 340px; padding: 18px; background: var(--bg); }
.template-workbench { display: grid; grid-template-columns: minmax(0, 1fr) 154px; align-items: center; gap: 18px; }
.guide-form { display: grid; gap: 9px; min-width: 0; }
.guide-form-head, .api-console-head { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 9px; margin-bottom: 3px; }
.guide-form-head > span, .api-console-head > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--accent); background: color-mix(in srgb, var(--wa) 12%, var(--card)); }
.guide-form-head b, .guide-form-head small, .api-console-head b, .api-console-head small { display: block; }
.guide-form-head b, .api-console-head b { font: 700 .8rem 'Sora'; }
.guide-form-head small, .api-console-head small { color: var(--muted); font-size: .64rem; }
.guide-form-head em, .api-console-head em { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 99px; color: var(--muted); background: var(--bg2); font-size: .6rem; font-style: normal; font-weight: 800; }
.guide-field { position: relative; overflow: hidden; padding: 10px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); animation: guideField 8s infinite; }
.guide-field small, .guide-field b { display: block; }
.guide-field small { margin-bottom: 3px; color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.guide-field b { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.guide-field b i { margin-right: 5px; color: var(--accent); }
.template-step-two { animation-delay: 1.05s; }.template-step-three { animation-delay: 2.1s; }
.template-submit { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; color: #fff; background: linear-gradient(120deg,#19c990,#087c78); font-size: .7rem; font-weight: 800; animation: submitTemplate 8s 3s infinite; }
.guide-phone { position: relative; width: 142px; aspect-ratio: .53; justify-self: center; overflow: hidden; border: 4px solid #172122; border-radius: 22px; background: #efeae2; box-shadow: 0 18px 38px -22px rgba(5,60,53,.7); }
.guide-phone-notch { position: absolute; z-index: 2; left: 50%; top: 5px; width: 44px; height: 11px; border-radius: 99px; background: #111; transform: translateX(-50%); }
.guide-phone-head { height: 48px; display: flex; align-items: flex-end; gap: 5px; padding: 0 8px 7px; color: #17232a; background: #f0f2f5; font-size: .6rem; }
.guide-phone-head > i:last-child { color: #4ba9dc; }
.template-chat-bg { min-height: calc(100% - 48px); padding: 20px 6px 6px; background-image: radial-gradient(rgba(0,0,0,.05) 1px,transparent 1.2px); background-size: 15px 15px; }
.template-bubble { overflow: hidden; border-radius: 9px; color: #17232a; background: #fff; box-shadow: 0 3px 9px #0002; transform-origin: bottom; animation: previewTemplate 8s infinite; }
.template-art { height: 62px; display: grid; place-items: center; margin-bottom: 7px; color: #fff; background: linear-gradient(135deg,#ff9747,#d53d84); font: 800 .72rem 'Sora'; }
.template-bubble > b, .template-bubble > p { display: block; margin-inline: 7px; }.template-bubble > b { font-size: .62rem; }.template-bubble > p { margin-block: 2px 7px; font-size: .53rem; line-height: 1.35; }
.template-bubble button { width: 100%; padding: 6px; border: 0; border-top: 1px solid #edf0f2; color: #0795e5; background: #fff; font-size: .56rem; font-weight: 800; }
.demo-statusbar { display: grid; grid-template-columns: 8px auto 1fr auto; align-items: center; gap: 8px; padding: 9px 13px; border-top: 1px solid var(--line); color: var(--muted); background: var(--card); font-size: .6rem; }
.status-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,.12); animation: playbackPulse 1.2s infinite; }
.demo-statusbar b { color: var(--ink); font-size: .62rem; }.demo-statusbar > div { height: 3px; overflow: hidden; border-radius: 9px; background: var(--bg2); }.demo-statusbar > div i { display: block; height: 100%; background: linear-gradient(90deg,#16bd83,#08776f); animation: playback 8s linear infinite; transform-origin: left; }
.demo-statusbar em { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-style: normal; font-weight: 800; }

.calling-workbench { display: grid; grid-template-columns: minmax(120px,.72fr) minmax(160px,1fr); gap: 14px; }
.call-sidebar { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--card); }.call-sidebar > b { display: block; padding: 12px; border-bottom: 1px solid var(--line); font-size: .72rem; }
.call-person { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 8px; padding: 11px 9px; border-bottom: 1px solid var(--line); }.call-person.active { background: color-mix(in srgb,var(--wa) 9%,var(--card)); }
.call-person > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #18aa81; font-size: .58rem; font-weight: 800; }.call-person strong,.call-person small { display: block; }.call-person strong { font-size: .64rem; }.call-person small { color: var(--muted); font-size: .54rem; }.call-person > i { color: var(--accent); font-size: .72rem; }
.live-call-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; border-radius: 15px; color: #fff; background: radial-gradient(circle at 50% 18%,rgba(64,225,161,.22),transparent 30%),linear-gradient(160deg,#103c36,#071c1a); text-align: center; }
.call-live-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid #ffffff22; border-radius: 99px; background: #ffffff0d; font-size: .56rem; font-weight: 700; }.call-live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #42e68d; animation: playbackPulse 1s infinite; }
.call-avatar { width: 66px; height: 66px; display: grid; place-items: center; margin: 14px 0 8px; border: 2px solid #ffffff28; border-radius: 50%; background: linear-gradient(145deg,#27d476,#0b8d7a); font: 800 1.2rem 'Sora'; box-shadow: 0 0 0 0 rgba(37,211,102,.35); animation: callRing 2s infinite; }.live-call-card h4 { margin: 0; color: #fff; font-size: .9rem; }.live-call-card > p { margin: 3px 0 0; color: #a8c2bd; font-size: .62rem; }
.call-wave { height: 28px; display: flex; align-items: center; gap: 3px; margin: 10px 0; }.call-wave i { width: 3px; height: 8px; border-radius: 3px; background: #52dfa8; animation: callWave .8s ease-in-out infinite alternate; }.call-wave i:nth-child(2n){animation-delay:-.2s}.call-wave i:nth-child(3n){animation-delay:-.4s}
.call-actions { display: flex; gap: 24px; }.call-actions button { width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; font-size: .95rem; }.call-actions .decline { background:#ed4c5c }.call-actions .answer { background:#23c76d; animation: answerCall 8s infinite; }.call-connected { margin-top: 11px; color: #8de2bd; font-size: .55rem; opacity: 0; animation: connectedCall 8s infinite; }

.flow-workbench { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(118px,.55fr); gap: 12px; min-width: 0; }
.flow-canvas-mini { display: flex; align-items: center; justify-content: center; min-width: 0; max-width: 100%; overflow: hidden; padding: 16px 10px; border: 1px solid var(--line); border-radius: 14px; background-color: var(--card); background-image: radial-gradient(var(--line) .8px,transparent .8px); background-size: 17px 17px; }
.flow-guide-node { width: auto; min-width: 72px; max-width: 104px; min-height: 112px; display: flex; flex: 1 1 0; flex-direction: column; justify-content: center; padding: 10px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: 0 8px 20px -17px #000; text-align: center; animation: flowNode 9s infinite; }.flow-guide-node > span { color: var(--accent); font-size: .52rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }.flow-guide-node > i { margin: 7px 0; color: var(--accent); font-size: 1.15rem; }.flow-guide-node b { font-size: .65rem; }.flow-guide-node small { margin-top: 4px; color: var(--muted); font-size: .52rem; }.flow-message-node { animation-delay: 1.6s; }.flow-team-node { animation-delay: 3.2s; }.flow-connector { flex: 0 0 auto; margin: 0 4px; color: color-mix(in srgb,var(--wa) 55%,var(--line)); }
.flow-live-chat { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #efeae2; }.flow-chat-head { display: grid; grid-template-columns: 29px 1fr; align-items: center; gap: 7px; padding: 8px; color: #142129; background: #f0f2f5; }.flow-chat-head > span { grid-row: 1/3; width: 29px; height: 29px; display: grid; place-items:center; border-radius:50%; color:#fff; background:#15aa80; font-size:.52rem; font-weight:800; }.flow-chat-head b { font-size:.6rem; }.flow-chat-head small { color:#148b6a; font-size:.48rem; }.flow-chat-body { padding: 12px 7px; }.flow-chat-body p { width: fit-content; max-width: 92%; margin: 0 0 7px; padding: 7px; border-radius: 8px; color:#17232a; background:#fff; font-size:.52rem; box-shadow:0 2px 6px #0001; opacity:0; }.flow-chat-body .customer-msg { margin-left:auto; background:#d9fdd3; animation:chatStep 9s .4s infinite}.flow-chat-body .bot-msg{animation:chatStep 9s 2.1s infinite}.bot-msg button{display:block;width:100%;margin-top:4px;padding:4px;border:0;border-top:1px solid #edf0f2;color:#078bd2;background:#fff;font-size:.48rem}.flow-chat-body .handoff-msg{color:#08776f;background:#e6f7ed;animation:chatStep 9s 4.1s infinite}

.api-workbench { min-height: 340px; display:grid; gap:10px; align-content:center; padding:18px; background:var(--bg); }.api-console-head { margin:0; }.api-console-head em{color:var(--accent);background:color-mix(in srgb,var(--wa) 10%,var(--card))}.api-route{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--card)}.api-route span{padding:4px 6px;border-radius:6px;color:#fff;background:#168c6d;font-size:.55rem;font-weight:800}.api-route code{overflow:hidden;color:var(--ink);font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.api-route>i{color:var(--muted)}
.api-code-window{overflow:hidden;border:1px solid #1c333b;border-radius:12px;background:#0b1519;color:#cfe8e2}.api-code-window>div{display:flex;gap:4px;padding:6px;background:#111f24}.api-code-window>div span{padding:4px 7px;border-radius:6px;color:#7f9692;font-size:.54rem}.api-code-window>div span:first-child{color:#55dfa8;background:#18312b}.api-code-window pre{min-height:122px;margin:0;padding:13px;overflow:auto;color:#cfe8e2;font:500 .61rem/1.65 ui-monospace,Consolas,monospace;white-space:pre-wrap}.api-code-window pre b{color:#50dfa5}.api-code-window pre i{color:#ffd479;font-style:normal}.api-code-window pre strong{color:#9fb8ff;font-weight:500}.api-response{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:9px 10px;border:1px solid rgba(37,211,102,.25);border-radius:10px;background:rgba(37,211,102,.08);opacity:0;animation:apiResponse 8s infinite}.api-response span{color:var(--accent);font-size:.62rem;font-weight:800}.api-response code{overflow:hidden;color:var(--muted);font-size:.56rem;text-overflow:ellipsis;white-space:nowrap}

@keyframes guideField{0%,8%,32%,100%{border-color:var(--line);box-shadow:none}12%,24%{border-color:rgba(37,211,102,.7);box-shadow:0 0 0 3px rgba(37,211,102,.1)}}
@keyframes submitTemplate{0%,8%,28%,100%{transform:none;filter:none}12%,22%{transform:scale(1.03);filter:brightness(1.12)}}
@keyframes previewTemplate{0%,42%{opacity:.4;transform:scale(.94)}52%,92%{opacity:1;transform:none}98%,100%{opacity:.4;transform:scale(.96)}}
@keyframes callRing{70%{box-shadow:0 0 0 18px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
@keyframes callWave{to{height:24px}}
@keyframes answerCall{0%,42%,55%,100%{transform:none}47%,52%{transform:scale(1.12);box-shadow:0 0 0 8px rgba(35,199,109,.18)}}
@keyframes connectedCall{0%,55%,95%,100%{opacity:0;transform:translateY(4px)}62%,90%{opacity:1;transform:none}}
@keyframes flowNode{0%,8%,30%,100%{border-color:var(--line);transform:none}12%,24%{border-color:var(--wa);transform:translateY(-4px);box-shadow:0 9px 22px -12px rgba(18,140,126,.5)}}
@keyframes chatStep{0%,10%,85%,100%{opacity:0;transform:translateY(6px)}18%,76%{opacity:1;transform:none}}
@keyframes apiResponse{0%,48%,96%,100%{opacity:0;transform:translateY(5px)}58%,90%{opacity:1;transform:none}}

@media(max-width:620px){
  .template-workbench,.calling-workbench,.flow-workbench,.api-workbench{min-height:290px;padding:10px}
  .template-workbench{grid-template-columns:minmax(0,1fr) 105px;gap:8px}.guide-form-head{grid-template-columns:30px 1fr}.guide-form-head>span{width:30px;height:30px}.guide-form-head em,.guide-form-head small{display:none}.guide-field{padding:7px}.guide-field small{font-size:.5rem}.guide-field b{font-size:.59rem}.template-submit{min-height:31px;font-size:.58rem}.guide-phone{width:102px;border-width:3px;border-radius:17px}.guide-phone-notch{width:32px;height:8px}.guide-phone-head{height:38px;padding:0 5px 5px;font-size:.48rem}.template-chat-bg{min-height:calc(100% - 38px);padding:12px 4px 4px}.template-art{height:43px;font-size:.56rem}.template-bubble>b{font-size:.49rem}.template-bubble>p{font-size:.44rem}.template-bubble button{font-size:.45rem;padding:5px}
  .demo-statusbar{grid-template-columns:7px auto 1fr;padding:8px 9px}.demo-statusbar em{display:none}
  .calling-workbench{grid-template-columns:94px 1fr;gap:7px}.call-sidebar>b{padding:8px;font-size:.6rem}.call-person{grid-template-columns:25px 1fr;padding:8px 6px;gap:5px}.call-person>span{width:25px;height:25px}.call-person>i,.call-person small{display:none}.call-person strong{font-size:.53rem}.live-call-card{padding:10px}.call-live-pill{font-size:.48rem}.call-avatar{width:52px;height:52px;margin:9px 0 6px}.live-call-card h4{font-size:.72rem}.call-wave{margin:6px 0}.call-actions button{width:36px;height:36px}
  .flow-workbench{grid-template-columns:1fr;gap:9px;min-height:390px;padding:12px}.flow-canvas-mini{min-height:176px;padding:12px 7px}.flow-guide-node{width:auto;min-width:0;max-width:none;min-height:126px;padding:9px 6px}.flow-guide-node>span{font-size:.47rem}.flow-guide-node>i{margin:6px 0;font-size:1.05rem}.flow-guide-node b{font-size:.58rem}.flow-guide-node small{font-size:.47rem}.flow-connector{margin:0 3px;font-size:.72rem}.flow-live-chat{min-height:178px;border-radius:12px}.flow-chat-head{grid-template-columns:28px 1fr;padding:8px}.flow-chat-head>span{width:28px;height:28px}.flow-chat-head b{font-size:.62rem}.flow-chat-head small{font-size:.5rem}.flow-chat-body{padding:10px 7px}.flow-chat-body p{padding:7px;font-size:.5rem}.bot-msg button{padding:5px;font-size:.48rem}
  .api-workbench{gap:7px}.api-console-head{grid-template-columns:30px 1fr auto}.api-console-head>span{width:30px;height:30px}.api-console-head b{font-size:.65rem}.api-console-head small{font-size:.5rem}.api-console-head em{font-size:.48rem}.api-route{padding:7px}.api-route code{font-size:.56rem}.api-code-window pre{min-height:100px;padding:9px;font-size:.5rem}.api-response{padding:7px}.api-response span{font-size:.52rem}.api-response code{font-size:.47rem}
}
