/* ════════════════════════════════════════════════════════════════════════
   Rhemn — SEO city pages (prayer-times/[city], qibla-direction/[city])
   Shares the coming-soon design tokens (src/ComingSoon.css) — warm cream
   ground, deep-forest ink, soft sage accents. Kept as a standalone static
   sheet (no build step) so generated pages are plain crawlable HTML.
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #fbfdf6;
  --bg-elev: #f1f4ea;
  --card: #fdfefb;
  --line: rgba(10, 29, 8, 0.12);
  --line-2: rgba(10, 29, 8, 0.20);
  --ink: #0a1d08;
  --ink-2: #46543b;
  --ink-3: #6b7860;
  --ink-4: rgba(10, 29, 8, 0.30);
  --accent: #203b14;
  --accent-ink: #fbfdf6;
  --accent-2: rgba(32, 59, 20, 0.45);
  --accent-3: rgba(32, 59, 20, 0.09);
  --leaf: #3f7d2e;
  --arabic: #2a3b0a;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-ar: "Cairo", sans-serif;
  --r1: 8px; --r2: 12px; --r3: 18px;
  --shadow: 0 30px 64px -36px rgba(10, 29, 8, 0.28);
  --maxw: 760px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: radial-gradient(120% 80% at 50% -10%, rgba(63, 125, 46, 0.06), transparent 60%), var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

[dir="rtl"] body { font-family: var(--f-ar); }

.cp-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 96px; }

/* ── nav ── */
.cp-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 20px 24px;
}
.cp-nav-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.cp-nav-logo { height: 22px; width: auto; display: block; filter: brightness(0); opacity: 0.88; }
.cp-nav-cta {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); text-decoration: none; padding: 9px 16px; background: var(--accent);
  border-radius: 999px; white-space: nowrap;
}

/* ── breadcrumb ── */
.cp-breadcrumb {
  font-size: 12px; color: var(--ink-3); margin: 8px 0 28px; letter-spacing: 0.01em;
}
.cp-breadcrumb a { color: var(--ink-3); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.cp-breadcrumb a:hover { color: var(--ink); }

/* ── hero ── */
.cp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.cp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); flex-shrink: 0; }
.cp-h1 {
  font-family: var(--f-serif); font-size: clamp(32px, 5vw, 46px); font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 16px;
}
[dir="rtl"] .cp-h1 { font-family: var(--f-ar); font-weight: 500; }
.cp-intro { font-size: 16px; color: var(--ink-2); max-width: 620px; margin: 0 0 36px; }

/* ── prayer table ── */
.cp-table {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r3);
  box-shadow: var(--shadow); padding: 8px; margin-bottom: 20px;
}
.cp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.cp-row:last-child { border-bottom: none; }
.cp-row-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.cp-row-time { font-family: var(--f-serif); font-size: 22px; color: var(--accent); }
.cp-row.is-loading .cp-row-time { color: var(--ink-4); font-family: var(--f-sans); font-size: 14px; }

.cp-date { font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }

.cp-disclaimer {
  font-size: 13px; color: var(--ink-3); line-height: 1.6; max-width: 620px;
  margin: 0 0 48px; padding-top: 16px; border-top: 1px solid var(--line);
}

/* ── qibla compass ── */
.cp-compass-wrap { display: flex; align-items: center; gap: 32px; margin-bottom: 20px; flex-wrap: wrap; }
.cp-compass {
  width: 156px; height: 156px; border-radius: 50%; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; flex-shrink: 0;
}
.cp-compass::before {
  content: 'N'; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; color: var(--ink-3);
}
.cp-compass-needle {
  position: absolute; left: 50%; top: 50%; width: 3px; height: 62px;
  background: linear-gradient(var(--accent), var(--leaf));
  transform-origin: bottom center; border-radius: 2px;
}
.cp-compass-hub {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); transform: translate(-50%, -50%);
}
.cp-compass-kaaba {
  position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 2px;
  background: var(--ink); transform-origin: 0 0;
}
.cp-bearing { font-family: var(--f-serif); font-size: 34px; color: var(--accent); margin-bottom: 4px; }
.cp-bearing-sub { font-size: 13px; color: var(--ink-3); }

/* ── CTA card ── */
.cp-cta {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r3);
  box-shadow: var(--shadow); padding: 32px; margin: 20px 0 48px;
}
.cp-cta-eyebrow {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.cp-cta-headline {
  font-family: var(--f-serif); font-size: clamp(22px, 3vw, 28px); font-weight: 400;
  letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 10px;
}
[dir="rtl"] .cp-cta-headline { font-family: var(--f-ar); font-weight: 500; }
.cp-cta-sub { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 0 0 22px; max-width: 480px; }
.cp-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cp-install-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px;
  font-size: 14px; font-weight: 600; color: var(--accent-ink); background: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; text-decoration: none; white-space: nowrap;
}
.cp-install-note { font-size: 12px; color: var(--ink-3); }

/* ── cross-links ── */
.cp-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 48px; }
.cp-links a {
  font-size: 14px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-2);
  width: fit-content;
}
.cp-links a:hover { color: var(--accent); }

.cp-section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}

/* ── footer ── */
.cp-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  max-width: var(--maxw); margin: 0 auto; padding: 28px 24px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-3);
}
.cp-footer a { color: var(--ink-3); text-decoration: none; margin-inline-start: 16px; }
.cp-footer a:hover { color: var(--ink); }

/* ── RTL ── */
[dir="rtl"] .cp-row-name, [dir="rtl"] .cp-links a { text-align: right; }
[dir="rtl"] .cp-nav, [dir="rtl"] .cp-cta-row { flex-direction: row-reverse; }

@media (max-width: 520px) {
  .cp-compass-wrap { flex-direction: column; align-items: flex-start; }
}
