:root {
  --paper: #f3eee4;
  --paper-2: #faf7f0;
  --ink: #2c322e;
  --soft: #5a615b;
  --pine: #3d5c54;
  --pine-deep: #243833;
  --brass: #b8954a;
  --brass-soft: #e7d3a1;
  --cream: #f6f1e7;
  --line: rgba(44, 50, 46, 0.1);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --quran: "Amiri Quran", "Noto Naskh Arabic", "Geeza Pro", "Times New Roman", serif;
  --shadow: 0 18px 40px rgba(20, 28, 24, 0.08);
  /* Samma färger som tajweed-läsaren i appen. */
  --tj-wasl: #9d998f;
  --tj-madd: #537fff;
  --tj-qalqalah: #d7141c;
  --tj-ikhfa: #9400a8;
  --tj-ghunnah: #ee7414;
  color-scheme: light;
}

/* Två språk i samma sida. Det som inte är valt döljs. */
html[lang="en"] [data-l="sv"],
html:not([lang="en"]) [data-l="en"] { display: none !important; }

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, figure { margin: 0; }

h1, h2, .brand, .board-hero b {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

h2 { text-wrap: balance; }

a { color: inherit; }

button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

::selection {
  background: var(--brass-soft);
  color: var(--pine-deep);
}

.shell {
  width: min(1120px, calc(100% - 28px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  background: white;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine);
}

/* Meny */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 238, 228, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding-top: env(safe-area-inset-top);
}

.nav.is-stuck { box-shadow: 0 1px 0 var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 1.3rem;
  color: var(--pine-deep);
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

.nav-links { display: none; }

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(61, 92, 84, 0.09);
}

.lang button {
  min-width: 40px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--paper-2);
  color: var(--pine-deep);
  box-shadow: 0 1px 3px rgba(20, 28, 24, 0.12);
}

.nav-cta {
  display: none;
  text-decoration: none;
  background: var(--pine);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 9px 16px;
}

.nav-cta:hover { background: var(--pine-deep); }

/* Hero */

.hero { padding: 4px 0 8px; }

.hero-panel {
  position: relative;
  display: grid;
  gap: 30px;
  padding: 26px 18px 0;
  border-radius: 24px;
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(184, 149, 74, 0.22), transparent 60%),
    var(--pine-deep);
  color: var(--cream);
  overflow: hidden;
}

.hero-panel .kicker { color: var(--brass-soft); }

.hero-copy { position: relative; z-index: 1; }

h1 {
  font-size: clamp(2.35rem, 10.5vw, 4.6rem);
  line-height: 0.98;
  font-weight: 620;
  color: var(--cream);
}

.lede {
  margin-top: 14px;
  max-width: 36rem;
  color: rgba(246, 241, 231, 0.82);
  font-size: 1.02rem;
}

.stores {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.store {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 9px 18px 9px 14px;
  border-radius: 16px;
  text-decoration: none;
  background: var(--cream);
  color: var(--pine-deep);
  transition: background 0.15s ease, transform 0.15s ease;
}

.store:hover { background: white; }

.store:active { transform: scale(0.985); }

.store svg { width: 28px; height: 28px; flex: none; }

.store small {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  font-weight: 500;
  line-height: 1.2;
}

.store b {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Telefonens egen butik först och tydligast. */
.is-android .stores .store-play { order: -1; }

.is-ios .stores .store-apple,
.is-android .stores .store-play {
  background: var(--brass-soft);
  box-shadow: 0 0 0 2px var(--brass) inset;
}

.is-ios .stores .store-apple:hover,
.is-android .stores .store-play:hover { background: #efdeb3; }

.fine {
  margin-top: 14px;
  color: rgba(246, 241, 231, 0.66);
  font-size: 0.92rem;
}

.fine a {
  display: inline-block;
  margin-top: 4px;
  color: var(--brass-soft);
  font-weight: 500;
  text-decoration: none;
}

.fine a:hover { text-decoration: underline; }

.stage {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  /* Telefonen sticker upp nedifrån på mobil, så den inte tar hela skärmen. */
  height: 330px;
  overflow: hidden;
}

.quran-card, .widget { display: none; }

.phone {
  width: min(272px, 82%);
  padding: 10px 10px 8px;
  border-radius: 36px 36px 0 0;
  background: linear-gradient(#3a4742, #141c19);
  box-shadow:
    0 0 0 1px rgba(246, 241, 231, 0.18),
    0 24px 50px rgba(0, 0, 0, 0.35);
}

.screen {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: 28px;
  padding: 28px 12px 12px;
  font-family: var(--sans);
}

.island {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 78px;
  height: 18px;
  border-radius: 20px;
  background: #141c19;
  transform: translateX(-50%);
}

.status {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  padding: 0 6px 8px;
}

.screen-kicker {
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a776f;
}

.screen-name {
  margin-top: 2px;
  padding: 0 6px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.screen-meta {
  margin: 2px 0 10px;
  padding: 0 6px;
  font-size: 12px;
  color: #7a776f;
}

.next {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 2px 8px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--pine);
  color: var(--paper-2);
}

.next-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

.next-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.next-count { font-size: 11px; color: rgba(250, 247, 240, 0.7); }

.next-time { text-align: right; }

.next-time b {
  display: block;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.next-time span {
  color: var(--brass);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.plist {
  list-style: none;
  margin: 0;
  padding: 0 2px;
}

.plist li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  font-size: 13px;
}

.plist b { font-weight: 600; font-variant-numeric: tabular-nums; }

.plist .dim { color: #8a877f; }

.plist .on {
  background: rgba(61, 92, 84, 0.1);
  border-radius: 10px;
  color: var(--pine-deep);
}

.dock {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 8px;
  padding: 7px 2px 6px;
  border-radius: 16px;
  background: var(--pine);
}

.dock span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(250, 247, 240, 0.62);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.dock i { font-style: normal; }

.dock svg { width: 14px; height: 14px; }

.dock .on { color: var(--brass); }

.home-bar {
  width: 96px;
  height: 4px;
  margin: 8px auto 4px;
  border-radius: 4px;
  background: rgba(246, 241, 231, 0.55);
}

/* Sektioner */

.section-head { max-width: 38rem; padding: 56px 0 20px; }

.section-head h2,
.tajweed-copy h2,
.tv-copy h2 {
  font-size: clamp(1.9rem, 7vw, 3.15rem);
  line-height: 1.05;
  color: var(--pine-deep);
}

.section-head p:last-child {
  margin-top: 12px;
  color: var(--soft);
}

.bento { display: grid; gap: 12px; }

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--pine-deep);
}

.card > p { margin-top: 8px; color: var(--soft); }

.ticks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
}

.ticks-light li { color: rgba(246, 241, 231, 0.9); }

.mini-times {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}

.mini-times div,
.bits li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.mini-times div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(61, 92, 84, 0.06);
  font-variant-numeric: tabular-nums;
}

.mini-times .on {
  background: var(--pine);
  color: var(--cream);
}

.meter {
  height: 8px;
  margin: 18px 0 14px;
  border-radius: 99px;
  background: rgba(61, 92, 84, 0.12);
}

.meter span {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pine), var(--brass));
}

.chips, .bits {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chips li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(61, 92, 84, 0.08);
  color: var(--pine-deep);
  font-size: 0.92rem;
  font-weight: 500;
}

.count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}

.count b {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 560;
  line-height: 1;
  color: var(--pine-deep);
}

.days {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.days span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(44, 50, 46, 0.05);
  color: var(--soft);
  font-size: 11px;
  font-weight: 600;
}

.days .on { background: var(--pine); color: var(--cream); }

.compass {
  position: relative;
  width: 104px;
  height: 104px;
  margin-top: 16px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 46%, rgba(61, 92, 84, 0.08) 47% 62%, transparent 63%),
    var(--paper);
}

.compass .n {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--pine);
}

.needle {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 3px;
  height: 34px;
  border-radius: 3px;
  background: linear-gradient(var(--brass), var(--pine));
  transform: translateX(-50%) rotate(32deg);
  transform-origin: bottom center;
}

.compass b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pine-deep);
  transform: translate(-50%, -50%);
}

.bits { margin-top: 16px; display: grid; gap: 10px; }

.bits li {
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.bits li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  flex: none;
}

/* Tajweed */

.tajweed { padding-top: 40px; }

.tajweed-panel {
  display: grid;
  gap: 22px;
  padding: 26px 18px;
  border-radius: 24px;
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(184, 149, 74, 0.14), transparent 65%),
    var(--paper-2);
  border: 1px solid var(--line);
}

.tajweed-copy p:not(.kicker) {
  margin-top: 12px;
  color: var(--soft);
  max-width: 36rem;
}

.tajweed-sample {
  padding: 20px 16px 16px;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.tajweed-sample figcaption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine);
}

.tj {
  font-family: var(--quran);
  color: var(--ink);
  text-align: right;
  word-spacing: 0.08em;
}

.tajweed-sample .tj {
  margin-top: 8px;
  font-size: clamp(1.55rem, 6.4vw, 2.1rem);
  line-height: 2.25;
}

.tj-wasl { color: var(--tj-wasl); }
.tj-madd { color: var(--tj-madd); }
.tj-qalqalah { color: var(--tj-qalqalah); }
.tj-ikhfa { color: var(--tj-ikhfa); }
.tj-ghunnah { color: var(--tj-ghunnah); }
.tj-end { color: var(--brass); font-size: 0.8em; }

.legend {
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.9rem;
  color: var(--soft);
}

.legend li { display: inline-flex; align-items: center; gap: 7px; }

.legend i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.tj-bg-wasl { background: var(--tj-wasl); }
.tj-bg-madd { background: var(--tj-madd); }
.tj-bg-qalqalah { background: var(--tj-qalqalah); }
.tj-bg-ikhfa { background: var(--tj-ikhfa); }
.tj-bg-ghunnah { background: var(--tj-ghunnah); }

/* Android TV */

.tv { padding-top: 40px; }

.tv-panel {
  display: grid;
  gap: 24px;
  padding: 28px 18px 18px;
  border-radius: 24px;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(184, 149, 74, 0.2), transparent 62%),
    var(--pine-deep);
  color: var(--cream);
}

.tv-panel .kicker { color: var(--brass-soft); }

.tv-copy h2 { color: var(--cream); }

.tv-copy > p:not(.kicker) {
  margin-top: 12px;
  color: rgba(246, 241, 231, 0.8);
  max-width: 36rem;
}

.tv-copy .ticks { margin-bottom: 22px; }

.store-on-dark { display: inline-flex; }

.tv-shot {
  padding: 8px;
  border-radius: 16px;
  background: #0b1210;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.tv-shot img {
  width: 100%;
  height: auto;
  border-radius: 9px;
}

/* Kom igång */

.steps { padding-bottom: 24px; }

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps-grid li {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.steps-grid span {
  display: block;
  font-family: var(--serif);
  color: var(--brass);
  font-size: 1.4rem;
}

.steps-grid h3 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--pine-deep);
}

.steps-grid p { margin-top: 6px; color: var(--soft); }

.closing {
  margin-top: 24px;
  padding: 24px 18px;
  border-radius: 24px;
  background: var(--pine-deep);
  color: var(--cream);
  text-align: center;
}

.closing > p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stores-closing { margin-top: 18px; }

/* Integritet */

.privacy { padding: 0 0 72px; }

html:not(.is-privacy) .privacy { display: none; }

html.is-privacy main {
  display: flex;
  flex-direction: column;
}

html.is-privacy #integritet { order: -1; padding-top: 28px; }

html.is-privacy .hero,
html.is-privacy .features,
html.is-privacy .tajweed,
html.is-privacy .tv,
html.is-privacy .steps { display: none; }

.privacy-back {
  display: inline-flex;
  margin: 8px 0 18px;
  color: var(--pine);
  font-weight: 600;
  text-decoration: none;
}

.privacy-back:hover { text-decoration: underline; }

.policy { max-width: 42rem; }

.policy h2 {
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  line-height: 1.02;
  color: var(--pine-deep);
}

.updated {
  margin-top: 10px;
  color: var(--soft);
  font-size: 0.92rem;
}

.policy h3 {
  margin: 1.7em 0 0.35em;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--pine-deep);
}

.policy p { margin-top: 0.7em; color: var(--ink); }

.policy a { color: var(--pine); }

/* Sidfot */

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 calc(28px + env(safe-area-inset-bottom));
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.footer p { color: var(--soft); font-size: 0.95rem; }

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: 100%;
}

.footer nav a {
  color: var(--soft);
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
}

.footer nav a:hover { color: var(--pine-deep); }

/* Hämta-knapp i botten på telefonen */

.dock-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 30;
  transform: translateY(140%);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.dock-cta.is-shown {
  transform: none;
  pointer-events: auto;
}

.dock-btn {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 12px;
  border-radius: 20px;
  background: var(--pine-deep);
  color: var(--cream);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(20, 28, 24, 0.3);
}

.is-ios .dock-ios,
.is-android .dock-android { display: flex; }

.dock-btn img { width: 40px; height: 40px; border-radius: 10px; }

.dock-btn span { flex: 1; min-width: 0; }

.dock-btn b { display: block; font-size: 1rem; line-height: 1.2; }

.dock-btn small { display: block; font-size: 0.82rem; color: rgba(246, 241, 231, 0.72); }

.dock-btn em {
  font-style: normal;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brass-soft);
  color: var(--pine-deep);
}

/* Större skärmar */

@media (min-width: 560px) {
  .stores { flex-direction: row; flex-wrap: wrap; }
  .store { flex: 0 0 auto; }
  .stores-closing { justify-content: center; }
}

@media (min-width: 720px) {
  .shell { width: min(1120px, calc(100% - 48px)); }
  .nav-inner { min-height: 70px; }
  .nav-cta { display: inline-flex; }
  .hero-panel { padding: 48px 44px 0; border-radius: 30px; }
  .stage { height: 360px; }
  .bento { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-times { grid-column: span 2; }
  .tajweed-panel, .tv-panel { padding: 40px; border-radius: 30px; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .closing { padding: 36px; border-radius: 30px; }
  .footer nav { width: auto; margin-left: auto; }
  .dock-cta { display: none; }
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
    gap: 22px;
    margin-left: 28px;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--soft);
    font-size: 0.95rem;
    font-weight: 500;
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] { color: var(--pine-deep); }

  .bento { grid-template-columns: repeat(6, 1fr); }
  .card-times { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; }
  .card-times .mini-times { margin-top: auto; padding-top: 20px; }
  .card-quran { grid-column: span 2; grid-row: span 2; }
  .card-hifz, .card-dhikr, .card-mosque,
  .card-hadith, .card-kahf, .card-qibla { grid-column: span 2; }

  .tajweed-panel { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 40px; }
  .tv-panel { grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 40px; }
}

@media (min-width: 1000px) {
  .hero-panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    padding: 56px 48px;
  }
  .stage { height: 600px; display: block; overflow: visible; }
  .phone {
    position: absolute;
    right: 8px;
    top: 10px;
    width: 290px;
    z-index: 2;
    border-radius: 36px;
  }
  .quran-card {
    display: block;
    position: absolute;
    left: 0;
    top: 56px;
    width: 196px;
    z-index: 3;
    padding: 16px 16px 14px;
    border-radius: 18px;
    background: var(--paper-2);
    color: var(--ink);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    transform: rotate(-6deg);
  }
  .qc-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pine);
  }
  .qc-title {
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 560;
    letter-spacing: -0.03em;
    color: var(--pine-deep);
  }
  .quran-card .tj {
    margin: 6px 0 2px;
    font-size: 1.3rem;
    line-height: 2;
  }
  .play {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--pine);
    font-size: 13px;
    font-weight: 600;
  }
  .play i {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent var(--pine);
  }
  .widget {
    display: block;
    position: absolute;
    left: 10px;
    bottom: 40px;
    z-index: 3;
    width: 156px;
    padding: 12px 14px;
    border-radius: 18px;
    background: var(--paper-2);
    color: var(--ink);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  }
  .widget p {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pine);
  }
  .widget strong {
    display: block;
    margin-top: 2px;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 560;
  }
  .widget b {
    font-variant-numeric: tabular-nums;
    font-size: 1.2rem;
    color: var(--pine-deep);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card { transition: transform 0.25s ease; }
  .card:hover { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .store, .dock-cta { transition: none; }
}

@media print {
  .nav, .hero, .features, .tajweed, .tv, .steps, .footer, .privacy-back, .dock-cta { display: none !important; }
  .privacy { display: block !important; padding: 0; }
  body { background: white; }
}
