/* Al-Asala's public page (ADR-024), from its Design System: navy, gold, brick, sand and limestone.
   Light is the default; dark follows the device. Fonts are bundled: no third parties. */
@font-face { font-family: "Reem Kufi"; font-weight: 700; font-display: swap; src: url("/assets/fonts/reem-kufi-arabic-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --bg: #f3ede2; --surface: #ffffff; --surface-2: #eae1d1; --ink: #16213a; --ink-muted: #5b5f6b; --hairline: #d8cdb8; --control: #8c8471; --gold: #8a5a14; --gold-solid: #8a5a14; --on-gold: #ffffff; --brick: #9b3d2a; --ok: #2f6b3a; --focus: #8a5a14; --navy: #16213a; --mark-ink: #16213a; --mark-gold: #b07a2a; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1626; --surface: #18223a; --surface-2: #0b111e; --ink: #f3ede2; --ink-muted: #a9adb8; --hairline: #2a3550; --control: #6b7590; --gold: #d4a24a; --gold-solid: #d4a24a; --on-gold: #16213a; --brick: #e0806b; --ok: #7cc48a; --focus: #d4a24a; --mark-ink: #f3ede2; --mark-gold: #d4a24a; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: "IBM Plex Sans Arabic", system-ui, "Segoe UI", Tahoma, sans-serif; line-height: 1.8; }
body { min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
a { color: var(--gold); }
h1, h2, .word { font-family: "Reem Kufi", "IBM Plex Sans Arabic", system-ui, sans-serif; font-weight: 700; line-height: 1.35; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; max-width: 1040px; width: 100%; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.mark { height: 40px; width: auto; }
.mark .ink { fill: var(--mark-ink); }
.mark .gold { fill: var(--mark-gold); }
.word { font-size: 26px; }
.lang { background: none; border: 1px solid var(--control); color: var(--ink); border-radius: 999px; padding: 4px 14px; font: inherit; cursor: pointer; }

main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px 48px; display: flex; flex-direction: column; gap: 40px; }
.hero { padding: 48px 0 8px; display: flex; flex-direction: column; gap: 12px; }
.hero h1 { margin: 0; font-size: clamp(28px, 5vw, 46px); max-width: 18ch; }
.hero h1::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--gold-solid); margin-top: 16px; }
.lead { margin: 0; font-size: 19px; color: var(--ink-muted); max-width: 46ch; }
.ctas { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--gold-solid); color: var(--on-gold); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.cta:disabled { opacity: .6; cursor: progress; }

.services h2, .card h2 { margin: 0 0 16px; font-size: 26px; }
.services ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.services li { background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; border-top: 3px solid var(--gold-solid); }
.services b { font-weight: 600; font-size: 17px; }
.services span { color: var(--ink-muted); font-size: 15px; }

.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 28px; padding: 24px; }
.muted { color: var(--ink-muted); }
form { display: flex; flex-direction: column; gap: 14px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--control); border-radius: 14px; padding: 10px 14px; min-height: 48px; width: 100%; }
textarea { resize: vertical; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.check input { width: 20px; min-height: 20px; margin-top: 6px; flex: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.msg { margin: 0; min-height: 1.8em; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--brick); }

footer { text-align: center; padding: 24px 16px 32px; font-size: 14px; border-top: 1px solid var(--hairline); }
footer p { margin: 4px 0; }
.doc { max-width: 760px; }
.doc h1 { font-size: 32px; margin: 32px 0 8px; }
.doc h2 { font-size: 21px; margin: 28px 0 8px; }
