@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/figtree.6188e4f261.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A7, U+00A9, U+00B7, U+012A-012B, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/figtree.6188e4f261.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A7, U+00A9, U+00B7, U+012A-012B, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/figtree.6188e4f261.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A7, U+00A9, U+00B7, U+012A-012B, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/figtree.6188e4f261.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A7, U+00A9, U+00B7, U+012A-012B, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/serif.1aea6bd7bd.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A7, U+00A9, U+00B7, U+012A-012B, U+1E24-1E25, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/serif.1aea6bd7bd.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A7, U+00A9, U+00B7, U+012A-012B, U+1E24-1E25, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/serif.1aea6bd7bd.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A7, U+00A9, U+00B7, U+012A-012B, U+1E24-1E25, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/serif-italic.47664e0db3.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A7, U+00A9, U+00B7, U+012A-012B, U+1E24-1E25, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/serif-italic.47664e0db3.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A7, U+00A9, U+00B7, U+012A-012B, U+1E24-1E25, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/amiri.bb6bccacab.woff2) format('woff2'); unicode-range: U+0020, U+0623, U+0625, U+0627-062A, U+062D-062E, U+0635, U+0641, U+0643-0648, U+064A, U+064E-0652, U+FDFA; }
/* meethilm.com. Colours, type and shapes are the app's (design/tokens.json): the page is the app's paper, the hero its
   morning sky (its night in the dark theme), the name section its dusk, the end of the page its night. The Islamic
   elements are the app's too (产品方案 6.9), in a few fixed places: the star-and-cross wall behind the hero's phones, the
   name and the sign-off; the pattern's eight-point star beside each section's label; the tools' own icons (the Kaaba,
   the Qur'an on its stand, the prayer mat). Every colour is a token. The dark values are written once between the two
   markers below; build.py expands them into the system-dark rule and the explicit-dark rule. The dusk and night
   sections are dark in both themes: they set their own tokens (.dusk, .night). */

:root {
  color-scheme: light;
  --page: #F3EEE5; --raised: #FAF7F1; --sunken: #E7E0D3; --line: #D8CEBD; --soft: #E6DED0;
  --ink1: #33291F; --ink2: #655848; --ink3: #71645A;
  --accent: #7D5B27; --accent-soft: #EEDFC0; --hilm: #985F00;
  --btn-strong: #5A4632; --btn-strong-hover: #46362A; --btn-strong-fg: #FAF7F1;
  --bubble: #E6DBC8; --chip: #EBE4D7;
  --danger: #9A3B2E; --done: #55703A;
  --sky-z: #FBF8F2; --sky-m: #F3ECDF; --sky-h: #E9D8BC;
  --wall-ink: #33291F; --wall-op: .08; --hero-wall-op: .12; --icon-soft: .26; --star-op: .75;
  --bezel: #201A15; --bezel-edge: rgba(255, 255, 255, .10);
  --shadow-phone: 0 1px 2px rgba(51, 41, 31, .10), 0 16px 32px -12px rgba(51, 41, 31, .26), 0 48px 90px -30px rgba(51, 41, 31, .34);
  --shadow-card: 0 1px 2px rgba(51, 41, 31, .05), 0 12px 32px -16px rgba(51, 41, 31, .18);
  --show-light: block; --show-dark: none;
  --screen-filter: none;
  --todo: #F2DE9F;   /* a [bracket] in a policy that is still to be filled in: only until it is */

  --font-ui: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Source Serif 4', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-ar: 'Amiri', 'Geeza Pro', 'Noto Naskh Arabic', 'Times New Roman', serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5.2vw, 40px);
  --section: clamp(68px, 8.4vw, 120px);
  --ease: cubic-bezier(.3, 0, .25, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
  --page: #251E18; --raised: #2C241E; --sunken: #3A3028; --line: #463A30; --soft: #2C241E;
  --ink1: #F0E9DB; --ink2: #BCB09C; --ink3: #A39684;
  --accent: #DDBD78; --accent-soft: #40362A; --hilm: #F5B638;
  --btn-strong: #E6DCCA; --btn-strong-hover: #F3ECDE; --btn-strong-fg: #251E18;
  --bubble: #40352A; --chip: #352C24;
  --danger: #E39A86; --done: #B0C98E;
  --sky-z: #1E1914; --sky-m: #241E18; --sky-h: #2D251E;
  --wall-ink: #DDBD78; --wall-op: .14; --hero-wall-op: .2; --icon-soft: .3; --star-op: .85;
  --bezel: #0F0C09; --bezel-edge: rgba(240, 233, 219, .16);
  --shadow-phone: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -12px rgba(0, 0, 0, .55), 0 50px 90px -30px rgba(0, 0, 0, .6);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .5);
  --show-light: none; --show-dark: block;
  --screen-filter: brightness(.86);   /* the light app screens, toned down on the night sky */
  --todo: #5A4820;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #251E18; --raised: #2C241E; --sunken: #3A3028; --line: #463A30; --soft: #2C241E;
  --ink1: #F0E9DB; --ink2: #BCB09C; --ink3: #A39684;
  --accent: #DDBD78; --accent-soft: #40362A; --hilm: #F5B638;
  --btn-strong: #E6DCCA; --btn-strong-hover: #F3ECDE; --btn-strong-fg: #251E18;
  --bubble: #40352A; --chip: #352C24;
  --danger: #E39A86; --done: #B0C98E;
  --sky-z: #1E1914; --sky-m: #241E18; --sky-h: #2D251E;
  --wall-ink: #DDBD78; --wall-op: .14; --hero-wall-op: .2; --icon-soft: .3; --star-op: .85;
  --bezel: #0F0C09; --bezel-edge: rgba(240, 233, 219, .16);
  --shadow-phone: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -12px rgba(0, 0, 0, .55), 0 50px 90px -30px rgba(0, 0, 0, .6);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .5);
  --show-light: none; --show-dark: block;
  --screen-filter: brightness(.86);   /* the light app screens, toned down on the night sky */
  --todo: #5A4820;
}

/* the two sections that are dark in both themes: the app's dusk sky and its night sky */
.dusk, .night {
  color-scheme: dark;
  --ink1: #F3ECDE; --ink2: #D4CAB8; --ink3: #B8AC98;
  --accent: #E8C987; --hilm: #F5B638; --line: rgba(232, 201, 135, .2); --chip: rgba(232, 201, 135, .13);
  --raised: rgba(255, 248, 235, .06); --page: #1E1914;
  --btn-strong: #EADFC9; --btn-strong-hover: #F6EEDF; --btn-strong-fg: #251E18;
  --wall-ink: #E8C987; --wall-op: .12; --star-op: .85; --shadow-card: 0 14px 34px -16px rgba(0, 0, 0, .55);
  --danger: #EDA996; --done: #BFD69F;
  color: var(--ink1);
}
.dusk { background: linear-gradient(180deg, #271F18 0%, #3B2D21 52%, #6A4935 100%); }
.night { background: linear-gradient(180deg, #2A221B 0%, #1E1914 46%, #1A1511 100%); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink1);
  font: 400 1.0625rem/1.65 var(--font-ui);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-kerning: normal; overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
::selection { background: var(--accent-soft); color: var(--ink1); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.only-light { display: var(--show-light); }
.only-dark { display: var(--show-dark); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 22px; background: var(--btn-strong); color: var(--btn-strong-fg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
[lang="ar"] { font-family: var(--font-ar); font-weight: 400; }
.pbuh { font-family: var(--font-ar); font-size: 1.45em; line-height: 0; vertical-align: -.06em; }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* type: Source Serif 4 for what is said, Figtree for what is used (the app's two faces) */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.625rem, 1.3rem + 5.4vw, 4.75rem); line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 1.38rem + 2.5vw, 3rem); line-height: 1.1; letter-spacing: -.014em; }
h3 { font-size: clamp(1.375rem, 1.22rem + .62vw, 1.625rem); line-height: 1.22; letter-spacing: -.006em; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.125rem, 1.03rem + .42vw, 1.3125rem); line-height: 1.55; color: var(--ink2); }
.eyebrow { font: 600 .75rem/1.3 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.small { font-size: .875rem; line-height: 1.5; color: var(--ink3); }
.arrow-link {
  display: inline-flex; align-items: baseline; gap: .45em; font-weight: 600; color: var(--ink1); text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); padding-bottom: 3px;
}
.arrow-link::after { content: '→'; transition: transform .25s var(--ease); }
.arrow-link:hover { border-bottom-color: var(--accent); }
.arrow-link:hover::after { transform: translateX(3px); }

/* a section's label with the pattern's eight-point star before it: the star at the inner end of the app's surah-head
   rules (6.9), in the label's gold */
.eyebrow.orn { display: flex; align-items: center; gap: 10px; }
.eyebrow .star { flex: none; width: 13px; height: 13px; opacity: var(--star-op); }
.wrap > .eyebrow + h2 { margin-top: 16px; }   /* a label straight over its title, with no head block of its own */
/* a centred label between two hairlines that fade out, a star at each inner end: the app's surah head and the line
   over today's verse on its home */
.rule-label { display: flex; align-items: center; justify-content: center; gap: 10px; }
.rule-label > span { padding-inline: 4px; }
.rule-label::before, .rule-label::after { content: ''; flex: 1 1 0; height: 1px; max-width: 160px; }
.rule-label::before { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 65%, transparent)); }
.rule-label::after { background: linear-gradient(270deg, transparent, color-mix(in srgb, var(--accent) 65%, transparent)); }

/* buttons and the launch-notice box */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 24px; border: 0; border-radius: 26px;
  background: var(--btn-strong); color: var(--btn-strong-fg); font: 600 .9375rem/1.25 var(--font-ui); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease;
}
.btn:hover { background: var(--btn-strong-hover); }
.btn-small { min-height: 44px; border-radius: 22px; padding: 6px 18px; font-size: .875rem; }
.btn-quiet { background: transparent; color: var(--ink1); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink1) 22%, transparent); }
.btn-quiet:hover { background: color-mix(in srgb, var(--ink1) 6%, transparent); }

.notify { max-width: 31rem; }
.notify-label { display: block; margin-bottom: 12px; }
.notify-row {
  display: flex; gap: 8px; padding: 5px; border-radius: 31px; background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
}
.notify-row:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow-card); }
.notify-row input {
  flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 8px 0 19px; border: 0; border-radius: 26px; background: transparent;
  color: var(--ink1); font: 400 1.0625rem/1.2 var(--font-ui);
}
.notify-row input::placeholder { color: var(--ink3); opacity: 1; }
.notify-row input:focus { outline: none; }
.notify-row .btn { flex: 0 0 auto; }
.notify-note { margin-top: 12px; }
.notify-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.notify-note a { color: inherit; }
.notify-status:empty { display: none; }
.notify-status { margin-top: 12px; font-size: .9375rem; line-height: 1.45; }
.notify-status[data-kind="error"] { color: var(--danger); }
.notify-done { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.notify-done svg { flex: 0 0 auto; margin-top: 3px; color: var(--done); }
.notify-done strong { font-weight: 600; }
/* before the box opens (build.py NOTIFY_OPEN, soon()): in its place a small centred heading in the page's own manner,
   the label between two rules with the pattern's star at each inner end (as the app's verse label), the platforms in
   the serif under it. In the hero it is as wide as the box was, the rules running out to its edges. */
.soon { margin-top: clamp(30px, 3.4vw, 42px); text-align: center; }
.soon-head { display: flex; align-items: center; justify-content: center; gap: 10px; }
.soon-rule { flex: 0 1 56px; height: 1px; background: currentColor; opacity: .5; }
.soon-line { margin-top: 12px; font-family: var(--font-serif); font-size: clamp(1.5rem, 1.32rem + .75vw, 1.875rem); line-height: 1.15; letter-spacing: -.01em; color: var(--ink1); }
.hero-copy .soon { max-width: 31rem; }
.hero-copy .soon-rule { flex: 1 1 auto; }
@media (max-width: 460px) {
  .notify-row { flex-direction: column; gap: 6px; padding: 6px; border-radius: 30px; }
  .notify-row input { padding-left: 20px; }
}

/* header */
.site-head { position: relative; z-index: 2; }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; color: var(--hilm); min-height: 44px; }
/* the wordmark's file is 396 high: the letters are the top 291, the h's dot hangs below them. Here the dot's part hangs below
   the line, so the letters keep their size and place */
.wordmark { height: calc(30px * 396 / 291); width: auto; margin-bottom: calc(30px * -105 / 291); }
/* on the home page and About the h's dot nods once as the page opens: the app's nod (design/tokens.json 动效 注意; its numbers
   are in the mark's box, stroke 118, here scaled to the wordmark's stroke, 60), then it stays still. It never keeps moving:
   anything that moves on its own for more than five seconds needs a way to stop it (WCAG 2.2.2). Reduced motion: still */
@keyframes hilm-nod { 30% { transform: translateY(-24.4px); } 64% { transform: translateY(5.1px); } }
.site-head.nod .hilm-dot { animation: hilm-nod .9s cubic-bezier(.3, 0, .25, 1) .5s 1; }
.head-nav { display: flex; gap: 28px; margin-left: auto; }
.head-nav a { font-size: .9375rem; font-weight: 500; color: var(--ink2); text-decoration: none; padding: 12px 0; }
.head-nav a:hover, .head-nav a[aria-current="page"] { color: var(--ink1); }
/* on a phone the links fold into a menu (a <details>: it opens without script): a sheet under the header */
.head-menu { display: none; margin-left: auto; }
.head-menu summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-left: 14px; font-size: .9375rem; font-weight: 500; color: var(--ink1); cursor: pointer; list-style: none; user-select: none; -webkit-user-select: none; }
.head-menu summary::-webkit-details-marker { display: none; }
.head-menu summary svg { color: var(--ink2); transition: transform .2s var(--ease); }
.head-menu[open] summary svg { transform: rotate(180deg); }
.head-menu nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 2px max(var(--gutter), env(safe-area-inset-right, 0px)) 8px max(var(--gutter), env(safe-area-inset-left, 0px)); background: var(--raised); border-block: 1px solid var(--line); box-shadow: var(--shadow-card); }
.head-menu nav a { display: flex; align-items: center; min-height: 54px; font-size: 1.0625rem; font-weight: 500; color: var(--ink1); text-decoration: none; }
.head-menu nav a + a { border-top: 1px solid var(--line); }
.head-menu nav a[aria-current="page"] { color: var(--accent); }
@media (max-width: 879px) {   /* the four links and the wordmark need 700 px, with "Get notified" 860 (measured 11-19) */
  .head-row { min-height: 64px; }
  .wordmark { height: calc(26px * 396 / 291); margin-bottom: calc(26px * -105 / 291); }
  .head-nav { display: none; }
  .head-cta { margin-left: auto; }
  .head-menu { display: block; }
  .head-cta + .head-menu { margin-left: 0; }
}

/* hero: the morning sky (the night sky in the dark theme), two screens of the app standing in its light */
.sky { background: linear-gradient(180deg, var(--sky-z) 0%, var(--sky-m) 44%, var(--sky-h) 84%, var(--page) 100%); }
.hero { position: relative; overflow: hidden; padding-bottom: clamp(36px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; padding-top: clamp(24px, 4vw, 40px); }
.hero-copy h1 { max-width: 11em; }
.hero-copy .lead { margin-top: clamp(18px, 2.2vw, 26px); max-width: 30em; }
.hero-copy .notify { margin-top: clamp(28px, 3.4vw, 40px); }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: .9375rem; font-weight: 500; color: var(--ink2); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure svg { color: var(--accent); flex: 0 0 auto; }
.hero-fig { justify-self: center; width: min(100%, 440px); }
.hero-fig figcaption { margin-top: 18px; text-align: center; text-wrap: balance; color: var(--ink2); }   /* on the sky's deepest band the lighter grey falls under 4.5:1 */
/* the pair, side by side on the tile wall with the wall showing between them: the home on the left and lower, an
   answer on the right and higher. They never overlap (a sliver of one over the other read as a mistake, the user
   11-18). Box height: the lower phone's offset (12% of the box's height) plus its height (2.099 × its width, 46% of
   the box's width) = 96.55 / 0.88 = 109.7% of the width. */
.duo { position: relative; aspect-ratio: 100 / 109.7; }
.duo::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 118%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--hilm) var(--halo, 14%), transparent), transparent 72%);
  pointer-events: none;
}
.duo .tile-band { --wall-op: var(--hero-wall-op); position: absolute; left: -32%; top: -16%; width: 164%; height: 132%; pointer-events: none; }
.duo .phone { position: absolute; width: 46%; }
.duo .back { right: 0; top: 0; }
.duo .front { left: 0; top: 12%; }
.duo img, .screens img { filter: var(--screen-filter); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-top: 8px; }
  .hero-fig { width: min(100%, 540px); justify-self: end; }
}

/* a phone: the screen in a thin warm bezel */
.phone { border-radius: 13.6% / 6.3%; background: var(--bezel); box-shadow: var(--shadow-phone); padding: .1px 0; }
.phone-in { margin: 2.8%; border-radius: 11.4% / 5.3%; overflow: hidden; box-shadow: 0 0 0 1px var(--bezel-edge); background: var(--ph, #000); }
.phone-in picture { display: block; }
/* until a screen arrives its frame shows the screen's main colour (build.py phone()), dimmed on the night sky as the
   screens are (--screen-filter), and the night screen's where the device is in dark mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone-in { background: color-mix(in srgb, var(--ph-dark, var(--ph, #000)) 86%, #000); }
}
:root[data-theme="dark"] .phone-in { background: color-mix(in srgb, var(--ph-dark, var(--ph, #000)) 86%, #000); }
.phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; }

/* sections */
.band { padding-block: var(--section); }
.band-raised { background: var(--raised); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); }
.split-head .eyebrow { margin-bottom: 16px; }
.split-head > p { margin-top: 18px; color: var(--ink2); max-width: 27em; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .split-head { position: sticky; top: 48px; }
}
.ruled > li { padding-block: clamp(22px, 2.6vw, 30px); border-top: 1px solid var(--line); }
.ruled > li:last-child { border-bottom: 1px solid var(--line); }
.ruled h3 + p { margin-top: 10px; color: var(--ink2); max-width: 34em; }

/* a saying set apart: the Arabic (when shown), the words, who and where */
.saying { margin-top: clamp(32px, 4vw, 44px); padding-top: 26px; border-top: 1px solid var(--line); max-width: 26em; }
.saying blockquote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 1.12rem + .5vw, 1.4375rem); line-height: 1.42; color: var(--ink1); }
.saying figcaption { margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; margin-top: 12px; padding: 4px 13px; border-radius: 12px; background: var(--chip); font-size: .8125rem; font-weight: 600; color: var(--ink2); }

/* the example answer, drawn as the app draws it */
.proof { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); align-items: start; }
.proof-head .eyebrow { margin-bottom: 16px; }
.proof-head > p { margin-top: 18px; color: var(--ink2); max-width: 30em; }
.notes { margin-top: clamp(26px, 3vw, 36px); display: grid; gap: 22px; counter-reset: note; }
.notes li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; counter-increment: note; }
.notes li::before, .pin {
  content: counter(note); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
  font: 600 .8125rem/1 var(--font-ui); background: var(--accent); color: var(--page);
}
.notes li::before { margin-top: 1px; }
.notes strong { display: block; font-weight: 600; }
.notes span { display: block; color: var(--ink2); margin-top: 2px; }
.proof-foot { margin-top: clamp(28px, 3vw, 36px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink2); max-width: 32em; }
.proof-foot .arrow-link { margin-top: 18px; }
.answer-fig { justify-self: center; width: min(100%, 440px); }
.answer {
  position: relative; padding: 22px 22px 10px; border-radius: 28px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  font-size: .9375rem; line-height: 1.6;
}
.answer .q { margin-left: auto; width: fit-content; max-width: 88%; padding: 11px 16px; border-radius: 20px; background: var(--bubble); }
.answer .a-head { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .8125rem; color: var(--ink2); }
.answer .a-head .mark { height: 15.5px; width: auto; color: var(--hilm); }
.answer .a-head u { color: var(--ink1); font-weight: 600; text-underline-offset: 3px; }
.answer .verdict { margin-top: 10px; font-size: 1.125rem; line-height: 1.42; font-weight: 600; letter-spacing: -.005em; }
.answer h3 { display: flex; align-items: center; margin-top: 20px; font: 600 .6875rem/1.3 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.answer h3 + p { margin-top: 6px; }
.answer sup { font-size: .68em; font-weight: 600; color: var(--accent); margin-left: 1px; line-height: 0; }
.answer .others { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-block: 13px; border-block: 1px solid var(--line); }
.answer .others svg { color: var(--ink2); }
.answer .sources { margin-top: 8px; font-size: .8125rem; line-height: 1.5; color: var(--ink2); }
.answer .sources li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; padding-block: 7px; }
.answer .sources li + li { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.answer .sources b { font-weight: 600; color: var(--accent); }
.answer .sources em { font-style: normal; color: var(--ink1); }
.answer .pin { position: absolute; right: -11px; width: 22px; height: 22px; font-size: .75rem; box-shadow: 0 0 0 3px var(--page); }
.answer-fig figcaption { margin-top: 14px; text-align: center; }
@media (min-width: 900px) {
  .proof { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 88px; }
  .answer-fig { justify-self: end; position: sticky; top: 40px; }
}
@media (max-width: 520px) { .answer { padding-inline: 18px; } .answer .pin { right: -8px; } }

/* it doesn't stop at the answer: three things Hilm does with the app's tools, each with the line the app shows once
   it's done, and two of the app's chats (on wide screens on the left, the other side from the answer above) */
.doing { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(44px, 5vw, 64px); align-items: start; }
.doing-head .eyebrow { margin-bottom: 16px; }
.doing-head > p { margin-top: 18px; color: var(--ink2); max-width: 30em; }
.moves { margin-top: clamp(24px, 3vw, 34px); }
.moves li { padding-block: clamp(20px, 2.4vw, 26px); border-top: 1px solid var(--line); }
.moves li:last-child { border-bottom: 1px solid var(--line); }
.moves h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.4375rem); }
.moves h3 + p { margin-top: 8px; color: var(--ink2); max-width: 34em; }
.done-line { display: flex; align-items: center; gap: 10px; margin-top: 14px; max-width: 25rem; min-height: 44px; padding: 8px 16px;
  border-radius: 14px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); font-size: .875rem; line-height: 1.4; color: var(--ink2); }
.done-line svg { flex: 0 0 auto; color: var(--done); }
.done-line .undo { margin-left: auto; padding-left: 12px; font-weight: 600; color: var(--ink1); text-decoration: underline; text-underline-offset: 3px; }
.doing-foot { margin-top: 22px; color: var(--ink2); max-width: 32em; }
.doing-fig { justify-self: center; width: min(100%, 540px); }
.pair { display: flex; align-items: flex-start; justify-content: center; gap: 6%; }
.pair .phone { width: 47%; flex: 0 0 auto; }
.pair .phone:nth-child(2) { margin-top: 16%; }
.pair img { filter: var(--screen-filter); }
.doing-fig figcaption { margin-top: 16px; text-align: center; }
@media (min-width: 900px) {
  .doing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
  .doing-fig { order: -1; justify-self: start; position: sticky; top: 40px; }
}

/* tools */
.tools-head { max-width: 40rem; }
.tools-head .eyebrow { margin-bottom: 16px; }
.tools-head p { margin-top: 18px; color: var(--ink2); }
.tools-head strong { color: var(--ink1); font-weight: 600; }
.tools { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(28px, 4vw, 48px); }
.tools li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 16px; align-content: start; padding-block: 20px; border-top: 1px solid var(--line); }
.tools .tool-icon { grid-row: 1 / span 2; width: 30px; height: 30px; }
.tools strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.25rem; line-height: 1.3; padding-top: 2px; }
.tools span { display: block; margin-top: 4px; color: var(--ink2); }
@media (min-width: 700px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
@media (min-width: 1000px) { .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 56px; } }
.screens { display: flex; align-items: flex-start; justify-content: center; gap: clamp(18px, 4vw, 56px); margin-top: clamp(44px, 6vw, 80px); }
.screens .phone { width: min(28%, 252px); flex: 0 0 auto; }
.screens .phone:nth-child(2) { margin-top: clamp(20px, 3.4vw, 48px); }
.screens-fig figcaption { margin-top: 22px; text-align: center; }
@media (max-width: 699px) {
  .screens { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 30px; scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .screens .phone { width: 62%; scroll-snap-align: center; }
  .screens .phone:nth-child(2) { margin-top: 0; }
  .screens-fig figcaption { margin-top: 0; }
}

/* the name, at dusk */
.name { position: relative; overflow: hidden; text-align: center; }
.name .tile-band { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.name-in { position: relative; max-width: 46rem; margin-inline: auto; }
.name-word { display: flex; align-items: center; justify-content: center; gap: .3em; margin-top: 34px; font-family: var(--font-serif); font-size: clamp(3.25rem, 2rem + 5vw, 5.25rem); line-height: 1.1; letter-spacing: -.015em; }
.name-word [lang="ar"] { font-size: 1.02em; line-height: 1.5; color: var(--accent); letter-spacing: 0; padding-bottom: .12em; }
.name-say { margin-top: 12px; }
.name-def { margin: 28px auto 0; max-width: 30em; font-family: var(--font-serif); font-size: clamp(1.3125rem, 1.12rem + .9vw, 1.75rem); line-height: 1.38; text-wrap: balance; }
.hadith { margin-top: clamp(40px, 5vw, 56px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line); }
.hadith > p[lang="ar"] { font-size: clamp(1.625rem, 1.26rem + 1.6vw, 2.375rem); line-height: 2; color: var(--ink1); }
.hadith blockquote { margin-top: 8px; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1875rem, 1.08rem + .5vw, 1.4375rem); line-height: 1.45; text-wrap: balance; }
.hadith figcaption { margin-top: 14px; }
.dusk .hadith figcaption .small { color: var(--ink2); }   /* low on the dusk sky the lighter grey falls under 4.5:1 */
.name .arrow-link { margin-top: 34px; }

/* honest about what it is */
.not-lead { margin-top: 20px; font-family: var(--font-serif); font-size: clamp(1.25rem, 1.1rem + .62vw, 1.5rem); line-height: 1.45; color: var(--ink1); max-width: 26em; }
.facts { margin-top: 18px; }
.facts > li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-block: 17px; border-top: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.5; }
.facts > li:last-child { border-bottom: 1px solid var(--line); }
.facts svg { margin-top: 2px; color: var(--accent); }

/* questions worth asking first */
.doors { margin-top: clamp(26px, 3.4vw, 40px); }
.doors li { border-top: 1px solid var(--line); }
.doors li:last-child { border-bottom: 1px solid var(--line); }
.doors a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; padding-block: clamp(22px, 2.6vw, 30px); text-decoration: none; }
.doors h2, .doors h3 { transition: color .2s ease; }
.doors h2 { font-size: clamp(1.375rem, 1.22rem + .62vw, 1.625rem); line-height: 1.22; letter-spacing: -.006em; }   /* help's topics: sections of their page, set as the doors are */
.doors p { margin-top: 6px; color: var(--ink2); max-width: 40em; }
.doors .go { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink1); transition: transform .25s var(--ease), background-color .2s ease; }
.doors a:hover .go { transform: translateX(4px); background: color-mix(in srgb, var(--ink1) 6%, transparent); }
.doors a:hover :is(h2, h3) { color: var(--accent); }

/* the end of the page, at night */
.end { position: relative; overflow: hidden; }
.end .stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.closing { position: relative; text-align: center; padding-block: clamp(80px, 10vw, 140px) clamp(64px, 8vw, 104px); }
.closing .tile-band { position: absolute; left: 50%; top: 0; width: min(100%, 1040px); height: 100%; transform: translateX(-50%); pointer-events: none; }
.closing > .wrap { position: relative; }
.closing .mark { height: 46px; width: auto; margin: 0 auto 28px; color: var(--hilm); }
.closing h2 { max-width: 13em; margin-inline: auto; }
.closing .notify { margin: clamp(30px, 3.4vw, 40px) auto 0; text-align: left; }
.closing .notify-label, .closing .notify-note, .closing .notify-status { text-align: center; }

/* footer */
.site-foot { position: relative; padding-block: clamp(44px, 6vw, 64px) 36px; font-size: .9375rem; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.foot-brand { grid-column: 1 / -1; color: var(--hilm); }
.foot-brand .wordmark { height: calc(32px * 396 / 291); margin-bottom: 0; }   /* the line below makes room for the dot */
.foot-brand p { margin-top: 14px; color: var(--ink2); max-width: 22em; }
.foot-col h2 { font: 600 .75rem/1.3 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; }
.foot-col a, .foot-mail { display: block; padding-block: 7px; color: var(--ink1); text-decoration: none; text-wrap: balance; }
.foot-col a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.foot-mail { user-select: all; white-space: nowrap; }
.foot-contact { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-contact { grid-column: auto; } }
.foot-legal { margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; color: var(--ink3); font-size: .8125rem; line-height: 1.55; }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
  .foot-brand { grid-column: auto; }
}

/* ---------------------------------------------------------------- inner pages */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mail { user-select: all; white-space: nowrap; font-weight: 500; color: var(--ink1); }
a.mail { text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); }
a.mail:hover { text-decoration-color: var(--accent); }

/* the top of an inner page: the sky, shorter and quieter than the home page's */
.page-sky { background: linear-gradient(180deg, var(--sky-z) 0%, var(--sky-m) 58%, var(--page) 100%); }
.page-head { position: relative; overflow: hidden; padding-block: clamp(40px, 6.4vw, 92px) clamp(52px, 6.8vw, 100px); }
.page-head .tile-band { --wall-op: var(--hero-wall-op); position: absolute; top: -30%; right: -12%; width: min(78%, 900px); height: 160%; pointer-events: none; }
.page-head-in { position: relative; }
.page-head h1 { margin-top: 18px; max-width: 13em; font-size: clamp(2.5rem, 1.55rem + 3.9vw, 4.25rem); line-height: 1.04; }
.page-head .lead { margin-top: clamp(18px, 2.2vw, 26px); max-width: 33em; }

/* reading: a left rail on wide screens, the text in one measured column */
.reading { padding-top: clamp(28px, 4vw, 56px); }
.reading-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.toc { display: none; }
@media (min-width: 1040px) {
  .reading-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 40rem) minmax(0, 1fr); column-gap: 56px; }
  .toc { display: block; position: sticky; top: 40px; align-self: start; padding-top: 6px; }
  .toc ol { margin-top: 14px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
  .toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: .9375rem; color: var(--ink2); text-decoration: none; }
  .toc a:hover { color: var(--ink1); border-left-color: var(--accent); }
}
.prose { max-width: 40rem; font-family: var(--font-serif); font-size: clamp(1.125rem, 1.06rem + .28vw, 1.25rem); line-height: 1.72; color: var(--ink1); }
.prose p + p, .prose p + ul, .prose ul + p, .prose figure + p { margin-top: 1.05em; }
.prose em { font-style: italic; }
.prose .opening { font-size: 1.16em; line-height: 1.6; }
.prose h2 { margin: 2.1em 0 .7em; font-size: clamp(1.625rem, 1.38rem + 1vw, 2.125rem); line-height: 1.18; scroll-margin-top: 24px; }
.prose h2:not(.sr-only) + p { margin-top: 0; }
.prose p [lang="ar"] { font-size: 1.1em; line-height: 0; }
.prose .pbuh { font-size: 1.35em; }
.leadins { display: grid; gap: .85em; margin-top: 1.05em; }
.leadins li { position: relative; padding-left: 1.3em; }
.leadins li::before { content: ''; position: absolute; left: .1em; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.leadins strong { font-weight: 500; }
.quote { margin: 1.5em 0; padding: 1.3em 0 1.25em 1.4em; border-left: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.quote > p[lang="ar"] { font-size: 1.5em; line-height: 1.9; text-align: right; color: var(--ink1); }
.quote blockquote { font-style: italic; font-size: 1.12em; line-height: 1.5; }
.quote > p[lang="ar"] + blockquote { margin-top: .3em; }
.quote figcaption { margin-top: .5em; font-family: var(--font-ui); }
.quote figcaption .small { margin: 0; }
.quote .chip { margin-top: 8px; }
.closing-line { margin-top: 1.6em !important; font-size: 1.12em; font-style: italic; color: var(--ink1); }

/* the company, as a list of facts */
.facts-dl { display: grid; gap: 0; }
.facts-dl > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 18px; border-top: 1px solid var(--line); }
.facts-dl > div:last-child { border-bottom: 1px solid var(--line); }
.facts-dl dt { font: 600 .75rem/1.3 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.facts-dl dd { margin: 0; font-size: 1.0625rem; }
.facts-dl dd.small { margin-top: 4px; font-size: .9375rem; }
.facts-dl dd.small a { color: var(--ink2); }
@media (min-width: 640px) { .facts-dl > div { grid-template-columns: 13rem minmax(0, 1fr); column-gap: 24px; align-items: baseline; } .facts-dl dd.small { grid-column: 2; } }

/* how an answer is made: four steps on a line (down the page on a phone) */
.steps { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding-bottom: 30px; }
.steps li::after { content: ''; position: absolute; left: 21.5px; top: 48px; bottom: 6px; width: 1px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.step-n { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent); font: 500 1.125rem/1 var(--font-serif); background: var(--page); }
.steps h3 { font-size: 1.3125rem; padding-top: 8px; }
.steps p { margin-top: 6px; color: var(--ink2); max-width: 26em; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
  .steps li { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; align-content: start; }   /* a step with fewer lines keeps its title on the others' line */
  .steps li::after { left: 56px; right: -24px; top: 21.5px; bottom: auto; width: auto; height: 1px; }
  .step-n { grid-row: auto; margin-bottom: 18px; }
  .steps h3 { padding-top: 0; }
}

/* what the checks make sure of, and what they can't promise */
.checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: start; }
.checks h2 { margin-top: 16px; }
.checks .facts { margin-top: 26px; }
.limits { padding: clamp(24px, 3vw, 34px); border-radius: 24px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); }
.limits-icon { color: var(--accent); }
.limits h3 { margin-top: 12px; }
.limits p { margin-top: 12px; color: var(--ink2); }
.limits p:last-child { color: var(--ink1); font-weight: 500; }
@media (min-width: 900px) { .checks { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; } .limits { margin-top: 64px; } }

/* the books: the app's groups as shelves, the whole list behind one tap */
.books-head { max-width: 42rem; }
.books-head h2 { margin-top: 16px; }
.books-head p { margin-top: 18px; color: var(--ink2); }
.shelves { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.shelves li { padding: 20px 22px 22px; border-radius: 20px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.shelves h3 { font-size: 1.25rem; }
.shelves .count { margin-top: 2px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
.shelves .known { margin-top: 10px; font-size: .9375rem; line-height: 1.55; color: var(--ink2); }
.shelves i { font-family: var(--font-serif); font-style: italic; color: var(--ink1); }
@media (min-width: 640px) { .shelves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .shelves { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.all-books { margin-top: 20px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.all-books summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 0 22px; cursor: pointer; list-style: none; font-weight: 600; }
.all-books summary::-webkit-details-marker { display: none; }
.all-books summary svg { transition: transform .25s var(--ease); color: var(--ink2); flex: 0 0 auto; }
.all-books[open] summary svg { transform: rotate(180deg); }
.all-books-in { padding: 6px 22px 26px; columns: 1; column-gap: 40px; }
.all-books-in section { break-inside: avoid-column; padding-top: 16px; }
.all-books-in h3 { font: 600 .75rem/1.3 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.all-books-in li { padding-block: 4px; font-size: .9375rem; line-height: 1.45; }
.all-books-in li i { font-family: var(--font-serif); font-style: italic; }
.all-books-in li span { color: var(--ink3); }
.all-books-in li span::before { content: ' · '; }
/* where the texts come from, and the thanks: two short columns under the list, one on a phone */
.provenance { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 24px 48px; margin-top: 36px;
              padding-top: 28px; border-top: 1px solid var(--line); }
.provenance > div { min-width: 0; }
.provenance h3 { font: 600 1.0625rem/1.4 var(--font-ui); color: var(--ink1); margin-bottom: 8px; }
.provenance p { color: var(--ink2); max-width: 62ch; }
.provenance p + p { margin-top: 10px; }
@media (min-width: 700px) { .all-books-in { columns: 2; } }
@media (min-width: 1040px) { .all-books-in { columns: 3; } }

/* when it's wrong */
.report p { color: var(--ink2); max-width: 34em; }
.report p + p { margin-top: 14px; }
.report strong { color: var(--ink1); font-weight: 600; }
.report .arrow-link { margin-top: 22px; }

/* what fatwa bodies have said: one entry each, the date on the left */
.said-list { display: grid; gap: 0; }
.said { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: clamp(28px, 3.4vw, 40px); border-top: 1px solid var(--line); }
.said:last-child { border-bottom: 1px solid var(--line); }
.said-when { display: flex; align-items: baseline; gap: 12px; }
.said-when .small { margin: 0; }
.said-body h3 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); }
.said-body .kind { margin-top: 6px; }
.said-body .gist { margin-top: 16px; font-family: var(--font-serif); font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); line-height: 1.5; color: var(--ink1); max-width: 34em; }
.why { margin-top: 16px; display: grid; gap: 8px; max-width: 38em; }
.why-intro { margin-top: 16px; color: var(--ink2); }
.why-intro + .why { margin-top: 8px; }
.why li { position: relative; padding-left: 20px; color: var(--ink2); }
.why li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 9px; height: 1px; background: var(--accent); }
.said-body .src { margin-top: 18px; }
.said-body .src a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); padding-bottom: 2px; }
.said-body .src a:hover { border-bottom-color: var(--accent); }
.said-body .src svg { color: var(--accent); }
.checked { margin-top: 22px; max-width: 42em; }
@media (min-width: 900px) {
  .said { grid-template-columns: 12rem minmax(0, 1fr); gap: 48px; }
  .said-when { flex-direction: column; gap: 6px; padding-top: 6px; }
}
.stricter { margin-top: 30px; padding: clamp(22px, 3vw, 30px); border-radius: 24px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); }
.stricter p { margin-top: 10px; color: var(--ink2); }

/* an inner page without a label over its title */
.page-head-in > h1:first-child { margin-top: 0; }
/* Safety's opening sentence is the emergency numbers: full ink, not the grey of a page's line under its title */
.page-head .lead.urgent { color: var(--ink1); }

/* the policies, as written: read in the UI face (they are looked things up in, not read through), the sections in the
   left rail on wide screens. Safety, corrections, help and the missing page use the same column without a rail. */
.legal, .plain { max-width: 40rem; font-size: 1.0625rem; line-height: 1.68; color: var(--ink1); }
.legal > * + *, .plain > * + * { margin-top: 1em; }
.legal h2, .plain h2 { margin-top: 2.1em; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.2; scroll-margin-top: 24px; }
.legal > h2:first-child, .plain > h2:first-child { margin-top: 0; }
.legal h2 + *, .plain h2 + * { margin-top: .6em; }
.legal h3 { margin-top: 1.7em; font: 600 1.0625rem/1.4 var(--font-ui); letter-spacing: 0; }
.legal h3 + * { margin-top: .45em; }
.legal ul { display: grid; gap: .55em; }
.legal li { position: relative; padding-left: 1.3em; }
.legal li::before { content: ''; position: absolute; left: .2em; top: .74em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.legal li > ul { margin-top: .55em; }
.legal li li::before { background: transparent; box-shadow: inset 0 0 0 1px var(--accent); }
.legal b, .plain b { font-weight: 600; }
.legal i { font-style: italic; }
.legal mark { background: var(--todo); color: inherit; border-radius: 4px; padding: 0 .2em; }
.legal > p:first-child { color: var(--ink2); font-size: .9375rem; }
.plain h2 { font-size: clamp(1.375rem, 1.22rem + .62vw, 1.625rem); }
.plain .empty { padding: 20px 24px; border-radius: 20px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink2); }
.plain .answer-text { font-family: var(--font-serif); font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); line-height: 1.6; }
.plain .answer-text + p { margin-top: 2em; }
.links404 { display: flex; flex-wrap: wrap; gap: 14px 36px; }

/* help: the topics as the home page's doors */
.help-band { padding-top: clamp(20px, 3vw, 40px); }
.help-band .doors { margin-top: 0; }

/* the get page: where the app's share links land */
.get-page { position: relative; overflow: hidden; display: block; text-align: center; padding-block: clamp(48px, 8vw, 112px) clamp(80px, 10vw, 150px); }
/* the wall as behind the sign-off: a centred passage on it, at the page's own wall strength (6.9) */
.get-page .tile-band { position: absolute; left: 50%; top: 0; width: min(100%, 1040px); height: 100%; transform: translateX(-50%); pointer-events: none; }
.get-in { position: relative; }
.get-in .mark { height: 56px; width: auto; margin: 0 auto 30px; color: var(--hilm); }
.get-in h1 { max-width: 11em; margin-inline: auto; }
.get-in .lead { margin: clamp(18px, 2.2vw, 26px) auto 0; max-width: 30em; }
.get-in .notify { margin: clamp(30px, 3.4vw, 42px) auto 0; text-align: left; }
.get-in .notify-label, .get-in .notify-note, .get-in .notify-status { text-align: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
