/* Rise — shared styles (light premium).
   Warm cream ground, deep ink, Rise orange. Cards sit in a soft double bezel:
   a hairline ring, a pale outer tray and a diffused ambient shadow. */
:root {
  --bg: #fbf7f2;
  --bg-2: #f5efe7;
  --card: #ffffff;
  --card-2: #f6f0e8;
  --line: rgba(40, 26, 14, .08);
  --line-2: rgba(40, 26, 14, .14);
  --text: #1c1510;
  --muted: #6c6158;
  --dim: #9b9087;
  --accent: #ff6a2b;
  --accent-2: #ffb547;
  --accent-deep: #e5531a;
  --accent-ink: #1a0a02;
  --accent-soft: #fff1e8;
  --grad: linear-gradient(135deg, #ff6a2b 0%, #ff8a3d 50%, #ffb547 100%);
  --good: #15a35a;
  --warn: #c98a00;
  --bad: #e0393e;
  --r: 26px;
  --r-sm: 16px;
  --max: 1200px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --shadow: 0 1px 2px rgba(60, 35, 15, .04), 0 18px 40px -18px rgba(60, 35, 15, .16);
  --shadow-lg: 0 2px 4px rgba(60, 35, 15, .04), 0 40px 80px -36px rgba(120, 60, 20, .28);
  --bezel: 0 0 0 1px var(--line), 0 0 0 7px rgba(255, 255, 255, .7), 0 0 0 8px var(--line);
  --font: "Plus Jakarta Sans", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
/* the root carries the cream too, so Safari's top/bottom bars and overscroll match the page */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background-color: #fbf7f2; color-scheme: light; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* soft warm light, fixed behind everything — kept clear of the top edge,
   so the strip under Safari's status bar stays the same plain cream as the bar */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(800px 520px at 88% 42%, rgba(255, 140, 70, .16), transparent 70%),
    radial-gradient(700px 480px at 0% 62%, rgba(255, 181, 71, .12), transparent 70%),
    radial-gradient(800px 600px at 100% 110%, rgba(255, 106, 43, .08), transparent 70%);
}
a { color: inherit; text-decoration: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(255, 106, 43, .25); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 28px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
/* padding keeps letter parts below the baseline (the dots of ي) inside the painted area */
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .06em .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hide, [hidden] { display: none !important; }

/* ── nav: a floating island ──────────────────────── */
.nav {
  position: sticky; top: 14px; z-index: 50; height: 64px; max-width: 1140px; margin: 14px auto 0;
  border-radius: 999px; background: rgba(253, 250, 246, .86);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 0 0 1px var(--line), 0 12px 32px -14px rgba(60, 35, 15, .18);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 18px; padding: 0 10px 0 20px; }
[dir=rtl] .nav .wrap { padding: 0 20px 0 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 19px; flex-shrink: 0; }
.brand .mark { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 6px 14px -6px rgba(255, 106, 43, .6); }
.nav-links { display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 999px; background: var(--bg-2); }
.nav-links a, .nav-more > button {
  white-space: nowrap; padding: 9px 18px; border-radius: 999px; font-size: 14px; color: var(--muted); font-weight: 500;
  border: 0; background: none; cursor: pointer; transition: color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav-links a:hover, .nav-more > button:hover { color: var(--text); }
.nav-links a.on { color: var(--text); background: #fff; box-shadow: 0 1px 2px rgba(60, 35, 15, .08), 0 4px 12px -4px rgba(60, 35, 15, .12); }
.nav-more { position: relative; }
.nav-more .menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 250px; padding: 8px; background: #fff; border-radius: 20px;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); box-shadow: var(--bezel), var(--shadow-lg);
}
.nav-more.open .menu { opacity: 1; pointer-events: auto; transform: translateX(-50%); }
.menu a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: var(--muted); transition: background .25s var(--ease), color .25s var(--ease); }
.menu a:hover { background: var(--bg-2); color: var(--text); }
.menu .sep { height: 1px; background: var(--line); margin: 6px 8px; }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.credit-pill { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--bg-2); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.credit-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 43, .18); }
.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--bg-2); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; border-radius: 2px; background: var(--text); transition: transform .45s var(--ease), opacity .3s var(--ease); }
.burger span::before, .burger span::after { content: ""; margin: 0; left: 0; top: 0; }
.burger span::before { transform: translateY(-6px); } .burger span::after { transform: translateY(6px); }
.burger.x span { background: transparent; }
.burger.x span::before { background: var(--text); transform: rotate(45deg); }
.burger.x span::after { background: var(--text); transform: rotate(-45deg); }
.drawer-old {
  position: fixed; inset: 92px 14px auto 14px; z-index: 49; padding: 10px; border-radius: 26px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: var(--bezel), var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .4s var(--ease), transform .45s var(--ease);
}
/* phone menu: a full-height sheet under the floating bar */
.drawer {
  position: fixed; inset: 0; z-index: 49; padding: 96px 16px 24px; overflow-y: auto;
  background: rgba(251, 247, 242, .96); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.drawer.open { opacity: 1; pointer-events: auto; }
.dr-in { max-width: 520px; margin: 0 auto; display: grid; gap: 22px; }
.dr-main { display: grid; gap: 8px; padding: 8px; border-radius: 28px; background: #fff; box-shadow: var(--bezel), var(--shadow); }
.dr-main a {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 20px;
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .25s;
}
.drawer.open .dr-main a { opacity: 1; transform: none; }
.drawer.open .dr-main a:nth-child(2) { transition-delay: .04s; } .drawer.open .dr-main a:nth-child(3) { transition-delay: .08s; }
.drawer.open .dr-main a:nth-child(4) { transition-delay: .12s; } .drawer.open .dr-main a:nth-child(5) { transition-delay: .16s; }
.dr-main a:active { background: var(--bg-2); }
.dr-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--bg-2); color: var(--text); }
.dr-ic svg { width: 23px; height: 23px; }
.dr-t b { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.dr-t small { color: var(--muted); font-size: 13px; }
.dr-go { font-size: 22px; color: var(--dim); }
[dir=rtl] .dr-go { transform: scaleX(-1); }
.dr-main a.on { background: var(--accent-soft); }
.dr-main a.on .dr-ic { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 22px -10px rgba(255, 106, 43, .7); }
.dr-main a.on .dr-go { color: var(--accent-deep); }
.dr-sub { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease) .2s, transform .5s var(--ease) .2s; }
.drawer.open .dr-sub { opacity: 1; transform: none; }
.dr-sub h6 { margin: 0 6px 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
html[lang=ar] .dr-sub h6 { letter-spacing: 0; font-size: 13px; }
.dr-sub > div { display: flex; flex-wrap: wrap; gap: 8px; }
.dr-sub a { padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }

/* ── buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-white { background: var(--text); color: #fff; box-shadow: 0 12px 26px -12px rgba(28, 21, 16, .55); }
.btn-white:hover { box-shadow: 0 18px 34px -14px rgba(28, 21, 16, .6); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 28px -12px rgba(255, 106, 43, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-accent:hover { background: #ff7838; box-shadow: 0 18px 36px -14px rgba(255, 106, 43, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { background: #fff; color: var(--text); box-shadow: 0 0 0 1px var(--line-2), 0 6px 16px -10px rgba(60, 35, 15, .2); }
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--line-2), 0 12px 24px -12px rgba(60, 35, 15, .28); }
.btn-block { width: 100%; }
.btn svg { width: 17px; height: 17px; }

/* ── layout bits ─────────────────────────────────── */
section { padding-block: clamp(80px, 11vw, 140px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 12px -6px rgba(60, 35, 15, .14);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow b { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 43, .18); }
.h-sec { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; margin: 18px 0 16px; }
.lead { color: var(--muted); font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.65; max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--bezel), var(--shadow); }
.grid { display: grid; gap: 18px; }
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; filter: none; transition: none; } html { scroll-behavior: auto; } }

/* ── hero ────────────────────────────────────────── */
.hero { padding-block: clamp(80px, 11vw, 140px) clamp(40px, 6vw, 80px); text-align: center; }
.hero h1 { font-size: clamp(44px, 8vw, 104px); line-height: 1; letter-spacing: -.05em; font-weight: 800; margin: 26px auto 22px; max-width: 1000px; }
.hero h1 span { color: var(--text); }
.hero h1 span.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding: 0 .06em .22em; margin-bottom: -.22em; }
.hero p { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 600px; margin: 0 auto 36px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { min-width: 190px; }
.hero-note { margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero-note b { margin-inline-end: 4px; }
.hero-note a { color: var(--accent-deep); font-weight: 600; }
.hero-note b { color: var(--text); }
.chips { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 56px; color: var(--muted); font-size: 14px; }
.chips span { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(60, 35, 15, .2); }
.chips em { font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-deep); }

/* ── before / after ──────────────────────────────── */
.ba { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ba-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-side .card { padding: 22px; }
.ba-side h4 { margin: 6px 0 4px; font-size: 18px; letter-spacing: -.02em; font-weight: 700; }
.ba-side .tag { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; }
.ba-side .card.on { background: var(--accent-soft); box-shadow: 0 0 0 1px rgba(255, 106, 43, .25), 0 0 0 7px rgba(255, 255, 255, .7), 0 0 0 8px rgba(255, 106, 43, .18), var(--shadow); }
.ba-side .card.on .tag { color: var(--accent-deep) !important; }
.ba-note { font-size: 13.5px; color: var(--dim); margin: 18px 0 0; }
.compare {
  position: relative; aspect-ratio: 9 / 16; height: min(700px, 80vh); width: auto; border-radius: 34px; overflow: hidden; background: #e9e1d7;
  user-select: none; touch-action: pan-y; cursor: ew-resize;
  box-shadow: 0 0 0 1px var(--line), 0 0 0 10px #fff, 0 0 0 11px var(--line), var(--shadow-lg);
}
.compare video, .compare canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 12px rgba(0, 0, 0, .25); }
.compare .handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--text); display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: 2px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}
.compare .lbl { position: absolute; top: 16px; padding: 7px 13px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(20, 14, 10, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.compare .lbl.l { left: 16px; } .compare .lbl.r { right: 16px; background: var(--accent); color: var(--accent-ink); }

/* ── the ceiling: 4K / 120 fps / 1 GB / 0 ────────── */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 44px 0 34px; }
.spec { position: relative; overflow: hidden; display: grid; align-content: start; gap: 2px; padding: 28px 26px 26px; text-align: start; background: #fff; border-radius: var(--r); box-shadow: var(--bezel), var(--shadow); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.spec:hover { transform: translateY(-4px); box-shadow: var(--bezel), var(--shadow-lg); }
.spec::before { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 140, 70, .22), transparent 70%); }
.spec .num { position: relative; font-size: clamp(44px, 4.8vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--text); direction: ltr; unicode-bidi: isolate; text-align: start; }
[dir=rtl] .spec .num { text-align: right; }
.spec .num small { font-size: .4em; font-weight: 700; letter-spacing: 0; margin-inline-start: 4px; color: var(--accent-deep); }
.spec b { position: relative; display: block; font-size: 16.5px; font-weight: 700; margin-top: 14px; }
.spec span:not(.num) { position: relative; color: var(--muted); font-size: 14px; }

/* ── plans ───────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.plan { padding: 32px; display: flex; flex-direction: column; position: relative; background: #fff; border-radius: 30px; box-shadow: var(--bezel), var(--shadow); }
.plan .pname { font-size: 13px; font-weight: 700; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
html[lang=ar] .plan .pname { letter-spacing: 0; }
.plan h3 { margin: 6px 0 2px; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.plan .badge { position: absolute; top: 28px; inset-inline-end: 28px; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 6px 11px; border-radius: 999px; background: var(--bg-2); color: var(--muted); }
.plan.pop { background: #1c1510; color: #fff; box-shadow: 0 0 0 1px #1c1510, 0 0 0 8px rgba(255, 106, 43, .14), 0 0 0 9px rgba(255, 106, 43, .3), 0 40px 80px -30px rgba(255, 106, 43, .5); transform: translateY(-10px); }
.plan.pop .pname, .plan.pop p, .plan.pop .big span, .plan.pop .fine { color: rgba(255, 255, 255, .66); }
.plan.pop .badge { background: var(--accent); color: var(--accent-ink); }
.plan.pop li::before { color: var(--accent-2); }
.plan p { color: var(--muted); font-size: 15px; margin: 12px 0 22px; }
.plan .big { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.plan .big b { font-size: 58px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.plan .big span { color: var(--muted); font-size: 13.5px; line-height: 1.3; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.plan li.inf::before { content: "∞"; }
.plan .fine { font-size: 12.5px; color: var(--dim); margin: 14px 0 0; text-align: center; }
.small-print { font-size: 13.5px; color: var(--dim); max-width: 760px; margin: 34px auto 0; text-align: center; line-height: 1.7; }

/* ── live ────────────────────────────────────────── */
.live { display: grid; grid-template-columns: 1fr; gap: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.stat { display: flex; flex-direction: column; justify-content: center; min-height: 150px; padding: 28px; background: #fff; border-radius: var(--r); box-shadow: var(--bezel), var(--shadow); }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
[dir=rtl] .stat b { text-align: right; }
.stat small { font-size: 12px; letter-spacing: .1em; font-weight: 700; color: var(--dim); margin-top: 6px; }
html[lang=ar] .stat small { letter-spacing: 0; font-size: 13px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(21, 163, 90, .5); animation: ping 1.8s infinite; display: inline-block; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(21, 163, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(21, 163, 90, 0); } }
.feed { padding: 26px; }
.feed-list { display: grid; gap: 4px; margin-top: 12px; max-height: 260px; overflow: auto; }
.feed-item { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; font-size: 14px; }
.feed-item .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; background: var(--accent-soft); color: var(--accent-deep); flex-shrink: 0; }
.feed-item .t { margin-inline-start: auto; color: var(--dim); font-size: 12px; white-space: nowrap; }
.empty { color: var(--dim); font-size: 14px; padding: 18px 6px; }
.empty a { color: var(--accent-deep) !important; }

/* ── verified ────────────────────────────────────── */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.vcard { overflow: hidden; display: flex; flex-direction: column; }
.vcard .thumb { aspect-ratio: 9/12; background: var(--card-2) center/cover; position: relative; }
.vcard .thumb span { position: absolute; inset-inline-start: 12px; top: 12px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.vcard .meta { padding: 16px 18px; display: grid; gap: 4px; font-size: 14px; }
.vcard .meta a { color: var(--accent-deep); font-weight: 600; font-size: 13px; margin-top: 4px; }

/* ── faq ─────────────────────────────────────────── */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 16px; }
.faq details { padding: 0 26px; border-radius: 22px; background: #fff; box-shadow: var(--bezel), var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-size: 20px; line-height: 1; color: var(--text); transition: transform .45s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq details p { margin: 0 0 22px; color: var(--muted); line-height: 1.7; }

/* ── footer ──────────────────────────────────────── */
footer.fx { padding: 30px 0 34px; margin-top: 30px; }
.fx .wrap > .fx-card {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding: clamp(28px, 4vw, 48px);
  border-radius: 34px; background: #1c1510; color: #fff;
  box-shadow: 0 0 0 1px #1c1510, 0 0 0 10px rgba(255, 255, 255, .7), 0 0 0 11px var(--line), var(--shadow-lg);
  position: relative; overflow: hidden;
}
.fx .wrap > .fx-card::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -160px; top: -260px; background: radial-gradient(circle, rgba(255, 106, 43, .35), transparent 65%); pointer-events: none; }
.fx-col { position: relative; }
.fx-col h5 { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
html[lang=ar] .fx-col h5 { letter-spacing: 0; font-size: 13px; }
.fx-col a { display: block; color: rgba(255, 255, 255, .82); font-size: 14.5px; padding: 5px 0; transition: color .25s var(--ease); }
.fx-col a:hover { color: var(--accent-2); }
.fx-about .brand { color: #fff; display: inline-flex; padding: 0; }
.stat b { white-space: nowrap; }
.fx-about p { color: rgba(255, 255, 255, .6); font-size: 14px; margin: 14px 0 0; max-width: 34ch; line-height: 1.7; }
.fx-contact p { color: rgba(255, 255, 255, .6); font-size: 14px; margin: 0 0 12px; line-height: 1.6; }
.fx-mail { display: inline-block; font-size: clamp(20px, 1.9vw, 26px); font-weight: 800; letter-spacing: -.02em; color: var(--accent-2) !important; direction: ltr; padding: 0 !important; }
.fx-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding: 0 12px; color: var(--dim); font-size: 12.5px; }
.fx-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ── modal ───────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 16px; background: rgba(28, 21, 16, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal.open { display: grid; animation: fade .3s var(--ease); }
.modal .box { width: 100%; max-width: 440px; padding: 32px; position: relative; background: #fff; border-radius: 30px; box-shadow: var(--bezel), var(--shadow-lg); animation: rise .5s var(--ease); }
.modal .x { position: absolute; inset-inline-end: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-2); cursor: pointer; }
.modal .mark { width: 48px; height: 48px; border-radius: 13px; }
.modal h3 { margin: 16px 0 6px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.modal p { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; }
.oauth { display: grid; gap: 10px; }
.oauth .btn { justify-content: flex-start; height: 54px; border-radius: 16px; }
.oauth .soon { margin-inline-start: auto; font-size: 10.5px; letter-spacing: .1em; font-weight: 800; color: var(--dim); }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.input { height: 50px; border-radius: 14px; border: 0; background: var(--bg-2); padding: 0 16px; outline: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease), background .3s; width: 100%; font-size: 15px; }
.input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
textarea.input { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
select.input { cursor: pointer; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); z-index: 200; padding: 14px 22px; border-radius: 999px; background: #1c1510; color: #fff; font-size: 14px; font-weight: 500; opacity: 0; transition: .45s var(--ease); pointer-events: none; max-width: calc(100% - 32px); box-shadow: var(--shadow-lg); }
.toast.on { opacity: 1; transform: translateX(-50%); }

/* ── page header (tool pages) ────────────────────── */
.page-head { padding-block: clamp(60px, 8vw, 110px) 36px; }
.page-head h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 18px 0 14px; }
.page-head p { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 640px; margin: 0; }

/* ── optimizer ───────────────────────────────────── */
.opt { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.opt > .card { padding: 24px !important; }
.engines { display: flex; gap: 4px; padding: 5px; border-radius: 18px; background: var(--bg-2); margin-bottom: 16px; }
.engines button { flex: 1; border: 0; background: none; padding: 12px 10px; border-radius: 14px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
.engines button small { display: block; font-size: 11.5px; font-weight: 500; color: var(--dim); }
.engines button.on { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(60, 35, 15, .08), 0 6px 16px -8px rgba(60, 35, 15, .2); }
.engines button.on small { color: var(--accent-deep); }
.drop {
  display: block; border-radius: 22px; padding: 60px 20px; text-align: center; cursor: pointer; background: var(--bg-2);
  box-shadow: inset 0 0 0 2px rgba(255, 106, 43, .22); transition: background .35s var(--ease), box-shadow .35s var(--ease);
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 140, 70, .14), transparent 60%);
}
.drop:hover, .drop.drag { background-color: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.drop .ic { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 30px -12px rgba(255, 106, 43, .7); transition: transform .5s var(--ease); }
.drop:hover .ic { transform: translateY(-4px); }
.drop b { font-size: 18px; display: block; margin-bottom: 6px; font-weight: 700; }
.meter { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .3s var(--ease); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.facts div { background: var(--bg-2); padding: 14px 16px; border-radius: 16px; }
.facts small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
html[lang=ar] .facts small, html[lang=ar] .kv small { letter-spacing: 0; font-size: 12.5px; }
.facts b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.pill.good { background: #e3f6ec; color: var(--good); }
.pill.warn { background: #fdf2d8; color: var(--warn); }
.pill.bad { background: #fde5e5; color: var(--bad); }
.issues { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: 14px; }
.issues li { padding: 12px 14px; border-radius: 14px; background: var(--bg-2); border-inline-start: 4px solid var(--dim); }
.issues li.bad { border-color: var(--bad); } .issues li.warn { border-color: var(--warn); } .issues li.info { border-color: var(--accent); }
.term { font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #1c1510; border-radius: 16px; padding: 16px 18px; color: #d9cfc4; max-height: 240px; overflow: auto; }
.term .ok { color: #5fe3a1; } .term .acc { color: var(--accent-2); }
.toggle { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 18px; background: var(--bg-2); cursor: pointer; transition: background .3s var(--ease); }
.toggle:hover { background: #efe6db; }
.toggle input { display: none; }
.toggle .sw { width: 42px; height: 24px; border-radius: 99px; background: #d9cfc4; position: relative; flex-shrink: 0; transition: background .35s var(--ease); margin-top: 2px; }
.toggle .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .45s var(--ease); }
.toggle input:checked + .sw { background: var(--accent); }
.toggle input:checked + .sw::after { transform: translateX(18px); }
.toggle b { display: block; font-size: 14.5px; font-weight: 700; }
.toggle small { color: var(--muted); font-size: 13px; }
.recent { display: grid; gap: 8px; }
.recent-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--bg-2); }
.recent-item .th { width: 46px; height: 46px; border-radius: 12px; background: #e9e1d7; overflow: hidden; flex-shrink: 0; }
.recent-item .th video { width: 100%; height: 100%; object-fit: cover; }
.recent-item > div:nth-child(2) { flex: 1; min-width: 0; }
.recent-item .nm { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-item .sub { font-size: 12.5px; color: var(--dim); }
.recent-item .act { margin-inline-start: auto; display: flex; gap: 6px; }
.recent-item .act .btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.side-card { padding: 26px; }
.side-card h4 { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }

/* ── shop ────────────────────────────────────────── */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; color: var(--muted); font-weight: 600; cursor: pointer; font-size: 14px; transition: background .35s var(--ease), color .35s var(--ease); }
.tabs button.on { background: var(--text); color: #fff; }
.tabs button { display: inline-flex; align-items: center; gap: 6px; }
.tabs button em { display: inline-block; unicode-bidi: isolate; font-style: normal; font-size: 11.5px; margin-inline-start: 6px; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.shop { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 26px; margin-top: 28px; align-items: start; }
.shop > .card { padding: 28px !important; }
.presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.presets button { height: 70px; border-radius: 18px; border: 0; background: var(--bg-2); cursor: pointer; font-weight: 800; font-size: 18px; transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--ease); }
.presets button:hover { transform: translateY(-2px); }
.presets button small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.presets button.on { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
input[type=range] { width: 100%; accent-color: var(--accent); }
.sum-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sum-row:last-of-type { border: 0; font-size: 18px; font-weight: 800; }
.check { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin: 16px 0; align-items: flex-start; line-height: 1.6; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.check a { color: var(--text); text-decoration: underline; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { padding: 9px 14px; border-radius: 999px; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; font-weight: 600; font-size: 13px; transition: background .3s, box-shadow .3s; }
.seg button.on { background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent); color: var(--accent-deep); }

/* ── analyzer ────────────────────────────────────── */
.searchbar { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--bezel), var(--shadow); }
.searchbar .input { background: none; box-shadow: none; height: 48px; }
.an { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; margin-top: 22px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kv div { background: var(--bg-2); padding: 14px 16px; border-radius: 16px; }
.kv small { display: block; color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.kv b { font-weight: 700; }

/* ── upload ──────────────────────────────────────── */
.up { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 26px; align-items: start; }
.phone { aspect-ratio: 9/16; border-radius: 30px; background: #fff; overflow: hidden; position: relative; display: grid; place-items: center; box-shadow: var(--bezel), var(--shadow); text-align: center; }
.phone video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.phone .drop { background: none; box-shadow: none; padding: 0; }
.frames { display: flex; gap: 4px; overflow: hidden; border-radius: 14px; margin-top: 12px; height: 56px; background: var(--bg-2); position: relative; }
.frames canvas { height: 100%; width: auto; flex: 1; object-fit: cover; }
.frames .sel { position: absolute; top: 0; bottom: 0; width: 34px; border: 3px solid var(--accent); border-radius: 10px; pointer-events: none; }

/* ── article (guides, legal) ─────────────────────── */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; margin: 52px 0 12px; }
.article p, .article li { color: #4a4038; font-size: 17px; line-height: 1.8; }
.article .card { padding: 26px; margin: 22px 0; }
.steps { display: grid; gap: 22px; margin-top: 30px; }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 26px; }
.step .n { width: 52px; height: 52px; border-radius: 16px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; font-size: 20px; box-shadow: 0 12px 24px -12px rgba(255, 106, 43, .7); }
.step h3 { margin: 4px 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table td, .table th { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: start; }
.table th { color: var(--dim); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* ══ responsive ═════════════════════════════════════ */
.opt > *, .shop > *, .an > *, .up > *, .live > *, .ba > *, .grid > * { min-width: 0; }

/* tablet */
@media (max-width: 1100px) {
  .nav { margin: 12px 14px 0; }
  .nav-links a, .nav-more > button { padding: 9px 13px; }
  .fx .wrap > .fx-card { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links, .nav-right .hide-m { display: none; }
  .burger { display: block; }
  .nav-right { margin-inline-start: auto; }
  .opt, .shop, .an, .up { grid-template-columns: minmax(0, 1fr); }
  .ba { grid-template-columns: minmax(0, 1fr) minmax(0, 44%); align-items: start; }
  .ba-side { grid-template-columns: minmax(0, 1fr); }
  .compare { height: auto; width: 100%; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { gap: 18px; }
  .plan { padding: 26px; }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
}

/* phone — rows sit side by side instead of stacking */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding-inline: 16px; }
  section { padding-block: 64px; }
  .nav { height: 58px; top: 10px; margin: 10px 10px 0; }
  .nav .wrap { padding: 0 8px 0 14px; } [dir=rtl] .nav .wrap { padding: 0 14px 0 8px; }
  .brand { font-size: 17px; } .brand .mark { width: 30px; height: 30px; }
  .credit-pill { display: none; }
  .nav-right .btn-sm { height: 38px; padding: 0 14px; font-size: 13px; }
  .drawer { padding-top: 84px; }

  .hero { padding-block: 56px 32px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); margin: 20px auto 16px; }
  .hero p { font-size: 16px; margin-bottom: 26px; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-cta .btn { padding: 0 10px; height: 50px; font-size: 14px; }
  .hero-cta .btn:first-child { grid-column: 1 / -1; }
  .chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 30px; font-size: 12px; }
  .chips span { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 12px 6px; border-radius: 18px; line-height: 1.35; }

  .h-sec { font-size: clamp(28px, 8vw, 36px); }
  .lead { font-size: 15px; }

  /* before/after: copy and clip side by side */
  .ba { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 16px; }
  .ba .h-sec { font-size: 24px; margin-top: 12px; }
  .ba .lead { font-size: 13.5px; line-height: 1.55; }
  .ba-side { gap: 10px; margin-top: 16px !important; }
  .ba-side .card { padding: 12px 14px; }
  .ba-side .card p, .ba-side .card .muted { display: none; }
  .ba-side h4 { font-size: 14px; margin: 2px 0 0; }
  .ba-side .tag { font-size: 10px; }
  .ba-note { font-size: 11.5px; }
  .ba > div:first-child > .btn { height: 42px; padding: 0 16px; font-size: 13px; }
  .compare { border-radius: 24px; box-shadow: 0 0 0 1px var(--line), 0 0 0 6px #fff, 0 0 0 7px var(--line), var(--shadow); }
  .compare .lbl { top: 10px; font-size: 10.5px; padding: 5px 9px; }
  .compare .lbl.l { left: 10px; } .compare .lbl.r { right: 10px; }
  .compare .handle::after { width: 36px; height: 36px; font-size: 12px; }

  /* the ceiling: 2 × 2 */
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 30px 0 26px; }
  .spec { padding: 18px 16px; }
  .spec .num { font-size: 40px; }
  .spec b { font-size: 14px; margin-top: 10px; }
  .spec span:not(.num) { font-size: 12.5px; }

  /* plans: swipe sideways */
  .plans { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -16px; padding: 18px 16px 24px; scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { scroll-snap-align: center; padding: 24px; }
  .plan.pop { transform: none; }
  .plan .big b { font-size: 48px; }

  /* live: three in a row */
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .stat { min-height: 100px; padding: 16px 12px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
  .stat b { font-size: clamp(17px, 5.4vw, 22px); }
  .stat small { font-size: 10.5px; letter-spacing: .04em; }
  html[lang=ar] .stat small { font-size: 11.5px; }
  .feed { padding: 18px; }

  .faq { gap: 12px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 15px; padding: 18px 0; }

  .fx .wrap > .fx-card { grid-template-columns: 1fr 1fr; gap: 24px 16px; border-radius: 28px; box-shadow: 0 0 0 1px #1c1510, var(--shadow-lg); }
  .fx-about, .fx-contact { grid-column: 1 / -1; }
  .fx-bottom { justify-content: center; text-align: center; }

  .page-head { padding-block: 44px 24px; }
  .page-head h1 { font-size: clamp(34px, 10vw, 46px); }
  .opt > .card, .shop > .card { padding: 18px !important; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .facts div { padding: 10px; border-radius: 12px; }
  .facts b { font-size: 13px; }
  .presets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .presets button { height: 58px; font-size: 15px; border-radius: 14px; }
  .presets button small { font-size: 11.5px; }
  .kv { grid-template-columns: 1fr 1fr; }
  /* file row on top, its three actions on their own row inside the same card */
  .recent-item { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px 12px; }
  .recent-item .act { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; }
  .recent-item .act .btn-sm { width: 100%; padding: 0 10px; }
  .vgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; gap: 14px; }
  .step .n { width: 44px; height: 44px; font-size: 17px; border-radius: 14px; }
  .engines button { padding: 10px 6px; font-size: 13px; }
  .engines button small { font-size: 11.5px; }
}

/* ── Arabic / RTL ────────────────────────────────── */
.i18n-pending body { visibility: hidden; }
.lang-btn { min-width: 40px; padding: 0 12px; font-weight: 700; }
html[lang=ar] * { letter-spacing: 0 !important; }
html[lang=ar] .hero h1 { line-height: 1.22; }
html[lang=ar] .h-sec, html[lang=ar] .page-head h1 { line-height: 1.25; }
html[lang=ar] .eyebrow { text-transform: none; font-size: 12.5px; }
/* things that are spatial, not textual, stay left-to-right */
.compare, .frames, #cover, input[type=url], .fx-mail { direction: ltr; }
/* mixed values ("1.15 MB", "1280×720", "3 كريدت") pick their own direction */
[dir=rtl] .facts b, [dir=rtl] .kv b, [dir=rtl] .recent-item .sub, [dir=rtl] .table td, [dir=rtl] #fsub { unicode-bidi: plaintext; text-align: right; }

/* ══ round 2: features, quality picker, plan box, phone layouts ══════════ */

/* hero feature cards (replace the small chips) */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: 60px auto 0; text-align: start; }
.feat { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; background: #fff; border-radius: 22px; box-shadow: var(--bezel), var(--shadow); transition: transform .5s var(--ease); }
.feat:hover { transform: translateY(-3px); }
.feat i { grid-row: span 2; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); }
.feat i svg { width: 26px; height: 26px; }
.feat b { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.feat span { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* quality picker: a chain of two choices and the answer */
.qp { max-width: 980px; margin: 44px auto 30px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; background: #fff; border-radius: 30px; box-shadow: var(--bezel), var(--shadow); overflow: hidden; text-align: start; }
.qp-steps { padding: 30px; display: grid; gap: 22px; }
.qp-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.qp-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: #fff; font-weight: 800; font-size: 15px; }
.qp-step b { display: block; font-size: 16px; font-weight: 700; margin: 6px 0 12px; }
.qp-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.qp-seg button { flex: 1 1 0; min-width: 64px; height: 48px; border: 0; border-radius: 14px; background: var(--bg-2); font-weight: 700; font-size: 15px; cursor: pointer; direction: ltr; transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.qp-seg button:hover { transform: translateY(-2px); }
.qp-seg button.on { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 22px -10px rgba(255, 106, 43, .7); }
.qp-out { padding: 30px; background: #1c1510; color: #fff; display: grid; gap: 10px; align-content: center; position: relative; overflow: hidden; }
.qp-out::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; inset-inline-end: -120px; top: -150px; background: radial-gradient(circle, rgba(255, 106, 43, .4), transparent 65%); pointer-events: none; }
.qp-cost { position: relative; display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.qp-cost b { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--accent-2); }
.qp-cost span { color: rgba(255, 255, 255, .7); font-size: 15px; }
.qp-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: baseline; padding: 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.qp-row span { font-weight: 600; font-size: 14.5px; }
.qp-row b { font-size: 20px; font-weight: 800; direction: ltr; }
.qp-row small { color: rgba(255, 255, 255, .55); font-size: 12.5px; }
.qp-row.hot { background: rgba(255, 106, 43, .2); }
.qp-row.hot b { color: var(--accent-2); }
.qp-note { grid-column: 1 / -1; margin: 0; padding: 16px 30px; background: var(--bg-2); color: var(--muted); font-size: 13.5px; text-align: center; }

/* plans: one box, pick a plan, continue to payment */
.pp { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 10px; background: #fff; border-radius: 34px; box-shadow: var(--bezel), var(--shadow-lg); text-align: start; }
.pp-list { display: grid; gap: 8px; align-content: start; padding: 4px; }
.pp-opt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 18px 18px; border: 0; border-radius: 22px; background: var(--bg-2); cursor: pointer; text-align: start; transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.pp-opt:hover { transform: translateY(-2px); }
.pp-opt.on { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.pp-dot { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); background: #fff; transition: box-shadow .35s var(--ease); }
.pp-opt.on .pp-dot { box-shadow: inset 0 0 0 7px var(--accent); }
.pp-name b { display: block; font-size: 17px; font-weight: 800; }
.pp-name small { color: var(--muted); font-size: 13px; }
.pp-opt em { position: absolute; top: -9px; inset-inline-end: 18px; font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.pp-price { font-size: 22px; font-weight: 800; letter-spacing: -.03em; direction: ltr; }
.pp-price small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pp-detail { display: flex; flex-direction: column; padding: 26px; border-radius: 26px; background: #1c1510; color: #fff; position: relative; overflow: hidden; }
.pp-detail::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; inset-inline-start: -110px; bottom: -150px; background: radial-gradient(circle, rgba(255, 106, 43, .35), transparent 65%); pointer-events: none; }
.pp-detail h4 { position: relative; margin: 0 0 16px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.pp-detail ul { position: relative; list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; flex: 1; }
.pp-detail li { display: flex; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .86); }
.pp-detail li::before { content: "✓"; color: var(--accent-2); font-weight: 800; }
.pp-detail .btn { position: relative; }
.pp-detail .btn-white { background: #fff; color: var(--text); }
.pp-fine { position: relative; margin: 12px 0 0; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.small-print a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* the quality picker as a boarding pass */
.tk { grid-template-columns: minmax(0, 1fr) 310px; margin-bottom: 14px; border-radius: 30px; }
.tk-main { padding: 28px 30px; display: grid; gap: 22px; }
.tk-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 2px dashed var(--line-2); }
.tk-brand { display: inline-flex; align-items: center; gap: 10px; }
.tk-brand .mark { width: 30px; height: 30px; border-radius: 9px; }
.tk-brand b { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.tk-route { display: inline-flex; align-items: center; gap: 12px; }
.tk-route span { display: grid; line-height: 1.2; }
.tk-route small { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.tk-route b { font-size: 15px; font-weight: 800; }
.tk-route i { color: var(--accent); width: 48px; }
.tk-route i svg { width: 48px; height: 12px; }
[dir=rtl] .tk-route i svg { transform: scaleX(-1); }
.tk-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 18px; border-top: 2px dashed var(--line-2); }
.tk-meta small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.tk-meta b { font-size: 16px; font-weight: 800; color: var(--accent-deep); direction: ltr; unicode-bidi: isolate; }
.tk-stub { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; background: #1c1510; color: #fff; border-inline-start: 3px dashed #fbf7f2; }
.tk-stub::before, .tk-stub::after { content: ""; position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); inset-inline-start: -16px; }
.tk-stub::before { top: -15px; } .tk-stub::after { bottom: -15px; }
.tk-stub > small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.tk-stub .qp-cost { margin: 0; }
.tk-stub .qp-cost b { font-size: 72px; }
.tk-rows { display: grid; gap: 8px; }
.tk-code { display: block; height: 44px; margin-top: auto; border-radius: 4px; opacity: .9;
  background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 13px, #fff 13px 14px, transparent 14px 18px); }
.qp-note { max-width: 980px; margin: 0 auto 34px; padding: 0; background: none; text-align: center; }
html[lang=ar] .tk-brand b, html[lang=ar] .tk-route small, html[lang=ar] .tk-meta small, html[lang=ar] .tk-stub > small { letter-spacing: 0; text-transform: none; font-size: 12px; }

/* installed app: keep the floating bar clear of the status bar / notch */
html.standalone .nav { top: calc(env(safe-area-inset-top) + 6px); margin-top: calc(env(safe-area-inset-top) + 6px); }
html.standalone .drawer { padding-top: calc(env(safe-area-inset-top) + 90px); }
.ios-hint {
  position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 14px); z-index: 120;
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 32px; align-items: center; gap: 12px; padding: 12px 12px 12px 14px;
  border-radius: 22px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: var(--bezel), var(--shadow-lg); transform: translateY(140%); transition: transform .6s var(--ease);
}
.ios-hint.on { transform: none; }
.ios-hint img { border-radius: 12px; }
.ios-hint b { display: block; font-size: 15px; font-weight: 800; }
.ios-hint span { font-size: 13px; color: var(--muted); }
.ios-hint span svg { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; color: #0a84ff; }
.ios-hint button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--bg-2); cursor: pointer; }

/* one-row quality picker */
.qr { max-width: 1000px; margin: 40px auto 14px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr); gap: 10px; padding: 10px; background: #fff; border-radius: 30px; box-shadow: var(--bezel), var(--shadow); text-align: start; }
.qr-pick { padding: 18px; border-radius: 22px; background: var(--bg-2); }
.qr-pick b { display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.qr .qp-seg { flex-wrap: nowrap; gap: 6px; }
.qr .qp-seg button { min-width: 0; height: 44px; font-size: 14px; background: #fff; }
.qr .qp-seg button.on { background: var(--accent); }
.qr-out { padding: 18px; border-radius: 22px; background: #1c1510; color: #fff; display: grid; gap: 6px; align-content: center; }
.qr-out small { color: var(--accent-2); font-weight: 700; font-size: 13px; }
.qr-out .qp-cost { margin: 0; } .qr-out .qp-cost b { font-size: 46px; } .qr-out .qp-cost span { font-size: 13px; }
.qr-mini { display: flex; gap: 6px; flex-wrap: wrap; }
.qr-mini span { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12px; color: rgba(255, 255, 255, .75); }
.qr-mini b { color: #fff; }
/* plans side by side, details under them */
.pp { grid-template-columns: minmax(0, 1fr) !important; }
.pp-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-opt { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; padding: 26px 12px 20px; }
.pp-detail ul { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .qr { grid-template-columns: 1fr 1fr; } .qr-out { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .qr { grid-template-columns: 1fr 1fr; padding: 8px; gap: 8px; border-radius: 24px; }
  .qr-pick { padding: 12px 10px; } .qr-pick b { font-size: 12.5px; }
  .qr .qp-seg { flex-wrap: wrap; } .qr .qp-seg button { flex: 1 1 40%; height: 38px; font-size: 12.5px; }
  .qr .qp-seg[data-q=f] { flex-wrap: nowrap; } .qr .qp-seg[data-q=f] button { flex: 1 1 0; }
  .pp-list { gap: 6px; } .pp-opt { padding: 20px 6px 14px; gap: 6px; }
  .pp-name small { display: none; } .pp-price { font-size: 16px; }
  .pp-opt em { font-size: 11px; padding: 2px 7px; inset-inline-end: 50%; transform: translateX(50%); }
}

/* magnifier lens over the comparison (mouse only) */
.lens { position: absolute; z-index: 3; width: 170px; height: 170px; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .25s var(--ease), transform .35s var(--ease); box-shadow: 0 0 0 3px #fff, 0 18px 40px rgba(0, 0, 0, .45); }
.lens.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* the bitrate TikTok kept */
.bars { max-width: 980px; margin: 70px auto 0; padding: 28px 30px; background: #fff; border-radius: 30px; box-shadow: var(--bezel), var(--shadow); }
.bars-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.bars-head b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.bars-head span { font-size: 13px; color: var(--dim); }
.bar { display: grid; grid-template-columns: 130px minmax(0, 1fr) 120px; align-items: center; gap: 16px; padding: 10px 0; }
.bar > span { font-size: 15px; font-weight: 600; color: var(--muted); }
.bar.on > span { color: var(--text); }
.bar-track { height: 18px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 99px; background: #cfc5ba; transform: scaleX(0); transform-origin: left center; transition: transform 1.6s var(--ease) .2s; }
[dir=rtl] .bar-track i { transform-origin: right center; }
.bar.on .bar-track i { background: var(--grad); box-shadow: 0 0 18px rgba(255, 106, 43, .45); }
.bars.in .bar-track i { transform: scaleX(var(--w)); }
.bar > b { font-size: 18px; font-weight: 800; text-align: end; direction: ltr; unicode-bidi: isolate; }
.bar.on > b { color: var(--accent-deep); }
.bars p { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* your activity: one dark panel */
.actp { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 34px; background: #1c1510; color: #fff; position: relative; overflow: hidden; box-shadow: 0 0 0 1px #1c1510, 0 0 0 10px rgba(255, 255, 255, .7), 0 0 0 11px var(--line), var(--shadow-lg); }
.actp::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; inset-inline-start: -200px; top: -320px; background: radial-gradient(circle, rgba(255, 106, 43, .38), transparent 65%); pointer-events: none; }
.act-stats { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.act-stat { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; border-radius: 26px; background: rgba(255, 255, 255, .05); }
.act-stat i { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 106, 43, .16); color: var(--accent-2); margin-bottom: 8px; }
.act-stat i svg { width: 24px; height: 24px; }
.act-stat b { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
[dir=rtl] .act-stat b { text-align: right; }
.act-stat small { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
html[lang=ar] .act-stat small { letter-spacing: 0; font-size: 13px; }
.act-feed { position: relative; padding: 22px 22px 16px; border-radius: 26px; background: rgba(255, 255, 255, .07); }
.act-feed-head { display: flex; justify-content: space-between; align-items: center; }
.act-feed-head b { font-size: 16px; }
.act-feed p { margin: 4px 0 0; font-size: 13px; color: rgba(255, 255, 255, .6); }
.act-feed .pill.good { background: rgba(61, 220, 132, .16); color: #5fe3a1; }
.act-feed .feed-item { color: rgba(255, 255, 255, .85); }
.act-feed .feed-item .av { background: rgba(255, 106, 43, .2); color: var(--accent-2); }
.act-feed .feed-item .muted { color: rgba(255, 255, 255, .55); }
.act-feed .empty { color: rgba(255, 255, 255, .55); }
.act-feed .empty a { color: var(--accent-2) !important; }
.act-note { font-size: 13px; margin-top: 18px; }

/* tablet */
@media (max-width: 860px) {
  .actp { grid-template-columns: minmax(0, 1fr); }
  .qp { grid-template-columns: minmax(0, 1fr); }
  .pp { grid-template-columns: minmax(0, 1fr); }
  /* the pass turns: stub below, perforation across */
  .tk-stub { border-inline-start: 0; border-top: 3px dashed #fbf7f2; }
  .tk-stub::before, .tk-stub::after { top: -16px; bottom: auto; }
  .tk-stub::before { inset-inline-start: -16px; } .tk-stub::after { inset-inline-start: auto; inset-inline-end: -16px; }
  .tk-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tk-rows .qp-row { grid-template-columns: 1fr; text-align: center; gap: 2px; padding: 10px 6px; }
  .tk-code { height: 36px; }
}

/* phone */
@media (max-width: 640px) {
  /* hero: one full-width action, two equal ones under it */
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 380px; margin: 0 auto; }
  .hero-cta .btn { height: 50px; font-size: 14px; padding: 0 10px; min-width: 0; }
  .hero-cta .btn:first-child { grid-column: auto; height: 50px; font-size: 14px; }
  .hero-cta .btn:last-child { grid-column: 1 / -1; justify-self: center; height: 42px; padding: 0 26px; font-size: 13.5px; }
  .hero-note { margin-top: 20px; }
  .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
  .feat { grid-template-columns: 1fr; grid-template-rows: auto; justify-items: center; text-align: center; row-gap: 8px; padding: 16px 8px 14px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
  .feat i { grid-row: auto; width: 44px; height: 44px; border-radius: 14px; }
  .feat b { font-size: 13px; }
  .feat span { display: none; }

  /* before/after: heading, the clip large in the middle, then two cards side by side */
  .ba { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ba > div:first-child { display: contents; }
  .ba .eyebrow { order: 1; justify-self: start; }
  .ba .h-sec { order: 2; font-size: clamp(28px, 8vw, 34px); margin: 14px 0 8px; }
  .ba .lead { order: 3; font-size: 15px; margin: 0 0 22px; }
  .compare { order: 4; width: min(78%, 300px); height: auto; justify-self: center; border-radius: 28px; box-shadow: 0 0 0 1px var(--line), 0 0 0 8px #fff, 0 0 0 9px var(--line), var(--shadow-lg); }
  .ba-side { order: 5; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px !important; }
  .ba-side .card { padding: 16px; }
  .ba-side .card p { display: none; }
  .ba-side .card span.muted { display: block; font-size: 12px !important; margin-top: 2px; }
  .ba-side h4 { font-size: 15px; margin: 4px 0 0; }
  .ba-side .tag { font-size: 11.5px; }
  .ba-note { order: 6; font-size: 12px; text-align: center; margin-top: 16px; }
  .ba > div:first-child > .btn { order: 7; justify-self: center; height: 50px; padding: 0 26px; font-size: 15px; margin-top: 16px !important; }
  .compare .lbl { top: 12px; font-size: 11px; padding: 5px 10px; }
  .compare .lbl.l { left: 12px; } .compare .lbl.r { right: 12px; }

  /* quality picker & plan box */
  .qp { margin: 30px 0 22px; border-radius: 26px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
  .qp-steps { padding: 20px 18px; gap: 18px; }
  .qp-step { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
  .qp-n { width: 30px; height: 30px; font-size: 13px; }
  .qp-step b { font-size: 15px; margin: 4px 0 10px; }
  .qp-seg { gap: 6px; flex-wrap: nowrap; }
  .qp-seg button { min-width: 0; height: 44px; font-size: 13.5px; border-radius: 12px; }
  .tk-main { padding: 20px 18px; gap: 18px; }
  .tk-head { padding-bottom: 14px; }
  .tk-route b { font-size: 13.5px; }
  .tk-route i, .tk-route i svg { width: 34px; }
  .tk-meta b { font-size: 13.5px; }
  .tk-stub { padding: 22px 18px 18px; }
  .tk-stub .qp-cost b { font-size: 52px; }
  .qp-cost { margin: 0 0 4px; }
  .qp-row { grid-template-columns: 1fr; text-align: center; gap: 2px; padding: 10px 6px; }
  .qp-row span { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
  .qp-row b { font-size: 22px; }
  .qp-row small { font-size: 10.5px; }
  .qp-note { padding: 14px 18px; font-size: 12.5px; }
  .bars { margin-top: 44px; padding: 20px 18px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
  .bars-head b { font-size: 16px; }
  .bars-head span { font-size: 11.5px; }
  .bar { grid-template-columns: 86px minmax(0, 1fr) 82px; gap: 10px; }
  .bar > span { font-size: 13px; }
  .bar > b { font-size: 14px; }
  .bar-track { height: 14px; }
  .actp { padding: 8px; border-radius: 28px; box-shadow: 0 0 0 1px #1c1510, var(--shadow-lg); }
  .act-stats { gap: 6px; }
  .act-stat { padding: 16px 10px; border-radius: 20px; align-items: center; text-align: center; gap: 4px; }
  .act-stat i { width: 38px; height: 38px; border-radius: 12px; margin-bottom: 4px; }
  .act-stat i svg { width: 20px; height: 20px; }
  .act-stat b { font-size: clamp(18px, 5.6vw, 24px); }
  [dir=rtl] .act-stat b { text-align: center; }
  .act-stat small { font-size: 10px; letter-spacing: .04em; }
  html[lang=ar] .act-stat small { font-size: 11px; }
  .act-feed { padding: 18px 16px 12px; border-radius: 20px; }
  .pp { padding: 8px; border-radius: 28px; gap: 8px; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
  .pp-opt { padding: 16px 14px; gap: 12px; border-radius: 20px; }
  .pp-name b { font-size: 16px; }
  .pp-name small { font-size: 12px; }
  .pp-price { font-size: 19px; }
  .pp-detail { padding: 22px 18px; border-radius: 22px; }
  .pp-detail h4 { font-size: 18px; }
  .pp-detail ul { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pp-detail li { font-size: 13.5px; }
}

/* ── server: announcement strip + email sign-in ─────────────────────────── */
.site-notice { position: relative; z-index: 5; margin: 92px auto -76px; max-width: 760px; padding-inline: 16px; }
.site-notice .wrap { padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: var(--bezel), var(--shadow-sm, 0 6px 20px -12px rgba(28,21,16,.25)); font-size: 13.5px; font-weight: 600; text-align: center; color: var(--text); }
.site-notice .wrap::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-inline-end: 9px; vertical-align: 1px; }
.site-notice.warn .wrap { background: #fff4e8; color: #8a3a0c; }
.mail-in { display: flex; gap: 8px; margin-top: 12px; }
.mail-in input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border-radius: 15px; border: 1px solid rgba(28, 21, 16, .1); background: var(--bg-2); font: inherit; font-size: 15px; color: var(--text); }
.mail-in input:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: #fff; }
.mail-in .btn { height: 50px; border-radius: 15px; white-space: nowrap; padding-inline: 16px; }
@media (max-width: 760px) { .site-notice { margin-top: 84px; margin-bottom: -64px; } .site-notice .wrap { border-radius: 18px; } }
