@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/amiri-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/amiri-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/amiri-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/amiri-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/ibm-plex-sans-arabic-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Layout: a deep-teal brand band (the icon's own field) carrying a mihrab-arched
   wird card; everything after it is quiet paper, one column, generous measure. */
:root {
  --paper: #F7F5F0; --surface: #FFFFFF; --ink: #1F2630; --muted: #5F6772;
  --rule: #E4DED0; --teal: #0F766E; --teal-strong: #0B5853; --teal-soft: #E6F4F1;
  --field: #0A3331; --field-deep: #04171D; --gold: #D9923F; --gold-hi: #E8B873;
  --cream: #F4EFE3; --cream-dim: #B9C4BD; --done: #15803D; --plan: #1E6B8E;
  --ui: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Amiri", "IBM Plex Sans Arabic", Georgia, serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #061C1F; --surface: #0B2A2B; --ink: #F4EFE3; --muted: #A9B6AF;
  --rule: #173B3A; --teal: #5FC4B4; --teal-strong: #8ADACB; --teal-soft: #0F3331;
  --field: #0A3331; --field-deep: #04171D; --gold: #D9923F; --gold-hi: #E8B873;
  --cream: #F4EFE3; --cream-dim: #B9C4BD; --done: #5BC282; --plan: #6FB6D6; color-scheme: dark } }
:root[data-theme="dark"] {
  --paper: #061C1F; --surface: #0B2A2B; --ink: #F4EFE3; --muted: #A9B6AF;
  --rule: #173B3A; --teal: #5FC4B4; --teal-strong: #8ADACB; --teal-soft: #0F3331;
  --field: #0A3331; --field-deep: #04171D; --gold: #D9923F; --gold-hi: #E8B873;
  --cream: #F4EFE3; --cream-dim: #B9C4BD; --done: #5BC282; --plan: #6FB6D6; color-scheme: dark }

* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: var(--ui); font-size: 17px; line-height: 1.75; }
a { color: inherit; }
.wrap { max-width: 1060px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ── Brand band ── */
.band { background: radial-gradient(120% 90% at 50% 0%, var(--field) 0%, var(--field-deep) 78%); color: var(--cream);
  margin-top: calc(-1 * env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
.top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-block: 18px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-inline-end: auto; }
.mark img { width: 44px; height: 44px; border-radius: 11px; }
.mark b { font-family: var(--display); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.nav { display: flex; gap: 6px 20px; flex-wrap: wrap; align-items: center; font-size: .95rem; }
.nav a { color: var(--cream-dim); text-decoration: none; padding-block: 8px; }
.nav a:hover { color: var(--cream); }
.lang { text-decoration: none; display: inline-flex; align-items: center; font: inherit; font-size: .9rem; color: var(--cream); background: transparent; border: 1px solid rgba(244,239,227,.35);
  border-radius: 999px; padding: 7px 16px; cursor: pointer; min-height: 40px; }
.lang:hover { border-color: var(--gold-hi); }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 44px 72px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 5.2vw, 3.7rem); line-height: 1.25; margin: 0 0 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold-hi); }
.hero p { color: var(--cream-dim); font-size: 1.12rem; max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 12px; background: var(--cream); color: #0A2422; text-decoration: none;
  border-radius: 14px; padding: 11px 20px; min-height: 54px; }
.store small { display: block; font-size: .72rem; line-height: 1.2; opacity: .75; }
.store span { display: block; font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.free { font-size: .95rem; color: var(--gold-hi); }

/* The wird card inside a mihrab arch — the app's Today screen, in miniature. */
.arch { border: 1.5px solid var(--gold); border-radius: 220px 220px 22px 22px; padding: 12px; max-width: 400px; width: 100%; margin-inline: auto; }
.card { background: var(--surface); color: var(--ink); border-radius: 208px 208px 14px 14px; padding: 76px 22px 22px; }
.card h2 { font-family: var(--display); font-size: 1.6rem; margin: 0; text-align: center; line-height: 1.3; }
.card .date { text-align: center; color: var(--muted); font-size: .86rem; margin: 2px 0 16px; }
.strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-bottom: 16px; }
.day { border: 1px solid var(--rule); border-radius: 10px; padding: 6px 0 7px; text-align: center; font-size: .68rem; color: var(--muted); line-height: 1.35; }
.day b { display: block; font-size: .98rem; color: var(--ink); font-weight: 500; }
.day i { display: block; width: 6px; height: 6px; border-radius: 50%; margin: 4px auto 0; background: var(--rule); }
.day.done i { background: var(--done); } .day.plan i { background: var(--plan); }
.day.now { border: 2px solid var(--teal); background: var(--teal-soft); } .day.now i { background: transparent; }
.sec { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: .95rem; }
.sec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); flex: none; transform: translateY(-1px); }
.sec span { color: var(--muted); margin-inline-start: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.who { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: .84rem; color: var(--muted); }
.who u { text-decoration: none; display: inline-flex; }
.who u b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .72rem; margin-inline-start: -6px; border: 2px solid var(--surface); }
.who u b:first-child { margin-inline-start: 0; }
.sample { text-align: center; font-size: .72rem; color: var(--cream-dim); margin-top: 10px; }

/* ── Paper sections ── */
section { padding-block: 64px; }
section + section { border-top: 1px solid var(--rule); }
.kicker { font-size: .82rem; letter-spacing: .08em; color: var(--teal); font-weight: 700; margin: 0 0 8px; }
html[dir="rtl"] .kicker { letter-spacing: 0; }
h3.h { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.3; margin: 0 0 28px; max-width: 22em; text-wrap: balance; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s, arabic-indic); display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--gold); margin-bottom: 10px; }
html[lang="en"] .steps li::before { content: counter(s, decimal); }
.steps h4, .feat h4 { font-size: 1.08rem; margin: 0 0 6px; font-weight: 700; }
.steps p, .feat p { margin: 0; color: var(--muted); font-size: .98rem; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.feat { padding: 20px 0; border-top: 1px solid var(--rule); }
.feat:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.promise { background: var(--teal-soft); border-radius: 22px; padding: 34px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.promise h4 { margin: 0 0 4px; font-size: 1.05rem; color: var(--teal-strong); }
.promise p { margin: 0; font-size: .95rem; color: var(--ink); }
.pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.page { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 18px; min-width: 0; }
.page:hover { border-color: var(--teal); }
.page b { display: block; font-size: 1rem; } .page span { color: var(--muted); font-size: .86rem; line-height: 1.5; display: block; margin-top: 4px; }
footer { border-top: 1px solid var(--rule); padding-block: 30px 44px; color: var(--muted); font-size: .9rem; }
footer .row { display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: baseline; }
footer .row a { text-decoration: none; } footer .row a:hover { color: var(--ink); }
footer .mail { margin-inline-start: auto; user-select: all; direction: ltr; }
.note { margin-top: 14px; font-size: .8rem; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 24px 56px; }
  .steps, .promise { grid-template-columns: minmax(0, 1fr); }
  .feats { grid-template-columns: minmax(0, 1fr); } .feat:nth-child(2) { border-top: 1px solid var(--rule); padding-top: 20px; }
  .pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding-block: 48px; } footer .mail { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: no-preference) { .store, .page, .lang { transition: border-color .15s, transform .15s; } .store:hover { transform: translateY(-1px); } }

/* ── Base (the artifact host supplied these in the draft) ── */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }

/* ── Inner pages: a short band, then one readable column ── */
.band.slim .top { padding-block: 14px; }
.doc { max-width: 46rem; padding-block: 44px 72px; }
.doc h1 { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 2.8rem); line-height: 1.3; margin: 0 0 6px; text-wrap: balance; }
.doc .updated { color: var(--muted); font-size: .9rem; margin: 0 0 28px; }
.doc h2 { font-size: 1.2rem; font-weight: 700; margin: 36px 0 8px; line-height: 1.5; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-inline-start: 1.4em; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--teal); text-underline-offset: 3px; }
.doc .lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 24px; }
.callout { background: var(--teal-soft); border-radius: 16px; padding: 20px 22px; margin: 24px 0; }
.callout p:last-child { margin-bottom: 0; }
.mailto { direction: ltr; unicode-bidi: isolate; font-weight: 700; }
.nav a[aria-current="page"] { color: var(--cream); }
