/* ==========================================================================
   Orbit marketing site — design system
   Light, warm "paper" base with deep-ink dark sections and an emerald brand.
   Every spacing/alignment rule uses logical properties so Urdu/Sindhi (RTL)
   mirror correctly without a separate stylesheet.
   ========================================================================== */

:root {
  --bg: #f7f6f2;
  --bg-2: #efede6;
  --surface: #ffffff;
  --ink: #0b1324;
  --ink-2: #33405a;
  --muted: #69748a;
  --line: #e4e1d8;
  --line-2: #d6d2c6;

  --brand: #0c7a64;
  --brand-2: #10a07f;
  --brand-3: #3ddc97;
  --brand-soft: #e2f3ec;
  --brand-ink: #064b3d;

  --accent: #f2a93b;
  --accent-soft: #fdf1dc;
  --violet: #5b5bd6;
  --violet-soft: #ecebfd;
  --rose: #e5566d;
  --rose-soft: #fde8eb;
  --sky: #2f8fe0;
  --sky-soft: #e3f0fc;

  --dark: #0a1120;
  --dark-2: #111b30;
  --dark-3: #1a2640;
  --dark-line: #24324f;
  --dark-text: #c7d0e0;

  --live: #0f9b7a;
  --beta: #c9820a;
  --soon: #7a8499;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;

  --shadow-s: 0 1px 2px rgba(11, 19, 36, .06), 0 2px 8px rgba(11, 19, 36, .04);
  --shadow: 0 2px 4px rgba(11, 19, 36, .04), 0 12px 32px rgba(11, 19, 36, .08);
  --shadow-l: 0 4px 10px rgba(11, 19, 36, .05), 0 30px 80px rgba(11, 19, 36, .14);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  /* Latin first: Jakarta has no Arabic glyphs, so Urdu/Sindhi letters fall through to Noto while
     English words, numbers and emails inside Urdu/Sindhi text stay in the brand font. */
  --font-ur: "Plus Jakarta Sans", "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif;
  --font-sd: "Plus Jakarta Sans", "Noto Naskh Arabic", "Noto Nastaliq Urdu", serif;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand-3); color: var(--ink); }

:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 750; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
h1 .serif, h2 .serif { color: var(--brand); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-2); line-height: 1.65; max-width: 640px; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- RTL languages ---------- */
html[lang="ur"] body { font-family: var(--font-ur); line-height: 2.15; }
html[lang="sd"] body { font-family: var(--font-sd); line-height: 1.95; }
html[lang="ur"] :is(h1, h2, h3, h4, .eyebrow, .btn, .serif, .lead, p, span, a, li, label, button, input, select, textarea, td, th, strong, small),
html[lang="sd"] :is(h1, h2, h3, h4, .eyebrow, .btn, .serif, .lead, p, span, a, li, label, button, input, select, textarea, td, th, strong, small) {
  letter-spacing: 0 !important; text-transform: none !important;
}
html[lang="ur"] :is(h1, h2, h3, h4) { line-height: 1.75; font-weight: 700; }
html[lang="sd"] :is(h1, h2, h3, h4) { line-height: 1.45; font-weight: 700; }
html[lang="ur"] h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
html[lang="ur"] h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
html[lang="sd"] h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
html[lang="sd"] h2 { font-size: clamp(1.8rem, 3.3vw, 2.7rem); }
html[lang="ur"] .serif, html[lang="sd"] .serif { font-family: inherit; font-style: normal; font-weight: 700; }
html[lang="ur"] .eyebrow, html[lang="sd"] .eyebrow { font-size: .92rem; }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
/* Product mock-ups are screenshots of the (English) app: keep them LTR in every language. */
.mock, .mock * { direction: ltr; text-align: left; font-family: var(--font) !important; line-height: 1.4; letter-spacing: normal; }
.mock .num { font-variant-numeric: tabular-nums; }
[dir="rtl"] .mock-rtl, [dir="rtl"] .mock-rtl * { direction: rtl; text-align: right; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  border: 1.5px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font-weight: 650; font-size: .98rem; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11, 19, 36, .16); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }
[dir="rtl"] .btn .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .icon-arrow { transform: scaleX(-1) translateX(3px); }
.btn-brand { --b-bg: var(--brand); --b-bd: var(--brand); }
.btn-brand:hover { --b-bg: var(--brand-ink); --b-bd: var(--brand-ink); box-shadow: 0 12px 28px rgba(12, 122, 100, .3); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2); }
.btn-ghost:hover { --b-bd: var(--ink); box-shadow: none; }
.btn-light { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn-outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { --b-bd: #fff; box-shadow: none; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Badges / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700;
  letter-spacing: .02em; white-space: nowrap; line-height: 1.4;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-live { color: var(--live); background: #def3ec; }
.pill-beta { color: var(--beta); background: var(--accent-soft); }
.pill-soon { color: var(--soon); background: #eceef2; }
.pill-plain::before { display: none; }
html[lang="ur"] .pill, html[lang="sd"] .pill { font-size: .8rem; padding: 2px 10px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(247, 246, 242, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(247, 246, 242, .92); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; flex: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; line-height: 1; margin-top: 3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.main-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background .2s, color .2s; }
.main-nav a:hover { background: rgba(11, 19, 36, .05); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); background: rgba(11, 19, 36, .06); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px;
  background: rgba(11, 19, 36, .05); border: 1px solid var(--line);
}
.lang-switch button {
  border: 0; background: transparent; padding: 5px 11px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; color: var(--muted); line-height: 1.3; transition: background .2s, color .2s;
}
.lang-switch button[lang="ur"] { font-family: var(--font-ur); font-size: .78rem; padding-block: 2px 6px; }
.lang-switch button[lang="sd"] { font-family: var(--font-sd); font-size: .85rem; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.lang-switch button:hover:not([aria-pressed="true"]) { color: var(--ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; background: var(--bg);
  border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; display: none;
  box-shadow: 0 30px 60px rgba(11, 19, 36, .12);
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 4px; font-weight: 650; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; width: 100%; }

@media (max-width: 1020px) {
  .main-nav, .header-actions .btn-demo { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 460px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .brand small { display: none; }
  .brand { font-size: 1.15rem; }
  .brand-mark { width: 30px; height: 30px; }
  .lang-switch button { padding: 5px 8px; font-size: .76rem; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }
.section-alt { background: var(--bg-2); }

.dark { background: var(--dark); color: var(--dark-text); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .eyebrow { color: var(--brand-3); }
.dark .lead { color: var(--dark-text); }
.dark h2 .serif { color: var(--brand-3); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 900px;
  background:
    radial-gradient(600px 380px at 78% 30%, rgba(61, 220, 151, .22), transparent 70%),
    radial-gradient(520px 360px at 12% 10%, rgba(242, 169, 59, .14), transparent 70%),
    radial-gradient(700px 420px at 60% 90%, rgba(91, 91, 214, .10), transparent 70%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11, 19, 36, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 19, 36, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 860px; margin-inline: auto; text-align: center; }
.hero-copy h1 { margin-top: 22px; }
.hero-copy .lead { margin: 24px auto 0; max-width: 680px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-notes { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: .9rem; font-weight: 550; }
.hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes .icon { width: 16px; height: 16px; color: var(--brand); stroke-width: 2.2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); font-size: .88rem; font-weight: 600; color: var(--ink-2);
}
.hero-badge b { background: var(--ink); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
[dir="rtl"] .hero-badge { padding: 6px 6px 6px 14px; }

.hero-visual { position: relative; margin-top: clamp(48px, 7vw, 80px); }
.hero-visual .mock-browser { margin-inline: auto; max-width: 1080px; }
.mock-phone.hero-phone { position: absolute; inset-inline-end: max(0px, calc(50% - 600px)); bottom: -40px; width: 250px; z-index: 2; }
.mock-phone.hero-phone .ph-screen { height: 500px; }
.hero-float {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: var(--shadow-l); padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: .86rem;
}
.hero-float .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.hero-float strong { display: block; font-size: .92rem; }
.hero-float span { color: var(--muted); font-size: .8rem; }
.hero-float-1 { inset-inline-start: max(0px, calc(50% - 600px)); top: 22%; }
.hero-float-2 { inset-inline-start: max(16px, calc(50% - 560px)); bottom: 6%; }

@media (max-width: 1100px) {
  .mock-phone.hero-phone { width: 200px; inset-inline-end: 8px; bottom: -30px; }
  .mock-phone.hero-phone .ph-screen { height: 420px; }
  .hero-float { display: none; }
}
@media (max-width: 720px) {
  .mock-phone.hero-phone { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .55); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding-block: 22px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: .93rem; color: var(--ink-2); }
.trust-item .icon { width: 22px; height: 22px; color: var(--brand); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.stat { background: var(--surface); padding: 28px 26px; }
.stat-num { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-family: var(--font); }
.stat-num em { font-style: normal; color: var(--brand); }
.stat p { margin-top: 10px; color: var(--muted); font-size: .93rem; font-weight: 550; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Outcome cards ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcome {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 30px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.outcome:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.outcome-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; }
.outcome-ic .icon { width: 26px; height: 26px; }
.outcome h3 { margin-bottom: 10px; }
.outcome p { color: var(--ink-2); }
.outcome-before { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-2); font-size: .88rem; color: var(--muted); display: flex; gap: 8px; }
.outcome-before b { color: var(--rose); font-weight: 700; flex: none; }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr; } }

.ic-brand { background: var(--brand-soft); color: var(--brand); }
.ic-amber { background: var(--accent-soft); color: #b8740a; }
.ic-violet { background: var(--violet-soft); color: var(--violet); }
.ic-rose { background: var(--rose-soft); color: var(--rose); }
.ic-sky { background: var(--sky-soft); color: var(--sky); }

/* ---------- Persona tabs ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-s); }
.tab { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 650; color: var(--muted); transition: background .25s, color .25s; display: inline-flex; gap: 8px; align-items: center; }
.tab .icon { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab:hover:not([aria-selected="true"]) { color: var(--ink); }
.tabs-wrap { display: flex; justify-content: center; margin-bottom: 44px; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; animation: panelIn .5s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; }
.panel-copy > p { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; margin-top: 1px; }
.check-list .ck .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.check-list strong { display: block; font-weight: 700; }
.check-list span { color: var(--muted); font-size: .94rem; }
html[lang="ur"] .check-list .ck { margin-top: 10px; }
.panel-visual { position: relative; display: flex; justify-content: center; }
@media (max-width: 900px) {
  .tab-panel.active { grid-template-columns: 1fr; }
  .panel-visual { order: -1; }
}
@media (max-width: 560px) {
  .tabs { border-radius: 20px; width: 100%; }
  .tab { flex: 1 1 auto; justify-content: center; padding: 10px 12px; }
}

/* ---------- Module groups (home preview) ---------- */
.groups { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.group-card {
  grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
/* six cards: 3 + 3 */
.group-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.group-card .gc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.group-card .gc-count { font-size: .82rem; font-weight: 700; color: var(--muted); }
.group-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.group-card li { font-size: .84rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.group-card li.soon { color: var(--soon); border-style: dashed; background: transparent; }
.group-card li.beta::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--beta); }
@media (max-width: 960px) { .groups { grid-template-columns: 1fr 1fr; } .group-card { grid-column: span 1; } }
@media (max-width: 640px) { .groups { grid-template-columns: 1fr; } }
.legend { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 28px; font-size: .88rem; color: var(--muted); }
.legend span { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Language showcase ---------- */
.lang-show { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lang-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; position: relative; overflow: hidden;
}
.lang-card .lc-lang { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-family: var(--font); }
.lang-card .lc-big { margin-top: 18px; font-size: 1.9rem; font-weight: 700; color: var(--ink); line-height: 1.5; }
.lang-card .lc-big[lang="ur"] { font-family: var(--font-ur); line-height: 2.1; font-size: 1.7rem; }
.lang-card .lc-big[lang="sd"] { font-family: var(--font-sd); }
.lang-card .lc-row { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: .95rem; }
.lang-card .lc-row[dir="rtl"] { font-family: var(--font-sd); }
.lang-card .lc-row[lang="ur"] { font-family: var(--font-ur); font-size: .9rem; }
.lang-card .lc-ok { color: var(--live); font-weight: 700; }
.lang-card::after { content: attr(data-glyph); position: absolute; inset-inline-end: -10px; bottom: -40px; font-size: 9rem; font-weight: 800; color: rgba(11, 19, 36, .04); line-height: 1; pointer-events: none; }
@media (max-width: 900px) { .lang-show { grid-template-columns: 1fr; } }

/* ---------- Security (dark) ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius-l); overflow: hidden; }
.sec-item { background: var(--dark-2); padding: 30px; transition: background .3s; }
.sec-item:hover { background: var(--dark-3); }
.sec-item .icon { width: 28px; height: 28px; color: var(--brand-3); }
.sec-item h4 { margin-top: 18px; color: #fff; }
.sec-item p { margin-top: 8px; font-size: .94rem; color: #94a1b8; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-top .section-head { margin-bottom: 0; }
.fbr-badge {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(61, 220, 151, .14), rgba(61, 220, 151, .04)); border: 1px solid rgba(61, 220, 151, .35); color: #fff;
}
[dir="rtl"] .fbr-badge { padding: 14px 14px 14px 20px; }
.fbr-badge .seal { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-3); color: var(--dark); display: grid; place-items: center; flex: none; }
.fbr-badge .seal .icon { width: 24px; height: 24px; stroke-width: 2.2; }
.fbr-badge strong { display: block; font-size: 1.05rem; }
.fbr-badge span { font-size: .84rem; color: #94a1b8; }

/* ---------- Pricing cards ---------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.billing-toggle button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 650; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing-toggle .save { background: var(--brand-3); color: var(--ink); padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.billing-row { display: flex; justify-content: center; margin-bottom: 40px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 32px 28px; transition: transform .3s, box-shadow .3s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { background: var(--dark); color: var(--dark-text); border-color: var(--dark); box-shadow: var(--shadow-l); transform: scale(1.03); z-index: 2; }
.plan.featured:hover { transform: scale(1.03) translateY(-4px); }
.plan.featured h3, .plan.featured .price-big { color: #fff; }
.plan-flag { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--brand-3); color: var(--dark); font-weight: 800; font-size: .76rem; padding: 5px 14px; border-radius: 999px; white-space: nowrap; letter-spacing: .03em; }
[dir="rtl"] .plan-flag { transform: translateX(50%); }
.plan-for { margin-top: 8px; font-size: .93rem; color: var(--muted); min-height: 3em; }
.plan.featured .plan-for { color: #94a1b8; }
.price { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-cur { font-weight: 700; font-size: 1.1rem; }
.price-big { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-family: var(--font); }
.price-was { color: var(--muted); text-decoration: line-through; font-weight: 600; font-size: 1.05rem; }
.price-unit { margin-top: 6px; font-size: .88rem; color: var(--muted); }
.plan.featured .price-unit, .plan.featured .price-was { color: #94a1b8; }
.price-day { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 650; padding: 6px 12px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); align-self: flex-start; }
.plan.featured .price-day { background: rgba(61, 220, 151, .14); color: var(--brand-3); }
.plan .btn { margin-top: 26px; }
.plan-feats { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; font-size: .93rem; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; }
.plan-feats .icon { width: 18px; height: 18px; color: var(--brand); stroke-width: 2.4; margin-top: 3px; flex: none; }
.plan.featured .plan-feats .icon { color: var(--brand-3); }
.plan-feats .incl { font-weight: 700; color: var(--ink); }
.plan.featured .plan-feats .incl { color: #fff; }
.plan-feats li.soon { color: var(--muted); }
.plan-feats li.soon .icon { color: var(--soon); }
.plan-feats .mini { font-size: .7rem; padding: 1px 7px; margin-inline-start: 6px; vertical-align: 1px; }
html[lang="ur"] .plan-feats .icon { margin-top: 12px; }
@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-4px); }
}

.enterprise {
  margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 26px 30px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line);
}
.enterprise h4 { font-size: 1.15rem; }
.enterprise p { color: var(--muted); margin-top: 4px; }

/* ---------- Founding offer ---------- */
.founding {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 56px);
  background: radial-gradient(500px 300px at 85% 0%, rgba(61, 220, 151, .35), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(242, 169, 59, .22), transparent 70%), var(--dark);
  color: var(--dark-text); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.founding h2 { color: #fff; }
.founding h2 .serif { color: var(--brand-3); }
.founding .lead { color: var(--dark-text); margin-top: 16px; }
.seats { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.seat { width: 46px; height: 46px; border-radius: 14px; border: 1.5px dashed rgba(255, 255, 255, .28); display: grid; place-items: center; color: rgba(255, 255, 255, .5); font-weight: 800; font-family: var(--font); }
.seats-note { margin-top: 12px; font-size: .88rem; color: #94a1b8; }
.founding-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-l); padding: 28px; }
.founding-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.founding-card li { display: flex; gap: 12px; color: #fff; font-weight: 600; }
.founding-card li .icon { color: var(--brand-3); stroke-width: 2.4; margin-top: 3px; }
html[lang="ur"] .founding-card li .icon { margin-top: 12px; }
@media (max-width: 900px) { .founding { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.calc-in { padding: clamp(28px, 4vw, 44px); display: grid; gap: 28px; align-content: start; }
.calc-out { padding: clamp(28px, 4vw, 44px); background: var(--dark); color: var(--dark-text); display: flex; flex-direction: column; gap: 22px; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; margin-bottom: 12px; }
.field-label output, .field-label .val { font-family: var(--font); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--brand); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--brand-2) var(--p, 20%), var(--line) var(--p, 20%)); outline: none; }
[dir="rtl"] input[type="range"] { background: linear-gradient(to left, var(--brand-2) var(--p, 20%), var(--line) var(--p, 20%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 8px; font-family: var(--font); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg button { border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 10px 8px; font-weight: 700; transition: border-color .2s, background .2s; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.seg button small { font-weight: 600; color: var(--muted); font-size: .78rem; font-family: var(--font); }
.seg button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.seg.two { grid-template-columns: 1fr 1fr; }
.input-money { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); overflow: hidden; }
.input-money span { padding: 0 14px; font-weight: 700; color: var(--muted); }
.input-money input { border: 0; background: transparent; padding: 12px 14px 12px 0; width: 100%; font-weight: 700; font-size: 1.1rem; outline: none; font-family: var(--font); }
[dir="rtl"] .input-money input { padding: 12px 0 12px 14px; }
.input-money:focus-within { border-color: var(--brand); }
.switch-row { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; }
.switch { width: 46px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; flex: none; transition: background .2s; margin-top: 2px; }
.switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch-row input:checked + .switch { background: var(--brand); }
.switch-row input:checked + .switch::after { inset-inline-start: 23px; }
.switch-row input:focus-visible + .switch { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.switch-row strong { display: block; }
.switch-row span.desc { font-size: .88rem; color: var(--muted); }
.out-main .k { font-size: .9rem; color: #94a1b8; font-weight: 600; }
.out-main .v { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1.1; font-family: var(--font); }
.out-main .sub { font-size: .9rem; color: #94a1b8; margin-top: 4px; }
.out-rows { display: grid; gap: 1px; background: var(--dark-line); border-radius: 14px; overflow: hidden; }
.out-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; background: var(--dark-2); font-size: .93rem; }
.out-row b { color: #fff; font-family: var(--font); font-weight: 750; white-space: nowrap; }
.out-row b.good { color: var(--brand-3); }
.share-meter { height: 10px; border-radius: 999px; background: var(--dark-3); overflow: hidden; margin-top: 10px; }
.share-meter i { display: block; height: 100%; width: 3%; background: linear-gradient(90deg, var(--brand-2), var(--brand-3)); border-radius: inherit; transition: width .5s ease; }
[dir="rtl"] .share-meter i { margin-inline-start: auto; }
.out-note { font-size: .82rem; color: #7f8ca5; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .94rem; }
.compare th, .compare td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); }
.compare thead th { position: sticky; top: 0; background: var(--surface); font-size: 1rem; z-index: 1; }
.compare thead th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 18%; }
.compare tr.grp td { background: var(--bg); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compare td .icon { margin-inline: auto; color: var(--brand); stroke-width: 2.4; }
.compare td .no { color: var(--line-2); font-weight: 700; }
.compare td .txt { font-weight: 700; font-family: var(--font); }
.compare .col-feat { background: rgba(12, 122, 100, .04); }
.compare tbody tr:hover td { background: rgba(11, 19, 36, .02); }

/* ---------- Module explorer ---------- */
.mod-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); padding: 8px 16px; border-radius: 999px; font-weight: 650; font-size: .9rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, background .2s, color .2s; }
.chip .n { font-size: .75rem; font-weight: 800; color: var(--muted); font-family: var(--font); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .n { color: rgba(255, 255, 255, .6); }
.search { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; background: var(--surface); min-width: 260px; }
.search input { border: 0; outline: none; background: transparent; padding: 10px 0; width: 100%; }
.search:focus-within { border-color: var(--brand); }
.search .icon { color: var(--muted); }
.mod-group { margin-bottom: 56px; }
.mod-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.mod-group-head .gi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; }
.mod-group-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.mod-group-head .count { margin-inline-start: auto; color: var(--muted); font-weight: 650; font-size: .9rem; }
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.mod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.mod-card.soon { background: transparent; border-style: dashed; border-color: var(--line-2); }
.mod-card.soon:hover { box-shadow: none; transform: none; }
.mod-card .mc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mod-card .mc-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); color: var(--ink-2); }
.mod-card.live .mc-ic { background: var(--brand-soft); color: var(--brand); }
.mod-card.beta .mc-ic { background: var(--accent-soft); color: #b8740a; }
.mod-card h4 { font-size: 1.02rem; }
.mod-card p { font-size: .9rem; color: var(--muted); }
.mod-card .mc-plan { margin-top: auto; font-size: .78rem; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; padding-top: 4px; }
.mod-card .mc-plan b { color: var(--ink); }
.mod-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
@media (max-width: 960px) { .mod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mod-grid { grid-template-columns: 1fr; } .search { min-width: 0; width: 100%; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin-top: 18px; }
.page-hero .lead { margin-top: 20px; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow-s); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; transition: transform .3s, background .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--brand-soft); color: var(--brand); }
.faq .ans { padding-bottom: 22px; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
  background: var(--brand); color: #fff; text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 15% 0%, rgba(255, 255, 255, .18), transparent 70%), radial-gradient(600px 360px at 100% 100%, rgba(61, 220, 151, .5), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.cta-band h2 .serif { color: #c9ffe6; }
.cta-band p { margin: 18px auto 0; max-width: 560px; color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.cta-band .hero-cta { margin-top: 32px; }
.cta-orbits { position: absolute; inset-inline-end: -120px; top: -120px; width: 420px; height: 420px; opacity: .25; pointer-events: none; }

/* ---------- Demo form ---------- */
.demo-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.demo-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.demo-points li { display: flex; gap: 16px; }
.demo-points .di { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.demo-points strong { display: block; font-size: 1.02rem; }
.demo-points span { color: var(--muted); font-size: .94rem; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px 14px; outline: none;
  transition: border-color .2s, background .2s; font-size: .98rem;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2369748a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 38px; }
[dir="rtl"] .field select { background-position: left 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field .err { display: none; color: var(--rose); font-size: .82rem; margin-top: 6px; font-weight: 600; }
.field.invalid input, .field.invalid select { border-color: var(--rose); }
.field.invalid .err { display: block; }
.form-foot { margin-top: 22px; display: grid; gap: 14px; }
.form-foot small { color: var(--muted); font-size: .84rem; text-align: center; }
.form-fail { color: var(--rose); font-size: .9rem; font-weight: 600; margin: 0 0 10px; }
.form-fail a { color: inherit; text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 20px; }
.form-success .ok .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.form-success p { color: var(--muted); margin-top: 10px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }
@media (max-width: 900px) { .demo-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; margin-inline: auto; }
.legal h2 { font-size: 1.5rem; margin-top: 44px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.draft-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--accent-soft); border: 1px solid #f3d7a6; color: #7a4d06; font-size: .93rem; font-weight: 600; margin-bottom: 32px; }

/* ---------- Footer ---------- */
main { padding-bottom: clamp(64px, 8vw, 104px); }
.site-footer { background: var(--dark); color: #94a1b8; padding-top: 80px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-line); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: #6f7d96; }
.footer-brand p { margin-top: 18px; max-width: 320px; font-size: .94rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer-badges span { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--dark-line); color: #dbe3f0; font-size: .82rem; font-weight: 650; }
.footer-badges .icon { width: 16px; height: 16px; color: var(--brand-3); }
.footer-col h5 { margin: 0 0 16px; color: #fff; font-size: .9rem; font-weight: 700; letter-spacing: .02em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; font-size: .86rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Product mock-ups (HTML/SVG renditions of real Orbit screens)
   ========================================================================== */
.mock-browser {
  border-radius: 18px; background: #fff; border: 1px solid rgba(11, 19, 36, .1);
  box-shadow: 0 1px 1px rgba(11, 19, 36, .04), 0 40px 100px -20px rgba(11, 19, 36, .28), 0 20px 40px -20px rgba(11, 19, 36, .2);
  overflow: hidden; font-size: 13px; color: var(--ink);
}
.mb-bar { height: 40px; background: #f3f2ee; border-bottom: 1px solid #e7e4dc; display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.mb-dot { width: 11px; height: 11px; border-radius: 50%; background: #e0ddd4; }
.mb-dot:nth-child(1) { background: #ff6159; } .mb-dot:nth-child(2) { background: #ffbd2e; } .mb-dot:nth-child(3) { background: #28c941; }
.mb-url { margin-inline: auto; background: #fff; border: 1px solid #e7e4dc; border-radius: 8px; padding: 4px 14px; font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; min-width: 240px; justify-content: center; }
.mb-url .icon { width: 12px; height: 12px; }
.mb-body { display: grid; grid-template-columns: 200px 1fr; min-height: 470px; }
.mb-side { background: #0d1628; color: #9aa6bd; padding: 16px 12px; display: flex; flex-direction: column; gap: 3px; }
.mb-side .sb-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 14px; padding: 4px 8px 16px; }
.mb-side .sb-brand svg { width: 22px; height: 22px; }
.mb-side .sb-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 12.5px; }
.mb-side .sb-item .icon { width: 16px; height: 16px; }
.mb-side .sb-item.on { background: rgba(61, 220, 151, .12); color: #3ddc97; }
.mb-side .sb-sec { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #56637c; padding: 12px 10px 4px; font-weight: 700; }
.mb-main { padding: 18px 22px; background: #f8f8f5; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mb-top h6 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.mb-top .sub { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.mb-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e7e4dc; padding: 5px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.mb-chip .icon { width: 13px; height: 13px; }
.mb-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mb-tile { background: #fff; border: 1px solid #ebe8e0; border-radius: 12px; padding: 12px 14px; }
.mb-tile .k { color: var(--muted); font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.mb-tile .k i { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }
.mb-tile .v { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; }
.mb-tile .d { font-size: 10.5px; font-weight: 700; margin-top: 2px; }
.up { color: #0f9b7a; } .down { color: #e5566d; }
.mb-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.mb-card { background: #fff; border: 1px solid #ebe8e0; border-radius: 12px; padding: 14px; min-width: 0; }
.mb-card h6 { margin: 0 0 10px; font-size: 12.5px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.mb-card h6 span { font-weight: 600; color: var(--muted); font-size: 11px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 6px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars i { width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #3ddc97, #10a07f); display: block; transform-origin: bottom; }
.bars i.lo { background: linear-gradient(180deg, #f6c46f, #f2a93b); }
.bars span { font-size: 10px; color: var(--muted); font-weight: 600; }
.donut-wrap { display: flex; align-items: center; gap: 14px; }
.donut { width: 104px; height: 104px; flex: none; }
.donut-legend { display: grid; gap: 7px; font-size: 11px; }
.donut-legend div { display: flex; align-items: center; gap: 7px; }
.donut-legend i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.donut-legend b { margin-inline-start: auto; padding-inline-start: 8px; }
.att-list { display: grid; gap: 7px; }
.att-item { display: flex; align-items: center; gap: 10px; font-size: 11.5px; padding: 7px 9px; border-radius: 9px; background: #faf9f6; }
.att-item .av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 10px; color: #fff; flex: none; }
.att-item .nm { font-weight: 700; } .att-item .meta { color: var(--muted); font-size: 10.5px; }
.att-item .st { margin-inline-start: auto; font-weight: 700; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; }
.st-ok { background: #def3ec; color: #0f9b7a; } .st-warn { background: #fdf1dc; color: #b8740a; } .st-bad { background: #fde8eb; color: #c63c52; } .st-info { background: #e3f0fc; color: #2a78c0; }

.tbl { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.tbl th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 6px 8px; border-bottom: 1px solid #ebe8e0; }
.tbl td { padding: 9px 8px; border-bottom: 1px solid #f0eee8; font-weight: 600; white-space: nowrap; }
.tbl td .st { font-weight: 700; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; }
.tbl tr:last-child td { border-bottom: 0; }
.progress { height: 8px; border-radius: 999px; background: #eceae3; overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #10a07f, #3ddc97); }

/* Phone */
.mock-phone {
  width: 280px; border-radius: 42px; padding: 10px; background: #0b1324;
  box-shadow: 0 0 0 1.5px #2a3550 inset, 0 40px 80px -20px rgba(11, 19, 36, .45), 0 20px 30px -15px rgba(11, 19, 36, .3);
  position: relative; flex: none;
}
.mock-phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 999px; background: #0b1324; z-index: 3; }
.ph-screen { border-radius: 33px; overflow: hidden; background: #f6f6f3; height: 560px; display: flex; flex-direction: column; font-size: 12px; position: relative; }
.ph-status { height: 44px; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 24px 6px; font-size: 11px; font-weight: 700; flex: none; }
.ph-head { padding: 6px 18px 14px; flex: none; }
.ph-head .hi { color: var(--muted); font-size: 11px; font-weight: 600; }
.ph-head .nm { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.ph-child { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #ebe8e0; border-radius: 14px; padding: 9px 10px; margin-top: 10px; }
.ph-child .av { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, #f6c46f, #f2a93b); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 13px; flex: none; }
.ph-child b { display: block; font-size: 12.5px; } .ph-child span { color: var(--muted); font-size: 10.5px; }
.ph-child .sw { margin-inline-start: auto; color: var(--muted); }
.ph-body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; flex: 1; }
.ph-card { background: #fff; border: 1px solid #ebe8e0; border-radius: 16px; padding: 12px 13px; }
.ph-card .t { font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; display: flex; justify-content: space-between; align-items: center; }
.ph-card .big { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.ph-card .row { display: flex; align-items: center; gap: 10px; }
.ph-card .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.ph-card .ic .icon { width: 17px; height: 17px; }
.ph-card .s { color: var(--muted); font-size: 10.5px; margin-top: 1px; }
.ph-pay { margin-top: 10px; display: flex; gap: 8px; }
.ph-pay span { flex: 1; text-align: center; padding: 8px; border-radius: 10px; font-weight: 800; font-size: 11px; }
.ph-hero { background: linear-gradient(135deg, #0c7a64, #10a07f); color: #fff; border: 0; }
.ph-hero .t { color: rgba(255, 255, 255, .75); }
.ph-hero .s { color: rgba(255, 255, 255, .8); }
.ph-tabs { display: flex; justify-content: space-around; padding: 10px 8px 18px; background: #fff; border-top: 1px solid #ebe8e0; flex: none; }
.ph-tabs div { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; color: #a3abbb; }
.ph-tabs div.on { color: var(--brand); }
.ph-tabs .icon { width: 18px; height: 18px; }
.ph-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.ph-grade div { background: #faf9f6; border-radius: 10px; padding: 7px; text-align: center; }
.ph-grade b { display: block; font-size: 14px; font-weight: 800; } .ph-grade span { font-size: 9.5px; color: var(--muted); font-weight: 600; }
.ph-bubble { max-width: 82%; padding: 8px 11px; border-radius: 14px; font-size: 11.5px; line-height: 1.4; }
.ph-bubble.them { background: #fff; border: 1px solid #ebe8e0; border-bottom-left-radius: 4px; }
.ph-bubble.me { background: var(--brand); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.ph-bubble small { display: block; font-size: 9px; opacity: .65; margin-top: 3px; }
.ph-roll { display: grid; gap: 6px; }
.ph-roll div { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #ebe8e0; border-radius: 12px; padding: 7px 9px; }
.ph-roll .rn { width: 24px; height: 24px; border-radius: 8px; background: #f0eee8; display: grid; place-items: center; font-weight: 800; font-size: 10px; flex: none; }
.ph-roll b { font-size: 11.5px; }
.ph-roll .pa { margin-left: auto; display: flex; gap: 4px; }
.ph-roll .pa span { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 10px; background: #f0eee8; color: #a3abbb; }
.ph-roll .pa span.p { background: #0f9b7a; color: #fff; } .ph-roll .pa span.a { background: #e5566d; color: #fff; } .ph-roll .pa span.l { background: #f2a93b; color: #fff; }
.ph-cta { background: var(--ink); color: #fff; text-align: center; border-radius: 12px; padding: 10px; font-weight: 800; font-size: 12px; }

.mock-stack { position: relative; width: 100%; max-width: 560px; padding: 20px 0 40px; }
.mock-stack .mock-browser { width: 100%; }
.mock-stack .mock-phone { position: absolute; inset-inline-end: -10px; bottom: -10px; width: 210px; }
.mock-stack .mock-phone .ph-screen { height: 420px; }
.mock-float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-l); padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 12px; z-index: 3; }
.mock-float-card .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.mock-float-card .ic .icon { width: 16px; height: 16px; }
.mock-float-card b { display: block; font-size: 12.5px; }
.mock-float-card span { color: var(--muted); font-size: 11px; }

/* Compact browser for tab panels */
.mock-browser.compact .mb-body { grid-template-columns: 1fr; min-height: 0; }
.mock-browser.compact .mb-main { padding: 16px; }

@media (max-width: 900px) {
  .mb-body { grid-template-columns: 1fr; }
  .mb-side { display: none; }
  .mb-tiles { grid-template-columns: repeat(2, 1fr); }
  .mb-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mb-url { min-width: 0; }
  .mock-stack .mock-phone { display: none; }
  .mb-row > .mb-card:nth-child(2) { display: none; }
}

/* ---------- Orbit rings (decor) ---------- */
.orbit-rings { position: absolute; pointer-events: none; }
.orbit-rings circle { fill: none; stroke: currentColor; }
.spin-slow { animation: spin 60s linear infinite; transform-origin: center; transform-box: fill-box; }
.spin-rev { animation: spin 90s linear infinite reverse; transform-origin: center; transform-box: fill-box; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-y { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .spin-slow, .spin-rev, .float-y { animation: none; }
  .tab-panel.active { animation: none; }
}

/* Reveal-on-scroll: only hidden when JS + GSAP are ready, so the page never ends up blank. */
html.anim .rv { opacity: 0; transform: translateY(26px); }
html.anim .rv-fade { opacity: 0; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 48px; }
.center { text-align: center; }
.flex-center { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.note-strip { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-top: 22px; }
.note-strip span { display: inline-flex; align-items: center; gap: 7px; }
.note-strip .icon { width: 16px; height: 16px; color: var(--brand); stroke-width: 2.2; }

/* Legal text is English-only for now: keep it LTR and in the Latin font in every language. */
.legal-body { direction: ltr; text-align: left; }
html[lang="ur"] .legal-body, html[lang="sd"] .legal-body { font-family: var(--font); line-height: 1.6; }
html[lang="ur"] .legal-body h2, html[lang="sd"] .legal-body h2 { line-height: 1.25; font-size: 1.5rem; }
.draft-note:empty { display: none; }

/* Polish */
h1, h2, h3 { text-wrap: balance; }
.lead, .section-head p { text-wrap: pretty; }
.lang-card { isolation: isolate; }
.lang-card::after { z-index: -1; }
html[lang="ur"] body { font-size: 17px; }
@media (max-width: 560px) {
  .mock-stack .mock-float-card { inset-inline-start: 8px !important; }
  .tbl th:nth-child(3), .tbl td:nth-child(3) { display: none; }
}
.founding > *, .calc > *, .demo-layout > *, .tab-panel > * { min-width: 0; }
.compare-wrap { max-width: 100%; position: relative; } /* keeps the .sr-only labels inside the scroll box */

/* "Built for your school, on request" — presented as a service, not as a missing feature */
.group-card.custom { background: linear-gradient(160deg, var(--brand-soft), #fff 70%); border-color: rgba(12, 122, 100, .25); }
.group-card.custom li { background: #fff; border-color: rgba(12, 122, 100, .2); }
.mod-card.custom { background: linear-gradient(160deg, var(--brand-soft), #fff 75%); border-color: rgba(12, 122, 100, .22); }
.mod-card.custom .mc-ic { background: #fff; color: var(--brand); }
.mod-group-head > div { min-width: 0; }

/* Hero mock: AI briefing card + third floating card */
.ai-card { background: linear-gradient(160deg, #f3f2fd, #fff 70%); }
.ai-card .ai-title { display: inline-flex; align-items: center; gap: 6px; color: var(--violet); font-size: 12.5px; font-weight: 800; }
.ai-card .ai-title .icon { width: 15px; height: 15px; }
.ai-text { font-size: 11.8px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.ai-text b { color: var(--ink); }
.ai-gate { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 7px 9px; border-radius: 9px; background: #fff; border: 1px solid #ebe8e0; font-size: 11px; }
.ai-gate .av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 9px; color: #fff; flex: none; }
.ai-gate .st { margin-inline-start: auto; font-weight: 700; font-size: 10px; padding: 2px 8px; border-radius: 999px; }
.hero-float-3 { inset-inline-end: max(0px, calc(50% - 640px)); top: 6%; }
@media (max-width: 1100px) { .hero-float-3 { display: none; } }

/* Launch offer: crossed-out regular price + deadline */
.price .price-was { position: relative; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 1.15rem; }
.price .price-was::after { content: ""; position: absolute; inset-inline: -3px; top: 52%; height: 2px; background: var(--rose); transform: rotate(-12deg); border-radius: 2px; }
.plan.featured .price .price-was { color: #8d99b0; }
.off-tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: var(--rose-soft); color: #c63c52; font-size: .78rem; font-weight: 800; font-family: var(--font); align-self: center; }
.plan.featured .off-tag { background: rgba(229, 86, 109, .18); color: #ff8fa1; }
.offer-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap; text-align: center;
  margin: 0 auto 36px; max-width: 760px; padding: 12px 20px; border-radius: 16px;
  background: linear-gradient(90deg, #fff4e0, #fde8eb); border: 1px solid #f3d7a6; color: #7a4d06; font-weight: 650;
}
.offer-bar .icon { width: 18px; height: 18px; color: #c63c52; }
.offer-bar .days { background: var(--ink); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 800; white-space: nowrap; }
.offer-bar[hidden] { display: none; }
/* hero floats: keep the sidebar (module list) visible */
.hero-float-1 { inset-inline-start: auto; inset-inline-end: max(0px, calc(50% - 640px)); top: 4%; }
.hero-float-2 { inset-inline-start: max(16px, calc(50% - 330px)); bottom: -18px; }
.mb-row.mb-row-ai { grid-template-columns: 1.6fr 1fr; }

/* Phones showing a real screenshot of the Orbit app (assets/img/app) instead of a drawn mock */
.ph-screen.has-shot { background: #f6f8fa; }
.ph-screen.has-shot .ph-status { background: #f6f8fa; }
.ph-shot { display: block; width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }
.mb-shot { display: block; width: 100%; height: auto; }

.sample-note { text-align: center; font-size: .82rem; color: var(--muted); margin: 22px auto 0; max-width: 720px; }

/* ---------- Plan details window (opens from a plan card) ---------- */
.plan .plan-detail {
  margin-top: 10px; align-self: center; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 10px; color: var(--brand); font: inherit; font-weight: 700; font-size: .93rem;
}
.plan .plan-detail:hover { background: var(--brand-soft); }
.plan .plan-detail .icon { width: 16px; height: 16px; }
.plan.featured .plan-detail { color: var(--brand-3); }
.plan.featured .plan-detail:hover { background: rgba(61, 220, 151, .12); }
html.pd-open { overflow: hidden; }
dialog.pd {
  width: min(780px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-l);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-l); overflow: hidden;
}
dialog.pd[open] { display: flex; flex-direction: column; }
dialog.pd::backdrop { background: rgba(11, 19, 36, .55); backdrop-filter: blur(3px); }
.pd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 28px 18px; border-bottom: 1px solid var(--line); }
.pd-head h3 { font-size: 1.8rem; margin-top: 6px; }
.pd-head .muted { margin-top: 6px; font-size: .95rem; }
.pd-x { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.pd-x:hover { border-color: var(--ink); }
.pd-x .icon { width: 18px; height: 18px; }
.pd-body { padding: 8px 28px 24px; overflow-y: auto; flex: 1; }
.pd-body h4 { font-size: 1.02rem; margin: 24px 0 12px; letter-spacing: -0.01em; }
.pd-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
.pd-facts > div { padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.pd-facts dt { font-size: .74rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pd-facts dd { margin: 4px 0 0; font-weight: 650; line-height: 1.4; }
.pd-facts small { display: block; font-weight: 550; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.pd-facts .was { color: var(--muted); font-weight: 600; margin-inline-start: 6px; }
.pd-group + .pd-group { margin-top: 18px; }
.pd-group h5 { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.pd-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pd-items li { display: flex; gap: 12px; align-items: flex-start; }
.pd-ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); }
.pd-ic .icon { width: 18px; height: 18px; }
.pd-items strong { display: block; font-size: .96rem; }
.pd-items div > span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.pd-more { margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px 16px; }
.pd-more summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.pd-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chips li { padding: 7px 12px; border-radius: 999px; background: var(--bg-2); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.pd-chips em { font-style: normal; font-weight: 700; font-size: .76rem; color: var(--brand); margin-inline-start: 8px; }
.pd-foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 16px 28px; border-top: 1px solid var(--line); background: var(--surface); }
@media (max-width: 600px) {
  .pd-head, .pd-body, .pd-foot { padding-inline: 18px; }
  .pd-facts { grid-template-columns: 1fr; }
  .pd-foot .btn { flex: 1; justify-content: center; }
}
[dir="rtl"] .plan .plan-detail .icon-arrow { transform: scaleX(-1); }

/* ---------------- Download page ---------------- */
.dl-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.dl-layout > * { min-width: 0; }
.dl-card { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(22px, 3.5vw, 32px); box-shadow: var(--shadow); max-width: 520px; }
.btn-lg { min-height: 60px; padding: 14px 28px; font-size: 1.08rem; width: 100%; justify-content: center; gap: 12px; }
.btn-lg svg { width: 22px; height: 22px; }
.dl-meta { margin: 14px 0 0; text-align: center; font-size: .9rem; color: var(--muted); font-weight: 600; }
.dl-meta a { color: var(--brand); font-weight: 700; }
.dl-soon { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dl-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg); border: 1px dashed var(--line-2); font-size: .84rem; font-weight: 650; color: var(--ink-2); }
.dl-pill svg { width: 16px; height: 16px; }
.dl-ios { margin-top: 10px; }
.dl-qr { margin-top: 22px; display: flex; align-items: center; gap: 16px; max-width: 520px; }
.dl-qr-code { width: 92px; height: 92px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.dl-qr-code svg { width: 100%; height: 100%; display: block; }
.dl-qr strong { display: block; font-size: .98rem; }
.dl-qr span { display: block; font-size: .9rem; color: var(--ink-2); margin-top: 2px; }
.dl-visual { display: grid; place-items: center; }
.dl-visual .mock-phone { width: 270px; transform: rotate(3deg); }
.dl-visual .ph-screen { height: 540px; }
.dl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.dl-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-s); }
.dl-num { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.dl-steps h3 { font-size: 1.2rem; }
.dl-steps p { margin: 10px 0 0; color: var(--ink-2); }
.dl-who { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl-who-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px; box-shadow: var(--shadow-s); }
.dl-who-card .di { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.dl-who-card h3 { font-size: 1.3rem; }
.dl-who-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.dl-who-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.dl-who-card li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand); }
.dl-lang { margin: 28px auto 0; max-width: 640px; display: flex; gap: 10px; justify-content: center; align-items: center; text-align: center; color: var(--ink-2); font-weight: 600; }
.dl-lang svg { width: 20px; height: 20px; flex: none; color: var(--brand); }
@media (max-width: 900px) {
  .dl-layout { grid-template-columns: 1fr; }
  .dl-visual { display: none; }
  .dl-steps, .dl-who { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .dl-qr { display: none; } }

.dl-banner { display: flex; align-items: center; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px 26px; box-shadow: var(--shadow-s); }
.dl-banner .di { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.dl-banner-text { flex: 1; min-width: 0; }
.dl-banner h3 { font-size: 1.2rem; }
.dl-banner p { margin: 6px 0 0; color: var(--ink-2); }
.dl-banner .btn { flex: none; }
.dl-banner .btn svg { width: 18px; height: 18px; }
@media (max-width: 700px) { .dl-banner { flex-direction: column; align-items: flex-start; } .dl-banner .btn { width: 100%; justify-content: center; } }
