/* =====================================================================
   Cerebro Tech - cerebrotechs.com design system (v3, "one record")
   Navy, white and the logo's crimson, with role colours for the four apps
   (clinic navy, doctor crimson, patient teal, WhatsApp green). Display type
   Sora, text Manrope, Arabic Cairo. A live navy hero and one navy band (the
   assistant) frame white and tinted sections.
   Light is the default; dark is a real theme, not an afterthought.
   Logical properties everywhere so Arabic (RTL) mirrors for free.
   ===================================================================== */

:root {
  --paper: #ffffff;
  --paper-2: #f3f6fb;
  --paper-3: #e7edf5;
  --card: #ffffff;
  --ink: #0b1f42;
  --ink-2: #12305f;
  --text: #243049;
  --muted: #5f6b85;
  --line: #e1e7f0;
  --line-strong: #c3cddb;
  --navy: #0b1f42;
  --navy-900: #071530;
  --navy-500: #1f4a8a;
  --accent: #b3001b;
  --accent-ink: #8c0015;
  --accent-soft: #f4dcd8;
  --sage: #2f7a5b;
  --sage-soft: #dcebe2;
  --amber: #a86a00;
  --amber-soft: #f6e8c9;
  --wa: #1fae57;
  --wa-ink: #0f7a3b;
  --teal: #0f766e;
  --teal-ink: #0b5c56;
  --teal-soft: #d6ebe7;
  --paper-teal: #eaf4f1;
  --paper-rose: #f9eef0;
  --band: #a8001a;
  --band-ink: #f7f3ec;
  --focus: #1d4ed8;
  /* Role colours: everything that belongs to one app wears its colour. */
  --role-clinic: var(--ink);
  --role-doctor: var(--accent);
  --role-patient: var(--teal);
  --role-wa: var(--wa);

  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --display-settings: normal;
  --display-weight: 700;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 0 rgba(14, 26, 51, .04), 0 24px 48px -28px rgba(14, 26, 51, .28);
  --shadow-float: 0 14px 40px -16px rgba(14, 26, 51, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 650ms;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1324; --paper-2: #111a2e; --paper-3: #182238; --card: #121b30;
    --ink: #f3eee4; --ink-2: #dcd6ca; --text: #c6ccd9; --muted: #8e97ad;
    --line: #26314a; --line-strong: #3a476a;
    --accent: #ff5a6e; --accent-ink: #ff8290; --accent-soft: rgba(255, 90, 110, .14);
    --sage: #6fcf9a; --sage-soft: rgba(111, 207, 154, .14);
    --amber: #f0b64a; --amber-soft: rgba(240, 182, 74, .14);
    --focus: #8ab4ff;
    --teal: #5fd3c4; --teal-ink: #8fe3d8; --teal-soft: rgba(95, 211, 196, .14);
    --paper-teal: #0f1b2b; --paper-rose: #16182b; --band: #7a0014; --band-ink: #f7f3ec;
    --shadow-card: 0 1px 0 rgba(0, 0, 0, .3), 0 24px 48px -28px rgba(0, 0, 0, .7);
    --shadow-float: 0 14px 40px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1324; --paper-2: #111a2e; --paper-3: #182238; --card: #121b30;
  --ink: #f3eee4; --ink-2: #dcd6ca; --text: #c6ccd9; --muted: #8e97ad;
  --line: #26314a; --line-strong: #3a476a;
  --accent: #ff5a6e; --accent-ink: #ff8290; --accent-soft: rgba(255, 90, 110, .14);
  --sage: #6fcf9a; --sage-soft: rgba(111, 207, 154, .14);
  --amber: #f0b64a; --amber-soft: rgba(240, 182, 74, .14);
  --focus: #8ab4ff;
  --teal: #5fd3c4; --teal-ink: #8fe3d8; --teal-soft: rgba(95, 211, 196, .14);
  --paper-teal: #0f1b2b; --paper-rose: #16182b; --band: #7a0014; --band-ink: #f7f3ec;
  --shadow-card: 0 1px 0 rgba(0, 0, 0, .3), 0 24px 48px -28px rgba(0, 0, 0, .7);
  --shadow-float: 0 14px 40px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* Arabic: the same concept with Arabic faces. No letter-spacing, taller lines. */
html[lang="ar"] {
  --font-display: "Cairo", "Manrope", system-ui, sans-serif;
  --font: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  --display-settings: normal;
  --display-weight: 800;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--paper);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="ar"] body { line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
p a, .prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--line-strong); }
p a:hover, .prose a:hover { text-decoration-color: var(--accent); color: var(--accent); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button, input, select, textarea, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.compare:focus-visible { outline-offset: 6px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
h1, h2, .display { font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: var(--display-weight); letter-spacing: -.02em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] .display { letter-spacing: 0; line-height: 1.25; font-weight: var(--display-weight); }
html[lang="ar"] h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem); }
html[lang="ar"] h3 { letter-spacing: 0; }
p { margin: 0; }
em.hl, .hl { font-style: italic; color: var(--accent); font-variation-settings: "opsz" 144, "SOFT" 60; }
html[lang="ar"] em.hl, html[lang="ar"] .hl { font-style: normal; font-variation-settings: normal; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
h1 + .lead, h2 + .lead, h2 + p { margin-top: 20px; }
html[lang="ar"] .lead { line-height: 1.8; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); color: var(--ink); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 860px; }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: .9em; height: .9em; }

/* Eyebrow: a short sentence-case label with the crimson dot from the logo. */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--muted); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* Buttons */
.btn { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: .97rem; line-height: 1; white-space: nowrap; color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(14, 26, 51, .5); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
[dir="rtl"] .btn .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .icon-arrow { transform: translateX(-3px) scaleX(-1); }
.btn-primary { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.btn-primary:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); --btn-fg: #fff; }
:root[data-theme="dark"] .btn-primary:hover { --btn-fg: #0c1324; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-outline:hover { --btn-bd: var(--ink); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent; padding-inline: 12px; }
.btn-ghost:hover { --btn-bg: var(--paper-2); box-shadow: none; transform: none; }
.btn-whatsapp { --btn-bg: var(--wa); --btn-fg: #fff; --btn-bd: var(--wa); }
.btn-whatsapp:hover { --btn-bg: var(--wa-ink); --btn-bd: var(--wa-ink); }
.btn-lg { min-height: 54px; padding-inline: 26px; font-size: 1.02rem; }
.btn-magnet { will-change: transform; }
/* Spotlight: a soft highlight that follows the pointer over a card (desktop only). */
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.spot:hover::after { opacity: 1; }
.assistant .spot::after { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .09), transparent 70%); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.link:hover { color: var(--accent); border-color: var(--accent); }
.link .icon { width: 1em; height: 1em; }
[dir="rtl"] .link .icon-arrow { transform: scaleX(-1); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-in, .reveal:focus-within, .reveal:focus { opacity: 1; transform: none; }
.reveal:focus { transition: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Pulse rule: the ECG line used as a section divider ---------- */
.pulse { display: block; width: 100%; height: 44px; color: var(--line-strong); overflow: visible; }
.pulse path { stroke: currentColor; stroke-width: 1.5; fill: none; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.pulse.is-in path { animation: draw 2.2s var(--ease) forwards; }
.pulse .beat { stroke: var(--accent); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse path { stroke-dashoffset: 0; animation: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: color-mix(in srgb, var(--paper) 82%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.brand-dark { display: none; }
:root[data-theme="dark"] .brand-light { display: none; }
:root[data-theme="dark"] .brand-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-light { display: none; }
  :root:not([data-theme="light"]) .brand-dark { display: block; }
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { position: relative; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink-2); white-space: nowrap; transition: color .2s, background .2s; }
html[lang="ar"] .nav > a { padding: 8px 9px; font-size: .92rem; font-weight: 600; }
.nav > a:hover { color: var(--ink); background: var(--paper-2); }
.nav > a.is-active { color: var(--ink); }
.nav > a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.nav-mobile-actions { display: none; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--ink-2); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn .icon { width: 19px; height: 19px; }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}
.lang-toggle { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: background .2s, color .2s; }
.lang-toggle:hover { background: var(--paper-2); color: var(--ink); }
.lang-toggle .icon { width: 17px; height: 17px; }
html[lang="en"] .lang-toggle span { font-family: "Cairo", system-ui, sans-serif; }
html[lang="ar"] .lang-toggle span { font-family: "Manrope", system-ui, sans-serif; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); min-width: 280px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; z-index: 100; }
.dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.dropdown-menu a:hover { background: var(--paper-2); color: var(--ink); }
.dropdown-menu a .icon { width: 20px; height: 20px; color: var(--accent); }
.dropdown-menu strong { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; }
.dropdown-menu small { display: block; color: var(--muted); font-size: .8rem; }
.nav-burger { display: none; }
.nav-burger .icon-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-menu { display: none; }
.nav-burger[aria-expanded="true"] .icon-close { display: block; }
.scroll-progress { position: fixed; top: 0; inset-inline-start: 0; width: 100%; height: 2px; z-index: 95; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }

@media (max-width: 1180px) {
  .nav-actions .btn-primary, .nav-actions .dropdown { display: none; }
  .nav-burger { display: inline-grid; }
  /* Absolute under the sticky header (the header's backdrop-filter would trap a fixed panel). */
  .site-header { position: sticky; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 89; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 18px var(--gutter) 32px; background: var(--paper); border-top: 1px solid var(--line); overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .3s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { font-family: var(--font-display); font-variation-settings: var(--display-settings); font-size: 2rem; font-weight: 400; letter-spacing: -.02em; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  html[lang="ar"] .nav > a { letter-spacing: 0; font-weight: var(--display-weight); font-size: 1.7rem; }
  .nav > a.is-active::after { display: none; }
  .nav > a:hover { background: none; }
  .nav-mobile-actions { display: grid; gap: 10px; margin-top: 24px; }
  .nav-mobile-actions .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero: deep navy, the live dot network, light type ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 96px); overflow: clip; color: #fff; background: var(--navy); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 600px at 18% 10%, rgba(31, 74, 138, .55), transparent 60%), radial-gradient(700px 500px at 85% 90%, rgba(179, 0, 27, .35), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy) 60%, #0d2550); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { color: #ffb4bd; }
.hero .eyebrow::before { background: #ff5a6e; }
.hero h1 { max-width: 12em; color: #fff; letter-spacing: -.02em; }
.hero .grad { background: linear-gradient(90deg, #ff8f9c, #ffd1d6 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 24px; color: rgba(255, 255, 255, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-primary { --btn-bg: var(--accent); --btn-bd: var(--accent); --btn-fg: #fff; box-shadow: 0 14px 30px -14px rgba(179, 0, 27, .7); }
.hero .btn-primary:hover { --btn-bg: #d1142f; --btn-bd: #d1142f; --btn-fg: #fff; }
.btn-glass { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { --btn-bg: rgba(255, 255, 255, .18); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .5); }
.hero-proof { list-style: none; margin: 34px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .92rem; color: rgba(255, 255, 255, .75); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #ff5a6e; }
.motion-toggle { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding: 6px 12px 6px 9px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .18); transition: color .2s, border-color .2s, background .2s; }
[dir="rtl"] .motion-toggle { padding: 6px 9px 6px 12px; }
.motion-toggle:hover { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.motion-toggle .icon { width: 14px; height: 14px; }
.motion-toggle .icon-play { display: none; }
html[data-motion="off"] .motion-toggle .icon-play { display: block; }
html[data-motion="off"] .motion-toggle .icon-pause { display: none; }
html[data-motion="off"] .burst, html[data-motion="off"] .float-badge, html[data-motion="off"] .prompt-q::after, html[data-motion="off"] .tabs.is-auto .tab.is-active::after { animation: none !important; }
html[data-motion="off"] .tabs.is-auto .tab.is-active::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }
.burst { position: absolute; inset-inline-end: -6%; top: -8%; width: min(46vw, 520px); color: #fff; opacity: .07; pointer-events: none; z-index: 0; transition: transform .6s var(--ease); animation: breathe 9s ease-in-out infinite; }
.burst circle { fill: currentColor; }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.04; } }
.hero-visual { position: relative; perspective: 1200px; }
.record-caption { margin: 40px auto 0; max-width: 480px; text-align: center; font-size: .84rem; color: rgba(255, 255, 255, .6); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-badge { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 9px 13px; border-radius: 999px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); animation: floaty 7s ease-in-out infinite; }
.float-badge .icon { width: 16px; height: 16px; color: var(--accent); }
.float-badge-1 { bottom: -26px; inset-inline-start: 5%; animation-delay: -2s; }
.float-badge-2 { bottom: -16px; inset-inline-start: 4%; animation-delay: -4s; }
.float-badge-2 .icon { color: var(--sage); }

/* The record card: the hero's single visual. A patient's one shared record, entries from four sources. */
.record { position: relative; z-index: 1; margin-inline: auto; max-width: 480px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 22px 22px 18px; font-size: .92rem; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s; will-change: transform; }
.record.is-tilting { transition: transform .12s linear; }
.record::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none; opacity: .5; }
.record-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.av { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-weight: 700; font-size: .8rem; letter-spacing: .04em; flex: none; }
.av-accent { background: var(--accent-soft); color: var(--accent-ink); }
.record-head b { display: block; color: var(--ink); font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
html[lang="ar"] .record-head b { letter-spacing: 0; }
.record-head small { display: block; color: var(--muted); font-size: .82rem; }
.record-id { margin-inline-start: auto; text-align: end; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.record-id i { display: block; font-style: normal; color: var(--sage); font-family: var(--font); font-weight: 600; letter-spacing: 0; font-size: .74rem; }
.record-id i::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); margin-inline-end: 6px; vertical-align: 1px; }
/* Role views: the same record from three sides. */
.record-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 14px; padding: 4px; border-radius: 12px; background: var(--paper-2); }
.record-roles button { --role: var(--role-clinic); display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 8px; border-radius: 9px; font-size: .8rem; font-weight: 600; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.record-roles button[data-view="doctor"] { --role: var(--role-doctor); }
.record-roles button[data-view="patient"] { --role: var(--role-patient); }
.record-roles button i { width: 8px; height: 8px; border-radius: 50%; background: var(--role); opacity: .55; transition: opacity .25s; }
.record-roles button:hover { color: var(--ink); }
.record-roles button.is-active { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(14, 26, 51, .12); }
.record-roles button.is-active i { opacity: 1; }
.record-views { position: relative; min-height: 232px; margin-top: 6px; }
.view ul { list-style: none; margin: 0; padding: 6px 0 0; display: grid; gap: 2px; }
.view.is-active { animation: fadeUp .45s var(--ease); }
.view li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 8px; border-radius: 10px; }
.view li:hover { background: var(--paper-2); }
.view .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--role, var(--ink)); flex: none; }
.view[data-view="clinic"] { --role: var(--role-clinic); }
.view[data-view="doctor"] { --role: var(--role-doctor); }
.view[data-view="patient"] { --role: var(--role-patient); }
.view b { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.view small { display: block; color: var(--muted); font-size: .8rem; margin-top: 1px; }
.view li.locked { opacity: .55; }
.view li.locked .icon { color: var(--muted); }
.tag-demo { background: var(--amber-soft); color: var(--amber); }
.record-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .78rem; color: var(--muted); }
.record-foot .lock { display: inline-flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.record-foot .lock .icon { width: 14px; height: 14px; color: var(--sage); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .burst { inset-inline-end: -30%; top: -4%; width: 90vw; }
  .record { margin-top: 24px; }
  .float-badge-1 { bottom: -24px; inset-inline-start: 8px; }
  .float-badge-2 { display: none; }
}
@media (max-width: 520px) {
  .record { padding: 18px 16px 14px; }
  .entry { grid-template-columns: 14px 48px 1fr; }
}

/* ---------- Colophon: the platform in one running sentence, not a stat row ---------- */
.colophon { background: var(--band); color: var(--band-ink); position: relative; overflow: clip; }
.colophon::before { content: ""; position: absolute; inset-inline-end: -140px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent); pointer-events: none; }
.colophon-text { position: relative; padding: clamp(26px, 3.5vw, 44px) 0; font-family: var(--font-display); font-variation-settings: var(--display-settings); font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); line-height: 1.35; color: var(--band-ink); text-wrap: pretty; max-width: 46em; }
.colophon-text b { font-weight: 500; color: #fff; }
html[lang="ar"] .colophon-text { line-height: 1.7; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin-top: 18px; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.split-head .lead { margin-bottom: 6px; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }

/* ---------- Platform: role switcher ---------- */
.tab-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 56px); }
.tab { --role: var(--accent); position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; text-align: start; padding: 20px 16px 20px 0; border-inline-end: 1px solid var(--line); color: var(--muted); transition: color .25s; }
.tab[data-role="clinic"] { --role: var(--role-clinic); }
.tab[data-role="doctor"] { --role: var(--role-doctor); }
.tab[data-role="patient"] { --role: var(--role-patient); }
.tab[data-role="wa"] { --role: var(--role-wa); }
[dir="rtl"] .tab { padding: 20px 0 20px 16px; }
.tab + .tab { padding-inline-start: 18px; }
.tab:last-child { border-inline-end: 0; }
.tab .icon { width: 22px; height: 22px; grid-row: span 2; align-self: center; color: var(--line-strong); transition: color .25s; }
.tab b { display: block; font-weight: 600; color: var(--ink-2); font-size: 1rem; transition: color .25s; }
.tab small { display: block; font-size: .8rem; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--role); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
[dir="rtl"] .tab::after { transform-origin: right; }
.tab:hover { color: var(--ink-2); }
.tab:hover .icon { color: var(--role); }
.tab.is-active { color: var(--ink-2); }
.tab.is-active b { color: var(--ink); }
.tab.is-active .icon { color: var(--role); }
.tab.is-active::after { transform: scaleX(1); }
/* While the switcher rotates on its own, the underline fills over the dwell time. */
.tabs.is-auto .tab.is-active::after { animation: tabDwell 7s linear forwards; }
@keyframes tabDwell { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tab-panel { display: none; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tab-panel.is-active { display: grid; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tab-copy h3 { font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: var(--display-weight); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -.02em; line-height: 1.12; }
html[lang="ar"] .tab-copy h3 { letter-spacing: 0; font-weight: var(--display-weight); line-height: 1.4; }
.tab-copy > p { margin-top: 16px; color: var(--text); }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 24px; color: var(--text); }
.checks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.tab-copy .link, .tab-copy .btn, .tab-copy .store-badges { margin-top: 26px; }
@media (max-width: 1000px) {
  .tab-list { grid-template-columns: 1fr 1fr; }
  .tab:nth-child(2) { border-inline-end: 0; }
  .tab:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tab:nth-child(3) { padding-inline-start: 0; }
  .tab-panel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tab { padding: 14px 10px 14px 0; }
  [dir="rtl"] .tab { padding: 14px 0 14px 10px; }
  .tab + .tab { padding-inline-start: 12px; }
  .tab small { display: none; }
  .tab b { font-size: .92rem; }
}

/* App illustrations: ink-line compositions on paper, with one accent. Shared "ui" primitives. */
.ui { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; font-size: .82rem; color: var(--text); }
.ui-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.ui-bar b { color: var(--ink); font-weight: 600; }
.ui-bar .dots { display: inline-flex; gap: 5px; }
.ui-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.ui-bar .dots i:first-child { background: var(--accent); opacity: .8; }
.ui-bar .end { margin-inline-start: auto; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.tag-ok { background: var(--sage-soft); color: var(--sage); }
.tag-warn { background: var(--amber-soft); color: var(--amber); }
.tag-accent { background: var(--accent-soft); color: var(--accent-ink); }
.tag-wa { background: rgba(31, 174, 87, .14); color: var(--wa-ink); }
.tag-teal { background: var(--teal-soft); color: var(--teal-ink); }
:root[data-theme="dark"] .tag-wa { color: #7ee2a6; }

/* Clinic portal */
.ui-clinic { display: grid; grid-template-columns: 128px 1fr; min-height: 340px; }
.ui-side { border-inline-end: 1px solid var(--line); padding: 16px 0; background: var(--paper); }
.ui-side i { display: block; font-style: normal; padding: 7px 16px; color: var(--muted); font-size: .8rem; }
.ui-side i.on { color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
[dir="rtl"] .ui-side i.on { box-shadow: inset -3px 0 0 var(--accent); }
.ui-main { padding: 16px 18px; }
.ui-greet { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ui-greet b { font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.kpi { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; }
.kpi small { color: var(--muted); font-size: .72rem; }
.kpi strong { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: 700; font-size: 1.3rem; color: var(--ink); line-height: 1; white-space: nowrap; }
.ui-row2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; margin-top: 12px; }
.ui-chart { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.ui-chart b, .ui-list b { display: block; font-weight: 600; color: var(--ink); font-size: .78rem; margin-bottom: 8px; }
.ui-chart svg { width: 100%; height: 86px; }
.ui-chart .area { fill: var(--accent); opacity: .08; }
.ui-chart .line { stroke: var(--ink); stroke-width: 1.6; fill: none; }
.ui-chart .line2 { stroke: var(--accent); stroke-width: 1.6; fill: none; stroke-dasharray: 3 4; }
.ui-list { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.ui-list > div { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.ui-list > div > span:not(.av) { flex: 1; min-width: 0; }
.ui-list > div:first-of-type { border-top: 0; }
.ui-list .av { width: 28px; height: 28px; font-size: .62rem; }
.ui-list strong { display: block; font-weight: 600; color: var(--ink); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-list small { display: block; color: var(--muted); font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-list .tag { margin-inline-start: auto; }
@media (max-width: 560px) {
  .ui-clinic { grid-template-columns: 1fr; }
  .ui-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .ui-row2 { grid-template-columns: 1fr; }
}

/* Doctor encounter */
.ui-doctor .ui-main { padding: 18px; }
.enc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.enc-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.enc-card b { display: block; font-size: .76rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.enc-card p { font-size: .82rem; color: var(--text); }
.enc-card .tag { margin: 8px 6px 0 0; }
.code { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .82rem; }
.code code { font-family: var(--font-mono); font-size: .76rem; padding: 2px 7px; border-radius: 6px; background: var(--paper-2); color: var(--ink); direction: ltr; }
.enc-rx { grid-column: span 2; }
.rx-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: .82rem; }
.rx-line:first-of-type { border-top: 0; }
.rx-line span { color: var(--ink); font-weight: 600; }
.rx-line small { color: var(--muted); }
.enc-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .enc { grid-template-columns: 1fr; } .enc-rx { grid-column: auto; } }

/* MiRecord phone */
.phone { width: 270px; margin-inline: auto; padding: 12px; border-radius: 40px; background: var(--ink); box-shadow: var(--shadow-card); }
:root[data-theme="dark"] .phone { background: #000; }
.phone-screen { border-radius: 30px; background: var(--card); overflow: hidden; padding: 16px 14px 12px; font-size: .8rem; min-height: 470px; display: flex; flex-direction: column; gap: 10px; }
.phone-top { display: flex; align-items: center; gap: 10px; }
.phone-top b { color: var(--ink); font-weight: 600; }
.phone-top .av { width: 30px; height: 30px; font-size: .62rem; }
.phone-hero { padding: 14px; border-radius: 16px; background: var(--teal-ink); color: #f1faf8; }
:root[data-theme="dark"] .phone-hero { background: #0f4b45; color: #e6f7f4; }
.phone-hero small { display: block; opacity: .7; font-size: .7rem; }
.phone-hero b { display: block; margin-top: 4px; font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: 700; font-size: 1.15rem; }
.phone-hero span { display: block; margin-top: 2px; font-size: .76rem; opacity: .8; }
.phone-card { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; }
.phone-card .icon { width: 18px; height: 18px; color: var(--teal); }
.phone-nav i.on { background: var(--teal); }
.phone-card b { display: block; color: var(--ink); font-weight: 600; font-size: .82rem; }
.phone-card i { display: block; font-style: normal; color: var(--muted); font-size: .72rem; }
.phone-nav { margin-top: auto; display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid var(--line); }
.phone-nav i { width: 18px; height: 4px; border-radius: 2px; background: var(--line); }
.phone-nav i.on { background: var(--accent); }

/* WhatsApp conversation */
.chat { max-width: 420px; margin-inline: auto; }
.chat .ui-bar img { width: 28px; height: 28px; border-radius: 50%; }
.chat-body { padding: 16px; display: grid; gap: 8px; background: var(--paper); }
.bubble { max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: .86rem; line-height: 1.45; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); animation: popin .35s var(--ease) both; }
.bubble.in { justify-self: end; background: var(--ink); color: var(--paper); border-color: var(--ink); border-end-end-radius: 4px; }
:root[data-theme="dark"] .bubble.in { background: var(--paper-3); color: var(--ink); border-color: var(--paper-3); }
.bubble.out { justify-self: start; border-end-start-radius: 4px; }
@keyframes popin { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- Journey: scroll-driven story ---------- */
.journey { background: var(--paper-teal); position: relative; }
.journey-steps { position: relative; }
.journey-steps::before { content: ""; position: absolute; inset-inline-start: 11px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.journey-steps::after { content: ""; position: absolute; inset-inline-start: 11px; top: 0; width: 2px; height: var(--progress, 0%); background: var(--accent); transition: height .5s var(--ease); }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.journey-steps { list-style: none; margin: 0; padding: 0; }
.jstep { position: relative; padding: clamp(28px, 5vh, 56px) 0 clamp(28px, 5vh, 56px) 64px; min-height: 42vh; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; justify-content: center; }
[dir="rtl"] .jstep { padding: clamp(28px, 5vh, 56px) 64px clamp(28px, 5vh, 56px) 0; }
.jstep:first-child { border-top: 0; }
.jstep .num { position: absolute; inset-inline-start: 0; top: calc(clamp(28px, 5vh, 56px) + 2px); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-teal); border: 2px solid var(--line); font-family: var(--font-display); font-variation-settings: var(--display-settings); font-size: .85rem; color: var(--muted); transition: color .4s, border-color .4s, background .4s; line-height: 1; z-index: 1; }
.jstep.is-active .num { background: var(--accent); border-color: var(--accent); color: #fff; }
.jstep { cursor: pointer; }
.jstep:hover h3 { color: var(--ink); }
.jstep h3 { font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: var(--display-weight); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -.02em; color: var(--muted); transition: color .4s; line-height: 1.1; }
html[lang="ar"] .jstep h3 { letter-spacing: 0; font-weight: var(--display-weight); line-height: 1.4; }
.jstep p { margin-top: 12px; max-width: 30em; color: var(--muted); transition: color .4s; }
.jstep .who { display: inline-flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.jstep.is-active h3 { color: var(--ink); }
.jstep.is-active p { color: var(--text); }
.journey-stage { position: sticky; top: calc(var(--header-h) + 24px); height: calc(100vh - var(--header-h) - 48px); max-height: 720px; display: grid; place-items: center; }
.stage { position: relative; width: 100%; max-width: 440px; aspect-ratio: 4 / 4.4; }
.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.scene.is-active { opacity: 1; transform: none; pointer-events: auto; }
.scene > * { width: 100%; }
.stamp { position: absolute; inset-inline-end: 14px; top: 14px; padding: 6px 10px; border: 1.5px solid var(--accent); color: var(--accent); border-radius: 6px; font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-6deg); background: var(--card); }
[dir="rtl"] .stamp { transform: rotate(6deg); }
html[lang="ar"] .stamp { letter-spacing: 0; text-transform: none; font-size: .78rem; }
@media (max-width: 900px) {
  .journey-grid { grid-template-columns: 1fr; gap: 0; }
  .journey-stage { order: -1; top: var(--header-h); height: auto; max-height: none; padding: 12px 0 16px; background: var(--paper-teal); z-index: 2; }
  .stage { max-width: 380px; aspect-ratio: auto; height: min(52vh, 420px); }
  .jstep { min-height: 0; padding: 26px 0 26px 48px; }
  [dir="rtl"] .jstep { padding: 26px 48px 26px 0; }
  .jstep .num { top: 30px; }
  .jstep:first-child { border-top: 1px solid var(--line-strong); }
}

/* Scene: results list */
.results { padding: 14px 16px; display: grid; gap: 8px; }
.result { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.result.pick { border-color: var(--ink); }
.result strong { display: block; color: var(--ink); font-weight: 600; font-size: .86rem; }
.result small { display: block; color: var(--muted); font-size: .74rem; }
.result .fee { margin-inline-start: auto; font-family: var(--font-display); font-variation-settings: var(--display-settings); font-size: 1rem; color: var(--ink); white-space: nowrap; }

/* Scene: ticket */
.ticket { max-width: 360px; margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); overflow: hidden; position: relative; }
.ticket-top { padding: 20px 22px 16px; border-bottom: 1px dashed var(--line-strong); }
.ticket-top small { display: block; color: var(--sage); font-weight: 600; font-size: .8rem; }
.ticket-top b { display: block; margin-top: 6px; font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: var(--display-weight); font-size: 1.7rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
html[lang="ar"] .ticket-top b { letter-spacing: 0; font-weight: var(--display-weight); }
.ticket-top span { display: block; margin-top: 4px; color: var(--muted); font-size: .86rem; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: calc(50% - 12px); width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); }
.ticket::before { inset-inline-start: -12px; }
.ticket::after { inset-inline-end: -12px; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 16px 22px; }
.ticket-grid small { display: block; color: var(--muted); font-size: .7rem; }
.ticket-grid strong { font-variant-numeric: tabular-nums; display: block; color: var(--ink); font-weight: 600; font-size: .95rem; margin-top: 2px; }
.ticket-foot { padding: 12px 22px 18px; display: flex; gap: 8px; flex-wrap: wrap; }

/* Scene: queue */
.queue .ui-list { border: 0; padding: 14px 16px; }

/* Scene: prescription paper (always paper-coloured, it is a printed document) */
.rx { max-width: 380px; margin-inline: auto; background: #fffdf9; color: #2b3550; border: 1px solid #d9d2c5; border-radius: 6px; box-shadow: var(--shadow-card); padding: 22px 24px; position: relative; font-size: .84rem; }
.rx-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid #0e1a33; }
.rx-head b { display: block; color: #0e1a33; font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: 700; font-size: 1.1rem; }
.rx-head small { display: block; color: #6b7390; font-size: .72rem; }
.rx-head img { width: 34px; height: 34px; }
.rx-meta { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: .76rem; color: #6b7390; border-bottom: 1px solid #d9d2c5; }
.rx-meta b { color: #0e1a33; font-weight: 600; }
.rx-drug { padding: 10px 0; border-bottom: 1px dashed #d9d2c5; }
.rx-drug b { display: block; color: #0e1a33; font-weight: 700; }
.rx-drug span { display: block; color: #6b7390; font-size: .76rem; margin-top: 2px; }
.rx-sig { margin-top: 14px; display: flex; justify-content: space-between; align-items: flex-end; font-size: .72rem; color: #6b7390; }
.rx-sig i { display: block; width: 110px; height: 1px; background: #0e1a33; margin-top: 18px; }
.rx .stamp { inset-inline-end: 18px; top: auto; bottom: 54px; color: #b3001b; border-color: #b3001b; background: #fffdf9; }

/* ---------- Capabilities: four groups, three lines each ---------- */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(20px, 3vw, 40px); border-top: 1px solid var(--line-strong); }
.cap-group { --role: var(--role-clinic); padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.cap-group[data-role="doctor"] { --role: var(--role-doctor); }
.cap-group[data-role="patient"] { --role: var(--role-patient); }
.cap-group[data-role="wa"] { --role: var(--role-wa); }
.cap-group h3 { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.cap-group h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--role); }
.cap-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cap-group b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); letter-spacing: -.01em; line-height: 1.25; }
html[lang="ar"] .cap-group b { letter-spacing: 0; }
.cap-group span { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 1000px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } .cap-group { padding: 20px 0 22px; } }

/* ---------- Compare ---------- */
.compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .97rem; }
.compare th { text-align: start; font-weight: 600; font-size: .9rem; color: var(--muted); padding: 0 16px 14px; border-bottom: 1px solid var(--line-strong); vertical-align: bottom; }
.compare tbody tr { transition: background .2s; }
.compare tbody tr:hover td { background: var(--paper-2); }
.compare tbody tr:hover td.hl { background: var(--accent-soft); }
.compare th:first-child, .compare td:first-child { padding-inline-start: 0; }
.compare th.hl { color: var(--ink); }
.compare th.hl img { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-inline-end: 6px; }
.compare td { padding: 15px 16px; border-bottom: 1px solid var(--line); color: var(--text); vertical-align: middle; }
.compare td:not(:first-child) { text-align: center; width: 22%; }
.compare td:first-child { font-weight: 500; color: var(--ink-2); }
.mark { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-strong); vertical-align: middle; }
.mark-yes { background: var(--accent); border-color: var(--accent); }
.mark-part { background: linear-gradient(90deg, var(--line-strong) 50%, transparent 50%); }
.compare td.hl, .compare th.hl { background: var(--paper-2); }
.compare-key { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; font-size: .84rem; color: var(--muted); }
.compare-key span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Assistant: the one dark band ---------- */
.assistant { background: var(--ink); color: var(--paper); position: relative; overflow: clip; }
:root[data-theme="dark"] .assistant { background: #060b18; }
.assistant h2, .assistant h3 { color: var(--paper); }
.assistant .eyebrow { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.assistant .lead { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.assistant .checks li { color: color-mix(in srgb, var(--paper) 82%, transparent); }
.assistant .burst { opacity: .08; color: #fff; inset-inline-end: -10%; top: -20%; }
.assistant-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; position: relative; z-index: 1; }
.assistant .btn-outline { --btn-fg: var(--paper); --btn-bd: color-mix(in srgb, var(--paper) 35%, transparent); }
.assistant .btn-outline:hover { --btn-bd: var(--paper); }
.console { border: 1px solid color-mix(in srgb, var(--paper) 16%, transparent); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--paper) 5%, transparent); padding: 18px; min-height: 360px; display: flex; flex-direction: column; }
.console-bar { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: color-mix(in srgb, var(--paper) 60%, transparent); padding-bottom: 14px; border-bottom: 1px solid color-mix(in srgb, var(--paper) 12%, transparent); }
.console-bar .end { margin-inline-start: auto; }
.console-ask { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; }
.console-ask input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; color: var(--paper); background: color-mix(in srgb, var(--paper) 7%, transparent); border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); border-radius: 999px; padding: 10px 16px; min-height: 44px; }
.console-ask input::placeholder { color: color-mix(in srgb, var(--paper) 45%, transparent); }
.console-ask input:focus { outline: none; border-color: var(--paper); }
.console-ask button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); transition: background .2s, transform .2s; }
.console-ask button:hover { background: #fff; transform: translateY(-1px); }
.console-ask .icon { width: 18px; height: 18px; }
.console-bar .live { width: 7px; height: 7px; border-radius: 50%; background: #6fcf9a; box-shadow: 0 0 0 3px rgba(111, 207, 154, .2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; }
.chip { padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: color-mix(in srgb, var(--paper) 75%, transparent); border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); transition: background .2s, color .2s, border-color .2s; }
.chip:hover, .chip.is-active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.prompt-q { font-family: var(--font-display); font-variation-settings: var(--display-settings); font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); line-height: 1.25; min-height: 2.6em; color: var(--paper); letter-spacing: -.01em; }
html[lang="ar"] .prompt-q { letter-spacing: 0; line-height: 1.5; }
.prompt-q::after { content: "|"; margin-inline-start: 2px; color: var(--accent); animation: blink 1s steps(2) infinite; }
.prompt-q.is-done::after { opacity: 0; animation: none; }
.prompt-a { margin-top: 16px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--paper) 12%, transparent); font-size: .92rem; color: color-mix(in srgb, var(--paper) 85%, transparent); }
.prompt-a b { color: var(--paper); font-weight: 600; }
.prompt-a .slot { display: inline-block; padding: 3px 9px; margin: 4px 6px 0 0; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); font-family: var(--font-mono); font-size: .78rem; direction: ltr; }
.prompt-a .ask { display: block; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--paper) 8%, transparent); font-weight: 600; color: var(--paper); }
.prompt-a .ask::before { content: "\2192  "; color: var(--accent); }
[dir="rtl"] .prompt-a .ask::before { content: "\2190  "; }
@media (max-width: 900px) { .assistant-grid { grid-template-columns: 1fr; } }

/* ---------- Trust principles ---------- */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--line-strong); counter-reset: pr; }
.principles li { counter-increment: pr; padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.principles li::before { content: counter(pr, decimal-leading-zero); display: block; font-family: var(--font-display); font-variation-settings: var(--display-settings); font-size: 2rem; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.principles h3 { font-size: 1.2rem; font-weight: 600; }
.principles p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } .principles li { padding: 20px 0 24px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: var(--display-weight); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); letter-spacing: -.015em; color: var(--ink); transition: color .2s; }
html[lang="ar"] .faq summary { letter-spacing: 0; font-weight: var(--display-weight); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); margin-inline-end: 4px; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 0 24px; max-width: 42em; color: var(--text); }

/* ---------- Contact ---------- */
.contact { background: var(--paper-rose); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { width: 20px; height: 20px; color: var(--accent); }
.contact-list a { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.contact-list a:hover { color: var(--accent); border-color: var(--accent); }
.next-steps { list-style: none; counter-reset: ns; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.next-steps li::before { content: counter(ns, decimal-leading-zero); grid-row: span 2; font-family: var(--font-display); font-variation-settings: var(--display-settings); font-size: 1.4rem; color: var(--accent); line-height: 1.2; }
.next-steps b { color: var(--ink); font-weight: 600; }
.next-steps span { color: var(--muted); font-size: .92rem; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-card); }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; min-height: 48px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent); background: var(--card); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7390' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-inline-end: 38px; }
[dir="rtl"] .field select { background-position: left 14px center; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-hint { margin: -6px 0 16px; font-size: .82rem; color: var(--muted); }
.field-hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; opacity: 0; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field-check input { width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; padding: 0; accent-color: var(--accent); }
.field-check label { font-weight: 400; color: var(--text); font-size: .88rem; line-height: 1.5; }
.field-check.is-invalid label { color: var(--accent-ink); }
.form-error { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: .9rem; font-weight: 500; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--muted); }
.form-success { text-align: center; padding: 20px 8px; }
.form-success .icon { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--sage); }
.form-success h3 { font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: var(--display-weight); font-size: 1.7rem; letter-spacing: -.02em; }
html[lang="ar"] .form-success h3 { letter-spacing: 0; font-weight: var(--display-weight); }
.form-success p { margin-top: 10px; color: var(--text); }
.form-success strong { font-family: var(--font-mono); color: var(--ink); }
.form-success .btn { margin-top: 20px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--ink); min-height: 50px; transition: border-color .2s, transform .2s var(--ease); }
.store:hover { border-color: var(--ink); transform: translateY(-1px); }
.store .icon { width: 22px; height: 22px; }
.store small { display: block; font-size: .7rem; color: var(--muted); line-height: 1; }
.store strong { display: block; font-weight: 600; font-size: .98rem; line-height: 1.2; }
.store-soon { opacity: .55; cursor: default; }
.store-soon:hover { border-color: var(--line-strong); transform: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-strong); padding: clamp(40px, 6vw, 72px) 0 90px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { margin: 16px 0 20px; max-width: 30em; color: var(--muted); font-size: .92rem; }
.site-footer h3 { font-size: .88rem; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer-links > a, .footer-link { display: block; padding: 5px 0; color: var(--text); font-size: .95rem; text-align: start; }
.footer-links > a:hover, .footer-link:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.footer-status { display: inline-flex; align-items: center; gap: 8px; }
.footer-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.footer-status.is-ok i { background: var(--sage); box-shadow: 0 0 0 3px var(--sage-soft); }
.footer-status.is-down i { background: var(--amber); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- Floating things ---------- */
.wa-float { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px 11px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .35s var(--ease), background .2s, visibility .3s; }
[dir="rtl"] .wa-float { padding: 11px 12px 11px 16px; }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { background: var(--wa-ink); color: #fff; }
.wa-float .icon { width: 20px; height: 20px; color: var(--wa); }
.wa-float:hover .icon { color: #fff; }
.back-top { position: fixed; inset-inline-start: 22px; bottom: 22px; z-index: 80; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top .icon { transform: rotate(-90deg); width: 18px; height: 18px; }
.mobile-cta { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 120; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .9rem; opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .3s; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.consent { position: fixed; inset-inline-end: 22px; bottom: 80px; z-index: 110; width: min(380px, calc(100vw - 44px)); padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
.consent-title { font-family: var(--font-display); font-variation-settings: var(--display-settings); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.consent-text { margin-top: 8px; font-size: .88rem; color: var(--text); }
.consent-text a { text-decoration: underline; text-underline-offset: .18em; }
.consent-actions { display: flex; gap: 8px; margin-top: 14px; }
.consent-actions .btn { min-height: 40px; font-size: .9rem; }
@media (max-width: 760px) {
  .site-footer { padding-bottom: 96px; }
  .wa-float, .back-top { display: none; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .mobile-cta.is-visible { transform: none; visibility: visible; }
  .mobile-cta .btn-whatsapp { width: 46px; padding: 0; }
  .consent { inset-inline-end: 12px; bottom: 84px; width: calc(100vw - 24px); }
}

/* ---------- Secondary pages ---------- */
.page-404 { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.page-404 h1 { font-size: clamp(5rem, 14vw, 10rem); color: var(--line-strong); line-height: 1; }
.page-404 h2 { margin-top: 10px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.page-404 p { margin: 14px 0 28px; color: var(--muted); }
.page-privacy { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(60px, 8vw, 120px); max-width: 820px; }
.page-privacy h1 { font-size: clamp(2.4rem, 1.8rem + 2.5vw, 4rem); }
.page-privacy .privacy-meta { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.page-privacy h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.page-privacy p, .page-privacy li { margin-top: 12px; color: var(--text); }
.page-privacy ul { padding-inline-start: 22px; }
.page-privacy code { font-family: var(--font-mono); font-size: .9em; padding: 1px 6px; border-radius: 6px; background: var(--paper-2); }
.page-privacy article[hidden] { display: none; }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .entry { opacity: 1; transform: none; }
  .prompt-q::after { animation: none; }
  .burst, .float-badge { animation: none; }
  .tabs.is-auto .tab.is-active::after { animation: none; transform: scaleX(1); }
}
