/* Intro page (index.html, 2026-12-01). Built on the site's colours (css/app.css) so the atlas, the sign-in dialog and
   this page read as one product. Display type: Bricolage Grotesque (Latin) and Tajawal (Arabic); body: Manrope;
   labels in the anatomy pictures: JetBrains Mono, like atlas captions. Signature: the scan line that peels the body. */
html.lp-root, html.lp-root body.lp { height: auto; overflow: auto; overflow-x: hidden; }
body.lp {
  --bone: #e6d9bf; --glow: rgba(139, 92, 246, .35); --edge: rgba(255, 255, 255, .07);
  --disp: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  display: block; min-height: 100vh; font: 500 16px/1.6 var(--sans); color: var(--text); background: var(--bg);
  scroll-behavior: smooth;
}
html.ar body.lp { --disp: "Tajawal", system-ui, sans-serif; font-family: "Tajawal", var(--sans); font-size: 17px; }
.lp a { color: inherit; }
.lp :focus-visible { outline: 2px solid var(--violet2); outline-offset: 3px; border-radius: 6px; }

/* ── top bar ── */
.lp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(9, 8, 13, .78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--edge); }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 14px/1 var(--sans); letter-spacing: .08em; }
.lp-brand img { height: 28px; }
.lp-brand b { color: var(--violet2); }
.lp-nav { display: flex; gap: 22px; margin-inline-start: 12px; }
.lp-nav a { text-decoration: none; color: var(--mute); font-size: 14px; font-weight: 600; transition: color .15s; }
.lp-nav a:hover { color: var(--text); }
.lp-acts { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lp-lang { padding: 7px 10px; border-radius: 8px; border: 1px solid var(--edge); color: var(--mute); font: 600 13px "Tajawal", var(--sans); cursor: pointer; }
.lp-lang:hover { color: var(--text); border-color: var(--line2); }
.lp-me-btn { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--edge); font-weight: 600; font-size: 14px; cursor: pointer; max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-code { font: 500 12px var(--mono); color: var(--violet2); }

.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 11px; border: 1px solid var(--violet);
  background: var(--violet); color: #fff; font: 700 14px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
html.ar .lp-btn { font-family: "Tajawal", var(--sans); font-size: 15px; }
.lp-btn:hover { background: #7c4df0; border-color: #7c4df0; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn.ghost { background: transparent; border-color: var(--line2); color: var(--text); }
.lp-btn.ghost:hover { border-color: var(--violet2); background: rgba(139, 92, 246, .08); }
.lp-btn.big { padding: 14px 24px; font-size: 15px; border-radius: 13px; }
.lp-btn[hidden], .lp-me[hidden] { display: none; }

/* ── hero ── */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 5vw, 72px);
  max-width: 1240px; margin: 0 auto; padding: clamp(32px, 6vh, 72px) clamp(16px, 4vw, 48px) 40px; min-height: calc(100vh - 62px); }
.lp-eyebrow { margin: 0 0 18px; font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone); opacity: .85; }
html.ar .lp-eyebrow { font: 700 14px "Tajawal", sans-serif; letter-spacing: 0; text-transform: none; }
.lp h1 { margin: 0; font: 800 clamp(44px, 6.6vw, 92px)/.96 var(--disp); letter-spacing: -.035em; font-variation-settings: "wdth" 85; }
html.ar .lp h1 { line-height: 1.12; letter-spacing: 0; }
.lp h1 em { font-style: normal; color: var(--violet2); }
.lp h1 { text-wrap: balance; }
.lp-lede { max-width: 34em; margin: 22px 0 0; color: #c9c7d8; font-size: clamp(16px, 1.4vw, 18px); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-fine { margin: 14px 0 0; color: var(--dim); font-size: 13px; }
.lp-fine.center { text-align: center; margin-top: 22px; }
.lp-gate { margin: 0 0 22px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .08); color: #f6d9a6; font-size: 14px; }
.lp-gate[hidden] { display: none; }
.lp-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-inline-start: 4px; }

/* the peel */
.lp-peel { margin: 0; display: grid; gap: 14px; justify-items: center; }
.lp-stage { --y: 46%; position: relative; width: min(100%, calc(80vh * 886 / 1312)); aspect-ratio: 886 / 1312; touch-action: pan-y; cursor: ns-resize; }
.lp-stage::before { content: ""; position: absolute; inset: 8% -12% 12%; background: radial-gradient(closest-side, var(--glow), transparent 72%); filter: blur(10px); z-index: 0; }
.lp-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; z-index: 1; }
.lp-layer.deep { clip-path: inset(var(--y) 0 0 0); z-index: 2; }
.lp-scan { position: absolute; left: -4%; right: -4%; top: var(--y); height: 0; z-index: 3; pointer-events: none; }
.lp-scan::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--violet2) 18%, #fff 50%, var(--violet2) 82%, transparent);
  box-shadow: 0 0 18px 2px var(--glow); }
.lp-scan-tag { position: absolute; inset-inline-end: 0; top: -30px; padding: 4px 9px; border-radius: 6px; background: rgba(9, 8, 13, .82); border: 1px solid rgba(167, 139, 250, .5);
  font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone); white-space: nowrap; }
html.ar .lp-scan-tag { font: 700 13px "Tajawal", sans-serif; letter-spacing: 0; }
.lp-layers { display: flex; gap: 6px; padding: 4px; border-radius: 12px; border: 1px solid var(--edge); background: rgba(255, 255, 255, .02); }
.lp-layers button { padding: 7px 13px; border-radius: 9px; color: var(--mute); font: 600 13px var(--sans); cursor: pointer; }
html.ar .lp-layers button { font: 700 14px "Tajawal", sans-serif; }
.lp-layers button.on { background: rgba(139, 92, 246, .2); color: var(--text); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .45); }

/* ── sections ── */
.lp main > section:not(.lp-hero) { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 9vh, 110px) clamp(16px, 4vw, 48px); }
.lp main h2 { margin: 0 0 10px; font: 800 clamp(32px, 4vw, 52px)/1.02 var(--disp); letter-spacing: -.03em; }
html.ar .lp main h2 { line-height: 1.2; letter-spacing: 0; }
.lp-sub { margin: 0 0 34px; color: var(--mute); max-width: 40em; }
.lp main h3 { margin: 4px 0 8px; font: 700 21px/1.2 var(--disp); letter-spacing: -.01em; }
html.ar .lp main h3 { font-size: 22px; letter-spacing: 0; }
.lp-k { margin: 0; font: 500 11.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone); opacity: .85; }
html.ar .lp-k { font: 700 13.5px "Tajawal", sans-serif; letter-spacing: 0; }

/* what's inside */
.lp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.lp-tile { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 340px; padding: 22px; border-radius: 18px; border: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .01)); overflow: hidden; }
.lp-tile p:not(.lp-k) { margin: 0; color: var(--mute); font-size: 15px; }
.lp-tile.wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; }
.lp-tile-txt { flex: 1; max-width: 26em; }
.lp-tile-body { width: 42%; max-height: 380px; object-fit: contain; margin: -10px -6px -40px auto; }
.lp-tile-body.small { width: 100%; height: 200px; margin: 0 0 14px; object-fit: cover; object-position: 50% 4%; transform: scale(1.0); border-radius: 12px; background: radial-gradient(closest-side, rgba(139,92,246,.18), transparent); }
.lp-tile-pic { width: 100%; height: 170px; object-fit: contain; margin-bottom: 16px; }
.lp-tile-pic.photo { object-fit: cover; border-radius: 12px; filter: saturate(.95) contrast(1.05); }
.lp-labs { display: grid; gap: 16px; height: 170px; align-content: center; margin-bottom: 16px; }
.lp-lab { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 12px; font: 500 12px var(--mono); color: var(--mute); }
.lp-lab i { position: relative; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .07); }
.lp-lab b { position: absolute; inset-block: 0; inset-inline-start: var(--lo); width: calc(var(--hi) - var(--lo)); border-radius: 4px; background: rgba(34, 197, 94, .55); }
.lp-lab u { position: absolute; top: 50%; inset-inline-start: var(--v); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #d1d5db; box-shadow: 0 0 0 3px var(--bg); }
.lp-lab u.out { background: #ef4444; }

/* plans */
.lp-plans h2, .lp-plans .lp-sub { text-align: center; margin-inline: auto; }
.lp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.lp-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 20px; border: 1px solid var(--edge); background: var(--panel); }
.lp-card.best { border-color: rgba(167, 139, 250, .7); background: linear-gradient(180deg, rgba(139, 92, 246, .16), var(--panel) 55%); box-shadow: 0 20px 60px -30px var(--glow); }
.lp-badge { position: absolute; top: -12px; inset-inline-start: 22px; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--violet); color: #fff; font: 700 12px var(--sans); }
html.ar .lp-badge { font-family: "Tajawal", sans-serif; font-size: 13px; }
.lp main .lp-card h3 { margin: 0 0 14px; font-size: 18px; color: var(--mute); }
.lp-price { margin: 0; font: 800 46px/1 var(--disp); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lp-price span { font: 600 15px var(--sans); color: var(--mute); letter-spacing: 0; }
html.ar .lp-price span { font-family: "Tajawal", sans-serif; }
.lp-per { margin: 8px 0 20px; color: var(--mute); font-size: 14px; }
.lp-per em { font-style: normal; color: #86efac; font-weight: 700; }
.lp-card ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; flex: 1; }
.lp-card li { position: relative; padding-inline-start: 24px; font-size: 14.5px; color: #d6d4e4; }
.lp-card li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--violet2); border-bottom: 2px solid var(--violet2); transform: rotate(-45deg); }
.lp-card .lp-btn { width: 100%; }

/* how to subscribe: a real three-step order */
.lp-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0 30px; padding: 0; }
.lp-steps li { counter-increment: s; display: grid; gap: 6px; padding: 22px; border-radius: 16px; border: 1px solid var(--edge); }
.lp-steps li::before { content: counter(s); font: 800 40px/1 var(--disp); color: var(--violet2); margin-bottom: 8px; }
html.ar .lp-steps li::before { content: counter(s, arabic-indic); }
.lp-steps b { font-size: 17px; }
.lp-steps span { color: var(--mute); font-size: 15px; }
.lp-btn.tg { background: #229ed9; border-color: #229ed9; }
.lp-btn.tg:hover { background: #1b8bc0; border-color: #1b8bc0; }
.lp-btn.tg svg { width: 18px; height: 18px; fill: currentColor; }

/* become a partner (in place of "how to subscribe"): one panel; the levels climb like steps, Elite on top */
.lp-partner-box { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(26px, 4vw, 52px); border-radius: 26px; border: 1px solid rgba(167, 139, 250, .28); overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(139, 92, 246, .22), transparent 55%), linear-gradient(180deg, #14121d, var(--panel)); }
html.ar .lp-partner-box { background: radial-gradient(120% 90% at 0% 0%, rgba(139, 92, 246, .22), transparent 55%), linear-gradient(180deg, #14121d, var(--panel)); }
.lp main .lp-partner h2 { margin: 10px 0 14px; }
.lp-partner h2 em { font-style: normal; color: var(--violet2); }
.lp-partner-lede { margin: 0 0 20px; color: #c9c6da; max-width: 34em; }
.lp-perks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.lp-perks li { position: relative; padding-inline-start: 26px; font-size: 15px; color: #dedbea; }
.lp-perks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--violet2); border-bottom: 2px solid var(--violet2); transform: rotate(-45deg); }
.lp-partner-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.lp-partner-cta .lp-fine { margin: 0; }
.lp .lp-terms { flex-basis: 100%; display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: var(--violet2, #a78bfa); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lp .lp-terms svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.lp .lp-terms:hover { color: #fff; }
.lp-terms:focus-visible { outline: 2px solid var(--violet2, #a78bfa); outline-offset: 3px; border-radius: 4px; }
.lp-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-ladder li { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--edge); background: rgba(255, 255, 255, .025); }
.lp-ladder li.l2 { margin-inline-start: 7%; }
.lp-ladder li.l1 { margin-inline-start: 14%; }
.lp-ladder li.l3 { border-color: rgba(167, 139, 250, .65); background: linear-gradient(135deg, rgba(139, 92, 246, .3), rgba(139, 92, 246, .06) 70%); box-shadow: 0 18px 50px -28px var(--glow); }
.lp-ladder b { font: 800 21px/1.2 var(--disp); }
.lp-ladder li.l3 b { color: #fff; }
.lp-lvl-c { font: 500 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet2); }
html.ar .lp-lvl-c { font: 700 13px "Tajawal", sans-serif; letter-spacing: 0; }
.lp-lvl-p { color: var(--mute); font-size: 14.5px; }

/* footer */
.lp-foot { max-width: 1240px; margin: 0 auto; padding: 30px clamp(16px, 4vw, 48px) 48px; border-top: 1px solid var(--edge); display: grid; gap: 6px; font-size: 13px; color: #b9b7c9; }
.lp-foot p { margin: 0; }
.lp-dim { color: var(--dim); }

/* ── smaller screens ── */
@media (max-width: 980px) {
  .lp-nav { display: none; }
  .lp-hero { grid-template-columns: 1fr; min-height: 0; text-align: start; }
  .lp-stage { width: min(78vw, 420px); }
  .lp-tiles { grid-template-columns: 1fr 1fr; }
  .lp-tile.wide { grid-column: 1 / -1; }
  .lp-cards { grid-template-columns: 1fr; max-width: 460px; }
  .lp-card.best { order: -1; }
  .lp-partner-box { grid-template-columns: 1fr; }
  .lp-ladder li.l2, .lp-ladder li.l1 { margin-inline-start: 0; }
}
@media (max-width: 600px) {
  .lp-top { gap: 10px; padding-block: 10px; }
  .lp-brand span { display: none; }
  #lpSignin { display: none; }
  .lp-btn { padding: 9px 14px; }
  .lp-cta .lp-btn { flex: 1 1 100%; }
  .lp-tiles { grid-template-columns: 1fr; }
  .lp-tile.wide { flex-direction: column; align-items: stretch; }
  .lp-tile-body { width: 70%; margin: 0 auto -40px; }
  .lp-me-btn { max-width: 150px; }
  .lp-perks { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { body.lp { scroll-behavior: auto; } }
