/* Layout: one calm column, black ground like the watch face; the app's teal does all the talking. Dark-first. */
:root {
  --bg: #050706;
  --surface: #121614;
  --line: #24302c;
  --fg: #EEF2F0;
  --muted: #9BAAA5;
  --accent: #5EC7B4;
  --accent-ink: #04221D;
  --amber: #E0B04A;
  --display: "Figtree", "Avenir Next", system-ui, sans-serif;
  --arabic: "Reem Kufi", "Geeza Pro", "Noto Kufi Arabic", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F6F8F7; --surface: #FFFFFF; --line: #D8E0DD; --fg: #0E1513; --muted: #52615C;
    --accent: #1C8C7A; --accent-ink: #FFFFFF; --amber: #9A6A06; color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F6F8F7; --surface: #FFFFFF; --line: #D8E0DD; --fg: #0E1513; --muted: #52615C;
  --accent: #1C8C7A; --accent-ink: #FFFFFF; --amber: #9A6A06; color-scheme: light;
}

body {
  background: var(--bg); color: var(--fg);
  font: 400 17px/1.6 var(--display);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1040px; margin: 0 auto; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; margin: 0; }
p { margin: 0; max-width: 62ch; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Header */
header.top { display: flex; justify-content: space-between; align-items: center; padding-block: 24px; gap: 16px; }
.mark { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--fg); text-decoration: none; }
.mark svg { width: 30px; height: 30px; }
nav { display: flex; gap: 20px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--fg); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-block: 40px 72px; }
.hero > div { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ayah { font: 700 clamp(40px, 7vw, 68px)/1.3 var(--arabic); color: var(--accent); direction: rtl; text-align: left; }
.ayah-ref { font: 500 13px/1.4 var(--mono); color: var(--muted); }
.hero h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.02em; }
.hero p.lead { font-size: 19px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none; }
.btn.soon { background: transparent; color: var(--muted); border: 1px solid var(--line); font-weight: 500; }

/* Watch */
.watch { justify-self: center; width: min(260px, 100%); aspect-ratio: 396 / 484; border-radius: 22% / 18%; background: #000; padding: 6%; box-shadow: 0 0 0 10px #1b1f1d, 0 30px 60px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 4%; justify-content: flex-end; }
.tile { border-radius: 18px; padding: 8% 9%; font-family: var(--display); }
.tile.small { background: #161615; color: #F2F2F0; display: flex; justify-content: space-between; align-items: center; }
.tile.small .k { color: #5EC7B4; font-size: 11px; font-weight: 700; }
.tile.small .v { font-size: 17px; font-weight: 800; }
.tile.big { background: #5EC7B4; color: #04221D; display: flex; flex-direction: column; gap: 4px; flex: 1; justify-content: space-between; }
.tile.big .k { font-size: 11px; font-weight: 700; opacity: .8; }
.tile.big .n { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.tile.big .s { font-size: 13px; font-weight: 700; }
.play { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.play svg { width: 10px; height: 11px; }

/* Sections */
section { padding-block: 64px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 32px; }
section h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.01em; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 18px; font-weight: 800; }
.card p { color: var(--muted); font-size: 16px; }
.taps { display: flex; gap: 6px; align-items: flex-end; height: 34px; }
.taps i { display: block; width: 10px; border-radius: 3px; background: var(--accent); }
.taps.down i { background: var(--amber); }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; list-style: none; padding: 0; margin: 0; }
.features li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; min-width: 0; }
.features li::before { content: ""; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--accent); }
.features b { display: block; }
.features span { color: var(--muted); font-size: 16px; }

/* Privacy */
.policy { display: flex; flex-direction: column; gap: 22px; max-width: 70ch; }
.policy h3 { font-size: 18px; font-weight: 800; }
.policy p, .policy li { color: var(--muted); }
.policy ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.promise { font-size: 22px; font-weight: 800; color: var(--fg); }
.meta { font: 500 13px/1.4 var(--mono); color: var(--muted); }

.contact { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.email { font: 500 16px var(--mono); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; user-select: all; }
.copy { font: 700 14px var(--display); background: transparent; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 16px 56px; }
  .grid3, .features { grid-template-columns: 1fr; }
  nav { gap: 14px; }
  nav a.hide-sm { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .taps i { animation: tap 2.4s ease-in-out infinite; }
  .taps i:nth-child(2) { animation-delay: .35s; }
  .taps i:nth-child(3) { animation-delay: .7s; }
  @keyframes tap { 0%, 30%, 100% { opacity: .35; } 10% { opacity: 1; } }
}

body { margin: 0; }
nav a[aria-current="page"] { color: var(--fg); }

/* Inner pages */
.page-head { padding-block: 32px 8px; display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.page-head p.lead { font-size: 19px; color: var(--muted); }
.page-head + section { border-top: 0; padding-top: 32px; }

/* Beta */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 15px; }
.need { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.need li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.need li::before { content: ""; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--accent); }
.need span { color: var(--muted); }
.gift { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; max-width: 70ch; }
.gift b { font-size: 18px; }
.gift p { color: var(--muted); }
.signup { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.btn.big { font-size: 18px; padding: 16px 26px; }
.small { font-size: 14px; color: var(--muted); }
.faq { display: flex; flex-direction: column; gap: 0; max-width: 70ch; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 8px; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}
