/* Mizan Rx public homepage (/, js/views/landing.js). Builds on the design system in app.css: same tokens, fonts
   (IBM Plex Sans, Readex Pro for Arabic, Plex Mono) and light / dark / high-contrast modes. Everything is drawn
   with CSS and inline SVG coloured from tokens; logical properties mirror the page for Arabic.
   Sections: 1 Tokens   2 Page frame and header   3 Hero   4 Section heads   5 "One medicine, three people"
             6 How it works (band)   7 What you get (phone and paper)   8 Why   9 Who it is for   10 FAQ
             11 Final call to action   12 Footer   13 Motion */

/* ================================================================ 1 Tokens */
:root {
  --lp-max: 1200px; --lp-gutter: clamp(16px, 4vw, 40px); --lp-head-h: 68px; --lp-sec-y: clamp(72px, 9vw, 128px);
  --lp-h1: clamp(40px, 4.9vw, 64px); --lp-h1-lh: 1.06; --lp-h1-track: -.034em;
  --lp-h2: clamp(30px, 3.3vw, 46px); --lp-h2-lh: 1.12; --lp-h2-track: -.026em;
  --lp-lede: clamp(17px, 1.35vw, 19px); --lp-lede-lh: 1.62;
  --lp-grid: rgba(15, 27, 45, .055);
  --lp-glow-a: rgba(31, 95, 211, .2); --lp-glow-b: rgba(15, 157, 132, .17); --lp-glow-c: rgba(227, 163, 59, .17);
  --lp-grad-a: #1F5FD3; --lp-grad-b: #0B7F6B;
  --lp-disc-a: #FFFFFF; --lp-disc-b: #E6EFFC;
  --lp-hel-a1: #1F5FD3; --lp-hel-a2: #5B8EF0; --lp-hel-b1: #0F9D84; --lp-hel-b2: #3CC7AE; --lp-rung: #A9BCD6;
  --lp-shadow: rgba(11, 37, 69, .08);
  --lp-band: #0B2545; --lp-band-ink: #F4F7FC; --lp-band-ink2: #BCCADE; --lp-band-line: rgba(255, 255, 255, .13); --lp-band-acc: #7FE0CB; --lp-band-num: #9CC0F2;
  --lp-card-shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 12px 32px -14px rgba(15, 27, 45, .16);
  --lp-av-c: #FBEFD9;
}
/*@lp-dark*/ :root[data-theme="dark"] {
  --lp-grid: rgba(255, 255, 255, .045);
  --lp-glow-a: rgba(110, 164, 255, .16); --lp-glow-b: rgba(54, 197, 168, .13); --lp-glow-c: rgba(232, 174, 63, .1);
  --lp-grad-a: #8DB8FF; --lp-grad-b: #5FD9C0;
  --lp-disc-a: #16233A; --lp-disc-b: #0F1A2C;
  --lp-hel-a1: #6EA4FF; --lp-hel-a2: #A9C8FF; --lp-hel-b1: #36C5A8; --lp-hel-b2: #7BE3CE; --lp-rung: #3B4F70;
  --lp-shadow: rgba(0, 0, 0, .45);
  --lp-band: #0D1626; --lp-band-ink: #EEF3FA; --lp-band-ink2: #A9B7CB; --lp-band-line: rgba(255, 255, 255, .09); --lp-band-acc: #67DBC3; --lp-band-num: #8DB8FF;
  --lp-card-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 16px 40px -16px rgba(0, 0, 0, .6);
  --lp-av-c: #33250D;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --lp-grid: rgba(255, 255, 255, .045);
    --lp-glow-a: rgba(110, 164, 255, .16); --lp-glow-b: rgba(54, 197, 168, .13); --lp-glow-c: rgba(232, 174, 63, .1);
    --lp-grad-a: #8DB8FF; --lp-grad-b: #5FD9C0;
    --lp-disc-a: #16233A; --lp-disc-b: #0F1A2C;
    --lp-hel-a1: #6EA4FF; --lp-hel-a2: #A9C8FF; --lp-hel-b1: #36C5A8; --lp-hel-b2: #7BE3CE; --lp-rung: #3B4F70;
    --lp-shadow: rgba(0, 0, 0, .45);
    --lp-band: #0D1626; --lp-band-ink: #EEF3FA; --lp-band-ink2: #A9B7CB; --lp-band-line: rgba(255, 255, 255, .09); --lp-band-acc: #67DBC3; --lp-band-num: #8DB8FF;
    --lp-card-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 16px 40px -16px rgba(0, 0, 0, .6);
    --lp-av-c: #33250D;
  }
}
:root[data-contrast="more"] { --lp-band-ink2: #E4EBF5; --lp-band-acc: #A6F0DF; --lp-band-num: #CFE0FF; --lp-band-line: rgba(255, 255, 255, .4); --lp-rung: #4A5466; }
/* Arabic: Readex Pro, a little smaller and much taller lines; no negative tracking. */
:root:lang(ar) { --lp-h1: clamp(34px, 4.2vw, 56px); --lp-h1-lh: 1.38; --lp-h1-track: 0; --lp-h2: clamp(27px, 2.9vw, 40px); --lp-h2-lh: 1.45; --lp-h2-track: 0; --lp-lede: clamp(17px, 1.3vw, 19px); --lp-lede-lh: 1.9; }

/* ================================================================ 2 Page frame and header */
body.landing-page .shell-main { background: var(--bg); }
body.landing-page main.wrap { max-width: none; padding: 0; }
.lp-wrap { width: 100%; max-width: calc(var(--lp-max) + 2 * var(--lp-gutter)); margin-inline: auto; padding-inline: var(--lp-gutter); }
.view.lp { overflow-x: clip; }
.lp section + section { margin-block-start: 0; }

body.landing-page .app-header { background: transparent; border-block-end: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease); }
body.landing-page .app-header.lp-scrolled, body.lp-menu-open .app-header {
  background: color-mix(in srgb, var(--card) 80%, transparent); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(15, 27, 45, .28); }
:root[data-contrast="more"] body.landing-page .app-header.lp-scrolled { background: var(--card); }
.app-header .lp-bar { max-width: calc(var(--lp-max) + 2 * var(--lp-gutter)); margin-inline: auto; min-height: var(--lp-head-h); padding-inline: var(--lp-gutter); gap: 10px; }
.lp-brand svg { width: 34px; height: 34px; }
.lp-brand .wordmark { font-size: 19px; }
.lp-nav { display: none; flex: 1 1 auto; justify-content: center; gap: 2px; min-width: 0; }
.lp-nav a { padding: 8px 12px; border-radius: var(--r-pill); color: var(--ink2); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: color var(--dur-1), background-color var(--dur-1); }
.lp-nav a:hover { color: var(--heading); background: var(--hover); }
.lp-nav a[aria-current="true"] { color: var(--heading); background: color-mix(in srgb, var(--blue) 11%, transparent); }
.lp-bar .controls { gap: 8px; }
.lp-bar .lp-signin, .lp-bar .lp-create { min-height: 40px; padding-inline: 16px; }
.lp-bar .lp-signin { --b-ink: var(--heading); }
.lp-bar .lp-signin:hover { --b-bg: var(--hover); }
.lp-menu-btn { display: inline-flex; }
@media (min-width: 1120px) {
  .lp-nav { display: flex; }
  .lp-menu-btn { display: none; }
  .lp-sheet { display: none !important; }
}
@media (max-width: 1119px) { .lp-bar .controls { margin-inline-start: auto; } }
@media (max-width: 639px) { .lp-bar .lp-signin, .lp-bar .lp-create { display: none; } .lp-bar .controls { gap: 6px; } }
/* Phone and tablet menu: a sheet under the bar */
.lp-sheet { position: absolute; inset-inline: 0; top: 100%; z-index: 2; display: grid; gap: var(--s4); max-height: calc(100dvh - var(--lp-head-h) - 8px); overflow: auto; overscroll-behavior: contain;
  padding: 8px var(--lp-gutter) 20px; background: var(--card); border-block-end: 1px solid var(--line); box-shadow: var(--shadow-pop); animation: lpSheet var(--dur-2) var(--ease); }
.lp-sheet-nav { display: grid; }
.lp-sheet-link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding-inline: 4px; border-block-end: 1px solid var(--line); color: var(--heading);
  font-size: 17px; font-weight: 600; text-decoration: none; }
.lp-sheet-link::after { content: ""; width: 8px; height: 8px; border-block-start: 2px solid var(--ink3); border-inline-end: 2px solid var(--ink3); transform: rotate(45deg); }
[dir="rtl"] .lp-sheet-link::after { transform: rotate(-45deg); }
.lp-sheet-acts { display: grid; gap: 10px; }
.lp-sheet-acts .btn { width: 100%; }
.lp-sheet-theme { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: var(--r-md); background: var(--sunken); border: 1px solid var(--line); }
.lp-sheet-theme button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 9px; background: transparent; color: var(--ink2);
  font-weight: 600; font-size: var(--fs-sm); cursor: pointer; }
.lp-sheet-theme button svg { width: 17px; height: 17px; }
.lp-sheet-theme button[aria-pressed="true"] { background: var(--card); color: var(--heading); box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--line); }
body.lp-menu-open::after { content: ""; position: fixed; inset: 0; z-index: 20; background: rgba(6, 12, 24, .38); }
@keyframes lpSheet { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ================================================================ 3 Hero */
.lp-hero { position: relative; isolation: isolate; overflow: clip;
  margin-block-start: calc(-1 * (var(--lp-head-h) + env(safe-area-inset-top, 0px)));
  padding-block: calc(var(--lp-head-h) + env(safe-area-inset-top, 0px) + clamp(28px, 6vw, 76px)) clamp(40px, 5vw, 72px); }
.lp-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lp-hero-bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--lp-grid) 1px, transparent 1px), linear-gradient(90deg, var(--lp-grid) 1px, transparent 1px);
  background-size: 64px 64px; background-position: 50% -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 18%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 75% 65% at 50% 18%, #000 25%, transparent 75%); }
.lp-hero-bg::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg)); }
.lp-hero-bg span { position: absolute; aspect-ratio: 1; border-radius: 50%; animation: lpDrift 22s ease-in-out infinite alternate; }
.lp-hero-bg .g1 { width: min(760px, 70vw); inset-inline-end: -14%; top: -22%; background: radial-gradient(closest-side, var(--lp-glow-a), transparent); }
.lp-hero-bg .g2 { width: min(680px, 64vw); inset-inline-start: -18%; top: 26%; background: radial-gradient(closest-side, var(--lp-glow-b), transparent); animation-delay: -7s; }
.lp-hero-bg .g3 { width: min(380px, 40vw); inset-inline-end: 26%; bottom: -8%; background: radial-gradient(closest-side, var(--lp-glow-c), transparent); animation-delay: -14s; }
.lp-hero-grid { display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; }
@media (min-width: 980px) { .lp-hero-grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); } }
.lp-hero-copy { display: grid; justify-items: start; }
.lp-h1 { margin-block: 22px 22px; font-size: var(--lp-h1); line-height: var(--lp-h1-lh); letter-spacing: var(--lp-h1-track); font-weight: 700; color: var(--heading); max-width: 15em; }
.lp-h1:focus { outline: none; }
.lp-grad { background: linear-gradient(100deg, var(--lp-grad-a) 10%, var(--lp-grad-b) 90%); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
[dir="rtl"] .lp-grad { background-image: linear-gradient(260deg, var(--lp-grad-a) 10%, var(--lp-grad-b) 90%); }
:root[data-contrast="more"] .lp-grad { background: none; color: var(--heading); }
.lp-hero-lede { font-size: var(--lp-lede); line-height: var(--lp-lede-lh); color: var(--ink2); max-width: 34em; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 34px; }
.lp .btn.lg, .lp-sheet .btn.lg { min-height: 52px; padding-inline: 24px; font-size: 16px; border-radius: 13px; }
.lp-btn-main { box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 2px 4px rgba(15, 27, 45, .12), 0 14px 30px -10px color-mix(in srgb, var(--blue) 70%, transparent) !important; }
.lp-have { margin-block-start: 16px; font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--ink2); }
.lp-have a { font-weight: 600; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-block-start: 34px; padding-block-start: 24px; border-block-start: 1px solid var(--line); width: 100%; max-width: 42em; }
.lp-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 500; color: var(--ink2); }
.lp-trust svg { width: 19px; height: 19px; color: var(--teal-ink); flex: none; }

/* The art: the balance on a DNA helix, with three glass cards around it */
.lp-hero-art { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 600 / 560; }
.hero-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ha-disc-a { stop-color: var(--lp-disc-a); }
.ha-disc-b { stop-color: var(--lp-disc-b); stop-opacity: .75; }
.ha-disc-c { stop-color: var(--lp-disc-b); stop-opacity: 0; }
.ha-rings circle { fill: none; stroke: var(--line-strong); stroke-width: 1; opacity: .65; }
.ha-rings .d { stroke: var(--blue); stroke-dasharray: 2 8; stroke-width: 1.5; opacity: .4; }
.ha-orbit { transform-box: view-box; transform-origin: 300px 290px; animation: lpSpin 80s linear infinite; }
.ha-odot.b { fill: var(--blue); } .ha-odot.t { fill: var(--teal); } .ha-odot.g { fill: var(--gold); }
.ha-sa1 { stop-color: var(--lp-hel-a1); } .ha-sa2 { stop-color: var(--lp-hel-a2); }
.ha-sb1 { stop-color: var(--lp-hel-b1); } .ha-sb2 { stop-color: var(--lp-hel-b2); }
.ha-strand { fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.ha-strand.back { opacity: .36; }
.ha-rung { stroke: var(--lp-rung); stroke-width: 3; stroke-linecap: round; }
.ha-nuc { animation: lpPulse 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.3s); }
.ha-nuc.b { fill: var(--lp-hel-a1); } .ha-nuc.t { fill: var(--lp-hel-b1); } .ha-nuc.g { fill: var(--gold); }
.ha-scan { transform-box: view-box; animation: lpScan 6s cubic-bezier(.45, 0, .55, 1) infinite; }
.ha-scan0 { stop-color: var(--teal); stop-opacity: 0; } .ha-scan1 { stop-color: var(--teal); stop-opacity: .32; }
.ha-shadow { fill: var(--lp-shadow); }
.ha-beam { transform-box: view-box; transform-origin: 300px 161px; animation: lpTilt 8s ease-in-out infinite alternate; }
.ha-pivot { fill: var(--gold); stroke: #FFFFFF; stroke-width: 2.5; }
.ha-tab { filter: drop-shadow(0 8px 12px rgba(15, 157, 132, .35)); }
.ha-tab.g { filter: drop-shadow(0 8px 12px rgba(201, 142, 34, .35)); }
.lp-float { position: absolute; z-index: 2; border-radius: 16px; padding: 12px 14px; background: color-mix(in srgb, var(--card) 86%, transparent);
  border: 1px solid color-mix(in srgb, var(--line-strong) 55%, transparent); box-shadow: var(--shadow-pop);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); animation: lpFloat 7s ease-in-out infinite alternate; }
:root[data-contrast="more"] .lp-float { background: var(--card); border-color: var(--line-strong); }
.lp-float.f1 { inset-inline-start: -2%; top: 55%; display: grid; gap: 6px; justify-items: start; }
.lp-float.f2 { inset-inline-end: -3%; top: -1%; display: flex; gap: 10px; align-items: center; animation-delay: -2.4s; }
.lp-float.f3 { inset-inline-end: -1%; bottom: 3%; display: flex; gap: 10px; align-items: center; animation-delay: -4.6s; }
.lf-h { display: flex; align-items: center; gap: 8px; margin-block-end: 2px; font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 600; color: var(--heading); }
.lf-h svg { width: 18px; height: 18px; color: var(--link); }
.lf-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--teal-bg); color: var(--teal-ink); }
.lf-ic.t { background: var(--tint); color: var(--link); }
.lf-ic svg { width: 21px; height: 21px; }
.lf-tx { display: grid; line-height: 1.3; }
.lf-tx b { font-size: var(--fs-sm); font-weight: 600; color: var(--heading); }
.lf-tx small { font-size: var(--fs-xs); color: var(--ink2); }
@media (max-width: 979px) { .lp-hero-art { max-width: 520px; } }
@media (max-width: 480px) { .lp-hero .lp-ctas .btn { flex: 1 1 100%; } }
@media (max-width: 560px) {
  .lp-float { padding: 9px 11px; border-radius: 13px; }
  .lp-float.f1 { inset-inline-start: 0; top: 60%; gap: 5px; }
  .lp-float.f2 { inset-inline-end: 0; top: 0; }
  .lp-float.f3 { display: none; }
  .lf-ic { width: 32px; height: 32px; }
  .lp-float .sev { font-size: 11.5px; }
}

/* ================================================================ 4 Section heads */
.lp-sec { position: relative; padding-block: var(--lp-sec-y); scroll-margin-top: calc(var(--lp-head-h) - 1px); }
.lp-sec:focus, .lp-aud:focus { outline: none; }
.lp-head { display: grid; gap: 16px; justify-items: start; max-width: 760px; margin-block-end: clamp(40px, 5vw, 64px); }
.lp-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.lp-head-t { display: grid; gap: 16px; justify-items: start; }
@media (min-width: 980px) {
  .lp-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); align-items: end; }
  .lp-head.split .lp-lede { padding-block-end: 6px; }
}
.lp-eyebrow { display: inline-flex; align-items: center; gap: 9px; width: fit-content; padding: 5px 13px 5px 11px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--card) 72%, transparent); border: 1px solid var(--line); font-size: 13px; line-height: 20px; font-weight: 600; color: var(--teal-ink); }
[dir="rtl"] .lp-eyebrow { padding: 5px 11px 5px 13px; }
:lang(ar) .lp-eyebrow { font-size: 14px; line-height: 22px; }
.lp-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 22%, transparent); flex: none; }
.lp-h2 { font-size: var(--lp-h2); line-height: var(--lp-h2-lh); letter-spacing: var(--lp-h2-track); font-weight: 600; color: var(--heading); }
:lang(ar) .lp-h2 { font-weight: 700; }
.lp-lede { font-size: var(--lp-lede); line-height: var(--lp-lede-lh); color: var(--ink2); max-width: 40em; }
.lp-h3 { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--heading); letter-spacing: -.008em; }
:lang(ar) .lp-h3 { font-size: 18px; line-height: 30px; letter-spacing: 0; }
.lp-checks { display: grid; gap: 12px; }
.lp-checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); }
.lp-checks svg { width: 22px; height: 22px; flex: none; margin-block-start: 1px; padding: 3px; border-radius: 50%; color: var(--teal-ink); background: var(--teal-bg); }
:lang(ar) .lp-checks svg { margin-block-start: 3px; }

/* ================================================================ 5 "One medicine, three people" */
.lp-what { padding-block-start: clamp(32px, 4vw, 56px); }
.lp-fig { display: grid; justify-items: center; margin: 0; }
.lp-same { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--lp-card-shadow); font-weight: 600; color: var(--heading); position: relative; z-index: 1; }
[dir="rtl"] .lp-same { padding: 8px 8px 8px 18px; }
.lp-same-pill { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; background: linear-gradient(140deg, #12A38B, #1F5FD3); }
.lp-same-pill svg { width: 22px; height: 22px; }
.lp-branch { display: none; width: 66.7%; height: 56px; }
.lp-branch path { fill: none; stroke: var(--line-strong); stroke-width: 1.6; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.lp-people { display: grid; gap: 16px; width: 100%; max-width: 480px; margin-block-start: 22px; }
@media (min-width: 880px) { .lp-branch { display: block; } .lp-people { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-block-start: 0; } }
.lp-person { --c: var(--und-dot); position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); background: var(--card); box-shadow: var(--lp-card-shadow); }
.lp-person::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: var(--c); }
.lp-person:nth-child(1) { --c: var(--std-dot); } .lp-person:nth-child(2) { --c: var(--cau-dot); } .lp-person:nth-child(3) { --c: var(--act-dot); }
.lp-person-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lp-person-name { font-weight: 600; color: var(--heading); margin-inline-end: auto; }
.lp-avatar { width: 40px; height: 40px; flex: none; }
.lp-avatar .av-bg { fill: var(--tint); } .lp-avatar .av-fg { fill: var(--blue); opacity: .75; }
.lp-avatar.b .av-bg { fill: var(--teal-bg); } .lp-avatar.b .av-fg { fill: var(--teal); }
.lp-avatar.c .av-bg { fill: var(--lp-av-c); } .lp-avatar.c .av-fg { fill: var(--gold); }
.lp-level { display: block; width: 100%; height: auto; }
.lv-band { fill: color-mix(in srgb, var(--std-dot) 11%, transparent); }
.lv-edge { fill: none; stroke: color-mix(in srgb, var(--std-dot) 45%, transparent); stroke-width: 1; stroke-dasharray: 3 4; }
.lv-axis, .lv-dose { stroke: var(--line-strong); stroke-width: 1; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lv-lbl { font-size: 10.5px; fill: var(--ink2); font-family: var(--font); }
.lv-line { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke: var(--und-dot); }
.lp-level.STD .lv-line { stroke: var(--std-dot); } .lp-level.CAU .lv-line { stroke: var(--cau-dot); } .lp-level.ACT .lv-line { stroke: var(--act-dot); }
.lp-person-text { color: var(--ink); }
.lp-fig-note { margin-block-start: 18px; font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--ink3); }

/* ================================================================ 6 How it works (a deep band) */
.lp-band { background: var(--lp-band); color: var(--lp-band-ink); overflow: clip; isolation: isolate; }
.lp-band-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(640px 320px at 12% 0%, rgba(31, 95, 211, .42), transparent 70%), radial-gradient(560px 320px at 92% 100%, rgba(15, 157, 132, .3), transparent 70%); }
.lp-band-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%); }
:root[data-theme="dark"] .lp-band { box-shadow: inset 0 1px 0 var(--lp-band-line), inset 0 -1px 0 var(--lp-band-line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lp-band { box-shadow: inset 0 1px 0 var(--lp-band-line), inset 0 -1px 0 var(--lp-band-line); } }
.lp-band .lp-h2 { color: var(--lp-band-ink); }
.lp-band .lp-lede { color: var(--lp-band-ink2); }
.lp-band .lp-eyebrow { background: rgba(255, 255, 255, .06); border-color: var(--lp-band-line); color: var(--lp-band-acc); }
.lp-band .lp-eyebrow .dot { background: var(--lp-band-acc); }
.lp-band :focus-visible, .lp-final :focus-visible { outline-color: #FFFFFF; }
.lp-steps { position: relative; display: grid; max-width: 580px; margin-inline: auto; }
.lp-step { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 18px; align-content: start; padding-block-end: 30px; }
.lp-step:last-child { padding-block-end: 0; }
.lp-step::before { content: ""; position: absolute; inset-inline-start: 28px; top: 62px; bottom: 4px; width: 2px; border-radius: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--lp-band-num) 70%, transparent), color-mix(in srgb, var(--lp-band-acc) 70%, transparent)); transform-origin: top; }
.lp-step:last-child::before { display: none; }
.lp-step-ic { grid-row: 1 / span 3; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--lp-band-ink); position: relative; z-index: 1;
  background: linear-gradient(150deg, color-mix(in srgb, var(--lp-band) 70%, #2C5C9E), color-mix(in srgb, var(--lp-band) 82%, #0F9D84));
  border: 1px solid var(--lp-band-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 28px -14px rgba(0, 0, 0, .7); }
.lp-step-ic svg { width: 27px; height: 27px; }
.lp-step-n { font-family: var(--font-code); font-size: 12px; line-height: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-band-num); margin-block-start: 4px; }
:lang(ar) .lp-step-n { font-family: var(--font); letter-spacing: 0; font-size: 13px; line-height: 22px; }
.lp-step .lp-h3 { color: var(--lp-band-ink); margin-block: 2px 6px; }
.lp-step p { color: var(--lp-band-ink2); font-size: var(--fs-sm); line-height: var(--lh-sm); }
@media (min-width: 1024px) {
  .lp-steps { max-width: none; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
  .lp-step { grid-template-columns: none; justify-items: center; text-align: center; padding: 0; }
  .lp-step-ic { grid-row: auto; width: 68px; height: 68px; border-radius: 22px; margin-block-end: 18px; }
  .lp-step-ic svg { width: 30px; height: 30px; }
  .lp-step::before { inset-inline-start: calc(50% + 46px); top: 33px; bottom: auto; width: calc(100% + 22px - 92px); height: 2px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--lp-band-num) 75%, transparent), color-mix(in srgb, var(--lp-band-acc) 75%, transparent)); transform-origin: left; }
  [dir="rtl"] .lp-step::before { background: linear-gradient(270deg, color-mix(in srgb, var(--lp-band-num) 75%, transparent), color-mix(in srgb, var(--lp-band-acc) 75%, transparent)); transform-origin: right; }
}

/* ================================================================ 7 What you get: groups, a phone and an A4 report */
.lp-report-grid { display: grid; gap: clamp(44px, 6vw, 72px); align-items: center; }
@media (min-width: 1020px) { .lp-report-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.lp-report .lp-head { margin-block-end: 32px; }
.lp-grps { display: grid; gap: 10px; margin-block-end: 28px; }
.lp-grp { --c: var(--und-dot); --cb: var(--und-bg); --ci: var(--und-ink); display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--c); box-shadow: var(--shadow-xs); }
.lp-grp.ACT { --c: var(--act-dot); --cb: var(--act-bg); --ci: var(--act-ink); }
.lp-grp.CAU { --c: var(--cau-dot); --cb: var(--cau-bg); --ci: var(--cau-ink); }
.lp-grp.STD { --c: var(--std-dot); --cb: var(--std-bg); --ci: var(--std-ink); }
.lp-grp-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--cb); color: var(--c); }
.lp-grp-ic svg { width: 19px; height: 19px; }
.lp-grp b { display: block; color: var(--ci); font-weight: 600; }
.lp-grp > span:last-child > span { display: block; color: var(--ink2); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.lp-statement { display: flex; gap: 10px; align-items: flex-start; margin-block-start: 28px; padding: 14px 16px; border-radius: 16px; background: var(--tint); border: 1px solid var(--tint-line);
  color: var(--ink); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.lp-statement svg { width: 20px; height: 20px; flex: none; color: var(--link); }
.lp-mock { margin: 0; display: grid; justify-items: center; }
.lp-mock-stage { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1 / 1; container-type: inline-size; }
.lp-mock-glow { position: absolute; inset: 6% 2% 0; border-radius: 48px;
  background: radial-gradient(closest-side at 35% 40%, var(--lp-glow-a), transparent), radial-gradient(closest-side at 72% 70%, var(--lp-glow-b), transparent); }
.lp-sample-tag { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 18px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--warn-bg); color: var(--warn-ink);
  border: 1px solid color-mix(in srgb, var(--cau-dot) 40%, var(--warn-bg)); font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 600; }
.lp-sample-tag::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.lp-mock figcaption { text-align: center; }
/* the A4 page: printed colours in every theme */
.lp-paper { position: absolute; inset-inline-start: 1.5%; top: 2%; width: 63%; aspect-ratio: 210 / 297; transform: rotate(-3.5deg); overflow: hidden;
  display: grid; align-content: start; gap: .85em; padding: 6.5% 6.5%; background: #FFFFFF; color: #0F1B2D; border-radius: 6px; font-family: var(--font-latin); font-size: 1.5cqi; line-height: 1.45;
  box-shadow: 0 1px 2px rgba(15, 27, 45, .1), 0 30px 60px -22px rgba(11, 37, 69, .45); }
.lp-paper[dir="rtl"] { transform: rotate(3.5deg); font-family: var(--font-ar); }
.pp-head { display: flex; justify-content: space-between; align-items: center; }
.pp-brand, .ph-brand { display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-latin); font-weight: 700; direction: ltr; }
.pp-brand { font-size: 1.3em; color: #0A1930; }
.pp-brand svg { width: 2em; height: 2em; }
.pp-brand em, .ph-brand em { font-style: normal; color: #0F9D84; }
.pp-tag { padding: .2em .8em; border-radius: 1em; background: #FDF1DC; color: #7A4D00; font-weight: 700; font-size: .8em; letter-spacing: .12em; text-transform: uppercase; }
.lp-paper[dir="rtl"] .pp-tag { letter-spacing: 0; }
.pp-band { height: .3em; border-radius: 1em; background: linear-gradient(90deg, #0B2545, #1F5FD3 55%, #0F9D84); }
.pp-title { font-size: 1.75em; line-height: 1.2; font-weight: 700; color: #0A1930; }
.pp-meta { display: grid; grid-template-columns: 2fr 1.2fr .8fr; gap: .6em; padding-block: .6em; border-block: 1px solid #E2E7EE; }
.pp-meta span { display: grid; color: #5B677A; font-size: .82em; }
.pp-meta b { color: #0A1930; font-size: 1.15em; }
.pp-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; }
.pp-sum span { display: grid; padding: .45em .6em; border: 1px solid #E2E7EE; border-block-start: .3em solid var(--pc); border-radius: .5em; color: var(--pi); font-weight: 600; font-size: .82em; line-height: 1.25; }
.pp-sum b { font-size: 1.9em; line-height: 1.1; font-family: var(--font-latin); }
.pp-sum .ACT, .pp-row.ACT { --pc: #C9342C; --pi: #A3241D; } .pp-sum .CAU, .pp-row.CAU { --pc: #C47A00; --pi: #855000; } .pp-sum .STD, .pp-row.STD { --pc: #1F8B4F; --pi: #146A3B; }
.pp-th { display: grid; grid-template-columns: 1fr 2fr; gap: .6em; padding: .35em .7em; background: #F1F4F8; border-radius: .4em; color: #5B677A; font-weight: 700; font-size: .78em; text-transform: uppercase; letter-spacing: .06em; }
.lp-paper[dir="rtl"] .pp-th { letter-spacing: 0; }
.pp-row { display: grid; grid-template-columns: 1fr 2fr; gap: .6em; padding: .55em .7em; border-block-end: 1px solid #E2E7EE; border-inline-start: .28em solid var(--pc); }
.pp-med b { display: block; color: #0A1930; }
.pp-med span { color: #5B677A; font-size: .85em; }
.pp-mean { display: grid; gap: .4em; align-content: start; }
.pp-mean i { display: block; height: .5em; border-radius: 1em; background: #E3E8EF; }
.lp-paper .sev { justify-self: start; font-size: .8em; line-height: 1.5; padding: .05em .55em; gap: .3em; border-radius: .45em; }
.lp-paper .sev svg { width: 1.05em; height: 1.05em; }
.lp-paper .sev.ACT { background: #FDEDEB; color: #A3241D; border-color: #F3C9C5; } .lp-paper .sev.ACT svg { color: #C9342C; }
.lp-paper .sev.CAU { background: #FEF4DF; color: #855000; border-color: #F2D9A6; } .lp-paper .sev.CAU svg { color: #C47A00; }
.lp-paper .sev.STD { background: #E7F5EC; color: #146A3B; border-color: #BEE2CB; } .lp-paper .sev.STD svg { color: #1F8B4F; }
.pp-signs { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1.1em; align-items: end; margin-block-start: .5em; }
.pp-signs > div { display: grid; gap: .25em; color: #5B677A; font-size: .8em; }
.pp-signs > div > svg { width: 100%; height: 2.6em; color: #123A6B; border-block-end: 1px solid #CBD3DD; }
.pp-qr { justify-items: center; }
.pp-qr svg { width: 3.8em; height: 3.8em; fill: #0F1B2D; }
.pp-genes { display: grid; gap: .5em; padding: .7em; border-radius: .5em; background: #F7F9FC; border: 1px solid #E8ECF2; }
.pp-genes i { display: block; height: .5em; border-radius: 1em; background: #E3E8EF; }
.pp-genes i:first-child { height: .7em; background: #CBD3DD; }
.pp-foot { font-size: .78em; line-height: 1.45; color: #5B677A; border-block-start: 1px solid #E2E7EE; padding-block-start: .6em; }
/* the phone: follows the page's theme like the real app */
.lp-phone { position: absolute; inset-inline-end: 3%; bottom: 0; width: 40%; aspect-ratio: 9 / 19; padding: 2.1%; border-radius: 13% / 6.2%; background: #0A111D;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 1px rgba(11, 37, 69, .25), 0 44px 80px -28px rgba(11, 37, 69, .6), 0 14px 28px -14px rgba(11, 37, 69, .45); }
.ph-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 11.2% / 5.4%; background: var(--bg); color: var(--ink); font-size: 1.9cqi; line-height: 1.4; display: flex; flex-direction: column; }
.ph-screen::before { content: ""; position: absolute; top: 1.1em; left: 50%; width: 30%; height: 1.55em; transform: translateX(-50%); border-radius: 1em; background: #0A111D; z-index: 2; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 1.15em 1.7em .5em; font-family: var(--font-latin); font-weight: 600; font-size: .95em; color: var(--heading); direction: ltr; }
.ph-sys { display: inline-flex; gap: .25em; }
.ph-sys i { display: block; width: .95em; height: .6em; border-radius: .15em; background: currentColor; opacity: .85; }
.ph-sys i:first-child { width: .6em; }
.ph-bar { display: flex; justify-content: space-between; align-items: center; padding: .55em 1.2em; background: var(--card); border-block: 1px solid var(--line); }
.ph-brand { font-size: 1.05em; color: var(--heading); }
.ph-brand svg { width: 1.8em; height: 1.8em; }
.ph-brand em { color: var(--teal); }
.ph-tab { font-size: .88em; font-weight: 600; color: var(--link); }
.ph-body { display: grid; gap: .7em; align-content: start; padding: 1em 1.1em; }
.ph-eyebrow { font-size: .74em; font-weight: 700; color: var(--teal-ink); text-transform: var(--caps); letter-spacing: var(--track-caps); }
.ph-h { margin-block-start: -.35em; font-size: 1.32em; line-height: 1.25; font-weight: 700; color: var(--heading); }
.ph-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45em; }
.ph-tile, .ph-med { --c: var(--und-dot); --ci: var(--und-ink); }
.ph-tile.ACT, .ph-med.ACT { --c: var(--act-dot); --ci: var(--act-ink); }
.ph-tile.CAU, .ph-med.CAU { --c: var(--cau-dot); --ci: var(--cau-ink); }
.ph-tile.STD, .ph-med.STD { --c: var(--std-dot); --ci: var(--std-ink); }
.ph-tile { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .15em .3em; padding: .65em .55em .55em; border-radius: .75em; background: var(--card); border: 1px solid var(--line); }
.ph-tile::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: .22em; background: var(--c); }
.ph-ic svg { display: block; width: 1.2em; height: 1.2em; color: var(--c); }
.ph-n { justify-self: end; font-family: var(--font-latin); font-weight: 700; font-size: 1.55em; line-height: 1; color: var(--ci); }
.ph-l { grid-column: 1 / -1; font-size: .72em; line-height: 1.25; font-weight: 600; color: var(--ci); }
.ph-med { display: grid; gap: .2em; padding: .6em .75em; border-radius: .75em; background: var(--card); border: 1px solid var(--line); border-inline-start: .28em solid var(--c); }
.ph-med-top { display: flex; justify-content: space-between; align-items: center; gap: .4em; }
.ph-name { font-weight: 700; color: var(--heading); }
.ph-med .sev { font-size: .66em; line-height: 1.5; padding: .05em .5em; gap: .3em; border-radius: .45em; }
.ph-med .sev svg { width: 1.05em; height: 1.05em; }
.ph-cls { font-size: .76em; color: var(--ink2); }
.ph-mean { font-size: .88em; color: var(--ink); }
.ph-signed { display: flex; align-items: center; gap: .45em; margin-block-start: .2em; font-size: .82em; font-weight: 600; color: var(--teal-ink); }
.ph-signed svg { width: 1.4em; height: 1.4em; flex: none; }
@media (max-width: 640px) {
  .lp-mock-stage { aspect-ratio: 1 / 1.14; }
  .lp-paper { width: 72%; font-size: 1.62cqi; }
  .lp-phone { width: 50%; inset-inline-end: 0; }
  .ph-screen { font-size: 2.35cqi; }
}

/* ================================================================ 8 Why Mizan Rx (bento) */
.lp-whysec { padding-block-start: 0; }
.lp-bento { display: grid; gap: 16px; }
@media (min-width: 720px) { .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-why.wide { grid-column: span 2; } }
@media (min-width: 1080px) { .lp-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.lp-why { position: relative; overflow: hidden; display: grid; align-content: start; gap: 10px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--lp-card-shadow); transition: transform var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease), border-color var(--dur-2); }
.lp-why:hover { transform: translateY(-2px); border-color: var(--tint-line); box-shadow: var(--shadow-pop); }
.lp-why p { color: var(--ink2); }
.lp-why-ic { width: 46px; height: 46px; margin-block-end: 6px; border-radius: 14px; display: grid; place-items: center; color: var(--link); background: var(--tint); border: 1px solid var(--tint-line); }
.lp-why:nth-child(even) .lp-why-ic { color: var(--teal-ink); background: var(--teal-bg); border-color: color-mix(in srgb, var(--teal) 30%, var(--teal-bg)); }
.lp-why-ic svg { width: 24px; height: 24px; }
@media (min-width: 1080px) {
  .lp-why.wide { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); grid-template-areas: "ic art" "h art" "p art"; column-gap: 24px; }
  .lp-why.wide .lp-why-ic { grid-area: ic; } .lp-why.wide .lp-h3 { grid-area: h; } .lp-why.wide p { grid-area: p; } .lp-why.wide .why-art { grid-area: art; align-self: center; }
}
.why-art { margin-block-start: 10px; }
.lang-art { display: grid; gap: 2px; justify-items: center; padding: 18px; border-radius: 18px; background: linear-gradient(160deg, var(--sunken), color-mix(in srgb, var(--tint) 60%, var(--card))); border: 1px solid var(--line); }
.lang-art [lang="ar"] { font-family: var(--font-ar); font-weight: 700; font-size: 44px; line-height: 1.35; background: linear-gradient(100deg, var(--lp-grad-a), var(--lp-grad-b));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lang-art [lang="en"] { font-family: var(--font-latin); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; color: var(--heading); }
:root[data-contrast="more"] .lang-art [lang="ar"] { background: none; color: var(--heading); }
.sign-art { display: grid; grid-template-columns: auto minmax(16px, 1fr) auto auto; align-items: center; gap: 10px; padding: 16px; border-radius: 18px; background: var(--sunken); border: 1px solid var(--line); }
.sa-step { display: grid; justify-items: center; gap: 6px; font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 600; color: var(--ink2); text-align: center; white-space: nowrap; }
.sa-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-latin); font-weight: 700; color: #FFFFFF; background: linear-gradient(140deg, #1F5FD3, #4E86E8); box-shadow: 0 0 0 4px var(--card); }
.sa-av.b { background: linear-gradient(140deg, #0F9D84, #2FB89D); }
.sa-line { height: 2px; border-radius: 2px; margin-block-end: 24px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px); }
.sa-ok { width: 34px; height: 34px; margin-block-end: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--std-ink); background: var(--std-bg); border: 1px solid color-mix(in srgb, var(--std-dot) 35%, var(--std-bg)); }
.sa-ok svg { width: 20px; height: 20px; }
.pin-badge { position: absolute; inset-block-start: 34px; inset-inline-end: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px 4px 9px; border-radius: var(--r-pill);
  background: var(--teal-bg); color: var(--teal-ink); font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 600; border: 1px solid color-mix(in srgb, var(--teal) 30%, var(--teal-bg)); }
.pa-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.pa-ring { position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--teal); animation: lpRing 2.6s ease-out infinite; }

/* ================================================================ 9 Who it is for */
.lp-who { padding-block-start: 0; }
.lp-auds { display: grid; gap: 18px; }
@media (min-width: 960px) { .lp-auds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.lp-aud { display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--lp-card-shadow);
  scroll-margin-top: calc(var(--lp-head-h) + 24px); }
.lp-aud.main { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 75%, var(--card)), var(--card) 46%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 22%, transparent), var(--shadow-pop); }
.lp-aud-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--link); background: var(--tint); border: 1px solid var(--tint-line); }
.lp-aud.main .lp-aud-ic { color: #FFFFFF; border: 0; background: linear-gradient(140deg, #1F5FD3, #0F9D84); box-shadow: 0 12px 24px -12px rgba(31, 95, 211, .7); }
.lp-aud:nth-child(3) .lp-aud-ic { color: var(--teal-ink); background: var(--teal-bg); border-color: color-mix(in srgb, var(--teal) 30%, var(--teal-bg)); }
.lp-aud-ic svg { width: 26px; height: 26px; }
.lp-aud .lp-h3 { font-size: 21px; line-height: 28px; }
:lang(ar) .lp-aud .lp-h3 { font-size: 21px; line-height: 34px; }
.lp-aud .lp-checks li { font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--ink); }
.lp-aud .lp-checks svg { width: 20px; height: 20px; }
.lp-aud-cta { padding-block-start: 6px; }
.lp-aud-cta .btn { width: 100%; min-height: 48px; font-size: 15px; border-radius: 12px; }

/* ================================================================ 10 FAQ */
.lp-faq { padding-block-start: 0; }
.lp-faq-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .lp-faq-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 64px; align-items: start; }
  .lp-faq-grid > div:first-child { position: sticky; top: calc(var(--lp-head-h) + 32px); } }
.lp-faq .lp-head { margin-block-end: 24px; }
.lp-faq-mail { display: flex; gap: 10px; align-items: flex-start; color: var(--ink2); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.lp-faq-mail svg { width: 20px; height: 20px; flex: none; color: var(--link); }
.lp-qs { border-block-start: 1px solid var(--line); }
.lp-q { border-block-end: 1px solid var(--line); }
.lp-q summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 16px 4px; cursor: pointer; font-size: 17px; line-height: 25px;
  font-weight: 600; color: var(--heading); border-radius: 10px; }
:lang(ar) .lp-q summary { line-height: 30px; }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary:hover { color: var(--link); }
.lp-q-ic { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); transition: transform var(--dur-3) var(--ease), background-color var(--dur-2); }
.lp-q-ic::before, .lp-q-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--ink2); transform: translate(-50%, -50%); }
.lp-q-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.lp-q[open] .lp-q-ic { transform: rotate(45deg); background: var(--tint); border-color: var(--tint-line); }
.lp-a { padding: 0 4px 22px; max-width: 64ch; }
.lp-a p { color: var(--ink2); }
.lp-q[open] .lp-a { animation: lpOpen var(--dur-3) var(--ease); }

/* ================================================================ 11 Final call to action */
.lp-final { padding-block: 0 var(--lp-sec-y); }
.lp-final-card { position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: center; gap: 18px; text-align: center; padding: clamp(44px, 7vw, 92px) clamp(22px, 6vw, 80px);
  border-radius: clamp(24px, 3vw, 34px); color: #FFFFFF;
  background: radial-gradient(900px 420px at 8% 0%, rgba(54, 197, 168, .34), transparent 60%), radial-gradient(760px 420px at 100% 100%, rgba(110, 164, 255, .36), transparent 60%),
    linear-gradient(135deg, #0B2545, #123A6B 55%, #174C8C);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -42px rgba(11, 37, 69, .7); }
.lp-final .lp-h2 { color: #FFFFFF; max-width: 17em; }
.lp-final p { color: #E1E9F5; font-size: var(--lp-lede); line-height: var(--lp-lede-lh); max-width: 34em; }
.lp-final .lp-ctas { justify-content: center; margin-block-start: 14px; }
.lp-final-art { position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 88% 120%, rgba(255, 255, 255, .075) 0 1px, transparent 1.5px 46px);
  -webkit-mask-image: radial-gradient(circle at 88% 110%, #000 10%, transparent 62%); mask-image: radial-gradient(circle at 88% 110%, #000 10%, transparent 62%); }
[dir="rtl"] .lp-final-art { background: repeating-radial-gradient(circle at 12% 120%, rgba(255, 255, 255, .075) 0 1px, transparent 1.5px 46px);
  -webkit-mask-image: radial-gradient(circle at 12% 110%, #000 10%, transparent 62%); mask-image: radial-gradient(circle at 12% 110%, #000 10%, transparent 62%); }
.lp-final .btn { box-shadow: none !important; }
.lp-btn-light { --b-bg: #FFFFFF; --b-ink: #0B2545; }
.lp-btn-light:hover { --b-bg: #E6EEF9; }
.lp-btn-ghost { --b-bg: rgba(255, 255, 255, .08); --b-ink: #FFFFFF; --b-line: rgba(255, 255, 255, .4); }
.lp-btn-ghost:hover { --b-bg: rgba(255, 255, 255, .16); }
.lp-survey { margin: 20px 0 0; }
.lp-survey a { color: #FFFFFF; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.lp-survey a:hover { text-decoration-thickness: 2px; }
.lp-survey a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; border-radius: 4px; }

/* ================================================================ 12 Footer */
.site-footer { background: var(--card); border-block-start: 1px solid var(--line); padding-block: 56px 28px; }
.lf-grid { display: grid; gap: 36px; }
@media (min-width: 880px) { .lf-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr); gap: 56px; } }
.lf-about { display: grid; gap: 16px; justify-items: start; align-content: start; max-width: 420px; }
.lf-about p { color: var(--ink2); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.lf-lang svg { width: 16px; height: 16px; }
.lf-lang { font-family: var(--font-ar); }
:lang(ar) .lf-lang { font-family: var(--font-latin); }
.lf-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.lf-h { margin-block-end: 12px; font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 600; text-transform: var(--caps); letter-spacing: var(--track-caps); color: var(--ink3); }
.lf-col ul { display: grid; gap: 4px; }
.lf-col a { display: inline-flex; min-height: 32px; align-items: center; color: var(--ink); font-size: var(--fs-sm); text-decoration: none; }
.lf-col a:hover { color: var(--link); text-decoration: underline; }
.lf-bottom { display: grid; gap: 14px; margin-block-start: 44px; }
.lf-bottom::before { content: ""; height: 1px; background: var(--line); margin-block-end: 8px; }
.lf-statement { display: flex; gap: 10px; align-items: flex-start; max-width: 80ch; color: var(--ink2); font-size: var(--fs-xs); line-height: var(--lh-xs); }
.lf-statement svg { width: 16px; height: 16px; flex: none; color: var(--ink3); margin-block-start: 1px; }
.lf-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--ink3); font-size: var(--fs-xs); line-height: var(--lh-xs); }
.lf-legal span { display: inline-flex; align-items: center; gap: 6px; }
.lf-legal svg { width: 15px; height: 15px; }
body:has(.persona-bar) .site-footer { padding-block-end: 110px; }

/* ================================================================ 13 Motion (all of it stops with prefers-reduced-motion) */
.lp-motion .lp .lp-rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.lp-motion .lp .lp-rv.in { opacity: 1; transform: none; }
.lp-motion .lp-person .lv-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.lp-motion .lp-person.in .lv-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.3, .1, .2, 1) .35s; }
.lp-motion .lp-step::before { transform: scaleX(0); }
.lp-motion .lp-step.in::before { transform: none; transition: transform 1s var(--ease) calc(var(--d, 0ms) + 250ms); }
@media (max-width: 1023px) { .lp-motion .lp-step::before { transform: scaleY(0); } }
@keyframes lpDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4%, 6%, 0) scale(1.08); } }
@keyframes lpFloat { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@keyframes lpSpin { to { transform: rotate(360deg); } }
@keyframes lpPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes lpScan { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(276px); opacity: 0; } }
@keyframes lpTilt { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@keyframes lpRing { from { transform: scale(.35); opacity: 1; } to { transform: scale(1); opacity: 0; } }
@keyframes lpOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ha-scan, .pa-ring { display: none; }
  .lp-hero-bg span, .ha-orbit, .ha-beam, .ha-nuc, .lp-float { animation: none !important; }
}
@media print { .lp-hero-bg, .lp-band-bg, .lp-mock-glow { display: none; } }

/* ================================================================ 14 KFSHRC logo and "Who we are" (v0.14)
   The KFSHRC logo (img/kfshrc-logo.svg, official artwork) is shown beside, never instead of, the Mizan Rx mark.
   Owner, 16 Nov 2026: ONE logo on the homepage, in the "Where your sample is tested" card of "Who we are".
   Its own colours are kept, so it always sits on a white plate (dark and high-contrast modes too). */
.lp-kf { display: inline-flex; align-items: center; justify-content: center; background: #FFFFFF; border-radius: 12px;
  padding: 8px 12px; box-shadow: 0 0 0 1px var(--line); }
.lp-kf img { display: block; width: 145px; height: auto; }
.lp-kf.big { padding: 14px 18px; border-radius: 16px; }
.lp-kf.big img { width: 210px; }
.lp-about-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 1020px) { .lp-about-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.lp-about-copy .lp-lede { margin-block-start: 14px; max-width: 40em; }
.lp-mission { margin-block-start: 24px; padding: 18px 20px; border-radius: 16px; background: var(--tint, #EEF4FE);
  border-inline-start: 4px solid var(--teal-ink); }
.lp-mission p { margin-block-start: 6px; color: var(--ink2); line-height: 1.6; }
.lp-lab { display: grid; gap: 14px; justify-items: start; padding: clamp(22px, 3vw, 32px); border-radius: 22px;
  border: 1px solid var(--line); background: var(--card); box-shadow: var(--lp-card-shadow); }
.lp-lab p { color: var(--ink2); line-height: 1.6; }

/* ================================================================ 15 Policy pages (/privacy, /terms, /support, /delete-account) */
.lg-page { max-width: 820px; padding-block: calc(var(--lp-head-h) + 40px) 72px; }
.lg-head { margin-block-end: 28px; display: grid; gap: 8px; }
.lg-sec { padding-block: 18px; border-block-start: 1px solid var(--line); }
.lg-sec h2 { margin-block-end: 8px; }
.lg-sec p, .lg-list li { color: var(--ink2); line-height: 1.7; }
.lg-sec p + p { margin-block-start: 8px; }
.lg-list { padding-inline-start: 22px; list-style: disc; display: grid; gap: 6px; }
.lg-nav { margin-block-start: 32px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lg-nav svg { width: 18px; height: 18px; }
