@font-face { font-family: "El Messiri"; src: url(/fonts/ElMessiri-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "El Messiri"; src: url(/fonts/ElMessiri-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(/fonts/IBMPlexSansArabic-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(/fonts/IBMPlexSansArabic-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(/fonts/IBMPlexSansArabic-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/Fraunces-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/Fraunces-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --night: #090C14; --surface: #0F1320; --raised: #151A2A; --line: #232A3D;
  --ivory: #F4EFE6; --muted: #B3AEA5; --faint: #77746F;
  --light: #FFF6E6; --amber: #E9B96B; --amber-soft: rgba(233, 185, 107, 0.12);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); color: var(--ivory); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Plex Arabic", system-ui, sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "El Messiri", serif; font-weight: 600; line-height: 1.25; margin: 0; }
:lang(en) h1, :lang(en) h2 { font-family: "Fraunces", serif; letter-spacing: -0.01em; }
a { color: inherit; }
img { max-width: 100%; }

.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; background: rgba(9, 12, 20, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "El Messiri", serif;
  font-weight: 700; font-size: 22px; }
.brand svg { width: 16px; height: 27px; color: var(--amber); }
.lang { font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; }

.hero { max-width: 1080px; margin: 0 auto; padding: 80px 22px 56px; display: grid; gap: 28px; justify-items: start; }
.hero .door { width: 58px; height: 96px; color: var(--amber); filter: drop-shadow(0 0 28px rgba(255, 214, 150, 0.35)); }
.hero h1 { font-size: clamp(38px, 7.2vw, 76px); max-width: 16ch; }
.lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 40ch; margin: 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--raised); color: var(--ivory);
  text-decoration: none; font-weight: 600; font-size: 16px; }
.button.primary { background: var(--light); color: var(--night); border-color: var(--light);
  box-shadow: 0 10px 34px rgba(255, 246, 230, 0.16); }
.button.quiet { background: transparent; }

.features { max-width: 1080px; margin: 0 auto; padding: 8px 22px 64px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.icon { width: 46px; height: 46px; border-radius: 50%; background: var(--amber-soft); color: var(--amber);
  display: grid; place-items: center; margin-bottom: 16px; }
.feature h3 { font-family: "Plex Arabic", sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); }

.band { max-width: 1080px; margin: 0 auto 64px; padding: 0 22px; }
.panel { border-radius: 30px; padding: 36px 28px; background: var(--raised); border: 1px solid rgba(233, 185, 107, 0.35);
  display: grid; gap: 14px; justify-items: start; }
.panel h2 { font-size: clamp(28px, 4.2vw, 40px); }
.panel p { margin: 0; color: var(--muted); max-width: 52ch; }
.eyebrow { color: var(--amber); letter-spacing: 0.08em; font-size: 13px; font-weight: 600; margin: 0; }
.soon { color: var(--faint); font-size: 14px; }

.foot { max-width: 1080px; margin: 0 auto; padding: 28px 22px 48px; color: var(--faint); font-size: 14px;
  border-top: 1px solid var(--line); display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }

.doc { max-width: 760px; margin: 0 auto; padding: 48px 22px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 6px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc li { color: #DAD5CB; }
.doc .updated { color: var(--faint); font-size: 14px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0 40px; }

.listing .wrap { max-width: 640px; margin: 0 auto; padding: 18px 22px 40px; }
.cover { position: relative; margin: 0 0 20px; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--raised); }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover .tag { position: absolute; inset-inline-start: 14px; bottom: 14px; background: var(--light); color: var(--night);
  border-radius: 999px; padding: 5px 14px; font-weight: 600; font-size: 14px; }
.listing .eyebrow { margin-bottom: 4px; }
.listing h1 { font-size: 30px; margin-bottom: 10px; }
.price { font-size: 17px; color: var(--muted); margin: 0; }
.price b { font-family: "Fraunces", serif; font-size: 34px; color: var(--ivory); font-weight: 600; }
.facts { color: var(--muted); margin: 6px 0 0; }
.actions { display: grid; gap: 10px; margin-top: 26px; }
.code { color: var(--faint); font-size: 13px; margin-top: 18px; }

.missing { max-width: 560px; margin: 0 auto; padding: 96px 22px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.missing .door { width: 44px; height: 74px; color: var(--amber); }
