@charset "UTF-8";
/* ── Public landing page (/) ─────────────────────────────────────────────
   Five sections, Tarteel-style: full-screen static hero (teal, gold glow, stair pattern, product mockup),
   a scroll-snap strip of explainer clips, the promo video, a FAQ accordion
   and the footer. Self-contained: the page does not load site.css. */

.lp {
  --teal: #0f3d3e;
  --teal-2: #0b2d2e;
  --gold: #f5c451;
  --ink: #142a2b;
  --muted: #5b6b6b;
  --line: #e4e2da;
  --sand: #f7f5ef;
  --white: #fff;
  --font: 'Readex Pro', 'Segoe UI', Tahoma, sans-serif;
  --measure: 72rem;
  --bar-h: 4.25rem;

  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.8;
  overflow-x: hidden;
}
html:has(body.lp) { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html:has(body.lp) { scroll-behavior: auto; } }

:where(.lp) :is(h1, h2, h3, p, ul) { margin: 0; }
:where(.lp) ul { padding: 0; list-style: none; }
:where(.lp) a { color: inherit; }
.lp svg { flex: none; }
.lp :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.lp .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#features, #faq, #promo { scroll-margin-top: var(--bar-h); }

.lp-skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--teal-2); padding: .5rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.lp-skip:focus { top: .75rem; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; line-height: 1.2; padding: .8rem 1.6rem; border-radius: 999px;
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.lp-btn--glass { color: var(--white); border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.lp-btn--glass:hover { background: rgba(255,255,255,.22); }
.lp-btn--text { color: var(--white); text-decoration: underline; text-underline-offset: .3em; padding-inline: .5rem; }
.lp-btn--gold { background: var(--gold); color: var(--teal-2); }
.lp-btn--gold:hover { background: #ffd36a; }

/* ── Nav ───────────────────────────────────────────────────────────── */
.lp-bar {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; min-height: var(--bar-h);
  display: flex; align-items: center; gap: 1rem; padding: 0 1.25rem;
  color: var(--white); background: linear-gradient(rgba(11,45,46,.75), rgba(11,45,46,0));
}
.lp-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.lp-brand img { border-radius: 8px; }
.lp-nav { display: flex; gap: 1.5rem; margin-inline-start: auto; }
.lp-nav a { text-decoration: none; font-weight: 500; opacity: .92; }
.lp-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.lp-bar__actions { display: flex; align-items: center; gap: .5rem; }
.lp-lang { margin: 0; }
.lp-lang__btn {
  font: inherit; font-weight: 600; font-size: .85rem; line-height: 1; padding: .45rem .7rem;
  border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer;
}
.lp-burger { display: none; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.lp-burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
@media (max-width: 767px) {
  .lp-nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; gap: 0; background: var(--teal-2); padding: .5rem 1.25rem 1rem; }
  .lp-nav a { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .lp-bar.is-open .lp-nav { display: flex; }
  .lp-burger { display: flex; }
  .lp-bar__actions { margin-inline-start: auto; }
}

/* ── 1. Hero ───────────────────────────────────────────────────────── */
.lp-hero { position: relative; min-height: min(100svh, 56rem); display: grid; place-items: center; color: var(--white); background: var(--teal); overflow: hidden; isolation: isolate; }
.lp-hero__glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60rem 36rem at 22% 60%, rgba(245,196,81,.22), transparent 65%),
    radial-gradient(40rem 30rem at 85% 10%, rgba(245,196,81,.10), transparent 70%);
}
/* The logo mark's stair, tiled: a 3-step staircase (8px treads) in gold at ~6 %. */
.lp-hero__pattern {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-color: var(--gold);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M8 16H16V28H24V36H32V44H48V36H56V52H8Z'/%3E%3Cpath d='M52 16L58 22L52 28L46 22Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M8 16H16V28H24V36H32V44H48V36H56V52H8Z'/%3E%3Cpath d='M52 16L58 22L52 28L46 22Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 96px 96px; mask-size: 96px 96px;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
}
.lp-hero__layout {
  width: min(100% - 2rem, var(--measure)); display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
  padding: calc(var(--bar-h) + 2rem) 0 3rem;
}
.lp-hero__visual { margin: 0; order: 2; display: grid; place-items: center; }
.lp-hero__visual img { width: 100%; max-width: 44rem; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: lp-float 6s ease-in-out infinite; }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .lp-hero__visual img { animation: none; } }
.lp-hero__inner { order: 1; max-width: 100%; text-align: start; }
.lp-hero__title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; line-height: 1.3; display: flex; flex-wrap: wrap; gap: 0 .35em; }
.lp-rotate { position: relative; color: var(--gold); min-width: 4ch; }
.lp-rotate::after {
  content: ""; position: absolute; inset-inline: 0; bottom: .05em; height: .12em; background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: var(--origin, right); transition: transform .5s ease;
}
[dir="ltr"] .lp-rotate { --origin: left; }
.lp-rotate.is-final::after { transform: scaleX(1); }
.lp-hero__sub { margin-top: 1.25rem; font-size: clamp(1.05rem, 2.2vw, 1.35rem); opacity: .92; }
.lp-hero__actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
@media (max-width: 767px) {
  .lp-hero__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .lp-hero__inner { text-align: center; }
  .lp-hero__title, .lp-hero__actions { justify-content: center; }
  .lp-hero__visual img { max-width: 100%; }
}

.lp-find { margin: 3rem 0 0; width: min(100%, 32rem); text-align: start; }
@media (max-width: 767px) { .lp-find { margin-inline: auto; } }
.lp-find__label { display: block; font-size: .9rem; opacity: .85; margin-bottom: .4rem; }
.lp-find__frame { display: flex; align-items: center; gap: .5rem; background: var(--white); color: var(--ink); border-radius: 12px; padding: .25rem .9rem; }
.lp-find__frame svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.lp-find__input { flex: 1; border: 0; background: transparent; font: inherit; padding: .6rem 0; min-width: 0; color: inherit; }
.lp-find__input:focus { outline: none; }
.lp-find__results { margin-top: .4rem; background: var(--white); color: var(--ink); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.lp-find__item { display: block; padding: .6rem .9rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.lp-find__item:hover { background: var(--sand); }
.lp-find__item span { display: block; font-size: .85rem; color: var(--muted); }
.lp-find__none { padding: .6rem .9rem; color: var(--muted); font-size: .9rem; }
.lp-code { margin-top: .75rem; font-size: .9rem; }
.lp-code summary { cursor: pointer; opacity: .85; }
.lp-code__row { display: flex; gap: .5rem; margin-top: .5rem; }
.lp-code__row input { flex: 1; min-width: 0; font: inherit; padding: .55rem .8rem; border-radius: 10px; border: 1px solid var(--line); }

/* ── 2. Explainer clips ────────────────────────────────────────────── */
.lp-clips { background: var(--sand); padding: 4rem 0 3rem; }
.lp-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(1rem, (100% - var(--measure)) / 2) 1rem;
}
.lp-track::-webkit-scrollbar { display: none; }
.lp-clip {
  flex: 0 0 min(325px, 85vw); scroll-snap-align: start; background: var(--white); border-radius: 16px; padding: 1.25rem;
  display: flex; flex-direction: column; gap: .35rem; box-shadow: 0 2px 10px rgba(20,42,43,.06);
}
.lp-clip h3, .lp-clip h2 { font-size: 1.1rem; font-weight: 700; }
.lp-clip p { color: var(--muted); font-size: .95rem; flex: 1; }
.lp-clip video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; margin-top: .75rem; background: var(--teal); object-fit: cover; }
.lp-clip--intro { background: var(--teal); color: var(--white); justify-content: center; }
.lp-clip--intro h2 { font-size: 1.6rem; }
.lp-clip--intro p { color: var(--gold); }
.lp-track__nav { display: flex; justify-content: center; gap: .75rem; margin-top: .5rem; }
.lp-arrow { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid var(--teal); background: var(--white); color: var(--teal); cursor: pointer; display: grid; place-items: center; }
.lp-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-arrow:hover { background: var(--teal); color: var(--white); }

/* ── 3. Promo ──────────────────────────────────────────────────────── */
.lp-promo { max-width: var(--measure); margin: 0 auto; padding: 5rem 1rem; display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
.lp-promo h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1.25; }
.lp-promo em { font-style: italic; font-weight: 700; color: var(--teal); }
.lp-promo__text p { margin-top: 1rem; color: var(--muted); font-size: 1.15rem; }
.lp-promo__frame { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--teal); box-shadow: 0 20px 50px rgba(15,61,62,.25); }
.lp-promo__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lp-promo__poster { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--teal); cursor: pointer; }
.lp-promo__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-promo__poster--soon { cursor: default; }
.lp-promo__play { position: absolute; inset: 0; margin: auto; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.lp-promo__play svg { width: 2rem; height: 2rem; fill: var(--teal-2); }
.lp-promo__soon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); font-weight: 600; font-size: 1.3rem; background: rgba(15,61,62,.45); }
@media (max-width: 767px) { .lp-promo { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 3rem; } }

/* ── 4. FAQ ────────────────────────────────────────────────────────── */
.lp-faq { max-width: var(--measure); margin: 0 auto; padding: 2rem 1rem 5rem; display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; }
.lp-faq h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.2; }
.lp-faq__item { border-bottom: 1px solid var(--line); }
.lp-faq__item summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after { content: "+"; color: var(--teal); font-size: 1.5rem; line-height: 1; transition: transform .25s; }
.lp-faq__item[open] summary::after { transform: rotate(45deg); }
.lp-faq__item p { padding-bottom: 1.1rem; color: var(--muted); }
@media (max-width: 767px) { .lp-faq { grid-template-columns: 1fr; gap: 1rem; } }

/* ── 5. Footer ─────────────────────────────────────────────────────── */
.lp-footer { background: var(--sand); border-top: 1px solid var(--line); }
.lp-footer__grid { max-width: var(--measure); margin: 0 auto; padding: 3rem 1rem 2rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.lp-footer__brand .lp-brand { color: var(--teal); }
.lp-footer__hadith { margin-top: .75rem; color: var(--muted); font-size: .9rem; }
.lp-social { display: flex; gap: .75rem; margin-top: 1rem; }
.lp-social a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--white); color: var(--teal); border: 1px solid var(--line); }
.lp-social svg { width: 18px; height: 18px; fill: currentColor; }
.lp-footer__head { font-size: .95rem; font-weight: 700; color: var(--teal); margin-bottom: .6rem; }
.lp-footer__list li { padding: .25rem 0; }
.lp-footer__list a { text-decoration: none; color: var(--muted); }
.lp-footer__list a:hover { color: var(--teal); text-decoration: underline; }
.lp-footer__base { max-width: var(--measure); margin: 0 auto; padding: 1rem 1rem 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); font-size: .9rem; }
.lp-footer__admin { text-decoration: none; }
.lp-footer__base .lp-lang__btn { color: var(--teal); }
@media (max-width: 767px) { .lp-footer__grid { grid-template-columns: 1fr; } }
