/* Colours from apps/mobile/src/theme/tokens.ts, so the site matches the app. */
:root {
  --background: #f7f2ec;
  --surface: #ffffff;
  --foreground: #251c18;
  --muted: #66574f;
  --divider: #e6ddd3;
  --primary: #6b2d3c;
  --primary-soft: #f5e8e6;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    -apple-system, BlinkMacSystemFont, 'SF Arabic', 'Segoe UI', 'Noto Sans Arabic', Tahoma,
    sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--divider);
}

header.site a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

header.site a.brand img {
  width: 44px;
  height: auto;
}

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

.lang-link {
  font-size: 15px;
}

h1 {
  font-size: 30px;
  line-height: 1.3;
  margin: 32px 0 4px;
}

h2 {
  font-size: 21px;
  line-height: 1.4;
  margin: 32px 0 8px;
}

p,
ul {
  margin: 0 0 12px;
}

ul {
  padding-inline-start: 22px;
}

li {
  margin-bottom: 6px;
}

.updated {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}

section.lang + section.lang {
  margin-top: 56px;
  padding-top: 8px;
  border-top: 1px solid var(--divider);
}

section[lang='en'] {
  font-size: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
}

.hero {
  text-align: center;
  padding: 48px 0 16px;
}

.hero img {
  width: 120px;
  height: auto;
}

.hero h1 {
  margin-top: 20px;
  font-size: 40px;
  color: var(--primary);
}

.hero p {
  color: var(--muted);
  font-size: 19px;
}

nav.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

nav.links a {
  display: inline-block;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--primary-soft);
  text-decoration: none;
  font-weight: 600;
}

footer.site {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
  color: var(--muted);
  font-size: 15px;
}
