.guides { padding-block: 56px; border-top: 1px solid var(--line); } .guides .grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; } .guides a.card { display: block; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; } .guides a.card h3 { font-size: 21px; margin: 8px 0 6px; } .guides a.card p { margin: 0; color: var(--muted); font-size: 15px; } .faq details { border-bottom: 1px solid var(--line); padding: 14px 0; } .faq summary { cursor: pointer; font-weight: 600; } .faq details p { margin: 10px 0 0; color: var(--muted); }
/* Layout: split hero, a widget showcase, alternating screenshot rows, then a grid of small tiles. Same materials as the app: paper, ink serif, forest and brass. */
:root {
  --paper: #F3F1E9; --sheet: #FFFDF7; --wash: #E6EEE2; --ink: #142E28; --forest: #315A48; --brass: #DABE83; --brass-ink: #8A6A33;
  --muted: #5E6B62; --line: #DCDFD3; --frame: #1B2A26;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --radius: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111917; --sheet: #18221F; --wash: #1C2925; --ink: #ECF0EA; --forest: #9CC7AE; --brass: #D9BE84; --brass-ink: #D9BE84;
    --muted: #A3B0A8; --line: #2A3631; --frame: #050A08;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
.eyebrow { font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 19px/1 var(--display); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a:not(.store) { text-decoration: none; color: var(--muted); }
.top nav a:not(.store):hover { color: var(--ink); }
@media (max-width: 720px) { .top nav a:not(.store) { display: none; } }

/* App Store button */
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 12px; padding: 10px 18px 10px 14px; line-height: 1.1; }
.store svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store small { display: block; font-size: 11px; opacity: .8; }
.store strong { display: block; font-size: 17px; font-weight: 600; }
.store.compact { padding: 8px 14px; border-radius: 10px; }
.store.compact strong { font-size: 14px; }

/* Hero */
.hero { padding-block: 56px 32px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; margin-block: 18px 20px; }
.hero h1 em { font-style: italic; color: var(--forest); }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 34ch; margin: 0 0 28px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--muted); padding: 0; list-style: none; }
.hero .facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); margin-right: 8px; vertical-align: middle; }
.phone { position: relative; border-radius: 46px; background: var(--frame); padding: 10px; box-shadow: 0 40px 80px -30px rgba(20, 46, 40, .45); max-width: 340px; margin-inline: auto; }
.phone img { border-radius: 37px; }
.hero .phone { transform: rotate(3deg); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero .phone { max-width: 280px; transform: none; }
}

/* Widgets showcase */
.widgets { padding-block: 72px; }
.widgets .head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 32px; }
.widgets h2, .rows h2, .tiles h2, .cta h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; }
.widgets .head p { margin: 0; color: var(--muted); font-size: 18px; }
.showcase { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--wash); }
.langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.langs .label { font-size: 14px; color: var(--muted); margin-right: 4px; }
.langs button { font: 500 14px/1 var(--body); color: var(--ink); background: var(--sheet); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.langs button:hover { border-color: var(--forest); }
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.widget-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.widget-list div { background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.widget-list h3 { font-size: 21px; margin-bottom: 6px; }
.widget-list p { margin: 0; color: var(--muted); font-size: 15px; }
.widget-list .where { display: block; font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--forest); margin-bottom: 12px; }
@media (max-width: 760px) { .widget-list { grid-template-columns: 1fr; } }

/* Alternating feature rows */
.rows { padding-block: 32px 72px; display: grid; gap: 88px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.row:nth-child(even) .shot { order: 2; }
.row .shot { display: flex; justify-content: center; background: var(--wash); border-radius: 28px; padding: 44px 24px 0; overflow: hidden; }
.row .shot .phone { max-width: 290px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; margin-bottom: -2px; box-shadow: none; }
.row .shot .phone img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; aspect-ratio: 1206 / 1900; object-fit: cover; object-position: top; }
.row .copy { display: grid; gap: 16px; }
.row .copy p { margin: 0; color: var(--muted); max-width: 46ch; }
.row ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 16px; }
.row li { padding-left: 22px; position: relative; }
.row li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1.5px; background: var(--brass); }
@media (max-width: 860px) {
  .rows { gap: 64px; }
  .row { grid-template-columns: 1fr; gap: 28px; }
  .row:nth-child(even) .shot { order: 0; }
}

/* Small-touches tiles */
.tiles { padding-block: 72px; border-top: 1px solid var(--line); }
.tiles h2 { margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.tile h3 { font-size: 22px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile.w2 { grid-column: span 2; } .tile.w3 { grid-column: span 3; } .tile.w4 { grid-column: span 4; }
.tile.dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tile.dark p { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.tile.dark .eyebrow { color: var(--brass); }
.langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 15px; }
.langs span { white-space: nowrap; }
.big { font: 400 56px/1 var(--display); color: var(--forest); font-variant-numeric: tabular-nums; }
.tile.dark .big { color: var(--brass); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile.w2, .tile.w3, .tile.w4 { grid-column: span 2; } .tile.half { grid-column: span 1; } }
@media (max-width: 520px) { .tile.half { grid-column: span 2; } }

/* Closing call to action */
.cta { padding-block: 24px 80px; }
.cta .box { background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta .box p { margin: 12px 0 0; color: color-mix(in srgb, var(--paper) 72%, transparent); max-width: 44ch; }
.cta .store { background: var(--paper); color: var(--ink); }
.cta .arch { position: absolute; right: -40px; bottom: -120px; width: 320px; opacity: .35; pointer-events: none; }
@media (max-width: 720px) { .cta .box { grid-template-columns: 1fr; } .cta .arch { display: none; } }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* Guide pages */
.guide { padding-block: 40px 24px; }
.guide .wrap { max-width: 860px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.guide h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin-block: 14px 18px; }
.guide h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 44px 0 12px; }
.guide h3 { font-size: 21px; margin: 26px 0 8px; }
.guide p, .guide li { color: var(--ink); }
.answer { background: var(--sheet); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 14px; padding: 16px 20px; margin: 0 0 8px; }
.note { font-size: 14px; color: var(--muted); }
table.dates { width: 100%; border-collapse: collapse; margin: 12px 0 6px; font-size: 16px; }
table.dates th, table.dates td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.dates th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.figure { margin: 24px auto; max-width: 300px; }
.dua { background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 14px 0; }
.dua h3 { margin: 0 0 10px; }
.dua .ar { font-family: "Amiri", "Noto Naskh Arabic", "Geeza Pro", serif; font-size: 26px; line-height: 1.9; text-align: right; margin: 0 0 10px; }
.dua .tr { font-style: italic; color: var(--muted); margin: 0 0 6px; }
.dua .src { font-size: 14px; color: var(--brass-ink); margin: 8px 0 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; }
.guides { padding-block: 56px; border-top: 1px solid var(--line); }
.guides .grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.guides a.card { display: block; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; }
.guides a.card h3 { font-size: 21px; margin: 8px 0 6px; }
.guides a.card p { margin: 0; color: var(--muted); font-size: 15px; }
