/* Jamkhana (V3): shared base for the landing and the order form.
   Charcoal, neutral type, ONE accent (--accent) used only for the action and the active state (refs.md 8).
   Scale (px): 13 / 15 / 17 / 20 / 24 / 32 / 44 / 60.  Space: 4 8 12 16 24 32 48 64 96 128.  Radii: 10 / 16 / 24. */
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/plex-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Alexandria"; src: url("fonts/alexandria-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alexandria"; src: url("fonts/alexandria-700.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0e0e0d;
  --raise: #171716;
  --card: #1f1f1d;
  --ink: #eeece7;
  --muted: #a9a69f;
  --line: rgba(238, 236, 231, .1);
  --line-2: rgba(238, 236, 231, .22);
  --accent: #d6f26a;
  --on-accent: #161a05;
  --danger: #ff9d8a;
  --text: "Plex Arabic", "Segoe UI", Tahoma, sans-serif;
  --display: "Alexandria", "Plex Arabic", "Segoe UI", sans-serif;
  --r-s: 10px; --r-m: 16px; --r-l: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.75 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
html[lang="en"] body { line-height: 1.6; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
b { font-weight: 700; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1184px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 20px; } }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -80px; z-index: 10; background: var(--accent); color: var(--on-accent); padding: 12px 16px; border-radius: var(--r-s); font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); }
.mark { width: 22px; height: 22px; fill: currentColor; flex: none; }
.brand-name { font: 700 20px/1 var(--display); }
html[lang="en"] .brand-name { letter-spacing: -.01em; }
.top-end { display: flex; align-items: center; gap: 8px; }
.lang { min-width: 44px; height: 44px; padding: 0 12px; background: none; border: 0; border-radius: var(--r-s); color: var(--muted); font-size: 15px; cursor: pointer; transition: color .15s var(--ease); }
.lang:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font: 500 17px/1.2 var(--text); text-decoration: none; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn.solid { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn.solid:hover { background: #e2f98a; }
.btn.line { border-color: var(--line-2); color: var(--ink); background: none; }
.btn.line:hover { border-color: var(--ink); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 999px; white-space: nowrap; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* the thin meta rail on top of every section (refs.md 10) */
.rail { display: flex; align-items: baseline; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.rail-n { color: var(--ink); font-family: var(--display); font-variant-numeric: tabular-nums; }
.rail-e { margin-inline-start: auto; text-align: end; }

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