/* Super Hamza website. Colours come from the game's UI palette (UiKit.Palette) and World 1's style guide;
   the type is the game's own reading font (Andika, subset and renamed "Hamza Reader") and Cairo for Arabic, self-hosted. */

@font-face { font-family: "Hamza Reader"; src: url("../fonts/hamza-reader-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hamza Reader"; src: url("../fonts/hamza-reader-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cairo Web"; src: url("../fonts/cairo-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cairo Web"; src: url("../fonts/cairo-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --page: #fffbf3;
  --cream: #fff7e8;          /* Palette.Cream */
  --parchment: #f6e7c8;      /* Palette.Parchment */
  --sand: #ead8b4;
  --line: #e6d5b5;
  --line-strong: #d4bd92;
  --ink: #3b2a1e;            /* Palette.Ink */
  --ink-2: #5f4a3b;
  --ink-3: #75604f;
  --teal: #1e6b6b;           /* Palette.Teal: the game's "Continue Journey" button */
  --teal-hi: #175858;
  --cobalt: #24539e;         /* Palette.Cobalt, Iznik blue */
  --turquoise: #2bb3b1;
  --coral: #a8432c;          /* Palette.Coral */
  --gold: #d9a441;           /* Palette.Gold */
  --gold-deep: #8a5a12;      /* Palette.GoldDeep */
  --leaf: #2f6b22;           /* Palette.Leaf */
  --sky: #d6eef6;
  --night: #1f3a73;
  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 28px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 14px 40px rgb(59 42 30 / .14);
  --shadow-s: 0 4px 14px rgb(59 42 30 / .10);
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%2324539e' stroke-opacity='.11' stroke-width='1.5'%3E%3Crect x='24' y='24' width='24' height='24'/%3E%3Crect x='24' y='24' width='24' height='24' transform='rotate(45 36 36)'/%3E%3Ccircle cx='36' cy='36' r='4'/%3E%3C/g%3E%3C/svg%3E");
  --fade: 90deg;             /* the hero's cream fade runs from the text side */
  color-scheme: light;
}
[dir="rtl"] { --fade: 270deg; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Hamza Reader", "Cairo Web", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
/* Arabic: Cairo (the game's Arabic font) for everything, a little more line height, and never letter-spacing or
   capitals, which break Arabic joining. Latin words inside Arabic text use Cairo's own Latin. */
[lang="ar"] { font-family: "Cairo Web", "Hamza Reader", system-ui, sans-serif; }
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; }
[lang="ar"], [lang="ar"] * { letter-spacing: 0 !important; text-transform: none !important; }
bdi, .ltr { unicode-bidi: isolate; }

h1, h2, h3 { font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .45em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.28rem; line-height: 1.25; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
a { color: var(--cobalt); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--ink-2); }
.small { font-size: .92rem; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; top: 10px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { inset-inline-start: 10px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .82rem; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral); margin: 0 0 14px;
}
.section-head .eyebrow, .row-copy .eyebrow, .intro .eyebrow { color: var(--coral); font-size: .82rem; }
.eyebrow::before { content: ""; width: 12px; height: 12px; flex: none; background: currentColor; clip-path: polygon(50% 0, 64% 21%, 85% 15%, 79% 36%, 100% 50%, 79% 64%, 85% 85%, 64% 79%, 50% 100%, 36% 79%, 15% 85%, 21% 64%, 0 50%, 21% 36%, 15% 15%, 36% 21%); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 251 243 / .92);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.35rem; line-height: 1; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 2px var(--gold), var(--shadow-s); }
.brand:hover { color: var(--ink); }
.brand small { display: block; font-size: .72rem; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 4px 22px; margin-inline-start: auto; flex-wrap: wrap; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .98rem; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.site-nav .nav-cta { color: #fff; background: var(--teal); padding: 9px 16px; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--teal-hi); color: #fff; text-decoration: none; }
@media (max-width: 780px) {
  .site-header { position: static; }
  .site-header .wrap { flex-wrap: wrap; gap: 4px 16px; padding: 10px 0 8px; }
  .site-nav { width: 100%; margin-inline-start: 0; gap: 2px 18px; }
  .site-nav .nav-cta { display: none; }
  .lang-switch { width: 100%; }
}

/* Language links: plain links to the same page in the other languages */
.lang-switch { display: flex; gap: 4px; flex-wrap: wrap; }
.lang-switch a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .88rem; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: #fff; }
.lang-switch a:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--teal); }
.lang-switch a[aria-current="true"] { color: #fff; background: var(--teal); box-shadow: none; }
.footer-langs { margin-top: 30px; color: #b9c6e4; font-size: .92rem; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.footer-langs a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-langs a:hover { text-decoration: underline; }
.footer-langs a[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------------------------------------------------------------- buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding-block: 10px; padding-inline: 18px 22px; border-radius: 16px;
  background: var(--teal); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; line-height: 1.15;
  box-shadow: 0 4px 0 #134646, 0 10px 22px rgb(30 107 107 / .25);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--teal-hi); color: #fff; transform: translateY(-1px); }
.btn small { display: block; font-size: .78rem; font-weight: 400; opacity: .92; letter-spacing: .01em; margin-top: 2px; }
.btn .glyph { width: 26px; height: 26px; flex: none; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-strong), var(--shadow-s); }
.btn.ghost:hover { background: var(--cream); color: var(--ink); }
.btn.soon { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--gold), 0 4px 0 var(--sand); cursor: default; }
.btn.soon:hover { transform: none; }
.btn.soon .glyph { color: var(--gold-deep); }
.btn.soon small { color: var(--ink-2); opacity: 1; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--sky); }
.hero-art { position: absolute; inset: 0; z-index: -2; background: var(--sky) url("../img/hero-small.jpg") center 30% / cover no-repeat; }
@media (min-width: 900px) { .hero-art { background-image: url("../img/hero-wide.jpg"); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(var(--fade), rgb(255 251 243 / .97) 0%, rgb(255 251 243 / .93) 40%, rgb(255 251 243 / .55) 66%, rgb(255 251 243 / .2) 100%),
    linear-gradient(180deg, rgb(255 251 243 / 0) 70%, var(--page) 100%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: clamp(56px, 9vw, 116px) 0 clamp(56px, 8vw, 104px); }
.hero-copy { max-width: 580px; }
.hero h1 { margin: 0; color: var(--night); }
.tagline { font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.25; color: var(--coral); margin: 6px 0 18px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.2rem); color: var(--ink); }
.hero .actions { margin-top: 26px; }
.price-note { margin: 14px 0 0; color: var(--ink-2); font-size: .95rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.badges li { font-weight: 700; font-size: .9rem; color: var(--ink); padding-block: 6px; padding-inline: 10px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.badges li::before { content: "✓"; color: var(--leaf); margin-inline-end: 6px; }

/* A landscape tablet drawn in CSS, holding a real screenshot. */
.device {
  position: relative; justify-self: end; width: min(100%, 600px);
  padding: 14px 16px; border-radius: 30px;
  background: linear-gradient(145deg, #3c3f52, #1d1f2b);
  box-shadow: 0 24px 60px rgb(31 58 115 / .30), inset 0 0 0 2px rgb(255 255 255 / .08);
  transform: rotate(-1.5deg);
}
[dir="rtl"] .device { transform: rotate(1.5deg); }
.device::before { content: ""; position: absolute; inset-inline-start: 6px; top: 50%; width: 5px; height: 42px; margin-top: -21px; border-radius: 3px; background: #11131b; }
.device img { border-radius: 16px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .device, [dir="rtl"] .device { justify-self: center; transform: none; }
  .hero::before { background: linear-gradient(180deg, rgb(255 251 243 / .9) 0%, rgb(255 251 243 / .95) 50%, var(--page) 100%); }
}

/* ---------------------------------------------------------------- facts strip */
.facts { border-block: 1px solid var(--line); background: var(--cream); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.facts li { padding: 24px 18px; text-align: center; border-inline-start: 1px solid var(--line); }
.facts li:first-child { border-inline-start: 0; }
.facts strong { display: block; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.05; color: var(--cobalt); }
.facts span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 700px) {
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section.tint { background: var(--cream); border-block: 1px solid var(--line); }
.section.pattern { background: var(--cream) var(--stars); border-block: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-2); font-size: 1.12rem; }

/* Meet Hamza: a portrait in an arch, and the story */
.intro { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.arch { margin: 0; padding: 12px; background: var(--parchment); border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius); box-shadow: inset 0 0 0 3px var(--gold), var(--shadow); }
.arch img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 10px 10px / 34% 34% 10px 10px; }
.arch figcaption { text-align: center; color: var(--ink-2); font-size: .92rem; padding: 10px 6px 2px; }
.intro .lead { color: var(--ink-2); }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } .arch { max-width: 320px; margin-inline: auto; } }

/* Six worlds */
.worlds { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.world { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-s); }
.world img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.world div { padding: 14px 18px 18px; }
.world .num { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); font-weight: 700; }
.world h3 { margin: 4px 0 6px; font-size: 1.2rem; }
.world p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.world .values { display: block; margin-top: 8px; color: var(--teal); font-weight: 700; font-size: .9rem; }
@media (max-width: 960px) { .worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .worlds { grid-template-columns: minmax(0, 1fr); } }

/* Feature rows: a picture and copy, alternating sides */
.rows { display: grid; gap: clamp(56px, 8vw, 92px); }
.row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.row:nth-child(even) .row-media { order: 2; }
.row-media img { border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px var(--line); width: 100%; }
.row-media figure { margin: 0; }
.row-media figcaption { color: var(--ink-3); font-size: .88rem; margin-top: 10px; }
.row-copy p { color: var(--ink-2); }
.row-copy .checks + p, .intro .checks + p { margin-top: 18px; }
.row.wide-media { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 32px; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; background: var(--leaf); }
@media (max-width: 860px) { .row, .row.wide-media { grid-template-columns: minmax(0, 1fr); } .row:nth-child(even) .row-media { order: 0; } }

/* Promises: the safety cards */
.promises { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.promise { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-s); }
.promise .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #e5f2f2; color: var(--teal); margin-bottom: 14px; }
.promise .icon svg { width: 26px; height: 26px; }
.promise h3 { margin-bottom: .3em; }
.promise p { color: var(--ink-2); margin: 0; }
@media (max-width: 960px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* Two pictures side by side (languages) */
.pair { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
.pair figure { margin: 0; }
.pair img { border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px var(--line); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pair figcaption { color: var(--ink-2); font-size: .92rem; margin-top: 10px; }
@media (max-width: 700px) { .pair { grid-template-columns: minmax(0, 1fr); } }
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.langs li { padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--line-strong); font-weight: 700; }

/* Call to action */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-l); padding: clamp(32px, 6vw, 60px);
  background: linear-gradient(115deg, rgb(31 58 115 / .96), rgb(36 83 158 / .9)), var(--stars), var(--night);
  color: #fff; box-shadow: var(--shadow);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { color: #e6ecf8; margin: 0; }
.cta .btn.soon { box-shadow: inset 0 0 0 2px var(--gold); }
@media (max-width: 860px) { .cta { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- inner pages */
.page-head { padding: clamp(48px, 7vw, 84px) 0 clamp(26px, 4vw, 40px); background: var(--cream) var(--stars); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: .15em; color: var(--night); }
.page-head p { color: var(--ink-2); max-width: 660px; margin: 0; font-size: 1.1rem; }
.crumbs { font-size: .92rem; color: var(--ink-3); margin-bottom: 12px; }
.crumbs a { color: var(--ink-2); }

.doc { padding: clamp(36px, 6vw, 64px) 0 clamp(60px, 8vw, 96px); }
.doc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 52px; align-items: start; }
.doc-grid.single { grid-template-columns: minmax(0, 780px); justify-content: center; }
.doc-aside { position: sticky; top: 92px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 1.8em 0 .5em; scroll-margin-top: 90px; color: var(--night); }
.prose h3 { margin: 1.4em 0 .4em; scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin: .35em 0; }
.prose address { font-style: normal; }
.prose .meta { color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.summary { background: #fff; border-radius: var(--radius); padding: 22px 26px; margin: 22px 0 28px; box-shadow: inset 0 0 0 2px var(--gold), var(--shadow-s); }
.summary h2 { margin-top: 0; font-size: 1.35rem; }
.summary ul { margin-bottom: 0; }
.toc { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; }
.toc p { margin: 0 0 .5em; font-weight: 700; color: var(--ink); letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.toc ol { margin: 0; padding-inline-start: 1.2em; }
.toc li { margin: .3em 0; }
.toc li.plain { list-style: none; margin-inline-start: -1.2em; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--cobalt); text-decoration: underline; }
.ui { font-weight: 700; color: var(--ink); background: var(--parchment); padding: 0 .35em; border-radius: 6px; white-space: nowrap; }
.note { border-inline-start: 4px solid var(--gold); background: var(--cream); padding: 12px 16px; border-start-end-radius: var(--radius-s); border-end-end-radius: var(--radius-s); color: var(--ink-2); }
@media (max-width: 960px) {
  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .doc-aside { position: static; }
}

.contact-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: #e9f3f3; box-shadow: inset 0 0 0 2px #b9dada; margin: 0 0 34px; }
.contact-panel .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--teal); color: #fff; }
.contact-panel .icon svg { width: 28px; height: 28px; }
.contact-panel p { margin: 0; color: var(--ink-2); }
.contact-panel strong { color: var(--ink); font-size: 1.12rem; }
.faq h2 { margin-top: 1.6em; }
.faq details { border-radius: var(--radius-s); background: #fff; box-shadow: inset 0 0 0 1px var(--line); margin: 10px 0; }
.faq summary { cursor: pointer; list-style: none; padding-block: 15px; padding-inline: 20px 52px; font-weight: 700; position: relative; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { padding: 0 20px; color: var(--ink-2); }
.faq details > :last-child { padding-bottom: 16px; }
.faq details ul, .faq details ol { padding-inline-start: 40px; }

.facts-table { width: 100%; border-collapse: collapse; margin: 8px 0 28px; }
.facts-table th, .facts-table td { text-align: start; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-table th { width: 34%; color: var(--ink-2); font-weight: 700; }
@media (max-width: 520px) { .facts-table th, .facts-table td { display: block; width: auto; padding: 4px 0; } .facts-table th { padding-top: 12px; border-bottom: 0; } }
.downloads { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); margin: 14px 0 28px; }
.download { display: block; text-decoration: none; color: var(--ink); border-radius: var(--radius-s); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-s); }
.download:hover { color: var(--ink); box-shadow: inset 0 0 0 2px var(--teal); }
.download img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--cream); }
.download img.contain { object-fit: contain; padding: 12px; }
.download span { display: block; padding: 10px 14px 12px; font-size: .92rem; font-weight: 700; }
.download small { display: block; color: var(--ink-3); font-weight: 400; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--night) var(--stars); color: #d9e1f2; padding: 52px 0 30px; font-size: .95rem; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand small { color: #b9c6e4; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { margin: 0 0 12px; color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: #d9e1f2; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { margin: 12px 0 0; max-width: 36ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .16); font-size: .86rem; color: #b9c6e4; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* The 404 page: the same message in each language */
.nf-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nf { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-s); }
.nf h2 { font-size: 1.4rem; color: var(--night); }
.nf p { color: var(--ink-2); }
@media (max-width: 860px) { .nf-grid { grid-template-columns: minmax(0, 1fr); } }

/* A translation note at the top of the Arabic and Turkish legal pages */
.translation-note { border-inline-start: 4px solid var(--cobalt); background: #eef3fb; padding: 12px 16px; border-start-end-radius: var(--radius-s); border-end-end-radius: var(--radius-s); color: var(--ink-2); margin: 0 0 22px; }
