/* Sahib — the app's own palette: warm ivory, deep forest, gold kept for highlights. */
:root {
  --bg: #fbfaf6;
  --ivory: #f6efdc;
  --surface: #ffffff;
  --ink: #17231d;
  --muted: #5b6b63;
  --faint: #8d9a93;
  --line: rgba(23, 35, 29, 0.09);
  --forest: #1f4f3b;
  --forest-mid: #15382a;
  --forest-deep: #10291f;
  --night: #0a120f;
  --gold: #b08d3c;
  --gold-light: #d9b96a;
  --gold-pale: #f3d79b;
  --teal: #1d6e58;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --arabic: 'Amiri', 'Times New Roman', serif;
  --radius: 28px;
  --shadow: 0 24px 60px -28px rgba(16, 41, 31, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.center {
  text-align: center;
  justify-content: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow-gold {
  color: var(--gold-light);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}
.btn-gold {
  background: linear-gradient(135deg, #e9cf86, #d2ae5c 55%, #a9813a);
  color: var(--forest-mid);
  box-shadow: 0 10px 24px -12px rgba(140, 100, 30, 0.8);
}
.btn:hover {
  transform: translateY(-1px);
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.store:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store span {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
}
.store small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.72;
}
.store-dark {
  background: var(--forest-deep);
  border-color: transparent;
  box-shadow: 0 14px 30px -16px rgba(16, 41, 31, 0.9);
}
.store-dark:hover {
  background: var(--forest-mid);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(16, 41, 31, 0.82);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}
.brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(217, 185, 106, 0.5);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(246, 239, 226, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--gold-pale);
}

/* ---------- Shared textures ---------- */
.dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(155deg, var(--forest) 0%, var(--forest-mid) 50%, var(--forest-deep) 100%);
  padding: 140px 0 110px;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.glow-gold {
  width: 620px;
  height: 620px;
  right: -120px;
  top: -160px;
  background: rgba(212, 179, 106, 0.32);
}
.glow-green {
  width: 520px;
  height: 520px;
  left: -200px;
  bottom: -260px;
  background: rgba(111, 191, 149, 0.18);
}
.hero-arabic {
  position: absolute;
  left: -2%;
  bottom: -14%;
  font-family: var(--arabic);
  font-size: clamp(200px, 30vw, 420px);
  line-height: 1;
  color: rgba(243, 215, 155, 0.05);
  user-select: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.04;
  color: #fff;
}
.hero h1 em {
  color: var(--gold-pale);
}
.lead {
  margin-top: 22px;
  max-width: 520px;
  font-size: 18.5px;
  color: rgba(246, 239, 226, 0.78);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  font-size: 14px;
  color: rgba(246, 239, 226, 0.7);
}
.hero-points li::before {
  content: '✦';
  color: var(--gold-light);
  margin-right: 8px;
  font-size: 11px;
}

/* ---------- Phones ---------- */
.phone {
  margin: 0;
  position: relative;
  width: 260px;
  aspect-ratio: 591 / 1280;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a2f2c, #0b0d0c);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.08) inset,
    var(--shadow),
    0 50px 80px -40px rgba(0, 0, 0, 0.45);
  flex: none;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 38px;
}
.hero-phones {
  position: relative;
  height: 620px;
}
.hero-phones .phone {
  position: absolute;
}
.phone-front {
  width: 285px;
  left: 6%;
  top: 0;
  z-index: 2;
  animation: float 7s ease-in-out infinite;
}
.phone-back {
  width: 255px;
  right: 2%;
  top: 70px;
  transform: rotate(6deg);
  opacity: 0.92;
  animation: float 7s ease-in-out -3.5s infinite;
}
@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(251, 250, 246, 0.95);
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  font-size: 14px;
}
.float-card strong {
  display: block;
  font-size: 15px;
}
.float-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.fc-prayer {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  left: -4%;
  top: 58%;
}
.fc-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.fc-streak {
  right: -2%;
  bottom: 40px;
}
.fc-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2e9c82, #15493a);
  color: var(--gold-pale);
}

/* ---------- Verse band ---------- */
.verse {
  background: var(--ivory);
  border-bottom: 1px solid rgba(176, 141, 60, 0.25);
  padding: 64px 0;
}
.verse-inner {
  text-align: center;
}
.verse-ar {
  font-family: var(--arabic);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.8;
  color: var(--forest);
}
.verse-en {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2.4vw, 26px);
  color: var(--ink);
  margin-top: 4px;
}
.verse-ref {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* ---------- Feature sections ---------- */
.feature {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
}
.feature-grid.reverse .feature-copy {
  order: 2;
}
.feature h2,
.cards-section h2,
.ramadan h2,
.gallery-section h2,
.download h2 {
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.08;
}
.feature-copy > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  max-width: 480px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.ticks li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-size: 16px;
}
.ticks li b {
  color: var(--ink);
  font-weight: 600;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2e9c82, #15493a)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23F3D79B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.phone-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.phone-row .phone {
  width: 230px;
}
.phone-row .phone.lift {
  width: 255px;
  z-index: 2;
  margin: 0 -26px;
}
.phone-row .tilt-l {
  transform: rotate(-5deg) translateY(24px);
}
.phone-row .tilt-r {
  transform: rotate(5deg) translateY(24px);
}
.phone-row.two .phone.lift {
  margin: 0 -18px 0 0;
}

.feature-dark {
  background: linear-gradient(160deg, var(--forest-mid), var(--forest-deep) 60%, var(--night));
  color: #fff;
}
.feature-dark h2 {
  color: #fff;
}
.feature-dark h2 em {
  color: var(--gold-pale);
}
.feature-dark .feature-copy > p:not(.eyebrow) {
  color: rgba(246, 239, 226, 0.75);
}
.ticks-light li {
  color: rgba(246, 239, 226, 0.68);
}
.ticks-light li b {
  color: #fff;
}

/* ---------- Cards ---------- */
.cards-section {
  padding: 110px 0;
  background: linear-gradient(var(--bg), var(--ivory));
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.card {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -30px rgba(16, 41, 31, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -30px rgba(16, 41, 31, 0.5);
}
.card-ar {
  display: block;
  font-family: var(--arabic);
  font-size: 44px;
  line-height: 1.3;
  color: var(--gold);
  margin-bottom: 14px;
}
.card h3 {
  font-size: 26px;
  margin-bottom: 8px;
}
.card p {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Ramadan ---------- */
.ramadan {
  position: relative;
  padding: 120px 0;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(212, 179, 106, 0.22), transparent 45%),
    linear-gradient(160deg, #13261d, var(--night));
  overflow: hidden;
}
.ramadan h2 {
  color: #fff;
}
.ramadan h2 em {
  color: var(--gold-pale);
}
.ramadan .feature-copy > p:not(.eyebrow) {
  color: rgba(246, 239, 226, 0.75);
}
.ramadan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ramadan-card {
  max-width: 440px;
  justify-self: center;
  width: 100%;
  padding: 22px;
  border-radius: 32px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.rc-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(212, 179, 106, 0.4), transparent 55%),
    linear-gradient(150deg, var(--forest), var(--forest-deep));
}
.rc-ring {
  width: 70px;
  height: 70px;
  flex: none;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--forest-mid) 0 29px, transparent 30px),
    conic-gradient(var(--gold-light) 0 40%, rgba(255, 255, 255, 0.14) 40% 100%);
}
.rc-ring small {
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.7;
  font-weight: 700;
}
.rc-ring b {
  font-size: 24px;
  line-height: 1;
}
.rc-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.rc-hero strong {
  font-size: 21px;
  font-weight: 600;
}
.rc-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rc-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f1efe8;
  font-weight: 600;
  font-size: 15px;
}
.rc-list li span {
  grid-column: 2;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--muted);
}
.rc-list li i {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
}
.rc-list li.done {
  background: rgba(29, 110, 88, 0.09);
}
.rc-list li.done i {
  border: 0;
  background: var(--teal)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}
.ramadan-card blockquote {
  margin: 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--ivory);
  border: 1px solid rgba(176, 141, 60, 0.4);
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.4;
}
.ramadan-card cite {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Gallery ---------- */
.gallery-section {
  padding: 110px 0 90px;
}
.gallery {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 54px max(24px, calc((100vw - 1180px) / 2 + 24px)) 60px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar {
  display: none;
}
.gallery .phone {
  width: 240px;
  scroll-snap-align: center;
  transition: transform 0.35s ease;
}
.gallery .phone:hover {
  transform: translateY(-8px);
}

/* ---------- Privacy ---------- */
.privacy {
  padding: 30px 0 110px;
}
.privacy-card {
  position: relative;
  overflow: hidden;
  padding: 70px 56px;
  border-radius: 36px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% -10%, rgba(212, 179, 106, 0.35), transparent 55%),
    linear-gradient(160deg, var(--forest), var(--forest-deep));
  box-shadow: var(--shadow);
}
.privacy-card::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  border: 1px solid rgba(217, 185, 106, 0.28);
  pointer-events: none;
}
.privacy-mark {
  width: 96px;
  height: auto;
  margin: 0 auto 18px;
  position: relative;
}
.privacy-card h2 {
  position: relative;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.1;
  max-width: 720px;
  margin: 0 auto;
}
.privacy-card h2 em {
  color: var(--gold-pale);
}
.privacy-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
  text-align: left;
}
.privacy-grid div {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.privacy-grid b {
  display: block;
  font-size: 16px;
  color: var(--gold-pale);
  margin-bottom: 4px;
}
.privacy-grid span {
  font-size: 14.5px;
  color: rgba(246, 239, 226, 0.75);
}

/* ---------- Download ---------- */
.download {
  padding: 40px 0 120px;
}
.download-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.download-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 0 0 1.5px rgba(176, 141, 60, 0.45), var(--shadow);
  margin-bottom: 28px;
}
.download p:not(.give) {
  margin-top: 14px;
  color: var(--muted);
}
.give {
  margin-top: 40px;
  font-size: 14.5px;
  color: var(--faint);
  max-width: 520px;
}
.give a {
  color: var(--teal);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--forest-deep);
  color: rgba(246, 239, 226, 0.6);
  padding: 28px 0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer .brand {
  font-size: 20px;
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.8s ease, translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.in {
  opacity: 1;
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .phone-front,
  .phone-back {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }
  .hero-grid,
  .feature-grid,
  .ramadan-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid.reverse .feature-copy {
    order: 0;
  }
  .hero {
    padding: 120px 0 80px;
  }
  .hero-copy {
    text-align: center;
  }
  .lead {
    margin-inline: auto;
  }
  .hero-cta,
  .hero-points {
    justify-content: center;
  }
  .hero-phones {
    height: 560px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature,
  .ramadan {
    padding: 90px 0;
  }
  .feature-copy > p:not(.eyebrow) {
    max-width: none;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 16px;
  }
  .hero {
    padding: 104px 0 64px;
  }
  .hero-phones {
    height: 470px;
  }
  .phone-front {
    width: 220px;
    left: 4%;
  }
  .phone-back {
    width: 195px;
    right: 0;
    top: 60px;
  }
  .phone {
    border-radius: 36px;
    padding: 7px;
  }
  .phone img {
    border-radius: 30px;
  }
  .fc-prayer {
    left: 0;
    top: 62%;
  }
  .fc-streak {
    right: 0;
    bottom: 10px;
  }
  .float-card {
    padding: 10px 13px;
  }
  .phone-row .phone {
    width: 34%;
  }
  .phone-row .phone.lift {
    width: 40%;
    margin: 0 -5%;
  }
  .phone-row.two .phone {
    width: 46%;
  }
  .phone-row.two .phone.lift {
    width: 50%;
    margin: 0 -4% 0 0;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .gallery {
    padding: 40px 16px 50px;
    gap: 18px;
  }
  .gallery .phone {
    width: 200px;
  }
  .privacy-card {
    padding: 52px 22px 26px;
    border-radius: 28px;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  .store {
    padding: 10px 18px 10px 14px;
  }
  .store span {
    font-size: 16px;
  }
}

/* ---------- Support and privacy pages ---------- */
.doc-page .nav {
  position: sticky;
  top: 0;
}
.doc {
  padding: 72px 0 110px;
}
.doc-wrap {
  max-width: 760px;
}
.doc h1 {
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.05;
}
.doc h1 em {
  color: var(--gold);
}
.doc h2 {
  font-size: 30px;
  margin: 48px 0 10px;
}
.doc h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin: 26px 0 6px;
}
.doc p {
  color: var(--muted);
  margin-top: 10px;
}
.doc p b {
  color: var(--ink);
  font-weight: 600;
}
.doc a {
  color: var(--teal);
  font-weight: 600;
}
.doc .doc-lead {
  font-size: 19px;
  margin-top: 18px;
}
.doc .doc-meta {
  font-size: 13px;
  color: var(--faint);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 30px 0 6px;
}
.doc .contact-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 22px;
  border-radius: 22px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(150deg, var(--forest), var(--forest-deep));
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
}
.contact-card b {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.contact-card span {
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.footer a {
  color: inherit;
}
@media (max-width: 640px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .doc {
    padding: 44px 0 80px;
  }
}

/* ---------- Language switch ---------- */
.nav-end {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.lang-switch a {
  min-width: 38px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  color: rgba(246, 239, 226, 0.72);
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch a:hover {
  color: #fff;
}
.lang-switch a[aria-current] {
  background: var(--gold-pale);
  color: var(--forest-mid);
}
@media (max-width: 380px) {
  .nav-end {
    gap: 8px;
  }
  .lang-switch a {
    min-width: 32px;
    padding: 5px 8px;
  }
}

/* ---------- Download sheet (phones only, added by main.js) ---------- */
.get-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.get-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 15, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.get-sheet-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 12px 12px;
  padding: 30px 22px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
  text-align: center;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.get-sheet.open {
  pointer-events: auto;
}
.get-sheet.open .get-sheet-backdrop {
  opacity: 1;
}
.get-sheet.open .get-sheet-card {
  transform: none;
}
.get-sheet-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: grid;
  place-items: center;
  background: var(--ivory);
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.get-sheet-x svg {
  display: block;
}
.get-sheet-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 10px 24px -12px rgba(16, 41, 31, 0.6);
}
.get-sheet-card h2 {
  margin: 14px 0 4px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
}
.get-sheet-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}
.get-sheet-stores {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.get-sheet-stores .store {
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  .get-sheet-backdrop,
  .get-sheet-card {
    transition: none;
  }
}
