/* REVO product page. Scoped to /revo only (own document, own stylesheet).
   Tokens derived from attio.com computed styles (sampled 2026-11-17, lab() converted to sRGB): approximations, not brand-exact samples. */
:root {
  --bg: #ffffff;
  --bg-2: #fafafb;
  --bg-3: #f3f4f6;
  --stage: #f2f2f4;
  --line: #e4e7ec;
  --line-2: rgba(16, 24, 40, .07);
  --line-3: #d3d8df;
  --ink: #1c1d1f;
  --ink-2: #2e3238;
  --btn: #202124;
  --text-2: #505967;
  --muted: #6f7988;
  --faint: #b5bdc9;
  --warn: #9a5b13;
  --warn-bg: #fbf3e8;
  --warn-line: #f0dcc0;
  --ok: #2f6b4f;
  --ok-bg: #eef6f1;
  --r-s: 8px;
  --r: 10px;
  --r-l: 14px;
  --r-xl: 20px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .04);
  --sh-2: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 28px -14px rgba(16, 24, 40, .16);
  --sh-3: 0 1px 2px rgba(16, 24, 40, .05), 0 24px 60px -24px rgba(16, 24, 40, .22);
  --e-out: cubic-bezier(.33, 1, .68, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1200px;
  --gut: 24px;
  --f-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --f-en: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --f-disp: 'Inter Tight', 'Inter', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html:not(.anim) { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.6 var(--f-ar); letter-spacing: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
html[lang=en] body { font-family: var(--f-en); letter-spacing: -.01em; line-height: 1.5; }
[lang=en] { font-family: var(--f-en); }
html[lang=ar] [lang=en] { letter-spacing: -.005em; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
b, strong { font-weight: 600; }
bdi { unicode-bidi: isolate; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
svg.lg { width: 16px; height: 16px; flex: none; }
.m { white-space: nowrap; unicode-bidi: isolate; }
.m i { font-style: normal; font-weight: 500; font-size: .78em; color: inherit; opacity: .62; }
.ar { width: 14px; height: 14px; transition: transform .25s var(--e-out); }
[dir=rtl] .ar { transform: scaleX(-1); }

/* ── type ── */
.h-xl, .h-l, h1 { font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
html[lang=en] h1, html[lang=en] .h-xl, html[lang=en] .h-l, html[lang=en] .h-m { font-family: var(--f-disp); }
h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.04; letter-spacing: -.035em; }
html[lang=ar] h1 { line-height: 1.22; letter-spacing: 0; font-weight: 700; font-size: clamp(34px, 5.8vw, 66px); }
h1 span, .h-xl span, .h-l span { color: var(--muted); }
.h-xl { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.h-l { font-size: clamp(26px, 3.1vw, 38px); line-height: 1.14; }
.h-m { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
html[lang=ar] .h-xl, html[lang=ar] .h-l, html[lang=ar] .h-m { letter-spacing: 0; line-height: 1.32; font-weight: 700; }
.lede { font-size: clamp(16px, 1.45vw, 19px); line-height: 1.55; color: var(--text-2); font-weight: 450; text-wrap: pretty; }
html[lang=ar] .lede { line-height: 1.8; font-weight: 400; }
.sub { color: var(--text-2); font-size: 15px; line-height: 1.6; margin-top: 8px; }
.note { margin-top: 18px; font-size: 13px; color: var(--muted); line-height: 1.55; font-weight: 450; }
.note.center { text-align: center; }
.kicker { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.kicker span:first-child { font-family: var(--f-en); font-variant-numeric: tabular-nums; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: 12px; background: #fff; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: background-color .2s var(--e-out), border-color .2s var(--e-out), box-shadow .2s var(--e-out), transform .2s var(--e-out); cursor: pointer; }
.btn-l { height: 46px; padding: 0 20px; font-size: 15px; }
.btn-s { height: 36px; padding: 0 13px; font-size: 14px; }
.btn-p { background: var(--btn); color: #f3f4f6; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 1px 2px rgba(16, 24, 40, .2); }
.btn-p:hover { background: #000; }
.btn-o { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn-o:hover { border-color: var(--line-3); background: var(--bg-2); }
.btn-o:hover .ar { transform: translateX(2px); }
[dir=rtl] .btn-o:hover .ar { transform: scaleX(-1) translateX(2px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── header ── */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s var(--e-out); }
.hd.scrolled { border-bottom-color: var(--line); }
.hd-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: block; flex: none; border-radius: 6px; }
.brand img { height: 38px; width: auto; }
.hd-nav { display: flex; gap: 4px; margin-inline-start: 8px; }
.hd-nav a { font-size: 14px; color: var(--text-2); text-decoration: none; padding: 7px 10px; border-radius: 8px; transition: color .2s, background-color .2s; }
.hd-nav a:hover { color: var(--ink); background: var(--bg-3); }
.hd-act { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang { background: none; border: 0; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.lang:hover { color: var(--ink); background: var(--bg-3); }
.lang[lang=ar] { font-family: var(--f-ar); }
.burger { display: none; width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: var(--r); cursor: pointer; padding: 0; position: relative; }
.burger i { position: absolute; inset-inline-start: 11px; width: 14px; height: 1.5px; background: var(--ink); transition: transform .25s var(--e-out); }
.burger i:first-child { top: 15px; }
.burger i:last-child { top: 21px; }
.burger[aria-expanded=true] i:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded=true] i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ── hero ── */
.hero { position: relative; padding: 72px 0 40px; background: radial-gradient(1200px 520px at 50% -8%, #f4f5f8 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(#fff, #fff); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 620px; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(16, 24, 40, .022) 0 1px, transparent 1px 120px); -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); }
.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 10px; box-shadow: var(--sh-1); margin-bottom: 26px; }
[dir=rtl] .pill { padding: 5px 10px 5px 12px; }
.pill svg { width: 14px; height: 14px; color: var(--ink); }
.hero h1 { max-width: 16ch; }
html[lang=ar] .hero h1 { max-width: 22ch; }
.hero h1 span { display: block; }
.hero .lede { max-width: 620px; margin-top: 22px; }
.hero .cta-row { justify-content: center; margin-top: 30px; }

/* ── signature stage ── */
.stage { position: relative; margin-top: 56px; border-radius: var(--r-xl); background: var(--stage); border: 1px solid var(--line-2); box-shadow: var(--sh-3); overflow: hidden; isolation: isolate; aspect-ratio: 16 / 9; min-height: 600px; display: flex; flex-direction: column; padding: 40px 36px 0; }
.stage-bg { position: absolute; inset: 0; z-index: -2; }
.stage-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
[dir=rtl] .stage-bg img { transform: scaleX(-1); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(242, 242, 244, .72) 0%, rgba(242, 242, 244, .25) 36%, rgba(242, 242, 244, 0) 55%); }
.plane { position: absolute; top: 0; bottom: 0; width: 18%; inset-inline-start: 0; z-index: 3; pointer-events: none; opacity: 0; transform: translateX(-120%); }
[dir=rtl] .plane { transform: translateX(120%); }
.plane i { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .42) 38%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, .42) 62%, rgba(255, 255, 255, 0) 100%); backdrop-filter: contrast(1.04) saturate(1.1); -webkit-backdrop-filter: contrast(1.04) saturate(1.1); }
.plane::before, .plane::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; }
.plane::before { inset-inline-start: 36%; background: linear-gradient(transparent, rgba(255, 170, 190, .7) 30%, rgba(170, 200, 255, .75) 70%, transparent); }
.plane::after { inset-inline-end: 36%; background: linear-gradient(transparent, rgba(170, 220, 255, .7) 25%, rgba(255, 215, 160, .6) 75%, transparent); }

.frags { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: f; }
.frag { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 12px 14px 13px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(16, 24, 40, .08); border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 24px -16px rgba(16, 24, 40, .25); backdrop-filter: blur(8px) saturate(1.2); -webkit-backdrop-filter: blur(8px) saturate(1.2); transition: transform .95s var(--e-io), filter .75s var(--e-out), opacity .6s var(--e-out), box-shadow .5s var(--e-out), border-color .5s var(--e-out); }
.frag-k { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frag-k svg { width: 14px; height: 14px; flex: none; }
.frag > b { font-size: 14px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.frag small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.frag .score { font-family: var(--f-disp); font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.frag .score i { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; }
.frag-k .fu-b, .frag > b .fu-b { display: none; }
.f-fu { --c: var(--warn); }
.stage[data-state=scatter] .f-fu, .stage[data-state=focus] .f-fu:not(.in) { background: rgba(251, 243, 232, .92); border-color: var(--warn-line); }
.stage[data-state=scatter] .f-fu .frag-k, .stage[data-state=focus] .f-fu:not(.in) .frag-k { color: var(--warn); }
.f-fu.in .fu-a, .stage:is([data-state=resolved], [data-state=traced], [data-state=answered]) .f-fu .fu-a { display: none; }
.f-fu.in .fu-b, .stage:is([data-state=resolved], [data-state=traced], [data-state=answered]) .f-fu .fu-b { display: inline; }
/* connectors */
.frag::after { content: ""; position: absolute; top: 50%; inset-inline-end: -19px; width: 20px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: var(--o, left); transition: transform .45s var(--e-out) calc(var(--i, 0) * 110ms); }
[dir=rtl] .frag::after { --o: right; }
.frag:last-child::after { display: none; }
.stage:is([data-state=resolved], [data-state=traced], [data-state=answered]) .frag::after { transform: scaleX(1); }
.frag:nth-child(1) { --i: 0; } .frag:nth-child(2) { --i: 1; } .frag:nth-child(3) { --i: 2; } .frag:nth-child(4) { --i: 3; }
/* scatter state */
.anim .stage[data-state=scatter] .frag, .anim .stage[data-state=focus] .frag:not(.in) { transform: translate(var(--sx), var(--sy)) rotate(var(--sr)); filter: blur(var(--sb)); opacity: .55; }
.stage:is([data-state=traced], [data-state=answered]) .f-pay, .stage:is([data-state=traced], [data-state=answered]) .f-src { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28, 29, 31, .08), 0 14px 28px -16px rgba(16, 24, 40, .35); }

.resolve { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: 26px; }
.trace-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); background: rgba(255, 255, 255, .8); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.trace-note svg { width: 14px; height: 14px; flex: none; }
.ask-mini { width: min(400px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-3); padding: 14px 16px 15px; }
.ask-mini-h { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink); }
.ask-mini-h svg { width: 14px; height: 14px; }
.ask-mini-q { font-size: 13px; color: var(--muted); margin-top: 6px; }
.ask-mini-a { font-size: 14px; line-height: 1.5; margin-top: 4px; }
.ask-mini-n { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--text-2); }
.ask-mini-n span:first-child { display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
html[lang=ar] .ask-mini-n span:first-child { text-transform: none; letter-spacing: 0; font-size: 12px; }
.trace-note, .ask-mini { transition: opacity .6s var(--e-out), transform .7s var(--e-out); }
.anim .stage:not([data-state=traced]):not([data-state=answered]) .trace-note, .anim .stage:not([data-state=answered]) .ask-mini { opacity: 0; transform: translateY(10px); }
.stage-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding: 14px 0 16px; font-size: 12px; color: var(--ink-2); }
.stage-foot > span { background: rgba(255, 255, 255, .72); padding: 4px 10px; border-radius: 6px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.replay { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .9); font-size: 12px; font-weight: 500; color: var(--ink-2); cursor: pointer; flex: none; transition: border-color .2s, background-color .2s; }
.replay:hover { border-color: var(--line-3); background: #fff; }
.replay svg { width: 13px; height: 13px; }
html:not(.anim) .replay { display: none; }

/* ── ecosystem ── */
.eco { border-block: 1px solid var(--line); background: var(--bg); }
.eco-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 92px; }
.eco-in > p { font-size: 14px; color: var(--muted); max-width: 260px; line-height: 1.5; }
.eco-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 34px; }
.eco-list li { display: flex; align-items: center; gap: 9px; font: 600 15px/1 var(--f-en); color: var(--ink); letter-spacing: -.01em; }
.eco-list svg { width: 22px; height: 22px; }

/* ── sections ── */
section.qs3, .ch, .roles, .faq { padding: 120px 0; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head .lede { margin-top: 18px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .kicker { justify-content: center; }
.sec-head.split { max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 64px; align-items: end; }
.sec-head.split .lede { margin-top: 0; }

/* three questions */
.q3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.q3-i { padding: 30px 28px 34px 0; border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; }
.q3-i + .q3-i { padding-inline-start: 28px; }
.q3-i:last-child { border-inline-end: 0; }
[dir=rtl] .q3-i { padding: 30px 0 34px 28px; }
[dir=rtl] .q3-i + .q3-i { padding-inline-start: 28px; }
.q3-n { font: 500 12px/1 var(--f-en); color: var(--faint); font-variant-numeric: tabular-nums; }
.q3-i h3 { font-size: 18px; line-height: 1.35; font-weight: 600; margin-top: 18px; min-height: 2.7em; }
.q3-big { font-family: var(--f-disp); font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -.035em; font-weight: 600; margin-top: 28px; }
.q3-big .m i { font-size: .4em; letter-spacing: 0; opacity: .5; }
.q3-u { font-size: .38em; letter-spacing: 0; color: var(--muted); font-family: var(--f-ar); font-weight: 500; }
html[lang=en] .q3-u { font-family: var(--f-en); }
.q3-s { font-size: 14px; color: var(--text-2); margin-top: 14px; line-height: 1.55; flex: 1; }
.q3-l { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; margin-top: 22px; text-decoration: none; color: var(--ink); }
.q3-l:hover .ar { transform: translateX(3px); }
[dir=rtl] .q3-l:hover .ar { transform: scaleX(-1) translateX(3px); }
.journey { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 56px; position: relative; }
.journey li { position: relative; padding-top: 22px; font-size: 13px; color: var(--text-2); font-weight: 500; }
.journey li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); z-index: 1; }
.journey li:last-child::before { background: var(--ink); }
.journey::before { content: ""; position: absolute; top: 4px; inset-inline: 0 16.66%; height: 1.5px; background: var(--line-3); }
.journey::after { content: ""; position: absolute; top: 4px; inset-inline-start: 0; width: 83.34%; height: 1.5px; background: var(--ink); transform: scaleX(var(--p, 1)); transform-origin: var(--o, left); transition: transform 1.6s var(--e-io); }
[dir=rtl] .journey::after { --o: right; }
.anim .journey:not(.seen)::after { --p: 0; }

/* ── qualification ── */
.ch-q { background: var(--bg-2); border-top: 1px solid var(--line); }
.qual { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.08fr); align-items: center; }
.phone { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh-2); padding: 16px; max-width: 440px; width: 100%; justify-self: end; }
[dir=rtl] .phone { justify-self: start; }
.phone-h { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.phone-h .lg { width: 22px; height: 22px; }
.phone-h b { display: block; font-size: 14px; }
.phone-h small { display: block; font-size: 12px; color: var(--muted); }
.src-chip { display: flex; align-items: center; gap: 7px; margin: 12px 0 4px; font-size: 12px; color: var(--text-2); background: var(--bg-3); border-radius: 8px; padding: 7px 10px; }
.msgs { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; min-height: 360px; }
.msg { max-width: 86%; font-size: 14px; line-height: 1.55; padding: 9px 12px; border-radius: 14px; }
.msg.in { align-self: flex-start; background: var(--bg-3); color: var(--ink); border-start-start-radius: 4px; }
.msg.out { align-self: flex-end; background: #eef7f0; color: #17301f; border: 1px solid #dcefe2; border-start-end-radius: 4px; }
.bridge { position: relative; height: 1.5px; margin-inline: 8px; }
.bridge i { position: absolute; inset: 0; background: var(--ink); transform-origin: var(--o, left); transition: transform .8s var(--e-io); }
[dir=rtl] .bridge i { --o: right; }
.bridge::after { content: ""; position: absolute; inset-inline-end: -2px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transition: opacity .3s .6s; }
.anim .qual:not([data-step]) .bridge i, .anim .qual[data-step="0"] .bridge i, .anim .qual[data-step="1"] .bridge i { transform: scaleX(0); }
.anim .qual:not([data-step]) .bridge::after, .anim .qual[data-step="0"] .bridge::after, .anim .qual[data-step="1"] .bridge::after { opacity: 0; }
.lead { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-3); padding: 20px 22px 18px; }
.lead-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lead-h b { display: block; font-size: 17px; }
.lead-h small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.meter { position: relative; width: 64px; height: 64px; flex: none; }
.meter svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.meter circle { fill: none; stroke-width: 3; stroke: var(--line); }
.meter .mv { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: var(--v) 100; transition: stroke-dasharray .9s var(--e-io); }
.meter b { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font: 600 19px/1 var(--f-disp); letter-spacing: -.02em; }
.meter b i { font-style: normal; font-size: 10px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.fields { display: grid; gap: 0; }
.fields > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fields dt { font-size: 13px; color: var(--muted); }
.fields dd { font-size: 14px; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.fields dd small { font-size: 12px; color: var(--muted); font-weight: 450; }
.fields dd .lg { width: 14px; height: 14px; }
.av { display: inline-grid; place-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.lead-sum { font-size: 13px; line-height: 1.6; color: var(--text-2); margin-top: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
.lead-sum b { display: block; color: var(--ink); font-size: 12px; margin-bottom: 2px; }
.scene [data-at] { transition: opacity .5s var(--e-out), transform .6s var(--e-out), background-color .6s var(--e-out); }
.anim .scene.armed [data-at]:not(.on) { opacity: 0; transform: translateY(8px); }
.anim .scene.armed .fields [data-at]:not(.on) { opacity: .28; transform: none; }
.anim .scene.armed .fields [data-at]:not(.on) dd { visibility: hidden; }
.fields [data-at].on.flash { background: linear-gradient(90deg, rgba(28, 29, 31, .035), transparent); }
.scene-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 26px; }
.scene-foot .note { margin-top: 4px; max-width: 760px; }

/* ── app chrome (sales / attribution) ── */
.app { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-3); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); min-height: 56px; flex-wrap: wrap; }
.app-logo { height: 26px; width: auto; flex: none; }
.app-t { font-size: 15px; }
.app-clock { margin-inline-start: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.tabs, .seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--bg-3); border: 1px solid var(--line); }
.tabs button, .seg button { border: 0; background: none; padding: 6px 12px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--text-2); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.tabs button:hover, .seg button:hover { color: var(--ink); }
.tabs button[aria-selected=true], .seg button[aria-checked=true] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 0 0 1px rgba(16, 24, 40, .04); }
.app-body { min-height: 420px; }
.sp { padding: 18px; }
.sp[hidden] { display: none; }
.app-note { padding: 12px 18px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.55; }

/* today queue */
.today { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; }
.reasons { display: flex; flex-direction: column; gap: 2px; }
.reasons-h { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.reasons-h b { display: block; font: 600 30px/1.1 var(--f-disp); color: var(--ink); letter-spacing: -.02em; margin-bottom: 2px; }
.reason { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--text-2); }
.reason b { font-variant-numeric: tabular-nums; color: var(--ink); font-family: var(--f-en); }
.reason.hot { background: var(--warn-bg); color: var(--warn); }
.reason.hot b { color: var(--warn); }
.queue { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.qrow { display: grid; grid-template-columns: 44px minmax(0, 1.3fr) minmax(0, 1.25fr) minmax(0, .9fr) 108px; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13px; transition: background-color .5s var(--e-out); }
.qrow:last-child { border-bottom: 0; }
.qrow .sc { font: 600 14px/1 var(--f-en); font-variant-numeric: tabular-nums; text-align: center; border: 1px solid var(--line); border-radius: 7px; padding: 6px 0; }
.qrow .who b { display: block; font-size: 14px; }
.qrow .who small, .qrow .own small { display: block; font-size: 12px; color: var(--muted); }
.qrow .val { text-align: end; font-weight: 600; font-variant-numeric: tabular-nums; }
.qrow .val small { display: block; font-size: 11px; color: var(--muted); font-weight: 450; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--text-2); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chip svg { width: 12px; height: 12px; flex: none; }
.chip.warn { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
.chip.task { color: var(--ink); background: #fff; border-color: var(--ink); }
.chip.ok { color: var(--ok); background: var(--ok-bg); border-color: #d5e9dc; }
.qrow.became { background: #f7f7f8; }
.qrow .chip-swap { display: grid; }
.qrow .chip-swap > * { grid-area: 1 / 1; transition: opacity .4s var(--e-out), transform .5s var(--e-out); }
.qrow .chip-swap .task { opacity: 0; transform: translateY(6px); }
.qrow.became .chip-swap .warn { opacity: 0; transform: translateY(-6px); }
.qrow.became .chip-swap .task { opacity: 1; transform: none; }

/* all leads */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: start; font-weight: 500; color: var(--muted); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .stg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
.tbl .stg::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sc, var(--faint)); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }

/* pipeline */
.pipe { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.col { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.col-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; }
.col-h span { font: 500 12px var(--f-en); color: var(--muted); }
.col-v { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.val-exp, .val-bk, .val-col { display: inline-flex; align-items: center; gap: 6px; }
.val-exp b, .val-bk b, .val-col b { color: var(--ink); font-variant-numeric: tabular-nums; }
.val-exp::before, .val-bk::before, .val-col::before, .legend i { content: ""; width: 10px; height: 10px; border-radius: 3px; flex: none; display: inline-block; }
.val-exp::before, .legend .lg-exp { border: 1.5px dashed var(--muted); }
.val-bk::before, .legend .lg-bk { background: repeating-linear-gradient(135deg, var(--muted) 0 1.5px, transparent 1.5px 4px); border: 1px solid var(--muted); }
.val-col::before, .legend .lg-col { background: var(--ink); }
.kc { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font-size: 12px; display: flex; flex-direction: column; gap: 3px; }
.kc b { font-size: 13px; }
.kc small { color: var(--muted); }
.kc .chip { align-self: flex-start; font-size: 11px; padding: 2px 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; font-size: 13px; color: var(--text-2); }
.legend li { display: flex; align-items: center; gap: 8px; }

/* team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tm { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.tm-h { display: flex; align-items: center; gap: 9px; }
.tm-h .av { width: 30px; height: 30px; font-size: 13px; }
.tm-h b { font-size: 14px; display: block; }
.tm-h small { font-size: 12px; color: var(--muted); }
.tm dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tm dt { font-size: 11px; color: var(--muted); }
.tm dd { font: 600 16px/1.2 var(--f-disp); font-variant-numeric: tabular-nums; }
.tm.alert { border-color: var(--warn-line); background: linear-gradient(var(--warn-bg), #fff 60%); }
.tm.alert .rt { color: var(--warn); }
.team-n { margin-top: 12px; font-size: 13px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.team-n b { color: var(--ink); }

/* ── attribution ── */
.ch-r { background: linear-gradient(#fff, var(--bg-2)); border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-inline-start: auto; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.kpi { padding: 16px 18px; border-inline-end: 1px solid var(--line); }
.kpi:last-child { border-inline-end: 0; }
.kpi dt, .kpi > p:first-child { font-size: 12px; color: var(--muted); }
.kpi .v { font: 600 26px/1.15 var(--f-disp); letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .v .m i { font-size: .5em; }
.kpi small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.tree-wrap { overflow-x: auto; }
.tree { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
.tree th { font-size: 12px; font-weight: 500; color: var(--muted); text-align: end; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fff; }
.tree th:first-child { text-align: start; width: 38%; }
.tree td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tree td:first-child { text-align: start; white-space: normal; }
.tree tr.lv0 td { font-weight: 600; background: #fff; }
.tree tr.lv1 td:first-child { padding-inline-start: 38px; }
.tree tr.lv2 td:first-child { padding-inline-start: 62px; }
.tree tr.lv1 td, .tree tr.lv2 td { color: var(--ink-2); }
.tree tr.lv2 { background: var(--bg-2); }
.tree tr[hidden] { display: none; }
.tree tr.hl td { background: #f6f6f7; }
.tree tr.dim td { color: var(--faint); }
.tree tr.dim td:first-child, .tree tr.dim .src b { color: var(--muted); }
.src { display: flex; align-items: center; gap: 9px; min-width: 0; }
.src b { font-weight: inherit; }
.src small { display: block; font-size: 11px; color: var(--muted); font-weight: 450; }
.src .lg { width: 18px; height: 18px; }
.tg { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); background: #fff; display: inline-grid; place-content: center; cursor: pointer; flex: none; padding: 0; }
.tg::before { content: ""; width: 6px; height: 6px; border-inline-end: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); transition: transform .25s var(--e-out); }
[dir=rtl] .tg::before { transform: rotate(135deg); }
.tg[aria-expanded=true]::before { transform: rotate(45deg); }
[dir=rtl] .tg[aria-expanded=true]::before { transform: rotate(45deg); }
.tg-sp { width: 22px; flex: none; }
.fmt { font-size: 10px; font-weight: 600; border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--text-2); background: #fff; white-space: nowrap; }
.roas-b { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; }
.roas-b i { display: inline-block; height: 4px; border-radius: 2px; background: var(--ink); opacity: .85; width: var(--w); max-width: 56px; }
.na { color: var(--faint); }
.compare { margin-top: 18px; }
.cmp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 20px; display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 300px); gap: 20px; align-items: center; box-shadow: var(--sh-1); }
.cmp-k { font-size: 13px; color: var(--muted); font-weight: 500; }
.cmp-rows { display: grid; gap: 10px; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: center; font-size: 13px; }
.cmp-row .nm { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.cmp-row .nm .lg { width: 16px; height: 16px; }
.bar { position: relative; height: 22px; border-radius: 6px; background: var(--bg-3); overflow: hidden; }
.bar > i { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); border-radius: 6px; transition: width 1s var(--e-io); }
.bar.enq > i { background: repeating-linear-gradient(135deg, var(--faint) 0 2px, #d9dee5 2px 6px); }
.bar.rev > i { background: var(--ink); }
.bar > span { position: absolute; inset-block: 0; inset-inline-start: 8px; display: block; line-height: 22px; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; mix-blend-mode: normal; }
.bar.rev > span { color: #fff; }
.bar.rev.small > span { color: var(--ink); inset-inline-start: calc(var(--w) + 8px); }
.cmp-heads { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; font-size: 11px; color: var(--muted); }
.cmp-v { font-size: 14px; line-height: 1.6; color: var(--text-2); border-inline-start: 1px solid var(--line); padding-inline-start: 20px; }

.trace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.trace, .mix { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 26px 22px; box-shadow: var(--sh-1); position: relative; }
.trail { margin-top: 22px; position: relative; }
.trail::before { content: ""; position: absolute; inset-inline-start: 6px; top: 18px; bottom: 40px; width: 1.5px; background: var(--line); }
.trail::after { content: ""; position: absolute; inset-inline-start: 6px; top: 18px; bottom: 40px; width: 1.5px; background: var(--ink); transform-origin: top; transform: scaleY(var(--tp, 1)); transition: transform .6s var(--e-io); }
.trail li { position: relative; display: flex; gap: 14px; padding: 8px 0; }
.trail .dot { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); flex: none; margin-top: 5px; position: relative; z-index: 1; }
.trail .t-pay .dot { background: var(--ink); }
.trail .t-origin .dot { width: 13px; height: 13px; box-shadow: 0 0 0 4px rgba(28, 29, 31, .1); }
.trail li > div > b { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.trail li > div > small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.trail .t-origin > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; margin-top: -4px; }
.trace .replay { position: absolute; top: 22px; inset-inline-end: 22px; }
.mix-total { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; }
.mix-total .m { font: 600 32px/1 var(--f-disp); letter-spacing: -.025em; }
.mix-total .m i { font-size: .45em; }
.mix-total small { font-size: 13px; color: var(--muted); }
.mix-bar { display: flex; height: 12px; border-radius: 4px; overflow: hidden; margin-top: 14px; gap: 2px; }
.mix-bar i { display: block; height: 100%; flex: var(--f) 0 0; min-width: 3px; }
.mx-ad { background: var(--ink); }
.mx-referral { background: #5a6270; }
.mx-repeat { background: #8b93a1; }
.mx-reactivation { background: #b5bdc9; }
.mx-unknown { background: repeating-linear-gradient(135deg, #b5bdc9 0 2px, #eef0f3 2px 5px); box-shadow: inset 0 0 0 1px #b5bdc9; }
.mix-list { margin-top: 12px; display: grid; gap: 2px; }
.mix-list li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 52px; gap: 10px; align-items: center; font-size: 13px; padding: 5px 0; }
.mix-list li i { width: 10px; height: 10px; border-radius: 3px; }
.mix-list .num { font-variant-numeric: tabular-nums; font-weight: 600; text-align: end; }
.mix-list .pc { color: var(--muted); text-align: end; font-variant-numeric: tabular-nums; font-size: 12px; }
.rules { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.rules li { position: relative; padding-inline-start: 18px; font-size: 13px; line-height: 1.55; color: var(--text-2); }
.rules li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 6px; height: 6px; border-radius: 2px; border: 1.5px solid var(--ink); }
.rules b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ── Ask REVO ── */
.ch-ask { position: relative; background: radial-gradient(900px 420px at 50% 0%, #f1f2f6 0%, rgba(255, 255, 255, 0) 70%), radial-gradient(700px 360px at 85% 85%, rgba(236, 232, 248, .55), rgba(255, 255, 255, 0) 70%), radial-gradient(600px 320px at 10% 80%, rgba(230, 241, 248, .6), rgba(255, 255, 255, 0) 70%), #fff; border-top: 1px solid var(--line); overflow: hidden; }
.h-xl .ask-name { color: var(--ink); }
.ask-name { display: block; font-family: var(--f-disp); font-size: clamp(48px, 7vw, 92px); letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.ask-tag { display: block; margin-top: 14px; color: var(--muted); font-size: clamp(22px, 2.6vw, 32px); }
.askapp { display: grid; grid-template-columns: 280px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-3); overflow: hidden; min-height: 560px; }
.ask-side { background: var(--bg-2); border-inline-end: 1px solid var(--line); padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.ask-side .app-logo { height: 30px; width: auto; align-self: flex-start; }
.ask-modes { display: inline-flex; align-self: flex-start; gap: 2px; padding: 3px; border-radius: 9px; background: var(--bg-3); border: 1px solid var(--line); font-size: 12px; font-weight: 500; }
.ask-modes span { padding: 4px 10px; border-radius: 6px; color: var(--muted); }
.ask-modes .on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .1); }
.ask-side-k { font-size: 12px; color: var(--muted); margin-top: 6px; }
.ask-qs { display: flex; flex-direction: column; gap: 6px; }
.ask-qs button { text-align: start; border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 11px 12px; font-size: 14px; line-height: 1.4; cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.ask-qs button:hover { border-color: var(--line-3); }
.ask-qs button[aria-selected=true] { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28, 29, 31, .06); font-weight: 600; }
.ask-side-n { margin-top: auto; font-size: 12px; color: var(--muted); line-height: 1.5; }
.ask-main { padding: 26px 30px 20px; display: flex; flex-direction: column; min-width: 0; }
.ask-q-row { display: flex; justify-content: flex-end; }
.ask-q { background: var(--ink); color: #f3f4f6; border-radius: 14px; border-end-end-radius: 4px; padding: 10px 14px; font-size: 15px; max-width: 80%; min-height: 44px; }
.ask-q .caret { display: inline-block; width: 1.5px; height: 1em; background: currentColor; vertical-align: -2px; margin-inline-start: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask-status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); min-height: 22px; margin-top: 16px; }
.ask-status .spin { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line-3); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ask-ans { display: grid; gap: 12px; margin-top: 4px; flex: 1; align-content: start; }
.blk { border: 1px solid var(--line); border-radius: var(--r-l); padding: 14px 16px; transition: opacity .5s var(--e-out), transform .6s var(--e-out); }
.anim .blk.pre { opacity: 0; transform: translateY(8px); }
.blk-k { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
html[lang=ar] .blk-k { text-transform: none; letter-spacing: 0; font-size: 12px; }
.blk-k i { font-style: normal; font-family: var(--f-en); width: 18px; height: 18px; border-radius: 5px; display: inline-grid; place-content: center; border: 1px solid var(--line); color: var(--ink); font-size: 10px; }
.blk-find p:not(.blk-k) { font-size: 17px; line-height: 1.5; font-weight: 600; }
html[lang=ar] .blk-find p:not(.blk-k) { line-height: 1.7; }
.blk-find small { display: block; margin-top: 6px; font-size: 13px; color: var(--text-2); line-height: 1.55; font-weight: 450; }
.ev-rows { display: grid; gap: 6px; }
.ev-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 12px; align-items: center; font-size: 13px; }
.ev-row .bar { height: 18px; }
.ev-row .bar > i { background: var(--ink); opacity: .88; }
.ev-row .num { font-weight: 600; font-variant-numeric: tabular-nums; text-align: end; min-width: 92px; }
.ev-row .num small { font-weight: 450; color: var(--muted); font-size: 11px; margin-inline-start: 4px; }
.ev-row.flag .bar > i { background: repeating-linear-gradient(135deg, var(--faint) 0 2px, #e6e9ee 2px 5px); }
.ev-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ev-links span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; background: var(--bg-2); }
.ev-links svg { width: 12px; height: 12px; }
.ev-note { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.55; }
.blk-next { background: var(--bg-2); }
.plan { display: grid; gap: 8px; counter-reset: p; }
.plan li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 11px 12px; font-size: 13px; line-height: 1.5; }
.plan li::before { counter-increment: p; content: counter(p); font: 600 12px/22px var(--f-en); text-align: center; width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; }
.plan li > div > b { display: block; font-size: 14px; }
.plan li > div > small { display: block; color: var(--text-2); margin-top: 2px; }
.plan .kind { display: inline-flex; align-items: baseline; gap: 4px; font-size: 11px; font-weight: 600; white-space: nowrap; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--text-2); }
.plan .kind.k-pot { border-style: dashed; }
.plan .kind.k-rec { background: var(--bg-3); }
.plan .kind.k-fc { background: repeating-linear-gradient(135deg, #f3f4f6 0 3px, #fff 3px 6px); }
.prop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.prop-b { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--ink); color: var(--ink); background: #fff; font-size: 12px; font-weight: 600; }
.prop-b svg { width: 12px; height: 12px; }
.ask-foot { display: flex; justify-content: flex-end; margin-top: 14px; }

/* ── roles ── */
.roles { border-top: 1px solid var(--line); }
.roles .h-l { max-width: 640px; }
.roles-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.role { border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px 22px 18px; background: linear-gradient(var(--bg-2), #fff 50%); display: flex; flex-direction: column; }
.role-k { font-size: 12px; font-weight: 600; color: var(--muted); }
.role h3 { font-size: 18px; line-height: 1.4; margin-top: 10px; font-weight: 600; flex: 1; }
.role-m { margin-top: 22px; border-top: 1px solid var(--line); }
.role-m > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.role-m > div:last-child { border-bottom: 0; }
.role-m dt { color: var(--muted); }
.role-m dd { font-weight: 600; text-align: end; font-variant-numeric: tabular-nums; }

/* ── faq ── */
.faq { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq-in { display: grid; grid-template-columns: 1fr 1.8fr; gap: 48px; }
.acc { border-top: 1px solid var(--line); }
.acc-i { border-bottom: 1px solid var(--line); }
.acc h3 { font-size: inherit; }
.acc button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 18px 0; font-size: 17px; font-weight: 600; text-align: start; cursor: pointer; }
.acc button i { width: 12px; height: 12px; position: relative; flex: none; }
.acc button i::before, .acc button i::after { content: ""; position: absolute; top: 5px; left: 0; width: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--e-out); }
.acc button i::after { transform: rotate(90deg); }
.acc button[aria-expanded=true] i::after { transform: rotate(0); }
.acc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--e-out); }
.acc-p > div { overflow: hidden; }
.acc-p.open { grid-template-rows: 1fr; }
.acc-p p { padding-bottom: 20px; color: var(--text-2); font-size: 15px; line-height: 1.7; max-width: 680px; }

/* ── close + footer ── */
.close { padding: 130px 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(800px 360px at 50% 100%, #f1f2f5, rgba(255, 255, 255, 0) 70%), #fff; }
.close-in { display: flex; flex-direction: column; align-items: center; }
.close .h-xl { max-width: 18ch; }
.close .lede { margin-top: 16px; max-width: 560px; }
.close .cta-row { justify-content: center; margin-top: 30px; }
.close .btn .lg { width: 18px; height: 18px; }
.ft { border-top: 1px solid var(--line); padding: 34px 0 40px; }
.ft-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ft-brand { display: flex; align-items: center; gap: 16px; }
.ft-brand img { height: 34px; width: auto; }
.ft-brand p { font-size: 13px; color: var(--muted); }
.ft-brand a { color: var(--text-2); }
.ft ul { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--muted); }
.ft ul a { text-decoration: none; color: var(--text-2); }
.ft ul a:hover { color: var(--ink); text-decoration: underline; }

/* reveal */
.anim .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--e-out), transform .8s var(--e-out); }
.anim .rv.in { opacity: 1; transform: none; }

/* ── responsive ── */
@media (max-width: 1080px) {
  .hd-nav { display: none; position: absolute; top: 64px; inset-inline: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px var(--gut) 16px; box-shadow: var(--sh-2); margin: 0; }
  .hd-nav.open { display: flex; }
  .hd-nav a { padding: 12px 10px; font-size: 15px; }
  .burger { display: block; }
  .today { grid-template-columns: 1fr; }
  .qrow { grid-template-columns: 40px minmax(0, 1fr) minmax(0, .8fr) auto; row-gap: 6px; }
  .qrow .rsn { grid-column: 2 / 5; grid-row: 2; }
  .reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .reasons-h { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .cmp-card { grid-template-columns: 1fr; }
  .cmp-v { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .askapp { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  section.qs3, .ch, .roles, .faq { padding: 84px 0; }
  .sec-head.split { grid-template-columns: 1fr; }
  .stage { aspect-ratio: auto; min-height: 0; padding: 0; background: #f6f6f8; }
  .stage-bg { position: relative; inset: auto; height: 220px; z-index: 0; }
  .stage-bg img { object-position: 92% 100%; }
  [dir=rtl] .stage-bg img { object-position: 92% 100%; }
  .stage::before { display: none; }
  .stage-bg::after { content: ""; position: absolute; inset: auto 0 0; height: 60px; background: linear-gradient(transparent, #f6f6f8); }
  .plane { width: 100%; height: 22%; top: 0; bottom: auto; transform: translateY(-120%); }
  [dir=rtl] .plane { transform: translateY(-120%); }
  .plane i { background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0)); }
  .plane::before, .plane::after { display: none; }
  .frags { grid-template-columns: 1fr; gap: 14px; padding: 4px 18px 0; margin-top: -40px; }
  .frag { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
  .frag-k { flex: 1 0 100%; }
  .frag::after { top: auto; bottom: -15px; inset-inline-start: 26px; inset-inline-end: auto; width: 1.5px; height: 16px; transform-origin: top; transform: scaleY(0); }
  .stage:is([data-state=resolved], [data-state=traced], [data-state=answered]) .frag::after { transform: scaleY(1); }
  .anim .stage[data-state=scatter] .frag, .anim .stage[data-state=focus] .frag:not(.in) { transform: translate(calc(var(--sx) * 1.4), calc(var(--sy) * .14)) rotate(calc(var(--sr) * .6)); }
  .resolve { flex-direction: column; padding: 0 18px; gap: 12px; margin-top: 18px; }
  .trace-note { border-radius: 10px; align-items: flex-start; }
  .ask-mini { width: 100%; }
  .stage-foot { padding: 14px 18px 16px; align-items: flex-start; }
  .stage-foot > span { padding: 0; background: none; }
  .eco-in { flex-direction: column; align-items: flex-start; padding-block: 24px; gap: 16px; }
  .eco-list { justify-content: flex-start; gap: 14px 26px; }
  .q3 { grid-template-columns: 1fr; }
  .q3-i, [dir=rtl] .q3-i, .q3-i + .q3-i, [dir=rtl] .q3-i + .q3-i { padding: 26px 0; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .q3-i h3 { min-height: 0; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .journey::before, .journey::after { display: none; }
  .qual { grid-template-columns: 1fr; gap: 0; }
  .phone, [dir=rtl] .phone { justify-self: stretch; max-width: none; }
  .msgs { min-height: 0; }
  .bridge { width: 1.5px; height: 40px; margin: 0 auto; }
  .bridge i { transform-origin: top; }
  .anim .qual:not([data-step]) .bridge i, .anim .qual[data-step="0"] .bridge i, .anim .qual[data-step="1"] .bridge i { transform: scaleY(0); }
  .bridge::after { inset-inline-end: auto; left: -3.25px; top: auto; bottom: -4px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(2) { border-inline-end: 0; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trace-grid { grid-template-columns: 1fr; }
  .askapp { grid-template-columns: 1fr; }
  .ask-side { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .ask-side-n { margin-top: 0; }
  .roles-g { grid-template-columns: 1fr; }
  .faq-in { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .hd-act .btn { display: none; }
  .hero { padding-top: 48px; }
  .hero .cta-row .btn { flex: 1 1 100%; }
  .stage { margin-top: 40px; border-radius: 16px; }
  .stage-bg { height: 170px; }
  .stage-foot { flex-direction: column; }
  .qrow { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .qrow .rsn { grid-column: 2 / 4; }
  .qrow .own { display: none; }
  .qrow .val { grid-column: 3; grid-row: 1; }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 1fr; }
  .app-bar { gap: 10px; }
  .app-clock { margin-inline-start: 0; width: 100%; }
  .tabs { overflow-x: auto; max-width: 100%; }
  .filters { margin-inline-start: 0; width: 100%; }
  .seg { overflow-x: auto; max-width: 100%; }
  .kpi { padding: 12px 14px; }
  .tree { min-width: 620px; }
  .tree th:first-child { width: 230px; }
  .tree tr.lv2 .src small { display: none; }
  .tree tr.lv1 td:first-child { padding-inline-start: 26px; }
  .tree tr.lv2 td:first-child { padding-inline-start: 34px; }
  .kpi .v { font-size: 21px; }
  .cmp-row, .cmp-heads { grid-template-columns: 1fr 1fr; }
  .cmp-row .nm { grid-column: 1 / -1; }
  .cmp-heads span:first-child { display: none; }
  .trace, .mix { padding: 20px 18px 18px; }
  .trace .replay { position: static; margin-top: 12px; }
  .ask-main { padding: 18px 16px; }
  .ask-q { max-width: 100%; }
  .ev-row { grid-template-columns: minmax(0, 1fr) auto; }
  .ev-row .bar { grid-column: 1 / -1; grid-row: 2; }
  .plan li { grid-template-columns: 22px minmax(0, 1fr); }
  .plan .kind { grid-column: 2; justify-self: start; }
  .fields > div { grid-template-columns: 1fr; gap: 2px; }
  .ft-in { flex-direction: column; align-items: flex-start; }
  .ft-brand { flex-direction: column; align-items: flex-start; gap: 10px; }
  .scene-foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ══════════ 2026-11-18: positioning, Ask REVO tour, REVO accent ══════════ */
:root {
  --revo: #02b3a3;          /* sampled from the REVO logo artwork */
  --revo-ink: #037f74;      /* darker step of the logo teal, for text contrast */
  --revo-soft: #e9f7f5;
  --revo-line: #c3e9e4;
  --risk: #a55a0c;
  --risk-bg: #fdf5ea;
  --risk-line: #f1dcc0;
  --zero: #b42318;
  --zero-bg: #fef4f2;
  --zero-line: #f6d2cc;
}
.m.rev, .rev .m, .pos, b.pos, dd.pos { color: var(--revo-ink); }
.m.risk, dd.warn { color: var(--risk); }
.m.zero { color: var(--zero); }
.pill { gap: 9px; font-weight: 500; color: var(--ink-2); }
.pill-dot, .tour-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--revo); box-shadow: 0 0 0 3px var(--revo-soft); flex: none; }
.frag .score bdi { color: var(--revo-ink); }
.frag .score i { color: var(--muted); }
.frag b.rev .m { color: var(--revo-ink); }
.meter .mv { stroke: var(--revo); }
.meter b span { color: var(--revo-ink); }
.kicker.tour { gap: 9px; color: var(--ink-2); border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; box-shadow: var(--sh-1); }
.av { display: inline-grid; place-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; font: 600 11px/1 var(--f-en); flex: none; }
.av.s { width: 20px; height: 20px; font-size: 10px; }
.ownb { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; white-space: nowrap; }
.journey li:last-child::before { background: var(--revo); border-color: var(--revo); }
.journey::after { background: linear-gradient(90deg, var(--ink), var(--revo)); }
[dir=rtl] .journey::after { background: linear-gradient(270deg, var(--ink), var(--revo)); }
.trail .t-pay .dot { background: var(--revo); border-color: var(--revo); }
.trail::after { background: linear-gradient(var(--revo), var(--ink)); }
.mx-ad { background: var(--revo); }
.roas-b i { background: var(--revo); }
.roas-b.z i { background: var(--zero); width: 4px !important; }
.bar.rev > i { background: var(--revo-ink); }
.tabs button[aria-selected=true], .seg button[aria-checked=true] { box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 0 0 1px rgba(16, 24, 40, .04), inset 0 -2px 0 var(--revo); }
.chip.ok { color: var(--revo-ink); background: var(--revo-soft); border-color: var(--revo-line); }
.reason.hot { background: var(--risk-bg); color: var(--risk); }
.reason.hot b { color: var(--risk); }
.chip.warn { color: var(--risk); background: var(--risk-bg); border-color: var(--risk-line); }
.who2 b { display: block; font-size: 14px; }
.who2 small { display: block; font-size: 12px; color: var(--muted); }
.qrow .own { font-size: 13px; }
.tree tr.lv2.flagged td { background: #fffaf8; }
.role dd .m { font-size: 15px; }

/* fit band */
.fit { padding: 112px 0 96px; background: linear-gradient(#fff, var(--bg-2)); border-bottom: 1px solid var(--line); }
.fit-t { max-width: 22ch; font-size: clamp(30px, 4.2vw, 52px); }
.fit-t span { display: block; color: var(--muted); }
html[lang=ar] .fit-t { max-width: 26ch; }
.fit-g { display: grid; grid-template-columns: 1fr 1.35fr; gap: 28px 64px; margin-top: 40px; align-items: start; }
.fit-l { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.fit-l li { padding: 18px 18px 4px 0; border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
[dir=rtl] .fit-l li { padding: 18px 0 4px 18px; }
.fit-l li + li { padding-inline-start: 18px; }
.fit-l li:last-child { border-inline-end: 0; }
.fit-l b { font-size: 15px; }
.fit-l span { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.fit .journey { margin-top: 64px; }
.aud { margin-top: 28px; font-size: 15px; color: var(--ink-2); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.aud::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--revo); flex: none; }

/* hero Ask REVO preview */
.ask-mini { display: flex; flex-direction: column; gap: 8px; width: min(410px, 100%); text-decoration: none; color: var(--ink); padding: 14px 16px; transition: box-shadow .25s var(--e-out), transform .25s var(--e-out), opacity .6s var(--e-out); }
.ask-mini:hover { box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 28px 60px -22px rgba(16, 24, 40, .3); }
.ask-mini-h { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; }
.ask-mini-h svg { width: 14px; height: 14px; color: var(--revo); }
.ask-mini-h .ask-mini-q { margin: 0; margin-inline-start: auto; font-weight: 500; color: var(--muted); font-size: 12px; }
.ask-mini-a { font-size: 15px; font-weight: 600; margin-top: 0; }
.ask-mini-r { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.ask-mini-r > span:nth-child(2) { flex: 1; min-width: 0; }
.ask-mini-r .m { font: 600 15px/1 var(--f-disp); }
.ask-mini-r .m i { font-size: .7em; }
.ask-mini-go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--revo-ink); }

/* Ask REVO tour */
.askapp { grid-template-columns: 290px minmax(0, 1fr); min-height: 0; }
.ask-side { gap: 12px; }
.ask-side-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.newchat { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12px; font-weight: 500; cursor: pointer; }
.newchat:hover { border-color: var(--line-3); }
.newchat svg { width: 12px; height: 12px; }
.ctx { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
.ctx div { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
.ctx dt { color: var(--muted); }
.ctx dd { font-weight: 500; text-align: end; }
.ask-sugs { display: flex; flex-direction: column; gap: 6px; }
.chip-q { text-align: start; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 11px; font-size: 13px; line-height: 1.4; cursor: pointer; color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s; }
.chip-q:hover { border-color: var(--revo-line); background: var(--revo-soft); color: var(--ink); }
.actlog ul { display: grid; gap: 6px; }
.actlog li { display: grid; grid-template-columns: 14px 1fr auto; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-2); background: var(--revo-soft); border: 1px solid var(--revo-line); border-radius: 8px; padding: 7px 9px; }
.actlog svg { width: 13px; height: 13px; color: var(--revo-ink); }
.actlog time { color: var(--muted); font-variant-numeric: tabular-nums; }
.ask-side-n { margin-top: auto; }
.ask-main { padding: 0; display: flex; flex-direction: column; min-width: 0; }
.thread { position: relative; height: 660px; overflow-y: auto; padding: 24px 26px 12px; display: flex; flex-direction: column; gap: 18px; scroll-behavior: smooth; overscroll-behavior: contain; }
.thread:focus-visible { outline-offset: -3px; }
.msg-u { display: flex; justify-content: flex-end; }
.msg-u p { background: var(--ink); color: #f3f4f6; border-radius: 14px; border-end-end-radius: 4px; padding: 9px 14px; font-size: 15px; max-width: 78%; }
.msg-r { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.r-av { width: 28px; height: 28px; border-radius: 8px; display: grid; place-content: center; background: var(--revo-soft); border: 1px solid var(--revo-line); color: var(--revo-ink); }
.r-av svg { width: 15px; height: 15px; }
.r-head { font: 600 20px/1.35 var(--f-disp); letter-spacing: -.015em; padding-top: 2px; }
html[lang=ar] .r-head { font-family: var(--f-ar); font-weight: 700; font-size: 19px; line-height: 1.6; letter-spacing: 0; }
.r-head .m { white-space: nowrap; }
.typing { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 5px; }
.typing .spin { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line-3); border-top-color: var(--revo); animation: spin .8s linear infinite; }
.cards { display: grid; gap: 12px; margin-top: 14px; }
.cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; transition: opacity .45s var(--e-out), transform .55s var(--e-out); }
.acard.pre, .verdict.pre, .chips.pre { opacity: 0; transform: translateY(8px); }
.acard.flush { padding: 0; overflow: hidden; }
.acard.flush .tbl-wrap { border: 0; border-radius: 0; }
.acard::before { content: ""; position: absolute; inset: -1px -1px auto; height: 3px; border-radius: var(--r-l) var(--r-l) 0 0; background: transparent; }
.acard.t-risk::before { background: #e9a54d; }
.acard.t-zero::before { background: #e5746a; }
.acard.t-pos::before { background: var(--revo); }
.acard.t-act::before { background: var(--ink); }
.ac-k { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
html[lang=ar] .ac-k { text-transform: none; letter-spacing: 0; font-size: 12px; }
.who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.who b { font-size: 14px; font-weight: 600; }
.who .lg { width: 16px; height: 16px; }
.ac-t { font-size: 16px; line-height: 1.4; font-weight: 600; }
.ac-metric { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.ac-metric .ev-rows { font-weight: 450; }
.big-t { font: 600 26px/1.1 var(--f-disp); color: var(--risk); letter-spacing: -.02em; }
.amt { display: flex; flex-direction: column; gap: 2px; }
.amt .m { font: 600 34px/1.05 var(--f-disp); letter-spacing: -.03em; color: var(--ink); }
.amt .m i { font-size: .46em; letter-spacing: 0; opacity: .7; font-weight: 600; }
.amt small { font-size: 12px; color: var(--muted); font-weight: 500; }
.amt.risk .m { color: var(--risk); }
.amt.zero .m { color: var(--zero); }
.amt.pos .m { color: var(--revo-ink); }
.amt.fc .m { color: var(--revo-ink); background: linear-gradient(transparent 88%, var(--revo-line) 88%); align-self: flex-start; }
.ac-lines { display: grid; gap: 3px; font-size: 13px; color: var(--ink-2); }
.ac-why { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.ac-ctx { font-size: 12px; color: var(--muted); line-height: 1.5; }
.ac-tag .where { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.where.in { color: var(--revo-ink); background: var(--revo-soft); }
.where.ext { color: var(--text-2); background: var(--bg-3); }
.ac-ev { border-top: 1px dashed var(--line); padding-top: 10px; }
.ac-act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.abtn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; text-align: start; }
.abtn:hover { border-color: var(--line-3); background: var(--bg-2); }
.abtn svg { width: 13px; height: 13px; flex: none; }
.abtn.pri { background: var(--btn); color: #f3f4f6; border-color: var(--btn); }
.abtn.pri:hover { background: #000; }
.abtn.link { border-color: transparent; background: none; color: var(--text-2); padding: 0 6px; }
.abtn.link:hover { color: var(--ink); }
.abtn.link[aria-expanded=true] svg { transform: rotate(180deg); }
.abtn:disabled { cursor: default; opacity: .5; }
.abtn.done, .abtn.done:disabled { opacity: 1; background: var(--revo-soft); border-color: var(--revo-line); color: var(--revo-ink); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow .arr { color: var(--muted); font-family: var(--f-en); display: inline-block; }
[dir=rtl] .flow .arr { transform: scaleX(-1); }
.flow.lg { margin-bottom: 10px; }
.ev-row.ok .bar > i { background: var(--revo); }
.ev-row.flag-r .bar > i { background: #e5746a; }
.ev-row .num .m { font-size: 13px; }
.verdict { margin-top: 12px; border: 1px solid var(--revo-line); background: var(--revo-soft); border-radius: var(--r); padding: 11px 13px; font-size: 14px; line-height: 1.55; }
.verdict + .ac-act { margin-top: 10px; }
.ac-plain { margin-top: 6px; font-size: 14px; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.chips-k { font-size: 12px; color: var(--muted); margin-inline-end: 4px; }
.chips .chip-q { border-radius: 999px; padding: 6px 12px; }
.t-dec { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28, 29, 31, .05); }
.t-dec.closed { border-color: var(--line); box-shadow: none; }
.tbl.mini td, .tbl.mini th { padding: 7px 9px; font-size: 12.5px; }
.tbl.mini tfoot td { border-top: 1px solid var(--line); border-bottom: 0; background: var(--bg-2); }
.tbl.mini small { color: var(--muted); }
.tbl tr.pick td { background: var(--revo-soft); }
.kv { display: grid; gap: 0; border-top: 1px solid var(--line); }
.kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; text-align: end; }
.kv dd small { color: var(--muted); font-weight: 450; }
.msgprev { margin: 0; border-inline-start: 3px solid var(--revo); background: var(--bg-2); padding: 10px 12px; border-radius: 6px; font-size: 14px; line-height: 1.55; }
.status { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-2); line-height: 1.55; }
.status.ok { color: var(--ink); }
.status svg { width: 15px; height: 15px; color: var(--revo-ink); flex: none; margin-top: 2px; }
.status time { margin-inline-start: auto; color: var(--muted); font-size: 12px; flex: none; }
.ask-input { display: flex; gap: 8px; align-items: center; padding: 12px 16px 16px; border-top: 1px solid var(--line); background: #fff; }
.ask-input input { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-2); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.ask-input input:focus { outline: none; border-color: var(--revo); box-shadow: 0 0 0 3px var(--revo-soft); background: #fff; }
.ask-input input::placeholder { color: var(--muted); }
.send { width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; display: grid; place-content: center; cursor: pointer; flex: none; }
.send:hover { background: #000; }
.send svg { width: 17px; height: 17px; }
@media (max-width: 1080px) {
  .askapp { grid-template-columns: 250px minmax(0, 1fr); }
  .cards.c3 { grid-template-columns: 1fr; }
  .fit-g { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .fit { padding: 80px 0 72px; }
  .fit-l { grid-template-columns: 1fr; }
  .fit-l li, [dir=rtl] .fit-l li, .fit-l li + li { padding: 14px 0; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .askapp { grid-template-columns: 1fr; }
  .ask-side { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .ask-sugs { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .ask-sugs .chip-q { white-space: nowrap; flex: none; }
  .ask-side-n { margin-top: 0; }
  .thread { height: 600px; padding: 18px 16px 10px; }
  .cards.c2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ask-side .ctx { display: none; }
  .thread { height: 560px; }
  .msg-r { grid-template-columns: 1fr; gap: 6px; }
  .r-av { display: none; }
  .amt .m { font-size: 30px; }
  .msg-u p { max-width: 92%; }
  .ask-input { padding: 10px 12px 12px; }
  .ask-mini-h .ask-mini-q { display: none; }
}

.kicker.tour .tour-dot { padding: 0; border: 0; background: var(--revo); width: 7px; height: 7px; border-radius: 50%; }
.amt-pair { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: flex-end; }
.amt-pair .amt.neutral .m { color: var(--ink-2); font-size: 24px; }

/* hero backdrop (Higgsfield, 2026-11-18): optical glass framing the headline */
.hero { background: #fff; }
.hero::before { display: none; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0 0 auto; z-index: 0; pointer-events: none; aspect-ratio: 1600 / 686; min-height: 560px; -webkit-mask-image: linear-gradient(#000 62%, transparent 96%); mask-image: linear-gradient(#000 62%, transparent 96%); }
.hero-bg picture, .hero-bg img { display: block; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 50% 45%; }
.anim .hero-bg img { animation: heroBg 1.4s var(--e-out) both; }
@keyframes heroBg { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .hero-bg { min-height: 0; } }
@media (max-width: 640px) {
  .hero-bg { inset: 30px auto auto -20%; width: 140%; min-height: 0; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 62%, transparent 96%); mask-image: linear-gradient(transparent, #000 22%, #000 62%, transparent 96%); }
}
