/* Yamama Software World — presentation styles.
   Every slide is a fixed 1920x1080 stage scaled to the viewport (--s), so screens, PDF and PPT match. */
@font-face { font-family: "Handicrafts"; src: url(../fonts/TheYearofHandicrafts-Regular.otf) format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Handicrafts"; src: url(../fonts/TheYearofHandicrafts-Medium.otf) format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Handicrafts"; src: url(../fonts/TheYearofHandicrafts-SemiBold.otf) format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Handicrafts"; src: url(../fonts/TheYearofHandicrafts-Bold.otf) format("opentype"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Handicrafts"; src: url(../fonts/TheYearofHandicrafts-Black.otf) format("opentype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-800-normal.woff2) format("woff2"); font-weight: 800 900; font-display: swap; }

:root {
  --violet: #7C3AED; --blue: #3B82F6; --ink: #1E1B4B; --lav: #F5F3FF;
  --navy: #0B0A24; --navy2: #14123A; --muted: #5B5A7A; --line: #E4E0F5; --paper: #FBFAFF;
  --grad: linear-gradient(90deg, #7C3AED, #3B82F6);
  --ease-out: cubic-bezier(.2,.7,.2,1); --ease-expo: cubic-bezier(.16,1,.3,1);
  --ease-ui: cubic-bezier(.2,.9,.25,1); --ease-io: cubic-bezier(.65,0,.35,1);
  --dirx: 1; --s: 1;
  --font: "Handicrafts", "Inter", "Segoe UI", Tahoma, sans-serif;
}
html[dir="ltr"] { --dirx: -1; --font: "Inter", "Segoe UI", "Handicrafts", sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
html[dir="rtl"] body { letter-spacing: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; }
.ltr-iso { unicode-bidi: isolate; direction: ltr; display: inline-block; }

/* ---------- deck: native snap ---------- */
#deck { position: fixed; inset: 0; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory; overscroll-behavior-y: none; scrollbar-width: none; }
#deck::-webkit-scrollbar { display: none; }
.slide { position: relative; height: 100vh; height: 100svh; width: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; contain: layout paint; background: var(--paper); }
.slide.dark { background: var(--navy); color: #fff; }
.stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform: translate(-50%, -50%) scale(var(--s)); transform-origin: 50% 50%; }
.pad { position: absolute; inset: 150px 140px 120px; display: flex; flex-direction: column; }

/* ambient backgrounds */
.bg { position: absolute; inset: -6%; pointer-events: none; will-change: transform; }
.bg .blob { position: absolute; border-radius: 50%; opacity: .55; background: radial-gradient(circle closest-side, var(--bc), transparent) !important; animation: drift 18s ease-in-out infinite alternate; animation-delay: calc(var(--k, 0) * -4s); }
.slide:not(.active) .bg .blob { animation-play-state: paused; }
@keyframes drift { to { transform: translate3d(calc(60px * var(--dirx)), -40px, 0) scale(1.12); } }
.light-bg .blob.a { width: 1000px; height: 1000px; --bc: #E4DAFF; inset-inline-end: -120px; top: -160px; }
.light-bg .blob.b { width: 900px; height: 900px; --bc: #D6E6FF; inset-inline-start: -100px; bottom: -200px; opacity: .6; }
.light-bg .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(124,58,237,.10) 1.4px, transparent 1.6px); background-size: 34px 34px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); }
.dark-bg { background: radial-gradient(1200px 800px at 75% 20%, #2A1F6E 0%, transparent 60%), radial-gradient(900px 700px at 15% 90%, #13306B 0%, transparent 60%), linear-gradient(160deg, #0B0A24, #15123F 60%, #0B0A24); inset: 0; }
.dark-bg .blob.a { width: 900px; height: 900px; --bc: #7C3AED; opacity: .45; inset-inline-end: 8%; top: 4%; }
.dark-bg .blob.b { width: 800px; height: 800px; --bc: #3B82F6; opacity: .32; inset-inline-start: 6%; bottom: -8%; }
.dark-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 96px 96px; mask-image: radial-gradient(ellipse at 50% 45%, #000 10%, transparent 70%); }
.net { position: absolute; inset: 0; width: 100%; height: 100%; }
.net path { fill: none; stroke: url(#netgrad); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .7; }
.net circle { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.6); }
.slide.in .net path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease-io) calc(.2s + var(--k, 0) * .15s); }
.slide.in .net circle { opacity: .85; transform: none; transition: opacity .35s, transform .35s cubic-bezier(.2,1.2,.4,1); transition-delay: calc(.9s + var(--k, 0) * .15s); }
.slide.active .net circle { animation: twinkle 3.4s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -1s); }
@keyframes twinkle { 50% { opacity: .35; } }

/* ---------- typography ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; padding: 10px 22px; border-radius: 999px; font-size: 24px; font-weight: 700; color: var(--violet); background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.18); }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
.dark .kicker { color: #D9CCFF; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.h-page { font-size: 76px; line-height: 1.18; font-weight: 900; margin: 22px 0 0; text-wrap: balance; }
html[dir="ltr"] .h-page { letter-spacing: -1.6px; font-size: 70px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .grad-text { background: linear-gradient(90deg, #C4B5FD, #93C5FD); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: 32px; line-height: 1.6; color: var(--muted); max-width: 1200px; margin: 18px 0 0; }
.dark .lead { color: #C9C6E8; }

/* word split (Arabic: by word only) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .12em; margin-block: -.12em; }
.wi { display: inline-block; transform: translateY(110%); }
.slide.in .wi { transform: none; transition: transform .65s var(--ease-expo); transition-delay: calc(.25s + var(--wi) * var(--wstep, 55ms)); }

/* block reveal */
.rv { opacity: 0; transform: translateY(28px); filter: blur(8px); }
.slide.in .rv { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter .9s var(--ease-out); transition-delay: calc(.3s + var(--i, 0) * 100ms); }
/* card fan-in from the inline-start side */
.fan { opacity: 0; transform: translateX(calc(var(--k, 1) * 22px * var(--dirx))) rotate(calc(var(--k, 1) * -3deg * var(--dirx))) scale(.92); }
.slide.in .fan { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .8s var(--ease-expo); transition-delay: calc(.35s + var(--i, 0) * 90ms); }

/* ---------- cover / section titles / close (dark) ---------- */
.cover .pad, .close .pad { justify-content: center; }
.cover-logo { height: 120px; width: auto; margin-bottom: 64px; }
.h-cover { font-size: 168px; line-height: 1.12; font-weight: 900; margin: 0; }
html[dir="ltr"] .h-cover { font-size: 150px; letter-spacing: -4px; }
.cover .vision { font-size: 64px; font-weight: 700; margin-top: 30px; }
.cover .kicker { margin-bottom: 36px; }
.scroll-cue { position: absolute; bottom: 70px; inset-inline-start: 140px; display: flex; align-items: center; gap: 16px; color: #B9B4E6; font-size: 22px; }
.scroll-cue i { width: 26px; height: 40px; border: 2px solid currentColor; border-radius: 14px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { to { transform: translateY(12px); opacity: 0; } }
.cover-orbit { position: absolute; inset-inline-end: 120px; top: 50%; width: 620px; height: 620px; margin-top: -310px; }
.cover-orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(196,181,253,.25); }
.cover-orbit .ring.r2 { inset: 90px; border-color: rgba(147,197,253,.25); }
.cover-orbit .ring.r3 { inset: 190px; border-style: dashed; border-color: rgba(255,255,255,.18); }
.cover-orbit .sat { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 30px #7C3AED; offset-path: circle(310px); animation: orbit 22s linear infinite; }
.cover-orbit .sat.s2 { width: 12px; height: 12px; margin: -6px; offset-path: circle(220px); animation-duration: 15s; animation-direction: reverse; background: #93C5FD; box-shadow: 0 0 24px #3B82F6; }
.cover-orbit .sat.s3 { width: 10px; height: 10px; margin: -5px; offset-path: circle(120px); animation-duration: 9s; background: #fff; }
@keyframes orbit { to { offset-distance: 100%; } }
.cover-orbit .core { position: absolute; inset: 250px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #C4B5FD, #7C3AED 45%, #1E1B4B 80%); box-shadow: 0 0 120px rgba(124,58,237,.7); }

.sect .num { position: absolute; inset-inline-end: 110px; top: 50%; transform: translateY(-50%); font-family: "Inter", sans-serif; font-weight: 800; font-size: 520px; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(196,181,253,.28); letter-spacing: -20px; }
.sect.in .num { animation: numIn 1.4s var(--ease-expo) both; }
@keyframes numIn { from { opacity: 0; transform: translateY(-46%) scale(1.08); } }
.sect .pad { justify-content: center; }
.sect .h-sect { font-size: 150px; line-height: 1.12; font-weight: 900; margin: 26px 0 0; max-width: 1300px; }
html[dir="ltr"] .sect .h-sect { font-size: 128px; letter-spacing: -3px; }
.sect .sub { font-size: 40px; color: #C9C6E8; margin-top: 30px; max-width: 1100px; line-height: 1.5; }
.sect .rule { width: 900px; height: 6px; margin-top: 56px; }
.sect .rule line { stroke: url(#rulegrad); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sect.in .rule line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease-io) .5s; }
.sect .toc { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; max-width: 1300px; }
.sect .toc button { padding: 12px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #E4E0FF; font-size: 24px; background: rgba(255,255,255,.04); transition: background .18s, transform .18s; }
.sect .toc button:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ---------- identity ---------- */
.identity .cols { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: center; flex: 1; }
.identity .h-page { font-size: 96px; }
.vision-card { margin-top: 44px; padding: 34px 40px; border-radius: 28px; background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(59,130,246,.08)); border: 1px solid var(--line); display: flex; align-items: center; gap: 28px; }
.vision-card small { font-size: 24px; color: var(--muted); font-weight: 700; display: block; }
.vision-card b { font-size: 54px; font-weight: 900; }
.belief { font-size: 30px; line-height: 1.6; color: var(--muted); margin-top: 34px; max-width: 1000px; }
.tags { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.tags span { padding: 12px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 24px; font-weight: 600; box-shadow: 0 6px 20px rgba(30,27,75,.05); }
.spec-card { position: relative; text-align: center; padding: 40px 30px 50px; }
.orb { width: 380px; height: 380px; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(124,58,237,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-16px); } }
.spec-card p { font-size: 40px; line-height: 1.5; font-weight: 800; margin: 30px 0 0; }

/* ---------- stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: auto; margin-bottom: auto; }
.stat { position: relative; padding: 56px 48px; border-radius: 36px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(30,27,75,.18); overflow: hidden; }
.stat::after { content: ""; position: absolute; inset-inline-start: 0; top: 0; height: 6px; width: 100%; background: var(--grad); transform: scaleX(.05); transform-origin: var(--org, right); }
html[dir="ltr"] .stat::after { --org: left; }
.slide.in .stat::after { transform: none; transition: transform 1.1s var(--ease-io) .5s; }
.stat .n { font-family: "Inter", sans-serif; font-size: 160px; font-weight: 800; line-height: 1; letter-spacing: -4px; direction: ltr; unicode-bidi: isolate; display: inline-block; font-variant-numeric: tabular-nums; }
.stat .n .p { color: var(--violet); }
.stat .lbl { font-size: 36px; line-height: 1.45; font-weight: 700; margin-top: 26px; }

/* ---------- pillars ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: auto; margin-bottom: auto; }
.pillar { padding: 56px 46px; border-radius: 36px; background: linear-gradient(180deg, #fff, #F7F4FF); border: 1px solid var(--line); min-height: 520px; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(124,58,237,.35); }
.pillar .ic { width: 110px; height: 110px; border-radius: 30px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 20px 40px -14px rgba(124,58,237,.6); }
.pillar .ic svg { width: 58px; height: 58px; stroke: #fff; fill: none; stroke-width: 2; }
.pillar .idx { font-family: "Inter", sans-serif; font-weight: 800; color: rgba(124,58,237,.25); font-size: 30px; margin-top: auto; }
.pillar h3 { font-size: 80px; font-weight: 900; margin: 44px 0 10px; }
.pillar p { font-size: 32px; line-height: 1.55; color: var(--muted); margin: 0; }
.pillars-dots { font-size: 44px; font-weight: 900; margin-top: 18px; }

/* ---------- partners ---------- */
.partners-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; margin-top: auto; margin-bottom: auto; }
.pcard { border-radius: 36px; padding: 54px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(30,27,75,.15); }
.pcard .lab { font-size: 24px; font-weight: 700; color: var(--violet); }
.pcard .waiwim { height: 92px; width: auto; margin: 34px 0 30px; }
.pcard h3 { font-size: 52px; font-weight: 900; margin: 0; line-height: 1.3; }
.pcard p { font-size: 30px; color: var(--muted); line-height: 1.55; margin: 18px 0 0; }
.pcard .sup { display: flex; align-items: center; gap: 30px; margin-top: 40px; padding-top: 34px; border-top: 1px dashed var(--line); font-size: 28px; font-weight: 700; color: var(--muted); }
.pcard .sup img { height: 110px; width: auto; }
.pstat { border-radius: 36px; padding: 54px; color: #fff; background: radial-gradient(600px 400px at 80% 0%, #7C3AED, transparent 70%), linear-gradient(160deg, #1E1B4B, #0B0A24); display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.pstat .n { font-family: "Inter", sans-serif; font-size: 200px; font-weight: 800; line-height: 1; letter-spacing: -6px; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.pstat .lbl { font-size: 40px; line-height: 1.4; font-weight: 800; margin-top: 18px; }

/* ---------- clients ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: auto; margin-bottom: auto; }
.client { border-radius: 36px; padding: 48px 44px; background: linear-gradient(180deg, #fff, #F8F6FF); border: 1px solid var(--line); min-height: 560px; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.client:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(124,58,237,.3); }
.client .logo-wrap { height: 170px; display: flex; align-items: center; }
.client .logo-wrap img { max-height: 150px; max-width: 360px; width: auto; height: auto; }
.client .styled { font-family: "Inter", sans-serif; font-size: 84px; font-weight: 800; letter-spacing: -3px; direction: ltr; background: linear-gradient(90deg, #F59E0B, #EF4444 50%, #7C3AED); -webkit-background-clip: text; background-clip: text; color: transparent; }
.client h3 { font-size: 46px; font-weight: 900; margin: 30px 0 8px; }
.client .sec { display: inline-block; font-size: 24px; font-weight: 700; color: var(--violet); padding: 8px 18px; border-radius: 999px; background: rgba(124,58,237,.08); align-self: flex-start; }
.client p { font-size: 29px; color: var(--muted); line-height: 1.55; margin: 24px 0 0; }

/* ---------- pains / answers ---------- */
.pains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: auto; margin-bottom: auto; }
.pain { position: relative; padding: 46px 44px 46px; border-radius: 32px; background: #fff; border: 1px solid #F1E4EA; min-height: 270px; box-shadow: 0 24px 50px -30px rgba(190,24,93,.2); display: flex; flex-direction: column; justify-content: space-between; }
.pain .q { font-size: 110px; line-height: .6; font-family: Georgia, serif; color: rgba(225,29,72,.18); height: 50px; }
.pain p { font-size: 40px; font-weight: 800; line-height: 1.4; margin: 16px 0 0; }
.pain .ans { font-size: 24px; color: var(--violet); font-weight: 700; margin-top: 18px; display: flex; gap: 10px; align-items: center; }
.answers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 54px; }
.ans-card { padding: 38px 30px; border-radius: 30px; background: #fff; border: 1px solid var(--line); min-height: 340px; box-shadow: 0 24px 50px -30px rgba(30,27,75,.18); }
.ans-card .ic { width: 76px; height: 76px; border-radius: 22px; background: var(--grad); display: grid; place-items: center; }
.ans-card .ic svg { width: 40px; height: 40px; stroke: #fff; fill: none; stroke-width: 2; }
.ans-card h3 { font-size: 34px; line-height: 1.35; font-weight: 900; margin: 28px 0 12px; }
.ans-card p { font-size: 25px; line-height: 1.5; color: var(--muted); margin: 0; }
.process { margin-top: auto; }
.process .pt { font-size: 26px; font-weight: 800; color: var(--muted); margin-bottom: 18px; }
.process .track { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); }
.process svg.ln { position: absolute; top: 31px; left: 0; width: 100%; height: 6px; overflow: visible; }
.process svg.ln line { stroke: url(#rulegrad); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.slide.in .process svg.ln line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io) .6s; }
html[dir="rtl"] .process svg.ln { transform: scaleX(-1); }
.step { position: relative; text-align: center; }
.step .dot { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: #fff; border: 3px solid var(--violet); display: grid; place-items: center; font-family: "Inter", sans-serif; font-weight: 800; font-size: 24px; color: var(--violet); transform: scale(.6); opacity: 0; }
.slide.in .step .dot { transform: none; opacity: 1; transition: transform .35s cubic-bezier(.2,1.2,.4,1), opacity .35s; transition-delay: calc(.6s + var(--i) * .2s); }
.step b { display: block; font-size: 32px; margin-top: 14px; font-weight: 800; }

/* ---------- cost ---------- */
.cost-wrap { margin-top: auto; margin-bottom: auto; display: grid; gap: 50px; }
.bar-row .bl { font-size: 30px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.bar { display: flex; height: 120px; border-radius: 24px; overflow: hidden; gap: 4px; transform-origin: var(--org, right); }
html[dir="ltr"] .bar { --org: left; }
.bar .seg { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 14px; font-size: 24px; font-weight: 700; line-height: 1.25; color: #fff; transform: scaleX(.05); transform-origin: var(--org, right); opacity: 0; }
html[dir="ltr"] .bar .seg { --org: left; }
.slide.in .bar .seg { transform: none; opacity: 1; transition: transform 1.1s var(--ease-io), opacity .4s; transition-delay: calc(.4s + var(--i) * .15s); }
.bar.market .seg { background: #CBC6E0; color: #3B3866; }
.bar.market .seg:nth-child(2) { background: #BDB7D6; } .bar.market .seg:nth-child(3) { background: #AFA8CC; } .bar.market .seg:nth-child(4) { background: #A39BC2; }
.bar.ours .seg { background: var(--violet); } .bar.ours .seg:nth-child(2) { background: #6D4AF0; } .bar.ours .seg:nth-child(3) { background: #5462F2; } .bar.ours .seg:nth-child(4) { background: var(--blue); }
.bar.ours .saved { flex: 1; background: repeating-linear-gradient(-45deg, rgba(124,58,237,.14) 0 3px, transparent 3px 14px); border: 2px dashed rgba(124,58,237,.35); border-radius: 0 24px 24px 0; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 900; color: var(--violet); opacity: 0; }
html[dir="rtl"] .bar.ours .saved { border-radius: 24px 0 0 24px; }
.slide.in .bar.ours .saved { opacity: 1; transition: opacity .8s 1.6s; }
.levers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.lever { padding: 26px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); font-size: 27px; font-weight: 800; line-height: 1.35; display: flex; gap: 16px; align-items: center; }
.lever i { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; }
.lever i svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2.4; }
.disclaimer { font-size: 20px; color: #8D8AA8; margin-top: 4px; }

/* ---------- matrix ---------- */
.matrix-page .pad { inset: 128px 110px 70px; }
.mx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.mx-head .h-page { font-size: 62px; margin-top: 14px; }
.mx-head .hint { font-size: 24px; color: var(--muted); margin-top: 8px; }
.mx-toggle { display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px; border-radius: 18px; font-size: 24px; font-weight: 800; background: #fff; border: 1.5px solid rgba(124,58,237,.3); color: var(--violet); transition: background .18s, color .18s, transform .18s; white-space: nowrap; }
.mx-toggle:hover { transform: translateY(-2px); }
.mx-toggle .sw { width: 50px; height: 28px; border-radius: 14px; background: #E4E0F5; position: relative; transition: background .2s; }
.mx-toggle .sw::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s var(--ease-ui); }
.mx-toggle.on { background: var(--violet); color: #fff; }
.mx-toggle.on .sw { background: rgba(255,255,255,.35); }
.mx-toggle.on .sw::after { transform: translateX(calc(22px * var(--dirx) * -1)); }
.mx-body { flex: 1; display: flex; flex-direction: column; gap: 0; margin-top: 26px; min-height: 0; }
.mx-wrap { position: relative; flex: 1; min-width: 0; }
.mx { position: relative; display: grid; height: 100%; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(30,27,75,.25); overflow: hidden; }
.mx .corner { display: flex; align-items: flex-end; justify-content: flex-start; padding: 14px 20px; font-size: 18px; font-weight: 700; color: #9A96B8; background: #F8F6FF; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); line-height: 1.3; }
.mx .corner span { display: block; }
.mx .ch, .mx .rh { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); background: #F8F6FF; transition: color .15s, background .15s; text-align: start; }
.mx .ch { flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 10px 6px 12px; font-size: var(--chf, 21px); line-height: 1.2; border-bottom: 1px solid var(--line); }
.mx .rh { padding: 0 20px; font-size: var(--rhf, 23px); line-height: 1.2; border-inline-end: 1px solid var(--line); }
.mx .ch:hover, .mx .rh:hover, .mx .ch.hot, .mx .rh.hot { color: var(--violet); background: #EFE9FF; }
.mx .ch.placed, .mx .rh.placed { color: #fff; background: var(--violet); }
.mx .cell { position: relative; z-index: 1; display: grid; place-items: center; border-inline-end: 1px solid #F1EEFA; border-bottom: 1px solid #F1EEFA; transition: opacity .2s, transform .18s var(--ease-ui), background .18s; opacity: 0; transform: scale(.85); }
.slide.in .mx .cell { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), background .18s; transition-delay: calc(.3s + var(--d) * 28ms); }
.mx .cell::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #DCD6F0; transition: transform .2s, background .2s; }
.mx.hovering .cell { opacity: .5; }
.mx.hovering .cell.inband { opacity: 1; }
.mx .cell.x { background: linear-gradient(135deg, var(--violet), var(--blue)); opacity: 1 !important; transform: scale(1.04); border-radius: 10px; box-shadow: 0 14px 30px -8px rgba(124,58,237,.6); z-index: 4; transition-delay: 0s !important; }
.mx .cell.x::before { background: #fff; transform: scale(1.4); }
.mx .cell.placed { background: linear-gradient(135deg, var(--violet), var(--blue)); }
.mx .cell.placed::before { background: #fff; }
.mx .cell .pdots { position: absolute; bottom: 6px; display: flex; gap: 3px; }
.mx .band { position: absolute; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .25s; background: repeating-linear-gradient(-45deg, rgba(124,58,237,.16) 0 2px, transparent 2px 10px); }
.mx .band.row { left: 0; top: 0; width: 100%; height: var(--bh, 60px); transform: translate3d(0, var(--cy, 0), 0); border-top: 1.5px dashed rgba(124,58,237,.55); border-bottom: 1.5px dashed rgba(124,58,237,.55); }
.mx .band.col { left: 0; top: 0; height: 100%; width: var(--bw, 100px); transform: translate3d(var(--cx, 0), 0, 0); border-left: 1.5px dashed rgba(124,58,237,.55); border-right: 1.5px dashed rgba(124,58,237,.55); }
.mx.hovering .band { opacity: 1; }
.mx.hovering .band.row { animation: ants 1.2s linear infinite; }
@keyframes ants { to { background-position: 28px 0; } }
.mx-tip { position: absolute; z-index: 6; pointer-events: none; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 19px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(4px) scale(.97); transition: opacity .16s, transform .16s ease-out; }
.mx-tip.on { opacity: 1; transform: none; }
.pbadges { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease-io), opacity .3s; }
.mx .rh .pbadges { justify-content: flex-start; margin-inline-start: auto; }
.prods-on .pbadges { max-height: 60px; opacity: 1; }
.pb { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 2.5px solid var(--c); transform: scale(0); transition: transform .35s cubic-bezier(.2,1.2,.4,1), opacity .2s; transition-delay: calc(var(--j) * 40ms); }
.pb.possible { background: transparent; }
.prods-on .pb { transform: none; }
.prods-on.focus-prod .pb { opacity: .15; }
.prods-on.focus-prod .pb.f { opacity: 1; transform: scale(1.35); }
.legend { height: 0; overflow: hidden; opacity: 0; transition: height .5s var(--ease-expo), opacity .3s, margin .5s var(--ease-expo); flex: none; }
.prods-on .legend { height: 76px; opacity: 1; margin-top: 14px; }
.legend-in { height: 76px; border-radius: 20px; background: #fff; border: 1px solid var(--line); padding: 0 18px; display: flex; align-items: center; gap: 4px; }
.legend h4 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.legend .lg { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 14px; transition: background .15s; cursor: default; }
.legend .lg:hover { background: #F5F1FF; }
.legend .lg .pb { transform: none; flex: none; width: 18px; height: 18px; }
.legend .lg img { height: 30px; width: auto; max-width: 132px; object-fit: contain; }
.legend .lg img.orbi { width: 24px; height: 24px; margin-inline-start: -6px; }
.legend .key { margin-inline-start: auto; display: flex; flex-direction: column; gap: 4px; font-size: 16px; color: var(--muted); padding-inline-start: 14px; border-inline-start: 1px solid var(--line); white-space: nowrap; }
.legend .key span { display: inline-flex; gap: 8px; align-items: center; }
.legend .key .pb { transform: none; --c: var(--violet); width: 14px; height: 14px; }

/* ---------- picker ---------- */
.picker-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; margin-top: 40px; flex: 1; min-height: 0; }
.picker-cols h3 { font-size: 30px; font-weight: 800; margin: 0 0 18px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 14px; align-content: flex-start; }
.chips button { padding: 16px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: var(--pf, 27px); font-weight: 800; box-shadow: 0 10px 24px -18px rgba(30,27,75,.3); transition: transform .18s, box-shadow .18s, background .18s, color .18s; }
.chips button:hover { transform: translateY(-3px); background: var(--violet); color: #fff; box-shadow: 0 18px 30px -16px rgba(124,58,237,.6); }

/* ---------- entity pages ---------- */
.ent .pad { inset: 140px 130px 100px; }
.ent-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.ent-head .h-page { font-size: 66px; margin-top: 16px; }
.ent-head .lead { font-size: 27px; margin-top: 10px; max-width: 1100px; }
.ent-tabs { display: flex; gap: 8px; margin-top: 4px; }
.ent-tabs button { padding: 10px 20px; border-radius: 999px; font-size: 21px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); background: #fff; white-space: nowrap; }
.ent-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.back-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 14px; font-size: 22px; font-weight: 800; color: var(--violet); background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.2); white-space: nowrap; transition: transform .18s, background .18s; }
.back-btn:hover { transform: translateY(-2px); background: rgba(124,58,237,.14); }
.back-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.4; }
html[dir="ltr"] .back-btn svg { transform: scaleX(-1); }
.ent-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.ent-body { flex: 1; display: flex; gap: 30px; margin-top: 34px; min-height: 0; }
.ent-main { flex: 1; min-width: 0; }
.lens { width: 0; flex: none; overflow: hidden; display: none; }
.has-lens .lens { display: block; width: 400px; }
.lens-in { height: 100%; border-radius: 28px; padding: 30px; color: #fff; background: radial-gradient(400px 300px at 90% 0%, rgba(124,58,237,.6), transparent 70%), linear-gradient(160deg, #1E1B4B, #0B0A24); display: flex; flex-direction: column; gap: 14px; }
.lens-in small { font-size: 20px; color: #C4B5FD; font-weight: 700; }
.lens-in h4 { margin: 0; font-size: 36px; font-weight: 900; }
.lens-in ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lens-in li { font-size: 22px; line-height: 1.45; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.drivers-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 22px; align-content: start; }
.drv { position: relative; padding: 28px 28px 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(30,27,75,.25); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.drv::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 6px; background: var(--kc, var(--violet)); }
.drv .kind { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: 19px; font-weight: 800; color: var(--kc); background: color-mix(in srgb, var(--kc) 10%, transparent); }
.drv .kind svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.drv h4 { margin: 0; font-size: var(--df, 30px); line-height: 1.35; font-weight: 900; }
.drv .auth { font-size: 21px; color: var(--muted); margin-top: auto; display: flex; gap: 8px; align-items: baseline; line-height: 1.4; }
.drv .auth b { color: var(--ink); font-weight: 700; }
.drv .dt { font-size: 19px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; height: 100%; }
.col-card { border-radius: 30px; padding: 36px 38px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; min-height: 0; }
.col-card.must { background: linear-gradient(180deg, #fff, #F5F1FF); border-color: rgba(124,58,237,.25); }
.col-card h3 { margin: 0 0 22px; display: flex; align-items: center; gap: 16px; font-size: 42px; font-weight: 900; }
.col-card h3 i { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); }
.col-card.good h3 i { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.col-card h3 i svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 2.4; }
.col-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.col-card li { display: flex; gap: 16px; align-items: flex-start; font-size: var(--lf, 29px); line-height: 1.4; font-weight: 600; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.col-card li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: .5em; background: var(--violet); }
.col-card.good li::before { background: transparent; border: 2.5px solid var(--blue); }
.cases-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; height: 100%; }
.uc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.uc { padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 30px -26px rgba(30,27,75,.3); }
.uc h4 { margin: 0; font-size: var(--uf, 27px); line-height: 1.35; font-weight: 900; }
.uc p { margin: 8px 0 0; font-size: 20px; line-height: 1.45; color: var(--muted); }
.sol-card { border-radius: 28px; padding: 30px 32px; color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(124,58,237,.55), transparent 70%), linear-gradient(160deg, #1E1B4B, #0B0A24); display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.sol-card h3, .uc-col h3 { margin: 0 0 6px; font-size: 30px; font-weight: 900; display: flex; align-items: center; gap: 12px; }
.sol-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sol-card li { font-size: 23px; line-height: 1.4; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.sol-card li small { display: block; color: #C9C6E8; font-size: 18px; margin-top: 4px; }
.events { margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.2); }
.events h5 { margin: 0 0 10px; font-size: 21px; color: #C4B5FD; }
.events .ev { display: flex; justify-content: space-between; gap: 12px; font-size: 20px; padding: 6px 0; }
.events .ev span { color: #C9C6E8; white-space: nowrap; }
.prod-strip { display: flex; align-items: center; gap: 22px; margin-top: 18px; padding: 14px 20px; border-radius: 18px; background: rgba(124,58,237,.05); border: 1px dashed rgba(124,58,237,.25); }
.prod-strip small { font-size: 20px; font-weight: 800; color: var(--violet); white-space: nowrap; }
.prod-strip img { height: 38px; width: auto; max-width: 160px; object-fit: contain; }

/* ---------- close ---------- */
.close .h-cover { font-size: 150px; }
.contact { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 60px; }
.contact a, .contact span { display: inline-flex; align-items: center; gap: 14px; padding: 18px 30px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 32px; font-weight: 700; text-decoration: none; transition: background .18s, transform .18s; }
.contact a:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.contact svg { width: 30px; height: 30px; stroke: #C4B5FD; fill: none; stroke-width: 2; }
.close .end-logo { height: 96px; width: auto; margin-bottom: 50px; }

/* ---------- chrome (outside the stage, real pixels) ---------- */
.chrome { position: fixed; z-index: 50; }
#progress { top: 0; left: 0; right: 0; height: 3px; background: transparent; }
#progress i { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: right; }
html[dir="ltr"] #progress i { transform-origin: left; }
#topbar { top: 14px; inset-inline: 22px; height: 52px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
#topbar > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 34px; width: auto; }
.brand .logo-white { display: none; }
body.on-dark .brand .logo-color { display: none; }
body.on-dark .brand .logo-white { display: block; }
.brand .where { font-size: 14px; font-weight: 700; color: var(--muted); padding-inline-start: 14px; border-inline-start: 1px solid var(--line); line-height: 1.2; }
body.on-dark .brand .where { color: #B9B4E6; border-color: rgba(255,255,255,.18); }
.ctrls { display: flex; align-items: center; gap: 8px; }
.cbtn { height: 40px; min-width: 40px; padding: 0 14px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; background: rgba(255,255,255,.75); border: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(10px); transition: transform .15s, background .15s; }
.cbtn:hover { transform: translateY(-2px); background: #fff; }
.cbtn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
body.on-dark .cbtn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.counter { font-family: "Inter", sans-serif; font-size: 13px; font-weight: 700; color: var(--muted); min-width: 64px; text-align: center; direction: ltr; overflow: hidden; height: 18px; }
body.on-dark .counter { color: #B9B4E6; }
.counter span { display: inline-block; }
#dots { inset-inline-start: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
#dots button { position: relative; width: 8px; height: 8px; border-radius: 4px; background: rgba(30,27,75,.22); transition: height .3s var(--ease-ui), background .3s; }
#dots button.on { height: 26px; background: var(--violet); }
body.on-dark #dots button { background: rgba(255,255,255,.3); } body.on-dark #dots button.on { background: #C4B5FD; }
#dots button span { position: absolute; inset-inline-start: 20px; top: 50%; transform: translate(calc(8px * var(--dirx)), -50%); white-space: nowrap; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
#dots button:hover span { opacity: 1; transform: translate(0, -50%); }
#clientChip { bottom: 18px; inset-inline-start: 50%; transform: translateX(calc(50% * var(--dirx))); display: none; align-items: center; gap: 10px; padding: 8px 10px 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(30,27,75,.5); }
html[dir="rtl"] #clientChip { padding: 8px 16px 8px 10px; }
#clientChip.on { display: inline-flex; animation: pop .16s ease-out; }
#clientChip button { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 14px; }
@keyframes pop { from { transform: translateX(calc(50% * var(--dirx))) translateY(4px) scale(.97); opacity: 0; } }
.menu { position: fixed; z-index: 60; top: 72px; inset-inline-end: 22px; width: 300px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(30,27,75,.35); display: none; }
.menu.on { display: block; animation: sheet .34s var(--ease-ui); }
@keyframes sheet { from { opacity: 0; transform: translateY(-8px); } }
.menu .seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--lav); margin-bottom: 8px; }
.menu .seg2 button { padding: 8px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--muted); }
.menu .seg2 button.on { background: #fff; color: var(--violet); box-shadow: 0 2px 8px rgba(30,27,75,.1); }
.menu .item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; font-size: 15px; font-weight: 700; text-align: start; }
.menu .item:hover { background: var(--lav); }
.menu .item svg { width: 20px; height: 20px; stroke: var(--violet); fill: none; stroke-width: 2; }
.menu .scope-note { font-size: 12px; color: var(--muted); padding: 2px 10px 8px; }
#indexPanel { position: fixed; z-index: 70; inset: 0; background: rgba(11,10,36,.55); backdrop-filter: blur(3px); display: none; }
#indexPanel.on { display: block; }
#indexPanel .sheet { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(520px, 92vw); background: #fff; padding: 28px 26px; overflow-y: auto; animation: slideIn .34s var(--ease-ui); }
@keyframes slideIn { from { transform: translateX(calc(40px * var(--dirx))); opacity: 0; } }
#indexPanel h2 { margin: 0 0 18px; font-size: 24px; font-weight: 900; }
.ix-sec { margin-bottom: 14px; }
.ix-sec > button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 18px; font-weight: 800; text-align: start; }
.ix-sec > button:hover { background: var(--lav); }
.ix-sec > button i { font-style: normal; font-family: "Inter", sans-serif; font-size: 13px; color: var(--violet); width: 28px; }
.ix-pages { display: flex; flex-wrap: wrap; gap: 6px; padding-inline-start: 52px; }
.ix-pages button { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: var(--lav); color: var(--ink); }
.ix-pages button.cur { background: var(--violet); color: #fff; }
#notes { bottom: 0; inset-inline: 0; max-height: 30vh; overflow: auto; padding: 18px 28px 22px; background: rgba(11,10,36,.94); color: #EDEBFF; font-size: 18px; line-height: 1.6; display: none; }
#notes.on { display: block; }
#notes b { color: #C4B5FD; display: block; font-size: 13px; margin-bottom: 4px; }
#toast { bottom: 70px; left: 50%; transform: translateX(-50%); padding: 12px 22px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
#toast.on { opacity: 1; transform: translateX(-50%) translateY(-6px); }
#roBanner { top: 70px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: #FEF3C7; color: #92400E; font-size: 13px; font-weight: 700; display: none; }
#roBanner.on { display: block; }

/* ---------- export / print mode: no chrome, all settled ---------- */
html.export #deck { position: static; overflow: visible; scroll-snap-type: none; height: auto; }
html.export, html.export body { height: auto; overflow: visible; }
html.export .chrome, html.export .menu, html.export #indexPanel { display: none !important; }
html.export .slide { width: 1920px; height: 1080px; break-after: page; page-break-after: always; contain: none; }
html.export .scroll-cue { display: none; }
html.export .bg .blob { animation: none; }
html.export .slide * { transition: none !important; animation-play-state: paused !important; }
@page { size: 1920px 1080px; margin: 0; }

/* ---------- reduced motion: force end states ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv, .fan, .wi, .mx .cell, .step .dot, .bar .seg, .bar.ours .saved { opacity: 1 !important; transform: none !important; filter: none !important; }
  .net path, .rule line, .process svg.ln line { stroke-dashoffset: 0 !important; }
  .net circle { opacity: .85 !important; transform: none !important; }
}
html.rm .rv, html.rm .fan, html.rm .wi, html.rm .mx .cell, html.rm .step .dot, html.rm .bar .seg, html.rm .bar.ours .saved { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
html.rm .net path, html.rm .rule line, html.rm .process svg.ln line { stroke-dashoffset: 0 !important; transition: none !important; }
html.rm .net circle { opacity: .85 !important; transform: none !important; }
html.rm .stat::after { transform: none !important; }

/* ---------- v1 polish pass (after screenshot review) ---------- */
.pain .ans svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2.4; flex: none; }
.pain { min-height: 0; padding: 34px 38px; }
.pain .q { font-size: 90px; height: 36px; }
.pain p { font-size: 36px; }
.orb { border-radius: 50%; filter: none; box-shadow: 0 40px 90px -20px rgba(124,58,237,.45); }
.cost-wrap { gap: 30px; }
.bar { height: 100px; }
.bar-row .bl { margin-bottom: 12px; }
/* matrix fits the stage */
.matrix-page .pad { inset: 120px 100px 46px; }
.mx-head { align-items: center; }
.mx-head .h-page { font-size: 54px; margin-top: 10px; }
.mx-head .side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.mx-head .hint { margin: 0; font-size: 21px; }
.mx-body { min-height: 0; margin-top: 18px; }
.mx-wrap { min-height: 0; }
.mx .rh { font-size: 20px; line-height: 1.12; padding: 0 16px; overflow: hidden; }
.mx .rh .pbadges { width: 62px; flex: none; flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
.mx .pb { width: 13px; height: 13px; border-width: 2px; }
.mx .ch { font-size: 18px; padding: 8px 4px 10px; gap: 6px; }
.mx .ch .pbadges { max-width: 90px; gap: 3px; }
/* entity pages: fit 7 drivers */
.ent .pad { inset: 128px 120px 64px; }
.ent-head .h-page { font-size: 56px; margin-top: 12px; }
.ent-head .lead { font-size: 24px; margin-top: 6px; }
.ent-body { margin-top: 24px; }
.drivers-grid { gap: 18px; }
.drv { padding: 22px 24px; gap: 10px; }
.drv h4 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drv p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.drv .auth span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.events .ev { display: block; padding: 8px 0; }
.events .ev b { display: block; font-size: 21px; }
.events .ev span { display: block; white-space: normal; font-size: 18px; margin-top: 2px; }
.cover-logo, .end-logo { align-self: flex-start; }
.brand img { height: 44px; }
.mx .ch { overflow-wrap: anywhere; min-width: 0; }
html[dir="ltr"] .mx .ch { font-size: 16px; }
html[dir="ltr"] .mx .rh { font-size: 17px; }
.process svg.ln line { stroke: #8B5CF6; }
.sect .rule line { stroke: #A78BFA; }
.mx .cell.has-note::before { background: #A78BFA; width: 10px; height: 10px; }
html[dir="ltr"] .mx .ch { overflow-wrap: normal; word-break: normal; hyphens: auto; -webkit-hyphens: auto; font-size: 15px; }
html[dir="ltr"] .mx .ch { font-size: 14px; padding-inline: 2px; }
html[dir="ltr"] .mx .rh { font-size: 16px; }
