/* Wallam website. Light, airy, pill buttons, soft pastel panels. */
:root {
  --bg: #ffffff;
  --ink: #0f1a2b;
  --muted: #5d6675;
  --line: #e8eaf0;
  --soft: #f5f6fa;
  --accent: #3d5afe;
  --accent-soft: #eef1ff;
  --mint: #e6f6ef;
  --lavender: #efebff;
  --peach: #fff1e6;
  --ok: #0f9d6b;
  --font: "Instrument Sans", "IBM Plex Sans Arabic", "Noto Sans Arabic", system-ui, sans-serif;
  --radius: 22px;
}
[dir="rtl"] { --font: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Instrument Sans", system-ui, sans-serif; }
:root { --display: "Bricolage Grotesque", "Instrument Sans", "IBM Plex Sans Arabic", "Noto Sans Arabic", system-ui, sans-serif; }
[dir="rtl"] { --display: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Bricolage Grotesque", system-ui, sans-serif; }
h1, h2, h3, .big, .plan-price b { font-family: var(--display); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { line-height: 1.85; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
[dir="rtl"] h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 1.4; letter-spacing: 0; }
[dir="rtl"] h2 { line-height: 1.45; letter-spacing: 0; }
[dir="rtl"] h3 { line-height: 1.6; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; }
.accent { color: var(--accent); }

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 30; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.82); backdrop-filter: saturate(1.4) blur(14px); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 72px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-family: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif; font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; }
/* The logo is a picture, so it looks the same in every language and direction. */
.logo { display: block; height: 32px; width: auto; }
.logo-mark { display: block; height: 56px; width: auto; }
.logo-mark-small { height: 34px; flex: none; }
.nav { display: flex; gap: 28px; margin-inline: auto; }
.nav a { text-decoration: none; font-size: 0.98rem; color: var(--ink); }
.nav a:hover { color: var(--accent); }

/* The language menu in the header: a pill button that opens a short list. */
.lang-menu { position: relative; }
.lang-button {
  display: inline-flex; align-items: center; gap: 9px; min-height: 42px; cursor: pointer;
  background: var(--soft); color: var(--ink); border: 0; border-radius: 999px; padding-block: 8px; padding-inline: 14px 12px;
  font: 600 0.92rem/1.2 "IBM Plex Sans Arabic", "Noto Sans Arabic", "Instrument Sans", sans-serif;
  transition: background-color .15s;
}
.lang-button:hover, .lang-button[aria-expanded="true"] { background: #eaecf4; }
.lang-button svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang-button .lang-chevron { width: 16px; height: 16px; color: var(--muted); transition: transform .15s; }
.lang-button[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-list {
  position: absolute; z-index: 40; inset-inline-end: 0; top: calc(100% + 8px); min-width: 196px;
  margin: 0; padding: 6px; list-style: none; display: grid; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgb(15 26 43 / 0.16);
}
.lang-list[hidden] { display: none; }
.lang-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
  padding: 10px 12px; border-radius: 10px; color: var(--ink);
  font: 500 0.95rem/1.4 "IBM Plex Sans Arabic", "Noto Sans Arabic", "Instrument Sans", sans-serif;
}
.lang-list li:hover, .lang-list li:focus { background: var(--soft); outline: none; }
/* The focus ring shows only when the list is used with the keyboard. */
.lang-list[data-keys] li:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.lang-list li[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
/* The tick is drawn, not typed, so it looks the same in every font. */
.lang-list li[aria-selected="true"]::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-reduced-motion: reduce) { .lang-button, .lang-button .lang-chevron { transition: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 1.02rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; min-height: 52px;
  transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgb(15 26 43 / 0.18); }
.btn-primary:hover { background: #1b2a42; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--ink); color: #fff; }
.btn-light:hover { background: #1b2a42; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.beams::before {
  content: ""; position: absolute; inset: -10% -5% 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(118deg, transparent 0 12%, rgb(61 90 254 / 0.07) 12% 24%, transparent 24% 33%, rgb(61 90 254 / 0.05) 33% 41%, transparent 41% 58%, rgb(124 92 255 / 0.05) 58% 66%, transparent 66%),
    radial-gradient(55% 70% at 15% 0%, rgb(61 90 254 / 0.10), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 35%, transparent 95%);
}
[dir="rtl"] .beams::before { transform: scaleX(-1); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 0.9rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 33em; margin-top: 22px; }
.hero .actions { margin-top: 34px; }
.note { color: var(--muted); font-size: 0.93rem; margin-top: 16px; }

/* The cards beside the headline: short conversations from different shops, and the email your team gets.
   They float on a soft shape and play one after another; the one playing lifts a little. */
.hstage { position: relative; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; padding-block: 8px 24px; }
.hcol { display: grid; gap: 18px; }
.hcol + .hcol { margin-top: 64px; }
.hc {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 9px; padding: 14px; border-radius: 22px; background: #fff; color: var(--ink);
  box-shadow: 0 22px 50px rgb(61 60 120 / 0.14), 0 0 0 1px rgb(15 26 43 / 0.05);
  font: 400 14px/1.6 "IBM Plex Sans Arabic", "Noto Sans Arabic", "Instrument Sans", system-ui, sans-serif;
}
.hc.live { z-index: 2; box-shadow: 0 28px 64px rgb(61 60 120 / 0.2), 0 0 0 2px rgb(61 90 254 / 0.35); }
/* The shop: where the chat is (website, phone app, WordPress) and its name. */
.hc-head { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding-block: 4px; padding-inline: 4px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 600; line-height: 1.4; }
.hc-head::after { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #2fd08a; opacity: 0; transition: opacity .3s; }
.hc.live .hc-head::after { opacity: 1; }
.hc-channel { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgb(15 26 43 / 0.12); }
.hc-channel svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-channel .works-icon { width: 15px; height: 15px; }
/* The customer writes on one side; the assistant answers on the other, beside the round logo. */
.hc-msg { max-width: 90%; padding: 8px 12px; border-radius: 16px; overflow-wrap: anywhere; }
.hc-cus { align-self: flex-start; background: #f3f4f9; border-end-start-radius: 5px; }
.hc-cus .pic { display: block; width: calc(100% + 14px); max-width: 220px; height: auto; margin: -3px -7px 7px; border-radius: 11px; }
.hc-reply { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; gap: 8px; }
.hc-ai-msg { max-width: calc(100% - 40px); background: var(--accent); color: #fff; border-end-end-radius: 5px; }
.hc-ai { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff url(logo-mark.svg) center / 14px 18px no-repeat; box-shadow: 0 0 0 1px rgb(15 26 43 / 0.08), 0 2px 6px rgb(15 26 43 / 0.1); }
.hc-reply .hc-dots { display: none; position: absolute; bottom: 0; inset-inline-end: 36px; padding: 6px 13px; border-radius: 16px; border-end-end-radius: 5px; background: var(--accent-soft); }
.hc-dots i { background: var(--accent); }
/* A voice message, and what was understood from it. */
.hc-voice { align-self: flex-start; display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #f3f4f9; }
.hc-play { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgb(15 26 43 / 0.12); }
.hc-play svg { width: 13px; height: 13px; fill: currentColor; }
.hc-wave { display: flex; align-items: center; gap: 2px; height: 22px; }
.hc-wave i { width: 2.5px; border-radius: 2px; background: #c3c9da; transition: background-color .12s; }
.hc-wave i.on { background: var(--accent); }
.hc-time { flex: none; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.hc-heard { align-self: flex-start; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-inline-start: 4px; color: #3f4856; font-size: 13px; }
.hc-said { display: inline-flex; align-items: center; gap: 6px; }
.hc-said svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-heard small { padding: 1px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; line-height: 1.7; }
/* The email your team gets when a customer needs a person. */
.hc-alert { gap: 11px; padding: 16px; }
.hc-alert-head { display: flex; align-items: center; gap: 10px; }
.hc-mail { position: relative; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.hc-mail svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-mail i { position: absolute; top: -3px; inset-inline-end: -3px; width: 11px; height: 11px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 2px #fff; }
.hc-alert-head > div { flex: 1; min-width: 0; display: grid; }
.hc-alert-head b { font-size: 14px; font-weight: 600; line-height: 1.4; }
.hc-alert-head small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.hc-alert-head time { flex: none; align-self: flex-start; color: var(--muted); font-size: 11.5px; }
.hc-row { display: grid; gap: 1px; padding-top: 9px; border-top: 1px solid var(--line); }
.hc-row span { color: var(--muted); font-size: 11.5px; }
.hc-row p { font-size: 13.5px; line-height: 1.55; }
.hc-open { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; }
.hc-open svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hc[dir="rtl"] .hc-open svg { transform: scaleX(-1); }
.hc-from { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11.5px; }
.hc-from i { flex: none; width: 13px; height: 16px; background: url(logo-mark.svg) center / contain no-repeat; }

.dots { display: inline-flex; gap: 5px; align-items: center; min-height: 25px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
.mock-field.active .mock-typed::after { content: ""; display: inline-block; width: 2px; height: 1.15em; margin-inline-start: 1px; vertical-align: -0.2em; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes online { 0% { box-shadow: 0 0 0 0 rgb(47 208 138 / 0.55); } 70%, 100% { box-shadow: 0 0 0 7px rgb(47 208 138 / 0); } }

/* ---------- "Works with": two rows that move slowly ---------- */
.works { padding-block: 22px 34px; }
.works-label { text-align: center; color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.marquee { padding-block: 6px; }
/* Without the script (or with reduced motion) the items simply wrap, centred. */
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-inline: 16px; }
.motion .marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); }
.motion .marquee-track { flex-wrap: nowrap; justify-content: flex-start; gap: 0; padding-inline: 0; width: max-content; animation: marquee var(--marquee-time, 50s) linear infinite; }
.motion .marquee-track > * { flex: none; margin-right: 12px; }
.motion .marquee-back .marquee-track, html[dir="rtl"].motion .marquee-track { animation-direction: reverse; }
html[dir="rtl"].motion .marquee-back .marquee-track { animation-direction: normal; }
.motion .marquee:hover .marquee-track { animation-play-state: paused; }
.marquee [data-clone] { display: none; }
.motion .marquee [data-clone] { display: inline-flex; }
@keyframes marquee { to { transform: translateX(-50%); } }
.works-item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--soft); color: #6f7889; transition: color .2s, background-color .2s; }
.works-item:hover { color: var(--ink); background: #eceef5; }
.works-item b { font: 600 1.05rem/1 "Instrument Sans", sans-serif; letter-spacing: -0.02em; }
.works-icon { width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.works-item svg { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lang-chip { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 20px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Instrument Sans", sans-serif; line-height: 1.5; }
.lang-chip b { font-size: 1.05rem; font-weight: 700; }
.lang-chip span { font-size: 0.85rem; opacity: .75; }
.feat-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 0.95rem; line-height: 1.5; }
.feat-chip svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Numbers ---------- */
.stats-band { padding-block: clamp(18px, 3vw, 34px) 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { display: grid; align-content: start; gap: 6px; border-radius: var(--radius); padding: 26px 24px; background: var(--soft); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.stat:nth-child(1) { background: var(--accent-soft); }
.stat:nth-child(2) { background: var(--mint); }
.stat:nth-child(3) { background: var(--lavender); }
.stat:nth-child(4) { background: var(--peach); }
.stat b { justify-self: start; font: 700 clamp(2.4rem, 4.4vw, 3.3rem)/1 "Bricolage Grotesque", "Instrument Sans", sans-serif; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat span { color: #3f4856; font-size: 0.98rem; line-height: 1.5; }
.stat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(15 26 43 / 0.08); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(60px, 8vw, 110px); }
.section-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel { border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 10px; min-height: 320px; overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.panel:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgb(15 26 43 / 0.08); }
.panel p { color: #3f4856; max-width: 30em; }
.panel-mint { background: var(--mint); }
.panel-lavender { background: var(--lavender); }
.panel-art { margin-top: auto; padding-top: 26px; }
.code-line { background: var(--ink); color: #dfe6ff; border-radius: 14px; padding: 14px 16px; font: 0.82rem/1.6 Consolas, "Cascadia Mono", monospace; direction: ltr; text-align: left; overflow-wrap: anywhere; }
.code-line span { color: #8ea2ff; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { background: #fff; border-radius: 999px; padding: 8px 14px; font: 600 0.88rem/1.3 "Instrument Sans", sans-serif; box-shadow: 0 2px 8px rgb(15 26 43 / 0.06); direction: ltr; }
.code-line.typing::after { content: ""; display: inline-block; width: 8px; height: 1.15em; margin-inline-start: 2px; vertical-align: -0.2em; background: #8ea2ff; animation: caret 1s steps(1) infinite; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { position: relative; padding-top: 24px; }
/* A line above each step that fills with colour as it scrolls into view. */
.steps li::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; border-radius: 2px; background: linear-gradient(to right, var(--accent), var(--line) 55%); transform-origin: left; }
[dir="rtl"] .steps li::before { background: linear-gradient(to left, var(--accent), var(--line) 55%); transform-origin: right; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 1rem/1 "Instrument Sans", sans-serif; margin-bottom: 16px; transition: background-color .25s, color .25s, transform .25s; }
.steps li:hover .step-num { background: var(--accent); color: #fff; transform: scale(1.08); }
.steps p { color: var(--muted); margin-top: 8px; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature { background: var(--soft); border-radius: var(--radius); padding: 28px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, background-color .35s; }
.feature:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 22px 44px rgb(15 26 43 / 0.08); }
.feature p { color: var(--muted); margin-top: 8px; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 15px; background: #fff; color: var(--accent); box-shadow: 0 8px 20px rgb(61 90 254 / 0.12); transition: transform .4s cubic-bezier(.2, .9, .3, 1.4), background-color .3s, color .3s; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #fff; }

/* ---------- Dashboard preview ---------- */
.section-tint { background: linear-gradient(180deg, #fff, var(--soft) 16%, var(--soft) 84%, #fff); }
.inbox-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.inbox-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 30px; }
.inbox-stats div { display: grid; gap: 4px; }
.inbox-stats b { justify-self: start; font: 700 2.7rem/1 "Bricolage Grotesque", "Instrument Sans", sans-serif; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.inbox-stats b.bump { animation: bump .6s ease; }
.inbox-stats span { color: var(--muted); font-size: 0.95rem; }
@keyframes bump { 40% { transform: scale(1.14); color: var(--accent); } }
.mark-key { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.92rem; }
.mark-key li { display: inline-flex; align-items: center; gap: 8px; }
/* Marks in the customer list: the logo when the AI answered, a person when your team did, a red dot while the customer waits. */
.mark { flex: none; display: inline-block; width: 18px; height: 18px; border-radius: 50%; }
.mark-ai { background: #fff url(logo-mark.svg) center / 9px 11px no-repeat; box-shadow: inset 0 0 0 1.5px var(--accent); }
.mark-you { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center / 11px no-repeat; }
.mark-wait { width: 10px; height: 10px; margin: 4px; background: #e5484d; }
.mark.pop { animation: pop .45s cubic-bezier(.2, .9, .3, 1.4) both; }
.mock {
  overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px rgb(61 60 120 / 0.16), 0 0 0 1px rgb(15 26 43 / 0.05);
  font: 400 14px/1.5 "IBM Plex Sans Arabic", "Noto Sans Arabic", "Instrument Sans", system-ui, sans-serif;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfbfd; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e6ee; }
.mock-bar span { margin-inline-start: 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
.mock-body { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); height: 430px; transition: opacity .4s; }
.mock.fade .mock-body { opacity: 0; }
.mock-list { list-style: none; margin: 0; padding: 8px; display: grid; align-content: start; gap: 2px; overflow: hidden; border-inline-end: 1px solid var(--line); }
.mock-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; max-height: 90px; padding: 10px; border-radius: 13px; transition: background-color .3s; }
.mock-item.sel { background: var(--accent-soft); }
.mock-item.arrive { animation: arrive .6s cubic-bezier(.2, .8, .2, 1) both; overflow: hidden; }
@keyframes arrive { from { opacity: 0; max-height: 0; padding-block: 0; transform: translateY(-12px); } }
.mock-avatar { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c, var(--accent)); color: #fff; font-size: 15px; font-weight: 600; line-height: 1; }
.mock-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.mock-top b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mock-top small { flex: none; color: var(--muted); font-size: 11.5px; }
.mock-preview { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 18px; color: var(--muted); font-size: 12.5px; }
.mock-preview span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-preview .mark { width: 16px; height: 16px; }
.mock-preview .mark-ai { background-size: 8px 10px; }
.mock-preview .mark-you { background-size: 10px; }
.mock-preview .mark-wait { width: 9px; height: 9px; margin: 3.5px; }
.mock-preview .dots { min-height: 18px; gap: 4px; }
.mock-preview .dots i { width: 5px; height: 5px; }
.mock-thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-head .mock-avatar { grid-row: auto; width: 32px; height: 32px; font-size: 13px; flex: none; }
.mock-head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mock-tag { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; transition: background-color .3s, color .3s; }
.mock-tag.wait { background: #fdecea; color: #c8321e; }
.mock-tag.you { background: var(--ink); color: #fff; }
.mock-log { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; }
.mock-msg { position: relative; max-width: 86%; padding: 8px 12px; border-radius: 15px; font-size: 13.5px; line-height: 1.6; }
.mock-msg.customer { align-self: flex-start; background: #f3f4f9; border-end-start-radius: 4px; }
.mock-msg.ai, .mock-msg.staff { align-self: flex-end; margin-inline-end: 30px; max-width: calc(86% - 30px); border-end-end-radius: 4px; }
.mock-msg.ai { background: var(--accent-soft); color: #1f2b6b; }
.mock-msg.staff { background: var(--ink); color: #fff; }
.mock-msg.ai::after, .mock-msg.staff::after { content: ""; position: absolute; inset-inline-end: -30px; bottom: 0; width: 24px; height: 24px; border-radius: 50%; }
.mock-msg.ai::after { background: #fff url(logo-mark.svg) center / 12px 15px no-repeat; box-shadow: 0 0 0 1px rgb(15 26 43 / 0.08); }
.mock-msg.staff::after { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center / 13px no-repeat; }
.mock-msg.pop { animation: pop .4s cubic-bezier(.2, .9, .3, 1.25) both; }
.mock-reply { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px; border-top: 1px solid var(--line); }
.mock-field { flex: 1 1 150px; min-width: 0; min-height: 38px; display: flex; align-items: center; padding: 7px 12px; border: 1px solid transparent; border-radius: 12px; background: #f3f4f9; color: #8b93a4; font-size: 13px; line-height: 1.5; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.mock-field.active { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(61 90 254 / 0.14); color: var(--ink); }
.mock-field.active .mock-placeholder, .mock-typed:empty { display: none; }
.mock-field.active .mock-typed:empty { display: inline; }
.mock-suggest { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.mock-suggest svg { width: 15px; height: 15px; flex: none; fill: currentColor; }
.mock-suggest.on { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgb(61 90 254 / 0.18); transform: scale(1.05); }
.mock-send { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; transition: transform .15s; }
.mock-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .mock-send svg { transform: scaleX(-1); }
.mock-send.press { transform: scale(.86); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--soft); border-radius: var(--radius); padding: 30px 26px 26px; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgb(15 26 43 / 0.09); }
.plan-rec { background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 24px 50px rgb(15 26 43 / 0.10); }
.plan-rec:hover { box-shadow: 0 0 0 2px var(--ink), 0 32px 64px rgb(15 26 43 / 0.15); }
.badge { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--accent); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 3px 13px; border-radius: 999px; line-height: 1.6; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.plan-price b { font: 700 3.2rem/1 "Instrument Sans", sans-serif; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; direction: ltr; }
.plan-price span { color: var(--muted); font-size: 0.95rem; }
.plan-messages { margin-top: 12px; font-weight: 600; }
.plan-features { margin: 20px 0 26px; padding-top: 6px; border-top: 1px solid var(--line); }
.plan-group { margin: 16px 0 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); opacity: 0.55; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan li { position: relative; padding-inline-start: 28px; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--ok); font-weight: 700; }
.plan li.off { opacity: 0.5; text-decoration: line-through; text-decoration-color: rgb(15 26 43 / 0.35); }
.plan li.off::before { content: "–"; color: var(--muted); }
.plan .btn { margin-top: auto; width: 100%; }
#pricing .note { margin-top: 30px; text-align: center; }

/* Credits only: no monthly plan, a slider picks the pack. */
.credits {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: 28px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 44px rgb(15 26 43 / 0.06);
}
.credits[hidden] { display: none; }
.credits h3 { font-size: 1.5rem; }
.credits-copy > p { color: var(--muted); margin-top: 8px; max-width: 34em; }
.credits-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.credits-list li { position: relative; padding-inline-start: 28px; color: #3f4856; font-size: 0.97rem; line-height: 1.5; }
.credits-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--ok); font-weight: 700; }
.credits-buy { display: grid; gap: 4px; padding: 26px; border-radius: 20px; background: var(--soft); text-align: center; }
.credits-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; min-height: 3.6rem; }
.credits-price b { font: 700 3.4rem/1 "Instrument Sans", sans-serif; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.credits-price span { color: var(--muted); }
.credits.big .credits-price b { font-family: var(--display); font-size: 2.2rem; letter-spacing: -0.02em; line-height: 1.6; }
.credits.big .credits-price span { display: none; }
.credits-count { color: var(--muted); min-height: 1.6em; }
/* The slider is drawn by hand: a thin track that fills in dark up to a round dark knob. */
.credits-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 18px 0 4px; background: transparent; cursor: pointer;
  --track: linear-gradient(to right, var(--ink) var(--fill, 0%), #dde1ea var(--fill, 0%));
}
[dir="rtl"] .credits-range { --track: linear-gradient(to left, var(--ink) var(--fill, 0%), #dde1ea var(--fill, 0%)); }
.credits-range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: var(--track); }
.credits-range::-moz-range-track { height: 6px; border-radius: 999px; background: var(--track); }
.credits-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 2px 8px rgb(15 26 43 / 0.3); transition: transform .15s; }
.credits-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 2px 8px rgb(15 26 43 / 0.3); transition: transform .15s; }
.credits-range:hover::-webkit-slider-thumb, .credits-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.credits-range:hover::-moz-range-thumb, .credits-range:active::-moz-range-thumb { transform: scale(1.15); }
.credits-range:focus { outline: none; }
.credits-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--accent), 0 2px 8px rgb(15 26 43 / 0.3); }
.credits-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--accent), 0 2px 8px rgb(15 26 43 / 0.3); }
.credits-ends { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.85rem; }
.credits-buy .btn { margin-top: 18px; width: 100%; }

/* ---------- Movement (only when the visitor has not asked for less motion) ---------- */
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .hero-copy > * { animation: enter .9s cubic-bezier(.2, .7, .2, 1) both; }
.motion .hero-copy > :nth-child(2) { animation-delay: .08s; }
.motion .hero-copy > :nth-child(3) { animation-delay: .16s; }
.motion .hero-copy > :nth-child(4) { animation-delay: .24s; }
.motion .hero-copy > :nth-child(5) { animation-delay: .32s; }
/* Hero cards: they come in one by one and bob gently, and the parts of a conversation appear one after another while it plays. */
.hc-a { --in: .25s; --bob: -1s; }
.hc-b { --in: .4s; --bob: -4.5s; }
.hc-c { --in: .55s; --bob: -2.5s; }
.hc-d { --in: .7s; --bob: -6s; }
.motion .hc {
  transition: scale .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
  animation: card-in .9s cubic-bezier(.2, .8, .2, 1) var(--in) backwards, bob 7.5s ease-in-out var(--bob) infinite;
}
.motion .hc.live { scale: 1.035; }
.motion .hc.live .hc-head::after { animation: online 1.6s ease-out infinite; }
.motion .hc-step, .motion .hc-reply .hc-msg, .motion .hc-reply .hc-ai { opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s ease, transform .5s cubic-bezier(.2, .9, .3, 1.3); }
.motion .hc-step.on, .motion .hc-reply.on .hc-msg, .motion .hc-reply.on .hc-ai, .motion .hc-reply.typing .hc-ai { opacity: 1; transform: none; }
.motion .hc-reply.typing .hc-dots { display: inline-flex; animation: rise .3s ease-out both; }
.motion .hc-mail i { animation: wait 1.8s ease-out infinite; }
@keyframes card-in { from { opacity: 0; scale: .88; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes enter { from { opacity: 0; transform: translateY(24px); } }
.motion .beams::before { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { translate: -2.5% 0; } to { translate: 2.5% 1.5%; } }
.hero::after { content: ""; position: absolute; z-index: 0; top: -120px; inset-inline-end: -140px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgb(124 92 255 / 0.13), transparent 65%); pointer-events: none; }
.motion .hero::after { animation: glow 16s ease-in-out infinite alternate; }
@keyframes glow { to { translate: -90px 70px; scale: 1.15; } }
.motion .mark-key .mark-wait, .motion .mock-preview .mark-wait { animation: wait 1.8s ease-out infinite; }
@keyframes wait { 0% { box-shadow: 0 0 0 0 rgb(229 72 77 / 0.5); } 70%, 100% { box-shadow: 0 0 0 6px rgb(229 72 77 / 0); } }
.motion .steps li::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0s) + .25s); }
.motion .steps li.in::before { transform: none; }
.motion .steps li .step-num { transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.2, .9, .3, 1.5) calc(var(--d, 0s) + .2s), opacity .3s calc(var(--d, 0s) + .2s), background-color .25s, color .25s; }
.motion .steps li.in .step-num { transform: none; opacity: 1; }
.motion .steps li.in:hover .step-num { transform: scale(1.08); }
.motion .panel .pills span { opacity: 0; transform: translateY(10px) scale(.94); transition: opacity .5s, transform .5s cubic-bezier(.2, .9, .3, 1.3); }
.motion .panel.in .pills span { opacity: 1; transform: none; }
.motion .panel.in .pills span:nth-child(1) { transition-delay: .45s; }
.motion .panel.in .pills span:nth-child(2) { transition-delay: .6s; }
.motion .panel.in .pills span:nth-child(3) { transition-delay: .75s; }
.motion .panel.in .pills span:nth-child(4) { transition-delay: .9s; }
.motion details[open] > p { animation: rise .35s ease-out both; }
.top { transition: box-shadow .3s; }
.top.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgb(15 26 43 / 0.06); }
.btn-primary:hover, .btn-light:hover, .btn-ghost:hover { transform: translateY(-2px); }
.btn-primary:hover, .btn-light:hover { box-shadow: 0 14px 30px rgb(15 26 43 / 0.24); }
@media print { .motion .reveal { opacity: 1; transform: none; } }

/* ---------- FAQ ---------- */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; font-weight: 600; font-size: 1.1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 1.7rem/1 "Instrument Sans", sans-serif; color: var(--muted); flex: none; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 24px; max-width: 46em; }

/* ---------- Closing panel and footer ---------- */
.closing { padding-block: 0 clamp(40px, 6vw, 72px); }
.closing-panel { position: relative; overflow: hidden; background: var(--soft); border-radius: 32px; padding: clamp(40px, 7vw, 84px) 24px; text-align: center; }
.closing-panel > * { position: relative; z-index: 1; }
.closing-panel h2 { max-width: 16em; margin-inline: auto; }
.closing-panel .btn { margin-top: 30px; }
.foot { color: var(--muted); font-size: 0.92rem; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 26px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- Dialog ---------- */
dialog { border: 0; border-radius: 24px; padding: 32px; max-width: min(440px, calc(100vw - 32px)); background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgb(15 26 43 / 0.25); }
dialog::backdrop { background: rgb(15 26 43 / 0.45); }
dialog h2 { font-size: 1.5rem; }
dialog p { color: var(--muted); margin: 10px 0 24px; }

/* ---------- Thank-you and legal pages ---------- */
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.thanks-card { max-width: 520px; }
.thanks-card .logo-mark { margin-inline: auto; }
.thanks-card h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-top: 26px; line-height: 1.2; }
.thanks-card p { color: var(--muted); margin: 14px 0 30px; }
.legal { padding-block: clamp(36px, 6vw, 72px); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #3f4856; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-inline-start: 22px; display: grid; gap: 6px; }
.legal .fill { background: #fff3c4; border-radius: 4px; padding: 0 4px; }
.legal .updated { color: var(--muted); }

/* ---------- Small screens ---------- */
@media (max-width: 920px) {
  .hero-grid, .duo, .features, .inbox-grid, .credits { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 30px; }
  .credits { max-width: 460px; margin-inline: auto; margin-top: 30px; }
  .hstage { width: 100%; max-width: 620px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .top .lang-menu { margin-inline-start: auto; }
  .panel { min-height: 0; }
}
@media (max-width: 640px) {
  .mock-body { grid-template-columns: 1fr; height: auto; }
  .mock-list { max-height: 212px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .mock-thread { height: 390px; }
}
@media (max-width: 560px) {
  /* One column of cards, a little to one side and then the other. */
  .hstage { grid-template-columns: 1fr; gap: 14px; padding-block: 4px 12px; }
  .hcol { gap: 14px; }
  .hcol + .hcol { margin-top: 0; }
  .hcol:first-child .hc { margin-inline-end: 22px; }
  .hcol:last-child .hc { margin-inline-start: 22px; }
  .hc { padding: 12px; gap: 8px; font-size: 13.5px; border-radius: 20px; }
  .hc-cus .pic { max-width: 168px; }
  .hc-alert { padding: 14px; gap: 9px; }
  .hc-row { padding-top: 7px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .lang-button { min-height: 40px; }
  .logo { height: 28px; }
  .top-row { gap: 10px; }
  .hero .btn { flex: 1 1 100%; }
  .stats { gap: 10px; }
  .stat { padding: 20px 16px; }
  .stat span { font-size: 0.9rem; }
  .credits-buy { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dots i, .mock-field.active .mock-typed::after { animation: none; }
  .btn, .panel, .feature, .feature-icon, .plan, .stat, .step-num, .mock-suggest, .mock-send { transition: none; }
  .btn:hover, .panel:hover, .feature:hover, .plan:hover, .stat:hover, .feature:hover .feature-icon, .steps li:hover .step-num { transform: none; }
}
