/* Hayyak — light, warm, multi-page.
   Layout concept: calm white and cream pages, terracotta brand colour with saffron and aubergine, chat UI
   as the hero of every page, photography in soft rounded frames. */
:root {
  --bg: #FFFDFA;           /* warm white */
  --bg-soft: #FAF4EC;      /* sand sections */
  --bg-mint: #FCEDE5;      /* soft coral tint sections */
  --ink: #1B1530;          /* night majlis: deep aubergine ink */
  --ink-2: #4A4458;
  --ink-3: #7A7387;
  --line: #ECE4DA;
  --card: #FFFFFF;
  --brand: #C9431F;        /* Hayyak terracotta: buttons and links (4.9:1 on white) */
  --brand-2: #A9361A;
  --brand-hi: #E8603A;     /* brighter coral for the symbol and decoration */
  --brand-soft: #FCE3D7;
  --sun: #F2B33D;          /* saffron highlights */
  --sun-soft: #FDF1D8;
  --deep: #2A1F4A;         /* deep indigo for dark bands */
  --wa-wall: #F6EFE6;      /* chat wallpaper */
  --wa-in: #FFFFFF;
  --wa-out: #FDE6DA;       /* our own outgoing bubble, not WhatsApp green */
  --wa-head: #FFFFFF;
  --tick: #C9431F;
  --shadow: 0 1px 2px rgba(27,21,48,.04), 0 12px 32px -12px rgba(27,21,48,.16);
  --shadow-lg: 0 2px 6px rgba(27,21,48,.05), 0 40px 80px -30px rgba(27,21,48,.30);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
  --r: 20px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light; /* a deliberately light site */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[lang="ar"] body, body:lang(ar) { font-family: var(--font-ar); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
h1, h2, h3, h4 { margin: 0; letter-spacing: -.022em; text-wrap: balance; color: var(--ink); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; }
.h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; font-weight: 750; }
.h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; font-weight: 720; }
.h3 { font-size: 22px; line-height: 1.3; font-weight: 680; letter-spacing: -.01em; }
[dir="rtl"] .h1 { line-height: 1.25; font-weight: 700; }
[dir="rtl"] .h2 { line-height: 1.3; font-weight: 700; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 60ch; margin: 18px 0 0; }
.muted { color: var(--ink-2); }
.hl { color: var(--brand); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 14px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 650; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn--brand:hover { background: var(--brand-2); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn--line { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.btn--white { background: #fff; color: var(--ink); }
.cta .btn--white { background: var(--brand); color: #fff; }
.cta .btn--white:hover { background: #fff; color: var(--ink); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn .arrow { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
.link { color: var(--brand); font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link .arrow { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .link .arrow { transform: scaleX(-1); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(27,21,48,.25); }
.top__in { height: 72px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { height: 34px; width: auto; display: block; overflow: visible; }
.logo__ar { display: none !important; }
[dir="rtl"] .logo__en { display: none !important; }
[dir="rtl"] .logo__ar { display: block !important; height: 38px; }
.logo .lg-b { transform-box: fill-box; transform-origin: 30% 100%; transition: transform .5s var(--ease); }
.logo:hover .lg-b { transform: rotate(-6deg) scale(1.04); }
.logo .lg-s { stroke-dasharray: 100; stroke-dashoffset: 0; }
.top .logo .lg-b { animation: lgPop .7s var(--ease) .1s both; }
.top .logo .lg-s { animation: lgDraw .9s var(--ease) .45s both; }
@keyframes lgPop { from { transform: scale(.4) rotate(-14deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lgDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.menu { display: flex; gap: 4px; margin-inline-start: 8px; }
.menu a { text-decoration: none; font-size: 15px; font-weight: 550; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.menu a:hover { color: var(--ink); background: var(--bg-soft); }
.menu a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.top__end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { height: 42px; min-width: 52px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 14.5px; font-weight: 600; transition: border-color .2s; }
.lang:hover { border-color: var(--ink-3); }
.lang [lang="ar"] { font-family: var(--font-ar); }
.burger { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.burger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; margin: 4px auto; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.drawer { position: fixed; inset: 72px 0 0 0; z-index: 55; background: var(--bg); padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer a:not(.btn) { text-decoration: none; font-size: 22px; font-weight: 650; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 20px; }

/* sections */
.sec { padding-block: clamp(72px, 9vw, 120px); }
.sec--soft { background: var(--bg-soft); }
.sec--mint { background: var(--bg-mint); }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec__head.center { margin-inline: auto; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-soft), var(--bg) 92%); padding-block: clamp(48px, 7vw, 88px) clamp(64px, 8vw, 104px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(70% 60% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 70% 40%, #000 20%, transparent 75%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); margin-bottom: 24px; text-decoration: none; transition: transform .25s var(--ease); }
.pill:hover { transform: translateY(-1px); }
.pill b { background: var(--brand-soft); color: var(--brand); padding: 3px 10px; border-radius: 999px; font-size: 12.5px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; inset-inline: 0; bottom: .02em; height: .14em; border-radius: 4px; background: color-mix(in srgb, var(--brand) 22%, transparent); transform-origin: left; animation: underline 1s .5s var(--ease) both; z-index: -1; }
[dir="rtl"] .hero h1 .hl::after { transform-origin: right; }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--brand); }

/* phone + whatsapp */
.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.stage__photo { position: absolute; inset-inline-start: -2%; top: 8%; width: 58%; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); max-width: 100%; }
.stage__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.stage__photo img { transform: scaleX(-1); }
[dir="rtl"] .stage__photo img { transform: none; }
.phone { position: relative; z-index: 2; width: min(330px, 86vw); border-radius: 46px; padding: 11px; background: #1B1530; box-shadow: var(--shadow-lg), inset 0 0 0 2px #3A3150; margin-inline-start: 34%; animation: floaty 7s ease-in-out infinite; }
[dir="rtl"] .phone { margin-inline-start: 34%; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.phone__screen { border-radius: 36px; overflow: hidden; background: var(--wa-wall); height: 600px; display: flex; flex-direction: column; position: relative; }
.phone__notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #1B1530; z-index: 3; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 42px 14px 10px; background: var(--wa-head); border-bottom: 1px solid var(--line); }
.wa-head__back { width: 18px; height: 18px; color: var(--brand); }
[dir="rtl"] .wa-head__back { transform: scaleX(-1); }
.wa-ava { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: 15px; flex: none; }
.wa-name { font-weight: 700; font-size: 15px; line-height: 1.2; display: flex; align-items: center; gap: 5px; }
.wa-name svg { width: 15px; height: 15px; color: var(--brand); }
.wa-sub { font-size: 12px; color: var(--ink-3); }
.wa-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; background-image: radial-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1.2px); background-size: 16px 16px; justify-content: flex-end; }
.wa-day { align-self: center; font-size: 11.5px; background: var(--card); color: var(--ink-3); padding: 4px 10px; border-radius: 8px; box-shadow: 0 1px 1px rgba(0,0,0,.05); margin-bottom: 4px; }
.bub { max-width: 84%; padding: 7px 10px 5px; border-radius: 12px; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.07); position: relative; animation: pop .45s var(--ease) both; overflow-wrap: anywhere; }
@keyframes pop { from { transform: translateY(8px) scale(.96); opacity: .001; } to { transform: none; opacity: 1; } }
.bub--in { align-self: flex-start; background: var(--wa-in); border-start-start-radius: 4px; }
.bub--out { align-self: flex-end; background: var(--wa-out); border-start-end-radius: 4px; }
.bub__meta { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.bub__meta svg { width: 16px; height: 10px; color: var(--tick); }
.bub__btns { display: grid; gap: 5px; margin-top: 7px; }
.bub__btns span { text-align: center; font-size: 13.5px; font-weight: 600; color: var(--brand); background: var(--wa-in); border-radius: 8px; padding: 7px; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.bub__btns span.is-pick { background: var(--brand-soft); }
.wa-typing { align-self: flex-start; display: inline-flex; gap: 4px; background: var(--wa-in); padding: 11px 13px; border-radius: 12px; border-start-start-radius: 4px; animation: pop .3s var(--ease) both; }
.wa-typing.out { align-self: flex-end; background: var(--wa-out); border-start-start-radius: 12px; border-start-end-radius: 4px; }
.wa-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1.1s infinite; }
.wa-typing i:nth-child(2) { animation-delay: .15s; } .wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.wa-input { display: flex; align-items: center; gap: 8px; padding: 9px 10px 14px; background: var(--wa-head); }
.wa-input span { flex: 1; height: 36px; border-radius: 18px; background: var(--card); display: flex; align-items: center; padding-inline: 14px; font-size: 13px; color: var(--ink-3); }
.wa-input i { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: #fff; }
.wa-input i svg { width: 16px; height: 16px; }

.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.3; animation: bob 6s ease-in-out infinite; }
.chip b { display: block; font-size: 14px; }
.chip span { color: var(--ink-3); font-size: 12.5px; }
.chip__ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.chip__ic svg { width: 19px; height: 19px; }
.chip--a { top: 12%; inset-inline-end: -2%; animation-delay: -1s; }
.chip--b { bottom: 16%; inset-inline-start: 4%; animation-delay: -3s; }
.chip--c { bottom: 3%; inset-inline-end: 4%; animation-delay: -5s; }
.chip.is-pending { opacity: .001; transform: translateY(10px); }
.chip { transition: opacity .5s var(--ease); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* marquee */
.gcc { padding-block: 26px; border-block: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.gcc__in { display: flex; align-items: center; gap: 28px; }
.gcc__label { flex: none; font-size: 14px; font-weight: 650; color: var(--ink-3); }
.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); flex: 1; min-width: 0; }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: slide 36s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: slide-rtl; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes slide-rtl { to { transform: translateX(50%); } }
.country { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); font-weight: 650; font-size: 15px; white-space: nowrap; }
.country i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* cards & grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; min-width: 0; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; transition: transform .35s var(--ease); }
.card:hover .ic { transform: rotate(-6deg) scale(1.06); }
.ic svg { width: 26px; height: 26px; }
.pain { position: relative; overflow: hidden; }
.pain__n { font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 12px; display: block; }

/* steps */
.steps { counter-reset: s; }
.step { position: relative; }
.step__vis { background: var(--bg-soft); border-radius: 16px; height: 170px; margin-bottom: 22px; display: grid; place-items: center; overflow: hidden; position: relative; }
.step__no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 700; margin-bottom: 14px; }

/* mini UI pieces used inside visuals */
.mini { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; font-size: 13.5px; }
.mini-row { display: flex; align-items: center; gap: 10px; }
.mini-row + .mini-row { margin-top: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); flex: none; }
.bar { height: 8px; border-radius: 6px; background: var(--line); flex: 1; }
.bar.w60 { flex: .6; } .bar.w40 { flex: .4; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 8px; }
.slot { border: 1px solid var(--line); border-radius: 9px; padding: 7px 8px; text-align: center; font-size: 12.5px; font-weight: 650; }
.slot.on { background: var(--brand); color: #fff; border-color: var(--brand); animation: pulse 2.4s ease-in-out infinite; }
.slot.off { color: var(--ink-3); text-decoration: line-through; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 40%, transparent); } 50% { box-shadow: 0 0 0 6px transparent; } }
.wa-mini { background: var(--wa-wall); border-radius: 14px; padding: 12px; width: 84%; display: grid; gap: 6px; }
.wa-mini .bub { font-size: 12.5px; animation: none; }

/* feature split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(72px, 9vw, 120px); }
.split--flip .split__media { order: 2; }
.split__media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4.2; box-shadow: var(--shadow); max-width: 100%; }
.split__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split:hover .split__media > img { transform: scale(1.03); }
.split__float { position: absolute; inset-inline-end: 18px; bottom: 18px; width: min(300px, 78%); }
.split__float--top { top: 18px; bottom: auto; inset-inline-start: 18px; inset-inline-end: auto; }
.bullets { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.bullets svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.bullets b { color: var(--ink); font-weight: 650; }

/* photo cards (industries) */
.pcard { position: relative; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); min-width: 0; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; max-width: 100%; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__body p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.pcard__body .link { margin-top: auto; padding-top: 6px; }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2FAE6B; box-shadow: 0 0 0 0 rgba(47,174,107,.6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(47,174,107,.55); } 70% { box-shadow: 0 0 0 7px rgba(47,174,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,174,107,0); } }

/* video band */
.vband { position: relative; border-radius: 32px; overflow: hidden; min-height: 460px; display: grid; align-items: end; isolation: isolate; }
.vband video, .vband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,0) 75%); }
[dir="rtl"] .vband::after { background: linear-gradient(270deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,0) 75%); }
.vband__in { padding: clamp(32px, 5vw, 64px); max-width: 600px; }
.vband__in h2, .vband__in p { color: var(--ink); }

/* pricing */
.toggle-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-bottom: 40px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); position: relative; }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: 14.5px; font-weight: 650; color: var(--ink-2); transition: color .25s; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; border-radius: 999px; background: var(--card); box-shadow: 0 2px 6px rgba(27,21,48,.12); transition: left .35s var(--ease), width .35s var(--ease), right .35s var(--ease); }
.save { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 8px; border-radius: 999px; margin-inline-start: 6px; }
.cur { height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); padding: 0 16px; font-weight: 650; font-size: 14.5px; cursor: pointer; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 18px; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); min-width: 0; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--hi { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan--hi .tagline { position: absolute; top: -13px; inset-inline-start: 28px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .desc { color: var(--ink-2); margin: 0; font-size: 15.5px; min-height: 3.1em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-size: 46px; font-weight: 780; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; transition: opacity .2s; }
.price .c { font-weight: 700; color: var(--ink-2); font-size: 15px; }
.price .p { color: var(--ink-3); font-size: 14.5px; }
.price.is-swap b { opacity: .2; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 19px; height: 19px; color: var(--brand); flex: none; margin-top: 3px; }
.plan li.inc { font-weight: 650; color: var(--ink); }
.plan .btn { margin-top: auto; }
.notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 30px; color: var(--ink-2); font-size: 14.5px; }
.notes span { display: inline-flex; align-items: center; gap: 8px; }
.notes svg { width: 17px; height: 17px; color: var(--brand); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.cmp th, .cmp td { padding: 15px 20px; text-align: start; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 14px; color: var(--ink-2); font-weight: 700; background: var(--bg-soft); }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr { transition: background .2s; }
.cmp tbody tr:hover { background: var(--bg-soft); }
.yes { color: var(--brand); } .no { color: var(--ink-3); }
.yes svg, .no svg { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }

/* faq */
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: start; font-size: 18px; font-weight: 650; }
.qa .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease), background .3s; }
.qa .pm svg { width: 14px; height: 14px; }
.qa button[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--brand-soft); color: var(--brand); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.qa__a > div { overflow: hidden; }
.qa__a p { margin: 0 0 22px; color: var(--ink-2); max-width: 66ch; }
.qa button[aria-expanded="true"] + .qa__a { grid-template-rows: 1fr; }

/* cta card */
.cta { position: relative; overflow: hidden; border-radius: 32px; background: var(--deep); color: #fff; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand-hi) 55%, transparent), transparent 65%); inset-inline-end: -140px; top: -200px; z-index: -1; animation: drift 14s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(-30px, 30px) scale(1.05); } }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); margin: 14px 0 0; max-width: 54ch; }
.cta .ctas { justify-content: flex-end; margin: 0; }
.cta .btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.cta .btn--ghost:hover { border-color: #fff; }

/* footer */
.foot { background: var(--bg-soft); padding-block: 64px 28px; margin-top: clamp(72px, 9vw, 120px); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; }
[dir="rtl"] .foot h4 { letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.foot a:hover { color: var(--brand); }
.foot__about { color: var(--ink-2); max-width: 36ch; margin: 14px 0 0; font-size: 15.5px; }
.foot__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--ink-3); font-size: 13.5px; }

/* page hero (inner pages) */
.phero { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.phero .lead { max-width: 64ch; }
.crumb { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumb a { text-decoration: none; color: var(--ink-3); }
.crumb a:hover { color: var(--brand); }

/* tabs (product) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.tabs button { border: 1px solid var(--line); background: var(--card); padding: 10px 18px; border-radius: 999px; font-weight: 650; font-size: 15px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.tabs button:hover { transform: translateY(-1px); }
.tabs button svg { width: 18px; height: 18px; fill: currentColor; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--bg-soft); border-radius: 28px; padding: clamp(24px, 4vw, 48px); animation: fadeIn .45s var(--ease) both; }
.panel[hidden] { display: none; }
@keyframes fadeIn { from { transform: translateY(8px); opacity: .001; } to { transform: none; opacity: 1; } }
.panel__vis { display: grid; place-items: center; min-height: 380px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento .card { grid-column: span 2; }
.bento .card.wide { grid-column: span 3; }
.bento .card.tall { display: flex; flex-direction: column; }

/* dashboard mock */
.dash { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.dash__top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.dash__top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dash__top span { margin-inline-start: 10px; font-size: 12.5px; color: var(--ink-3); }
.dash__body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 360px; }
.dash__nav { border-inline-end: 1px solid var(--line); padding: 16px 12px; display: grid; gap: 4px; align-content: start; font-size: 13.5px; }
.dash__nav span { padding: 8px 10px; border-radius: 9px; color: var(--ink-2); }
.dash__nav span.on { background: var(--brand-soft); color: var(--brand); font-weight: 650; }
.dash__main { padding: 18px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.kpi span { display: block; font-size: 12px; color: var(--ink-3); }
.kpi b { font-size: 24px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--brand); font-weight: 650; font-size: 12px; }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin: 16px 0; padding: 0 4px; border-bottom: 1px solid var(--line); }
.chart i { flex: 1; border-radius: 6px 6px 0 0; background: color-mix(in srgb, var(--brand) 25%, transparent); transform-origin: bottom; animation: grow 1s var(--ease) both; }
.chart i.on { background: var(--brand); }
.chart i:nth-child(2) { animation-delay: .06s; } .chart i:nth-child(3) { animation-delay: .12s; } .chart i:nth-child(4) { animation-delay: .18s; } .chart i:nth-child(5) { animation-delay: .24s; } .chart i:nth-child(6) { animation-delay: .3s; } .chart i:nth-child(7) { animation-delay: .36s; }
@keyframes grow { from { transform: scaleY(.05); } to { transform: none; } }
.rows { display: grid; gap: 8px; font-size: 13.5px; }
.rowx { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--bg-soft); }
.rowx code { font-family: inherit; color: var(--ink-3); font-size: 12.5px; }
.rowx span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.st--new { background: #E3F0FF; color: #1D5FB8; }
.st--ready { background: var(--brand-soft); color: var(--brand); }
.st--pick { background: #FFF2D9; color: #9A6400; }
.sample { display: inline-flex; font-size: 11.5px; font-weight: 650; color: var(--ink-3); border: 1px dashed var(--line); border-radius: 999px; padding: 3px 9px; margin-inline-start: auto; }

/* industries rows (solutions) */
.irow { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(20px, 3vw, 28px); border-radius: 28px; background: var(--bg-soft); }
.irow + .irow { margin-top: 24px; }
.irow:nth-child(even) .irow__img { order: 2; }
.irow__img { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.irow__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.irow:hover .irow__img img { transform: scale(1.04); }
.irow p { color: var(--ink-2); margin: 12px 0 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags span { font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }

/* about */
.values .card h3 { font-size: 19px; }
.photo-band { border-radius: 32px; overflow: hidden; aspect-ratio: 21 / 9; max-width: 100%; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.field .err { font-size: 13px; color: #C2410C; min-height: 0; }
.form .btn { width: 100%; margin-top: 22px; }
.form__note { font-size: 13.5px; color: var(--ink-3); margin: 14px 0 0; text-align: center; }
.done { text-align: center; padding: 30px 10px; animation: fadeIn .5s var(--ease) both; }
.done[hidden] { display: none; }
.done .ic { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 50%; }
.side { background: var(--deep); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 40px); position: relative; overflow: hidden; isolation: isolate; }
.side::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%); inset-inline-end: -120px; bottom: -160px; z-index: -1; }
.side h3 { color: #fff; }
.side ol { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; counter-reset: c; }
.side li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; color: rgba(255,255,255,.9); counter-increment: c; }
.side li::before { content: counter(c); width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.side li b { color: #fff; display: block; }
.side__contact { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: 8px; font-size: 15px; }
.side__contact a { color: #fff; }
.side__photo { margin-top: 24px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; }
.side__photo img { width: 100%; height: 100%; object-fit: cover; }

/* reveal: elements stay visible, they only rise a little the first time they enter */
.js .rv { transition: transform .9s var(--ease); }
.js .rv.below { transform: translateY(22px); }
.rv-d1 { transition-delay: .06s !important; } .rv-d2 { transition-delay: .12s !important; } .rv-d3 { transition-delay: .18s !important; } .rv-d4 { transition-delay: .24s !important; }

/* responsive */
/* read receipts: ticks go from grey to brand when the customer has read the reply */
.bub__meta svg { color: var(--ink-3); transition: color .4s; }
.bub.is-read .bub__meta svg { color: var(--tick); }

/* reading progress (inner pages) */
.progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--sun)); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .progress { transform-origin: 100% 50%; }

/* conversation gallery */
.convo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.convo__list { display: grid; gap: 10px; }
.cv-tab { position: relative; overflow: hidden; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; text-align: start; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.cv-tab:hover { transform: translateX(4px); }
[dir="rtl"] .cv-tab:hover { transform: translateX(-4px); }
.cv-tab[aria-selected="true"] { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: var(--shadow); }
.cv-tab__ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink-2); transition: background .25s, color .25s; }
.cv-tab__ic svg { width: 24px; height: 24px; fill: currentColor; }
.cv-tab[aria-selected="true"] .cv-tab__ic { background: var(--brand); color: #fff; }
.cv-tab__t { display: grid; gap: 2px; min-width: 0; }
.cv-tab__t b { font-size: 16px; font-weight: 680; }
.cv-tab__t small { font-size: 13.5px; color: var(--ink-3); }
.cv-tab__p { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--brand); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; opacity: 0; transition: opacity .3s; }
[dir="rtl"] .cv-tab__p { transform-origin: 100% 50%; }
.cv-tab[aria-selected="true"] .cv-tab__p { opacity: 1; }
.convo__stage { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--bg-soft); border-radius: 32px; padding: clamp(20px, 3vw, 36px); }
.phone.phone--cv { margin: 0 !important; width: 100%; max-width: 320px; animation: none; }
.phone--cv .phone__screen { height: 580px; }
.cv-body { overflow-y: auto; scrollbar-width: none; justify-content: flex-start; scroll-behavior: smooth; }
.cv-body::-webkit-scrollbar { display: none; }
.cv-body > :first-child { margin-top: auto; }
.convo__side { display: grid; gap: 16px; align-content: center; min-width: 0; }
.cv-ctrl { display: flex; align-items: center; gap: 10px; }
.cv-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: transform .2s var(--ease), background .2s; flex: none; }
.cv-btn:hover { transform: scale(1.06); }
.cv-btn svg { width: 16px; height: 16px; }
.cv-btn[data-cv-play] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cv-btn .i-pause { display: none; }
.convo.is-playing .cv-btn .i-pause { display: block; }
.convo.is-playing .cv-btn .i-play { display: none; }
.cv-track { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.cv-track span { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .cv-track span { transform-origin: 100% 50%; }
.cv-side__k { margin: 8px 0 0; font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
[dir="rtl"] .cv-side__k { letter-spacing: 0; }
.cv-notes { display: grid; gap: 10px; min-height: 200px; align-content: start; }
.cv-note { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); font-weight: 600; font-size: 15.5px; line-height: 1.45; animation: noteIn .55s var(--ease) both; }
.cv-note:last-child { outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.cv-note__dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
@keyframes noteIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.cv-side__fine { margin: 0; font-size: 12.5px; color: var(--ink-3); }

/* chat extras: voice notes, location, bill, system notices, staff replies */
.wa-sys { align-self: center; max-width: 90%; text-align: center; font-size: 12px; font-weight: 600; background: var(--sun-soft); color: #6B4A06; padding: 6px 12px; border-radius: 10px; animation: pop .45s var(--ease) both; }
.bub--human { background: #EFEAFB; }
.bub__who { display: block; font-size: 12px; font-weight: 700; color: var(--deep); margin-bottom: 2px; }
.bub--voice { min-width: 220px; }
.vn { display: flex; align-items: center; gap: 9px; }
[dir="rtl"] .vn { flex-direction: row-reverse; }
.vn__play { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.vn__play svg { width: 11px; height: 11px; }
.vn__wave { display: flex; align-items: center; gap: 2px; height: 22px; flex: 1; }
.vn__wave i { width: 3px; height: var(--h); border-radius: 3px; background: color-mix(in srgb, var(--ink) 30%, transparent); transition: background .2s; }
.bub--voice.is-playing .vn__wave i { animation: wave 2.4s var(--ease) both; animation-delay: var(--d); }
@keyframes wave { 0% { background: color-mix(in srgb, var(--ink) 30%, transparent); transform: scaleY(1); } 30% { transform: scaleY(1.35); } 60%, 100% { background: var(--brand); transform: scaleY(1); } }
.vn__dur { font-size: 11px; color: var(--ink-3); }
.vn__tx { font-size: 12.5px; color: var(--ink-2); font-style: italic; margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); }
.bub--voice.is-playing .vn__tx { animation: fadeIn .5s 1.6s both; }
.bub--loc .loc { height: 74px; border-radius: 8px; margin-bottom: 6px; display: grid; place-items: center; color: var(--brand); background: linear-gradient(135deg, transparent 47%, rgba(27,21,48,.07) 47% 53%, transparent 53%), linear-gradient(45deg, transparent 47%, rgba(27,21,48,.06) 47% 53%, transparent 53%), #EAF1EC; background-size: 38px 38px, 46px 46px, auto; }
.bub--loc .loc svg { width: 30px; height: 30px; fill: currentColor; animation: drop .6s var(--ease) .2s both; }
@keyframes drop { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.bub--bill { min-width: 220px; }
.bill { display: grid; grid-template-columns: 1fr auto; gap: 3px 14px; margin-top: 8px; padding: 9px 10px; background: rgba(255,255,255,.65); border-radius: 8px; font-size: 13px; }
.bill .num { text-align: end; }
.bill__t { font-weight: 750; border-top: 1px solid var(--line); padding-top: 4px; margin-top: 2px; }

/* who-it's-for photo strip */
.faces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.face { margin: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; max-width: 100%; isolation: isolate; }
.face:nth-child(even) { transform: translateY(28px); }
.face img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.face:hover img { transform: scale(1.06); }
.face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(27,21,48,.72)); z-index: 0; }
.face figcaption { position: absolute; inset-inline: 14px; bottom: 14px; z-index: 1; color: #fff; font-weight: 650; font-size: 15px; line-height: 1.3; }
.face figcaption small { display: block; font-weight: 500; opacity: .85; font-size: 13px; }
.face__msg { position: absolute; top: 14px; inset-inline-start: 14px; inset-inline-end: 14px; z-index: 1; background: var(--card); color: var(--ink); border-radius: 12px; border-start-start-radius: 4px; padding: 8px 10px; font-size: 12.5px; line-height: 1.35; box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.face:hover .face__msg, .face.is-in .face__msg { opacity: 1; transform: none; }

/* button shine on hover */
.btn--brand { position: relative; overflow: hidden; isolation: isolate; }
.btn--brand::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--brand:hover::after { transform: translateX(120%); }

/* product hero with photo */
.phero--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.phero__media { position: relative; border-radius: 28px; aspect-ratio: 4 / 4.4; max-width: 100%; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.phero__bub { position: absolute; max-width: 250px; box-shadow: var(--shadow-lg); inset-inline-start: -28px; top: 14%; animation: bob 6s ease-in-out infinite; }
.phero__bub--2 { top: auto; bottom: 12%; inset-inline-start: auto; inset-inline-end: -24px; animation-delay: -3s; }
/* about: three portraits */
.trio { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: end; }
.trio figure { margin: 0; position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 4; max-width: 100%; }
.trio figure:nth-child(2) { aspect-ratio: 3 / 4.3; }
.trio img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.trio figure:hover img { transform: scale(1.05); }
.trio figcaption { position: absolute; inset-inline: 12px; bottom: 12px; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(8px); border-radius: 14px; padding: 10px 14px; font-weight: 650; font-size: 14.5px; }

/* brand page */
.br-hero { display: grid; place-items: center; aspect-ratio: 1; max-width: 420px; width: 100%; margin-inline: auto; border-radius: 40px; background: radial-gradient(circle at 50% 40%, var(--brand-soft), transparent 70%), var(--bg-soft); }
.br-hero img { width: 58%; height: auto; animation: floaty 7s ease-in-out infinite; }
.br-anat { position: relative; width: 120px; height: 120px; margin-bottom: 18px; }
.br-anat img { width: 100%; height: 100%; }
.br-anat__hl { position: absolute; border: 2px dashed var(--sun); border-radius: 50%; }
.br-anat__hl--door { inset: 2% 8% 40% 8%; border-radius: 50% 50% 8px 8px; }
.br-anat__hl--tail { width: 34%; height: 26%; left: 12%; bottom: 0; border-radius: 10px; }
.br-anat__hl--mark { width: 50%; height: 26%; left: 25%; top: 38%; border-radius: 12px; }
.br-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.br-tile { background: var(--card); border: 1px solid var(--line); border-radius: 24px; min-height: 180px; display: grid; place-items: center; padding: 28px; }
.br-tile img { max-width: 100%; height: auto; max-height: 64px; }
.br-tile--wide { grid-column: 1 / -1; }
.br-tile--dark { background: var(--ink); border-color: var(--ink); }
.br-tile--icons { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: center; }
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sw { display: grid; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 14px 14px 18px; }
.sw__chip { height: 110px; border-radius: 14px; background: var(--c); margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgba(27,21,48,.06); transition: transform .4s var(--ease); }
.sw:hover .sw__chip { transform: scale(1.03); }
.sw code { font-size: 13.5px; color: var(--ink-2); }
.sw small { color: var(--ink-3); font-size: 13.5px; }
.br-type { display: grid; gap: 14px; }
.br-type > div { background: var(--card); border-radius: 20px; padding: 18px 22px; display: grid; gap: 6px; }
.br-type small { color: var(--ink-3); font-size: 13px; }
.br-type img { width: auto; }
.br-concept__img { height: 150px; display: grid; place-items: center; background: var(--bg-soft); border-radius: 16px; margin-bottom: 18px; }
.br-concept__img img { width: auto; max-width: 90%; }
.br-concept--on { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.br-concept .st { font-size: 12px; vertical-align: middle; margin-inline-start: 6px; }

@media (max-width: 1060px) {
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .convo { grid-template-columns: minmax(0, 1fr); }
  .convo__list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faces .face:nth-child(n+4) { display: none; }
  .menu { display: none; }
  .burger { display: block; }
  .top__end .btn { display: none; }
  .hero__grid, .split, .panel, .irow, .contact { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split__media, .irow:nth-child(even) .irow__img { order: 0; }
  .stage { min-height: 560px; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .bento .card, .bento .card.wide { grid-column: span 3; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta .ctas { justify-content: flex-start; }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .face__msg { font-size: 11.5px; padding: 6px 8px; inset-inline: 10px; top: 10px; }
  .face figcaption { inset-inline: 10px; bottom: 10px; font-size: 14px; }
  .br-logos, .swatches { grid-template-columns: minmax(0, 1fr); }
  .br-tile--wide, .br-tile--icons { grid-column: auto; }
  .phero--split { grid-template-columns: minmax(0, 1fr); }
  .phero__bub { inset-inline-start: 10px; } .phero__bub--2 { inset-inline-end: 10px; }
  .trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .trio figure:nth-child(3) { display: none; }
  .convo__stage { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 18px 14px; }
  .convo__side { width: 100%; }
  .cv-notes { min-height: 0; }
  .convo__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .cv-tab { flex: 0 0 78%; scroll-snap-align: start; }
  .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faces .face:nth-child(n+4) { display: block; }
  .faces .face:nth-child(5) { display: none; }
  .face:nth-child(even) { transform: none; }
  body { font-size: 16px; }
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .card, .bento .card.wide { grid-column: auto; }
  .stage { min-height: 0; padding-top: 10px; }
  .stage__photo { display: none; }
  .phone { margin-inline: auto !important; width: min(310px, 88vw); }
  .phone__screen { height: 540px; }
  .chip--a { inset-inline-end: 0; top: 4%; }
  .chip--b { inset-inline-start: 0; bottom: 18%; }
  .chip--c { display: none; }
  .gcc__in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee { width: 100%; }
  .dash__body { grid-template-columns: minmax(0, 1fr); }
  .dash__nav { display: none; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vband { min-height: 420px; }
  .vband::after { background: linear-gradient(0deg, rgba(255,255,255,.97) 30%, rgba(255,255,255,.55) 70%, rgba(255,255,255,.1)); }
  [dir="rtl"] .vband::after { background: linear-gradient(0deg, rgba(255,255,255,.97) 30%, rgba(255,255,255,.55) 70%, rgba(255,255,255,.1)); }
  .photo-band { aspect-ratio: 4 / 3; }
  .kpi b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv.below { transform: none; }
}
