/* Sahra website — one small design system. Arabic-first (RTL) with an English mode (.ar / .en spans).
   Brand palette + Tajawal (400 / 700 / 800 only). No framework; works without JavaScript. */

@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/tajawal_regular.woff2") format("woff2"), url("../fonts/tajawal_regular.ttf") format("truetype"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/tajawal_bold.woff2") format("woff2"), url("../fonts/tajawal_bold.ttf") format("truetype"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/tajawal_extrabold.woff2") format("woff2"), url("../fonts/tajawal_extrabold.ttf") format("truetype"); }

:root {
  --night: #0C0908;
  --surface: #171210;
  --surface-2: #1D1613;
  --surface-high: #241C19;
  --crimson: #E0222E;
  --crimson-deep: #8B0A12;
  --wine: #3A0508;
  --honey: #FFD37A;
  --gold: #FFC21A;
  --cream: #FFF6E6;
  --text: #F7EFEA;
  --muted: #B9ADA8;
  --subtle: #8E827D;
  --jade: #26B37E;
  --jade-text: #4CD6A0;
  --line: rgba(255, 246, 230, .08);
  --line-2: rgba(255, 246, 230, .15);
  --line-gold: rgba(255, 194, 26, .38);
  --r-xl: 28px;
  --r-lg: 20px;
  --r: 14px;
  --r-sm: 10px;
  --gutter: 18px;
  --maxw: 1200px;
  --header-h: 64px;
  --shadow: 0 1px 0 rgba(255, 246, 230, .04) inset, 0 22px 50px -30px rgba(0, 0, 0, .9);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
  background: var(--night); color: var(--text);
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.75; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-size: 16.5px; line-height: 1.6; }
html[lang="ar"] .en, html[lang="en"] .ar { display: none !important; }
main { flex: 1 0 auto; }
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--cream); font-weight: 800; line-height: 1.25; }
p { margin: 0; }
a { color: var(--honey); text-decoration: none; }
a:hover { color: var(--cream); }
p a:not(.btn), .ans a, .g-steps a, .note a { text-decoration: underline; text-decoration-color: rgba(255, 211, 122, .45); text-decoration-thickness: 1px; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88em; color: var(--honey); background: rgba(255, 211, 122, .09); border: 1px solid rgba(255, 211, 122, .14); padding: .12em .5em; border-radius: 7px; overflow-wrap: anywhere; }
b, strong { font-weight: 700; color: var(--cream); }
::selection { background: rgba(255, 194, 26, .32); color: #fff; }

.i { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; vertical-align: -.22em; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #1F1300; font-weight: 700; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; color: #1F1300; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn .i { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: #1F1300; box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 12px 28px -14px rgba(255, 194, 26, .75); }
.btn-primary:focus-visible, .btn-wa:focus-visible { outline-color: var(--cream); }
.btn-primary:hover { background: #FFCD3F; color: #1F1300; box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 16px 34px -14px rgba(255, 194, 26, .9); }
.btn-ghost { background: rgba(255, 246, 230, .04); border-color: var(--line-2); color: var(--cream); }
.btn-ghost:hover { background: rgba(255, 246, 230, .08); border-color: rgba(255, 246, 230, .26); color: var(--cream); }
.btn-wa { background: var(--jade); color: #03140C; box-shadow: 0 12px 28px -16px rgba(38, 179, 126, .8); }
.btn-wa:hover { background: #2DC58C; color: #03140C; }
.btn .i-wa, .i-wa { color: var(--jade-text); }
.btn-wa .i-wa { color: currentColor; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-sm .i { width: 18px; height: 18px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn.is-disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: default; pointer-events: none; box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- announcement + header ---------- */
.announce { position: relative; z-index: 41; padding: 9px var(--gutter); text-align: center; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--cream); background: linear-gradient(90deg, var(--crimson-deep), #B3121D 50%, var(--crimson-deep)); }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-inline-start: 8px; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(12, 9, 8, .82); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  transition: background-color .3s, border-color .3s;
}
.js body[data-page="home"] .site-header:not(.scrolled) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav { height: 100%; display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); font-size: 22px; font-weight: 800; line-height: 1; }
.brand:hover { color: var(--cream); }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(255, 181, 71, .4)); }
.nav-links { display: none; align-items: center; gap: 2px; margin-inline-start: 28px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 15.5px; font-weight: 700; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--cream); background: rgba(255, 246, 230, .05); }
body[data-page="download"] [data-nav="download"], body[data-page="guide"] [data-nav="guide"], body[data-page="contact"] [data-nav="contact"],
body[data-page="about"] [data-nav="about"] { color: var(--honey) !important; }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang-btn { display: inline-grid; place-items: center; height: 40px; min-width: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 246, 230, .04); color: var(--cream); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .2s, border-color .2s; }
.lang-btn:hover { background: rgba(255, 246, 230, .09); border-color: rgba(255, 246, 230, .26); }
.nav-cta { display: none; }
.menu { position: relative; }
.menu > summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; color: var(--cream); background: rgba(255, 246, 230, .04); border: 1px solid var(--line-2); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary .i { width: 22px; height: 22px; }
.menu[open] .i-open, .menu:not([open]) .i-shut { display: none; }
.menu-panel {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: min(320px, calc(100vw - 2 * var(--gutter)));
  display: grid; gap: 2px; padding: 8px; border-radius: 16px; background: #171210; border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9);
}
.menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 10px; color: var(--text); font-weight: 700; }
.menu-panel a:not(.btn):hover { background: rgba(255, 246, 230, .06); color: var(--honey); }
.menu-panel .btn { margin-top: 6px; }
.menu-sep { height: 1px; margin: 6px 4px; background: var(--line); }
@media (min-width: 1040px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu { display: none; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
.hero-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(46% 40% at 50% 20%, rgba(255, 170, 60, .16), transparent 70%),
    radial-gradient(70% 50% at 50% 22%, rgba(224, 34, 46, .2), transparent 72%),
    radial-gradient(90% 60% at 100% 0%, rgba(58, 5, 8, .8), transparent 70%),
    linear-gradient(180deg, #140C0B 0%, var(--night) 78%); }
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
  background-image:
    radial-gradient(1.3px 1.3px at 12% 18%, #FFF6E6 50%, transparent 51%), radial-gradient(1px 1px at 22% 64%, #FFD37A 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 35% 10%, #FFF6E6 50%, transparent 51%), radial-gradient(1px 1px at 47% 34%, #FFF6E6 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 61% 9%, #FFD37A 50%, transparent 51%), radial-gradient(1px 1px at 68% 46%, #FFF6E6 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 77% 24%, #FFF6E6 50%, transparent 51%), radial-gradient(1px 1px at 86% 60%, #FFD37A 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 93% 13%, #FFF6E6 50%, transparent 51%), radial-gradient(1px 1px at 5% 44%, #FFF6E6 50%, transparent 51%);
  animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .3; } to { opacity: .7; } }
.hero-grid { display: grid; align-items: center; gap: 4px; padding-block: 0 64px; }
.hero-art { position: relative; order: -1; height: 250px; display: flex; justify-content: center; pointer-events: none; }
.hero-lantern { height: 320px; width: auto; margin-top: -78px; overflow: visible; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55)); }
.lantern-floor { position: absolute; bottom: 0; left: 50%; width: 170px; height: 26px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 181, 71, .3), rgba(224, 34, 46, .1) 60%, transparent); filter: blur(4px); }
.embers { position: absolute; inset: 0; overflow: visible; }
.ember { position: absolute; bottom: 34%; width: 4px; height: 4px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #FFF2C8, #FFB547 45%, rgba(240, 96, 46, 0) 72%); animation: rise var(--d, 5s) ease-out var(--delay, 0s) infinite; }
@keyframes rise { 0% { opacity: 0; transform: translate(0, 0) scale(1); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--x, 20px), -220px) scale(.3); } }
.hero-copy { position: relative; z-index: 1; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--honey); background: rgba(255, 211, 122, .08); border: 1px solid rgba(255, 211, 122, .2); }
.eyebrow .i { width: 15px; height: 15px; }
.hero h1 { margin-top: 18px; }
.hero-wordmark { display: block; width: 150px; margin-inline: auto; }
.hero-wordmark .wordmark { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 26px rgba(255, 181, 71, .22)); }
.hero-headline { display: block; margin-top: 12px; font-size: clamp(32px, 7.4vw, 60px); font-weight: 800; line-height: 1.18; color: var(--cream); }
.hero-headline em { display: block; font-style: normal; color: var(--gold); background: linear-gradient(90deg, var(--honey), var(--gold) 55%, #FFA43D); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { max-width: 34em; margin: 16px auto 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero-cta { justify-content: center; margin-top: 28px; }
.hero-cta .btn { flex: 1 1 240px; max-width: 320px; }
.hero-hint { margin-top: 14px; font-size: 15px; color: var(--muted); }
.hero-hint b { color: var(--cream); }
.hero-hint a { margin-inline-start: 6px; }
.hero-platforms { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin: 30px 0 0; padding: 0; color: var(--muted); font-size: 14.5px; font-weight: 700; }
.hero-platforms li { display: inline-flex; align-items: center; gap: 7px; }
.hero-platforms .i { width: 18px; height: 18px; color: var(--honey); }
.wm-spark { animation: wmspark 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes wmspark { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (min-width: 960px) {
  .hero-bg { background:
      radial-gradient(30% 46% at 27% 50%, rgba(255, 170, 60, .17), transparent 70%),
      radial-gradient(46% 64% at 27% 52%, rgba(224, 34, 46, .2), transparent 72%),
      radial-gradient(70% 60% at 100% 0%, rgba(58, 5, 8, .75), transparent 70%),
      linear-gradient(180deg, #140C0B 0%, var(--night) 82%); }
  html[dir="ltr"] .hero-bg { transform: scaleX(-1); }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 48px; min-height: 620px; padding-block: 8px 48px; }
  .hero-copy { text-align: start; }
  .hero-wordmark { width: 190px; margin-inline: 0; }
  .hero-lead { margin-inline: 0; }
  .hero-cta, .hero-platforms { justify-content: flex-start; }
  .hero-cta .btn { flex: 0 0 auto; }
  .hero-art { order: 0; height: 600px; }
  .hero-lantern { height: 690px; margin-top: -96px; }
  .lantern-floor { width: 300px; height: 34px; bottom: 26px; }
}

/* lantern motion (the partial is generated from the app icon by tools/gen-brand.mjs) */
.hero-lantern .l-swing { transform-box: view-box; transform-origin: 24px -40px; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(1.6deg); } 50% { transform: rotate(-1.6deg); } }
.hero-lantern .l-glow, .hero-lantern .l-halo { transform-box: view-box; transform-origin: 24px 28.8px; animation: glow 3.6s ease-in-out infinite, fadein 1.6s .2s both; }
@keyframes glow { 0%, 100% { transform: scale(1); opacity: .92; } 50% { transform: scale(1.07); opacity: 1; } } /* transform/opacity only: no repaints */
@keyframes fadein { from { opacity: 0; } }
.hero-lantern .l-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.3s ease-in-out infinite; }
.hero-lantern .l-flame-1 { animation-duration: 1.05s; animation-delay: -.4s; }
.hero-lantern .l-flame-2 { animation-duration: 1.55s; animation-delay: -.8s; }
@keyframes flicker { 0%, 100% { transform: scale(1, 1); opacity: 1; } 25% { transform: scale(.9, 1.22); } 50% { transform: scale(1.05, .92); opacity: .85; } 75% { transform: scale(.95, 1.12); } }
.hero-lantern .l-unlit { animation: lightup 1.4s .35s ease-out forwards; }
@keyframes lightup { to { opacity: 0; } }
.hero-lantern .l-play { transform-box: view-box; transform-origin: 24.56px 30.45px; animation: playpulse 3.6s ease-in-out infinite; }
@keyframes playpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.hero-lantern .l-warm { animation: warm 2.2s ease-in-out infinite alternate; }
@keyframes warm { from { opacity: .72; } to { opacity: 1; } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: 72px; }
.section-tight { padding-top: 0; }
@media (min-width: 960px) { .section { padding-block: 88px; } .section-tight { padding-top: 0; } }
.band { background: linear-gradient(180deg, transparent, rgba(255, 246, 230, .022) 18%, rgba(255, 246, 230, .022) 82%, transparent); }
.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--honey); font-size: 14.5px; font-weight: 700; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
html[lang="en"] .kicker { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.22; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
html[lang="en"] .section-head p { font-size: 17.5px; }
.js.reveal-ready .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
.js.reveal-ready .reveal.in { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0s); } /* animate in only, hide instantly */

.icon-tile { --c: var(--honey); display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px; color: var(--c);
  background: rgba(255, 211, 122, .1); background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid rgba(255, 211, 122, .22); border: 1px solid color-mix(in srgb, var(--c) 26%, transparent); }
.icon-tile .i { width: 24px; height: 24px; }
.c-gold { --c: #FFC21A; } .c-honey { --c: #FFD37A; } .c-red { --c: #FF5A63; } .c-jade { --c: #3CCB94; } .c-cream { --c: #FFF6E6; }

/* ---------- features ---------- */
.features { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { padding: 18px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.feature:hover { border-color: var(--line-2); background: var(--surface-2); }
.feature .icon-tile { margin-bottom: 14px; width: 42px; height: 42px; }
.feature .icon-tile .i { width: 22px; height: 22px; }
.feature h3 { font-size: 16.5px; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
@media (min-width: 720px) {
  .features { gap: 16px; }
  .feature { padding: 24px 22px; }
  .feature .icon-tile { width: 46px; height: 46px; }
  .feature h3 { font-size: 18.5px; }
  .feature p { font-size: 15.5px; }
}
@media (min-width: 1040px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- demo video ---------- */
.demo { position: relative; max-width: 980px; margin-inline: auto; }
.demo::before { content: ""; position: absolute; inset: 8% 4% -6%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(224, 34, 46, .28), transparent 70%); filter: blur(20px); pointer-events: none; }
.demo-frame { padding: 8px; border-radius: 26px; background: linear-gradient(180deg, rgba(255, 246, 230, .1), rgba(255, 246, 230, .03)); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95); }
.demo-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #050303; }
.demo-video, .demo-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.demo-cover { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; width: 100%; margin: 0; padding: 16px; border: 0; color: inherit; font: inherit; text-decoration: none; cursor: pointer;
  background: radial-gradient(60% 70% at 50% 45%, rgba(255, 181, 71, .2), transparent 70%), radial-gradient(90% 90% at 50% 100%, var(--wine), transparent 70%), #0A0605; }
html:not(.js) [data-demo-play] { display: none; } /* without JS the <noscript> player is used */
.demo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 9, 8, .1), rgba(12, 9, 8, .55)); }
.demo-cover.is-soon { cursor: default; }
.demo-cover-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; }
.play-ring { display: grid; place-items: center; width: clamp(60px, 9vw, 84px); height: clamp(60px, 9vw, 84px); border-radius: 50%; color: #1F1300; background: var(--gold);
  box-shadow: 0 0 0 10px rgba(255, 194, 26, .16), 0 0 0 22px rgba(255, 194, 26, .06), 0 20px 50px -12px rgba(255, 194, 26, .7); transition: transform .3s var(--ease); }
.play-ring .i { width: 40%; height: 40%; margin-left: 7%; }
.demo-cover:hover .play-ring { transform: scale(1.06); }
.demo-label { font-size: clamp(16px, 2.4vw, 22px); font-weight: 800; color: var(--cream); text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.demo-cover .pl { width: clamp(64px, 12vw, 110px); filter: drop-shadow(0 0 28px rgba(255, 181, 71, .5)); }
.soon-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--honey); background: rgba(255, 211, 122, .1); border: 1px solid rgba(255, 211, 122, .35); }

/* ---------- device mockups (pure CSS, a tiny Sahra screen inside) ---------- */
.mock { position: relative; margin-inline: auto; }
.mock-screen { position: relative; container-type: inline-size; overflow: hidden; background: #070404; }
.mock-tv { width: min(100%, 240px); }
.mock-tv .mock-screen { aspect-ratio: 16 / 9; border-radius: 6px; border: 5px solid #0B0B0C; box-shadow: 0 0 0 1px #2B2522, 0 18px 40px -12px rgba(0, 0, 0, .9); }
.mock-tv .mock-stand { width: 30%; height: 14px; margin: 0 auto; background: linear-gradient(#1E1A18, #0F0D0C); clip-path: polygon(38% 0, 62% 0, 70% 70%, 100% 70%, 100% 100%, 0 100%, 0 70%, 30% 70%); }
.mock-tv-samsung { width: min(100%, 250px); }
.mock-tv-samsung .mock-screen { aspect-ratio: 16 / 9; border-radius: 3px; border: 3px solid #121214; box-shadow: 0 0 0 1px #34302E, 0 18px 40px -12px rgba(0, 0, 0, .9); }
.mock-tv-samsung .mock-stand { position: relative; height: 16px; }
.mock-tv-samsung .mock-stand::before, .mock-tv-samsung .mock-stand::after { content: ""; position: absolute; top: 0; width: 18%; height: 100%; background: linear-gradient(#2A2624, #121010); }
.mock-tv-samsung .mock-stand::before { left: 12%; clip-path: polygon(30% 0, 55% 0, 100% 100%, 0 100%); }
.mock-tv-samsung .mock-stand::after { right: 12%; clip-path: polygon(45% 0, 70% 0, 100% 100%, 0 100%); }
.mock-laptop { width: min(100%, 240px); }
.mock-laptop .mock-screen { width: 84%; margin-inline: auto; aspect-ratio: 16 / 10; border-radius: 9px 9px 0 0; border: 6px solid #141212; border-bottom-width: 9px; box-shadow: 0 0 0 1px #3A3330; }
.mock-laptop .mock-stand { position: relative; height: 10px; border-radius: 0 0 12px 12px; background: linear-gradient(#5A514C, #26201E); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .9); }
.mock-laptop .mock-stand::after { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 4px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: #1A1615; }
.mock-phone { width: 78px; }
.mock-phone .mock-screen { aspect-ratio: 9 / 19.5; border-radius: 16px; border: 4px solid #121011; box-shadow: 0 0 0 1px #3A3330, 0 18px 40px -12px rgba(0, 0, 0, .9); }
.mock-phone .mock-screen::before { content: ""; position: absolute; z-index: 2; top: 4px; left: 50%; width: 34%; height: 7px; border-radius: 6px; background: #000; transform: translateX(-50%); }
.mock-tablet { width: min(100%, 180px); }
.mock-tablet .mock-screen { aspect-ratio: 4 / 3; border-radius: 14px; border: 6px solid #121011; box-shadow: 0 0 0 1px #3A3330, 0 18px 40px -12px rgba(0, 0, 0, .9); }
.mock-phone .mock-stand, .mock-tablet .mock-stand { display: none; }
.mui { position: absolute; inset: 0; display: flex; gap: 3cqw; padding: 4cqw; background: radial-gradient(80% 60% at 70% 0%, #3A0508, transparent 70%), #0C0908; }
.mui-rail { width: 7cqw; display: flex; flex-direction: column; align-items: center; gap: 4cqw; padding-top: 2cqw; border-radius: 3cqw; background: rgba(255, 246, 230, .05); }
.mui-rail i { width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: rgba(255, 246, 230, .25); }
.mui-rail i:first-child { background: var(--gold); box-shadow: 0 0 2cqw var(--gold); }
.mui-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3cqw; }
.mui-hero { position: relative; flex: 1.35; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.6cqw; padding: 4cqw; border-radius: 3cqw; overflow: hidden;
  background: radial-gradient(60% 90% at 25% 40%, rgba(255, 181, 71, .45), transparent 70%), linear-gradient(120deg, #8B0A12, #3A0508 70%); }
.mui-hero b { display: block; width: 42%; height: 2.6cqw; border-radius: 2cqw; background: rgba(255, 246, 230, .85); }
.mui-hero b + b { width: 26%; height: 2cqw; background: var(--gold); }
.mui-mark { position: absolute; top: 12%; inset-inline-end: 8%; width: 22cqw; height: 22cqw; color: var(--honey); filter: drop-shadow(0 0 3cqw rgba(255, 181, 71, .8)); }
.mui-row { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.4cqw; }
.mui-row i { border-radius: 2cqw; background: linear-gradient(160deg, #5A1A10, #241C19); }
.mui-row i:nth-child(2) { background: linear-gradient(160deg, #E0222E, #3A0508); }
.mui-row i:nth-child(3) { background: linear-gradient(160deg, #FFC21A, #8A5208); }
.mui-row i:nth-child(4) { background: linear-gradient(160deg, #26B37E, #0D3A2A); }
.mui-row + .mui-row i:nth-child(1) { background: linear-gradient(160deg, #FFD37A, #6A3905); }
.mui-row + .mui-row i:nth-child(2) { background: linear-gradient(160deg, #3A2A26, #171210); }
.mui-row + .mui-row i:nth-child(3) { background: linear-gradient(160deg, #B5121C, #2A0306); }
.mock-phone .mui { flex-direction: column; padding: 14cqw 6cqw 6cqw; }
.mock-phone .mui-rail { display: none; }
.mock-phone .mui-main { gap: 6cqw; }
.mock-phone .mui-hero { flex: 1.1; border-radius: 8cqw; }
.mock-phone .mui-hero b { height: 6cqw; border-radius: 4cqw; }
.mock-phone .mui-hero b + b { height: 5cqw; }
.mock-phone .mui-mark { width: 40cqw; height: 40cqw; }
.mock-phone .mui-row { grid-template-columns: repeat(3, 1fr); gap: 5cqw; }
.mock-phone .mui-row i { border-radius: 4cqw; }
.mock-phone .mui-row i:nth-child(n+4) { display: none; }
.mock-tablet .mui-row { grid-template-columns: repeat(4, 1fr); }
.mock-tablet .mui-row i:nth-child(5) { display: none; }

/* every-screen scene (home) */
.platforms { display: grid; gap: 36px; align-items: center; }
.scene { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 16 / 11; }
.scene::before { content: ""; position: absolute; inset: 10% 6% 0; background: radial-gradient(50% 50% at 50% 55%, rgba(224, 34, 46, .22), transparent 70%); filter: blur(10px); }
.scene .mock { position: absolute; margin: 0; }
.scene .mock-tv { width: 80%; top: 0; left: 10%; }
.scene .mock-laptop { width: 52%; bottom: 0; left: 0; }
.scene .mock-tablet { width: 31%; bottom: 0; right: 13%; }
.scene .mock-phone { width: 12.5%; bottom: 0; right: 1%; }
.plist { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.plist a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, background-color .2s; }
.plist a:hover { color: var(--text); background: var(--surface-2); border-color: var(--line-gold); }
.plist .icon-tile { width: 44px; height: 44px; }
.plist .txt { min-width: 0; flex: 1; }
.plist b { display: block; font-size: 17px; font-weight: 800; line-height: 1.35; }
.plist small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.plist .ver { flex: none; font-size: 13.5px; font-weight: 700; color: var(--honey); white-space: nowrap; }
.plist .go { flex: none; width: 18px; height: 18px; color: var(--subtle); transform: rotate(90deg); }
html[dir="ltr"] .plist .go { transform: rotate(-90deg); }
@media (min-width: 960px) { .platforms { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

/* ---------- how it works ---------- */
.steps { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.step { position: relative; display: flex; flex-direction: column; padding: 24px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.step-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 17px; font-weight: 800; color: #1F1300; background: var(--gold); box-shadow: 0 0 0 6px rgba(255, 194, 26, .1); }
.step h3 { font-size: 19.5px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.step .btn { align-self: flex-start; margin-top: 18px; }
.step-foot { margin-top: auto; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .steps { gap: 18px; }
  .step { padding: 28px 26px; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 46px; inset-inline-end: -19px; width: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-gold) 0 4px, transparent 4px 8px); }
}

/* ---------- plans ---------- */
.plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; flex: 1 1 100%; min-width: 0; max-width: 440px; padding: 24px 22px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan-name { font-size: 18px; font-weight: 800; color: var(--cream); }
.plan-sub { margin-top: 2px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; line-height: 1; }
.plan-price b { font-size: 46px; font-weight: 800; color: var(--cream); letter-spacing: -.01em; }
.plan-price span { font-size: 16px; font-weight: 700; color: var(--muted); }
.plan-month { margin-top: 8px; color: var(--muted); font-size: 14px; }
.plan-specs { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.plan-specs li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.plan-specs .i { width: 19px; height: 19px; color: var(--honey); }
.plan-specs .plus .i { color: var(--jade-text); }
.plan-cta { margin-top: auto; padding-top: 22px; }
.plan.featured { background: linear-gradient(180deg, #2B2016, var(--surface) 62%); border-color: var(--line-gold); box-shadow: 0 0 0 1px rgba(255, 194, 26, .16), 0 30px 70px -36px rgba(255, 194, 26, .45); }
.plan.featured .plan-price b { color: var(--gold); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 800; color: #1F1300; background: var(--gold); box-shadow: 0 8px 20px -8px rgba(255, 194, 26, .8); }
.plan-badge .i { width: 14px; height: 14px; }
.plans-incl { display: grid; gap: 14px; margin: 28px auto 0; padding: 20px 22px; max-width: 1000px; border-radius: var(--r-lg); background: rgba(255, 246, 230, .025); border: 1px solid var(--line); }
.plans-incl h3 { font-size: 16px; color: var(--honey); }
.plans-incl ul { list-style: none; display: grid; gap: 10px 22px; margin: 0; padding: 0; }
.plans-incl li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.plans-incl .i { width: 19px; height: 19px; color: var(--jade-text); }
.plans-note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 15px; }
@media (max-width: 639px) {
  .plan { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 14px; padding: 22px 18px 18px; }
  .plan-name { grid-area: 1 / 1; }
  .plan-sub { grid-area: 2 / 1; }
  .plan-price { grid-area: 1 / 2; margin: 0; justify-self: end; }
  .plan-price b { font-size: 38px; }
  .plan-month { grid-area: 2 / 2; margin: 0; justify-self: end; font-size: 13px; }
  .plan-specs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; padding-top: 14px; }
  .plan-specs li { font-size: 15px; }
  .plan-cta { grid-column: 1 / -1; padding-top: 16px; }
}
@media (min-width: 640px) { .plan { flex: 1 1 280px; max-width: 360px; } .plans-incl ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) {
  .plans { flex-wrap: nowrap; gap: 12px; align-items: stretch; }
  .plan { flex: 1 1 0; max-width: none; padding: 26px 18px 20px; }
  .plan.featured { transform: translateY(-10px); }
  .plan-price b { font-size: 44px; }
  .plans-incl ul { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 840px; margin-inline: auto; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.faq details[open] { background: var(--surface-2); border-color: var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; cursor: pointer; font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { flex: 1; }
.faq summary .i { color: var(--honey); transition: transform .25s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq .ans { padding: 0 20px 20px; color: var(--muted); }
.faq-more { margin-top: 24px; text-align: center; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 52px 22px; border-radius: var(--r-xl); border: 1px solid rgba(255, 211, 122, .18);
  background: radial-gradient(60% 120% at 50% 0%, rgba(255, 181, 71, .22), transparent 70%), linear-gradient(135deg, #7A0A12, #3A0508 55%, #1A0405); }
.cta-band .pl { width: 64px; height: 64px; margin: 0 auto 10px; filter: drop-shadow(0 0 22px rgba(255, 181, 71, .6)); }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); }
.cta-band p { max-width: 560px; margin: 10px auto 0; color: #EAD7CF; }
.cta-band .actions { justify-content: center; margin-top: 26px; }
.cta-band .btn { flex: 0 1 260px; }
@media (min-width: 720px) { .cta-band { padding: 64px 40px; } }

/* ---------- inner page heads ---------- */
.page-head { position: relative; isolation: isolate; padding: 52px 0 36px; text-align: center; }
.page-head::before { content: ""; position: absolute; inset: -30% 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 60% at 50% 28%, rgba(224, 34, 46, .2), transparent 70%), radial-gradient(26% 36% at 50% 22%, rgba(255, 181, 71, .12), transparent 70%); }
.page-head .pl { width: 60px; height: 60px; margin-inline: auto; filter: drop-shadow(0 0 22px rgba(255, 181, 71, .55)); }
.page-head h1 { margin-top: 14px; font-size: clamp(32px, 5.4vw, 50px); line-height: 1.2; }
.page-head .lead { max-width: 640px; margin: 12px auto 0; color: var(--muted); font-size: 18px; }
.page-head .actions { justify-content: center; margin-top: 24px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--cream); background: rgba(255, 246, 230, .04); border: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.chip:hover { color: var(--honey); border-color: var(--line-gold); }
.chip .i { width: 17px; height: 17px; color: var(--honey); }

/* ---------- download ---------- */
.rel-list { display: grid; gap: 16px; }
.rel-card { display: grid; gap: 20px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); transition: border-color .3s, box-shadow .3s; }
.rel-card:target, .rel-card.is-mine { border-color: var(--line-gold); box-shadow: 0 0 0 3px rgba(255, 194, 26, .1); }
.rel-visual { display: grid; place-items: center; min-height: 170px; padding: 16px; border-radius: 16px; background: radial-gradient(70% 70% at 50% 60%, rgba(224, 34, 46, .17), transparent 70%), rgba(255, 246, 230, .02); }
.rel-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rel-title h2 { font-size: 24px; }
.rel-title .icon-tile { width: 40px; height: 40px; border-radius: 11px; }
.rel-title .icon-tile .i { width: 21px; height: 21px; }
@media (max-width: 599px) { .rel-visual { display: none; } .rel-card { padding: 20px 18px; } }
@media (min-width: 600px) { .rel-title .icon-tile { display: none; } }
.mine-badge { display: none; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #1F1300; background: var(--gold); }
.is-mine .mine-badge { display: inline-flex; }
.rel-sub { margin-top: 4px; color: var(--muted); }
.rel-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.rel-meta li { padding: 5px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); background: rgba(255, 246, 230, .04); border: 1px solid var(--line); }
.rel-meta b { margin-inline-start: 4px; color: var(--cream); }
.rel-notes { margin-top: 12px; }
.rel-notes summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--honey); font-size: 15px; font-weight: 700; list-style: none; }
.rel-notes summary::-webkit-details-marker { display: none; }
.rel-notes summary .i { width: 16px; height: 16px; transition: transform .2s; }
.rel-notes[open] summary .i { transform: rotate(180deg); }
.rel-notes p { margin-top: 8px; color: var(--muted); font-size: 15.5px; white-space: pre-line; }
.rel-soon { margin-top: 14px; color: var(--muted); }
.rel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.rel-tip { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 15px; color: var(--muted); background: rgba(255, 246, 230, .03); border: 1px solid var(--line); }
.rel-tip > .i { width: 18px; height: 18px; margin-top: 4px; color: var(--honey); }
.rel-tip code { display: inline-block; margin-top: 4px; }
code.typed { overflow-wrap: normal; word-break: normal; } /* break only at the <wbr> after each slash */
.rel-tip code { direction: ltr; unicode-bidi: isolate; }
.copy-btn { display: none; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255, 246, 230, .05); color: var(--cream); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.js .copy-btn { display: inline-flex; }
.copy-btn .i { width: 15px; height: 15px; color: currentColor; }
.copy-btn.done { color: var(--jade-text); border-color: rgba(38, 179, 126, .45); }
.ios-steps { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; padding: 0; counter-reset: ios; }
.ios-steps > li { display: grid; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(255, 246, 230, .03); border: 1px solid var(--line); counter-increment: ios; }
.ios-steps h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.ios-steps h3::before { content: counter(ios); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; color: #1F1300; background: var(--gold); }
.ios-steps p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.ios-steps .btn { justify-self: start; }
@media (min-width: 640px) { .ios-steps > li { grid-template-columns: 1fr auto; align-items: center; } .ios-steps p { padding-inline-start: 38px; } }
@media (min-width: 860px) {
  .rel-card { grid-template-columns: 270px 1fr; gap: 36px; padding: 28px; align-items: center; }
  .rel-visual { min-height: 210px; }
  .rel-visual .mock-tv, .rel-visual .mock-tv-samsung, .rel-visual .mock-laptop { width: 230px; }
  .rel-visual .mock-phone { width: 84px; }
  .rel-visual .mock-tablet { width: 190px; }
}

/* ---------- guide ---------- */
.guide { display: grid; gap: 16px; max-width: 920px; margin-inline: auto; }
.g-card { padding: 24px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.g-card:target { border-color: var(--line-gold); }
.g-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.g-head h2 { font-size: clamp(21px, 2.8vw, 26px); }
.g-head p { color: var(--muted); font-size: 15px; }
.g-card h3 { margin: 24px 0 12px; font-size: 17px; color: var(--honey); }
.g-card h3:first-of-type { margin-top: 4px; }
.g-steps { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; counter-reset: g; }
.g-steps > li { position: relative; min-height: 30px; padding-inline-start: 44px; counter-increment: g; }
.g-steps > li::before { content: counter(g); position: absolute; top: 1px; inset-inline-start: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 14px; font-weight: 800; color: var(--gold); background: rgba(255, 194, 26, .1); border: 1px solid rgba(255, 194, 26, .32); }
.g-steps code { display: inline-block; margin-top: 4px; direction: ltr; unicode-bidi: isolate; }
.g-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
@media (min-width: 760px) { .g-card { padding: 30px 32px; } }
.note { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; font-size: 15.5px; color: var(--text); background: rgba(255, 246, 230, .04); border: 1px solid var(--line); }
.note > .i { width: 20px; height: 20px; margin-top: 3px; color: var(--honey); }
.url { display: inline-block; color: var(--honey); font-weight: 700; unicode-bidi: isolate; overflow-wrap: anywhere; }
.note-tip { background: rgba(38, 179, 126, .08); border-color: rgba(38, 179, 126, .28); }
.note-tip > .i { color: var(--jade-text); }
.note-warn { background: rgba(224, 34, 46, .08); border-color: rgba(224, 34, 46, .3); }
.note-warn > .i { color: #FF8A90; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 16px; }
.panel { padding: 24px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.panel h2 { font-size: 22px; }
.panel > p { margin-top: 6px; color: var(--muted); }
@media (min-width: 760px) { .panel { padding: 30px; } }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.device-chip { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 6px 14px; border-radius: 999px; font-size: 15px; color: var(--muted); background: rgba(255, 246, 230, .04); border: 1px solid var(--line-2); }
.channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; margin-top: 18px; }
.channel { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 14px; color: var(--cream); background: rgba(255, 246, 230, .03); border: 1px solid var(--line); transition: border-color .2s, background-color .2s; }
.channel:hover { color: var(--cream); background: rgba(255, 246, 230, .06); border-color: var(--line-2); }
.channel .ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; color: var(--c, var(--honey)); background: rgba(255, 246, 230, .06); }
.channel .ic .i { width: 21px; height: 21px; }
.channel > span:last-child { min-width: 0; }
.channel b { display: block; font-size: 15.5px; line-height: 1.3; }
.channel small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: start; color: var(--muted); font-size: 13px; }
html[dir="rtl"] .channel small { text-align: right; }
.form { display: grid; gap: 14px; margin-top: 18px; }
.row2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 700; color: var(--cream); }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 16px; color: var(--text); background: #100B0A; border: 1px solid rgba(255, 246, 230, .14); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: rgba(255, 194, 26, .65); box-shadow: 0 0 0 4px rgba(255, 194, 26, .14); }
.field ::placeholder { color: #857A75; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-state { padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 700; }
.form-state.ok { color: #D9F3E8; background: rgba(38, 179, 126, .12); border: 1px solid rgba(38, 179, 126, .35); }
.form-state.err { color: #FFD9D4; background: rgba(224, 34, 46, .12); border: 1px solid rgba(224, 34, 46, .35); }

/* ---------- about ---------- */
.about-hero .wordmark { display: block; width: min(220px, 56vw); height: auto; margin: 14px auto 0; }
.dev-card { display: grid; gap: 22px; max-width: 880px; margin-inline: auto; padding: 30px 22px; border-radius: var(--r-xl); text-align: center;
  background: radial-gradient(70% 90% at 50% 0%, rgba(255, 181, 71, .13), transparent 70%), var(--surface); border: 1px solid var(--line-2); }
.avatar { position: relative; display: grid; place-items: center; width: 112px; height: 112px; margin-inline: auto; border-radius: 50%; font-size: 44px; font-weight: 800; color: #1F1300;
  background: conic-gradient(from 210deg, #FFE6A6, var(--gold), #E9A23B, #FFD37A, #FFE6A6); box-shadow: 0 0 0 6px rgba(255, 194, 26, .1), 0 0 50px -8px rgba(255, 181, 71, .55); }
.dev-card h2 { font-size: clamp(26px, 4vw, 32px); }
.dev-role { margin-top: 4px; color: var(--honey); font-weight: 700; }
.dev-bio { max-width: 620px; margin: 12px auto 0; color: var(--muted); }
.dev-card .actions { justify-content: center; margin-top: 22px; }
@media (min-width: 760px) { .dev-card { grid-template-columns: 150px 1fr; align-items: center; padding: 40px; text-align: start; } .avatar { width: 136px; height: 136px; } .dev-bio { margin-inline: 0; } .dev-card .actions { justify-content: flex-start; } }
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.strip > span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 700; color: var(--cream); background: rgba(255, 246, 230, .04); border: 1px solid var(--line-2); }
.strip .i { width: 18px; height: 18px; color: var(--honey); }

/* ---------- 404 ---------- */
.notfound { display: grid; place-items: center; min-height: 58vh; padding: 64px 0; text-align: center; }
.notfound .pl { width: 84px; height: 84px; margin-inline: auto; opacity: .85; filter: grayscale(.4) drop-shadow(0 0 22px rgba(255, 181, 71, .35)); }
.notfound .big { margin-top: 8px; font-size: clamp(72px, 16vw, 132px); font-weight: 800; line-height: 1; color: var(--gold); background: linear-gradient(180deg, var(--honey), #8A5208); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.notfound h1 { margin-top: 10px; font-size: 28px; }
.notfound p { margin-top: 8px; color: var(--muted); }
.notfound .actions { justify-content: center; margin-top: 26px; }

/* ---------- focused single-task pages (share, iPhone registration, admin app) ---------- */
.task { padding: 48px 0 72px; }
.task-card { position: relative; max-width: 620px; margin-inline: auto; padding: 32px 22px; border-radius: var(--r-xl); text-align: center;
  background: radial-gradient(80% 60% at 50% 0%, rgba(255, 181, 71, .12), transparent 70%), var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.task-card .pl { width: 72px; height: 72px; margin-inline: auto; filter: drop-shadow(0 0 24px rgba(255, 181, 71, .55)); }
.task-card h1 { margin-top: 14px; font-size: clamp(26px, 5vw, 34px); }
.task-card .lead { margin-top: 10px; color: var(--muted); font-size: 17.5px; }
.task-card .actions { flex-direction: column; align-items: stretch; margin-top: 26px; }
.task-card .actions .btn { width: 100%; }
.task-meta { margin-top: 18px; color: var(--subtle); font-size: 14px; }
@media (min-width: 640px) { .task-card { padding: 40px 44px; } }
.task-steps { max-width: 620px; margin: 22px auto 0; padding: 22px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.task-steps h2 { font-size: 19px; margin-bottom: 14px; }
.task-steps .note { margin-top: 16px; }
.facts { list-style: none; display: grid; gap: 8px; margin: 18px 0 0; padding: 0; text-align: start; }
.facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: var(--text); }
.facts .i { width: 19px; height: 19px; margin-top: 4px; color: var(--jade-text); }
.udid { display: grid; gap: 8px; justify-items: center; margin-top: 20px; padding: 14px; border-radius: 14px; background: rgba(255, 246, 230, .03); border: 1px solid var(--line); }
.udid small { color: var(--muted); font-size: 14px; }
.udid code { font-size: 14px; user-select: all; -webkit-user-select: all; }
.reg-device b { color: var(--cream); }
.reg-device:has(.reg-model:empty) { display: none; }
.reg-only { display: none; }
.reg-new .reg-new-show, .reg-added .reg-added-show, .reg-ready .reg-ready-show, .reg-unknown .reg-unknown-show { display: block; }
.reg-new .actions.reg-new-show, .reg-added .actions.reg-added-show, .reg-ready .actions.reg-ready-show, .reg-unknown .actions.reg-unknown-show { display: flex; }
.reg:not(.reg-new):not(.reg-added):not(.reg-ready) .reg-unknown-show { display: block; }
.reg:not(.reg-new):not(.reg-added):not(.reg-ready) .actions.reg-unknown-show { display: flex; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.status .i { width: 18px; height: 18px; }
.status-ok { color: #D9F3E8; background: rgba(38, 179, 126, .14); border: 1px solid rgba(38, 179, 126, .4); }
.status-wait { color: var(--honey); background: rgba(255, 211, 122, .1); border: 1px solid rgba(255, 211, 122, .32); }
.status-bad { color: #FFD9D4; background: rgba(224, 34, 46, .12); border: 1px solid rgba(224, 34, 46, .38); }
.task-card .rel-meta { justify-content: center; }
.udid:has(code:empty) { display: none; }
.task-steps .steps { grid-template-columns: 1fr; gap: 10px; }
.task-steps .step { padding: 18px; background: rgba(255, 246, 230, .02); }
.task-steps .step::after { display: none; }
.task-steps .step-top { margin-bottom: 10px; }
.task-steps .step .icon-tile { display: none; }
.avail-yes, .avail-no { display: none; }
.app-yes .avail-yes, .app-no .avail-no { display: block; }
.app-yes .actions.avail-yes { display: flex; }

/* ---------- footer ---------- */
.site-footer { margin-top: 24px; padding: 56px 0 28px; border-top: 1px solid var(--line); background: #0A0706; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-brand, .foot-social { grid-column: 1 / -1; }
.foot-brand p { max-width: 360px; margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.foot-title { margin-bottom: 12px; font-size: 15px; font-weight: 800; color: var(--cream); }
.foot-links { display: grid; gap: 8px; }
.foot-links a { color: var(--muted); font-size: 15.5px; }
.foot-links a:hover { color: var(--honey); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--cream); background: rgba(255, 246, 230, .05); border: 1px solid var(--line); transition: color .2s, border-color .2s, background-color .2s; }
.socials a:hover { color: var(--honey); background: rgba(255, 211, 122, .08); border-color: var(--line-2); }
.socials .i { width: 20px; height: 20px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 14px; }
.heart { width: 1em; height: 1em; vertical-align: -.12em; color: var(--crimson); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } .foot-brand, .foot-social { grid-column: auto; } }

/* ---------- guest hour («ساعة الضيافة») above the plans ---------- */
.guest-hour { position: relative; display: grid; gap: 14px 22px; align-items: center; justify-items: center; text-align: center; max-width: 1000px; margin: 0 auto 30px; padding: 22px; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(120% 140% at 50% -20%, rgba(255, 181, 71, .16), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-gold); box-shadow: var(--shadow); }
.guest-hour::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, transparent, var(--honey), var(--crimson), transparent); transform-origin: right; animation: gh-burn 60s linear infinite; opacity: .7; }
.gh-lantern { width: 72px; height: 72px; filter: drop-shadow(0 0 18px rgba(255, 181, 71, .55)); animation: gh-flicker 5.5s ease-in-out infinite; }
.gh-text { display: grid; gap: 6px; }
.gh-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--honey); }
.guest-hour h3 { font-size: clamp(20px, 3.2vw, 26px); color: var(--cream); }
.guest-hour p { color: var(--muted); max-width: 60ch; }
.gh-fine { justify-self: center; display: inline-flex; padding: 2px 12px; border-radius: 999px; font-size: 13px; color: var(--subtle); background: rgba(255, 246, 230, .04); border: 1px solid var(--line); }
.gh-cta { white-space: nowrap; }
@media (min-width: 760px) {
  .guest-hour { grid-template-columns: auto 1fr auto; justify-items: start; text-align: start; padding: 24px 28px; }
  .gh-fine { justify-self: start; }
}
@keyframes gh-flicker { 0%, 100% { opacity: 1; filter: drop-shadow(0 0 18px rgba(255, 181, 71, .55)); } 46% { opacity: 1; } 48% { opacity: .78; filter: drop-shadow(0 0 8px rgba(255, 181, 71, .3)); } 50% { opacity: 1; } 53% { opacity: .86; } 56% { opacity: 1; filter: drop-shadow(0 0 22px rgba(255, 181, 71, .65)); } }
@keyframes gh-burn { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js.reveal-ready .reveal:not(.in) { opacity: 1; transform: none; }
  .embers, .stars { display: none; }
  .guest-hour::after { display: none; }
}
@media print { .site-header, .site-footer, .announce, .hero-art, .menu { display: none !important; } body { background: #fff; color: #000; } }
