:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --green-950: #063a2e;
  --green-900: #084537;
  --green-800: #0c5140;
  --green-700: #14634d;
  --gold-500: #d3a13b;
  --gold-300: #e9ca84;
  --cream-50: #fffdf7;
  --cream-100: #f8f4e8;
  --cream-200: #efe8d6;
  --ink: #10221b;
  --muted: #5f6d67;
  --line: rgba(8, 69, 55, 0.16);
  --shadow: 0 24px 64px rgba(25, 42, 34, 0.14);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 44px;
  --content: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream-100);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 8%, rgba(233, 202, 132, 0.22), transparent 23rem),
    var(--cream-100);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--cream-50);
  color: var(--green-950);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
  color: var(--green-950);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(8, 69, 55, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  color: var(--green-950);
  text-underline-offset: 7px;
}

.site-nav a:hover { text-decoration: underline; }

.header-action { justify-self: end; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--green-900);
  box-shadow: 0 12px 30px rgba(8, 69, 55, 0.18);
  color: #fffdf8;
  font-size: 16px;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--green-800);
  box-shadow: 0 16px 36px rgba(8, 69, 55, 0.24);
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  width: min(calc(100% - 40px), var(--content));
  min-height: 730px;
  margin: 0 auto;
  padding: 72px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 630px;
  animation: rise-in 700ms both;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  color: var(--green-950);
  font-size: clamp(48px, 5.15vw, 76px);
  font-weight: 790;
  letter-spacing: -0.058em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero-copy > p {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.48;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-900);
  font-size: 16px;
  font-weight: 720;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.trust-row {
  margin: 44px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  list-style: none;
  color: var(--green-950);
  font-size: 15px;
  font-weight: 680;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-inline-end: 24px;
}

.trust-row li + li {
  padding-inline-start: 24px;
  border-inline-start: 1px solid var(--gold-300);
}

.trust-dot {
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
}

.hero-media {
  position: relative;
  min-height: 650px;
  animation: rise-in 820ms 100ms both;
}

.hero-halo {
  position: absolute;
  z-index: 0;
  inset: 6% 0 2% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 202, 132, 0.46), rgba(233, 202, 132, 0) 66%);
  filter: blur(2px);
}

.device {
  position: absolute;
  overflow: hidden;
  border: 9px solid #111713;
  border-radius: 48px;
  background: #111713;
  box-shadow: var(--shadow);
}

.device::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 50%;
  width: 28%;
  height: 19px;
  border-radius: 0 0 12px 12px;
  background: #111713;
  transform: translateX(-50%);
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-reminders {
  z-index: 1;
  width: 43%;
  aspect-ratio: 1284 / 2778;
  bottom: 18px;
  left: 2%;
  transform: rotate(-2.2deg);
}

.device-qibla {
  z-index: 2;
  width: 51%;
  aspect-ratio: 1284 / 2778;
  right: 5%;
  top: 0;
  transform: rotate(1.8deg);
}

.scan-card {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 18px;
  width: 156px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 15px 36px rgba(16, 34, 27, 0.13);
  text-align: center;
  backdrop-filter: blur(12px);
}

.scan-card img {
  width: 116px;
  height: 116px;
  margin: 0 auto 7px;
  border-radius: 9px;
}

.scan-card span {
  display: block;
  color: var(--green-950);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.25;
}

.section {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading h2,
.privacy-copy h2,
.support-copy h2 {
  margin-bottom: 18px;
  color: var(--green-950);
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-heading p,
.privacy-copy > p,
.support-copy p {
  max-width: 750px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  text-wrap: pretty;
}

.feature-band {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
  padding: 56px 68px;
  border-radius: var(--radius-lg);
  background: var(--green-900);
  color: #fffdf7;
}

.feature-band::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -110px;
  top: -210px;
  border: 1px solid rgba(233, 202, 132, 0.36);
  border-radius: 50%;
}

.feature-copy {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.feature-number {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-300);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.feature-copy p {
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.78);
  font-size: 19px;
}

.privacy-wrap {
  padding: 26px 20px 0;
}

.privacy {
  position: relative;
  width: min(100%, 1420px);
  margin: 0 auto;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(40px, 7vw, 110px);
  padding: 96px clamp(34px, 7vw, 100px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(20, 99, 77, 0.48), transparent 27rem),
    var(--green-950);
  color: #fffdf7;
}

.privacy-mark {
  align-self: center;
  justify-self: center;
  width: min(100%, 300px);
  border-radius: 24%;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.17));
}

.privacy-copy h2 { color: #fffdf7; }
.privacy-copy > p { color: rgba(255, 253, 247, 0.78); }

.privacy-list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid rgba(233, 202, 132, 0.48);
  font-size: 18px;
  font-weight: 620;
}

.privacy-list svg {
  width: 24px;
  height: 24px;
  color: var(--gold-300);
  flex: 0 0 auto;
}

.support {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.support-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(34px, 3.5vw, 50px);
}

.support-copy p { font-size: 18px; }

.policy {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 72px 0 90px;
}

.policy-intro {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.policy-intro h2 {
  margin-bottom: 0;
  color: var(--green-950);
  font-size: clamp(34px, 3.4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.policy-intro p {
  max-width: 510px;
  margin-bottom: 2px;
  color: var(--muted);
  text-align: end;
}

.policy-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 20px;
}

.policy-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 247, 0.6);
}

.policy-panel summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
  color: var(--green-950);
  font-size: 19px;
  font-weight: 740;
  list-style: none;
}

.policy-panel summary::-webkit-details-marker { display: none; }

.policy-panel summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 500;
}

.policy-panel[open] summary::after { content: "−"; }

.policy-content {
  padding: 0 26px 26px;
  color: var(--muted);
}

.policy-content h3 {
  margin: 26px 0 7px;
  color: var(--ink);
  font-size: 16px;
}

.policy-content h3:first-child { margin-top: 0; }
.policy-content p { margin-bottom: 0; }

.policy-content a {
  color: var(--green-800);
  font-weight: 680;
  text-underline-offset: 3px;
}

.policy-panel[dir="rtl"] summary,
.policy-panel[dir="rtl"] .policy-content {
  text-align: right;
}

.policy-panel[dir="rtl"] a[href^="mailto:"] {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}

.site-footer { border-top: 1px solid var(--line); }

.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: var(--green-900);
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }

  .hero {
    min-height: auto;
    padding-top: 48px;
    grid-template-columns: 1fr;
  }

  .hero-copy { max-width: 760px; }
  .hero-media { width: min(100%, 660px); min-height: 650px; margin: 0 auto; }

  .feature-band {
    grid-template-columns: 1fr;
    min-height: 650px;
  }

  .privacy { grid-template-columns: 0.55fr 1.45fr; }
}

@media (max-width: 700px) {
  .site-header,
  .hero,
  .section,
  .support,
  .policy,
  .footer-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header { padding: 18px 0; gap: 14px; }
  .brand { font-size: 17px; }
  .brand img { width: 42px; height: 42px; }
  .header-action { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 14px; }

  .hero { padding: 46px 0 76px; gap: 52px; }
  h1 { font-size: clamp(43px, 13vw, 60px); }
  .hero-copy > p { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-row { margin-top: 34px; display: grid; gap: 12px; }
  .trust-row li,
  .trust-row li + li { padding: 0; border: 0; }

  .hero-media { min-height: 490px; }
  .device { border-width: 6px; border-radius: 34px; }
  .device-reminders { width: 48%; left: 1%; bottom: 0; }
  .device-qibla { width: 56%; right: 2%; }
  .scan-card { width: 116px; padding: 8px; bottom: -18px; }
  .scan-card img { width: 88px; height: 88px; }

  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading p,
  .privacy-copy > p { font-size: 18px; }

  .feature-band {
    min-height: 820px;
    padding: 42px 30px;
    border-radius: 32px;
  }


  .privacy-wrap { padding: 12px 0 0; }
  .privacy {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 64px 26px;
    border-radius: 32px 32px 0 0;
  }

  .privacy-mark { width: 150px; justify-self: start; }
  .privacy-list li { align-items: flex-start; font-size: 16px; }

  .support {
    grid-template-columns: 1fr;
    padding: 58px 0;
  }

  .support .button { width: 100%; }
  .policy { padding: 58px 0 72px; }
  .policy-intro { align-items: flex-start; flex-direction: column; }
  .policy-intro p { text-align: start; }
  .policy-columns { grid-template-columns: 1fr; }
  .policy-panel summary { padding: 21px; }
  .policy-content { padding: 0 21px 21px; }

  .footer-inner { align-items: flex-start; flex-direction: column-reverse; }
  .footer-links { flex-wrap: wrap; }
}

.eyebrow { display: block; margin-bottom: 20px; color: var(--green-700); font-size: 13px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy > .availability { margin: 24px 0 0; font-size: 14px; line-height: 1.7; }
.feature-list { padding-inline-start: 20px; margin: 26px 0 0; color: rgba(255,253,247,.85); font-size: 16px; }
.feature-list li + li { margin-top: 12px; }
.calculated-feature { grid-template-columns: 1.2fr .8fr; gap: 48px; padding: 56px 64px; }
.schedule-preview { position: relative; z-index: 1; width: min(100%, 292px); margin: 0 auto; }
.schedule-preview img { border: 7px solid #111713; border-radius: 36px; box-shadow: var(--shadow); }
.schedule-preview figcaption { margin-top: 14px; text-align: center; color: rgba(255,253,247,.7); font-size: 12px; }
.new-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.new-feature { padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: var(--cream-50); }
.new-feature .feature-number { color: var(--green-700); }
.new-feature h3, .premium-card h3 { color: var(--green-950); font-size: clamp(27px, 2.8vw, 38px); letter-spacing: -.035em; line-height: 1.13; margin-bottom: 18px; }
.new-feature p, .watch-intro > p, .premium-card p { color: var(--muted); font-size: 18px; }
.new-feature p:last-child, .premium-card p:last-child { margin-bottom: 0; }
.new-feature .feature-note, .watch-intro > .feature-note, .premium-card .feature-note { font-size: 14px; line-height: 1.7; }
.essentials { background: var(--cream-200); }
.watch-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; padding-top: 10px; align-items: center; }
.watch-intro h2 { color: var(--green-950); font-size: clamp(38px,4vw,60px); letter-spacing: -.045em; line-height: 1.04; margin-bottom: 24px; }
.watch-highlights { padding-inline-start: 22px; margin: 28px 0; }
.watch-highlights li { margin: 12px 0; padding-inline-start: 5px; }
.watch-highlights li::marker { color: var(--green-700); }
.premium-card { background: var(--cream-50); border: 1px solid var(--line); border-radius: 28px; padding: 38px; }
.premium-card img { border-radius: 18px; margin-bottom: 28px; }
.premium-card p { font-size: 16px; }
.premium-detail { padding: 22px 0; margin: 22px 0; border-block: 1px solid var(--line); }
.premium-detail strong, .premium-detail span { display: block; }
.premium-detail strong { color: var(--green-950); font-size: 20px; }
.premium-detail span { font-size: 14px; color: var(--muted); margin-top: 6px; }
.premium-card .text-link { margin: 4px 0 24px; }
.language-strip { width: min(calc(100% - 40px), var(--content)); margin: 0 auto 72px; text-align: center; padding: 48px 24px; border-block: 1px solid var(--line); }
.language-strip h2 { color: var(--green-950); font-size: 28px; line-height: 1.2; letter-spacing: -.025em; }
.language-strip p { color: var(--muted); }
.language-strip ul { padding: 0; margin: 28px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: center; color: var(--green-800); font-weight: 650; }
@media (max-width: 1100px) { .site-nav { gap: 20px; } .brand { font-size: 18px; } }
@media (max-width: 980px) { .watch-section { gap: 36px; } .calculated-feature { padding: 44px; gap: 30px; } }
@media (max-width: 700px) {
  .calculated-feature { grid-template-columns: 1fr; min-height: auto; padding: 36px 26px; gap: 36px; }
  .new-feature-grid, .watch-section { grid-template-columns: 1fr; }
  .new-feature, .premium-card { padding: 30px 26px; }
  .watch-section { padding-top: 0; gap: 28px; }
  .language-strip { width: calc(100% - 28px); margin-bottom: 48px; padding: 36px 12px; }
  .hero-media { min-height: auto; aspect-ratio: 362 / 490; }
}
@media (max-width: 360px) { .brand { font-size: 15px; gap: 8px; } .header-action { padding: 0 12px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.header-controls { display: flex; align-items: center; justify-self: end; gap: 16px; }
.language-menu { position: relative; color: var(--green-950); }
.language-menu summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu svg { width: 20px; height: 20px; }
.language-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.language-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.language-menu nav {
  position: absolute;
  inset-inline-end: 0;
  top: 100%;
  width: max-content;
  min-width: 10rem;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream-50);
  box-shadow: var(--shadow);
}
.language-menu a { display: block; padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.language-menu a:hover, .language-menu a[aria-current="page"] { background: var(--cream-200); }
.language-strip a { text-underline-offset: 4px; }
.policy-panel[open] { grid-column: 1 / -1; }
.policy-panel:not([dir]) { direction: ltr; }
html[dir="rtl"] :is(h1,h2,h3,.button,.feature-number,.eyebrow) { letter-spacing: normal; line-height: 1.45; }
html[dir="rtl"] .hero-actions .button svg { transform: scaleX(-1); }
html[lang="ur"] body { line-height: 1.9; }
html[lang="ur"] :is(h1,h2,h3,.hero-copy > p,.feature-note) { line-height: 1.65; }
html[lang="zh-Hans"] :is(h1,h2,h3) { word-break: auto-phrase; line-height: 1.15; }
@media (max-width: 1150px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
}
@media (max-width: 600px) {
  .header-controls > .header-action { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .new-feature, .watch-intro, .premium-card { min-width: 0; overflow-wrap: anywhere; }
  .policy-intro h2 { max-width: 100%; overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  .site-header { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .language-menu summary { font-size: 14px; gap: 5px; }
}
