/* Lumio Quran website: olive + champagne, light from within. Generated by scripts/build-site.ts */
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-500.woff2) format('woff2'); }
@font-face { font-family: 'Hind Siliguri'; font-weight: 400; font-display: swap; src: url(/fonts/hind-bengali-400.woff2) format('woff2'); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: 'Hind Siliguri'; font-weight: 600; font-display: swap; src: url(/fonts/hind-bengali-600.woff2) format('woff2'); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: 'Hind Siliguri'; font-weight: 400; font-display: swap; src: url(/fonts/hind-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hind Siliguri'; font-weight: 600; font-display: swap; src: url(/fonts/hind-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --bg: #3e4a3f; --vignette: #1f261f; --text: #e6d8c3; --muted: rgb(230 216 195 / .78);
  --hairline: rgb(230 216 195 / .16); --surface: rgb(31 38 31 / .45);
  --glow: rgb(234 211 174 / .2); --glow-edge: rgb(230 216 195 / .07);
  --pattern: .03; --grain: .08;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f8f4ee; --vignette: #efe8dd; --text: #3e4a3f; --muted: rgb(62 74 63 / .86);
    --hairline: rgb(62 74 63 / .16); --surface: rgb(230 216 195 / .42);
    --glow: rgb(230 216 195 / .7); --glow-edge: rgb(230 216 195 / .28);
    --pattern: .022; --grain: .045;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; color: var(--text); background: var(--bg);
  font: 400 1.0625rem/1.75 'Hind Siliguri', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
/* Static texture: vignette, faint geometric pattern (fades out behind the content), paper grain. */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 42%, transparent 45%, var(--vignette) 100%); }
.backdrop::before, .backdrop::after { content: ''; position: absolute; inset: 0; }
.backdrop::before { background: url(/pattern.svg) repeat; background-size: 96px; opacity: var(--pattern);
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, transparent 35%, #000 92%);
  mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, transparent 35%, #000 92%); }
.backdrop::after { background: url(/grain.svg) repeat; background-size: 220px; opacity: var(--grain); }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 32px, 680px); margin-inline: auto; }

/* Wordmark (option A): "Lumio" + letter-spaced QURAN */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; }
.wordmark .lumio { font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-weight: 500; letter-spacing: .06em; margin-inline-start: .06em; }
.wordmark .quran { margin-top: .32em; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: .3em; letter-spacing: .62em; margin-inline-start: .62em; text-transform: uppercase; opacity: .78; }

/* Landing */
.hero { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 48px 0; position: relative; }
.hero::before { content: ''; position: absolute; left: 50%; top: 40%; width: min(110vw, 720px); height: min(70vh, 520px);
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse 50% 45% at 50% 50%, var(--glow), var(--glow-edge) 45%, transparent 72%); }
.hero .inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero .wordmark { font-size: clamp(3.4rem, 2.4rem + 6vw, 5.2rem); }
.lead { margin: 10px 0 0; font-size: 1.15rem; line-height: 1.8; max-width: 30ch; }
.lead-en { margin: 0; color: var(--muted); max-width: 36ch; }
.badge { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 22px;
  border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); font-weight: 600; }
.badge span { font-weight: 400; font-size: .9rem; color: var(--muted); }
.quiet { margin: 0; color: var(--muted); font-size: .95rem; }
footer { padding: 28px 0 40px; text-align: center; color: var(--muted); font-size: .9rem; line-height: 1.9; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 6px; }

/* Privacy */
.page-head { display: flex; justify-content: center; padding: 40px 0 8px; }
.page-head .wordmark { font-size: 2.1rem; }
main.doc { padding: 8px 0 24px; }
.doc h1 { font-size: 1.5rem; font-weight: 600; margin: 24px 0 4px; text-align: center; }
.doc .date { text-align: center; color: var(--muted); margin: 0 0 8px; font-size: .95rem; }
.langs { display: flex; justify-content: center; gap: 10px; margin: 16px 0 8px; }
.langs a { padding: 6px 16px; border: 1px solid var(--hairline); border-radius: 999px; text-decoration: none; font-size: .95rem; }
.policy { margin-top: 28px; padding: 22px 22px 8px; border: 1px solid var(--hairline); border-radius: 24px; background: var(--surface); }
.policy h2 { font-size: 1.2rem; font-weight: 600; margin: 0 0 12px; }
.policy h3 { font-size: 1.02rem; font-weight: 600; margin: 18px 0 6px; }
.policy p { margin: 0 0 10px; color: var(--muted); }
.note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 22px; }
