/* QuotaSpot website - plain CSS. Only web font: self-hosted Cairo for the Arabic page (see the end).
 * Logical properties throughout (margin-inline, inset-inline-start...) so dir="rtl" mirrors the layout.
 * Light/dark: follows the device, overridable with [data-theme] on <html> (see assets/js/theme.js). */

/* ------------------------------------------------------------------ tokens */
:root {
  --bg: #fafaf7;
  --bg-2: #f1f0ea;
  --surface: #ffffff;
  --surface-2: #f6f5f0;
  --ink: #0f172a;
  --muted: #4a5568;
  --border: #e3e1d9;
  --teal: #0f766e;
  --teal-strong: #0b5c55;
  --teal-bright: #14b8a6;
  --teal-soft: #e2f2ef;
  --amber: #f59e0b;
  --amber-strong: #d97706;
  --amber-soft: #fdf1d2;
  --amber-ink: #8a4b06;
  --on-teal: #ffffff;
  --on-amber: #1c1206;
  --danger: #b42318;
  --danger-soft: #fde5e2;
  --ok: #15803d;
  --ok-soft: #dcf5e3;
  --focus: #2563eb;
  --hero-glow-1: rgb(20 184 166 / 22%);
  --hero-glow-2: rgb(245 158 11 / 20%);
  --grid-dot: rgb(15 23 42 / 7%);
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 6%), 0 2px 8px rgb(15 23 42 / 4%);
  --shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 12px 32px -8px rgb(15 23 42 / 14%);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / 6%), 0 30px 60px -20px rgb(15 23 42 / 30%);
  --radius: 20px;
  --radius-sm: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 72rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #081312; --bg-2: #0c1a19; --surface: #0f201f; --surface-2: #132827; --ink: #e7f0ee; --muted: #9db3af;
    --border: #1f3936; --teal: #2dd4bf; --teal-strong: #5eead4; --teal-bright: #2dd4bf; --teal-soft: #0f2e2b;
    --amber: #fbbf24; --amber-strong: #f59e0b; --amber-soft: #2c2109; --amber-ink: #fcd34d;
    --on-teal: #032421; --on-amber: #1c1206; --danger: #fda29b; --danger-soft: #3a1714; --ok: #6ee7a0; --ok-soft: #10301f;
    --focus: #93b4ff; --hero-glow-1: rgb(45 212 191 / 16%); --hero-glow-2: rgb(251 191 36 / 10%); --grid-dot: rgb(231 240 238 / 6%);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%); --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 14px 34px -10px rgb(0 0 0 / 60%);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 40%), 0 30px 70px -20px rgb(0 0 0 / 75%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #081312; --bg-2: #0c1a19; --surface: #0f201f; --surface-2: #132827; --ink: #e7f0ee; --muted: #9db3af;
  --border: #1f3936; --teal: #2dd4bf; --teal-strong: #5eead4; --teal-bright: #2dd4bf; --teal-soft: #0f2e2b;
  --amber: #fbbf24; --amber-strong: #f59e0b; --amber-soft: #2c2109; --amber-ink: #fcd34d;
  --on-teal: #032421; --on-amber: #1c1206; --danger: #fda29b; --danger-soft: #3a1714; --ok: #6ee7a0; --ok-soft: #10301f;
  --focus: #93b4ff; --hero-glow-1: rgb(45 212 191 / 16%); --hero-glow-2: rgb(251 191 36 / 10%); --grid-dot: rgb(231 240 238 / 6%);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%); --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 14px 34px -10px rgb(0 0 0 / 60%);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / 40%), 0 30px 70px -20px rgb(0 0 0 / 75%);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-block-start: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.15; margin-block: 0 0.5em; letter-spacing: -0.02em; text-wrap: balance; }
p { margin-block: 0 1em; }
p, li { text-wrap: pretty; }
a { color: var(--teal); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-strong); }
img { max-inline-size: 100%; block-size: auto; display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }
.visually-hidden { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-inline-size: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (max-width: 420px) { .wrap { padding-inline: 16px; } }
.skip-link { position: absolute; inset-inline-start: 12px; inset-block-start: -80px; z-index: 100; background: var(--teal); color: var(--on-teal); padding: 0.6em 1em; border-radius: var(--radius-sm); }
.skip-link:focus { inset-block-start: 12px; }
.icon { inline-size: 1.2em; block-size: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .flip { transform: scaleX(-1); }
mark { background: var(--amber-soft); color: inherit; padding-inline: 0.15em; border-radius: 4px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-block-size: 50px; padding: 0.7em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-amber { background: var(--amber); color: var(--on-amber); box-shadow: 0 8px 22px -8px rgb(245 158 11 / 70%); }
.btn-amber:hover { background: var(--amber-strong); color: var(--on-amber); }
.btn-teal { background: var(--teal); color: var(--on-teal); box-shadow: 0 8px 22px -10px rgb(15 118 110 / 70%); }
.btn-teal:hover { background: var(--teal-strong); color: var(--on-teal); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--teal); color: var(--ink); }
.btn-small { min-block-size: 40px; padding: 0.4em 1em; font-size: 0.95rem; }
.btn-block { inline-size: 100%; }
.btn[aria-disabled="true"] { background: var(--surface-2); color: var(--muted); border-color: var(--border); box-shadow: none; cursor: default; transform: none; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-block-end: 1px solid transparent; transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-block-end-color: var(--border); }
.header-row { display: flex; align-items: center; gap: 16px; min-block-size: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.logo-mark { inline-size: 34px; block-size: 34px; flex: none; }
.lm-bg { fill: var(--teal); }
.lm-arc { fill: none; stroke: var(--on-teal); stroke-width: 4; stroke-linecap: round; }
.lm-track { fill: none; stroke: var(--on-teal); stroke-opacity: 0.3; stroke-width: 4; stroke-linecap: round; }
.lm-fill { fill: none; stroke: var(--amber); stroke-width: 4; stroke-linecap: round; }
.lm-dot { fill: var(--on-teal); }
.brand-spot { color: var(--teal); }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 0.5em 0.75em; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  inline-size: 42px; block-size: 42px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0;
}
.icon-btn:hover { border-color: var(--teal); }
.icon-btn .icon { inline-size: 20px; block-size: 20px; }
.theme-icon-dark { display: none; }
[aria-pressed="true"] .theme-icon-dark { display: block; }
[aria-pressed="true"] .theme-icon-light { display: none; }
.menu-btn { display: none; }
.lang-link {
  display: inline-flex; align-items: center; min-block-size: 42px; padding: 0 0.95em; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 0.92rem;
  text-decoration: none; white-space: nowrap;
}
.lang-link:hover { border-color: var(--teal); color: var(--ink); }
.lang-note { font-size: 0.8em; font-weight: 500; opacity: 0.8; white-space: nowrap; }
@media (max-width: 920px) {
  .nav { display: none; }
  .header-actions { margin-inline-start: auto; }
  .menu-btn { display: inline-grid; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; inset-inline: 12px; inset-block-start: 66px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-lg);
  }
  .site-header.menu-open .nav a { padding: 0.8em 1em; font-size: 1.05rem; }
}
@media (max-width: 520px) { .header-cta { display: none; } }

/* ------------------------------------------------------------------ sections */
.section { padding-block: clamp(64px, 9vw, 116px); position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { max-inline-size: 46rem; margin-inline: auto; text-align: center; margin-block-end: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.13rem; }
.eyebrow, .section-head .eyebrow, .problem-copy > .eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em; margin: 0 0 1em; padding: 0.35em 0.9em;
  border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.eyebrow-amber { background: var(--amber-soft); color: var(--amber-ink); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: clip; padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 104px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(40rem 28rem at 85% 20%, var(--hero-glow-1), transparent 70%),
    radial-gradient(34rem 26rem at 10% 90%, var(--hero-glow-2), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--grid-dot) 1.2px, transparent 1.2px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 95%); -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 95%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(24px, 5vw, 64px); }
.hero h1 { font-size: clamp(2.4rem, 1.3rem + 4.6vw, 4.4rem); font-weight: 850; letter-spacing: -0.035em; line-height: 1.04; margin-block-end: 0.35em; }
.hero h1 .hl {
  color: var(--teal); padding-block-end: 0.04em;
  background: linear-gradient(var(--amber), var(--amber)) no-repeat 0 92% / 100% 0.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--muted); max-inline-size: 34rem; }
.hero-lead strong { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px 22px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.hero-facts li { display: inline-flex; align-items: center; gap: 0.45em; }
.hero-facts .icon { color: var(--teal); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-ctas, .hero-facts { justify-content: center; }
}
@media (max-width: 420px) { .hero-ctas .btn { inline-size: 100%; } }

/* hero visual */
.hero-visual { position: relative; display: grid; place-items: center; min-block-size: 620px; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: -1; }
.rings span {
  position: absolute; inline-size: 300px; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--teal);
  opacity: 0; animation: ring 6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.rings span:nth-child(2) { animation-delay: 2s; }
.rings span:nth-child(3) { animation-delay: 4s; }
@keyframes ring { 0% { transform: scale(0.6); opacity: 0.35; } 100% { transform: scale(2.1); opacity: 0; } }

.phone {
  position: relative; inline-size: 290px; aspect-ratio: 9 / 18.6; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #1e293b, #0b1220); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgb(255 255 255 / 10%);
}
.phone::before { content: ""; position: absolute; inset-block-start: 20px; inset-inline-start: 50%; translate: -50% 0; inline-size: 84px; block-size: 22px; border-radius: 99px; background: #05080f; z-index: 2; }
.phone-screen {
  block-size: 100%; border-radius: 36px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #10202b 0%, #173843 100%); color: #0f172a;
  display: flex; flex-direction: column; padding: 52px 14px 16px; font-size: 13px; line-height: 1.35;
}
.ps-bar { position: absolute; inset-block-start: 18px; inset-inline: 26px; display: flex; justify-content: space-between; color: #e2e8f0; font-size: 11px; font-weight: 700; }
.ps-card { background: #fff; border-radius: 22px; padding: 18px 16px 16px; box-shadow: 0 12px 30px rgb(0 0 0 / 35%); }
.ps-biz { text-align: center; font-weight: 850; font-size: 19px; letter-spacing: -0.02em; margin: 0; }
.ps-sub { text-align: center; text-transform: uppercase; letter-spacing: 0.22em; font-size: 9.5px; color: #64748b; margin: 2px 0 10px; }
.ps-line { block-size: 2px; margin-inline: 22px; border-radius: 2px; background: linear-gradient(90deg, #0f172a, #2dd4bf, #0f172a); margin-block-end: 12px; }
.ps-hello { font-weight: 750; font-size: 14px; margin: 0; }
.ps-chip { display: inline-flex; align-items: center; gap: 5px; background: #dcfce7; color: #15803d; font-weight: 700; border-radius: 99px; padding: 3px 10px; font-size: 11px; }
.ps-chip::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: currentColor; animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.ps-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.gauge { position: relative; margin: 6px auto 2px; inline-size: 190px; }
.gauge svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
.g-track { fill: none; stroke: #e2e8f0; stroke-width: 16; stroke-linecap: round; }
.g-fill { fill: none; stroke: url(#gGrad); stroke-width: 16; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 40; }
.g-tick { fill: none; stroke: #0f172a; stroke-width: 2; stroke-dasharray: 1 6.2; opacity: 0.25; }
.gauge-num { position: absolute; inset-inline: 0; inset-block-end: 2px; text-align: center; }
.gauge-num b { display: block; font-size: 28px; font-weight: 850; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge-num > span { font-size: 11px; color: #64748b; font-weight: 600; }
.ps-bars { display: grid; gap: 8px; margin-block: 10px 10px; }
.ps-label { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: #334155; margin-block-end: 4px; }
.ps-label span:last-child { font-variant-numeric: tabular-nums; }
.ps-track { block-size: 7px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.ps-track i { display: block; block-size: 100%; border-radius: inherit; background: #16a34a; inline-size: var(--w, 40%); transform-origin: left; }
[dir="rtl"] .ps-track i { transform-origin: right; }
.ps-foot { text-align: center; font-size: 11px; color: #64748b; margin: 0; display: flex; align-items: center; justify-content: center; gap: 5px; }
.ps-foot .icon { inline-size: 13px; block-size: 13px; }
.ps-admin { margin-block-start: auto; color: #cbd5e1; font-size: 10.5px; text-align: center; opacity: 0.85; }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 0.86rem; line-height: 1.3;
  animation: bob 7s ease-in-out infinite; max-inline-size: 230px;
}
.float-card b { display: block; font-size: 0.92rem; }
.float-card small { color: var(--muted); font-size: 0.8rem; }
.fc-ico { flex: none; inline-size: 34px; block-size: 34px; border-radius: 10px; display: grid; place-items: center; }
.fc-ico .icon { inline-size: 18px; block-size: 18px; }
.fc-ico-teal { background: var(--teal-soft); color: var(--teal); }
.fc-ico-amber { background: var(--amber-soft); color: var(--amber-ink); }
.fc-ico-red { background: var(--danger-soft); color: var(--danger); }
.fc-1 { inset-block-start: 1%; inset-inline-start: -2%; }
.fc-2 { inset-block-start: 68%; inset-inline-end: -4%; animation-delay: -2.5s; }
.fc-3 { inset-block-end: 3%; inset-inline-start: -2%; animation-delay: -5s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 1100px) { .float-card { max-inline-size: 210px; } .fc-1, .fc-3 { inset-inline-start: 0; } .fc-2 { inset-inline-end: 0; } }
@media (max-width: 900px) { .fc-1, .fc-3 { inset-inline-start: 6%; } .fc-2 { inset-inline-end: 6%; } }
@media (max-width: 560px) {
  .hero-visual { min-block-size: 0; padding-block: 8px 0; }
  .phone { inline-size: 250px; }
  .float-card { position: relative; inset: auto; max-inline-size: none; animation: none; margin-block-start: 10px; inline-size: min(100%, 320px); }
  .hero-visual { display: flex; flex-direction: column; align-items: center; }
  .fc-1 { order: 2; margin-block-start: 18px; }
  .fc-2 { order: 3; }
  .fc-3 { display: none; }
}

/* ------------------------------------------------------------------ problem */
.problem-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.problem-copy h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; }
.problem-copy > p { color: var(--muted); font-size: 1.13rem; }
.pain-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.pain-list li { display: flex; gap: 14px; align-items: flex-start; }
.pain-list .pi { flex: none; inline-size: 40px; block-size: 40px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); display: grid; place-items: center; }
.pain-list b { display: block; }
.pain-list span { color: var(--muted); font-size: 0.98rem; }
.compare { display: grid; gap: 16px; }
.lane-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.lane-card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-block-end: 14px; }
.tag { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3em 0.7em; border-radius: 99px; }
.tag-bad { background: var(--danger-soft); color: var(--danger); }
.tag-good { background: var(--teal-soft); color: var(--teal); }
.lanes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lane { display: grid; grid-template-columns: 34px 8.5rem 1fr; align-items: center; gap: 10px; font-size: 0.92rem; }
.avatar { inline-size: 34px; block-size: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: #fff; }
.av-1 { background: #e11d48; } .av-2 { background: #7c3aed; } .av-3 { background: #0891b2; } .av-4 { background: #ca8a04; }
.lane-name b { display: block; line-height: 1.2; }
.lane-name small { color: var(--muted); }
.bar { position: relative; block-size: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--border); }
.bar i { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: var(--w); border-radius: inherit; background: var(--c, var(--teal)); }
.bar-hog i { --c: linear-gradient(90deg, #f97316, #dc2626); }
.bar-starved i { --c: #94a3b8; }
.bar-fair i { --c: linear-gradient(90deg, var(--teal), var(--teal-bright)); }
.bar-capped i { --c: linear-gradient(90deg, var(--amber), var(--amber-strong)); }
.lane-cap { position: absolute; inset-block: 0; inset-inline-start: 62%; border-inline-start: 2px dashed var(--ink); opacity: 0.45; }
.lane-wrap { position: relative; }
.lane-note { margin: 12px 0 0; font-size: 0.86rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.lane-note .dash { inline-size: 18px; border-block-start: 2px dashed var(--ink); opacity: 0.4; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .lane { grid-template-columns: 30px 6.6rem 1fr; font-size: 0.86rem; } .avatar { inline-size: 30px; block-size: 30px; } }

/* ------------------------------------------------------------------ steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.step-num {
  inline-size: 52px; block-size: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 850; font-size: 1.4rem;
  background: var(--teal); color: var(--on-teal); margin-block-end: 18px; box-shadow: 0 10px 20px -10px var(--teal);
}
.step:nth-child(2) .step-num { background: linear-gradient(135deg, var(--teal), var(--amber)); }
.step:nth-child(3) .step-num { background: var(--amber); color: var(--on-amber); box-shadow: 0 10px 20px -10px var(--amber); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); margin-block-end: 1em; }
.step .step-link { margin-block-start: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 0.35em; text-decoration: none; }
.step .step-link:hover { text-decoration: underline; }
.step-meta { margin-block-start: auto; font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 0.4em; }
.steps-note { text-align: center; color: var(--muted); margin-block-start: 28px; font-size: 0.98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ features */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--teal) 40%, var(--border)); }
.f-ico { inline-size: 46px; block-size: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); margin-block-end: 16px; }
.feature:nth-child(3n+2) .f-ico { background: var(--amber-soft); color: var(--amber-ink); }
.f-ico .icon { inline-size: 24px; block-size: 24px; }
.feature h3 { font-size: 1.12rem; margin-block-end: 0.35em; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 560px) {
  .features { gap: 12px; }
  .feature { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .feature .f-ico { grid-row: span 2; margin: 0; inline-size: 42px; block-size: 42px; }
  .feature h3 { margin-block-end: 0.2em; }
}

/* ------------------------------------------------------------------ tabs (audience + screenshots) */
.tablist {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  inline-size: fit-content; max-inline-size: 100%; margin-inline: auto; margin-block-end: 36px; box-shadow: var(--shadow-sm); overflow-x: auto;
}
.tab {
  appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer;
  padding: 0.7em 1.3em; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.5em; white-space: nowrap; min-block-size: 46px;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--teal); color: var(--on-teal); box-shadow: 0 6px 16px -8px var(--teal); }
.tab .icon { inline-size: 18px; block-size: 18px; }
@media (max-width: 520px) { .tab { padding: 0.6em 0.9em; font-size: 0.92rem; } .tab .icon { display: none; } }
.tabpanel[hidden] { display: none; }
.tabpanel { animation: fadeUp 0.35s ease; }
@keyframes fadeUp { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

/* audience */
.aud-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.aud-grid h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; }
.aud-grid .lead { color: var(--muted); font-size: 1.1rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; inline-size: 24px; block-size: 24px; margin-block-start: 1px; border-radius: 50%; background-color: var(--teal-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%230f766e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100%;
}
.checks b { color: var(--ink); }
.checks li > span { color: var(--muted); }
.uses { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.uses li { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.45em 0.9em; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 0.92rem; }
.uses .icon { color: var(--teal); inline-size: 17px; block-size: 17px; }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.side-card h4 { font-size: 1.15rem; margin-block-end: 0.8em; }
.side-card ol { margin: 0 0 1.2em; padding-inline-start: 1.3em; display: grid; gap: 8px; }
.side-card ol li::marker { color: var(--teal); font-weight: 800; }
.side-card .note { font-size: 0.92rem; color: var(--muted); margin: 14px 0 0; }
.side-card .btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.side-card .note + .btn-row { margin-block-start: 18px; }
.note { font-size: 0.95rem; color: var(--muted); margin-block-start: 14px; }
.copy-msg { font-size: 0.9rem; color: var(--teal); min-block-size: 1.5em; margin: 8px 0 0; }
.specs { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 0.95rem; }
.specs dt { color: var(--muted); font-weight: 600; }
.specs dd { margin: 0; font-weight: 600; }
code, .mono { font-family: var(--mono); font-size: 0.9em; background: var(--surface-2); border: 1px solid var(--border); padding: 0.05em 0.35em; border-radius: 6px; }
@media (max-width: 900px) { .aud-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .specs { grid-template-columns: 1fr; gap: 2px; } .specs dd { margin-block-end: 8px; } }

/* ------------------------------------------------------------------ screenshots */
.shots-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 36px); max-inline-size: 60rem; margin-inline: auto; }
.shot { margin: 0; text-align: center; }
.shot figcaption { margin-block-start: 14px; font-weight: 700; }
.shot figcaption small { display: block; font-weight: 500; color: var(--muted); font-size: 0.9rem; }
.shot-link { display: block; border-radius: 28px; text-decoration: none; transition: transform 0.2s ease; }
.shot-link:hover { transform: translateY(-4px); }
.frame-phone { display: block; padding: 8px; border-radius: 30px; background: linear-gradient(145deg, #1e293b, #0b1220); box-shadow: var(--shadow-lg); }
.frame-phone img { border-radius: 23px; inline-size: 100%; aspect-ratio: 1 / 2; object-fit: cover; }
.frame-browser { display: block; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); text-align: start; }
.frame-browser .chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-block-end: 1px solid var(--border); }
.frame-browser .chrome i { inline-size: 11px; block-size: 11px; border-radius: 50%; background: #f87171; }
.frame-browser .chrome i:nth-child(2) { background: #fbbf24; }
.frame-browser .chrome i:nth-child(3) { background: #34d399; }
.frame-browser .chrome span { margin-inline-start: 10px; font-size: 0.8rem; color: var(--muted); font-family: var(--mono); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 0.15em 0.9em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.frame-browser img { inline-size: 100%; background: #f4f5f7; }
.frame-browser .crop { display: block; block-size: 460px; overflow: hidden; position: relative; }
.frame-browser .crop img { block-size: 100%; object-fit: cover; object-position: top; }
.frame-browser .crop::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 70px; background: linear-gradient(transparent, rgb(244 245 247 / 95%)); }
.shots-admin { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: center; }
.shots-admin ul { margin: 0; }
.shots-setup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.shots-note { text-align: center; color: var(--muted); font-size: 0.92rem; margin-block-start: 28px; }
@media (max-width: 860px) { .shots-admin, .shots-setup { grid-template-columns: 1fr; } .frame-browser .crop { block-size: 380px; } }
@media (max-width: 640px) {
  .shots-phones { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 14px; padding-inline: 4px; }
  .shots-phones .shot { scroll-snap-align: center; }
}

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-inline-size: 96vw; max-block-size: 94vh; }
.lightbox::backdrop { background: rgb(4 10 12 / 82%); backdrop-filter: blur(4px); }
.lightbox img { max-inline-size: 96vw; max-block-size: 86vh; inline-size: auto; border-radius: 12px; margin-inline: auto; }
.lightbox p { color: #e2e8f0; text-align: center; margin: 10px 0 0; }
.lightbox .icon-btn { position: fixed; inset-block-start: 14px; inset-inline-end: 14px; }

/* ------------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-inline-size: 66rem; margin-inline: auto; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 30px 26px 26px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.plan-featured { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .plan-featured { transform: translateY(-10px); } }
.plan-badge {
  position: absolute; inset-block-start: -14px; inset-inline-start: 50%; translate: -50% 0; white-space: nowrap;
  background: var(--teal); color: var(--on-teal); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em; padding: 0.4em 1em; border-radius: 999px;
}
[dir="rtl"] .plan-badge { translate: 50% 0; }
.plan h3 { font-size: 1.25rem; margin-block-end: 0.2em; }
.plan-for { color: var(--muted); margin-block-end: 18px; min-block-size: 3.2em; }
.price { display: flex; align-items: baseline; gap: 8px; margin-block-end: 4px; }
.price b { font-size: 3.2rem; font-weight: 850; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); font-size: 0.9rem; margin-block-end: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; }
.plan li .icon { color: var(--teal); margin-block-start: 3px; }
.plan li.plus { font-weight: 700; }
.plan li.plus .icon { color: var(--amber-strong); }
.plan-cta { margin-block-start: auto; display: grid; gap: 8px; }
.plan-cta .soon-note { text-align: center; font-size: 0.9rem; color: var(--muted); margin: 0; }
.included {
  max-inline-size: 66rem; margin: 40px auto 0; padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--border);
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: center;
}
.included b { color: var(--ink); }
.included > span { display: inline-flex; align-items: center; gap: 0.45em; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.included .icon { color: var(--teal); }
.pricing-foot { text-align: center; margin-block-start: 20px; color: var(--muted); font-size: 0.95rem; }
.plans-duo { grid-template-columns: 1.15fr 1fr; max-inline-size: 56rem; }
.plan-kicker {
  align-self: flex-start; margin: 0 0 12px; padding: 0.3em 0.85em; border-radius: 999px;
  background: var(--amber-soft); color: var(--amber-ink); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.addon-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 22px; padding: 12px 14px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); font-size: 0.92rem;
}
.addon-note .icon { color: var(--amber-strong); flex: none; margin-block-start: 2px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-inline-size: 30rem; } .plan-for { min-block-size: 0; } .plan-featured { order: -1; margin-block-start: 14px; } }

/* ------------------------------------------------------------------ checker promo band */
.checker-band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 26px 30px; border-radius: 24px;
  background: linear-gradient(120deg, var(--amber-soft), var(--teal-soft)); border: 1px solid var(--border);
}
.checker-band h3 { margin: 0 0 0.2em; font-size: 1.3rem; }
.checker-band p { margin: 0; color: var(--muted); }
.cb-ico { inline-size: 60px; block-size: 60px; border-radius: 18px; background: var(--surface); display: grid; place-items: center; color: var(--teal); box-shadow: var(--shadow-sm); }
.cb-ico .icon { inline-size: 30px; block-size: 30px; }
@media (max-width: 760px) { .checker-band { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ------------------------------------------------------------------ FAQ */
.faq { max-inline-size: 50rem; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--teal) 45%, var(--border)); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.06rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-block-size: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; inline-size: 26px; block-size: 26px; border-radius: 50%; background-color: var(--surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23748391' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100%; transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-block-end: 0; }
.faq .answer strong { color: var(--ink); }
.faq .answer ul { padding-inline-start: 1.2em; margin: 0 0 1em; }

/* ------------------------------------------------------------------ final CTA */
.final { padding-block: 0 clamp(64px, 9vw, 110px); }
.final-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #ecfdf8;
  border-radius: 32px; padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 64px);
  background: linear-gradient(135deg, #0b4f4a 0%, #0f766e 55%, #115e59 100%);
}
.final-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(26rem 18rem at 85% 10%, rgb(251 191 36 / 35%), transparent 70%),
              radial-gradient(22rem 16rem at 5% 100%, rgb(45 212 191 / 35%), transparent 70%);
}
.final-card .final-mark { inline-size: 72px; block-size: 72px; margin: 0 auto 18px; }
.final-card h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.3rem); font-weight: 850; color: #fff; }
.final-card p { color: #c7efe8; font-size: 1.15rem; max-inline-size: 36rem; margin-inline: auto; }
.final-card .hero-ctas { justify-content: center; margin-block-end: 0; }
.final-card .btn-ghost { color: #fff; border-color: rgb(255 255 255 / 40%); }
.final-card .btn-ghost:hover { border-color: #fff; color: #fff; }
.final-card .lm-bg { fill: rgb(255 255 255 / 12%); }
.final-card .lm-arc, .final-card .lm-dot { stroke: #fff; }
.final-card .lm-dot { fill: #fff; }
.final-card .lm-track { stroke: #fff; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-block-start: 1px solid var(--border); background: var(--bg-2); padding-block: 48px 36px; font-size: 0.95rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin-block-end: 1em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid .brand, .footer-grid .brand:hover { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--teal); text-decoration: underline; }
.footer-about p { margin-block: 12px 0; max-inline-size: 22rem; }
.footer-bottom { margin-block-start: 36px; padding-block-start: 22px; border-block-start: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ legal / simple pages */
.doc { max-inline-size: 46rem; margin-inline: auto; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.doc-head { margin-block-end: 32px; padding-block-end: 24px; border-block-end: 1px solid var(--border); }
.doc-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 850; }
.doc-head p { color: var(--muted); margin: 0; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 28px; }
.doc-nav a { padding: 0.35em 0.85em; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.doc-nav a[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.prose h2 { font-size: 1.45rem; margin-block: 1.8em 0.6em; }
.prose h3 { font-size: 1.15rem; margin-block: 1.5em 0.5em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-block: 0.3em; }
.prose table { border-collapse: collapse; inline-size: 100%; display: block; overflow-x: auto; font-size: 0.95rem; margin-block: 1em 1.5em; }
.prose th, .prose td { border: 1px solid var(--border); padding: 0.5em 0.75em; text-align: start; vertical-align: top; }
.prose th { background: var(--surface-2); }
.prose blockquote { margin: 1em 0; padding: 0.8em 1.1em; border-inline-start: 4px solid var(--amber); background: var(--amber-soft); border-radius: 0 10px 10px 0; }
[dir="rtl"] .prose blockquote { border-radius: 10px 0 0 10px; }
.prose pre { overflow-x: auto; background: var(--surface-2); border: 1px solid var(--border); padding: 1em; border-radius: 10px; }
.prose pre code { border: 0; padding: 0; background: none; }
.prose hr { border: 0; border-block-start: 1px solid var(--border); margin-block: 2em; }
.notice { padding: 16px 20px; border-radius: 14px; background: var(--amber-soft); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); color: var(--ink); margin-block-end: 24px; }
.legal-index { list-style: none; padding: 0; display: grid; gap: 12px; }
.legal-index a { display: block; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; font-weight: 700; color: var(--ink); }
.legal-index a:hover { border-color: var(--teal); }
.legal-index small { display: block; color: var(--muted); font-weight: 500; }

/* ------------------------------------------------------------------ motion */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.js .reveal-d1 { transition-delay: 0.08s; } .js .reveal-d2 { transition-delay: 0.16s; } .js .reveal-d3 { transition-delay: 0.24s; }
.js .bar i { transition: inline-size 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s; }
.js .compare:not(.is-in) .bar i { inline-size: 2%; }
.js .g-fill { transition: stroke-dashoffset 2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s; }
.js .hero-visual:not(.is-in) .g-fill { stroke-dashoffset: 100; }
.js .ps-track i { transition: transform 1.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.5s; }
.js .hero-visual:not(.is-in) .ps-track i { transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .compare:not(.is-in) .bar i { inline-size: var(--w); }
  .js .hero-visual:not(.is-in) .g-fill { stroke-dashoffset: 40; }
  .js .hero-visual:not(.is-in) .ps-track i { transform: none; }
  .rings { display: none; }
}

@media print {
  .site-header, .site-footer, .hero-visual, .tablist { display: none; }
  .tabpanel[hidden] { display: block; }
}

/* bar widths (classes instead of inline styles, so the CSP can forbid inline styles) */
.w3 { --w: 3%; } .w5 { --w: 5%; } .w6 { --w: 6%; } .w9 { --w: 9%; } .w18 { --w: 18%; } .w26 { --w: 26%; }
.w38 { --w: 38%; } .w40 { --w: 40%; } .w62 { --w: 62%; } .w92 { --w: 92%; }
mark.placeholder { background: var(--amber-soft); outline: 1px dashed var(--amber-strong); }
.prose > h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.8rem); font-weight: 850; margin-block-end: 0.4em; }
.prose a { overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ Arabic / RTL (ar/index.html) */
/* Cairo (SIL OFL 1.1, assets/fonts/Cairo-OFL.txt), self-hosted variable woff2 - no external requests.
 * Only :lang(ar) uses the family, so the English pages never download it. */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("../fonts/cairo-arabic-wght-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("../fonts/cairo-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root:lang(ar) { --font: "Cairo", "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", system-ui, sans-serif; }
:root:lang(ar) body { line-height: 1.7; }
/* Letter-spacing breaks Arabic letter joining; uppercase does nothing for Arabic. */
:root:lang(ar) * { letter-spacing: 0; }
/* Cairo: headings look best at 700-800, body at 400-500. */
:root:lang(ar) :is(h1, h2, h3, h4) { line-height: 1.3; font-weight: 700; }
:root:lang(ar) :is(.section-head h2, .problem-copy h2, .aud-grid h3, .final h2) { font-weight: 800; }
:root:lang(ar) .hero h1 { line-height: 1.25; font-weight: 800; font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.3rem); }
/* Cairo is wider than the system fonts: keep header items on one line. */
:root:lang(ar) :is(.nav a, .header-cta) { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1080px) { :root:lang(ar) .nav a { padding-inline: 0.5em; } }
:root:lang(ar) :is(.price b, .gauge-num b, .ps-biz, .step-num) { font-weight: 800; }
:root:lang(ar) :is(.hero-lead, .section-head p, .problem-copy > p, .aud-grid .lead) { font-weight: 400; }
:root:lang(ar) .float-card, :root:lang(ar) .lane-name b, :root:lang(ar) .btn { line-height: 1.45; }
:root:lang(ar) .phone-screen { line-height: 1.5; }
:root:lang(ar) .ps-sub { font-size: 11px; }
/* Mirror what logical properties can't: centred translate, gradients that run with the fill. */
[dir="rtl"] .phone::before { translate: 50% 0; }
[dir="rtl"] .bar-hog i { --c: linear-gradient(270deg, #f97316, #dc2626); }
[dir="rtl"] .bar-fair i { --c: linear-gradient(270deg, var(--teal), var(--teal-bright)); }
[dir="rtl"] .bar-capped i { --c: linear-gradient(270deg, var(--amber), var(--amber-strong)); }
