/* =========================================================
   Yadino — Design System
   Motif: the learning timeline (rail + interaction nodes)
   All spacing uses logical properties → works for RTL & LTR
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face { font-family: "Yadino Vazir"; src: url("/assets/fonts/Vazirmatn[wght].woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Yadino Outfit"; src: url("/assets/fonts/Outfit-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Yadino Outfit"; src: url("/assets/fonts/Outfit-Bold.ttf") format("truetype"); font-weight: 600 800; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --paper: #F3F7F6;
  --surface: #FFFFFF;
  --surface-2: #E7F0EE;
  --surface-3: #D9E8E4;
  --ink: #07292B;
  --ink-2: #3F5E5E;
  --ink-3: #6B8886;
  --line: #D0E0DC;
  --brand: #0A7C71;
  --brand-2: #0FA391;
  --brand-soft: #D2EEE9;
  --saffron: #F2A516;
  --saffron-soft: #FDEFD2;
  --saffron-ink: #6B4300;
  --ok: #1B9A5E;
  --bad: #CF4343;
  --shadow-1: 0 1px 2px rgba(7, 41, 43, .06), 0 4px 14px rgba(10, 124, 113, .07);
  --shadow-2: 0 2px 6px rgba(7, 41, 43, .06), 0 24px 60px -18px rgba(10, 124, 113, .28);
  --glow: radial-gradient(60% 60% at 50% 40%, rgba(15, 163, 145, .18), transparent 70%);
  --r-xl: 30px; --r-lg: 20px; --r-md: 14px; --r-sm: 9px;
  --container: 1220px;
  --gutter: clamp(18px, 4vw, 40px);
  --font: "Yadino Vazir", "Vazirmatn", Tahoma, system-ui, sans-serif;
  --font-display: var(--font);
  --lh: 1.85;
  --lh-head: 1.32;
  --track-head: 0;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 72px;
  color-scheme: light;
}
html[data-theme="dark"] {
  --paper: #041A1C;
  --surface: #072427;
  --surface-2: #0B2F32;
  --surface-3: #103B3E;
  --ink: #E3F3EF;
  --ink-2: #A3C2BD;
  --ink-3: #739591;
  --line: #164346;
  --brand: #1BC4AE;
  --brand-2: #4FDCC7;
  --brand-soft: #0B3B38;
  --saffron: #F6B83E;
  --saffron-soft: #3A2C0B;
  --saffron-ink: #FFE3A8;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, .35), 0 30px 70px -20px rgba(27, 196, 174, .22);
  --glow: radial-gradient(60% 60% at 50% 40%, rgba(27, 196, 174, .16), transparent 70%);
  color-scheme: dark;
}
html[lang="en"] { --font: "Yadino Outfit", "Outfit", system-ui, sans-serif; --lh: 1.65; --lh-head: 1.12; --track-head: -.02em; }
html[lang="hi"] { --font: "Noto Sans Devanagari", "Yadino Outfit", system-ui, sans-serif; --lh: 1.75; --lh-head: 1.3; }
html[lang="ur"] { --font-display: "Noto Nastaliq Urdu", "Yadino Vazir", "Vazirmatn", serif; --lh: 1.95; }
html[lang="ur"] h1, html[lang="ur"] h2 { line-height: 1.9; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: var(--lh);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, video { max-width: 100%; display: block; }
svg { max-width: 100%; flex: none; }
.player__course, .chip, .player__stat, .player__card h4, .hero__trust span { line-height: 1.4; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: var(--lh-head); letter-spacing: var(--track-head); margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--saffron); color: #1B1200; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.sr-only { 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; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; z-index: 999; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--alt { background: var(--surface-2); }
.section--ink { background: #06282A; color: #E3F3EF; --ink: #E3F3EF; --ink-2: #A9C9C4; --ink-3: #7FA29D; --line: #1C4A4C; --surface: #0A3336; --surface-2: #0D3A3D; }
.section--ink { --brand: #1BC4AE; --brand-soft: #0E4744; }
html[data-theme="dark"] .section--ink { background: #021213; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.head { max-width: 760px; margin-block-end: clamp(32px, 5vw, 56px); }
.head.center { margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--brand); margin-block-end: 14px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.center .kicker::before { display: none; }
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.stack > * + * { margin-block-start: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--brand); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 0; font-weight: 700; font-size: 1rem; line-height: 1.2;
  background: var(--b); color: var(--c); position: relative; isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 70%); opacity: 0; transition: opacity .3s; z-index: -1; }
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--b) 70%, transparent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--gold { --b: var(--saffron); --c: #2A1B00; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); }
.btn--wa { --b: #1FAF5A; }
.btn--sm { padding: 10px 16px; font-size: .92rem; }
.btn--lg { padding: 17px 30px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.link { color: var(--brand); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.link:hover { border-color: currentColor; }
.flip-rtl { transform: scaleX(1); }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: var(--paper); font-size: .9rem; text-align: center; padding: 9px var(--gutter); position: relative; }
.announce a { color: var(--saffron); font-weight: 700; margin-inline-start: 6px; }
html[data-theme="dark"] .announce { background: var(--saffron); color: #231700; }
html[data-theme="dark"] .announce a { color: #231700; text-decoration: underline; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.is-scrolled { border-color: var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; }
.logo svg { width: 36px; height: 36px; }
.logo__word { font-family: "Yadino Outfit", "Outfit", sans-serif; letter-spacing: -.02em; }
.nav { display: flex; gap: 2px; margin-inline-start: 14px; }
.nav__item { position: relative; }
.nav__link { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .98rem; color: var(--ink-2); background: none; border: 0; transition: color .2s, background .2s; }
.nav__link:hover, .nav__item.is-open > .nav__link, .nav__link[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav__link svg { width: 14px; height: 14px; transition: transform .25s; }
.nav__item.is-open .nav__link svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); inset-inline-start: -20px; width: min(640px, 90vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top; transition: .25s var(--ease); }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 14px; padding: 14px; border-radius: var(--r-md); transition: background .2s; }
.mega a:hover { background: var(--surface-2); }
.mega__ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.mega__ic svg { width: 22px; height: 22px; }
.mega strong { display: flex; gap: 8px; align-items: center; font-size: .98rem; }
.mega small { display: block; color: var(--ink-2); font-size: .85rem; line-height: 1.6; margin-top: 2px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--saffron); color: #2A1B00; line-height: 1.4; }
.badge--soft { background: var(--brand-soft); color: var(--brand); }
.header__tools { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 0; color: var(--ink); transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--surface-3); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: block; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }
.lang { position: relative; }
.lang__btn { display: inline-flex; gap: 8px; align-items: center; height: 42px; padding-inline: 14px; border-radius: 999px; background: var(--surface-2); border: 0; font-weight: 600; font-size: .92rem; }
.lang__btn svg { width: 18px; height: 18px; }
.lang__menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); z-index: 5; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.lang__menu a:hover { background: var(--surface-2); }
.lang__menu a[aria-current="true"] { color: var(--brand); }
.lang__menu small { color: var(--ink-3); font-weight: 400; }
.burger { display: none; }
@media (max-width: 1240px) {
  .nav, .header__cta { display: none; }
  .burger { display: grid; }
}
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer__bg { position: absolute; inset: 0; background: rgba(2, 20, 21, .45); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(420px, 92vw); background: var(--paper); padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; gap: 8px; }
[dir="rtl"] .drawer__panel { transform: translateX(-100%); }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; padding: 16px 4px; font-weight: 700; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details a, .drawer > a.drawer__link { display: block; padding: 12px 4px; color: var(--ink-2); font-weight: 600; }
.drawer > a.drawer__link { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line); padding-block: 16px; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), var(--saffron)); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .progress span { transform-origin: right; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; background: var(--glow); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { margin-block-end: .35em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(105%); transition: transform 1s var(--ease); }
.js .is-ready .hero h1 .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
.hero h1 .line:nth-child(3) > span { transition-delay: .24s; }
.hero__sub { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--ink-2); max-width: 54ch; margin-block-end: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-block-start: 26px; font-size: .92rem; color: var(--ink-2); }
.hero__trust span { display: inline-flex; gap: 8px; align-items: center; }
.hero__trust svg { width: 18px; height: 18px; color: var(--brand); }
.hero--page { padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px); }
.hero--page .hero__grid { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 980px) { .hero--page .hero__grid { grid-template-columns: 1fr; } }
/* hero hosting the search box: the results dropdown must overflow instead of being clipped */
.hero--search { overflow: visible; z-index: 1; }
.hero--search::before { inset: 0; height: 100%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--ink-3); margin-block-end: 18px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- The Player (signature) ---------- */
.player { position: relative; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-2); border: 1px solid var(--line); padding: 14px; transform-style: preserve-3d; }
.player__bar { display: flex; align-items: center; gap: 8px; padding: 2px 6px 12px; font-size: .82rem; color: var(--ink-3); }
.player__dots { display: flex; gap: 6px; }
.player__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.player__course { margin-inline-start: auto; display: inline-flex; gap: 8px; align-items: center; }
.player__screen { position: relative; aspect-ratio: 16 / 9.4; border-radius: 18px; overflow: hidden; background: linear-gradient(145deg, #0A4D4A, #06292B 60%, #0C3B3A); color: #E6F6F2; isolation: isolate; }
.player__scene { position: absolute; inset: 0; }
.player__scene svg { width: 100%; height: 100%; }
.scene-draw { stroke-dasharray: 600; stroke-dashoffset: 600; }
.player.is-playing .scene-draw { animation: draw 7s linear forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.player__card { position: absolute; inset-inline: 7%; bottom: 12%; background: color-mix(in srgb, #FFFFFF 94%, transparent); color: #07292B; border-radius: 16px; padding: 16px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.35); transform: translateY(24px) scale(.96); opacity: 0; pointer-events: none; transition: .45s var(--ease); z-index: 3; }
.player__card.is-on { transform: none; opacity: 1; pointer-events: auto; }
.player__card h4 { margin: 0 0 10px; font-size: .98rem; display: flex; gap: 8px; align-items: center; }
.player__card h4 .badge { font-size: .68rem; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { text-align: start; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #D3E3DF; background: #F6FAF9; font-size: .9rem; font-weight: 600; color: #07292B; transition: .2s; }
.opt:hover { border-color: #0A7C71; }
.opt.is-right { background: #DDF5E8; border-color: var(--ok); }
.opt.is-wrong { background: #FCE3E3; border-color: var(--bad); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.player__feedback { margin-top: 10px; font-size: .85rem; font-weight: 600; min-height: 1.4em; }
.player__play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: var(--saffron); color: #2A1B00; border: 0; display: grid; place-items: center; z-index: 4; transition: transform .3s var(--ease), opacity .3s; box-shadow: 0 0 0 12px rgba(242,165,22,.22); }
.player__play svg { width: 30px; height: 30px; margin-inline-start: 4px; }
.player.is-playing .player__play { opacity: 0; transform: scale(.6); pointer-events: none; }
.player__hud { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 8px; z-index: 2; }
.chip { display: inline-flex; gap: 6px; align-items: center; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: #FF5A5A; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.timeline { position: relative; margin: 16px 6px 4px; height: 26px; }
.timeline__track { position: absolute; inset-inline: 0; top: 11px; height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.timeline__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 4px; }
.timeline__node { position: absolute; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--saffron); transform: translateX(-50%); transition: .3s var(--ease); }
[dir="rtl"] .timeline__node { transform: translateX(50%); }
.timeline__node.is-done { background: var(--saffron); }
.timeline__node.is-active { box-shadow: 0 0 0 6px rgba(242,165,22,.3); }
.timeline__node--q { border-color: var(--brand); }
.timeline__node--q.is-done { background: var(--brand); }
.player__meta { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 2px; font-size: .82rem; color: var(--ink-3); gap: 10px; flex-wrap: wrap; }
.ring { --p: 0; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--surface-3) 0); display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: var(--ink); position: relative; }
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface); }
.ring b { position: relative; }
.player__stat { display: flex; gap: 10px; align-items: center; }
.cert { position: absolute; inset-inline-end: -18px; top: -26px; width: 170px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-2); transform: translateY(20px) rotate(4deg) scale(.9); opacity: 0; transition: .7s var(--ease); z-index: 5; font-size: .78rem; }
[dir="rtl"] .cert { transform: translateY(20px) rotate(-4deg) scale(.9); }
.cert.is-on { opacity: 1; transform: rotate(4deg); }
[dir="rtl"] .cert.is-on { transform: rotate(-4deg); }
.cert__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cert__seal { width: 30px; height: 30px; border-radius: 50%; background: var(--saffron); display: grid; place-items: center; color: #2A1B00; }
.cert__seal svg { width: 16px; height: 16px; }
.cert strong { display: block; margin: 8px 0 2px; font-size: .86rem; }
.cert__qr { width: 38px; height: 38px; margin-top: 6px; background: repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 8px 8px; border-radius: 4px; opacity: .85; }
.float-note { position: absolute; inset-inline-start: -26px; bottom: 60px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-2); font-size: .8rem; display: flex; gap: 10px; align-items: center; z-index: 5; animation: bob 5s ease-in-out infinite; }
.float-note b { display: block; font-size: 1rem; color: var(--brand); }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 640px) { .cert { inset-inline-end: 6px; top: -34px; width: 140px; } .float-note { display: none; } .opts { grid-template-columns: 1fr; } .player__card { padding: 12px; bottom: 6%; } }

/* ---------- Logos marquee ---------- */
.logos { padding-block: 34px; border-block: 1px solid var(--line); }
.logos__title { text-align: center; color: var(--ink-3); font-size: .92rem; margin-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.cust { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 64px; padding-inline: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; color: var(--ink-2); font-size: 1rem; white-space: nowrap; }
.cust img { max-height: 38px; width: auto; filter: grayscale(1); opacity: .8; transition: .3s; }
.cust:hover img { filter: none; opacity: 1; }
.cust__mono { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: .95rem; }
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-wall .cust { height: 96px; justify-content: center; flex-direction: column; gap: 6px; font-size: .95rem; }
.logo-wall .cust small { font-weight: 500; font-size: .75rem; color: var(--ink-3); }
@media (max-width: 760px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards / tiles ---------- */
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); position: relative; transition: border-color .3s, transform .3s var(--ease); }
a.tile:hover, .tile--hover:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-3px); }
.tile h3 { margin-block: 14px 8px; }
.tile p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-soft); color: var(--brand); flex: none; }
.ic svg { width: 24px; height: 24px; }
.ic--gold { background: var(--saffron-soft); color: var(--saffron-ink); }
html[data-theme="dark"] .ic--gold { color: var(--saffron); }
.ic--sm { width: 38px; height: 38px; border-radius: 11px; }
.ic--sm svg { width: 20px; height: 20px; }

/* pains (problem) */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.pain { padding: clamp(24px, 3vw, 38px); border-inline-end: 1px solid var(--line); }
.pain:last-child { border-inline-end: 0; }
.pain__q { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; line-height: 1.5; }
.pain__num { font-size: 2.6rem; font-weight: 800; color: var(--bad); line-height: 1; margin-bottom: 14px; opacity: .85; }
@media (max-width: 860px) { .pains { grid-template-columns: 1fr; } .pain { border-inline-end: 0; border-bottom: 1px solid var(--line); } }

/* products duo */
.duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.prod { border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 46px); position: relative; overflow: hidden; min-height: 400px; display: flex; flex-direction: column; }
.prod--lms { background: linear-gradient(160deg, #0A7C71, #07393A); color: #EAF8F5; }
.prod--live { background: var(--saffron-soft); color: var(--ink); }
html[data-theme="dark"] .prod--live { background: #2B2109; }
.prod > .badge { align-self: flex-start; }
.prod h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 18px 0 10px; }
.prod p { opacity: .88; max-width: 44ch; }
.prod ul { list-style: none; padding: 0; margin: 12px 0 26px; display: grid; gap: 8px; }
.prod li { display: flex; gap: 10px; align-items: flex-start; }
.prod li svg { width: 20px; height: 20px; flex: none; margin-top: 4px; }
.prod .row { margin-top: auto; }
.prod--lms .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.prod__art { position: absolute; inset-inline-end: -40px; bottom: -40px; width: 260px; opacity: .16; pointer-events: none; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento .b-wide { grid-column: span 4; }
.bento .b-tall { grid-row: span 2; }
.bento .b-half { grid-column: span 3; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento > *, .bento .b-wide, .bento .b-half { grid-column: span 1; } .bento .b-wide { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento .b-wide { grid-column: span 1; } .bento .b-tall { grid-row: auto; } }
.bento .tile { overflow: hidden; display: flex; flex-direction: column; }
.mini-ui { margin-top: auto; padding-top: 18px; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.mini-bars i { flex: 1; background: var(--brand-soft); border-radius: 6px 6px 2px 2px; height: var(--h); transition: height 1s var(--ease); }
.mini-bars i:nth-child(3n) { background: var(--brand); }
.mini-list { display: grid; gap: 8px; }
.mini-list div { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: var(--surface-2); border-radius: 10px; font-size: .86rem; font-weight: 600; }
.pill { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.pill--gold { background: var(--saffron-soft); color: var(--saffron-ink); }
html[data-theme="dark"] .pill--gold { color: var(--saffron); }
.pill--bad { background: #FCE3E3; color: #A12E2E; }
.mini-phone { width: 150px; margin: 12px auto 0; aspect-ratio: 9/17; border-radius: 26px; border: 6px solid var(--ink); background: var(--surface-2); padding: 12px 8px; display: grid; gap: 7px; align-content: start; }
.mini-phone i { display: block; height: 22px; border-radius: 7px; background: var(--surface); }
.mini-phone i:first-child { height: 60px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

/* steps (real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; inset-inline: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding-inline: 10px; }
.step__n { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; position: relative; z-index: 1; }
.step p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 22px; text-align: center; border-inline-end: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat b { display: block; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; color: var(--brand); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border: 0; } }

/* tabs */
.tabs__list { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--surface-2); border-radius: 999px; margin-bottom: 28px; }
.tabs__btn { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; color: var(--ink-2); transition: .25s; }
.tabs__btn[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fadein .45s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } }

/* checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 3px; }
.checks--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .checks--2 { grid-template-columns: 1fr; } }

/* brand switcher */
.brandlab { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .brandlab { grid-template-columns: 1fr; } }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.swatch { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line); background: var(--c); transition: transform .2s; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); transform: scale(1.08); }
.appmock { --acc: #0A7C71; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-2); overflow: hidden; }
.appmock__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--acc); color: #fff; transition: background .5s; }
.appmock__logo { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-weight: 800; }
.appmock__body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.appmock__side { border-inline-end: 1px solid var(--line); padding: 14px; display: grid; gap: 8px; align-content: start; }
.appmock__side i { display: block; height: 12px; border-radius: 6px; background: var(--surface-3); }
.appmock__side i.on { background: var(--acc); opacity: .7; transition: background .5s; }
.appmock__main { padding: 18px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-content: start; }
.appmock__card { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.appmock__card .th { height: 70px; border-radius: 10px; background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 40%, #fff)); margin-bottom: 10px; transition: background .5s; }
.appmock__card i { display: block; height: 9px; border-radius: 5px; background: var(--surface-3); margin-top: 7px; }
.appmock__card .bar { height: 6px; border-radius: 4px; background: var(--surface-3); margin-top: 10px; overflow: hidden; }
.appmock__card .bar b { display: block; height: 100%; width: 60%; background: var(--acc); transition: background .5s; }
@media (max-width: 560px) { .appmock__body { grid-template-columns: 1fr; } .appmock__side { display: none; } }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.9; }
.quote__who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--brand-soft); color: var(--brand); flex: none; }
.quote__who small { display: block; color: var(--ink-3); }
.placeholder-note { font-size: .75rem; color: var(--saffron-ink); background: var(--saffron-soft); padding: 3px 10px; border-radius: 6px; align-self: flex-start; }
html[data-theme="dark"] .placeholder-note { color: var(--saffron); }

/* objection block */
.worry { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.worry__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; }
.worry__q { display: flex; gap: 12px; font-weight: 800; margin-bottom: 8px; }
.worry__q::before { content: "؟"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--saffron-soft); color: var(--saffron-ink); font-size: 1rem; }
html[dir="ltr"] .worry__q::before { content: "?"; }
.worry__a { color: var(--ink-2); padding-inline-start: 42px; font-size: .97rem; }
@media (max-width: 760px) { .worry { grid-template-columns: 1fr; } }

/* accordion */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-weight: 700; font-size: 1.06rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .plus { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--surface-2); position: relative; transition: transform .3s var(--ease), background .3s; }
.acc summary .plus::before, .acc summary .plus::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; }
.acc summary .plus::after { transform: rotate(90deg); transition: transform .3s; }
.acc details[open] summary .plus { background: var(--brand); transform: rotate(180deg); }
.acc details[open] summary .plus::before, .acc details[open] summary .plus::after { background: #fff; }
.acc details[open] summary .plus::after { transform: rotate(0); }
.acc__body { padding: 0 4px 24px; color: var(--ink-2); max-width: 75ch; }
.acc__body p:last-child { margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); background: #06282A; color: #E6F6F2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #A9C9C4; margin: 0; }
.cta-band .row { justify-content: flex-end; }
.cta-band__rail { position: absolute; inset-inline: 0; bottom: 28px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 10px, transparent 10px 18px); }
.cta-band__rail i { position: absolute; top: -6px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--saffron); background: #06282A; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .row { justify-content: flex-start; } }

/* ---------- Pinned showcase (interactive video scroll story) ---------- */
.showcase { position: relative; }
.showcase__pin { position: sticky; top: calc(var(--header-h) + 20px); }
.showcase__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; }
.showcase__steps { display: grid; gap: 40vh; padding-block: 10vh 30vh; }
.sc-step { opacity: .3; transition: opacity .4s; max-width: 46ch; }
.sc-step.is-active { opacity: 1; }
.sc-step .ic { margin-bottom: 14px; }
.sc-step p { color: var(--ink-2); }
.sc-stage { position: relative; }
.sc-layer { position: absolute; inset: 0; opacity: 0; transform: scale(.97); transition: .5s var(--ease); display: grid; place-items: center; }
.sc-layer.is-active { opacity: 1; transform: none; }
.sc-frame { aspect-ratio: 16/10; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
@media (max-width: 900px) {
  .showcase__grid { grid-template-columns: 1fr; }
  .showcase__pin { top: calc(var(--header-h) + 8px); z-index: 2; }
  .showcase__steps { gap: 30vh; padding-block: 4vh 20vh; }
  .sc-step { background: var(--paper); padding: 16px; border-radius: 16px; }
}
.drop-chart { width: 100%; height: 100%; }
.drop-chart path.line { fill: none; stroke: var(--brand); stroke-width: 3; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s var(--ease); }
.is-active .drop-chart path.line, .is-drawn .drop-chart path.line { stroke-dashoffset: 0; }
.drop-chart path.area { fill: url(#gArea); opacity: 0; transition: opacity 1.2s .6s; }
.is-active .drop-chart path.area, .is-drawn .drop-chart path.area { opacity: 1; }
.heat { display: flex; height: 36px; border-radius: 8px; overflow: hidden; }
.heat i { flex: 1; background: var(--saffron); opacity: var(--o); }

/* branching visual */
.branch { width: 100%; height: 100%; }
.branch path { fill: none; stroke: var(--line); stroke-width: 3; }
.branch .hot { stroke: var(--brand); stroke-dasharray: 8 8; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }

/* ---------- Pricing ---------- */
.billing { display: inline-flex; align-items: center; gap: 12px; padding: 6px; border-radius: 999px; background: var(--surface-2); margin-bottom: 36px; }
.billing button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; color: var(--ink-2); }
.billing button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.billing .badge { margin-inline-start: 6px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans, .plans--3 { grid-template-columns: 1fr; } }
@media (max-width: 1080px) and (min-width: 641px) { .plans--3 { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 24px; display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.plan--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-2); }
.plan--featured::before { content: attr(data-flag); position: absolute; top: -14px; inset-inline-start: 24px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.plan__name { font-size: 1.25rem; font-weight: 800; margin: 0; }
.plan__for { color: var(--ink-2); font-size: .92rem; margin: 6px 0 20px; min-height: 3.2em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.plan__price b { font-size: 2.4rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--ink-2); font-size: .92rem; }
.plan__from { font-size: .82rem; color: var(--ink-3); min-height: 1.3em; }
.plan__note { font-size: .82rem; color: var(--ink-3); margin: 6px 0 20px; min-height: 1.3em; }
.plan .checks { font-size: .94rem; gap: 10px; margin: 20px 0 26px; }
.plan .checks svg { width: 19px; height: 19px; }
.plan .btn { margin-top: auto; }
.plan__custom { font-size: 1.8rem; font-weight: 800; line-height: 1.2; }
.plan__price .plan__soon { display: inline-flex; align-items: center; align-self: center; padding: 8px 18px; border-radius: 999px; background: var(--saffron-soft); color: var(--saffron-ink); font-size: 1rem; font-weight: 700; line-height: 1.5; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.cmp th, .cmp td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: start; font-weight: 600; }
.cmp thead th { position: sticky; top: var(--header-h); background: var(--paper); z-index: 2; font-size: 1rem; }
.cmp tbody tr:hover td { background: var(--surface-2); }
.cmp .yes { color: var(--brand); }
.cmp .no { color: var(--ink-3); opacity: .6; }
.cmp .partial { color: var(--saffron-ink); }
html[data-theme="dark"] .cmp .partial { color: var(--saffron); }
.cmp svg { width: 22px; height: 22px; margin-inline: auto; }
.cmp td small { display: block; color: var(--ink-3); font-weight: 400; font-size: .82rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.table-scroll .cmp thead th { background: var(--surface); top: 0; }
.cmp .col-hl { background: color-mix(in srgb, var(--brand) 6%, transparent); }

/* estimator / calculators */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.calc__in { padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 24px; align-content: start; }
.calc__out { padding: clamp(24px, 3.4vw, 40px); background: #06282A; color: #E3F3EF; display: flex; flex-direction: column; gap: 14px; }
.calc__out .muted { color: #A9C9C4; }
.calc__big { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.calc__plan { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--saffron); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field > label, .field__label { font-weight: 700; font-size: .95rem; display: flex; justify-content: space-between; gap: 10px; }
.field output { color: var(--brand); font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(to var(--dir-end, right), var(--brand) var(--v, 30%), var(--surface-3) var(--v, 30%)); outline: none; }
[dir="rtl"] .range { --dir-end: left; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 4px solid var(--brand); box-shadow: var(--shadow-1); cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 4px solid var(--brand); cursor: grab; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.toggle input { appearance: none; width: 46px; height: 26px; border-radius: 99px; background: var(--surface-3); position: relative; flex: none; cursor: pointer; transition: background .25s; }
.toggle input::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: inset-inline-start .25s var(--ease); }
.toggle input:checked { background: var(--brand); }
.toggle input:checked::after { inset-inline-start: 23px; }
.toggle small { display: block; color: var(--ink-3); font-weight: 400; }
.bars2 { display: grid; gap: 14px; }
.bars2 .b { display: grid; gap: 6px; }
.bars2 .b span { display: flex; justify-content: space-between; font-size: .9rem; }
.bars2 .b i { display: block; height: 14px; border-radius: 8px; background: rgba(255,255,255,.12); overflow: hidden; }
.bars2 .b i b { display: block; height: 100%; width: var(--w, 0%); border-radius: 8px; background: var(--saffron); transition: width .8s var(--ease); }
.bars2 .b.us i b { background: var(--brand-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.input, .select, .textarea { width: 100%; padding: 14px 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.textarea { min-height: 120px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--bad); }
.form__err { color: var(--bad); font-size: .85rem; min-height: 1em; }
.form__hint { font-size: .85rem; color: var(--ink-3); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-1); }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 70px 30px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.footer h4 { font-size: .95rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); font-size: .95rem; }
.footer ul a:hover { color: var(--brand); }
.footer__about p { color: var(--ink-2); font-size: .95rem; max-width: 36ch; margin: 16px 0; }
.footer__news { display: flex; gap: 8px; margin-top: 12px; max-width: 360px; }
.footer__news .input { padding: 11px 14px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 50px; padding-top: 24px; font-size: .88rem; color: var(--ink-3); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); transition: .2s; }
.socials a:hover { background: var(--brand); color: #fff; }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ---------- Contact widget: Bale / Telegram / WhatsApp (kept .wa-* classes) ---------- */
.wa { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 80; }
.wa__btn { width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--brand); color: var(--paper); display: grid; place-items: center; box-shadow: 0 12px 30px -8px color-mix(in srgb, var(--brand) 60%, transparent); position: relative; transition: transform .3s var(--ease); }
.wa__btn:hover { transform: scale(1.07); }
.wa__btn svg { width: 32px; height: 32px; }
.wa__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.wa__teaser { position: absolute; bottom: 74px; inset-inline-end: 0; width: max-content; max-width: 250px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 12px 38px 12px 16px; box-shadow: var(--shadow-2); font-size: .9rem; font-weight: 600; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .4s var(--ease); }
[dir="rtl"] .wa__teaser { padding: 12px 16px 12px 38px; }
.wa__teaser.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa__teaser button { position: absolute; top: 8px; inset-inline-end: 8px; border: 0; background: none; color: var(--ink-3); width: 24px; height: 24px; }
.wa__panel { position: absolute; bottom: 76px; inset-inline-end: 0; width: min(340px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-2); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97); transform-origin: bottom right; transition: .3s var(--ease); }
.wa.is-open .wa__panel { opacity: 1; visibility: visible; transform: none; }
.wa__head { background: var(--brand); color: var(--paper); padding: 18px 20px; }
.wa__head strong { display: block; font-size: 1.05rem; }
.wa__head small { opacity: .85; }
.wa__online { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; margin-top: 6px; }
.wa__online i { width: 8px; height: 8px; border-radius: 50%; background: var(--paper); }
.wa__body { padding: 14px; display: grid; gap: 10px; }
.wa__opt { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); transition: .2s; }
.wa__opt:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.wa__opt.is-suggested { border-color: var(--brand); }
.wa__opt .ic { background: var(--brand-soft); color: var(--brand); }
.wa__opt strong { display: block; font-size: .95rem; }
.wa__opt small { color: var(--ink-3); direction: ltr; unicode-bidi: isolate; }
.wa__foot { padding: 0 14px 14px; font-size: .78rem; color: var(--ink-3); text-align: center; }
.mbar { display: none; }
@media (max-width: 760px) {
  .wa { bottom: 84px; inset-inline-end: 14px; }
  .wa__btn { width: 56px; height: 56px; }
  .mbar { position: fixed; bottom: 0; inset-inline: 0; z-index: 79; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .75rem; font-weight: 700; padding: 6px; border-radius: 12px; }
  .mbar a svg { width: 22px; height: 22px; }
  .mbar a.mbar__cta { flex-direction: row; justify-content: center; gap: 8px; background: var(--brand); color: #fff; font-size: .9rem; }
  body { padding-bottom: 72px; }
}

/* ---------- Side rail (page timeline) ---------- */
.rail { position: fixed; inset-inline-start: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 14px; }
.rail a { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink-3); background: var(--paper); position: relative; transition: .3s; }
.rail a.is-active { border-color: var(--saffron); background: var(--saffron); transform: scale(1.25); }
.rail a span { position: absolute; inset-inline-start: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .78rem; font-weight: 700; background: var(--ink); color: var(--paper); padding: 4px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: .2s; }
.rail a:hover span { opacity: 1; }
@media (max-width: 1320px) { .rail { display: none; } }

/* ---------- Reveal (used sparingly) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="scale"].is-in { transform: none; }

/* ---------- Content (blog/help prose) ---------- */
.prose { font-size: 1.06rem; line-height: calc(var(--lh) + .05); }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose p, .prose ul, .prose ol { margin-block: 0 1.1em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.prose img { border-radius: var(--r-md); border: 1px solid var(--line); margin-block: 1.4em; }
.prose code { background: var(--surface-2); padding: 2px 7px; border-radius: 6px; font-size: .9em; }
.prose pre.code { background: #06282A; color: #D9F1EC; padding: 18px; border-radius: var(--r-md); overflow-x: auto; font-size: .9rem; line-height: 1.7; text-align: left; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 22px; border-inline-start: 4px solid var(--saffron); color: var(--ink-2); font-size: 1.1rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose mark { background: var(--saffron-soft); color: inherit; padding: 0 4px; border-radius: 4px; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; }
.prose th { background: var(--surface-2); }
.prose li.task { list-style: none; margin-inline-start: -1.4em; display: flex; gap: 10px; }
.prose li.task::before { content: ""; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); flex: none; margin-top: 5px; }
.prose li.task.done::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--brand); }
.callout { border-radius: var(--r-md); padding: 16px 20px; margin: 1.5em 0; background: var(--brand-soft); border-inline-start: 4px solid var(--brand); }
.callout p:last-child { margin: 0; }
.callout__title { font-weight: 800; margin-bottom: 6px !important; }
.callout--warning, .callout--important { background: var(--saffron-soft); border-color: var(--saffron); }
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr) 220px; gap: 44px; align-items: start; }
.doc-side, .doc-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; font-size: .93rem; }
.doc-side h5 { font-size: .85rem; color: var(--ink-3); margin: 18px 0 8px; font-weight: 700; }
.doc-side a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--ink-2); }
.doc-side a:hover { background: var(--surface-2); }
.doc-side a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.doc-toc a { display: block; padding: 5px 12px; color: var(--ink-3); border-inline-start: 2px solid var(--line); }
.doc-toc a.lvl3 { padding-inline-start: 24px; font-size: .88rem; }
.doc-toc a.is-active { color: var(--brand); border-color: var(--brand); }
.doc-toc h5 { font-size: .85rem; margin: 0 0 10px; }
@media (max-width: 1180px) { .doc-layout { grid-template-columns: 240px minmax(0, 1fr); } .doc-toc { display: none; } }
@media (max-width: 860px) { .doc-layout { grid-template-columns: 1fr; } .doc-side { position: static; max-height: none; } .doc-side details:not([open]) > :not(summary) { display: none; } }
.doc-side summary { display: none; }
@media (max-width: 860px) { .doc-side summary { display: flex; justify-content: space-between; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 700; cursor: pointer; list-style: none; } }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 50px; }
.pager a { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; transition: .2s; }
.pager a:hover { border-color: var(--brand); }
.pager small { color: var(--ink-3); display: block; }
.pager a:last-child:not(:first-child) { text-align: end; }
.helpful { margin-top: 40px; padding: 22px; border-radius: var(--r-lg); background: var(--surface-2); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.search { position: relative; max-width: 640px; }
.search .input { padding-inline-start: 52px; height: 60px; border-radius: 999px; font-size: 1.05rem; box-shadow: var(--shadow-1); }
.search > svg { position: absolute; inset-inline-start: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--ink-3); pointer-events: none; }
.search__res { position: absolute; top: calc(100% + 8px); inset-inline: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 8px; display: none; z-index: 20; max-height: 60vh; overflow-y: auto; text-align: start; }
.search__res.is-on { display: block; }
.search__res a { display: block; padding: 12px 14px; border-radius: 12px; }
.search__res a:hover, .search__res a.is-focus { background: var(--surface-2); }
.search__res small { display: block; color: var(--ink-3); }
.search__res .empty { padding: 14px; color: var(--ink-3); }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.post-card__cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--brand), #06282A); position: relative; overflow: hidden; }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__cover svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__body h3 { margin: 0; font-size: 1.15rem; line-height: 1.6; }
.post-card__body p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--ink-3); font-size: .85rem; margin-top: auto; padding-top: 10px; }
.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-bar a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.cat-bar a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.read-bar { position: fixed; top: var(--header-h); inset-inline: 0; height: 3px; z-index: 55; }
.read-bar span { display: block; height: 100%; background: var(--saffron); width: 0; }
.inline-cta { margin: 2.5em 0; padding: 26px; border-radius: var(--r-lg); background: #06282A; color: #E3F3EF; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.inline-cta strong { font-size: 1.15rem; display: block; }
.inline-cta p { margin: 4px 0 0; color: #A9C9C4; font-size: .95rem; }
.fallback-note { font-size: .88rem; padding: 12px 16px; background: var(--saffron-soft); border-radius: var(--r-md); margin-bottom: 24px; }

/* ---------- Compare page ---------- */
.verdict { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .verdict { grid-template-columns: 1fr; } }
.cmp-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cmp-filter .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-filter .chips button { border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; }
.cmp-filter .chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cmp tr.cat-row td { background: var(--surface-2); font-weight: 800; text-align: start; font-size: .9rem; color: var(--ink-2); }
.cmp tr.is-hidden { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: .88rem; color: var(--ink-2); margin-top: 14px; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend svg { width: 18px; height: 18px; }

/* migration stage */
.migrate { position: relative; background: #06282A; color: #E3F3EF; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 50px); overflow: hidden; }
.migrate__stage { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 10px; align-items: center; min-height: 320px; }
.mig-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 18px; }
.mig-box h4 { color: #fff; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.mig-box .ic { background: rgba(255,255,255,.1); color: #fff; }
.mig-item { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; font-size: .88rem; background: rgba(255,255,255,.05); margin-top: 6px; }
.mig-item b { font-variant-numeric: tabular-nums; color: var(--saffron); }
.mig-box--to .mig-item b { color: #4FDCC7; }
.mig-pipe { position: relative; height: 240px; }
.mig-pipe svg { width: 100%; height: 100%; overflow: visible; }
.mig-pipe path { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 2; stroke-dasharray: 6 8; }
.mig-dot { position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 3px; background: var(--saffron); offset-rotate: 0deg; animation: flow 3.2s linear infinite; opacity: 0; }
@keyframes flow { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.migrate:not(.is-running) .mig-dot { animation-play-state: paused; }
.mig-plug { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 24px; background: var(--saffron); color: #2A1B00; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(242,165,22,.18), 0 0 60px rgba(242,165,22,.4); }
.mig-plug svg { width: 38px; height: 38px; }
.mig-status { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.mig-bar { flex: 1; min-width: 200px; height: 10px; background: rgba(255,255,255,.1); border-radius: 10px; overflow: hidden; }
.mig-bar b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--saffron), #4FDCC7); transition: width .3s linear; }
@media (max-width: 860px) { .migrate__stage { grid-template-columns: 1fr; } .mig-pipe { height: 120px; } .mig-pipe svg { transform: rotate(90deg); } }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .do-dont { grid-template-columns: 1fr; } }
.do-dont .tile h3 { display: flex; gap: 10px; align-items: center; margin-top: 0; }
.checks--no li svg { color: var(--ink-3); }

/* ---------- Day timeline (scenarios) ---------- */
.day { position: relative; display: grid; gap: 22px; padding-inline-start: 38px; }
.day::before { content: ""; position: absolute; inset-inline-start: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.day__fill { position: absolute; inset-inline-start: 11px; top: 8px; width: 2px; height: 0; background: var(--brand); transition: height .2s linear; }
.day__item { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
.day__item::before { content: ""; position: absolute; inset-inline-start: -34px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--line); transition: .3s; }
.day__item.is-in::before { border-color: var(--saffron); background: var(--saffron); }
.day__time { font-weight: 800; color: var(--brand); font-size: .9rem; display: flex; gap: 10px; align-items: center; }
.day__item h4 { margin: 6px 0; }
.day__item p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* features catalog */
.cat-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.cat-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.cat-nav a { padding: 10px 14px; border-radius: 12px; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; }
.cat-nav a.is-active { background: var(--brand-soft); color: var(--brand); }
.feat-group { margin-bottom: 56px; scroll-margin-top: calc(var(--header-h) + 30px); }
.feat-group h2 { font-size: 1.6rem; display: flex; gap: 12px; align-items: center; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.feat strong { display: block; margin-bottom: 4px; }
.feat p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.feat.is-hidden, .feat-group.is-hidden { display: none; }
@media (max-width: 900px) { .cat-layout { grid-template-columns: 1fr; } .cat-nav { position: static; display: flex; overflow-x: auto; } .cat-nav a { white-space: nowrap; } .feat-list { grid-template-columns: 1fr; } }

/* interactions grid */
.ix-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ix { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.ix .ic { margin-bottom: 12px; }
.ix strong { display: block; margin-bottom: 4px; }
.ix p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.ix .pill { margin-top: 10px; display: inline-block; }
@media (max-width: 980px) { .ix-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ix-grid { grid-template-columns: 1fr; } }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.nf__num { font-size: clamp(6rem, 20vw, 14rem); font-weight: 800; line-height: 1; color: var(--brand); position: relative; }
.nf__num svg { position: absolute; inset: 0; margin: auto; width: 60%; }

/* thank you */
.check-anim { width: 110px; height: 110px; margin: 0 auto 24px; }
.check-anim circle { stroke: var(--brand); stroke-width: 4; fill: none; stroke-dasharray: 320; stroke-dashoffset: 320; animation: drawc 1s var(--ease) forwards; }
.check-anim path { stroke: var(--brand); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: drawc .6s .8s var(--ease) forwards; }
@keyframes drawc { to { stroke-dashoffset: 0; } }

/* misc */
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: .2s; }
a.contact-card:hover { border-color: var(--brand); }
.contact-card small { display: block; color: var(--ink-3); }
.contact-card .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.map { aspect-ratio: 16/9; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.map svg { width: 100%; height: 100%; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member { text-align: center; }
.member .avatar { width: 96px; height: 96px; margin: 0 auto 12px; font-size: 1.8rem; }
.member small { color: var(--ink-3); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }
.tl { display: grid; gap: 0; }
.tl__row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.tl__row b { color: var(--brand); font-size: 1.2rem; }
.demo-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .demo-roles { grid-template-columns: 1fr; } }
.cred { font-size: .85rem; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; margin-top: 12px; direction: ltr; text-align: left; display: grid; gap: 4px; }
.cred button { border: 0; background: none; color: var(--brand); font-weight: 700; font-size: .8rem; justify-self: start; padding: 0; }
.toast { position: fixed; bottom: 24px; inset-inline-start: 50%; transform: translate(-50%, 30px); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-weight: 600; opacity: 0; transition: .3s var(--ease); z-index: 200; pointer-events: none; }
[dir="rtl"] .toast { transform: translate(50%, 30px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
[dir="rtl"] .toast.is-on { transform: translate(50%, 0); }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .addons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .addons { grid-template-columns: 1fr; } }
.addon { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.addon b { color: var(--brand); font-variant-numeric: tabular-nums; }
.addon p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.guarantee { display: flex; gap: 20px; align-items: center; padding: 24px 28px; border-radius: var(--r-lg); border: 1.5px dashed var(--brand); background: var(--brand-soft); }
.guarantee .ic { background: var(--brand); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero h1 .line > span { transform: none; }
}
@media print { .header, .footer, .wa, .mbar, .rail, .progress, .announce { display: none !important; } }

/* ---------- LMS course outline visual ---------- */
.outline { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-2); padding: 20px; }
.outline__head { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.outline__thumb { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; color: #fff; }
.outline__thumb svg { width: 28px; height: 28px; }
.outline__head small { color: var(--ink-3); display: block; }
.outline__row { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; font-size: .92rem; font-weight: 600; }
.outline__row:nth-child(odd) { background: var(--surface-2); }
.outline__row .ic { width: 34px; height: 34px; border-radius: 10px; }
.outline__row .ic svg { width: 18px; height: 18px; }
.outline__row .pill { margin-inline-start: auto; }
.outline__row.is-locked { opacity: .6; }
.outline__progress { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--ink-2); }
.outline__progress i { flex: 1; height: 8px; border-radius: 8px; background: var(--surface-3); overflow: hidden; }
.outline__progress i b { display: block; height: 100%; width: 64%; background: var(--brand); border-radius: 8px; }

/* ---------- Live class visual ---------- */
.liveroom { background: #0B1F21; border-radius: var(--r-xl); padding: 14px; box-shadow: var(--shadow-2); color: #E3F3EF; }
.liveroom__main { display: grid; grid-template-columns: 1fr 160px; gap: 10px; }
.liveroom__board { aspect-ratio: 16/10; border-radius: 14px; background: #F7FBFA; position: relative; overflow: hidden; }
.liveroom__board svg { width: 100%; height: 100%; }
.liveroom__tiles { display: grid; gap: 8px; align-content: start; }
.liveroom__tile { aspect-ratio: 16/11; border-radius: 12px; background: linear-gradient(135deg, #16464A, #0E2F32); position: relative; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.liveroom__tile.is-speaking { box-shadow: 0 0 0 3px var(--saffron); }
.liveroom__tile small { position: absolute; bottom: 6px; inset-inline-start: 8px; font-size: .68rem; font-weight: 600; opacity: .85; }
.liveroom__bar { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.liveroom__bar span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.liveroom__bar span svg { width: 19px; height: 19px; }
.liveroom__bar span.end { background: #D64545; width: 56px; border-radius: 20px; }
.liveroom__poll { position: absolute; inset-inline-end: 12px; bottom: 12px; background: #fff; color: #07292B; border-radius: 12px; padding: 10px 12px; font-size: .75rem; width: 46%; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.liveroom__poll b { display: block; margin-bottom: 6px; }
.liveroom__poll i { display: block; height: 6px; border-radius: 4px; background: #D2EEE9; margin: 4px 0 6px; overflow: hidden; }
.liveroom__poll i u { display: block; height: 100%; background: #0A7C71; }
@media (max-width: 560px) { .liveroom__main { grid-template-columns: 1fr; } .liveroom__tiles { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Security ---------- */
.deploy { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .deploy { grid-template-columns: 1fr; } }
.deploy .tile { padding: 32px; }
.deploy .tile h3 { font-size: 1.5rem; }
.layers-vis { display: grid; gap: 10px; }
.layers-vis div { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.layers-vis div:nth-child(2) { margin-inline: 18px; }
.layers-vis div:nth-child(3) { margin-inline: 36px; }
.layers-vis div:nth-child(4) { margin-inline: 54px; background: var(--brand); color: #fff; border-color: var(--brand); }
.layers-vis div:nth-child(4) .ic { background: rgba(255,255,255,.2); color: #fff; }
.plan--featured:not([data-flag])::before { display: none; }
@media (max-width: 760px) { .wa__btn, .wa__teaser { display: none; } .wa__panel { bottom: 0; } }

/* ---------- Partners ---------- */
.earn { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-2); padding: 22px; }
.earn__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.earn__total { font-size: 2.2rem; font-weight: 800; color: var(--brand); line-height: 1.1; font-variant-numeric: tabular-nums; }
.earn__bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin: 10px 0 18px; }
.earn__bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--brand-soft); height: var(--h); transform-origin: bottom; animation: grow 1.2s var(--ease) both; animation-delay: var(--d); }
.earn__bars i:last-child { background: linear-gradient(180deg, var(--saffron), var(--brand)); }
@keyframes grow { from { transform: scaleY(0); } }
.earn__row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: .9rem; }
.earn__row:nth-child(odd) { background: var(--surface-2); }
.earn__row b { margin-inline-start: auto; font-variant-numeric: tabular-nums; color: var(--ink); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; position: relative; overflow: hidden; }
.tier:nth-child(1) { min-height: 250px; } .tier:nth-child(2) { min-height: 290px; } .tier:nth-child(3) { min-height: 330px; border: 2px solid var(--brand); }
@media (max-width: 860px) { .tier:nth-child(n) { min-height: 0; } }
.tier__label { font-weight: 700; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.tier__buy { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: var(--brand); line-height: 1.1; margin: 16px 0 2px; font-variant-numeric: tabular-nums; }
.tier__renew { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; padding: 8px 14px; border-radius: 999px; background: var(--saffron-soft); color: var(--saffron-ink); font-weight: 700; font-size: .92rem; }
html[data-theme="dark"] .tier__renew { color: var(--saffron); }
.tier__step { position: absolute; inset-inline-end: -10px; bottom: -14px; font-size: 7rem; font-weight: 800; line-height: 1; color: var(--brand); opacity: .07; }
.partner-band { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); background: linear-gradient(120deg, var(--saffron-soft), var(--brand-soft)); border: 1px solid var(--line); }
.partner-band h3 { margin: 6px 0 4px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.partner-band p { margin: 0; color: var(--ink-2); }
.partner-band__pct { width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.6rem; font-weight: 800; box-shadow: var(--shadow-2); }
@media (max-width: 760px) { .partner-band { grid-template-columns: 1fr; } .partner-band__pct { width: 64px; height: 64px; font-size: 1.2rem; border-radius: 18px; } }
.pcalc .field select { width: 100%; }
.pcalc__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .pcalc__grid { grid-template-columns: 1fr; } }
.pcalc h4 { margin: 0; display: flex; gap: 10px; align-items: center; }
.pcalc .num { width: 100%; }
.nav__link--hl { color: var(--brand); }

/* mobile fixes */
.steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .steps--4 { grid-template-columns: 1fr; } }
.logo-wall .cust { white-space: normal; text-align: center; min-width: 0; }
.logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================
   Editions, pricing & school page (2026-10 relaunch)
   ========================================================= */
.duo--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .duo--even { grid-template-columns: 1fr; } }
.prod h3 { display: flex; align-items: center; gap: 12px; }
.prod__ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.14); }
.prod--live .prod__ic { background: var(--surface); color: var(--saffron-ink); }
html[data-theme="dark"] .prod--live .prod__ic { color: var(--saffron); background: rgba(255,255,255,.06); }
.prod__ic svg { width: 24px; height: 24px; }
.prod p.prod__price { font-weight: 800; font-size: 1.05rem; opacity: 1; margin: 0 0 18px; }
.prod--lms .prod__price { color: var(--saffron); }
.prod--live .prod__price { color: var(--brand); }
.pill--live { background: #FCE3E3; color: #A12E2E; display: inline-flex; align-items: center; gap: 6px; }
.pill--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse-dot 1.4s ease-in-out infinite; }
html[data-theme="dark"] .pill--live, html[data-theme="dark"] .pill--bad { background: #3B1515; color: #FF9C9C; }
@keyframes pulse-dot { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .pill--live::before { animation: none; } }
.today { position: relative; }
.today .float-note { top: -24px; bottom: auto; inset-inline-start: auto; inset-inline-end: -18px; }

/* home: pricing teaser */
.pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pcards { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow-1); }
.pcard--hl { border: 2px solid var(--brand); }
.pcard__ed { font-size: .78rem; font-weight: 700; color: var(--ink-3); }
.pcard strong { font-size: 1.15rem; }
.pcard__price { margin-top: 10px; color: var(--ink-2); font-weight: 600; }
.pcard__price b { font-size: 1.9rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.pcard small { color: var(--ink-3); }
.pcard__what { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--ink-2); }

/* pricing page */
.ed-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 780px; margin-inline: auto; }
@media (max-width: 600px) { .ed-switch { grid-template-columns: 1fr; } }
.ed-switch__item { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.ed-switch__item:hover { border-color: var(--brand); transform: translateY(-2px); }
.ed-switch__item small { display: block; color: var(--ink-3); font-size: .86rem; }
.plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
@media (max-width: 1080px) and (min-width: 641px) { .plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans--2 { grid-template-columns: 1fr; } }
@media (max-width: 1080px) and (min-width: 641px) { .plans--3:has(.plan--addon) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan--addon { background: var(--saffron-soft); border-style: dashed; border-color: color-mix(in srgb, var(--saffron) 60%, var(--line)); }
html[data-theme="dark"] .plan--addon { background: #2B2109; }
.plan--addon > .ic { margin-bottom: 14px; background: var(--surface); color: var(--saffron-ink); }
html[data-theme="dark"] .plan--addon > .ic { color: var(--saffron); }
.tierlist { display: grid; gap: 8px; margin: 6px 0 4px; }
.tierlist div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; }
.tierlist b { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--brand); }
.tile .tierlist div { background: var(--surface-2); }
.qbank-band { display: flex; gap: 20px; align-items: flex-start; margin: 26px auto 0; max-width: 900px; padding: 24px 28px; border-radius: var(--r-lg); border: 1.5px dashed var(--saffron); background: var(--saffron-soft); }
html[data-theme="dark"] .qbank-band { background: #2B2109; }
.qbank-band p { margin: 4px 0 10px; color: var(--ink-2); }
.qbank-band .checks { margin: 0; }
@media (max-width: 600px) { .qbank-band { flex-direction: column; } }
.est-row { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.est-row .calc__big { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.calc .billing button { cursor: pointer; }
.tile .tile__price, .tile__price { margin: 14px 0; font-size: 1.6rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile .tile__price small, .tile__price small { font-size: .9rem; color: var(--ink-3); font-weight: 600; }
.tile.plan--featured[data-flag]::before { content: attr(data-flag); position: absolute; top: -14px; inset-inline-start: 24px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.checks--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
@media (max-width: 600px) { .checks--2 { grid-template-columns: 1fr; } }
.migrate--band { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
@media (max-width: 760px) { .migrate--band { grid-template-columns: 1fr; } }

/* school page: weekly timetable mock */
.tt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-2); padding: 20px; }
.tt__head { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tt__head small { display: block; color: var(--ink-3); }
.tt__grid { display: grid; grid-template-columns: auto repeat(var(--cols), minmax(0, 1fr)); gap: 6px; font-size: .8rem; }
.tt__grid b { text-align: center; color: var(--ink-2); font-weight: 700; padding-bottom: 4px; }
.tt__bell { color: var(--ink-3); font-weight: 700; align-self: center; padding-inline-end: 4px; white-space: nowrap; }
.tt__c { font-style: normal; text-align: center; padding: 9px 4px; border-radius: 10px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt__c--a { background: var(--brand-soft); color: var(--brand); }
.tt__c--b { background: var(--saffron-soft); color: var(--saffron-ink); }
html[data-theme="dark"] .tt__c--b { color: var(--saffron); }
.tt__c--c { background: var(--surface-2); color: var(--ink-2); }
.tt__c--live { background: #FCE3E3; color: #A12E2E; }
html[data-theme="dark"] .tt__c--live { background: #3B1515; color: #FF9C9C; }
.tt__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.plan__price .plan__custom { font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
