/* Kalamashi — kalamashi.com
 * Brand: Kalamashi Brand v1 · "Kaf on Legs" · Neon Souq (src/theme/tokens.ts in the app).
 * Night 55% · Dusk 18% · Haze 10% · Tube Pink 9% · Ice Cyan 6% · Lime 2% (samples only).
 */
:root {
  --night: #0A0420;
  --dusk: #160B3A;
  --dusk-deep: #120836;
  --haze: #F4F1FF;
  --pink: #FF2E88;
  --cyan: #00F0FF;
  --lime: #B6FF3B;
  --off-tube: #2A1F52;
  --muted: #8F86B8;
  --muted-soft: #C9C2E8;
  --pink-core: #FFE3F0;
  --cyan-core: #E0FDFF;
  --lime-core: #E9FFC9;
  --pink-tube: #FFC2DD;
  --cyan-tube: #C9FBFF;
  --violet: #2A0F5A;
  --line: rgba(244, 241, 255, .09);

  --f-ar: "Reem Kufi", "Noto Kufi Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --f-disp: "Unbounded", "Reem Kufi", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(255, 46, 136, .16), transparent 60%),
    radial-gradient(700px 480px at 0% 8%, rgba(0, 240, 255, .08), transparent 60%),
    var(--night);
  color: var(--haze);
  font-family: var(--f-ar);
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--f-mono); font-size: 15px; line-height: 1.65; }
img, svg { max-width: 100%; }
a { color: var(--cyan-tube); }
a:hover { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.35; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-family: var(--f-disp); line-height: 1.2; letter-spacing: -.01em; }
html[lang="en"] h1 { font-weight: 800; }
html[lang="en"] h2, html[lang="en"] h3 { font-weight: 600; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--pink); color: var(--night); padding: 8px 14px; border-radius: var(--r-s); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- The mark: ك on legs ---------- */
.kaf { width: 40px; height: 40px; display: block; overflow: visible; flex: none; }
.kaf path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.k3 { opacity: .14; stroke-width: 25.2; }
.k2 { opacity: .35; stroke-width: 13.2; }
.k1 { opacity: .9; stroke-width: 8.1; }
.k0 { stroke-width: 6; }
.k3 .kb, .k3 .kz, .k2 .kb, .k2 .kz, .k1 .kb, .k1 .kz { stroke: var(--pink); }
.k3 .kl, .k2 .kl, .k1 .kl { stroke: var(--cyan); }
.k0 .kb, .k0 .kz { stroke: var(--pink-tube); }
.k0 .kl { stroke: var(--cyan-tube); }
.k0 .kz { stroke-width: 5.1; }
.kaf .lb { visibility: hidden; }
.kaf.dip { opacity: .38; }
.kaf.walking { animation: kaf-bob .32s steps(1) infinite; }
.kaf.walking .la { animation: kaf-a .32s steps(1) infinite; }
.kaf.walking .lb { animation: kaf-b .32s steps(1) infinite; }
@keyframes kaf-a { 0% { visibility: visible; } 50% { visibility: hidden; } }
@keyframes kaf-b { 0% { visibility: hidden; } 50% { visibility: visible; } }
@keyframes kaf-bob { 0% { transform: none; } 50% { transform: translateY(-3.5%); } }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 4, 32, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--haze); text-decoration: none; }
.brand:hover { color: var(--haze); }
.brand .kaf { width: 36px; height: 36px; }
.brand-word { font-weight: 700; font-size: 22px; letter-spacing: 0; }
html[lang="en"] .brand-word { font-family: var(--f-disp); font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.nav { display: none; gap: 4px; margin-inline-start: 18px; }
.nav a { color: var(--muted-soft); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: 16px; }
html[lang="en"] .nav a { font-size: 13px; }
.nav a:hover { color: var(--haze); background: rgba(244, 241, 255, .06); }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lang {
  font: 500 13px/1 var(--f-mono); color: var(--haze); background: transparent;
  border: 1px solid rgba(244, 241, 255, .22); border-radius: 999px; padding: 9px 13px; cursor: pointer;
}
.lang[lang="ar"] { font-family: var(--f-ar); font-size: 15px; padding-block: 7px; }
.lang:hover { border-color: var(--cyan); color: var(--cyan-core); }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), background-color .2s;
}
html[lang="en"] .btn { font-family: var(--f-disp); font-weight: 600; font-size: 13px; letter-spacing: .01em; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 15px; white-space: nowrap; }
@media (max-width: 380px) { .brand-word { display: none; } }
html[lang="en"] .btn-sm { font-size: 11.5px; }
.btn-pink { background: var(--pink); color: var(--night); box-shadow: 0 0 0 1px rgba(255, 194, 221, .5) inset, 0 0 18px rgba(255, 46, 136, .45); }
.btn-pink:hover { color: var(--night); box-shadow: 0 0 0 1px rgba(255, 194, 221, .7) inset, 0 0 28px rgba(255, 46, 136, .75); }
.btn-cyan { background: transparent; color: var(--cyan-core); border-color: var(--cyan); box-shadow: 0 0 14px rgba(0, 240, 255, .28), 0 0 10px rgba(0, 240, 255, .2) inset; }
.btn-cyan:hover { color: var(--night); background: var(--cyan); }

/* ---------- Sign type ---------- */
.sign {
  color: var(--pink-core);
  text-shadow: 0 0 2px rgba(255, 255, 255, .5), 0 0 10px var(--pink), 0 0 26px rgba(255, 46, 136, .6), 0 0 54px rgba(255, 46, 136, .35);
}
.sign-cyan {
  color: var(--cyan-core);
  text-shadow: 0 0 2px rgba(255, 255, 255, .5), 0 0 10px var(--cyan), 0 0 26px rgba(0, 240, 255, .55), 0 0 54px rgba(0, 240, 255, .3);
}

/* ---------- Hero ---------- */
.hero { padding-block: 36px 56px; }
.hero-in { display: grid; gap: 36px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  color: var(--cyan-core); font-size: 15px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, .35); background: rgba(0, 240, 255, .06);
}
html[lang="en"] .eyebrow { font-size: 12px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); flex: none; }
.hero-mark { margin-bottom: 8px; }
.hero-mark .kaf { width: 92px; height: 92px; }
.hero h1 { font-size: clamp(42px, 11vw, 74px); line-height: 1.3; margin-bottom: 18px; }
html[lang="en"] .hero h1 { font-size: clamp(32px, 8.4vw, 60px); line-height: 1.12; }
.lead { color: var(--muted-soft); font-size: 19px; max-width: 34em; }
html[lang="en"] .lead { font-size: 15.5px; }
.lead.narrow { margin-inline: auto; text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fine { color: var(--muted); font-size: 15px; margin-top: 16px; }
html[lang="en"] .fine { font-size: 12.5px; }
.fine.center { text-align: center; margin-top: 28px; }

.hero-map { margin: 0; position: relative; max-width: 560px; justify-self: center; width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip {
  font-size: 14px; padding: 5px 13px; border-radius: 999px; color: var(--muted-soft);
  border: 1px solid rgba(244, 241, 255, .16); background: rgba(22, 11, 58, .8);
}
html[lang="en"] .chip { font-size: 11.5px; }
.chip.on { color: var(--night); background: var(--pink); border-color: var(--pink); box-shadow: 0 0 12px rgba(255, 46, 136, .5); font-weight: 700; }
.map { display: block; width: 100%; height: auto; border-radius: 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 50px rgba(255, 46, 136, .12); }
.map .park { fill: rgba(0, 240, 255, .055); stroke: rgba(0, 240, 255, .16); stroke-width: 1.5; }
.map .road { fill: none; stroke: #25184F; stroke-width: 20; }
.map .road-mid { fill: none; stroke: rgba(244, 241, 255, .13); stroke-width: 1.5; stroke-dasharray: 8 10; }
.map .route { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 9; animation: route 1.4s linear infinite; }
.map .map-edge { fill: none; stroke: rgba(255, 46, 136, .3); stroke-width: 1.5; }
@keyframes route { to { stroke-dashoffset: -20; } }
.pin-glow { fill: var(--pink); filter: url(#blur); opacity: .8; animation: hum 3.2s ease-in-out infinite; }
.pin-on .pin-body { fill: var(--pink); }
.pin-on .pin-eye { fill: var(--pink-core); }
.pin-off .pin-body { fill: var(--off-tube); stroke: var(--muted); stroke-width: 1.5; }
.pin-off .pin-eye { fill: var(--night); }
.pin-tag { fill: var(--night); stroke: var(--pink); stroke-width: 1.5; }
.pin-off .pin-tag { stroke: #4D417F; }
.pin-t { fill: var(--haze); font-family: var(--f-ar); font-weight: 600; font-size: 15px; }
html[lang="en"] .pin-t { font-family: var(--f-mono); font-weight: 500; font-size: 13px; }
.pin-off .pin-t { fill: var(--muted-soft); }
.pin-ring { fill: none; stroke: var(--cyan); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: ring 2.6s ease-out infinite; }
.pin-feat .pin-body, .pin-feat .pin-glow { animation: switch-on 1.4s steps(1) .5s both; }
.you-dot { fill: var(--cyan); stroke: var(--night); stroke-width: 3; }
.you-halo { fill: rgba(0, 240, 255, .22); }
.you-pulse { fill: none; stroke: var(--cyan); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.2s ease-out infinite; }
@keyframes hum { 0%, 100% { opacity: .55; } 50% { opacity: .95; } }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes switch-on { 0% { opacity: .15; } 12% { opacity: 1; } 18% { opacity: .2; } 26% { opacity: 1; } 31% { opacity: .35; } 38%, 100% { opacity: 1; } }

.map-card {
  position: absolute; inset-inline: 14px; bottom: 44px;
  background: rgba(22, 11, 58, .94); border: 1px solid rgba(255, 46, 136, .35);
  border-radius: var(--r-l); padding: 14px 16px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 24px rgba(255, 46, 136, .18);
}
.mc-head { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
html[lang="en"] .mc-head { font-size: 11.5px; }
.mc-lit { color: var(--pink-tube); }
.mc-dist { color: var(--muted-soft); font-family: var(--f-mono); }
html[lang="ar"] .mc-dist { font-family: inherit; }
.mc-title { font-weight: 700; font-size: 19px; margin: 2px 0 4px; }
html[lang="en"] .mc-title { font-family: var(--f-disp); font-weight: 600; font-size: 14px; margin: 6px 0; }
.mc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted-soft); font-size: 14px; margin-bottom: 12px; }
html[lang="en"] .mc-meta { font-size: 12px; }
.mc-btn {
  display: block; text-align: center; background: var(--pink); color: var(--night); font-weight: 700;
  border-radius: 999px; padding: 9px 12px; font-size: 15px; box-shadow: 0 0 16px rgba(255, 46, 136, .45);
}
html[lang="en"] .mc-btn { font-family: var(--f-disp); font-weight: 600; font-size: 11.5px; }
@media (max-width: 599px) {
  .map-card { position: relative; inset: auto; bottom: auto; margin: -64px 12px 0; }
}
.cap { color: var(--muted); font-size: 13px; text-align: center; margin-top: 10px; }
html[lang="en"] .cap { font-size: 11px; }

@media (min-width: 960px) {
  .hero { padding-block: 64px 88px; }
  .hero-in { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

/* ---------- Sections ---------- */
.sec { padding-block: 72px; position: relative; }
.sec-dusk { background: linear-gradient(180deg, rgba(22, 11, 58, 0), rgba(22, 11, 58, .75) 14%, rgba(22, 11, 58, .75) 86%, rgba(22, 11, 58, 0)); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; color: var(--cyan-core); font-size: 16px; font-weight: 600; margin-bottom: 10px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
html[lang="en"] .kicker { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.sec h2 { font-size: clamp(30px, 6.4vw, 46px); margin-bottom: 18px; max-width: 22em; }
html[lang="en"] .sec h2 { font-size: clamp(23px, 4.6vw, 36px); }
.sec h3 { font-size: 22px; margin-bottom: 8px; }
html[lang="en"] .sec h3 { font-size: 15.5px; margin-bottom: 10px; }
.sec p { color: var(--muted-soft); }
.note { font-size: 15px; margin-top: 12px; color: var(--muted) !important; }
html[lang="en"] .note { font-size: 12.5px; }
#team .kicker, #early .kicker { display: flex; justify-content: center; }
#team h2, #early h2 { text-align: center; margin-inline: auto; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; counter-reset: s; }
.step {
  position: relative; background: var(--dusk); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 24px 24px;
}
.step-n {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 14px;
  font-size: 26px; font-weight: 700; color: var(--pink-core);
  border: 2px solid var(--pink); box-shadow: 0 0 14px rgba(255, 46, 136, .55), 0 0 10px rgba(255, 46, 136, .4) inset;
  text-shadow: 0 0 10px var(--pink);
}
html[lang="en"] .step-n { font-family: var(--f-disp); font-size: 20px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.perks li { padding: 16px 18px; border-radius: var(--r-m); border: 1px solid var(--line); background: rgba(22, 11, 58, .5); }
.perks strong { display: block; color: var(--haze); font-size: 17px; margin-bottom: 2px; }
html[lang="en"] .perks strong { font-family: var(--f-disp); font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.perks span { color: var(--muted-soft); font-size: 15px; display: block; line-height: 1.6; }
html[lang="en"] .perks span { font-size: 13px; }

/* Split / panels */
.split { display: grid; gap: 22px; margin-top: 30px; }
#trucks .split { margin-top: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 28px; }
  .split-rev { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
}
.panel { background: var(--dusk-deep); border: 1px solid rgba(255, 46, 136, .25); border-radius: var(--r-l); padding: 26px 24px; box-shadow: 0 0 30px rgba(255, 46, 136, .07); }
.panel-lime { border-color: rgba(182, 255, 59, .4); box-shadow: 0 0 30px rgba(182, 255, 59, .08); }

.album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; margin-bottom: 22px; }
.stamp { display: grid; justify-items: center; gap: 6px; font-size: 14px; color: var(--muted-soft); position: relative; }
html[lang="en"] .stamp { font-size: 11.5px; }
.stamp svg {
  width: 72px; height: 72px; padding: 14px; border-radius: 50%; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.stamp.lit svg { stroke: var(--pink-tube); border: 2px solid var(--pink); box-shadow: 0 0 14px rgba(255, 46, 136, .5), 0 0 10px rgba(255, 46, 136, .35) inset; filter: drop-shadow(0 0 3px var(--pink)); }
.stamp.lit.c svg { stroke: var(--cyan-tube); border-color: var(--cyan); box-shadow: 0 0 14px rgba(0, 240, 255, .45), 0 0 10px rgba(0, 240, 255, .3) inset; filter: drop-shadow(0 0 3px var(--cyan)); }
.stamp.new svg { border-color: transparent; background: linear-gradient(var(--dusk-deep), var(--dusk-deep)) padding-box, linear-gradient(135deg, var(--pink), var(--cyan)) border-box; }
.stamp.off svg { stroke: var(--muted); border: 2px dashed #4D417F; }
.stamp.off span { color: var(--muted); }
.stamp em {
  position: absolute; top: -6px; inset-inline-end: calc(50% - 46px); font-style: normal; font-size: 11px; font-weight: 700;
  color: var(--night); background: var(--cyan); border-radius: 999px; padding: 0 7px; line-height: 1.7;
}
html[lang="en"] .stamp em { font-family: var(--f-mono); font-size: 10px; }

.claim { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.qr { width: 96px; height: 96px; flex: none; fill: var(--lime-core); padding: 10px; border-radius: var(--r-m); border: 2px solid var(--lime); box-shadow: 0 0 16px rgba(182, 255, 59, .35); background: var(--night); }
.claim-steps { list-style: none; margin: 0; padding: 0; counter-reset: c; display: grid; gap: 6px; font-size: 15px; color: var(--lime-core); }
html[lang="en"] .claim-steps { font-size: 12.5px; }
.claim-steps li { counter-increment: c; display: flex; gap: 8px; align-items: baseline; }
.claim-steps li::before {
  content: counter(c); flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--lime); color: var(--lime); font: 500 12px/1 var(--f-mono);
}
html[lang="ar"] .claim-steps li::before { content: counter(c, arabic-indic); font-family: var(--f-ar); }
.lime-sign { color: var(--lime-core); text-shadow: 0 0 10px rgba(182, 255, 59, .7), 0 0 26px rgba(182, 255, 59, .35); }

/* Ticks */
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 26px; color: var(--muted-soft); line-height: 1.65; }
html[lang="en"] .ticks li { font-size: 14px; }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.ticks strong { color: var(--haze); }
html[lang="en"] .ticks strong { font-weight: 500; }

/* Console illustration */
.console { margin: 0; justify-self: center; width: 100%; max-width: 320px; }
.phone {
  border-radius: 38px; padding: 18px 16px 22px; background: var(--night);
  border: 2px solid rgba(0, 240, 255, .4); box-shadow: 0 0 34px rgba(0, 240, 255, .16), 0 30px 70px rgba(0, 0, 0, .5);
}
.ph-bar { display: flex; justify-content: space-between; align-items: center; font-weight: 700; padding: 4px 6px 14px; }
html[lang="en"] .ph-bar { font-family: var(--f-disp); font-weight: 600; font-size: 13px; }
.ph-live { font-size: 12px; color: var(--night); background: var(--pink); border-radius: 999px; padding: 1px 10px; box-shadow: 0 0 12px rgba(255, 46, 136, .6); }
html[lang="en"] .ph-live { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; }
.ph-toggle {
  display: flex; align-items: center; gap: 14px; border-radius: 22px; padding: 14px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(255, 46, 136, .22), rgba(255, 46, 136, .06)); border: 1px solid rgba(255, 46, 136, .5);
}
.ph-toggle b { font-size: 17px; }
html[lang="en"] .ph-toggle b { font-family: var(--f-disp); font-weight: 600; font-size: 12.5px; }
.knob { width: 54px; height: 30px; border-radius: 999px; background: var(--pink); position: relative; flex: none; box-shadow: 0 0 14px rgba(255, 46, 136, .6); }
.knob::after { content: ""; position: absolute; top: 3px; inset-inline-end: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--pink-core); }
.ph-order { border-radius: 18px; padding: 12px 14px; background: var(--dusk); border: 1px solid var(--line); margin-bottom: 10px; }
.ph-order.dim { opacity: .62; }
.po-top { display: flex; justify-content: space-between; font-size: 15px; }
html[lang="en"] .po-top { font-size: 12.5px; }
.po-top b { color: var(--pink-tube); }
.ph-order.dim .po-top b { color: var(--cyan-tube); }
.po-top span { font-family: var(--f-mono); color: var(--muted-soft); }
html[lang="ar"] .po-top span { font-family: inherit; }
.ph-order p { font-size: 14px; color: var(--muted-soft); margin: 4px 0 10px; }
html[lang="en"] .ph-order p { font-size: 11.5px; }
.ph-order.dim p { margin-bottom: 2px; }
.po-act { display: flex; gap: 8px; }
.po-act span { flex: 1; text-align: center; border-radius: 999px; padding: 6px 8px; font-size: 14px; font-weight: 700; }
html[lang="en"] .po-act span { font-size: 11.5px; font-family: var(--f-mono); font-weight: 500; }
.po-ok { background: var(--cyan); color: var(--night); }
.po-no { border: 1px solid rgba(244, 241, 255, .2); color: var(--muted-soft); }

/* Brand cards */
.cards3 { display: grid; gap: 16px; margin-top: 30px; }
@media (min-width: 860px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--dusk-deep); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; border-top: 3px solid var(--pink); }
.card:nth-child(2) { border-top-color: var(--cyan); }
.callout {
  margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-radius: var(--r-l); border: 1px dashed rgba(255, 46, 136, .45); background: rgba(255, 46, 136, .05);
}
.callout p { color: var(--haze); max-width: 34em; }

/* Ramadan */
.ramadan { background: radial-gradient(600px 300px at 20% 50%, rgba(0, 240, 255, .07), transparent 70%); }
.ram-in { display: grid; gap: 26px; align-items: center; }
@media (min-width: 820px) { .ram-in { grid-template-columns: auto 1fr; gap: 54px; } }
.crescent { width: 150px; height: 150px; overflow: visible; }
.crescent path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.crescent .cr-g { stroke: var(--cyan); stroke-width: 12; opacity: .3; }
.crescent .cr { stroke: var(--cyan-tube); stroke-width: 4; filter: drop-shadow(0 0 6px var(--cyan)); }
.crescent .st { stroke: var(--pink-tube); stroke-width: 3; filter: drop-shadow(0 0 6px var(--pink)); animation: twinkle 5.5s steps(1) infinite; }
@keyframes twinkle { 0%, 60%, 64%, 100% { opacity: 1; } 61%, 63% { opacity: .3; } }

/* Forms */
.forms { display: grid; gap: 18px; margin-top: 34px; }
@media (min-width: 1000px) { .forms { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.form {
  background: var(--dusk); border: 1px solid rgba(255, 46, 136, .35); border-radius: var(--r-l); padding: 24px;
  display: grid; gap: 14px; box-shadow: 0 0 26px rgba(255, 46, 136, .08);
}
.form-cyan { border-color: rgba(0, 240, 255, .4); box-shadow: 0 0 26px rgba(0, 240, 255, .08); }
.form h3 { margin-bottom: 0 !important; }
.form-sub { margin-top: -8px; font-size: 15px; }
html[lang="en"] .form-sub { font-size: 12.5px; }
.form label { display: grid; gap: 6px; font-size: 15px; color: var(--muted-soft); }
html[lang="en"] .form label { font-size: 12.5px; }
.form input, .form select {
  font: inherit; font-size: 16px; color: var(--haze); background: var(--night); width: 100%;
  border: 1px solid rgba(244, 241, 255, .2); border-radius: var(--r-s); padding: 11px 13px; min-height: 46px;
}
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23C9C2E8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 12px 8px; background-repeat: no-repeat; background-position: left 14px center; padding-inline-end: 38px; }
html[dir="ltr"] .form select { background-position: right 14px center; }
.form input::placeholder { color: var(--muted); }
.form input:focus, .form select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 240, 255, .22); }
.form .btn { margin-top: 6px; width: 100%; }
.form-done { font-size: 14px; color: var(--cyan-core) !important; }

/* FAQ */
.narrow-wrap { max-width: 860px; }
.faq { margin-top: 26px; display: grid; gap: 10px; }
.faq details { background: var(--dusk-deep); border: 1px solid var(--line); border-radius: var(--r-m); }
.faq details[open] { border-color: rgba(255, 46, 136, .4); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
html[lang="en"] .faq summary { font-family: var(--f-disp); font-weight: 600; font-size: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--f-mono); color: var(--pink); text-shadow: 0 0 8px var(--pink); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; }
html[lang="en"] .faq details p { font-size: 14px; }

/* Team */
.team { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 16px; }
.team > li { flex: 0 0 calc((100% - 16px) / 2); min-width: 0; }
@media (min-width: 640px) { .team > li { flex-basis: calc((100% - 32px) / 3); } }
@media (min-width: 900px) { .team > li { flex-basis: calc((100% - 48px) / 4); } }
@media (min-width: 1120px) { .team > li { flex-basis: calc((100% - 64px) / 5); } }
.member { text-align: center; }
.member-photo {
  aspect-ratio: 1; border-radius: var(--r-l); overflow: hidden; margin-bottom: 12px;
  background:
    radial-gradient(70% 60% at 50% 28%, rgba(244, 241, 255, .2), transparent 70%),
    radial-gradient(90% 70% at 85% 105%, rgba(0, 240, 255, .32), transparent 60%),
    radial-gradient(90% 70% at 10% 0%, rgba(255, 46, 136, .38), transparent 62%),
    linear-gradient(160deg, #3A1670, var(--dusk) 70%);
  box-shadow: 0 0 0 1px rgba(255, 46, 136, .38) inset, 0 0 22px rgba(255, 46, 136, .16);
  transition: box-shadow .25s var(--ease);
}
.member:hover .member-photo { box-shadow: 0 0 0 1px rgba(0, 240, 255, .6) inset, 0 0 26px rgba(0, 240, 255, .22); }
.member-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 18px !important; margin-bottom: 2px !important; }
html[lang="en"] .member h3 { font-size: 13px !important; margin-bottom: 4px !important; }
.member p { font-size: 15px; line-height: 1.5; }
html[lang="en"] .member p { font-size: 12px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 48px 30px; background: linear-gradient(180deg, rgba(18, 8, 54, .6), var(--night)); }
.foot-top { display: grid; gap: 24px; }
@media (min-width: 860px) { .foot-top { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.foot-brand p { color: var(--muted-soft); margin-top: 10px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-nav a { color: var(--muted-soft); text-decoration: none; }
html[lang="en"] .foot-nav a { font-size: 13px; }
.foot-nav a:hover { color: var(--cyan); }
.group { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.group-h { font-size: 18px; color: var(--haze); margin-bottom: 16px; }
html[lang="en"] .group-h { font-size: 13px; font-family: var(--f-disp); font-weight: 600; }
.group-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.group-list a {
  display: block; height: 100%; padding: 11px 14px; border-radius: var(--r-m); text-decoration: none;
  border: 1px solid var(--line); background: rgba(22, 11, 58, .55); transition: border-color .2s, box-shadow .2s;
}
.group-list a:hover { border-color: rgba(0, 240, 255, .5); box-shadow: 0 0 16px rgba(0, 240, 255, .12); }
.group-list strong { display: block; color: var(--haze); font-size: 16px; }
html[lang="en"] .group-list strong { font-family: var(--f-mono); font-weight: 500; font-size: 13.5px; }
.group-list span { display: block; color: var(--muted-soft); font-size: 14px; line-height: 1.5; }
html[lang="en"] .group-list span { font-size: 12px; }
.group-parent a { border-color: rgba(255, 46, 136, .45); }
.group-line { margin-top: 16px; font-size: 15px; }
html[lang="en"] .group-line { font-size: 12.5px; }
.group-line a { color: var(--pink-tube); }
.copyright { color: var(--muted); font-size: 14px; margin-top: 28px; text-align: center; }
html[lang="en"] .copyright { font-size: 12px; }

.trust {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 34px;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line);
}
.trust > img { height: 44px; width: auto; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item img { height: 48px; width: auto; }
.trust p { color: var(--muted-soft); font-family: var(--f-ar); font-size: 14px; line-height: 1.55; text-align: start; }
.trust small { color: var(--muted); font-size: 12.5px; }
.trust bdi { font-family: var(--f-mono); }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
.lost .kaf { width: 120px; height: 120px; margin: 0 auto 20px; }
.lost h1 { font-size: clamp(34px, 8vw, 56px); margin-bottom: 14px; }
html[lang="en"] .lost h1 { font-size: clamp(26px, 6vw, 44px); }
.lost p { color: var(--muted-soft); margin-bottom: 26px; }
.kaf.off .k3, .kaf.off .k2, .kaf.off .k1 { display: none; }
.kaf.off .k0 .kb, .kaf.off .k0 .kz, .kaf.off .k0 .kl { stroke: var(--off-tube); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
