/* =====================================================================
   Miftah — Front page ("Caption", second cut)
   A photograph, a caption, and the product itself on a screen. Six cuts:
   photo / black / canvas / canvas / photo / black. One family, hierarchy
   by size. Every class is lp- prefixed; product components (.btn,
   .brand, .lang-switch, .avatar, .switch, .badge) are used as they are
   and only ever restyled under an .lp- ancestor.
   ===================================================================== */

:root {
  --lp-fs-display: clamp(2.5rem, 1rem + 3.5vw, 4.25rem);
  --lp-fs-score:   clamp(6rem, 3rem + 18vw, 17.5rem);
  --lp-fs-h2:      clamp(1.875rem, 1.2rem + 2.6vw, 3.5rem);
  --lp-fs-h3:      clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --lp-fs-price:   clamp(2.5rem, 2rem + 2vw, 4rem);
  --lp-fs-lede:    clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  --lp-section:    clamp(64px, 4vw + 32px, 112px);
  --lp-accent-ink: var(--accent-deep);
  --lp-ease-out:   cubic-bezier(.16, 1, .3, 1);
  --lp-ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --lp-nav-h: 64px;
  --lp-bezel: #141A17;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --lp-accent-ink: var(--accent); --lp-bezel: #1E2622; }
}
:root[data-theme="dark"] { --lp-accent-ink: var(--accent); --lp-bezel: #1E2622; }

#site { background: var(--canvas); color: var(--ink); }

/* --- Primitives ------------------------------------------------------- */
.lp-shell { max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.lp-section { padding-block: var(--lp-section); }
#how, #product, #pricing { scroll-margin-top: 88px; }
.lp-only-touch { display: none; }
@media (hover: none) { .lp-only-hover { display: none; } .lp-only-touch { display: block; } }
.lp-caption { font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--ink-2); }
.lp-display {
  font-size: var(--lp-fs-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
  max-width: 15em;
  min-height: 2lh;
}
.lp-display .lp-line { display: block; }
.lp-accent { font-style: italic; font-weight: 300; }
.lp-light { font-weight: 300; color: var(--lp-accent-ink); }
.lp-h2 {
  font-size: var(--lp-fs-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  max-width: 18ch;
}
.lp-lede { font-size: var(--lp-fs-lede); line-height: 1.5; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.lp-credit { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .62); }
.lp-footnote { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .55); max-width: 72ch; }
.lp-link {
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-underline-offset 150ms var(--ease);
}
.lp-link:hover { text-underline-offset: 6px; }
.lp-btn-white { height: 46px; padding: 0 20px; background: #FFFFFF; border-color: #FFFFFF; color: #000000; font-size: 15px; font-weight: 600; }
.lp-btn-white:hover { background: #E3F4EB; border-color: #E3F4EB; color: #000000; }
.lp-btn-white:focus-visible { outline-color: #FFFFFF; }
.lp-btn-lg { height: 46px; padding: 0 20px; font-size: 15px; }
.lp-key { display: inline-grid; place-items: center; }
.lp-key svg { transition: transform 220ms var(--lp-ease-out); }
.btn:hover .lp-key svg, .btn:focus-visible .lp-key svg { transform: rotate(90deg); }
.lp-glyph { font-weight: 700; font-style: normal; }
.lp-tone-strong .lp-glyph { color: var(--accent); }
.lp-tone-partial .lp-glyph { color: var(--warn-ink); }
.lp-tone-missing .lp-glyph { color: var(--crit-ink); }
.lp-tone-na .lp-glyph { color: var(--ink-3); }
#site .num { font-family: var(--font); font-variant-numeric: tabular-nums lining-nums; }

/* The screen: a browser window around a real page of the product */
.lp-frame {
  position: relative;
  margin: 0;
  border-radius: 14px;
  background: var(--lp-bezel);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 70px -28px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.lp-frame__bar { display: flex; align-items: center; gap: 14px; height: 36px; padding-inline: 14px; }
.lp-frame__dots { display: inline-flex; gap: 6px; }
.lp-frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.lp-frame__url {
  flex: 1;
  max-width: 320px;
  margin-inline: auto;
  height: 22px;
  padding-inline: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  direction: ltr;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lp-frame__view { position: relative; display: grid; background: var(--canvas); }
.lp-frame__view img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }

/* --- Nav --------------------------------------------------------------- */
.lp-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  height: calc(var(--lp-nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  color: #FFFFFF;
  transition: top 320ms var(--lp-ease-out), inset-inline 320ms var(--lp-ease-out), height 320ms var(--lp-ease-out),
              background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.lp-nav__bar { display: flex; align-items: center; gap: 20px; height: 100%; }
.lp-nav .brand { color: inherit; }
.lp-nav .brand-name { color: inherit; }
.lp-nav .brand-sub { color: inherit; opacity: .68; }
.lp-nav__links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.lp-nav__links a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  opacity: .82;
  transition: background 150ms var(--ease), opacity 150ms var(--ease);
}
.lp-nav__links a:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.lp-nav__tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lp-nav .lang-switch { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); }
.lp-nav .lang-switch button { color: rgba(255, 255, 255, .78); }
.lp-nav .lang-switch button:hover { color: #FFFFFF; }
.lp-nav .lang-switch button[aria-pressed="true"] { background: #FFFFFF; color: #000000; }

.lp-nav.is-scrolled {
  top: 12px;
  inset-inline: 12px;
  height: 56px;
  padding-top: 0;
  max-width: 1200px;
  margin-inline: auto;
  border-radius: var(--r-pill);
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.lp-nav.is-scrolled .lp-nav__bar { padding-inline: 10px 8px; }
.lp-nav.is-scrolled .brand-sub { opacity: 1; color: var(--ink-3); }
.lp-nav.is-scrolled .lp-nav__links a:hover { background: var(--surface-3); }
.lp-nav.is-scrolled .lang-switch { border-color: var(--border); background: var(--surface); }
.lp-nav.is-scrolled .lang-switch button { color: var(--ink-3); }
.lp-nav.is-scrolled .lang-switch button:hover { color: var(--ink); }
.lp-nav.is-scrolled .lang-switch button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.lp-nav.is-scrolled[data-tone="dark"] {
  color: #FFFFFF;
  background: rgba(20, 26, 23, .62);
  border-color: rgba(255, 255, 255, .14);
}
.lp-nav.is-scrolled[data-tone="dark"] .brand-sub { color: inherit; opacity: .68; }
.lp-nav.is-scrolled[data-tone="dark"] .lp-nav__links a:hover { background: rgba(255, 255, 255, .12); }
.lp-nav.is-scrolled[data-tone="dark"] .lang-switch { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); }
.lp-nav.is-scrolled[data-tone="dark"] .lang-switch button { color: rgba(255, 255, 255, .78); }
.lp-nav.is-scrolled[data-tone="dark"] .lang-switch button[aria-pressed="true"] { background: #FFFFFF; color: #000000; }

/* --- Hero: the caption on top, the product below ---------------------- */
.lp-hero {
  position: relative;
  isolation: isolate;
  background: #000000;
  color: #FFFFFF;
  overflow: hidden;
}
.lp-hero__photo, .lp-hero__grade { position: absolute; inset: 0; z-index: -1; }
.lp-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.lp-hero__photo::after { content: ""; position: absolute; inset: 0; background: rgba(21, 70, 24, .16); }
.lp-hero__grade { background: linear-gradient(to bottom, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .34) 34%, rgba(0, 0, 0, .78) 66%, #000000 100%); }
.lp-hero__stage {
  display: grid;
  justify-items: center;
  padding-top: calc(var(--lp-nav-h) + 40px + env(safe-area-inset-top, 0px));
}
.lp-hero__text { display: grid; justify-items: center; text-align: center; max-width: 1000px; }
.lp-hero .lp-caption { color: rgba(255, 255, 255, .74); }
.lp-hero .lp-display { margin-top: 14px; }
.lp-hero .lp-lede { margin-top: 18px; color: rgba(255, 255, 255, .84); max-width: 48ch; }
.lp-hero__cta { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.lp-hero__frame { width: min(100%, 1080px); margin-top: 36px; margin-bottom: -56px; }
.lp-hero__frame .lp-frame__view { aspect-ratio: 16 / 10; }
.lp-hero__frame .lp-frame__view img { object-position: 50% 0; }

/* --- The Verdict: the score writes itself ----------------------------- */
.lp-verdict { position: relative; background: #000000; color: #FFFFFF; min-height: 280vh; min-height: 280svh; }
.lp-verdict__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.lp-verdict__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  grid-template-areas: "cap cap" "prop score" "buyer score" "lines score" "next score";
  grid-template-rows: auto auto auto auto 1fr;
  gap: clamp(14px, 2vw, 24px) clamp(24px, 4vw, 64px);
  align-items: start;
  width: 100%;
  padding-top: 72px;
}
.lp-verdict .lp-caption { grid-area: cap; color: rgba(255, 255, 255, .62); }
.lp-verdict__prop { grid-area: prop; margin: 0; display: flex; align-items: center; gap: 14px; }
.lp-verdict__prop img { width: 112px; height: 76px; object-fit: cover; border-radius: var(--r); flex: none; }
.lp-verdict__prop figcaption { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.lp-verdict__prop figcaption b { display: block; color: #FFFFFF; font-weight: 600; }
.lp-verdict__buyer { grid-area: buyer; display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.lp-verdict__buyer .avatar { background: var(--accent-soft); color: var(--accent-deep); }
.lp-verdict__buyer b { color: #FFFFFF; font-weight: 600; }
.lp-verdict__lines { grid-area: lines; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lp-verdict__lines li {
  display: grid;
  grid-template-columns: minmax(8ch, 11ch) minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: baseline;
  padding-block: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: clamp(1rem, .95rem + .35vw, 1.2rem);
  line-height: 1.35;
}
.lp-verdict__lines small { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .55); }
.lp-verdict__lines .lp-glyph { font-size: 1.05em; }
.js .lp-verdict__lines li { opacity: .18; transform: translateY(8px); transition: opacity .5s var(--lp-ease-out), transform .5s var(--lp-ease-out); }
.js .lp-verdict__lines li.is-on { opacity: 1; transform: none; }
.lp-verdict__score { grid-area: score; align-self: center; justify-self: end; display: grid; justify-items: end; gap: 14px; margin: 0; }
.lp-verdict__num { margin: 0; }
.lp-verdict__score .lp-footnote { width: min(100%, 420px); text-align: start; }
.lp-verdict__n {
  font-family: var(--font);
  font-size: var(--lp-fs-score);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--accent);
}
.lp-verdict__pct { font-size: calc(var(--lp-fs-score) * .26); font-weight: 600; vertical-align: top; line-height: 1.6; margin-inline-start: .1em; color: rgba(255, 255, 255, .7); font-family: var(--font); }
.lp-verdict__bar { display: flex; gap: 3px; width: min(100%, 420px); height: 10px; }
.lp-verdict__bar i { display: block; height: 100%; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.lp-verdict__bar i b { display: block; height: 100%; border-radius: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform .6s var(--lp-ease-out); }
:root[dir="rtl"] .lp-verdict__bar i b { transform-origin: 100% 50%; }
.lp-verdict__bar i.lp-tone-partial b { background: var(--data-3); }
.lp-verdict__bar i.lp-tone-missing b { background: var(--crit-mark); }
.lp-verdict__bar i.is-on b { transform: scaleX(var(--sat, 1)); }
.lp-verdict__next { grid-area: next; align-self: end; display: grid; gap: 14px; justify-items: start; padding-top: 8px; }
.lp-verdict__next p { font-size: 17px; font-weight: 600; line-height: 1.4; max-width: 40ch; }
.js .lp-verdict__next { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--lp-ease-out), transform .6s var(--lp-ease-out); }
.js .lp-verdict__next.is-on { opacity: 1; transform: none; }

/* --- The Index: one screen, seven rows -------------------------------- */
.lp-index { background: var(--canvas); padding-top: clamp(48px, 5vw, 80px); }
.lp-index .lp-shell { max-width: 1320px; }
.lp-index__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  grid-template-areas: "visual head" "visual toc";
  grid-template-rows: auto 1fr;
  gap: 24px clamp(28px, 3.5vw, 48px);
  align-items: start;
}
.lp-index__head { grid-area: head; display: grid; gap: 12px; }
.lp-index__head .lp-h2 { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.625rem); max-width: 16ch; }
.lp-index__visual { grid-area: visual; position: sticky; top: clamp(84px, calc(50vh - 260px), 160px); }
.lp-index__toc { grid-area: toc; }
.lp-index__view { aspect-ratio: 20 / 13; }
.lp-index__view img { opacity: 0; transition: opacity 720ms var(--lp-ease-in-out); }
.lp-index__view img[aria-current="true"] { opacity: 1; }
.lp-toc { list-style: none; margin: 0; padding: 0; }
.lp-toc li { border-top: 1px solid var(--border); transition: border-color 200ms var(--ease); }
.lp-toc li:last-child { border-bottom: 1px solid var(--border); }
.lp-toc__row { width: 100%; display: grid; gap: 5px; padding-block: 16px; text-align: start; color: inherit; cursor: pointer; }
.lp-toc__t { font-size: var(--lp-fs-h3); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; transition: color 200ms var(--ease); }
.lp-toc__d { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.lp-toc li.is-active { border-top-color: var(--accent); }
.lp-toc li.is-active .lp-toc__t { color: var(--accent); }
.lp-toc__row:focus-visible { outline-offset: -2px; border-radius: var(--r-sm); }
.lp-toc li { position: relative; }

/* The pinned Index (a computer screen, tall enough): the whole stage holds
   still while the page scrolls under it, and each of the seven screens
   keeps it for --lp-ix-step of scrolling (Hicham: "a long time to scroll
   through each one"). site.js maps the scroll to the row; the line over
   the current row fills as the next screen comes near. Only the current
   row shows its sentence, so the seven rows fit beside the screen. */
@media (min-width: 901px) and (min-height: 640px) {
  /* The stage centres its content in the screen, so the section itself
     only adds a short gap before the prices */
  .js .lp-index { --lp-ix-step: 70vh; padding-block: 0 clamp(24px, 3vw, 48px); }
  .js #product { scroll-margin-top: 0; }
  .js .lp-index__track { height: calc(100vh + 7 * var(--lp-ix-step)); }
  .js .lp-index__pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: grid;
    align-items: center;
    padding-block: calc(var(--lp-nav-h) + 16px) 20px;
  }
  .js .lp-index__grid { grid-template-rows: auto auto; align-content: center; row-gap: 20px; }
  .js .lp-index__visual { position: static; align-self: center; }
  .js .lp-index__frame { width: min(100%, calc((100vh - var(--lp-nav-h) - 136px) * 20 / 13)); margin-inline-start: auto; }
  .js .lp-toc__row {
    padding-block: 13px;
    grid-template-rows: auto 0fr;
    row-gap: 0;
    transition: grid-template-rows 420ms var(--lp-ease-out), row-gap 420ms var(--lp-ease-out);
  }
  .js .lp-toc__d { min-height: 0; overflow: hidden; opacity: 0; transition: opacity 240ms var(--ease); }
  .js .lp-toc li.is-active .lp-toc__row { grid-template-rows: auto 1fr; row-gap: 6px; }
  .js .lp-toc li.is-active .lp-toc__d { opacity: 1; transition-delay: 140ms; }
  .js .lp-toc li.is-active { border-top-color: var(--border); }
  .js .lp-toc li::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: -1px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(var(--ix-p, 0));
    transform-origin: left center;
    visibility: hidden;
  }
  .js .lp-toc li.is-active::before { visibility: visible; }
  :root[dir="rtl"] .lp-toc li::before { transform-origin: right center; }
}
@media (min-width: 901px) and (min-height: 640px) and (max-height: 760px) {
  .js .lp-index__head .lp-lede { display: none; }
  .js .lp-toc__row { padding-block: 10px; }
}

/* --- Pricing: a table, one card --------------------------------------- */
.lp-price { background: var(--canvas); padding-top: 0; }
.lp-price__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 20px 48px; }
.lp-price .lp-h2 { max-width: 14ch; }
.lp-price__intro { display: grid; gap: 14px; justify-items: start; }
.lp-price__toggle { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.lp-price__toggle .switch { gap: 0; }
.lp-price__toggle .is-current { color: var(--ink); font-weight: 600; }
/* Three cards, equal gaps; the middle one stays forward: an emerald edge,
   a little taller, the one shadow (Akram's notes 3 and 4). The row sits
   well clear of the heading and the billing switch. */
.lp-price__table { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.lp-plan { display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.lp-plan .lp-plan__feats { flex: 1 1 auto; }
.lp-plan.is-featured { margin-block: -14px; padding-block: 46px; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-pop); }
.lp-plan__head { display: grid; gap: 10px; justify-items: start; }
.lp-plan__name { font-size: 20px; font-weight: 600; }
.lp-plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lp-plan__price b { font-family: var(--font); font-size: var(--lp-fs-price); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-plan__price span { font-size: 14px; color: var(--ink-2); }
.lp-plan__feats { list-style: none; margin: 0; padding: 0; }
.lp-plan__feats li { padding-block: 10px; border-top: 1px solid var(--border); font-size: 15.5px; line-height: 1.4; }
.lp-plan .btn { align-self: flex-start; height: 42px; padding: 0 20px; }
.lp-price__note { margin-top: 28px; font-size: 14px; line-height: 1.5; color: var(--ink-3); max-width: 72ch; }

/* --- Closing: the mirror line ----------------------------------------- */
.lp-close {
  position: relative;
  isolation: isolate;
  min-height: 52vh;
  min-height: 52svh;
  background: #000000;
  color: #FFFFFF;
  display: grid;
  align-items: end;
  padding-block: 112px 64px;
}
.lp-close__photo { position: absolute; inset: 0; z-index: -1; }
.lp-close__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.lp-close__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .28), rgba(0, 0, 0, .55) 55%, #000000 100%), rgba(21, 70, 24, .18); }
.lp-close__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: end; }
.lp-close .lp-h2 { color: #FFFFFF; }
.lp-close .lp-light { color: #FFFFFF; }
.lp-close__side { display: grid; gap: 16px; justify-items: start; }
.lp-close__side p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .76); max-width: 42ch; }
.lp-close__credit { position: absolute; inset-inline-end: 24px; bottom: 16px; margin: 0; }

/* --- Footer: black, four columns, the watermark ----------------------- */
.lp-foot {
  position: relative;
  overflow: hidden;
  background: #000000;
  color: rgba(255, 255, 255, .72);
  padding-block: 56px calc(96px + env(safe-area-inset-bottom, 0px));
}
.lp-foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.lp-foot h3 { font-size: 13px; font-weight: 600; color: #FFFFFF; margin-bottom: 8px; }
.lp-foot ul { list-style: none; margin: 0; padding: 0; display: grid; }
.lp-foot li { display: flex; }
.lp-foot__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  color: inherit;
  text-align: start;
  text-decoration: underline transparent;
  text-underline-offset: 4px;
  transition: color 150ms var(--ease), text-decoration-color 150ms var(--ease);
}
.lp-foot__link:hover { color: #FFFFFF; text-decoration-color: currentColor; }
.lp-foot__text { display: block; min-height: 40px; padding-block: 9px; font-size: 15px; line-height: 1.5; }
.lp-foot__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-block: 3px; }
.lp-foot .lang-switch { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); }
.lp-foot .lang-switch button { color: rgba(255, 255, 255, .72); height: 38px; padding: 0 14px; }
.lp-foot .lang-switch button[aria-pressed="true"] { background: #FFFFFF; color: #000000; }
.lp-foot .icon-btn { width: 44px; height: 44px; background: transparent; border-color: rgba(255, 255, 255, .22); color: #FFFFFF; }
.lp-foot .icon-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: #FFFFFF; }
.lp-foot__bottom {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .55);
  max-width: 84ch;
}
.lp-foot__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lp-foot__bottom a:hover { color: #FFFFFF; }
.lp-foot__mark {
  position: absolute;
  inset-inline-end: -.06em;
  bottom: -.32em;
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: clamp(9rem, 28vw, 22rem);
  line-height: 1;
  color: #FFFFFF;
  opacity: .08;
  pointer-events: none;
  user-select: none;
}

/* --- Motion: one load sequence, reveals, nothing loops ---------------- */
.js #site:not(.is-loaded) .lp-hero__photo { opacity: 0; transform: scale(1.04); }
.lp-hero__photo { transition: opacity 900ms var(--lp-ease-out), transform 1400ms var(--lp-ease-out); }
.js #site:not(.is-typed) .lp-rise { opacity: 0; transform: translateY(20px); }
.lp-rise { transition: opacity 800ms var(--lp-ease-out) var(--d, 0ms), transform 800ms var(--lp-ease-out) var(--d, 0ms); }
.js #site:not(.is-typed) .lp-line { clip-path: inset(0 -.1em 100% -.1em); transform: translateY(.3em); }
.lp-line { clip-path: inset(-.25em -.1em -.25em -.1em); transition: clip-path 900ms var(--lp-ease-out) var(--d, 0ms), transform 900ms var(--lp-ease-out) var(--d, 0ms); }
/* Reveals rise from a visible resting state: nothing waits at opacity 0 for an observer */
.js [data-reveal] { transform: translateY(16px); transition: transform 700ms var(--lp-ease-out) var(--d, 0ms); }
.js [data-reveal].is-in { transform: none; }

/* --- Arabic ------------------------------------------------------------ */
:root[dir="rtl"] .lp-display { font-family: var(--font-ar); font-weight: 600; letter-spacing: 0; line-height: 1.25; font-size: clamp(2.125rem, 1rem + 3.3vw, 4rem); max-width: 14em; }
:root[dir="rtl"] .lp-h2 { font-family: var(--font-ar); font-weight: 600; letter-spacing: 0; line-height: 1.35; font-size: clamp(1.625rem, 1rem + 2.2vw, 3rem); }
:root[dir="rtl"] .lp-accent, :root[dir="rtl"] .lp-light { font-style: normal; font-weight: 300; }
:root[dir="rtl"] .lp-line { clip-path: inset(-.35em -.1em -.35em -.1em); }
:root[dir="rtl"] .lp-lede { line-height: 1.7; max-width: 44ch; }
:root[dir="rtl"] .lp-caption, :root[dir="rtl"] .lp-footnote, :root[dir="rtl"] .lp-credit,
:root[dir="rtl"] .lp-verdict__lines small { font-size: 14px; }
:root[dir="rtl"] .lp-toc__t, :root[dir="rtl"] .lp-plan__name { letter-spacing: 0; }
:root[dir="rtl"] .lp-toc__d { line-height: 1.7; }
:root[dir="rtl"] .lp-verdict__lines li { grid-template-columns: minmax(9ch, 13ch) minmax(0, 1fr) auto; }

/* --- Breakpoints -------------------------------------------------------- */
@media (max-width: 1100px) {
  .lp-index__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
}
@media (max-width: 900px) {
  .lp-nav__links { display: none; }
  .lp-nav .brand-sub { display: none; }
  .lp-hero__stage { padding-top: calc(var(--lp-nav-h) + 24px + env(safe-area-inset-top, 0px)); }
  .lp-hero__frame { margin-top: 32px; margin-bottom: -32px; }
  .lp-verdict { min-height: 240vh; min-height: 240svh; }
  .lp-verdict__grid { grid-template-columns: 1fr; grid-template-areas: "cap" "prop" "buyer" "lines" "score" "next"; grid-template-rows: auto; align-items: start; gap: 16px; padding-top: 64px; }
  .lp-verdict__score { justify-self: start; justify-items: start; align-self: start; }
  .lp-verdict__next { align-self: start; padding-top: 0; }
  .lp-verdict__lines { gap: 0; }
  .lp-verdict__lines li { grid-template-columns: minmax(0, 1fr) auto; padding-block: 7px; font-size: 15px; }
  .lp-verdict__lines small { grid-column: 1 / -1; font-size: 12px; }
  .lp-verdict__prop img { width: 84px; height: 60px; }
  .lp-index__grid { grid-template-columns: 1fr; grid-template-areas: "head" "visual" "toc"; grid-template-rows: auto; gap: 24px; }
  .lp-index__visual { position: static; }
  .lp-price__head { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .lp-plan.is-featured { order: -1; }
  .lp-toc__row { padding-block: 14px; }
  .lp-toc__d { font-size: 14px; }
  .lp-price__table { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .lp-plan { padding: 26px 22px; }
  .lp-plan.is-featured { margin-block: 0; padding-block: 26px; }
  .lp-close { min-height: 44vh; min-height: 44svh; padding-block: 96px 56px; }
  .lp-close__grid { grid-template-columns: 1fr; }
  .lp-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lp-display { min-height: 3lh; font-size: clamp(2.125rem, 1.4rem + 3.8vw, 2.625rem); }
  :root[dir="rtl"] .lp-display { font-size: clamp(1.875rem, 1.3rem + 3.2vw, 2.375rem); }
  .lp-hero .lp-lede { font-size: 16px; margin-top: 14px; }
  .lp-hero__cta { margin-top: 18px; gap: 14px; }
  .lp-hero__frame { margin-top: 28px; margin-bottom: -20px; }
  .lp-frame { border-radius: 10px; }
  .lp-frame__bar { height: 28px; padding-inline: 10px; gap: 10px; }
  .lp-frame__dots i { width: 7px; height: 7px; }
  .lp-frame__url { height: 18px; line-height: 18px; font-size: 10px; }
  .lp-foot__grid { grid-template-columns: 1fr; gap: 20px; }
  .lp-foot { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce), (max-height: 520px) {
  .lp-verdict { min-height: 0; padding-block: var(--lp-section); }
  .lp-verdict__pin { position: static; height: auto; overflow: visible; }
  .js .lp-verdict__lines li, .js .lp-verdict__next { opacity: 1; transform: none; }
  .lp-verdict__bar i b { transform: scaleX(var(--sat, 1)); }
}
@media (prefers-reduced-motion: reduce) {
  .js #site:not(.is-loaded) .lp-hero__photo, .js #site:not(.is-typed) .lp-rise, .js [data-reveal] { opacity: 1; transform: none; }
  .js #site:not(.is-typed) .lp-line { clip-path: none; transform: none; }
  .lp-index__view img { transition: none; }
}
