:root { --cream: #fff8ef; --ink: #2b2238; --soft: #6b6178; --coral: #e8573f; --sun: #ffd66b; --line: #eadfd2; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Arabic', sans-serif; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; max-width: 880px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
main { max-width: 760px; margin: 0 auto; padding: 8px 24px 48px; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; line-height: 1.2; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 22px; margin-top: 32px; }
a { color: var(--coral); }
.note { background: var(--sun); border-radius: 14px; padding: 12px 16px; font-weight: 600; }
.hero { text-align: center; padding-top: 24px; }
.lead { font-size: 20px; color: var(--soft); }
.points { list-style: none; padding: 0; } .points li { background: #fff; border-radius: 16px; margin: 8px auto; padding: 12px 16px; max-width: 520px; }
footer { border-top: 1px solid var(--line); padding: 24px; text-align: center; color: var(--soft); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
footer a { color: var(--soft); }
footer p { margin: 12px 0 0; }

/* App-link landing page (/b/<id>, /app/...) */
a.button { display:inline-block; padding:14px 28px; border-radius:999px; background:#E2492F; color:#fff; font-weight:700; text-decoration:none; }
a.button:hover { background:#C43A22; }

/* Official App Store / Google Play badges: equal visible height, clear space around each. */
.stores { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin: 28px 0 8px; }
.stores a, .stores span { display: inline-block; line-height: 0; }
.stores img { display: block; height: 48px; width: auto; }

/* Language switcher (assets/site.js) */
.lang-switch { position: relative; margin-inline-start: auto; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.lang-btn:hover { border-color: #d9cbbb; }
.lang-btn:focus-visible, .lang-menu a:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.lang-btn .caret { width: 12px; height: 8px; transition: transform .15s; }
.lang-switch.open .caret { transform: rotate(180deg); }
.flag { width: 22px; height: 15px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.flag.globe { width: 18px; height: 18px; border-radius: 0; box-shadow: none; color: var(--soft); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 20; min-width: 190px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(43,34,56,.14); }
.lang-menu[hidden] { display: none; }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.lang-menu a:hover { background: var(--cream); }
.lang-menu a[aria-current="true"] { background: #ffe6de; }
.lang-menu a[lang="ar"] span { font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }
