/* The public website: home, pricing and the legal pages.
   Colours come from the brand (src/brand.js, filled in by {{BRAND_CSS}}): blue (--brand) = buttons, links, ticks;
   yellow (the parrot's beak, --teal) = the third colour, about 10–15% of the home and pricing pages: the headline
   highlight, the panel behind the live inbox, the question bubbles, "Needs reply", step numbers, the most-chosen
   plan, the section bands of the comparison table, the badges and the closing band. Yellow is never text on a light background (dark ink sits on yellow instead: --on-accent).
   Dark mode = html[data-theme="dark"], set by the small script from {{SITE_HEAD}} (src/brand.js): the visitor's own
   choice (moon button / footer switch, saved in this browser) or else their phone's / computer's setting.
   One type family for English and Arabic (Alexandria, self-hosted in /fonts, SIL Open Font License).
   Logical properties (inline-start / inline-end) are used everywhere, so the Arabic pages mirror by themselves. */
@font-face { font-family: 'Alexandria'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/alexandria-arabic-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/alexandria-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --brand: #2b46e3; --brand-hover: #1f35b8; --teal: #ffb21e; --on-accent: #0d1433;
  --link: var(--brand); --ink: #0d1433; --muted: #58607f; --ground: #f4f6fc; --paper: #ffffff; --line: #dde2f0; --tint: #e8ebfa;
  --nav-bg: rgba(244, 246, 252, .88); --shade: rgba(13, 20, 51, .3);
  --chip-on: #0d1433; --foot-bg: #0d1433; --foot-text: #aab3d9; --foot-link: #d6dcf5;
  --ok: #12a66a; --ok-text: #0a7a4d; --ok-bg: #d6f3e5; --coral: #f2553b; --coral-text: #b5341f; --coral-bg: #fde1db;
  --blue-bg: #dfe5fd; --blue-text: #1f35b8; --blue-line: #b9c5fa; --sun-bg: #fff1c9; --hot: #fff7df; --label-bg: #ffe2a0;
  --col: #f3f5ff; --row-hover: #f8f9fe; --col-hover: #e8ecff; --dash: #b8c0da; --dots: rgba(13, 20, 51, .12);
  --draft-bg: #fff7e0; --draft-line: #f3d27a; --draft-text: #7a5a00;
  --nav-h: 68px;
  /* names the legal pages and older markup still use */
  --text: var(--ink); --bg: var(--ground); --soft: var(--tint); --surface: var(--paper);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --link: #8fa0ff; --ink: #e9ecf8; --muted: #a5adc8; --ground: #0a0f24; --paper: #141c3a; --line: #27325c; --tint: rgba(143, 160, 255, .14);
  --nav-bg: rgba(10, 15, 36, .88); --shade: rgba(0, 0, 0, .6);
  --chip-on: #2b46e3; --foot-bg: #060a1a; --foot-text: #8e97b8; --foot-link: #c3cbf5;
  --ok: #37c98b; --ok-text: #5fe0a6; --ok-bg: rgba(55, 201, 139, .16); --coral: #ff7a61; --coral-text: #ff9c8a; --coral-bg: rgba(242, 85, 59, .2);
  --blue-bg: rgba(143, 160, 255, .18); --blue-text: #b4c0ff; --blue-line: rgba(143, 160, 255, .5); --sun-bg: rgba(255, 178, 30, .16); --hot: rgba(255, 178, 30, .1); --label-bg: rgba(255, 178, 30, .3);
  --col: rgba(143, 160, 255, .07); --row-hover: rgba(143, 160, 255, .05); --col-hover: rgba(143, 160, 255, .13); --dash: #4a557f; --dots: rgba(13, 20, 51, .16);
  --draft-bg: rgba(255, 178, 30, .1); --draft-line: rgba(255, 178, 30, .45); --draft-text: #ffd27a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html, body { margin: 0; }
body { font: 350 17px/1.62 'Alexandria', 'Segoe UI', Tahoma, 'Noto Sans Arabic', system-ui, sans-serif; color: var(--ink); background: var(--ground); overflow-x: clip; }
[dir=rtl] body { line-height: 1.85; }
a { color: var(--link); }
b, strong { font-weight: 650; }
bdi { unicode-bidi: isolate; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.nav, main, footer { position: relative; z-index: 1; }

/* ---------- top bar ---------- */
.nav { position: sticky; top: 0; z-index: 6; transition: background .25s, box-shadow .25s; }
.nav.stuck, body:not(.home):not(.pricing) .nav { background: var(--nav-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: var(--nav-h); }
.nav .logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; color: var(--ink); text-decoration: none; }
.nav .logo img { border-radius: 9px; }
.nav .logo span { white-space: nowrap; }
.nav .links { margin-inline-start: auto; display: flex; gap: 20px; align-items: center; }
.nav .links a { color: var(--ink); text-decoration: none; font-weight: 450; font-size: 15.5px; }
.nav .links a.l-page:hover { box-shadow: inset 0 -2px 0 var(--teal); }
.nav .t-short { display: none; }
.l-theme { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.l-theme:hover { border-color: var(--teal); }
.l-theme .i-sun, html[data-theme="dark"] .l-theme .i-moon { display: none; }
html[data-theme="dark"] .l-theme .i-sun { display: block; }

.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; line-height: 1.3; text-align: center; text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: background .18s, color .18s, transform .18s; }
.btn:hover { background: var(--ink); color: var(--ground); }
.btn:active { transform: scale(.97); }
.btn.primary, .nav .links a.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.nav .links a.btn { padding: 9px 18px; font-size: 15px; font-weight: 600; }

/* small coloured dots: one colour per WhatsApp number */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 6px; background: var(--ok); }
.dot.n1 { background: var(--link); } .dot.n2 { background: var(--coral); }
.soon, .in-plan { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 650; line-height: 1.5; padding: 1px 9px; border-radius: 999px; background: var(--teal); color: var(--on-accent); white-space: nowrap; }
.in-plan { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); }

/* ---------- home: hero ---------- */
.hero { padding: 44px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: 30px 64px; align-items: center; }
/* the headline runs the full width, one sentence per line, like three messages */
.hero h1 { grid-column: 1 / -1; margin: 0; font-weight: 820; font-size: clamp(36px, 5.1vw, 70px); line-height: 1.08; letter-spacing: -.03em; }
[dir=rtl] .hero h1 { letter-spacing: 0; line-height: 1.34; font-size: clamp(34px, 4.9vw, 66px); }
.hero h1 span { display: block; width: fit-content; }
/* the beak-yellow marker under the middle line */
.hero h1 span:nth-child(2) { background: linear-gradient(transparent 58%, var(--teal) 58%, var(--teal) 92%, transparent 92%); padding-inline: .08em; margin-inline: -.08em; }
html[data-theme="dark"] .hero h1 span:nth-child(2) { background: linear-gradient(transparent 58%, rgba(255, 178, 30, .5) 58%, rgba(255, 178, 30, .5) 92%, transparent 92%); }
.hero .lead { margin: 0 0 28px; font-size: clamp(17px, 1.55vw, 21px); color: var(--muted); max-width: 52ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { margin: 16px 0 0; font-size: 14.5px; color: var(--muted); }

/* the one page-load moment: the three lines of the headline arrive like three messages */
.js .hero h1 span { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.js .hero h1 span:nth-child(2) { animation-delay: .12s; } .js .hero h1 span:nth-child(3) { animation-delay: .24s; }
.js .hero .lead, .js .hero .cta, .js .hero .fine { animation: fade .8s .45s both; }
.js .visual { animation: rise .9s .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes fade { from { opacity: 0; } }

/* the live inbox in the hero, on its yellow panel */
.hero-copy, .visual, .demo { min-width: 0; }
.visual { position: relative; width: 100%; max-width: 470px; margin-inline-start: auto; }
.visual::before { content: ''; position: absolute; top: 34px; bottom: -34px; inset-inline-start: 44px; inset-inline-end: -34px; border-radius: 30px; background: radial-gradient(var(--dots) 1.3px, transparent 1.6px) 0 0 / 16px 16px, var(--teal); }
.demo { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 40px 90px -40px var(--shade); font-size: 15px; line-height: 1.4; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 10px; }
.demo-top b { font-size: 17px; font-weight: 750; }
.nums { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); }
.nums span { white-space: nowrap; }
.demo-tabs, .tabs { display: flex; gap: 6px; padding: 0 14px 10px; flex-wrap: wrap; }
.demo-tabs { flex-wrap: nowrap; overflow: hidden; }
.demo-tabs span, .tabs span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--tint); white-space: nowrap; }
.demo-tabs span.on, .tabs span.on { background: var(--chip-on); color: #fff; }
.demo-tabs b, .tabs b { display: inline-block; min-width: 18px; text-align: center; font-size: 11.5px; font-weight: 700; padding: 0 5px; margin-inline-start: 2px; border-radius: 999px; background: var(--tint); }
.demo-tabs .on b, .tabs .on b { background: var(--teal); color: var(--on-accent); }
.demo-tabs b.bump { animation: bump .45s; }
@keyframes bump { 40% { transform: scale(1.5); } }
.demo-list { list-style: none; margin: 0; padding: 4px 8px 10px; height: 322px; overflow: hidden; }
.row { display: flex; align-items: center; gap: 10px; padding: 10px; height: 62px; border-radius: 14px; overflow: hidden; }
.row + .row { box-shadow: 0 -1px 0 var(--tint); }
.row.enter { animation: rowIn .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rowIn { from { height: 0; padding-block: 0; opacity: 0; transform: translateY(-14px); } }
.row.hot { background: var(--hot); box-shadow: none; }
.av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 12.5px; font-weight: 700; background: var(--ok-bg); color: var(--ok-text); }
.av.n1 { background: var(--blue-bg); color: var(--blue-text); } .av.n2 { background: var(--coral-bg); color: var(--coral-text); }
.who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.who b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx.call, .call { color: var(--coral-text); font-weight: 500; }
.tx.sent { color: var(--ok-text); }
.tx.typing::after { content: ''; display: inline-block; width: 18px; height: 4px; margin-inline-start: 6px; vertical-align: middle; background: radial-gradient(circle, currentColor 2px, transparent 2.5px) 0 0 / 6px 4px repeat-x; animation: dots 1s steps(4) infinite; }
@keyframes dots { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -34% 0 0); } }
[dir=rtl] .tx.typing::after { transform: scaleX(-1); }
.tag, .pill { flex: none; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--ink); white-space: nowrap; }
.tag.needs { background: var(--teal); color: var(--on-accent); }
.tag.ok { background: var(--ok-bg); color: var(--ok-text); }
.tag.swap { animation: bump .4s; }
.asg { flex: none; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: var(--blue-text); box-shadow: inset 0 0 0 1.5px var(--blue-line); white-space: nowrap; animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }

/* ---------- home: the six questions, laid out as a chat ---------- */
section h2 { margin: 0 0 12px; font-weight: 800; font-size: clamp(27px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
[dir=rtl] section h2 { letter-spacing: 0; line-height: 1.4; }
.sub { margin: 0; color: var(--muted); max-width: 60ch; font-size: 18px; }
.talk { padding: 36px 0 60px; }
.talk > .wrap > h2 { max-width: 20ch; }
.turn { margin-top: 76px; }
.q { margin: 0 0 16px; font-size: clamp(19px, 2.1vw, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
[dir=rtl] .q { letter-spacing: 0; line-height: 1.6; }
.q span { display: inline-block; max-width: 26ch; padding: 14px 24px; background: var(--teal); color: var(--on-accent); border-radius: 28px; border-end-start-radius: 6px; }
.a { display: grid; grid-template-columns: 1fr 1.02fr; gap: 34px; align-items: center; margin-inline-start: clamp(0px, 9vw, 130px); padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 30px; border-end-end-radius: 6px; box-shadow: 0 30px 60px -44px var(--shade); }
.a-title { margin: 0 0 8px; font-size: clamp(20px, 2vw, 25px); font-weight: 750; line-height: 1.25; }
[dir=rtl] .a-title { line-height: 1.55; }
.a-text p:last-child { margin: 0; color: var(--muted); }
.frag { margin: 0; padding: 16px; background: var(--ground); border-radius: 20px; font-size: 14px; line-height: 1.45; min-width: 0; }

/* the question pops in from its corner, then the answer follows: messages arriving as you scroll */
.js .turn .q span { opacity: 0; transform: scale(.7); transform-origin: 0 100%; transition: opacity .35s, transform .5s cubic-bezier(.3, 1.5, .5, 1); }
[dir=rtl].js .turn .q span { transform-origin: 100% 100%; }
.js .turn .a { opacity: 0; transform: translateY(28px); transition: opacity .5s .25s, transform .7s .25s cubic-bezier(.2, .8, .2, 1); }
.js .turn.on .q span, .js .turn.on .a { opacity: 1; transform: none; }

.frag .tabs { padding: 0 0 10px; }
.wait, .ads, .checks { list-style: none; margin: 0; padding: 0; }
.wait li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 10px 4px; border-top: 1px solid var(--line); }
.wait span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wait em { font-style: normal; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.wait .late em { color: var(--coral-text); font-weight: 600; }
.chat-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chat-head .av { width: 32px; height: 32px; font-size: 11.5px; }
.pill.own { background: var(--blue-bg); color: var(--blue-text); } .pill.lab { background: var(--label-bg); } .pill.urgent { background: var(--coral-bg); color: var(--coral-text); }
.note { padding: 10px 14px; background: var(--sun-bg); border-radius: 16px; border-end-end-radius: 4px; }
.note small, .sum small { display: block; font-size: 12px; color: var(--muted); }
.note p, .sum p { margin: 2px 0 0; }
.note b { color: var(--blue-text); }
.remind { display: inline-block; margin-top: 12px; padding: 5px 12px; font-size: 13px; border-radius: 999px; border: 1.5px dashed var(--dash); }
.stats { width: 100%; border-collapse: collapse; }
.stats th, .stats td { padding: 9px 4px; text-align: start; white-space: nowrap; border-top: 1px solid var(--line); font-weight: 400; }
.stats thead th { border-top: 0; font-size: 12px; color: var(--muted); }
.stats tbody th { font-weight: 600; }
.bar { display: inline-block; vertical-align: middle; width: 46px; height: 6px; margin-inline-end: 8px; border-radius: 9px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: 9px; background: var(--ok); transition: width 1s .5s cubic-bezier(.2, .8, .2, 1); }
.bar.b0 i { --w: 14%; } .bar.b1 i { --w: 22%; } .bar.b2 i { --w: 100%; background: var(--coral); }
.bar.a0 i { --w: 100%; background: var(--link); } .bar.a1 i { --w: 74%; background: var(--link); } .bar.a2 i { --w: 29%; background: var(--link); }
.js .turn:not(.on) .bar i { width: 0; }
.eg { display: inline-block; margin-bottom: 8px; font-size: 12px; color: var(--muted); }
.ads li { display: grid; grid-template-columns: 1fr 70px auto auto; gap: 10px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--line); }
.ads .bar { width: 70px; margin: 0; }
.ads span { color: var(--muted); white-space: nowrap; }
.ads em { font-style: normal; font-weight: 650; color: var(--ok-text); white-space: nowrap; }
.sum { padding: 12px 14px; background: var(--paper); border-radius: 14px; margin-bottom: 12px; }
.sum p + small { margin-top: 10px; }
.checks li, .points li, .also li { position: relative; padding-inline-start: 30px; }
.checks li { padding-block: 8px; font-weight: 500; }
.checks li::before, .points li::before, .tick { content: ''; display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.400l3 3 6-6.600' fill='none' stroke='%23fff' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.checks li::before, .points li::before { position: absolute; inset-inline-start: 0; top: .62em; }
[dir=rtl] .checks li::before, [dir=rtl] .points li::before { top: .8em; }

/* ---------- home: the rest ---------- */
.also { padding: 40px 0 30px; }
.also ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 34px; }
.also li { padding-block: 13px; border-top: 1px solid var(--line); font-weight: 450; }
.also li::before { content: ''; position: absolute; inset-inline-start: 6px; top: 1.45em; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
[dir=rtl] .also li::before { top: 1.65em; }
.steps { padding: 70px 0 30px; }
.steps ol { list-style: none; counter-reset: s; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { counter-increment: s; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; margin-bottom: 16px; font-size: 26px; font-weight: 820; line-height: 1; background: var(--teal); color: var(--on-accent); }
.steps b { display: block; font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.steps span { color: var(--muted); }
.teaser { padding: 70px 0 30px; }
.lines { margin-top: 28px; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 170px 1fr auto; gap: 16px; align-items: center; padding: 18px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.line:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -26px var(--shade); }
.line b { font-size: 20px; font-weight: 750; }
.line span { color: var(--muted); }
.line strong { font-size: 26px; font-weight: 800; white-space: nowrap; }
.line small { font-size: 14px; font-weight: 400; color: var(--muted); }
.line.pop { background: var(--teal); border-color: var(--teal); color: var(--on-accent); }
.line.pop span, .line.pop small { color: var(--on-accent); opacity: .78; }
.more { margin: 22px 0 0; }
.faq { padding: 70px 0 60px; }
.faq h2 { margin-bottom: 24px; }
.faq details { max-width: 880px; border-top: 1px solid var(--line); border-inline-start: 4px solid transparent; padding-inline-start: 14px; margin-inline-start: -18px; transition: border-color .2s; }
.faq details[open] { border-inline-start-color: var(--teal); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 2px; font-size: 18px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .25s, background .25s, color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--teal); color: var(--on-accent); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 72ch; }
/* the closing band: yellow, dark ink text, blue button */
.end { padding: 84px 0 90px; background: radial-gradient(var(--dots) 1.3px, transparent 1.6px) 0 0 / 18px 18px, var(--teal); color: var(--on-accent); }
.end h2 { max-width: 18ch; font-size: clamp(30px, 4.4vw, 58px); }
.end p { margin: 0 0 28px; font-size: 18px; font-weight: 450; }
.end .btn.primary { font-size: 18px; padding: 15px 30px; }
.home .end { padding: 108px 0 116px; }
footer { background: var(--foot-bg); color: var(--foot-text); padding: 30px 0 40px; font-size: 14px; }
footer .wrap { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-inline-start: auto; }
footer a { color: var(--foot-link); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.f-theme { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: var(--foot-link); font: inherit; font-size: 14px; cursor: pointer; }
.f-theme .sw { position: relative; width: 30px; height: 18px; border-radius: 99px; background: rgba(255, 255, 255, .25); flex: none; }
.f-theme .sw::after { content: ''; position: absolute; top: 2px; inset-inline-start: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: inset-inline-start .15s; }
.f-theme[aria-pressed="true"] .sw { background: var(--teal); }
.f-theme[aria-pressed="true"] .sw::after { inset-inline-start: 14px; }

/* ---------- pricing ---------- */
.p-head { padding: 54px 0 40px; }
.p-head h1 { margin: 0 0 14px; font-weight: 820; font-size: clamp(34px, 4.8vw, 62px); line-height: 1.08; letter-spacing: -.026em; }
.p-head h1 span { display: block; width: fit-content; }
.p-head h1 span:nth-child(2) { background: linear-gradient(transparent 58%, var(--teal) 58%, var(--teal) 92%, transparent 92%); padding-inline: .08em; margin-inline: -.08em; }
html[data-theme="dark"] .p-head h1 span:nth-child(2) { background: linear-gradient(transparent 58%, rgba(255, 178, 30, .5) 58%, rgba(255, 178, 30, .5) 92%, transparent 92%); }
[dir=rtl] .p-head h1 { letter-spacing: 0; line-height: 1.35; }
.js .p-head h1, .js .p-head .sub { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.js .plans .plan { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.js .plans .plan:nth-child(1) { animation-delay: .15s; } .js .plans .plan:nth-child(2) { animation-delay: .25s; } .js .plans .plan:nth-child(3) { animation-delay: .35s; }
.cycle, .pick { display: inline-flex; margin-top: 26px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.cycle button, .pick button { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 550; color: var(--ink); padding: 8px 20px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.cycle button.on, .pick button.on { background: var(--chip-on); color: #fff; }
.cycle em { font-style: normal; font-size: 12px; font-weight: 650; padding: 2px 8px; margin-inline-start: 4px; border-radius: 999px; background: var(--teal); color: var(--on-accent); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 30px; }
.plan h2 { margin: 0; font-size: 24px; font-weight: 780; letter-spacing: 0; }
.plan .for { margin: 2px 0 18px; color: var(--muted); font-size: 15px; line-height: 1.5; min-height: 3em; }
.plan .price { margin: 0; line-height: 1; }
.plan .amt { display: inline-block; font-size: 60px; font-weight: 820; letter-spacing: -.03em; }
.plan .amt.roll { animation: roll .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes roll { from { opacity: 0; transform: translateY(-16px); } }
.plan .per { color: var(--muted); }
.plan .billed { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; }
.limits { margin-top: 20px !important; padding: 14px 0 !important; border-block: 1px solid var(--line); }
.limits li { padding: 4px 0; }
.points { margin: 16px 0 24px !important; flex: 1; }
.points li { padding-block: 6px; }
.plan .btn { width: 100%; }
.plan.pop { background: radial-gradient(var(--dots) 1.3px, transparent 1.6px) 0 0 / 16px 16px, var(--teal); border-color: var(--teal); color: var(--on-accent); box-shadow: 0 40px 80px -40px var(--shade); }
.plan.pop .for, .plan.pop .per, .plan.pop .billed { color: var(--on-accent); opacity: .78; }
.plan.pop .limits { border-color: rgba(13, 20, 51, .22); }
.plan.pop .soon { background: var(--on-accent); color: #fff; }
.plan.pop .badge { background: var(--on-accent); color: #fff; }
.badge { position: absolute; top: -15px; inset-inline-end: 24px; padding: 3px 14px; font-size: 13px; font-weight: 650; border-radius: 999px; background: var(--teal); color: var(--on-accent); }
.extras { margin: 22px 0 0; color: var(--muted); max-width: 76ch; }
.extras + .extras { margin-top: 6px; }

.compare { padding: 60px 0 30px; }
.pick { display: none; }
.cmp-box { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; overflow: clip; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-top: 1px solid var(--tint); }
.cmp thead th { position: sticky; top: var(--nav-h); z-index: 2; border-top: 0; background: var(--paper); font-size: 17px; font-weight: 750; box-shadow: 0 1px 0 var(--line); }
.cmp thead th:first-child { text-align: start; font-size: 14px; font-weight: 500; color: var(--muted); }
.cmp thead th[data-col=team] { box-shadow: inset 0 5px 0 var(--teal), 0 1px 0 var(--line); }
.cmp thead small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.cmp tbody th { width: 52%; text-align: start; font-weight: 400; }
.cmp tbody th b { display: block; font-weight: 600; font-size: 16px; }
.cmp tbody th span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--muted); }
[dir=rtl] .cmp tbody th span { line-height: 1.75; }
/* each group of features opens with a yellow band */
.cmp .grp th { padding: 14px 18px; border-top: 0; font-size: 18px; font-weight: 780; background: var(--teal); color: var(--on-accent); }
.cmp td[data-col=team] { background: var(--col); }
.cmp tbody tr:not(.grp):hover th, .cmp tbody tr:not(.grp):hover td { background: var(--row-hover); }
.cmp tbody tr:not(.grp):hover td[data-col=team] { background: var(--col-hover); }
.tick { vertical-align: middle; }
.dash { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: var(--dash); vertical-align: middle; }
.lvl { font-size: 13.5px; font-weight: 600; color: var(--link); }

/* ---------- legal pages ---------- */
.block { padding: 60px 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.legal { max-width: 820px; padding: 40px 24px 70px; }
.legal h1 { font-size: 36px; font-weight: 800; line-height: 1.15; margin-bottom: 4px; }
.legal h2 { font-size: 21px; font-weight: 700; margin-top: 34px; }
.legal .draft { background: var(--draft-bg); border: 1px solid var(--draft-line); color: var(--draft-text); border-radius: 14px; padding: 12px 16px; margin: 16px 0 24px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal td, .legal th { border: 1px solid var(--line); padding: 8px 10px; text-align: start; vertical-align: top; }

/* ---------- smaller screens ---------- */
@media (max-width: 940px) {
  .hero { padding-top: 28px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .visual { margin: 14px auto 0; }
  .visual::before { inset-inline-start: 30px; inset-inline-end: -12px; top: 26px; bottom: -22px; }
  .a { grid-template-columns: 1fr; gap: 22px; padding: 22px; margin-inline-start: 0; }
  .turn { margin-top: 54px; }
  .also ul { grid-template-columns: repeat(2, 1fr); }
  .steps ol, .plans { grid-template-columns: 1fr; }
  .plan .for { min-height: 0; }
  .nav .links a.l-page, .nav .l-theme { display: none; }
  .line { grid-template-columns: 1fr auto; }
  .line span { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  /* the comparison shows one plan at a time, chosen with the buttons above the table */
  .pick { display: inline-flex; margin-top: 18px; position: sticky; top: calc(var(--nav-h) + 8px); z-index: 3; box-shadow: 0 10px 24px -14px var(--shade); }
  .cmp [data-col] { display: none; }
  .cmp[data-show=starter] [data-col=starter], .cmp[data-show=team] [data-col=team], .cmp[data-show=business] [data-col=business] { display: table-cell; }
  .cmp thead th { position: static; }
  .cmp tbody th { width: auto; }
  .cmp th, .cmp td { padding: 12px 14px; }
  .cmp td[data-col] { width: 76px; }
  .faq details { margin-inline-start: 0; }
}
@media (max-width: 560px) {
  :root { --nav-h: 58px; }
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav .wrap { gap: 10px; }
  .nav .logo { font-size: 17px; gap: 8px; }
  .nav .logo img { width: 30px; height: 30px; }
  .nav .links { gap: 12px; }
  .nav .links a { font-size: 15px; white-space: nowrap; }
  .nav .t-long { display: none; }
  .nav .t-short { display: inline; }
  .nav .links a.btn { padding: 8px 13px; font-size: 14.5px; }
  .also ul { grid-template-columns: 1fr; }
  .nums { display: none; }
  .demo-list { height: 310px; }
  .tag, .asg { font-size: 11px; padding: 3px 8px; }
  .row .asg + .tag { display: none; } /* room for the customer's name while the chat is being assigned */
  .ads li { grid-template-columns: 1fr auto auto; } .ads .bar { display: none; }
  .stats thead th:last-child, .stats td:last-child { display: none; }
  .end { padding: 76px 0 80px; }
  .home .end { padding: 92px 0 98px; }
  .btn { padding: 12px 20px; }
}
@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .nav .wrap { gap: 6px; }
  .nav .logo { font-size: 15.5px; gap: 6px; }
  .nav .logo img { width: 26px; height: 26px; }
  .nav .links { gap: 9px; }
  .nav .links a { font-size: 14px; }
  .nav .links a.btn { padding: 7px 10px; font-size: 13.5px; }
}
@media (max-width: 335px) { .nav .logo span { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .turn .q span, .js .turn .a { opacity: 1; transform: none; }
  .js .turn:not(.on) .bar i { width: var(--w, 50%); }
}
