/* Taawin shared styles.
   Rules: use logical properties (margin-inline, padding-block, inset-inline-start)
   so every layout works in Arabic RTL and English LTR; colours come from the
   variables below so light and dark themes stay consistent. */

:root {
  --bg: #ffffff;
  --surface: #f6f7f7;
  --text: #1b1f22;
  --text-muted: #5b6670;
  --border: #dde2e5;
  --human: #0f7a6c;   /* teal: people */
  --ai: #6b4fc7;      /* violet: Taawin */
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121416;
    --surface: #1b1e21;
    --text: #eceff1;
    --text-muted: #9aa5ae;
    --border: #2c3136;
    --human: #3fbfab;
    --ai: #a48cf0;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--human); }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  padding-block: 12px;
  padding-inline: 16px;
}

.topbar a {
  font-size: 14px;
  text-decoration: none;
  color: var(--text-muted);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 16px;
  padding-block-end: 64px;
}

.brand {
  font-size: 40px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.brand-sub {
  margin-block: 4px 20px;
  color: var(--ai);
  font-size: 15px;
}

.lead {
  max-width: 34rem;
  margin: 0 0 20px;
  font-size: 18px;
}

.badge {
  display: inline-block;
  padding-block: 4px;
  padding-inline: 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14px;
}
