/* Wird landing pages. Colours follow the Date palm tokens (light and dark). */
:root {
  color-scheme: light dark;
  --bg: #ECEEE8;
  --surface: #F8F9F5;
  --text: #1E1A14;
  --muted: #5E584C;
  --accent: #5C3A1E;
  --on-accent: #F7F1EA;
  --border: #D3D6CC;
  --focus: #5C3A1E;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16120D;
    --surface: #201A13;
    --text: #EEE7DC;
    --muted: #A89C89;
    --accent: #D6A06A;
    --on-accent: #2A1707;
    --border: #3A3127;
    --focus: #D6A06A;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

:lang(ar) {
  font-family: Tahoma, "Segoe UI", "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif;
}

[hidden] {
  display: none !important;
}

.page {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.brand-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.wordmark {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.lang {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: start;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin: 0 0 0.75rem;
  line-height: 1.6;
}

.note {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn {
  display: block;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-store {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.store-label {
  font-weight: 400;
  color: var(--muted);
}
