/*
 * The coming-soon page (app/views/pages/home.html.erb), moved from site/styles.css.
 *
 * Every rule is scoped to <main class="coming-soon">, so other pages keep their
 * own layout. No rule treats left and right differently, so the same rules
 * work for Arabic and English (docs/architecture.md, Frontends).
 */

:root:has(main.coming-soon) {
  --bg: #fafaf7;
  --text: #1c1c1a;
  --muted: #6b6b66;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:has(main.coming-soon) {
    --bg: #141413;
    --text: #f2f2ee;
    --muted: #a3a39d;
  }
}

body:has(> main.coming-soon) {
  margin: 0;
  min-block-size: 100dvh;
  display: grid;
  place-items: center;
  padding-block: 24px;
  padding-inline: 16px;
  background: var(--bg);
  color: var(--text);
  text-align: center;
}

.coming-soon h1 {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
}

/* The Arabic wordmark is medium weight (docs/brand.md, Type). */
.coming-soon h1 .ar {
  font-size: 3rem;
  font-weight: 500;
}

.coming-soon h1 .en {
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.coming-soon p {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.coming-soon .soon {
  margin-block-start: 24px;
  color: var(--muted);
}

.coming-soon .contact a {
  color: var(--muted);
}
