/* sallitna.online — the public pages (invite links). Same colours and shapes as the app. */

:root {
  --ground: #f6f4ef;
  --surface: #ffffff;
  --ink: #1d1b18;
  --muted: #615c53;
  --line: #e6e1d6;
  --accent: #e8731a;
  --accent-tint: #fdebd8;
  --radius-card: 18px;
  --radius-pill: 999px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Readex Pro', 'Noto Sans Devanagari', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 440px;
  margin: 0 auto;
  padding: var(--space-xxl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 22px;
  font-weight: 700;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  display: grid;
  place-items: center;
}

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

p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.code {
  direction: ltr;
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 6px;
  padding: var(--space-lg);
  border-radius: 12px;
  background: var(--accent-tint);
  user-select: all;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 var(--space-xl);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--ink);
  color: var(--surface);
}

.btn.ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.steps {
  margin: 0;
  padding-inline-start: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.other-languages {
  direction: ltr;
  text-align: left;
}

.hidden {
  display: none;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* The people already in the list, like the faces on the app's join screen */
.faces {
  display: flex;
  gap: var(--space-xs);
}

.face {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ground);
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* English names inside Arabic text («App Store», «Google Play») stay on one line */
bdi {
  white-space: nowrap;
}
