/* Adjoltz website v2, shared base.
   Palette and type: WhatsApp for Business brand kit (tokens captured 2026-09-11).
   Structure: sleekflow.io homepage section order.
   Each version page sets its own world variables in an inline <style>. */

@font-face {
  font-family: "WhatsApp Sans Var";
  src: url("fonts/WhatsAppSansVF_W_Wght.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* kit palette */
  --dg: #103928;
  --dg2: #252C31;
  --green: #25D366;
  --btn: #43CD66;
  --cream: #FCF5EB;
  --lg: #E6FFDA;
  --lg2: #D8F4CC;
  --sage: #E7F0E4;
  --tan: #F1E9DE;
  --white: #FFFFFF;
  --gray1: #C4D0D4;
  --gray2: #526571;
  --black1: #1C1E21;
  --lightgray: #F0F4F9;
  --check: #20A6DF;
  --red: #EA0038;
  --yellow: #FFBC38;
  --teal: #128C7E;
  --w80: #FFFFFFCC;
  --w60: #FFFFFF99;
  --w40: #FFFFFF66;
  --w30: #FFFFFF4D;
  --w20: #FFFFFF33;
  --w15: #FFFFFF26;
  --w08: #FFFFFF14;

  --font: "WhatsApp Sans Var", Arial, sans-serif;
  --fs-h0: clamp(3rem, 2.6286rem + 1.5238vw, 4rem);
  --fs-h1: clamp(2.5rem, 2.1286rem + 1.5238vw, 3.5rem);
  --fs-h2: clamp(2.125rem, 1.85rem + 1.15vw, 3rem);
  --fs-h3: clamp(1.75rem, 1.6rem + .5vw, 2.25rem);
  --fs-h4: 1.75rem;
  --fs-h5: 1.5rem;
  --fs-h6: 1.25rem;
  --fs-lg: 1.25rem;
  --fs-md: 1.125rem;
  --fs-sm: 1rem;
  --fs-xs: .875rem;
  --fs-micro: .75rem;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;
  --r-3xl: 48px;
  --r-full: 999px;

  --max: 1200px;
  --pad: 24px;
  --sec: clamp(64px, 4vw + 44px, 112px);
  --gap: 24px;

  --shadow-panel: 0 34px 70px -40px rgba(16, 57, 40, .38), 0 2px 8px -3px rgba(16, 57, 40, .10);
  --shadow-card: 0 18px 36px -28px rgba(16, 57, 40, .40);
  --shadow-float: 0 22px 44px -24px rgba(16, 57, 40, .45);
  --ease: cubic-bezier(.22, .8, .2, 1);

  /* world defaults (light) */
  --page-bg: var(--white);
  --page-fg: var(--dg);
  --body-fg: var(--black1);
  --muted: var(--gray2);
  --rule: var(--gray1);
  --card-bg: var(--white);
  --card-border: var(--gray1);
  --alt-bg: var(--cream);
  --nav-bg: var(--white);
  --nav-fg: var(--dg);
  --nav-rule: var(--gray1);
  --hero-bg: var(--white);
  --hero-fg: var(--dg);
  --hero-h1: var(--dg);
  --hero-muted: var(--gray2);
  --feat-bg: var(--dg);
  --feat-fg: var(--white);
  --feat-h: var(--green);
  --feat-muted: var(--w80);
  --feat-card-bg: var(--w08);
  --feat-card-border: var(--w20);
  --feat-card-fg: var(--white);
  --feat-card-muted: var(--w80);
  --why-bg: var(--sage);
  --panel-bg: linear-gradient(180deg, var(--lg) 0%, var(--white) 100%);
  --proof-bg: var(--white);
  --proof-fg: var(--dg);
  --cta-bg: var(--dg);
  --cta-fg: var(--white);
  --cta-h: var(--green);
  --cta-muted: var(--w80);
  --footer-bg: var(--dg);
  --footer-fg: var(--white);
  --footer-muted: var(--w60);
  --footer-rule: var(--w20);
  --selection-bg: var(--lg2);
  --selection-fg: var(--dg);
  --focus: var(--btn);
  --link: var(--dg);
}

/* ---------- reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: var(--gray1) transparent; }
body {
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.45;
  color: var(--body-fg);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  caret-color: var(--dg);
}
::selection { background: var(--selection-bg); color: var(--selection-fg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
img, svg, video { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
strong, b { font-weight: 700; }
h1, h2, h3, h4 { font-weight: 400; color: var(--page-fg); letter-spacing: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h0); line-height: 1.0; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h5); line-height: 1.25; font-weight: 500; }
h4 { font-size: var(--fs-h6); line-height: 1.3; font-weight: 500; }
p { max-width: 62ch; }
.num, .price, time, .receipt, .stat { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); }
.sec-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head h2 { color: inherit; }
.sec-head p { font-size: var(--fs-lg); color: var(--muted); line-height: 1.4; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: inherit; }
.link svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.tick { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--btn); color: var(--dg); align-items: center; justify-content: center; flex: none; }
.tick svg { width: 13px; height: 13px; }
.ticket { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-micro); letter-spacing: 0; color: var(--muted); border: 1px solid var(--rule); border-radius: var(--r-full); padding: 3px 10px; white-space: nowrap; }
.ticket::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--btn); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 32px; border-radius: var(--r-3xl);
  font-size: var(--fs-sm); font-weight: 500; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--btn); color: var(--dg); border-color: var(--btn); }
.btn-primary:hover { background: var(--dg); color: var(--white); border-color: var(--dg); }
.btn-secondary { background: var(--white); color: var(--dg); border-color: var(--btn); }
.btn-secondary:hover { background: var(--lg); }
.btn-outline { background: transparent; color: var(--dg); border-color: var(--dg); }
.btn-outline:hover { background: var(--dg); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--w40); }
.btn-ghost:hover { background: var(--w15); border-color: var(--white); }
.btn-lg { padding: 20px 40px; font-size: var(--fs-md); }
.btn-sm { padding: 12px 22px; font-size: var(--fs-xs); }
.btn[disabled] { background: var(--gray1); color: var(--gray2); border-color: var(--gray1); cursor: not-allowed; transform: none; }
.on-dark .btn-primary:hover { background: var(--green); color: var(--dg); border-color: var(--green); }

/* ---------- top line ---------- */
.topline { background: var(--lg); color: var(--dg); font-size: var(--fs-xs); }
.topline .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 40px; flex-wrap: wrap; text-align: center; }
.topline a { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.topline svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); color: var(--nav-fg); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.nav.is-stuck { border-color: var(--nav-rule); box-shadow: 0 10px 30px -24px rgba(16, 57, 40, .35); }
.nav .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo img { height: 30px; width: auto; }
.logo.chip { background: var(--dg); border-radius: 12px; padding: 7px 12px 7px 12px; }
.logo.chip img { height: 24px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin-inline: auto; }
.nav-links a { display: inline-block; padding: 10px 12px; border-radius: var(--r-full); font-size: var(--fs-sm); font-weight: 500; color: inherit; white-space: nowrap; }
.nav-links a:hover { text-decoration: none; background: var(--w15); }
.nav.light .nav-links a:hover { background: var(--lg); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-actions .lang { padding: 10px 12px; font-weight: 500; font-size: var(--fs-sm); color: inherit; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; color: inherit; }
.burger svg { width: 24px; height: 24px; }
.mobile-menu { display: none; }
@media (max-width: 1040px) {
  .nav-links, .nav-actions .lang, .nav-actions .btn-secondary, .nav-actions .btn-ghost { display: none; }
  .burger { display: inline-flex; }
  .nav .wrap { gap: 12px; }
  .nav-actions { margin-left: auto; }
  .mobile-menu { display: none; position: fixed; inset: 76px 0 0 0; z-index: 49; background: var(--nav-bg); color: var(--nav-fg); padding: 24px var(--pad) 40px; overflow: auto; border-top: 1px solid var(--nav-rule); }
  .mobile-menu.open { display: block; }
  .mobile-menu ul { list-style: none; display: grid; gap: 4px; }
  .mobile-menu a { display: block; padding: 14px 8px; font-size: var(--fs-lg); border-bottom: 1px solid var(--nav-rule); color: inherit; }
  .mobile-menu .actions { display: grid; gap: 10px; margin-top: 24px; }
  .mobile-menu .actions .btn { color: var(--dg); border-bottom: 0; padding: 17px 32px; font-size: var(--fs-sm); text-align: center; }
  .mobile-menu .actions .btn-primary:hover { color: var(--white); }
}

/* ---------- tabs ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: var(--r-full); background: var(--tabs-bg, var(--lg)); border: 1px solid var(--tabs-border, transparent); }
.tab { padding: 12px 22px; border-radius: var(--r-full); font-size: var(--fs-sm); font-weight: 500; color: var(--tabs-fg, var(--dg)); transition: background-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease); }
.tab:hover { background: var(--tabs-hover, var(--w60)); }
.tab[aria-selected="true"] { background: var(--tabs-active-bg, var(--dg)); color: var(--tabs-active-fg, var(--white)); box-shadow: 0 6px 16px -10px rgba(16, 57, 40, .5); }
.tabpanel { display: none; }
.tabpanel.active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .tabs { display: flex; width: 100%; } .tab { flex: 1; padding: 11px 8px; font-size: var(--fs-xs); text-align: center; } }

/* ---------- mockups ---------- */
.mock-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; font-size: var(--fs-xs); color: var(--muted); flex-wrap: wrap; max-width: none; }
img.glass-bolt, img.hero-bolt { height: auto; }
.rates-line, .trust { max-width: none; }
.features .ticket { color: var(--feat-muted); border-color: var(--feat-card-border); }

/* chat */
.chat { width: 100%; max-width: 380px; background: var(--cream); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(16, 57, 40, .10); box-shadow: var(--shadow-float); color: var(--black1); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--dg); color: var(--white); }
.chat-head .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--dg); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.chat-head b { display: block; font-size: 15px; font-weight: 500; line-height: 1.2; }
.chat-head i { font-style: normal; font-size: 12px; color: var(--w60); }
.chat-head .status { margin-left: auto; font-size: 12px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.chat-head .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chat-body { padding: 18px 14px 16px; display: flex; flex-direction: column; gap: 8px; min-height: 250px; background-image: radial-gradient(rgba(16, 57, 40, .06) 1px, transparent 1px); background-size: 14px 14px; }
.msg { position: relative; max-width: 82%; padding: 9px 12px 8px; border-radius: 14px; font-size: 15px; line-height: 1.35; box-shadow: 0 1px 1px rgba(16, 57, 40, .08); }
.msg.in { align-self: flex-start; background: var(--white); border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--lg2); border-top-right-radius: 4px; }
.msg time { display: block; text-align: right; font-size: 11px; color: var(--gray2); margin-top: 4px; line-height: 1; }
.msg time svg { width: 15px; height: 11px; vertical-align: -1px; margin-left: 3px; color: var(--check); }
.chat-note { align-self: center; font-size: 12px; color: var(--dg); background: var(--white); border: 1px solid rgba(16, 57, 40, .12); padding: 4px 12px; border-radius: var(--r-full); }
.chat-sys { align-self: center; font-size: 12px; color: var(--gray2); }
.typing { align-self: flex-end; background: var(--lg2); border-radius: 14px; border-top-right-radius: 4px; padding: 10px 12px; display: none; gap: 4px; }
.typing.on { display: inline-flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--dg); opacity: .35; animation: blink 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; } .typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: .9; transform: translateY(-2px); } }
.live [data-t], .staged [data-t] { opacity: 0; transform: translateY(6px); }
.live [data-t].shown, .staged [data-t].shown { opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.chat-langs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 14px; border-top: 1px solid rgba(16, 57, 40, .10); background: var(--white); }
.chat-langs span { font-size: 12px; padding: 4px 10px; border-radius: var(--r-full); background: var(--cream); color: var(--dg); border: 1px solid rgba(16, 57, 40, .10); }
.chat-langs span.on { background: var(--dg); color: var(--white); border-color: var(--dg); }

/* inbox */
.inbox { display: grid; grid-template-columns: 240px 1fr; background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(16, 57, 40, .12); box-shadow: var(--shadow-float); color: var(--black1); font-size: 14px; min-height: 400px; }
.inbox-side { border-right: 1px solid rgba(16, 57, 40, .10); background: var(--white); }
.inbox-side .inbox-title { font-size: 12px; font-weight: 500; color: var(--gray2); padding: 14px 16px 8px; letter-spacing: 0; }
.inbox-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid rgba(16, 57, 40, .06); }
.inbox-row.on { background: var(--lg); }
.inbox-row .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--dg); background: var(--lg2); }
.inbox-row b { display: block; font-weight: 500; font-size: 14px; line-height: 1.2; }
.inbox-row small { display: block; color: var(--gray2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.inbox-row .tg { font-size: 11px; font-weight: 500; padding: 3px 7px; border-radius: var(--r-full); background: var(--cream); color: var(--dg); border: 1px solid rgba(16, 57, 40, .12); }
.inbox-row .tg.vip { background: var(--yellow); border-color: transparent; }
.inbox-row .tg.new { background: var(--lg2); border-color: transparent; }
.inbox-main { display: grid; grid-template-rows: auto 1fr auto; }
.inbox-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 1px solid rgba(16, 57, 40, .10); }
.inbox-stats div { padding: 14px 16px; border-right: 1px solid rgba(16, 57, 40, .08); }
.inbox-stats div:last-child { border-right: 0; }
.inbox-stats b { display: block; font-size: 22px; font-weight: 400; color: var(--dg); line-height: 1; }
.inbox-stats span { font-size: 12px; color: var(--gray2); }
.inbox-thread { padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--cream); background-image: radial-gradient(rgba(16, 57, 40, .06) 1px, transparent 1px); background-size: 14px 14px; }
.inbox-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid rgba(16, 57, 40, .10); font-size: 13px; color: var(--gray2); background: var(--white); }
.pill-ai { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-full); background: var(--lg); color: var(--dg); font-weight: 500; font-size: 12px; }
.pill-ai::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(37, 211, 102, .25); }
@media (max-width: 720px) { .inbox { grid-template-columns: 1fr; } .inbox-side { display: none; } .inbox-stats b { font-size: 18px; } }

/* broadcast */
.bcast { display: grid; gap: 14px; max-width: 420px; width: 100%; }
.bcast-card { background: var(--white); border-radius: var(--r-lg); border: 1px solid rgba(16, 57, 40, .12); box-shadow: var(--shadow-float); overflow: hidden; color: var(--black1); }
.bcast-to { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(16, 57, 40, .08); font-size: 13px; color: var(--gray2); flex-wrap: wrap; }
.bcast-to .tg { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: var(--r-full); background: var(--dg); color: var(--white); }
.bcast-media { aspect-ratio: 16 / 8; overflow: hidden; }
.bcast-media img { width: 100%; height: 100%; object-fit: cover; }
.bcast-text { padding: 14px 16px 6px; font-size: 15px; line-height: 1.4; }
.bcast-text[dir="rtl"] { text-align: right; }
.bcast-btns { display: grid; gap: 6px; padding: 8px 16px 14px; }
.bcast-btns span { display: block; text-align: center; padding: 10px; border-radius: 12px; background: var(--cream); color: var(--dg); font-weight: 500; font-size: 14px; }
.bcast-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: var(--lg); font-size: 12px; color: var(--dg); }
.bcast-meta b { font-weight: 500; }

/* stat strip inside mocks */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat-strip div { background: var(--white); border: 1px solid rgba(16, 57, 40, .12); border-radius: 14px; padding: 12px; text-align: center; }
.stat-strip b { display: block; font-weight: 400; font-size: 24px; color: var(--dg); line-height: 1; }
.stat-strip span { font-size: 12px; color: var(--gray2); }

/* template card */
.tpl { background: var(--white); border-radius: var(--r-lg); border: 1px solid rgba(16, 57, 40, .12); padding: 16px; box-shadow: var(--shadow-float); color: var(--black1); font-size: 14px; max-width: 420px; width: 100%; }
.tpl + .tpl { margin-top: 10px; }
.tpl-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tpl-head code { font-family: inherit; font-weight: 500; color: var(--dg); }
.tpl-head .ok { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--dg); background: var(--lg); padding: 4px 10px; border-radius: var(--r-full); }
.tpl p { color: var(--gray2); font-size: 14px; max-width: none; }
.tpl p[dir="rtl"] { text-align: right; }

/* report message */
.report { max-width: 380px; width: 100%; }
.report .msg { max-width: 100%; }
.report table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.report td { padding: 6px 0; border-top: 1px solid rgba(16, 57, 40, .10); }
.report td:last-child { text-align: right; font-weight: 500; color: var(--dg); }

/* mini inbox card (hero tab 3) */
.mini { background: var(--white); border-radius: var(--r-lg); border: 1px solid rgba(16, 57, 40, .12); box-shadow: var(--shadow-float); overflow: hidden; color: var(--black1); font-size: 14px; width: 100%; max-width: 420px; }
.mini .inbox-stats { grid-template-columns: repeat(4, 1fr); }
.mini .inbox-row small { max-width: 160px; }

/* ---------- logos ---------- */
.logos { padding-block: 40px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.logos .wrap { display: grid; gap: 22px; }
.logos-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.logos-top p { font-size: var(--fs-sm); color: var(--muted); }
.official { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--muted); }
.official img { height: 22px; width: auto; }
.official .sep { width: 1px; height: 18px; background: var(--rule); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(40px, 6vw, 84px); width: max-content; animation: scroll 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0); opacity: .68; }
.marquee-track img.l-fill { height: 44px; filter: grayscale(1); mix-blend-mode: multiply; opacity: .8; }
.on-dark .marquee-track img { filter: brightness(0) invert(1); opacity: .82; }
.on-dark .marquee-track img.l-fill { filter: none; mix-blend-mode: normal; opacity: .9; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- rate card strip ---------- */
.ratecard { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; background: var(--card-bg); }
.ratecard > div { padding: 22px 26px; display: grid; gap: 4px; border-right: 1px solid var(--rule); }
.ratecard > div:last-child { border-right: 0; }
.ratecard b { font-weight: 400; font-size: var(--fs-h4); color: var(--page-fg); line-height: 1.1; }
.ratecard span { font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 720px) { .ratecard { grid-template-columns: 1fr; } .ratecard > div { border-right: 0; border-bottom: 1px solid var(--rule); } .ratecard > div:last-child { border-bottom: 0; } }

/* ---------- features (dark block in Sleekflow) ---------- */
.features { background: var(--feat-bg); color: var(--feat-fg); }
.features .sec-head h2 { color: var(--feat-h); }
.features .sec-head p { color: var(--feat-muted); }
.crm-stage { position: relative; border-radius: var(--r-xl); padding: clamp(20px, 3vw, 40px); background: var(--stage-bg, var(--w08)); border: 1px solid var(--stage-border, var(--w15)); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.crm-stage .inbox { min-height: 380px; }
.crm-copy h3 { font-size: var(--fs-h3); font-weight: 400; color: inherit; line-height: 1.15; margin-bottom: 14px; }
.crm-copy p { color: var(--feat-muted); margin-bottom: 18px; font-size: var(--fs-md); }
.crm-copy ul { list-style: none; display: grid; gap: 10px; }
.crm-copy li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); }
.feat-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--gap); margin-top: var(--gap); }
.feat { position: relative; border-radius: var(--r-lg); padding: 28px; background: var(--feat-card-bg); border: 1px solid var(--feat-card-border); color: var(--feat-card-fg); display: grid; grid-template-rows: auto 1fr auto; gap: 18px; min-height: 300px; overflow: hidden; }
.feat .glass { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(16, 57, 40, .28)); }
.feat h3 { color: inherit; font-size: var(--fs-h5); margin-bottom: 8px; }
.feat p { color: var(--feat-card-muted); font-size: var(--fs-sm); }
.feat .link { color: inherit; font-size: var(--fs-sm); }
.official-line { display: flex; align-items: center; gap: 14px; margin-top: var(--gap); padding: 18px 24px; border-radius: var(--r-lg); background: var(--feat-card-bg); border: 1px solid var(--feat-card-border); font-size: var(--fs-sm); color: var(--feat-card-fg); }
.official-line svg { width: 28px; height: 28px; flex: none; color: var(--green); }
@media (max-width: 960px) { .crm-stage { grid-template-columns: 1fr; } .feat-grid { grid-template-columns: 1fr; } .feat { min-height: 0; } }

/* ---------- use cases (accordion) ---------- */
.usecases, .why, .more { color: var(--page-fg); }
.usecases { background: var(--use-bg, var(--page-bg)); }
.use-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.acc { display: grid; gap: 8px; }
.acc-item { border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--card-bg); overflow: hidden; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.acc-item.open { border-color: var(--dg); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; text-align: left; font-size: var(--fs-md); font-weight: 500; color: var(--page-fg); }
.acc-btn .idx { display: none; }
.acc-btn svg { width: 22px; height: 22px; flex: none; color: var(--dg); transition: transform .3s var(--ease); }
.acc-item.open .acc-btn svg { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 22px 20px; color: var(--muted); font-size: var(--fs-sm); }
.use-visual { position: sticky; top: 100px; min-height: 420px; border-radius: var(--r-xl); background: var(--use-visual-bg, var(--cream)); border: 1px solid var(--use-visual-border, transparent); display: grid; place-items: center; padding: clamp(20px, 3vw, 40px); }
.use-visual > div { display: none; width: 100%; justify-items: center; }
.use-visual > div.active { display: grid; animation: fadeUp .5s var(--ease); }
.use-visual .bcast-card, .use-visual .chat, .use-visual .tpl { margin-inline: auto; }
.use-foot { margin-top: clamp(36px, 4vw, 56px); }
.use-foot .card { padding: 32px 36px; border-radius: var(--r-lg); background: var(--card-bg); border: 1px solid var(--rule); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.use-foot .expo-line { display: grid; gap: 12px; padding-left: clamp(24px, 4vw, 48px); border-left: 1px solid var(--rule); }
.use-foot .expo-line p { color: var(--page-fg); font-size: var(--fs-md); }
.use-foot h3 { font-size: var(--fs-h4); font-weight: 400; margin-bottom: 8px; }
.use-foot p { color: var(--muted); font-size: var(--fs-sm); }
.use-foot .zeros { display: flex; gap: 28px; margin-top: 18px; flex-wrap: wrap; }
.use-foot .zeros > div { flex: 1 1 200px; }
.use-foot .zeros b { display: block; font-size: var(--fs-h3); font-weight: 400; color: var(--page-fg); line-height: 1; }
.use-foot .zeros span { font-size: var(--fs-xs); color: var(--muted); }
.use-foot .expo { background: var(--dg); color: var(--white); border-color: var(--dg); display: grid; align-content: space-between; gap: 18px; }
.use-foot .expo h3, .use-foot .expo p { color: inherit; }
.use-foot .expo p { color: var(--w80); }
@media (max-width: 900px) { .use-grid { grid-template-columns: 1fr; } .use-visual { position: static; } .use-foot .card { grid-template-columns: 1fr; } .use-foot .expo-line { padding-left: 0; border-left: 0; padding-top: 20px; border-top: 1px solid var(--rule); } }

/* ---------- why (6 cards) ---------- */
.why { background: var(--why-bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.why-card { background: var(--card-bg); border: 1px solid var(--why-card-border, transparent); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; align-content: start; min-height: 200px; }
.why-card .mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.why-card .mark svg { width: 22px; height: 22px; }
.why-card.yes .mark { background: var(--lg2); color: var(--dg); }
.why-card.no .mark { background: var(--cream); color: var(--dg); }
.why-card h3 { font-size: var(--fs-h6); font-weight: 500; }
.why-card p { color: var(--muted); font-size: var(--fs-sm); }
.why-card h4 { font-size: var(--fs-h6); font-weight: 500; line-height: 1.25; }
.why-card.yes h4 { font-size: var(--fs-h4); font-weight: 400; }
.why-groups { display: grid; gap: clamp(32px, 4vw, 48px); }
.why-group > h3 { font-size: var(--fs-h5); font-weight: 400; margin-bottom: 18px; color: var(--page-fg); }
.why-grid.two { grid-template-columns: repeat(2, 1fr); }
.why-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .why-grid, .why-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid, .why-grid.two, .why-grid.four { grid-template-columns: 1fr; } }

/* ---------- costs panel (integrations slot) ---------- */
.costs .panel { border-radius: var(--r-3xl); background: var(--panel-bg); border: 1px solid var(--panel-border, transparent); padding: clamp(28px, 4vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.costs .panel .sec-head { margin-bottom: 24px; }
.receipt { background: var(--white); border-radius: var(--r-lg); border: 1px solid rgba(16, 57, 40, .12); box-shadow: var(--shadow-float); overflow: hidden; color: var(--black1); }
.receipt-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 22px; background: var(--dg); color: var(--white); font-size: var(--fs-xs); }
.receipt-head b { font-weight: 500; font-size: var(--fs-sm); }
.receipt-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 22px; border-top: 1px solid rgba(16, 57, 40, .08); font-size: var(--fs-sm); }
.receipt-row:first-of-type { border-top: 0; }
.receipt-row span { color: var(--gray2); }
.receipt-row b { font-weight: 500; color: var(--dg); white-space: nowrap; }
.receipt-row.add b { color: var(--red); }
.receipt-row.zero { background: var(--lg); }
.receipt-row.zero span, .receipt-row.zero b { color: var(--dg); font-weight: 500; }
.receipt-foot { padding: 18px 22px 22px; background: var(--cream); display: grid; gap: 14px; }
.receipt-foot label { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--gray2); }
.receipt-foot label b { color: var(--dg); font-weight: 500; }
input[type="range"] { width: 100%; height: 28px; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: var(--r-full); background: linear-gradient(90deg, var(--btn) var(--fill, 20%), var(--lg2) var(--fill, 20%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: var(--r-full); background: var(--lg2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: var(--r-full); background: var(--btn); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--white); border: 2px solid var(--dg); box-shadow: 0 4px 10px -4px rgba(16, 57, 40, .5); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--dg); box-shadow: 0 4px 10px -4px rgba(16, 57, 40, .5); }
input[type="range"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.costs .big { font-size: var(--fs-h3); line-height: 1.15; color: var(--page-fg); margin-bottom: 14px; max-width: 18ch; }
.costs .big b { font-weight: 400; color: var(--red); }
.costs .note { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 22px; }
@media (max-width: 900px) { .costs .panel { grid-template-columns: 1fr; } .costs .big { max-width: none; } }
@media (max-width: 480px) { .receipt-head { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* ---------- proof (customer success bento) ---------- */
.proof { background: var(--proof-bg); color: var(--proof-fg); }
.proof .sec-head p { color: var(--proof-muted, var(--muted)); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(150px, auto); gap: var(--gap); }
.tile { border-radius: var(--r-lg); padding: 28px; background: var(--tile-bg, var(--cream)); border: 1px solid var(--tile-border, transparent); color: var(--tile-fg, var(--dg)); display: grid; align-content: space-between; gap: 18px; overflow: hidden; position: relative; }
.tile.quote { grid-column: span 7; grid-row: span 2; background: var(--tile-quote-bg, var(--dg)); color: var(--tile-quote-fg, var(--white)); }
.tile.quote blockquote { font-size: var(--fs-h3); line-height: 1.2; font-weight: 400; max-width: 20ch; }
.tile.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: var(--fs-sm); }
.tile.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; }
.tile.quote figcaption b { display: block; font-weight: 500; }
.tile.quote figcaption span { color: var(--tile-quote-muted, var(--w60)); font-size: var(--fs-xs); }
.tile.founder { grid-column: span 5; grid-row: span 2; }
.tile.founder blockquote, .tile.founder .fact { font-size: var(--fs-h4); line-height: 1.25; max-width: none; text-wrap: balance; }
.scene-title { text-wrap: balance; }
.tile.founder figcaption { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); }
.tile.founder figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tile.founder figcaption b { display: block; font-weight: 500; }
.tile.founder figcaption span { color: var(--tile-muted, var(--gray2)); font-size: var(--fs-xs); }
.tile.week { grid-column: span 4; }
.tile.week b { display: block; font-size: var(--fs-h2); font-weight: 400; line-height: 1; }
.tile.week span { font-size: var(--fs-sm); color: var(--tile-muted, var(--gray2)); }
.tile.langs { grid-column: span 8; }
.tile.langs h3 { font-size: var(--fs-h5); font-weight: 400; }
.tile.langs .list { display: flex; flex-wrap: wrap; gap: 8px; }
.tile.langs .list span { padding: 8px 14px; border-radius: var(--r-full); background: var(--tile-chip-bg, var(--white)); border: 1px solid var(--tile-chip-border, rgba(16, 57, 40, .12)); font-size: var(--fs-xs); }
.tile.logos-tile { grid-column: span 12; align-content: center; }
.tile.logos-tile .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 36px; }
.tile.logos-tile img { height: 28px; width: auto; max-width: 130px; object-fit: contain; filter: brightness(0); opacity: .62; }
.tile.logos-tile img.l-fill { filter: grayscale(1); mix-blend-mode: multiply; opacity: .75; }
.tile.on-dark img { filter: brightness(0) invert(1); opacity: .8; }
.tile .lbl { font-size: var(--fs-xs); color: var(--tile-muted, var(--gray2)); }
@media (max-width: 900px) { .tile.quote, .tile.founder, .tile.week, .tile.langs { grid-column: span 12; grid-row: auto; } .tile.quote blockquote { font-size: var(--fs-h4); } }

/* ---------- more (highlights) ---------- */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.more-card { display: grid; grid-template-rows: 220px 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--card-bg); border: 1px solid var(--rule); color: var(--page-fg); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.more-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-card); }
.more-card figure { position: relative; overflow: hidden; background: var(--cream); display: grid; place-items: center; }
.more-card figure img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform .6s var(--ease); }
.more-card figure img.guides { object-position: 50% 46%; }
.more-card:hover figure img.photo { transform: scale(1.04); }
.more-card figure img.glass { width: 120px; height: 120px; filter: drop-shadow(0 18px 22px rgba(16, 57, 40, .28)); }
.more-card figure.dark { background: var(--dg); }
.more-card .body { padding: 24px 26px 26px; display: grid; gap: 8px; align-content: start; }
.more-card h3 { font-size: var(--fs-h6); font-weight: 500; }
.more-card p { color: var(--muted); font-size: var(--fs-sm); }
.more-card .link { margin-top: 8px; }
@media (max-width: 900px) { .more-grid { grid-template-columns: 1fr; } }

/* ---------- CTA + form ---------- */
.cta .card { border-radius: var(--r-3xl); background: var(--cta-bg); color: var(--cta-fg); border: 1px solid var(--cta-border, transparent); padding: clamp(28px, 4vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.cta h2 { color: var(--cta-h); font-size: var(--fs-h1); line-height: 1.02; margin-bottom: 14px; }
.cta .lead { font-size: var(--fs-lg); color: var(--cta-muted); margin-bottom: 26px; }
.cta .founder { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--cta-rule, var(--w20)); }
.cta .founder img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.cta .founder blockquote { font-size: var(--fs-sm); line-height: 1.45; color: var(--cta-fg); }
.cta .founder cite { display: block; font-style: normal; font-size: var(--fs-xs); color: var(--cta-muted); margin-top: 8px; }
.form { background: var(--white); color: var(--black1); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; box-shadow: var(--shadow-float); }
.form h3 { color: var(--dg); font-weight: 400; font-size: var(--fs-h5); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-xs); font-weight: 500; color: var(--dg); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--gray1); background: var(--white); font-size: var(--fs-sm); color: var(--black1); transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--gray2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--dg); box-shadow: 0 0 0 3px rgba(67, 205, 102, .35); }
.field textarea { min-height: 96px; resize: vertical; }
.field .err { display: none; font-size: var(--fs-micro); color: var(--red); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red); }
.field.invalid .err { display: block; }
.form .fine { font-size: var(--fs-xs); color: var(--gray2); }
.form .fine a { text-decoration: underline; text-underline-offset: .15em; }
.form .btn { justify-content: center; }
.form .sent { display: none; padding: 14px 16px; border-radius: 12px; background: var(--lg); color: var(--dg); font-size: var(--fs-sm); }
.form.is-sent .sent { display: block; }
@media (max-width: 900px) { .cta .card { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--footer-bg); color: var(--footer-fg); padding-block: 64px 32px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer .about p { color: var(--footer-muted); font-size: var(--fs-xs); margin-top: 16px; max-width: 30ch; }
.footer h4 { font-size: var(--fs-micro); font-weight: 500; letter-spacing: .04em; color: var(--footer-muted); margin-bottom: 14px; text-transform: uppercase; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer li { font-size: var(--fs-xs); }
.footer li a { color: inherit; }
.footer .bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--footer-rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--footer-muted); }
.footer .bottom a { color: inherit; }
.footer .social { display: flex; gap: 8px; margin-top: 18px; }
.footer .social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--footer-rule); display: grid; place-items: center; color: inherit; }
.footer .social a:hover { background: var(--w15); text-decoration: none; }
.footer .social svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .footer .cols { grid-template-columns: 1fr 1fr; } .footer .about { grid-column: span 2; } }
@media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } .footer .about { grid-column: span 1; } }

/* ---------- floating whatsapp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--btn); color: var(--dg); display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(16, 57, 40, .55); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.wa-float.is-on { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.wa-float.is-on:hover { transform: translateY(-3px); text-decoration: none; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-group > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv-group.in > * { opacity: 1; transform: none; }
.rv-group.in > *:nth-child(2) { transition-delay: .08s; }
.rv-group.in > *:nth-child(3) { transition-delay: .16s; }
.rv-group.in > *:nth-child(4) { transition-delay: .24s; }
.rv-group.in > *:nth-child(5) { transition-delay: .32s; }
.rv-group.in > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv-group > * { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 28px 48px; }
  .marquee-track img[aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .live [data-t], .staged [data-t] { opacity: 1; transform: none; }
  .typing { display: none !important; }
  .tabpanel.active, .use-visual > div.active { animation: none; }
  .btn:hover, .more-card:hover { transform: none; }
}

/* depth on dark grounds: neutral shadow, offset and blurred */
.on-dark .chat, .on-dark .bcast-card, .on-dark .mini, .on-dark .inbox, .on-dark .receipt,
.world-a .features .inbox, .world-c .features .inbox, .world-c .costs .receipt { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }

/* ---------- collage stage (animated hero showcase) ----------
   Cards sit at natural size inside a fixed 1120x600 design stage, and the whole
   stage scales with --s. That keeps every existing card component untouched
   instead of re-sizing their internals at each breakpoint. */
.collage-wrap { --s: 1; position: relative; height: calc(600px * var(--s)); margin-top: clamp(24px, 3vw, 44px); }
.collage { position: relative; left: 50%; margin-left: -560px; width: 1120px; height: 600px; transform: scale(var(--s)); transform-origin: top center; }
.collage-panel { position: absolute; inset: 0; display: none; }
.collage-panel.active { display: block; }
.collage .c { position: absolute; }

/* the ground the cards float on */
.collage-field { position: absolute; z-index: 0; inset: 0; border-radius: var(--r-3xl); overflow: hidden; background: var(--field-bg, linear-gradient(160deg, var(--lg) 0%, #F4FBEF 42%, var(--white) 100%)); border: 1px solid var(--field-border, var(--lg2)); }
.collage-field::before, .collage-field::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.collage-field::before { width: 460px; height: 460px; left: -80px; top: -140px; background: radial-gradient(closest-side, rgba(67, 205, 102, .45), transparent); }
.collage-field::after { width: 520px; height: 520px; right: -120px; bottom: -180px; background: radial-gradient(closest-side, rgba(37, 211, 102, .28), transparent); }

/* a photo card: a framed photograph with an optional caption strip */
.c-photo { border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-float); }
.c-photo img { display: block; width: 100%; object-fit: cover; }
.c-photo figcaption { display: block; padding: 11px 14px 13px; font-size: var(--fs-xs); line-height: 1.4; color: var(--gray2); background: var(--white); }
.c-photo figcaption b { font-weight: 500; color: var(--dg); }
.c-plate span, .c-photo figcaption { text-wrap: pretty; }

/* a phone: the customer's end of the conversation */
.c-phone { border-radius: 32px; background: var(--dg); padding: 8px; box-shadow: var(--shadow-float); }
.c-phone .screen { border-radius: 24px; overflow: hidden; background: var(--cream); }
.c-phone .bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--dg); color: var(--white); }
.c-phone .bar .av { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--dg); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.c-phone .bar b { font-size: 13px; font-weight: 500; }
.c-phone .bar span { margin-left: auto; font-size: 11px; color: var(--green); }
.c-phone .thread { padding: 10px; display: grid; gap: 6px; background-image: radial-gradient(rgba(16, 57, 40, .06) 1px, transparent 1px); background-size: 14px 14px; }
.c-phone .thread img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; display: block; }
.c-phone .bub { background: var(--white); border-radius: 14px; border-top-left-radius: 4px; padding: 8px 10px; font-size: 12px; line-height: 1.35; color: var(--black1); box-shadow: 0 1px 1px rgba(16, 57, 40, .08); }
.c-phone .bub.out { background: var(--lg2); border-top-left-radius: 14px; border-top-right-radius: 4px; justify-self: end; }
.c-phone .bub time { display: block; text-align: right; font-size: 11px; color: var(--gray2); margin-top: 3px; }
.c-phone .bub time svg { width: 12px; height: 9px; vertical-align: -1px; margin-left: 2px; color: var(--check); }
.c-phone .bub[dir="rtl"] { text-align: right; }

/* a small fact plate */
.c-plate { border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-float); padding: 14px 18px; display: grid; gap: 2px; }
.c-plate b { font-size: var(--fs-h5); font-weight: 400; color: var(--dg); line-height: 1.1; }
.c-plate span { font-size: var(--fs-micro); color: var(--gray2); }

.collage .stat-strip { background: var(--white); border-radius: var(--r-md); padding: 10px; box-shadow: var(--shadow-float); }
.collage .stat-strip div { border: 0; }
.collage .chat, .collage .bcast-card, .collage .tpl, .collage .inbox { box-shadow: var(--shadow-float); }

@media (max-width: 1180px) { .collage-wrap { --s: .86; } }
@media (max-width: 1020px) { .collage-wrap { --s: .74; } }
@media (max-width: 900px)  { .collage-wrap { --s: .62; } }
@media (max-width: 760px) {
  /* below this the collage cannot hold five cards, so it becomes one column */
  .collage-wrap { --s: 1; height: auto; }
  .collage { left: auto; margin-left: 0; width: 100%; height: auto; transform: none; }
  .collage-panel { position: static; inset: auto; }
  .collage-panel.active { display: grid; gap: 16px; justify-items: center; padding: 20px 0; }
  .collage .c { position: relative !important; z-index: 1; width: 100% !important; max-width: 340px; inset: auto !important; }
  .collage .c.hide-sm { display: none; }
  .collage-frame { position: static; overflow: visible; inset: auto; }
  .collage-cam { position: static; width: auto; height: auto; transform: none !important; }
  .collage-field { inset: -16px -12px; }
}
@media (prefers-reduced-motion: reduce) { .collage-panel.active .c { animation: none; } }

/* ---------- collage choreography ----------
   Entrance varies by position, then each card breathes on its own cycle.
   Entrance drives `transform`; parallax drives the independent `translate`
   property, so the two compose without fighting each other. */
.collage-panel.active .c {
  animation: riseUp .72s var(--ease) both, bob var(--bob-d, 7s) ease-in-out var(--bob-delay, .8s) infinite;
  translate: calc(var(--px, 0px) * var(--depth, 1)) calc(var(--py, 0px) * var(--depth, 1));
  will-change: transform, translate;
}
.collage-panel.active .c:nth-child(1) { --bob-d: 7.4s; --bob-y: 7px; --depth: 1.5; animation-delay: 0s, .8s; }
.collage-panel.active .c:nth-child(2) { --bob-d: 6.2s; --bob-y: 10px; --depth: 2.6; animation-delay: .08s, 1.1s; animation-name: riseUp, bob; }
.collage-panel.active .c:nth-child(3) { --bob-d: 8.1s; --bob-y: 8px; --depth: 2.1; animation-delay: .16s, .6s; }
.collage-panel.active .c:nth-child(4) { --bob-d: 6.8s; --bob-y: 6px; --depth: 1.1; animation-delay: .24s, 1.4s; }
.collage-panel.active .c:nth-child(5) { --bob-d: 7.9s; --bob-y: 9px; --depth: 3; animation-delay: .32s, .9s; }
.collage-panel.active .c:nth-child(odd) { animation-name: riseL, bob; }
.collage-panel.active .c:nth-child(3n) { animation-name: riseR, bob; }

@keyframes riseUp { from { opacity: 0; transform: translate3d(0, 44px, 0) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes riseL  { from { opacity: 0; transform: translate3d(-52px, 28px, 0) rotate(-3deg) scale(.93); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes riseR  { from { opacity: 0; transform: translate3d(52px, 28px, 0) rotate(3deg) scale(.93); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes bob { 0%, 100% { transform: translate3d(0, calc(var(--bob-y, 8px) * -1), 0); } 50% { transform: translate3d(0, var(--bob-y, 8px), 0); } }

/* the message in flight, from the composer to a customer's phone */
.flyer { position: absolute; z-index: 6; pointer-events: none; max-width: 190px; padding: 8px 11px; border-radius: 14px 14px 4px 14px; background: var(--lg2); color: var(--dg); font-size: 12px; line-height: 1.3; box-shadow: 0 10px 22px -10px rgba(16, 57, 40, .6); }

/* arrival: the bubble lands */
.collage.js-anim .c-phone .bub.waiting { opacity: 0; }
.c-phone .bub.landed { animation: land .5s var(--ease) both; }
@keyframes land { 0% { opacity: 0; transform: scale(.82) translateY(6px); } 60% { opacity: 1; transform: scale(1.04); } 100% { opacity: 1; transform: none; } }

/* ticks: sent, then read */
.tickmark { color: var(--gray2); transition: color .45s var(--ease); }
.tickmark.read { color: var(--check); }

/* the send pulse on the composer */
.sendpulse { animation: sendpulse .55s var(--ease); }
@keyframes sendpulse { 0% { transform: none; } 40% { transform: scale(1.035); } 100% { transform: none; } }

/* counting numbers hold their width so the layout never jitters */
.countup { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .collage-panel.active .c { animation: none !important; translate: none !important; filter: none !important; opacity: 1 !important; }
  .c-phone .bub.waiting { opacity: 1; }
  .c-phone .bub.landed { animation: none; }
  .flyer { display: none !important; }
  .sendpulse { animation: none; }
}

/* ---------- the camera ----------
   The frame is the lens: it clips, and the film behind it moves. A push into
   the composer, a pull back to the phones, then a return to the wide shot. */
.collage-frame { position: absolute; inset: -36px -45px; overflow: hidden; border-radius: var(--r-3xl); }
.collage-cam { position: absolute; top: 36px; left: 45px; width: 1120px; height: 600px; transform-origin: 0 0; will-change: transform;
  transform: translate(var(--cam-x, 0px), var(--cam-y, 0px)) scale(var(--cam-z, 1));
  transition: transform 1.15s cubic-bezier(.62, .01, .27, 1); }

/* the broadcast writes itself */
.bcast-text .caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; background: var(--dg); vertical-align: -2px; opacity: 0; }
.bcast-text.typing-on .caret { opacity: 1; animation: caret 1s steps(1) infinite; }
@keyframes caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* the Meta approval stamps on rather than fades */
.bcast-meta.stamp b { display: inline-block; animation: stamp .45s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes stamp { from { transform: scale(1.5); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .collage-cam { transition: none; transform: none !important; }
  .bcast-text.typing-on .caret { display: none; }
  .bcast-meta.stamp b { animation: none; }
}

/* the bolt belongs to the wide shot; it steps aside while the lens is in */
.collage .glass-bolt { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.collage.zoomed .glass-bolt { opacity: 0; transform: translateY(-10px) scale(.9); }

/* below the collage breakpoint there is no lens: the cards simply stack.
   These come last on purpose, so they beat the camera rules above. */
@media (max-width: 760px) {
  .collage-frame { position: static; inset: auto; overflow: visible; border-radius: 0; }
  .collage-cam { position: static; top: auto; left: auto; width: auto; height: auto; transform: none !important; transition: none; }
  .collage-field { inset: -16px -12px; }
  .collage .glass-bolt { display: none; }
}

/* ---------- language switch ----------
   Real buttons: pick one and the conversation replays in it. */
.chat-langs { gap: 7px; }
.lang-chip { font-size: 12px; line-height: 1; padding: 7px 12px; border-radius: var(--r-full);
  background: var(--cream); color: var(--dg); border: 1px solid rgba(16, 57, 40, .12);
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.lang-chip:hover { background: var(--lg); border-color: var(--lg2); transform: translateY(-1px); }
.lang-chip.on { background: var(--dg); color: var(--white); border-color: var(--dg); }
.lang-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- badges arriving ----------
   Each tag blooms once as its row lands, then settles. */
.collage .staged .inbox-row { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.collage .staged .inbox-row.shown .tg { animation: badgeGlow .85s var(--ease) both; }
.tg { --glow: rgba(67, 205, 102, .55); }
.tg.vip { --glow: rgba(255, 188, 56, .6); }
.tg.new { --glow: rgba(37, 211, 102, .5); }
@keyframes badgeGlow {
  0%   { opacity: 0; transform: scale(.7); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
  45%  { opacity: 1; transform: scale(1.1); box-shadow: 0 0 16px 4px var(--glow); }
  100% { opacity: 1; transform: none; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .collage .staged .inbox-row.shown .tg { animation: none; }
  .lang-chip:hover { transform: none; }
}

/* a card you are about to click should hold still */
.collage-panel.active .c.chat-langs:hover,
.collage-panel.active .c.chat-langs:focus-within { animation-play-state: paused; }
