/* adrabic.com landing page. Same tokens as the app (app/public/app.css): warm off-white, deep green, gold for Qur'an.
   Design rules: .claude/skills/landing-page-design (structure first, one focal point per section, calm motion). */
@font-face { font-family: "Amiri"; src: url(fonts/amiri-arabic-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f6f4ef; --surface: #ffffff; --surface-2: #eeebe4; --line: #e4dfd5;
  --text: #191814; --body: #3d3a33; --muted: #6f6a5d;
  --accent: #17624f; --accent-ink: #ffffff; --accent-soft: rgba(23, 98, 79, .09);
  --quran-bg: #fbf5e6; --quran-line: #ecdcb4; --quran-ink: #7a5712;
  --danger: #b3392e;
  --phone: #11110f; --phone-surface: #1b1a17; --phone-line: #2f2d28; --phone-text: #f3f0e8; --phone-muted: #9b9586;
  --phone-q-bg: #241f13; --phone-q-line: #3d331c; --phone-q-ink: #e2bd6a; --phone-accent: #5cbf9f;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ar: "Amiri", "Geeza Pro", "Noto Naskh Arabic", serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --r: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #11110f; --surface: #1b1a17; --surface-2: #262420; --line: #2f2d28;
    --text: #f3f0e8; --body: #d6d1c5; --muted: #a49e8f;
    --accent: #5cbf9f; --accent-ink: #0d1f19; --accent-soft: rgba(92, 191, 159, .12);
    --quran-bg: #241f13; --quran-line: #3d331c; --quran-ink: #e2bd6a;
    --danger: #ff7a5c;
    --phone: #0b0b0a; --phone-surface: #1b1a17;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[lang="ar"] { font-family: var(--ar); }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.mark { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; font: 700 19px/1 var(--ui); letter-spacing: -.01em; }
.mark span { font: 400 19px/1 var(--ar); color: var(--muted); }
.nav a.app { font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; padding: 12px 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 0; font: 600 16px/1 var(--ui); text-decoration: none; cursor: pointer;
  transition: transform .16s var(--ease-out), filter .16s var(--ease-out);
}
.btn:active { transform: scale(.97); filter: brightness(.94); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Hero: one message, one action, the real product next to it */
.hero { display: grid; gap: 48px; align-items: center; padding-top: 24px; padding-bottom: 72px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; gap: 64px; padding-top: 48px; padding-bottom: 112px; } }
.kicker { font: 600 14px/1.2 var(--ui); color: var(--accent); letter-spacing: .02em; margin-bottom: 18px; }
.hero h1 { font: 700 clamp(38px, 8.6vw, 62px)/1.06 var(--ui); letter-spacing: -.032em; max-width: 15ch; }
.hero .sub { margin-top: 20px; font-size: 19px; line-height: 1.55; color: var(--body); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 559px) { .actions .btn { flex: 1 1 100%; } }
@media (min-width: 900px) { .phone { height: 620px; } }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Phone: a live screen made of real app cards (night look), not a screenshot */
.phone {
  justify-self: center; width: min(330px, 100%); height: 500px; border-radius: 44px; padding: 12px;
  background: #2a2925; box-shadow: 0 30px 60px -30px rgba(30, 24, 10, .45), 0 0 0 1px rgba(0, 0, 0, .06);
}
.screen {
  height: 100%; border-radius: 34px; overflow: hidden; background: var(--phone); color: var(--phone-text);
  display: flex; flex-direction: column; padding: 16px 12px; gap: 8px;
}
.p-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 10px; }
.p-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: #e5534b; color: #fff; font: 700 11px/1 var(--ui); letter-spacing: .06em; }
.p-pill i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: breathe 2.4s ease-in-out infinite; }
.p-time { font: 700 15px/1 var(--ui); font-variant-numeric: tabular-nums; margin-left: 8px; }
.p-end { font: 600 12px/1 var(--ui); background: var(--phone-surface); border-radius: 999px; padding: 8px 12px; }
@keyframes breathe { 50% { opacity: .35; } }
.p-feed { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; padding-top: 36px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px); mask-image: linear-gradient(to bottom, transparent 0, #000 36px); }
.c { border-radius: 14px; padding: 10px 12px; background: var(--phone-surface); border: 1px solid var(--phone-line); }
.c .ar { direction: rtl; text-align: right; font: 400 14px/1.7 var(--ar); color: var(--phone-muted); }
.c .de { font: 500 15px/1.4 var(--ui); }
.c.old .de { color: #cfc9bc; }
.c.intro { background: transparent; border-color: transparent; padding: 2px 4px; }
.c.intro .de { font-size: 12.5px; font-weight: 600; color: var(--phone-muted); }
.c.q { background: var(--phone-q-bg); border-color: var(--phone-q-line); }
.c.q .top { display: flex; align-items: center; justify-content: space-between; font: 700 11px/1 var(--ui); color: var(--phone-q-ink); margin-bottom: 4px; }
.c.q .top span:last-child { border: 1px solid var(--phone-q-line); border-radius: 999px; padding: 6px 10px; font-weight: 600; }
.c.q .verse { direction: rtl; text-align: right; font: 400 17px/1.8 var(--ar); color: var(--phone-text); }
.c.q .de { color: var(--phone-q-ink); }
.c.h { background: rgba(92, 191, 159, .1); border-color: rgba(92, 191, 159, .26); }
.c.h .top { display: flex; align-items: center; justify-content: space-between; font: 700 11px/1 var(--ui); color: #5cbf9f; margin-bottom: 6px; }
.c.h .top span:last-child { border: 1px solid rgba(92, 191, 159, .35); border-radius: 999px; padding: 6px 10px; font-weight: 600; }
.c.h .de { color: var(--phone-text); }
.c.h .auto { margin-top: 4px; font: 500 10.5px/1.3 var(--ui); color: var(--phone-muted); }
.c.tail { background: transparent; border-style: dashed; }
.c.tail .de { color: var(--phone-muted); }
/* The feed plays: each card rises in after the one before (js adds .on), then the loop starts again */
/* Cards not yet spoken take no space, so the feed grows from the bottom like the live app. */
.js .p-feed .c:not(.on) { display: none; }
.js .p-feed .c.on { animation: rise .54s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .p-feed .c.on { animation: none; } }

/* Sections */
section { padding: 80px 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { font: 600 14px/1.2 var(--ui); color: var(--accent); margin-bottom: 14px; }
h2 { font: 700 clamp(28px, 5.6vw, 42px)/1.12 var(--ui); letter-spacing: -.025em; max-width: 20ch; }
.lead { margin-top: 16px; font-size: 18px; color: var(--body); max-width: 52ch; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 32px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font: 700 17px/1 var(--ui); margin-bottom: 16px;
}
.steps h3 { font: 700 20px/1.3 var(--ui); letter-spacing: -.01em; }
.steps p { margin-top: 6px; color: var(--body); }

/* Qur'an: text left, one real verse card right */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.verse-card { background: var(--quran-bg); border: 1px solid var(--quran-line); border-radius: var(--r); padding: 22px 22px 20px; }
.verse-card .top { display: flex; justify-content: space-between; align-items: center; font: 700 13px/1 var(--ui); color: var(--quran-ink); letter-spacing: .03em; }
.verse-card .top .ok { width: 15px; height: 15px; display: inline-block; vertical-align: -3px; margin-left: 4px; stroke-width: 2.4; }
.verse-card .ar { direction: rtl; text-align: right; font: 400 26px/1.9 var(--ar); margin: 16px 0 10px; color: var(--text); }
.verse-card .de { font: 600 19px/1.45 var(--ui); color: var(--quran-ink); }
.verse-card .credit { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--quran-line); font-size: 14px; color: var(--muted); }
.note { margin-top: 24px; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--surface-2); color: var(--body); font-size: 16px; }
.note .ic { color: var(--accent); margin-top: 3px; }

.points { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .points { grid-template-columns: repeat(2, 1fr); gap: 32px 48px; } }
.points li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.points .ic { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.points b { display: block; font-size: 17px; }
.points span { color: var(--body); font-size: 16px; }

/* Waitlist */
.join { max-width: 620px; }
form { margin-top: 32px; display: grid; gap: 16px; }
label.f { display: grid; gap: 6px; font: 600 15px/1.3 var(--ui); }
label.f small { font-weight: 400; color: var(--muted); }
input[type="email"], input[type="text"], select {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--text); font: 400 17px/1 var(--ui);
  transition: border-color .16s var(--ease-out);
}
input:focus, select:focus { outline: none; border-color: var(--accent); }
input[aria-invalid="true"] { border-color: var(--danger); }
.row2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 160px; } }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 15px; color: var(--body); line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-size: 15px; min-height: 1px; }
.msg.err { color: var(--danger); }
.done { margin-top: 32px; padding: 24px; border-radius: var(--r); background: var(--accent-soft); }
.done b { display: block; font-size: 20px; margin-bottom: 6px; }

/* FAQ */
.faq { margin-top: 32px; max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font: 600 18px/1.35 var(--ui); padding: 12px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .22s var(--ease-out); color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--body); max-width: 62ch; }

/* Footer */
footer { padding: 48px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; padding: 10px 0; }
footer a:hover { color: var(--text); }

/* Text pages (Impressum, Datenschutz, 404) */
.doc { max-width: 720px; padding: 32px 20px 80px; margin: 0 auto; }
.doc h1 { font: 700 clamp(30px, 7vw, 42px)/1.1 var(--ui); letter-spacing: -.025em; margin-bottom: 24px; }
.doc h2 { font: 700 21px/1.3 var(--ui); letter-spacing: -.01em; margin: 36px 0 8px; max-width: none; }
.doc p, .doc li { color: var(--body); }
.doc p + p { margin-top: 12px; }
.doc .todo { background: #fff3c4; color: #5a4300; padding: 2px 6px; border-radius: 6px; font-weight: 600; }
.doc .small { font-size: 14px; color: var(--muted); margin-top: 40px; }

/* Scroll reveal: sections rise in once (js adds .seen) */
.reveal { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.wait { opacity: 0; transform: translateY(16px); }   /* only below the fold, only while js watches it */
