/* 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. Calm-premium point on the spectrum: slow-in/slow-out easing,
   real product pieces instead of icons, one interactive surprise (the size tile), every example from one khutbah. */
@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;
  --hadith-bg: #eef6f2; --hadith-line: #cfe4da; --hadith-ink: #17624f;
  --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;
  --shadow-soft: 0 1px 2px rgba(40, 32, 14, .05), 0 12px 32px -16px rgba(40, 32, 14, .18);
  --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);
  --ease-calm: cubic-bezier(.45, 0, .2, 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;
    --hadith-bg: #13211c; --hadith-line: #24402f; --hadith-ink: #5cbf9f;
    --danger: #ff7a5c;
    --phone: #0b0b0a; --phone-surface: #1b1a17;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -18px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@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: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--ui); letter-spacing: -.01em; }
.mark img { width: 28px; height: 28px; border-radius: 50%; margin-right: -2px; }
.mark span { font: 400 19px/1 var(--ar); color: var(--muted); white-space: nowrap; }
.nav a.app { white-space: nowrap; }
.nav-r { display: flex; align-items: center; gap: 6px; }
.nav a.lang { font: 600 13px/1 var(--ui); letter-spacing: .04em; color: var(--muted); text-decoration: none; padding: 9px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); margin-left: 6px; }
.nav a.lang:hover { color: var(--text); }
.phone-fig { margin: 0; justify-self: center; width: min(330px, 100%); display: grid; gap: 14px; }
.phone-fig .phone { width: 100%; }
.phone-fig figcaption { font-size: 13.5px; line-height: 1.45; color: var(--muted); text-align: center; padding: 0 8px; }
@media (max-width: 359px) { .mark span { display: none; } }
.nav a.app { font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; padding: 12px 4px; }
.nav a.app:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Buttons: press on touch, a small lift on hover */
.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 .2s var(--ease-out), box-shadow .2s var(--ease-out), filter .2s var(--ease-out), background-color .2s 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.ghost .ic { fill: currentColor; stroke: none; width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
@media (hover: hover) {
  .btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px var(--accent); }
  .btn.ghost:hover { background: var(--surface); }
  .btn.ghost:hover .ic { transform: translateX(2px); }
}
.btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 1 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, 64px)/1.06 var(--ui); letter-spacing: -.032em; max-width: 15ch; }
.hero h1 .ln { display: inline-block; }
.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%; } }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Hero entrance: lines of the headline rise one after another, then the phone. Calm curve, nothing bounces. */
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
.js .in-1, .js .in-2, .js .in-3, .js .in-4, .js .in-5, .js .in-6 { animation: up .8s var(--ease-out) both; }
.js .in-2 { animation-delay: .08s; } .js .in-3 { animation-delay: .16s; } .js .in-4 { animation-delay: .24s; }
.js .in-5 { animation-delay: .36s; } .js .in-6 { animation-delay: .46s; }
.js .in-phone { animation: phoneIn 1.1s var(--ease-out) .3s both; }

/* 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 40px 80px -40px rgba(30, 24, 10, .55), 0 0 0 1px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .06);
}
@media (min-width: 900px) { .phone { height: 620px; } }
.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 .top { display: flex; align-items: center; justify-content: space-between; font: 700 11px/1 var(--ui); margin-bottom: 6px; }
.c .top span:last-child { border-radius: 999px; padding: 6px 10px; font-weight: 600; }
.c.q { background: var(--phone-q-bg); border-color: var(--phone-q-line); }
.c.q .top { color: var(--phone-q-ink); }
.c.q .top span:last-child { border: 1px solid var(--phone-q-line); }
.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 { color: #5cbf9f; }
.c.h .top span:last-child { border: 1px solid rgba(92, 191, 159, .35); }
.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); }
/* Cards not yet spoken take no space, so the feed grows from the bottom like the live app (js adds .on). */
.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; } }

/* Sections: varied rhythm, not the same label + title + grid every time */
section { padding: 88px 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, 44px)/1.12 var(--ui); letter-spacing: -.025em; max-width: 20ch; }
h2 .soft { color: var(--muted); }
.lead { margin-top: 16px; font-size: 18px; color: var(--body); max-width: 52ch; }
.lead + .lead { margin-top: 12px; }

/* 2 How: the delay, shown */
.how h2 { max-width: 22ch; }
.flow { margin-top: 48px; display: grid; gap: 14px; align-items: center; }
@media (min-width: 760px) { .flow { grid-template-columns: 1fr 120px 1fr; gap: 0; } }
.f-ar, .f-de { border-radius: var(--r); padding: 18px 20px; min-height: 92px; display: flex; align-items: center; gap: 14px; }
.f-ar { background: var(--surface-2); justify-content: space-between; }
.f-ar p { font: 400 23px/1.7 var(--ar); color: var(--body); }
.f-de { background: var(--phone); color: var(--phone-text); box-shadow: var(--shadow-soft); }
.f-de p { font: 600 19px/1.4 var(--ui); }
.bars { display: inline-flex; align-items: center; gap: 3px; height: 28px; flex: none; }
.bars i { width: 3px; height: 30%; border-radius: 2px; background: var(--accent); animation: talk 1.1s var(--ease-calm) infinite; }
.bars i:nth-child(2) { animation-delay: -.2s; } .bars i:nth-child(3) { animation-delay: -.5s; } .bars i:nth-child(4) { animation-delay: -.1s; }
.bars i:nth-child(5) { animation-delay: -.7s; } .bars i:nth-child(6) { animation-delay: -.35s; } .bars i:nth-child(7) { animation-delay: -.8s; }
@keyframes talk { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.f-gap { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; }
.f-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: linear-gradient(var(--line), var(--accent)); }
@media (min-width: 760px) { .f-line { left: 12px; right: 12px; top: 50%; bottom: auto; width: auto; height: 1.5px; background: linear-gradient(90deg, var(--line), var(--accent)); } }
.f-sec { position: relative; background: var(--surface); color: var(--accent); font: 700 13px/1 var(--ui); padding: 7px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
/* the German line arrives a beat after the Arabic one, every time the section comes into view */
.js .flow .f-de { opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease-out) .9s, transform .7s var(--ease-out) .9s; }
.js .flow .f-sec { opacity: 0; transition: opacity .5s var(--ease-out) .45s; }
.js .flow.seen .f-de { opacity: 1; transform: none; }
.js .flow.seen .f-sec { opacity: 1; }

/* Khutbah clip: the real video and the translation in time */
.clip { margin-top: 36px; display: grid; gap: 14px; }
@media (min-width: 860px) { .clip { grid-template-columns: 1.3fr 1fr; gap: 20px; } }
.clip-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #0b0b0a; box-shadow: var(--shadow-soft); }
.clip-video #ytBox, .clip-video #ytBox > *, .clip-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px; text-align: center; color: #f3f0e8;
  background: radial-gradient(120% 90% at 50% 15%, #26231d 0%, #0b0b0a 72%); }
.facade .bars { height: 30px; margin-bottom: 8px; }
.facade .bars i { background: #5cbf9f; }
.f-title { font: 700 clamp(18px, 3.2vw, 24px)/1.2 var(--ui); letter-spacing: -.015em; }
.f-src { font-size: 14px; color: #a49e8f; margin-bottom: 10px; }
.facade .btn.primary { background: #5cbf9f; color: #0d1f19; }
.facade .btn.primary .ic { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.f-note { font-size: 12px; line-height: 1.45; color: #8d877a; max-width: 42ch; margin-top: 6px; }
.f-note a { color: inherit; }
.clip-feed { background: var(--phone); color: var(--phone-text); border-radius: var(--r); display: flex; flex-direction: column; height: 360px; overflow: hidden; box-shadow: var(--shadow-soft); }
@media (min-width: 860px) { .clip-feed { height: auto; min-height: 0; } }
.cf-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font: 600 12.5px/1 var(--ui); color: var(--phone-muted); border-bottom: 1px solid var(--phone-line); flex: none; }
.cf-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--phone-muted); }
.clip.on .cf-dot { background: #e5534b; animation: breathe 2.4s ease-in-out infinite; }
.clip.on #cfState { color: var(--phone-text); }
.cf-lag { margin-left: auto; color: #5cbf9f; font-variant-numeric: tabular-nums; }
.cf-list { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; min-height: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px); mask-image: linear-gradient(to bottom, transparent 0, #000 22px); }
.cf-preview { display: grid; gap: 8px; opacity: .35; filter: saturate(.6); }
.cf-empty { margin: 4px auto auto; text-align: center; color: var(--phone-muted); font-size: 14px; max-width: 26ch; }
.cf-c { border-radius: 12px; padding: 10px 12px; background: var(--phone-surface); border: 1px solid var(--phone-line); animation: rise .5s var(--ease-out) both; flex: none; }
.cf-ar { font: 400 14px/1.7 var(--ar); color: var(--phone-muted); text-align: right; }
.cf-de { font: 500 15px/1.45 var(--ui); }
.cf-top { font: 700 11px/1 var(--ui); margin-bottom: 6px; }
.cf-c.q { background: var(--phone-q-bg); border-color: var(--phone-q-line); }
.cf-c.q .cf-top, .cf-c.q .cf-de { color: var(--phone-q-ink); }
.cf-c.h { background: rgba(92, 191, 159, .1); border-color: rgba(92, 191, 159, .26); }
.cf-c.h .cf-top { color: #5cbf9f; }
.cf-c.h.cont { margin-top: -4px; }
.cf-auto { margin-top: 4px; font: 500 10.5px/1.3 var(--ui); color: var(--phone-muted); }
.cf-tail { min-height: 44px; padding: 10px 14px 12px; font: 400 16px/1.6 var(--ar); color: var(--phone-muted); border-top: 1px solid var(--phone-line); flex: none; }
.cf-again { align-self: center; margin-top: 6px; color: var(--phone-text); box-shadow: inset 0 0 0 1.5px var(--phone-line); flex: none; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; counter-reset: s; max-width: 980px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { counter-increment: s; color: var(--body); font-size: 16px; padding-left: 30px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; font: 700 14px/1.6 var(--ui); color: var(--accent); font-variant-numeric: tabular-nums; }
.steps b { color: var(--text); }

/* 3 Trust: text left, two real cards right, slightly stacked */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.cards { display: grid; gap: 14px; }
@media (min-width: 860px) { .cards .hadith-card { margin-left: 40px; margin-top: -6px; } .cards .verse-card { margin-right: 40px; } }
.verse-card, .hadith-card { border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-soft); }
.verse-card { background: var(--quran-bg); border: 1px solid var(--quran-line); }
.hadith-card { background: var(--hadith-bg); border: 1px solid var(--hadith-line); }
.verse-card .top, .hadith-card .top { display: flex; justify-content: space-between; align-items: center; font: 700 13px/1 var(--ui); letter-spacing: .02em; }
.verse-card .top { color: var(--quran-ink); }
.hadith-card .top { color: var(--hadith-ink); }
.top .ok { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-left: 4px; stroke-width: 2.4; }
.tagq, .tagh { font-weight: 600; font-size: 12px; padding: 6px 10px; border-radius: 999px; }
.tagq { box-shadow: inset 0 0 0 1px var(--quran-line); }
.tagh { box-shadow: inset 0 0 0 1px var(--hadith-line); }
.verse-card .ar { direction: rtl; text-align: right; font: 400 25px/1.9 var(--ar); margin: 14px 0 8px; color: var(--text); }
.hadith-card .ar { direction: rtl; text-align: right; font: 400 20px/1.9 var(--ar); margin: 12px 0 6px; color: var(--body); }
.verse-card .de { font: 600 18px/1.45 var(--ui); color: var(--quran-ink); }
.hadith-card .de { font: 500 17px/1.5 var(--ui); color: var(--text); }
.verse-card .credit, .hadith-card .credit { margin-top: 14px; padding-top: 12px; font-size: 13.5px; color: var(--muted); }
.verse-card .credit { border-top: 1px solid var(--quran-line); }
.hadith-card .credit { border-top: 1px solid var(--hadith-line); }
/* the check marks draw themselves when the cards come into view: a small tick, not a show */
.js .cards .ok path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease-out) .5s; }
.js .cards .hadith-card .ok path { transition-delay: .9s; }
.js .cards.seen .ok path { stroke-dashoffset: 0; }

/* 4 Facts: three bold numbers, no boxes */
.facts { padding: 64px 0; }
.nums { margin: 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .nums { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.nums div { border-top: 1.5px solid var(--text); padding-top: 18px; }
.nums dt { font: 700 clamp(44px, 9vw, 64px)/1 var(--ui); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.nums dd { margin: 10px 0 0; color: var(--body); font-size: 16px; max-width: 24ch; }
/* phones: number and words side by side, so three facts fit in one screen */
@media (max-width: 759px) {
  .nums { gap: 0; }
  .nums div { display: grid; grid-template-columns: 136px 1fr; align-items: baseline; gap: 16px; padding: 18px 0; border-top-width: 1px; border-top-color: var(--line); }
  .nums div:first-child { border-top: 1.5px solid var(--text); }
  .nums dt { font-size: 38px; }
  .nums dd { margin: 0; }
}

/* 5 Calm: tiles that hold real bits of the app */
.tiles { margin-top: 44px; display: grid; gap: 16px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tile { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 14px 14px 22px; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
@media (hover: hover) { .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); } }
.tile h3 { font: 700 18px/1.3 var(--ui); letter-spacing: -.01em; margin: 18px 8px 0; }
.tile > p { margin: 6px 8px 0; color: var(--body); font-size: 15.5px; }
.t-ui { height: 176px; border-radius: 14px; background: var(--phone); color: var(--phone-text); padding: 16px; overflow: hidden; position: relative; box-shadow: inset 0 0 0 1px var(--phone-line); }

.size-demo { display: flex; flex-direction: column; gap: 14px; }
.sizes { display: flex; gap: 6px; background: var(--phone-surface); border-radius: 999px; padding: 4px; align-self: flex-start; }
.sizes button {
  min-width: 44px; min-height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--phone-muted);
  font: 600 13px/1 var(--ui); cursor: pointer; transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.sizes button:nth-child(2) { font-size: 15px; } .sizes button:nth-child(3) { font-size: 17px; } .sizes button:nth-child(4) { font-size: 19px; }
.sizes button[aria-pressed="true"] { background: var(--phone-accent); color: #0d1f19; }
.sizes button:focus-visible { outline-color: var(--phone-accent); }
.sample { font: 500 18px/1.4 var(--ui); transition: font-size .35s var(--ease-calm); }

.sum-h { font: 700 11px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--phone-accent); margin-bottom: 12px; }
.sum ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.sum li { font-size: 14px; line-height: 1.4; padding-left: 16px; position: relative; color: #e6e1d6; }
.sum li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--phone-muted); }

.share { display: grid; place-items: center; background: linear-gradient(160deg, #1b1a17, #0b0b0a); }
.share-img {
  height: 140px; aspect-ratio: 4 / 5; border-radius: 10px; padding: 12px 11px; display: flex; flex-direction: column; justify-content: space-between;
  background: #f6f4ef; color: #191814; transform: rotate(-4deg); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .8);
  transition: transform .5s var(--ease-out);
}
@media (hover: hover) { .tile:hover .share-img { transform: rotate(0deg) translateY(-2px); } }
.s-ref { font: 700 10px/1 var(--ui); color: #7a5712; letter-spacing: .04em; }
.s-de { font: 600 13px/1.3 var(--ui); letter-spacing: -.01em; }
.s-by { font: 500 9px/1 var(--ui); color: #6f6a5d; }

/* 6 Waitlist */
.join > * { max-width: 620px; }   /* left edge stays on the page axis, only the column is narrow */
.join-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .join-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; align-items: start; } .promise { margin-top: 64px; } }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 26px 22px; }
.promise-h { font: 700 17px/1.3 var(--ui); margin-bottom: 18px; }
.promise ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: p; }
.promise li { counter-increment: p; display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; }
.promise li::before { content: counter(p); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 700 13px/1 var(--ui); }
.promise li b { font-size: 16px; }
.promise li span { color: var(--body); font-size: 15px; }
.promise-f { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.faq-grid { display: grid; gap: 8px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 72px; align-items: start; } .faq-side { position: sticky; top: 32px; } }
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), box-shadow .16s var(--ease-out);
}
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
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); display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.done b { display: block; font-size: 20px; margin-bottom: 6px; }
.done-ic { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done-ic circle, .done-ic path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s var(--ease-out) forwards; }
.done-ic path { animation-delay: .35s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* 7 FAQ */
.faq { margin-top: 24px; max-width: 760px; }
@media (min-width: 960px) { .faq { margin-top: 0; } }
.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 .3s 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; }
.faq details[open] p { animation: up .4s var(--ease-out) both; }
.faq-more { margin-top: 16px; color: var(--muted); font-size: 16px; }
.faq-more a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }

/* Phone dock: the waitlist button follows on small screens between hero and form */
.dock { display: none; }
@media (max-width: 759px) {
  .dock {
    display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 10;
    transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease-out); pointer-events: none;
  }
  .dock .btn { width: 100%; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
  .dock.show { transform: none; pointer-events: auto; }
}

/* 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); }
@media (max-width: 759px) { body.has-dock footer { padding-bottom: 104px; } }

/* 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 .small { font-size: 14px; color: var(--muted); margin-top: 40px; }

/* 404: the page "translates" its own error, like the app does */
.lost { max-width: 420px; margin: 8px 0 32px; display: grid; gap: 8px; }
.lost .c { color: var(--phone-text); }
.lost .c .de { font-size: 17px; }
.lost .c .ar { font-size: 18px; }

/* Scroll reveal: blocks rise in once (js removes .wait / adds .seen). Never hidden without js. */
.reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.wait { opacity: 0; transform: translateY(20px); }
.tiles .tile:nth-child(2) { transition-delay: .08s; } .tiles .tile:nth-child(3) { transition-delay: .16s; }
@media (hover: hover) { .tiles .tile.seen { transition-delay: 0s; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .bars i { height: 60%; }
}
