/* Layout: a deep green opening band carrying the app itself, then a calm reading column for the policy, with a sticky table of contents on wide screens. */
/* Layout: a light, neutral page. The app screenshots carry the colour; the page itself stays white and quiet, with a sticky table of contents for the policy on wide screens. */
:root {
  --ink: #16181a;
  --ink-soft: #5c6166;
  --paper: #ffffff;
  --paper-raised: #f7f7f5;
  --line: #e6e6e2;
  --forest: #ffffff;
  --forest-ink: #16181a;
  --forest-soft: #5c6166;
  --gold: #16181a;
  --gold-ink: #6b6f74;
  --tint: #f5f5f2;
  --panel: #f5f5f2;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Amiri", "Geeza Pro", "Noto Naskh Arabic", serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--forest); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; margin: 0; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--paper) 90%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--forest-ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.mark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.mark b { font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.01em; }
.mark span { font-family: var(--display); font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0.12em; }
.nav { display: flex; gap: 22px; font-size: 0.875rem; }
.nav a { text-decoration: none; color: var(--forest-soft); }
.nav a:hover { color: var(--forest-ink); }
@media (max-width: 720px) { .nav a:not(.keep) { display: none; } }

.hero { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); margin-top: calc(-1 * env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-block: 72px 0; }
.eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); margin-top: 18px; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--ink-soft); font-weight: 500; }
.hero .lede { margin-top: 22px; max-width: 34rem; color: var(--forest-soft); font-size: 1.0625rem; }
.arabic { font-family: var(--arabic); direction: rtl; }
.hero .arabic { margin-top: 28px; font-size: 1.5rem; color: var(--forest-soft); opacity: 0.8; }
.avail { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 72px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--panel); color: var(--forest-ink); font-size: 0.875rem; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); display: inline-block; }
.phones { position: relative; display: flex; justify-content: center; gap: 20px; align-items: flex-end; }
.phone { width: min(250px, 44vw); border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(22,24,26,0.35), 0 0 0 1px var(--line); background: var(--paper); flex: none; max-width: 100%; }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 780 / 1688; }
.phones .phone:first-child { transform: translateY(-40px); }
.phones .phone:last-child { margin-bottom: -90px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 48px 0; }
  .avail { padding-bottom: 32px; }
  .phones .phone:first-child { transform: none; }
  .phones .phone:last-child { margin-bottom: -120px; }
}

section { padding-block: 96px; }
.after-hero { padding-top: 150px; }
.section-head { display: grid; gap: 14px; max-width: 40rem; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.section-head p { color: var(--ink-soft); }

.features { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.feature { display: grid; gap: 18px; align-content: start; }
.feature .phone { width: 100%; border-radius: 22px; box-shadow: 0 18px 40px -22px rgba(22,24,26,0.25), 0 0 0 1px var(--line); }
.feature h3 { font-size: 1.375rem; }
.feature p { color: var(--ink-soft); font-size: 0.9375rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .features { grid-template-columns: minmax(0, 1fr); } .feature .phone { width: 78%; justify-self: center; } }

.why { background: var(--tint); }
.why .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.why blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.35; font-weight: 500; }
.why .sig { margin-top: 24px; font-size: 0.875rem; color: var(--ink-soft); }
.why .phone { width: min(260px, 70vw); justify-self: center; border-radius: 26px; box-shadow: 0 24px 50px -24px rgba(22,24,26,0.3), 0 0 0 1px var(--line); }
@media (max-width: 860px) { .why .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.policy .wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: grid; gap: 4px; font-size: 0.875rem; }
.toc p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); margin-bottom: 10px; font-weight: 600; }
.toc a { text-decoration: none; color: var(--ink-soft); padding: 4px 0; }
.toc a:hover { color: var(--ink); }
@media (max-width: 900px) { .policy .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; } .toc { display: none; } }

.doc { max-width: 44rem; min-width: 0; }
.doc h2 { font-size: clamp(2.25rem, 4vw, 3rem); }
.meta { margin-top: 14px; color: var(--ink-soft); font-size: 0.9375rem; }
.summary { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; }
.summary div { background: var(--paper-raised); padding: 20px 22px; }
.summary strong { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.summary span { display: block; margin-top: 4px; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 560px) { .summary { grid-template-columns: minmax(0, 1fr); } }

.doc h3 { font-size: 1.625rem; margin-top: 56px; scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 90px); }
.doc h4 { font-family: var(--body); font-size: 1rem; font-weight: 600; margin: 28px 0 0; }
.doc p, .doc ul { margin-top: 14px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-top: 8px; }
.doc li::marker { color: var(--gold-ink); }
.doc .muted { color: var(--ink-soft); }

.table { margin-top: 20px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 560px; }
th { text-align: left; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); padding: 0 16px 10px 0; }
td { padding: 14px 16px 14px 0; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.5; }
td:first-child { font-weight: 500; width: 30%; }
td:last-child { white-space: nowrap; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.ip { margin-top: 24px; padding: 28px; border-radius: 18px; background: var(--panel); color: var(--forest-ink); }
.ip h4 { margin: 0; font-family: var(--display); font-size: 1.375rem; font-weight: 600; }
.ip ul { color: var(--forest-soft); }
.ip li strong { color: var(--forest-ink); font-weight: 600; }
.ip li::marker { color: var(--gold); }

.legal { background: var(--paper-raised); }
.legal .grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.legal h3 { font-size: 1.5rem; }
.legal p { margin-top: 14px; color: var(--ink-soft); }
.legal .publisher { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 40px; font-size: 0.9375rem; }
.legal .publisher div { display: grid; gap: 2px; }
.legal .publisher span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 760px) { .legal .grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.email { font-family: var(--body); font-weight: 600; font-size: 1.0625rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.email:hover { text-decoration-color: currentColor; }
.publisher a { text-underline-offset: 3px; }
.copy { font: inherit; font-size: 0.8125rem; font-weight: 500; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.copy:hover { background: var(--tint); }

footer { background: var(--paper); border-top: 1px solid var(--line); color: var(--forest-soft); font-size: 0.875rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 40px; }
footer b { font-family: var(--display); color: var(--forest-ink); font-size: 1.25rem; font-weight: 700; }

.legal-links { background: var(--paper-raised); }
.cta { display: inline-flex; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.cta:hover { opacity: 0.88; }
.policy-page { padding-top: 64px; }
.eyebrow-muted { color: var(--gold-ink); }
.mt-14 { margin-top: 14px; }
.mt-20 { margin-top: 20px; }
.links-text { margin-top: 14px; max-width: 40rem; color: var(--ink-soft); }
