/* ─────────────────────────────────────────────
   Misbah — marketing site
   Manuscript / brass / paper aesthetic
   ───────────────────────────────────────────── */

:root {
  /* brand */
  --gold:        #e3a53e;
  --gold-soft:   #f0bd55;
  --gold-deep:   #b8852e;
  --cream:       #f1ead7;
  --cream-2:     #ebe1c5;
  --cream-3:     #e2d4ad;
  --teal:        #5f7e78;
  --teal-deep:   #4b6862;
  --teal-darker: #3a534f;
  --sand:        #d4be83;
  --mint:        #b8d6d0;
  --ink:         #5f7e78;
  --ink-soft:    #524a3a;
  --ink-quiet:   #837960;
  --line:        #cfc3a1;

  /* shadows */
  --sh-soft:  0 1px 2px rgba(31,29,23,.06), 0 6px 18px rgba(31,29,23,.06);
  --sh-card:  0 2px 4px rgba(31,29,23,.05), 0 16px 40px rgba(31,29,23,.10);
  --sh-phone: 0 6px 14px rgba(31,29,23,.10), 0 30px 60px rgba(31,29,23,.18);

  /* radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* type */
  --f-naskh: 'Noto Naskh Arabic', 'Amiri', 'Times New Roman', serif;
  --f-display: 'Reem Kufi', 'Noto Naskh Arabic', serif;
  --f-amiri: 'Amiri', 'Noto Naskh Arabic', serif;
  --f-sans: 'Inter', -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-naskh);
  font-weight: 500;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0s !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; font-family: inherit; }

/* ─────────────────────────────────────────────
   ornamental layers
   ───────────────────────────────────────────── */
.paper-grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(rgba(184,133,46,.05) 1px, transparent 1px),
    radial-gradient(rgba(184,133,46,.04) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 1px;
  opacity: .55;
}
.gold-vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(227,165,62,.10), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(95,126,120,.08), transparent 70%);
}

main, header, section, footer { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────
   nav
   ───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 32px;
  background: rgba(241,234,215,.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(184,133,46,.18);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700;
  font-size: 22px; color: var(--ink);
  transition: opacity .2s ease;
}
.brand:hover { opacity: .8; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { letter-spacing: .02em; }

.nav__links {
  display: flex; gap: 28px;
  margin-inline-start: auto;
  font-family: var(--f-naskh); font-weight: 500; font-size: 16px;
  color: var(--ink-soft);
}
.nav__links a {
  position: relative;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--teal-deep); }
.nav__links a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -6px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--ink); color: var(--cream);
  border-radius: var(--r-pill);
  font-family: var(--f-sans); font-weight: 600; font-size: 14px;
  transition: background .2s ease, transform .2s ease;
}
.nav__cta:hover { background: var(--teal-deep); }

@media (max-width: 760px) {
  .nav { padding: 12px 18px; gap: 12px; }
  .nav__links { display: none; }
}

/* ─────────────────────────────────────────────
   hero
   ───────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 64px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px 80px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(95,126,120,.10);
  border: 1px solid rgba(95,126,120,.20);
  border-radius: var(--r-pill);
  font-family: var(--f-naskh); font-weight: 600;
  font-size: 13px; color: var(--teal-deep);
  letter-spacing: .02em;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(227,165,62,.2);
}

.display {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 22px 0 22px;
  color: var(--ink);
}
.ink-gold {
  background: linear-gradient(180deg, var(--gold-soft) 20%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  position: relative;
}
.ink-gold::after {
  content: '';
  position: absolute; inset-inline: 6%; bottom: 4px;
  height: 8px;
  background: radial-gradient(ellipse, rgba(227,165,62,.25), transparent 70%);
  filter: blur(4px);
}

.lede {
  font-family: var(--f-naskh);
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 32px;
}

.cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--f-naskh); font-weight: 600; font-size: 16px;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--ink); color: var(--cream);
}
.btn--primary:hover { background: var(--teal-deep); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: rgba(31,29,23,.18);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-deep); background: rgba(95,126,120,.06); }
.btn--lg { padding: 16px 30px; font-size: 17px; }

.hero__pills {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  font-family: var(--f-naskh); font-size: 14px;
  color: var(--ink-quiet);
}
.hero__pills li {
  display: inline-flex; align-items: center; gap: 6px;
}
.hero__pills svg { color: var(--teal); }

/* hero device */
.hero__device {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 620px;
}
.orbit-dot {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.orbit-dot--1 { width: 220px; height: 220px; top: 0; right: -20px; background: radial-gradient(circle, rgba(227,165,62,.18), transparent 70%); }
.orbit-dot--2 { width: 280px; height: 280px; bottom: 20px; left: -40px; background: radial-gradient(circle, rgba(95,126,120,.16), transparent 70%); }
.orbit-dot--3 { width: 100px; height: 100px; top: 40%; left: 10%; background: radial-gradient(circle, rgba(184,214,208,.35), transparent 70%); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 60px 22px 40px; gap: 40px; }
  .hero__device { min-height: 540px; }
}

/* ─────────────────────────────────────────────
   phone mock
   ───────────────────────────────────────────── */
.phone {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  background: #0e0e0e;
  padding: 10px;
  box-shadow: var(--sh-phone), inset 0 0 0 2px rgba(255,255,255,.06);
  overflow: hidden;
  z-index: 2;
}
.phone--lg { width: 320px; }
.phone__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #0e0e0e; border-radius: 14px;
  z-index: 3;
}
.phone__shot {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 32px;
  background: var(--cream);
}
.phone__placeholder {
  position: absolute; inset: 10px;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  border-radius: 32px;
  color: var(--ink-quiet);
  text-align: center; padding: 24px;
  font-family: var(--f-naskh);
}
.phone__placeholder span { font-weight: 600; color: var(--teal-deep); font-size: 15px; }
.phone__placeholder code {
  font-family: var(--f-sans); font-size: 11px;
  color: var(--ink-quiet);
  background: rgba(255,255,255,.6);
  padding: 4px 8px; border-radius: 6px;
  direction: ltr;
}
.phone__shot[src=""],
.phone__shot:not([src]) { display: none; }
.phone__shot[src=""] + .phone__placeholder,
.phone--empty .phone__placeholder { display: flex; }

/* show placeholder if image fails */
.phone__shot { background: var(--cream); }

/* ─────────────────────────────────────────────
   promise band
   ───────────────────────────────────────────── */
.band {
  background: linear-gradient(180deg, transparent, rgba(95,126,120,.04));
  border-block: 1px solid rgba(184,133,46,.18);
  padding: 36px 24px;
  margin: 24px 0 0;
}
.band__inner {
  max-width: 1100px; margin: 0 auto;
}
.band__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 32px;
}
.band__cell {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 110px;
}
.num {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--teal-deep);
  line-height: 1;
}
.cap {
  font-family: var(--f-naskh); font-size: 13px;
  color: var(--ink-quiet); letter-spacing: .02em;
}
.band__div {
  width: 1px; height: 36px; background: var(--line); opacity: .55;
}

@media (max-width: 640px) {
  .band__div { display: none; }
  .band__row { gap: 28px 20px; }
}

/* ─────────────────────────────────────────────
   section heads
   ───────────────────────────────────────────── */
.section-head { margin: 0 0 56px; max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-eyebrow {
  font-family: var(--f-naskh); font-weight: 600; font-size: 13px;
  color: var(--gold-deep); letter-spacing: .12em; text-transform: uppercase;
  display: inline-block; padding-bottom: 12px;
  position: relative;
}
.section-eyebrow::after {
  content: '·'; margin-inline-start: 8px; color: var(--gold);
}
.section-eyebrow--cream { color: var(--gold-soft); }
.section-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.2; letter-spacing: -0.005em;
  margin: 0 0 16px;
}
.section-lede {
  font-family: var(--f-naskh); font-size: 17px;
  color: var(--ink-soft); line-height: 1.85; margin: 0;
}

/* ─────────────────────────────────────────────
   features
   ───────────────────────────────────────────── */
.features {
  max-width: 1240px; margin: 0 auto;
  padding: 110px 32px 80px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(184,133,46,.18);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(227,165,62,.45);
  background: rgba(255,255,255,.78);
  box-shadow: var(--sh-card);
}
.feature--lg {
  grid-column: span 2;
  background: linear-gradient(160deg, rgba(95,126,120,.08), rgba(184,214,208,.06));
}
.feature--quiet {
  background: linear-gradient(160deg, rgba(227,165,62,.10), rgba(212,190,131,.06));
  border-color: rgba(227,165,62,.30);
}
.feature__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: rgba(95,126,120,.14);
  color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature__icon--gold {
  background: rgba(227,165,62,.18);
  color: var(--gold-deep);
}
.feature h3 {
  font-family: var(--f-display); font-weight: 700; font-size: 22px;
  margin: 0 0 8px; line-height: 1.3;
}
.feature p {
  font-family: var(--f-naskh); font-size: 15.5px; line-height: 1.85;
  color: var(--ink-soft); margin: 0;
}
.chip-row {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chip-row li {
  font-family: var(--f-naskh); font-size: 12.5px; font-weight: 500;
  padding: 4px 11px; border-radius: var(--r-pill);
  background: rgba(95,126,120,.12); color: var(--teal-deep);
}

@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature--lg { grid-column: span 2; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature--lg { grid-column: span 1; }
  .features { padding: 70px 22px 40px; }
}

/* ─────────────────────────────────────────────
   screens gallery
   ───────────────────────────────────────────── */
.screens {
  max-width: 1240px; margin: 0 auto;
  padding: 80px 32px 100px;
}
.screens-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: end;
}
.screens__item {
  margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center;
}
.screens__item--raised { transform: translateY(-30px); }
.screens__item .phone { width: 250px; }
.screens__item--raised .phone { width: 270px; }
.screens__item figcaption {
  display: flex; flex-direction: column; gap: 4px;
  max-width: 260px;
}
.screens__item strong {
  font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--ink);
}
.screens__item span {
  font-family: var(--f-naskh); font-size: 14px; color: var(--ink-quiet); line-height: 1.7;
}

@media (max-width: 960px) {
  .screens-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .screens__item .phone { width: 200px; }
  .screens__item--raised .phone { width: 215px; }
}
@media (max-width: 700px) {
  .screens-row { grid-template-columns: 1fr; gap: 50px; }
  .screens__item--raised { transform: none; }
  .screens__item .phone, .screens__item--raised .phone { width: 240px; }
}

/* ─────────────────────────────────────────────
   privacy
   ───────────────────────────────────────────── */
.privacy {
  margin: 0; padding: 110px 32px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(227,165,62,.12), transparent 70%),
    linear-gradient(180deg, var(--teal-darker), #2a3d3a);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.privacy::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(227,165,62,.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent 70%);
}
.privacy__inner {
  position: relative;
  max-width: 920px; margin: 0 auto;
  text-align: center;
}
.privacy__seal {
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.3));
}
.privacy__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.2; margin: 0 0 18px;
  color: var(--cream);
}
.privacy__lede {
  font-family: var(--f-naskh); font-size: 18px;
  line-height: 1.95; color: rgba(241,234,215,.82);
  max-width: 60ch; margin: 0 auto 60px;
}
.privacy__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: start;
  margin: 0 auto 50px;
  max-width: 720px;
}
.vow {
  background: rgba(241,234,215,.05);
  border: 1px solid rgba(241,234,215,.10);
  border-radius: var(--r-md);
  padding: 22px 24px;
  transition: background .25s ease, border-color .25s ease;
}
.vow:hover {
  background: rgba(241,234,215,.08);
  border-color: rgba(227,165,62,.35);
}
.vow svg { color: var(--gold-soft); margin-bottom: 10px; }
.vow h4 {
  font-family: var(--f-display); font-weight: 700; font-size: 17px;
  margin: 0 0 6px; color: var(--cream);
}
.vow p {
  font-family: var(--f-naskh); font-size: 14.5px; line-height: 1.75;
  color: rgba(241,234,215,.72); margin: 0;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-naskh); font-weight: 600; font-size: 16px;
  color: var(--gold-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.link-arrow:hover { border-color: var(--gold-soft); color: var(--gold); }

@media (max-width: 640px) {
  .privacy { padding: 80px 22px; }
  .privacy__grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   download
   ───────────────────────────────────────────── */
.download {
  max-width: 1240px; margin: 0 auto;
  padding: 110px 32px 80px;
}
.download__card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  padding: 60px 60px;
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(227,165,62,.18), transparent 60%),
    linear-gradient(160deg, var(--cream-2), var(--cream));
  border: 1px solid rgba(184,133,46,.30);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  position: relative;
  overflow: hidden;
}
.download__card::before {
  content: ''; position: absolute;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(95,126,120,.20), transparent 70%);
  bottom: -80px; left: -80px;
  pointer-events: none;
}
.download__copy h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.25; margin: 12px 0 14px;
}
.download__copy p {
  font-family: var(--f-naskh); font-size: 17px; color: var(--ink-soft);
  margin: 0 0 24px;
}
.meta-list {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px;
  max-width: 480px;
}
.meta-list li {
  display: flex; align-items: baseline; gap: 10px;
  padding-block: 6px;
  border-bottom: 1px dashed rgba(184,133,46,.30);
}
.meta__k { font-family: var(--f-naskh); font-size: 13px; color: var(--ink-quiet); }
.meta__v {
  font-family: var(--f-sans); font-size: 13.5px; font-weight: 600;
  color: var(--ink); margin-inline-start: auto;
}
.download__seal img {
  width: 180px; height: 180px;
  filter: drop-shadow(0 12px 28px rgba(31,29,23,.15));
}

@media (max-width: 860px) {
  .download__card { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; text-align: center; }
  .download__seal img { width: 130px; height: 130px; margin: 0 auto; }
  .meta-list { margin-inline: auto; }
  .cta-row { justify-content: center; }
}

/* ─────────────────────────────────────────────
   footer
   ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(184,133,46,.18);
  padding: 50px 32px 40px;
  background: rgba(241,234,215,.6);
}
.footer__inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 40px; height: 40px; }
.footer__brand strong {
  font-family: var(--f-display); font-weight: 700; font-size: 17px;
  display: block;
}
.footer__brand span {
  font-family: var(--f-naskh); font-size: 13px; color: var(--ink-quiet);
}
.footer__nav {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  font-family: var(--f-naskh); font-size: 14px; color: var(--ink-soft);
}
.footer__nav a { transition: color .2s ease; }
.footer__nav a:hover { color: var(--teal-deep); }
.footer__legal {
  font-family: var(--f-naskh); font-size: 13px; color: var(--ink-quiet);
  margin: 0; text-align: end;
}

@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .footer__legal { text-align: center; }
}

/* ─────────────────────────────────────────────
   subtle entrance animation
   ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────────
   active nav state (inner pages)
   ───────────────────────────────────────────── */
.nav__links a.is-active {
  color: var(--teal-deep);
  font-weight: 600;
}
.nav__links a.is-active::after {
  transform: scaleX(1);
}

/* ─────────────────────────────────────────────
   page hero (inner pages)
   ───────────────────────────────────────────── */
.page-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px 40px;
}
.page-hero__inner {
  max-width: 760px;
}
.crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-naskh); font-size: 13.5px;
  color: var(--ink-quiet);
  margin-bottom: 22px;
}
.crumbs a {
  transition: color .2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.crumbs a:hover { color: var(--teal-deep); border-color: rgba(95,126,120,.4); }
.crumbs svg { color: var(--ink-quiet); transform: scaleX(-1); }
.crumbs span { color: var(--ink); font-weight: 600; }

.page-hero__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.1; letter-spacing: -0.01em;
  margin: 18px 0 18px;
}
.page-hero__lede {
  font-family: var(--f-naskh); font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.85; color: var(--ink-soft);
  max-width: 60ch; margin: 0 0 14px;
}
.page-hero__lede strong { color: var(--teal-deep); font-weight: 700; }
.page-hero__meta {
  font-family: var(--f-sans); font-size: 13px;
  color: var(--ink-quiet);
  margin: 18px 0 0;
}

@media (max-width: 700px) {
  .page-hero { padding: 50px 22px 24px; }
}

/* ─────────────────────────────────────────────
   doc layout (privacy)
   ───────────────────────────────────────────── */
.doc {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 32px 110px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}

.toc {
  position: sticky; top: 90px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(184,133,46,.18);
  border-radius: var(--r-md);
  padding: 22px 22px;
}
.toc__label {
  display: block;
  font-family: var(--f-naskh); font-weight: 600; font-size: 12.5px;
  color: var(--gold-deep); letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.toc ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.toc a {
  display: block;
  font-family: var(--f-naskh); font-size: 14px;
  color: var(--ink-soft);
  padding: 6px 8px;
  border-radius: 6px;
  transition: background .2s ease, color .2s ease;
}
.toc a:hover {
  color: var(--teal-deep);
  background: rgba(95,126,120,.08);
}

.prose section {
  scroll-margin-top: 100px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(184,133,46,.18);
}
.prose section:last-child { border-bottom: 0; }
.prose h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.3; margin: 0 0 16px;
  color: var(--ink);
}
.prose p {
  font-family: var(--f-naskh); font-size: 16.5px; line-height: 1.95;
  color: var(--ink-soft); margin: 0 0 14px;
}
.prose strong { color: var(--ink); font-weight: 700; }
.prose code {
  font-family: 'SF Mono', Menlo, monospace; font-size: 13px;
  background: rgba(95,126,120,.10);
  color: var(--teal-darker);
  padding: 2px 7px; border-radius: 5px;
  direction: ltr; display: inline-block;
}
.prose a {
  color: var(--teal-deep); border-bottom: 1px solid rgba(95,126,120,.4);
  transition: border-color .2s ease, color .2s ease;
}
.prose a:hover { color: var(--gold-deep); border-color: var(--gold); }

.check-list, .x-list {
  list-style: none; padding: 0; margin: 14px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.check-list li, .x-list li {
  position: relative; padding-inline-start: 28px;
  font-family: var(--f-naskh); font-size: 16px; line-height: 1.8;
  color: var(--ink-soft);
}
.check-list li::before {
  content: ''; position: absolute; right: 0; top: .55em;
  width: 16px; height: 16px;
  background: var(--teal-deep);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5L20 7"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5L20 7"/></svg>') center/contain no-repeat;
}
.x-list li::before {
  content: ''; position: absolute; right: 0; top: .55em;
  width: 16px; height: 16px;
  background: #b45959;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M6 6l12 12M18 6L6 18"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M6 6l12 12M18 6L6 18"/></svg>') center/contain no-repeat;
}

.kv-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0;
}
.kv-grid > div {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(184,133,46,.18);
  border-radius: var(--r-md);
}
.kv-grid strong {
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  color: var(--ink);
}
.kv-grid span {
  font-family: var(--f-naskh); font-size: 14px; color: var(--ink-quiet);
  line-height: 1.7;
}

.callout {
  background: rgba(227,165,62,.10);
  border: 1px solid rgba(227,165,62,.35);
  border-inline-start: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-family: var(--f-naskh); font-size: 15.5px; color: var(--ink);
  margin: 18px 0;
}

.perm-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 16px;
}
.perm-list > div {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(184,133,46,.18);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.perm-list h4 {
  font-family: var(--f-display); font-weight: 700; font-size: 16px;
  margin: 0 0 8px; color: var(--teal-deep);
}
.perm-list p {
  font-family: var(--f-naskh); font-size: 14.5px; color: var(--ink-soft);
  line-height: 1.75; margin: 0;
}

.contact-cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 16px;
}
.contact-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 22px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(184,133,46,.18);
  border-radius: var(--r-md);
  transition: border-color .25s ease, background .25s ease, transform .2s ease;
}
.contact-card:hover {
  border-color: rgba(227,165,62,.45);
  background: rgba(255,255,255,.78);
  transform: translateY(-2px);
}
.contact-card__k {
  font-family: var(--f-naskh); font-size: 13px; color: var(--ink-quiet);
}
.contact-card__v {
  font-family: var(--f-display); font-weight: 700; font-size: 17px;
  color: var(--teal-deep);
}

@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: 24px; padding: 20px 22px 80px; }
  .toc { position: static; }
  .perm-list, .kv-grid, .contact-cards { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   contact channels
   ───────────────────────────────────────────── */
.channels {
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 32px 40px;
}
.channel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.channel {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(184,133,46,.18);
  border-radius: var(--r-lg);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.channel:hover {
  transform: translateY(-3px);
  border-color: rgba(227,165,62,.45);
  background: rgba(255,255,255,.78);
  box-shadow: var(--sh-card);
}
.channel__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.channel__icon--teal { background: rgba(95,126,120,.14); color: var(--teal-deep); }
.channel__icon--gold { background: rgba(227,165,62,.18); color: var(--gold-deep); }
.channel__icon--mint { background: rgba(184,214,208,.40); color: var(--teal-darker); }
.channel h3 {
  font-family: var(--f-display); font-weight: 700; font-size: 22px;
  margin: 0; line-height: 1.3;
}
.channel p {
  font-family: var(--f-naskh); font-size: 15px; line-height: 1.8;
  color: var(--ink-soft); margin: 0;
}
.channel__cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
  font-family: var(--f-naskh); font-weight: 600; font-size: 14.5px;
  color: var(--teal-deep);
}
.channel__cta svg { transform: scaleX(-1); transition: transform .2s ease; }
.channel:hover .channel__cta svg { transform: scaleX(-1) translateX(-3px); }

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

/* ─────────────────────────────────────────────
   quick form
   ───────────────────────────────────────────── */
.quick-form {
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 32px;
}
.quick-form__inner {
  max-width: 820px; margin: 0 auto;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(227,165,62,.14), transparent 60%),
    linear-gradient(160deg, var(--cream-2), var(--cream));
  border: 1px solid rgba(184,133,46,.30);
  border-radius: var(--r-xl);
  padding: 50px 50px;
  box-shadow: var(--sh-card);
}
.msg-form { display: flex; flex-direction: column; gap: 18px; }
.msg-form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field span {
  font-family: var(--f-naskh); font-weight: 600; font-size: 14px;
  color: var(--ink);
}
.field span em {
  font-family: var(--f-naskh); font-weight: 400; font-style: normal;
  color: var(--ink-quiet); font-size: 13px;
}
.field input,
.field select,
.field textarea {
  font-family: var(--f-naskh); font-size: 16px;
  color: var(--ink);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(184,133,46,.30);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  width: 100%;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227,165,62,.18);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23837960" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>'),
    rgba(255,255,255,.7);
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 18px 18px;
  padding-inline-start: 40px;
}
.msg-form__actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 6px;
}
.msg-form__hint {
  font-family: var(--f-naskh); font-size: 13.5px; color: var(--ink-quiet);
}

@media (max-width: 700px) {
  .quick-form__inner { padding: 32px 22px; }
  .msg-form__row { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────── */
.faq {
  max-width: 920px;
  margin: 0 auto;
  padding: 60px 32px;
}
.faq-list {
  display: flex; flex-direction: column; gap: 10px;
}
.faq-list details {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(184,133,46,.18);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.faq-list details[open] {
  background: rgba(255,255,255,.78);
  border-color: rgba(227,165,62,.40);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px;
  font-family: var(--f-display); font-weight: 700; font-size: 17px;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--teal-deep); }
.faq__icon {
  color: var(--ink-quiet);
  transition: transform .25s ease, color .25s ease;
  flex-shrink: 0;
}
.faq-list details[open] .faq__icon {
  transform: rotate(180deg);
  color: var(--gold-deep);
}
.faq-list details p {
  font-family: var(--f-naskh); font-size: 15.5px; line-height: 1.85;
  color: var(--ink-soft);
  margin: 0; padding: 0 22px 22px;
}
.faq-list details p a {
  color: var(--teal-deep);
  border-bottom: 1px solid rgba(95,126,120,.4);
}
.faq-list details p a:hover { color: var(--gold-deep); border-color: var(--gold); }

/* ─────────────────────────────────────────────
   closing card (contact page)
   ───────────────────────────────────────────── */
.closing {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 32px 110px;
}
.closing__card {
  text-align: center;
  padding: 60px 32px;
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(227,165,62,.18), transparent 70%),
    linear-gradient(160deg, var(--cream-2), var(--cream));
  border: 1px solid rgba(184,133,46,.30);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
}
.closing__seal img {
  width: 90px; height: 90px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 8px 18px rgba(31,29,23,.15));
}
.closing h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 10px;
}
.closing p {
  font-family: var(--f-naskh); font-size: 17px; color: var(--ink-soft);
  margin: 0;
}
