/* sra landing — shares the product's design language (frontend/app/globals.css).
   No build step, no framework: one stylesheet, hand-written tokens.

   Landing-page component classes (`.lp-*`, spec 0040) below the original
   contact/policy rules were pulled from Figma node 92-3172 ("Landing-Page")
   and the "Bilingual-Landing-Page-Design" Figma Make prototype's own
   index.css — see docs/specs/0040-landing-page.md for the source values. */

@import url("https://fonts.googleapis.com/css2?family=Gayathri:wght@400;700&family=Noto+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap");

:root {
  --ink: #232323;
  --paper: #fcfbf9;
  --surface: #ffffff;
  --line: #eeeeee;
  --border: #c2c1bf;
  --brand: #e6550d;
  --brand-deep: #c4420a;
  --brand-700: #a33608;
  --brand-900: #752700;
  --muted: #666666;
  --muted-light: #999999;
  --field-bg: #fdf5ef;
  --danger: #ffb4a8;
  --wordmark: #fffed1; /* pale cream fill of the "sra"/"سِرا" wordmark, both languages */

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 999px;
  --radius-card: 16px; /* was 14px — matches the checklist/card radius in Figma */

  /* English: Gayathri for display/headings, Noto Sans for body/UI — two
     distinct Latin families, not a fallback chain. Arabic overrides both
     via [lang="ar"] below; Gayathri has no Arabic glyphs so it must never
     be reached for Arabic text. */
  --font-sans: "Noto Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Gayathri", var(--font-sans);
  --font-arabic: "Noto Sans Arabic", var(--font-sans);

  --section-py: 56px;
  --section-px: 20px;
  --container: 680px;
}

@media (min-width: 640px) {
  :root {
    --section-py: 80px;
    --section-px: 40px;
  }
}
@media (min-width: 1024px) {
  :root {
    --section-py: 104px;
    --section-px: 64px;
    --container: 1080px;
  }
}
@media (min-width: 1280px) {
  :root {
    --section-px: 80px;
    --container: 1200px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* Lives on html, not body: font-family is inherited, but body below sets
     its own color/background directly, and a *direct* declaration always
     wins over an inherited one regardless of selector specificity. Putting
     it here (once) lets [lang="ar"] on <html> (below) cascade correctly to
     every descendant. Previously this was declared directly on body,
     which silently won over the [lang="ar"] cascade for every element
     without its own explicit override (most body copy) — Arabic text sat
     in "Noto Sans", a Latin-only face, and fell through to the browser's
     system Arabic fallback instead of Noto Sans Arabic. That fallback's
     different glyph metrics is the most likely cause of the Arabic mobile
     horizontal-scroll bug reported in review — fixed here, at the root,
     rather than patched per-selector. */
  font-family: var(--font-sans);
  overflow-x: clip;
}

body {
  min-height: 100dvh;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

/* Arabic pages: one explicit override, not a glyph-fallback — Gayathri
   never renders Arabic text. */
[lang="ar"] {
  font-family: var(--font-arabic);
}
[lang="ar"] .lp-display {
  font-family: var(--font-arabic);
}
:lang(ar) {
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Contact: linktree ---- */

.contact {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 48px 24px;
}

.contact__logo {
  width: min(150px, 39vw);
  height: auto;
  display: block;
  margin-bottom: 64px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 380px);
}

.link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.link:hover {
  opacity: 0.75;
}

.link:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
}

.link--primary {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(90deg, #f5a623 0%, var(--brand) 100%);
  background-clip: padding-box;
}

.link__icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.footer {
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .link {
    transition: none;
  }
}

/* ---- Policy pages: long-form legal copy ---- */

.policy__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 0;
}

.policy__brand {
  display: block;
  line-height: 0;
  color: var(--ink);
}

.policy__back {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

.policy__back:hover {
  color: var(--brand-deep);
}

.policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}

.policy h1 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  letter-spacing: -0.01em;
}

.policy__meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.policy__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 32px 0 48px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.policy__toc a {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

.policy__toc a:hover {
  color: var(--brand-deep);
}

.policy section {
  margin-top: 40px;
}

.policy h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.1875rem;
  padding-inline-start: 16px;
  border-inline-start: 3px solid var(--brand);
}

.policy p,
.policy li {
  margin-top: 14px;
  line-height: 1.65;
  color: var(--ink);
}

.policy p:first-of-type {
  margin-top: 16px;
}

.policy ul {
  padding-inline-start: 22px;
}

.policy a {
  color: var(--brand-deep);
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

.policy a:hover {
  text-decoration-color: currentColor;
}

.policy mark.tbd {
  background: #fdf0e2;
  color: var(--brand-deep);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 500;
  text-decoration: underline dashed var(--brand);
  text-underline-offset: 3px;
  cursor: help;
}

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.policy table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.policy th,
.policy td {
  padding: 10px 14px;
  text-align: start;
  vertical-align: top;
}

.policy thead th {
  border-bottom: 2px solid var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

.policy tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.policy .footer {
  margin-top: 64px;
}

/* ══════════════════════════════════════════════════════════════════
   Landing page (spec 0040) — hero / problem / solution / team / offer
   ══════════════════════════════════════════════════════════════════ */

.lp-section {
  padding-block: var(--section-py);
  padding-inline: var(--section-px);
}

.lp-container {
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}

.lp-brand {
  color: var(--brand);
}

/* -- header / language switch -- */

.lp-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(24px, 5vw, 52px);
}

.lp-logo {
  height: 40px;
  width: auto;
  display: block;
}

.lp-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  text-decoration: none;
}

.lp-lang__divider {
  width: 1px;
  height: 14px;
  background: var(--muted);
}

.lp-lang__code {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

.lp-lang__code--alt {
  color: var(--muted-light);
  opacity: 0.6;
}

.lp-lang:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Design review: web only (720px+, the same point the hero splits to a
   row) — logo and language pill scaled up, header sits closer to the hero
   copy below it. Mobile keeps its existing sizes/spacing, unchanged.
   Round 2 re-pull, Figma node 120:3943 ("web-HERO") — that reference's own
   1200px-wide/80px-padded container is exactly our --container/--section-px
   at 1280px+, so its pixel values are directly comparable: 64px logo,
   20px EN/AR type, 8px pill gap, and a 48px gap from the header row down to
   the headline (was a much smaller clamp(12px,2.5vw,26px) — undersized
   next to this reference). */
@media (min-width: 720px) {
  .lp-header {
    margin-bottom: clamp(24px, 4vw, 48px);
  }
  .lp-logo {
    height: 64px;
  }
  .lp-lang {
    gap: 8px;
    padding: 6px;
  }
  .lp-lang__divider {
    height: 20px;
  }
  .lp-lang__code {
    font-size: 20px;
  }
}

/* -- hero stage (designer-supplied motion, js/hero-motion.js) --
   Her standalone page's styles, class names prefixed `lp-stage` and the
   font stacks pointed at this sheet's tokens; sizes are container-query
   units (cqw) off the stage width, exactly as she authored them. The
   old .lp-hero rules below are now unused by both pages. */

.lp-stage {
  --name-final: 3.3cqw;
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #e4520a;
  container-type: inline-size;
  isolation: isolate;
}
@media (max-width: 640px) {
  .lp-stage {
    --name-final: 5.6cqw;
  }
}
.lp-stage [hidden] {
  display: none !important;
}

.lp-stage__gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.lp-stage__fallback {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 0% 110%, #3bacff 0, var(--brand-900) 22%, #e4520a 40%, #feb233 62%, #fffed2 85%);
}
.lp-stage__layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.lp-stage__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 52% at 50% 54%, rgba(90, 28, 0, 0.42), rgba(90, 28, 0, 0) 72%);
  opacity: 0;
  pointer-events: none;
}

/* Logo + language switch, over the flame */
.lp-stage__top {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 2;
  padding-block-start: 32px;
  padding-inline: var(--section-px);
}
.lp-stage__top .lp-header {
  max-width: var(--container);
  margin-inline: auto;
  margin-bottom: 0;
}

/* Scene 1: name reveal. Gayathri Bold, 200px at 1440. */
.lp-stage__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.9cqw;
  line-height: 1;
  letter-spacing: -0.0125em;
  color: var(--paper);
  white-space: nowrap;
  display: flex;
}
.lp-stage__ch {
  display: inline-block;
  position: relative;
  will-change: transform, opacity, filter;
}
.lp-stage__sp {
  width: 0.26em;
}
.lp-stage__kasra {
  position: absolute;
  overflow: visible;
}
.lp-stage__logo-ar {
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 10.5cqw;
  line-height: 1.45;
  color: var(--paper);
  white-space: nowrap;
  display: flex;
  gap: 0.3em;
}
.lp-stage__name {
  transform-origin: 50% 50%;
  will-change: transform;
}
.lp-stage__slot {
  width: 1px;
}
@media (max-width: 640px) {
  .lp-stage__logo {
    font-size: 15cqw;
  }
  .lp-stage__logo-ar {
    font-size: 12.5cqw;
  }
}

/* Scene 2: figures + headline */
.lp-stage__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.4cqw;
  padding-inline: 6cqw;
}
.lp-stage__mark {
  width: 9.5cqw;
  min-width: 64px;
  height: auto;
  overflow: visible;
  margin-bottom: -0.6cqw;
}
.lp-stage__fig {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.lp-stage__h {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--paper);
  font-size: 6.4cqw;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lp-stage__h .lp-stage__w {
  margin-inline: 0.12em;
}
.lp-stage__h--2 {
  font-weight: 400;
  color: var(--wordmark);
}
.lp-stage__h[dir="rtl"] {
  font-family: var(--font-arabic);
  font-size: 5.6cqw;
  line-height: 1.35;
  letter-spacing: 0;
}
.lp-stage__w {
  display: inline-block;
  will-change: transform, opacity, filter;
}
.lp-stage__cta {
  pointer-events: auto;
  display: inline-block;
  text-decoration: none;
  font: 600 max(14px, 1.15cqw) / 1 var(--font-sans);
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: var(--radius-pill);
  padding: 1.1em 1.9em;
  cursor: pointer;
}
[lang="ar"] .lp-stage__cta {
  font-family: var(--font-arabic);
}
.lp-stage__cta:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .lp-stage__h {
    font-size: 11cqw;
    line-height: 1.08;
  }
  .lp-stage__h[dir="rtl"] {
    font-size: 9.4cqw;
  }
  .lp-stage__mark {
    width: 20cqw;
  }
  .lp-stage__col {
    gap: 4.5cqw;
  }
}

/* -- hero -- */

.lp-hero {
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  padding-block: 72px;
  padding-inline: var(--section-px);
  background-color: var(--ink);
  background-image: url("/landing/hero-bg.webp?v=3");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
}
@media (min-width: 640px) {
  .lp-hero {
    padding-block: 96px;
  }
}

/* Design review: the logo + language switcher must sit flush under the
   hero's own top padding, like the Figma reference — not get dragged down
   by vertically centering the whole header+content block as one unit (what
   .lp-hero's old `align-items: center` did). Header stays at its natural
   top position; only the hero copy below it (.lp-hero__content) centers,
   in whatever vertical space is left over. */
.lp-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

/* Round 3 (owner follow-up, 2026-10-02) — the hero dropped its two-column
   text+phone-mockup layout entirely, replaced by Figma nodes 167:13988
   (web) / 14:1653 (mobile): a single centered column, no mockup, with
   "sra" as a logo-mark image rather than part of the headline's own text.
   Confirmed via get_design_context on both nodes — this isn't a guess.
   .lp-hero__cols/__text/__mockup-col and the mobile pin/shrink JS choreography
   they drove are gone; .lp-header above is unaffected. */
.lp-hero__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  text-align: center;
  padding-block: 24px;
}

/* Figma (167:13988 web, 14:1653 mobile) gives exact values at both ends:
   48.449px mobile / 80px desktop ("Gayathri Regular", never bold — the old
   clamp() here was 700 weight, bottoming out at a 32px floor on real phone
   widths, nowhere near either reference). clamp()'s own floor/ceiling now
   are those two real values, so the 719/720px breakpoint this hero uses
   everywhere else isn't needed just for this. Same size both languages —
   only font-family diverges below, matching every other section on this
   page already sharing one scale across languages. */
.lp-hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
[lang="ar"] .lp-hero__headline {
  font-family: var(--font-arabic);
}
/* "sra" is a logo-mark image now, not text sized with the rest of the
   headline (Figma: a separate "Logo Mark" node nested inside "Heading 1")
   — same single vector asset at both breakpoints' display sizes, aspect
   ratio locked via width/height so the intrinsic ratio holds at any size.
   English only: the SVG's signature comma/kasra-style accent under the
   "s" has no clean Unicode or system-font equivalent (tried — Gayathri
   silently drops a combining kasra on a Latin base, Noto Sans Arabic's
   own kasra only composes onto Arabic letters), so the Latin mark stays
   an asset. */
.lp-hero__wordmark {
  display: block;
}
img.lp-hero__wordmark {
  width: 229px;
  height: auto;
  /* No margin-top here on purpose — the SVG itself now carries 48 units
     of empty space above the glyph (see the file's own comment), which
     already reads as deliberate breathing room from the headline text
     above it. Stacking a margin on top of that doubled up the gap. */
}
@media (min-width: 720px) {
  img.lp-hero__wordmark {
    width: 350px;
  }
}
/* Arabic wordmark (round 7, 2026-10-03): real text, not the Latin SVG —
   the SVG is "ṣra" in a Latin typeface and was being used verbatim on the
   Arabic page too. "سِرا" set in Noto Sans Arabic (already loaded for the
   rest of this page's Arabic copy), same wordmark color as the English
   mark, sized to read with the same visual weight.
   Round 8 (owner follow-up, 2026-10-04) fixed a spacing mismatch: Noto
   Sans Arabic at line-height:1 has next to no built-in padding — its ink
   fills ~100% of the line box — while the English SVG has ~31px/13px of
   top/bottom padding baked into its own viewBox (see that file's own
   comment). Same 40px flex gap in both, but the English mark's padding
   added real visual breathing room the Arabic text didn't have, so it
   read as cramped next to the description/CTA below. Measured via pixel
   ink-bounds (not just the CSS box) at both breakpoints to size this
   against the English mark's actual glyph height, then padding-block
   recreates the top-heavier breathing room the SVG's padding gave. */
.lp-hero__wordmark--text {
  font-family: var(--font-arabic);
  font-weight: 700;
  color: var(--wordmark);
  font-size: 108px;
  line-height: 1;
  padding-block: 16px 8px;
}
@media (min-width: 720px) {
  .lp-hero__wordmark--text {
    font-size: 165px;
    padding-block: 24px 12px;
  }
}

/* -- hero splash (spec 0040 §12 item 1, round 16) ----------------------
   Built from the sra Design System's actual "Logo Icon" (node 155:3132,
   file SiiZQWTKUHFutPI0Xcc0l9) — 5 named figures ("Person 1..4" + a
   full-opacity "Person Accent" last) — the real source of the small
   "iiiii" mark next to "sra" in the nav, not the landing-page hero
   frame's own Union asset (which only ever exported half its content via
   every tool available — see hero-splash.js's own comment). The owner's
   correction over round 4: the pillars REVEAL the real page, they don't
   paint opaque shapes on top of it.

   Round 15 (owner follow-up): one continuous rightward slide, no tiling,
   no fade. Elements translate together as a single rigid group, built and
   animated entirely in hero-splash.js. Round 16 (owner follow-up):
   two `.lp-splash__front` tiles back to back instead of one tile plus a
   flat-color trailer — the flat trailer read as a plain untextured block,
   so a second tile fills that space with figure texture instead:
   - `.lp-splash__front` (×2) — each exactly one `hero-splash-mask.webp`
     tile wide (no repeat), background #A33608 with the webp applied as a
     CSS mask so the figure-shaped holes show the real page through them.
   - `.lp-splash__solid` — a plain flat #A33608 remainder, appended only
     when the viewport is wider than both tiles combined (most aspect
     ratios don't need it at all).
   The group starts with the first `front` tile just off the left edge and
   the second `front` tile (plus `solid`, if present) filling the whole
   viewport, then slides right by (viewport width + one tile width) in one
   transition. Everything left of the leading tile has already been passed
   and is covered by nothing, so the real page shows through outright; the
   leading tile itself shows the figure/hole texture as it crosses;
   everything to its right is still unrevealed. Once the slide finishes
   every element is fully past the right edge and the whole viewport is
   uncovered — the reveal completes as a direct consequence of the slide
   ending, so there's no separate fade step.

   hero-splash.js sets every property below inline, not via these
   selectors — styles.css opens with a render-blocking Google Fonts
   `@import`, and this script (defer, so it can run before that import
   resolves) must not depend on the rest of this file having applied yet.
   This rule is left here only as documentation of the shared values; if
   you change one, change the other. */
.lp-splash {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
}
body.lp-splash-lock {
  overflow: hidden;
}
/* `html` above sets an explicit overflow-x, which breaks the standard
   body→viewport overflow propagation and makes `html` itself the
   scrolling box — body.lp-splash-lock alone doesn't actually stop page
   scroll. hero-splash.js locks both inline; this is documentation only. */
html.js-splash-active {
  overflow: hidden;
}
html.js-splash-active .lp-hero .lp-cta-wrap {
  opacity: 0 !important;
  pointer-events: none !important;
}

.lp-hero__sub {
  /* 16px mobile / 20px desktop, both exact Figma values (14:1653 /
     167:13988) — was capped at 18px. Margin is gone: spacing between
     headline/subhead/CTA is now the centered .lp-hero__content's own
     `gap`, not per-element margins (that's also why mobile's 265px wrap
     column lives here rather than needing its own breakpoint rule below —
     it's the one place this element's wrap width actually differs). */
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.6;
  color: var(--paper);
  max-width: 440px;
}
@media (max-width: 719px) {
  .lp-hero__sub {
    max-width: 265px;
  }
}
@media (min-width: 720px) {
  .lp-hero__sub {
    max-width: none;
  }
}

/* Full-bleed visual bridge, immediately before the founding-team section —
   design review: moved here from right after the hero on web too, so both
   breakpoints match what mobile already did. */
.lp-atmosphere {
  width: 100%;
  height: clamp(180px, 16vw, 440px);
  overflow: hidden;
  background: var(--ink);
}
.lp-atmosphere img {
  display: block;
  width: 100%;
  height: 150%;
  object-fit: cover;
  object-position: center;
}

/* -- CTA button, shared -- */

.lp-cta-wrap {
  display: inline-block;
}
@media (max-width: 479px) {
  .lp-cta-wrap {
    display: block;
    width: 100%;
  }
  .lp-cta-wrap .lp-cta {
    width: 100%;
  }
}

.lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
[lang="ar"] .lp-cta {
  font-family: var(--font-arabic);
}
.lp-cta:hover {
  background: var(--brand-deep);
}
.lp-cta:active {
  transform: scale(0.98);
}
.lp-cta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Hero-only CTA treatment — Figma's hero button is a white/cream pill with
   brand-orange text, inverted from the solid-orange `.lp-cta` every other
   button on this page uses (the founding-partner form's submit button
   shares that base `.lp-cta` class, so the override is scoped to
   `.lp-hero__content` rather than changing the shared rule). Also a fixed
   300px, not the 100%-width-below-480px the shared rule normally gives
   buttons — matches Figma's own `w-[300px]` at both breakpoints. */
.lp-hero__content .lp-cta-wrap {
  display: inline-block;
  width: auto;
}
.lp-hero__content .lp-cta {
  width: 300px;
  max-width: 100%;
  background: var(--paper);
  color: var(--brand);
  border: 1px solid var(--line);
  box-shadow:
    0 4px 4px rgba(0, 0, 0, 0.06),
    0 8px 12px rgba(0, 0, 0, 0.1);
}
.lp-hero__content .lp-cta:hover {
  background: var(--paper);
  opacity: 0.92;
}

/* -- problem (round 4 — Figma node 244:1813 "web-FEATURES/en", file
   CeB6ojt3hjm0WJYAEKnkr1): two static "receipt" cards side by side, the
   second staggered lower. Replaces round 3 §12's single scroll-animated
   card (`problem.js` retired — this design has no scroll motion; the
   earlier "adopt the real design" owner instruction that introduced that
   version was superseded by this later Figma pass). Section ground is
   `--paper`, matching the Figma frame's own `#fcfbf9` fill; each card
   floats on it in `--surface` (white). Mobile now has its own reference
   too (round 5 — node 252:3207 "problem", same file): below 720px the
   section's own vertical padding tightens to 24px (Figma `py-[24px]` vs.
   the shared --section-py's 56px) and the two cards sit almost flush —
   see the .lp-problem__cards override below. */

.lp-problem {
  background: var(--paper);
}
@media (max-width: 719px) {
  .lp-problem {
    padding-block: 24px;
  }
}

.lp-problem__cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
/* Figma mobile frame (252:3207, 402px width) stacks the two cards with
   only a 2px gap — they read as one torn receipt split in half, not two
   separate cards — rather than the wider fallback gap used between
   719px and the row breakpoint below (no reference frame covers that
   tablet range, so it keeps the old single-column spacing). */
@media (max-width: 719px) {
  .lp-problem__cards {
    gap: 2px;
  }
}
/* The two 432px cards + the 107px gap between them (Figma x-offsets
   234/773, both 432px wide, in a 1440px frame) need 971px of row width —
   1120px is the first viewport width (section-px included) that fits
   that without shrinking the cards below their Figma size. Below it the
   cards stack full-width/centered instead (no reference frame covers the
   720–1119px tablet range, so it keeps the same fallback). */
@media (min-width: 1120px) {
  .lp-problem__cards {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 107px;
  }
  /* Figma: the second card ("Do your visitors" / "وهل زوارك") sits 73px
     lower than the first. Same DOM order in both languages — the
     stagger lands on whichever physical side `dir` puts that card on
     (right in English, left in Arabic), mirroring the design rather than
     copying its English-only coordinates. */
  .lp-problem__card--offset {
    margin-top: 73px;
  }
}

.lp-problem__card {
  position: relative;
  width: 432px;
  max-width: 100%;
  background: var(--surface);
  padding-block: 48px;
  /* `filter`, not `box-shadow` — so the shadow is computed from the
     combined alpha shape of the card AND the perforated-edge
     pseudo-elements below. The opaque white dashes then cut scalloped
     notches out of the shadow, like a torn receipt edge; a plain
     `box-shadow` (a flat rectangle) can't produce that. */
  filter:
    drop-shadow(0 4px 4px rgba(0, 0, 0, 0.06))
    drop-shadow(0 -13px 50px rgba(0, 0, 0, 0.08));
}
/* Perforated top/bottom edge — Figma "Line 2"/"Line 4": white, 4px tall,
   16px dash / 16px gap, straddling the card's edge (-4px to 0px). */
.lp-problem__card::before,
.lp-problem__card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 4px;
  background-image: repeating-linear-gradient(
    to right,
    #ffffff 0 16px,
    transparent 16px 32px
  );
}
.lp-problem__card::before {
  top: -4px;
}
.lp-problem__card::after {
  bottom: -4px;
}

.lp-problem__card-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-inline: 24px;
}

.lp-problem__group-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-problem__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
  text-align: center;
  color: var(--ink);
}
[lang="ar"] .lp-problem__heading {
  font-family: var(--font-arabic);
  font-weight: 400;
}

/* Dotted rule under each heading — Figma "Line 3": 1px, #666666, 1px
   dash / 4px gap. */
.lp-problem__divider {
  border: none;
  height: 1px;
  margin: 0;
  background-image: repeating-linear-gradient(
    to right,
    #666666 0 1px,
    transparent 1px 5px
  );
}

.lp-problem__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-inline: 20px;
  margin: 0;
  list-style: none;
}

.lp-problem__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.lp-problem__label,
.lp-problem__num {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.2;
  color: var(--ink);
}
[lang="ar"] .lp-problem__label,
[lang="ar"] .lp-problem__num {
  font-family: var(--font-arabic);
}
.lp-problem__num {
  flex: none;
  line-height: 1;
}

/* -- solution -- */

.lp-solution {
  background: var(--paper);
}
/* Figma's own section frame for this one (get_design_context, node
   131:10602 "web-FEATURES/en" EN / 131:10702 AR, file
   CeB6ojt3hjm0WJYAEKnkr1) is `py-[48px]` at 1440px — much tighter than
   the shared `--section-py` scale (104px at this same breakpoint), which
   was sized for sections without a strong reference and left "Meet sra"
   sitting noticeably lower than the design. Scoped to this section (not
   a `--section-py` change) since only this frame — not Hero or Problem —
   has a clean, verified desktop reference to match; only overridden at
   the desktop breakpoint, where the mismatch was verified (56px/80px at
   the smaller breakpoints are already close to 48px). */
@media (min-width: 1024px) {
  .lp-solution {
    padding-block: 48px;
  }
}

.lp-solution__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  text-align: center;
  margin-bottom: 8px;
}
[lang="ar"] .lp-solution__heading {
  font-family: var(--font-arabic);
}

.lp-tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.lp-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lp-tab__label {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--muted);
  transition: color 0.2s, font-weight 0.2s;
}
[lang="ar"] .lp-tab__label {
  font-family: var(--font-arabic);
}
.lp-tab.is-active .lp-tab__label {
  font-weight: 700;
  color: var(--ink);
}

.lp-tab__dots {
  display: flex;
  gap: 6px;
}

.lp-tab__dot {
  height: 4px;
  width: 32px;
  border-radius: 2px;
  background: var(--line);
  transition: background-color 0.2s, opacity 0.2s;
}
.lp-tab__dot.is-filled {
  background: var(--brand);
  opacity: 0.3;
}
.lp-tab__dot.is-current {
  background: var(--brand);
  opacity: 1;
}

/* Group wrappers flatten away on tablet/desktop so the existing combined
   seven-step animation keeps its exact structure. .lp-solution__stage (the
   mobile-only crossfade container added around each group's items) flattens
   away here too, for the same reason — only the mobile-pinned variant below
   turns it into a real, positioned box. */
.lp-solution__group,
.lp-solution__group-sticky,
.lp-solution__stage {
  display: contents;
}
.lp-solution__mobile-header {
  display: none;
}

.lp-solution__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-block: 40px;
  border-top: 1px solid var(--line);
}
.lp-solution__item:first-child {
  border-top: none;
}
/* Design review: web layout pulled from Figma node 131:10622 ("Made for
   you 1") — an asymmetric row (flexible text column, image column capped
   at the design's 600px) with only an 8px gap between them, rather than
   an even 1fr/1fr split. `flex-basis` (not a fixed grid track) keeps this
   from breaking in the 768–1023px range, where `--container` hasn't yet
   grown past its mobile 680px value (see :root above) — a fixed 600px
   column would leave almost nothing for the text column there. */
@media (min-width: 768px) {
  .lp-solution__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .lp-solution__item > div:first-child {
    flex: 1 1 320px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 24px;
  }
}

.lp-solution__icon {
  width: 48px;
  height: 48px;
  color: var(--brand);
  margin-bottom: 24px;
}
/* Overrides the base rule above — kept as its own block (rather than
   folded into the .lp-solution__item layout media query higher up) so it
   comes after the unscoped rule in source order and actually wins the
   cascade; two same-specificity rules for the same property otherwise
   resolve by source position, not by which one has a media condition. */
@media (min-width: 768px) {
  .lp-solution__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 64px;
  }
}

.lp-solution__item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--ink);
}
[lang="ar"] .lp-solution__item h3 {
  font-family: var(--font-arabic);
}
@media (min-width: 768px) {
  .lp-solution__item h3 {
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 16px;
  }
}

.lp-solution__item p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.lp-solution__img {
  display: none;
}
/* Design review: the exported feature photos (Google Drive "Landing Page
   features images" folder) already bake in their own soft brand-glow
   background at the correct blur/opacity (Figma's "BLUR BG" layer) and
   fade to transparent at the edges — so no card background, border, or
   radius is needed here; the img just needs sizing that keeps it near
   Figma's 600px panel while staying flexible for the 768–1023px range
   (see the .lp-solution__item comment above). */
@media (min-width: 768px) {
  .lp-solution__img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 320px;
    max-width: 600px;
  }
  .lp-solution__img img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* Pinned scroll-through enhancement. solution.js activates it only when
   motion is allowed; without JS or with reduced motion, every feature remains
   visible in the static stacked list above. */
.lp-solution.js-scrolly .lp-solution__scroll-area {
  position: relative;
  height: 560vh;
}
.lp-solution.js-scrolly .lp-solution__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  /* Design review follow-up: the owner's Figma reference for the pinned
     mid-scroll state shows "Meet sra" still on screen together with the
     tabs/features, not just at the moment the section is first entered —
     so the heading (moved into the markup here, as this box's first flex
     child, right before .lp-tabs) needs to be part of what the sticky pin
     holds fixed for the whole 560vh scroll-through, not left behind in
     normal flow above it. `justify-content: center` would vertically
     center the whole (now taller) block in the full 100vh box, which is
     not what the reference shows; flex-start + this padding-top instead
     positions the heading near the top of the viewport and it stays
     there for the whole pinned sequence.

     padding-top was `13vh` (~156px at a 1200px-tall viewport) — on top of
     the 48px the section itself already adds above the sticky box (see
     the .lp-solution comment above), that read as too much air before
     "Meet sra" even once pinned. Fixed at 64px (owner-verified against
     the design directly in devtools), not viewport-relative — it's
     positioning a heading at the top of a pin, not scaling with a
     feature's own size, so a fixed value is also more predictable across
     viewport heights than a vh one was. */
  justify-content: flex-start;
  padding-top: 64px;
  padding-bottom: 13vh;
  overflow: hidden;
}
.lp-solution.js-scrolly .lp-solution__heading {
  /* Gap from the heading to the tabs, measured against the Figma
     reference as a multiple of the heading's own glyph height (see spec
     0040 §11 item 6) — kept as its own rule since, with the heading now
     inside the sticky box, `.lp-solution__sticky`'s padding-top instead
     controls the (separate) gap from the viewport's top edge. */
  margin-bottom: 40px;
}
.lp-solution.js-scrolly .lp-solution__track {
  position: relative;
  width: 100%;
  /* Design review follow-up: a fixed min-height (was min(52vh, 460px))
     capped the mockup box's row at a small fixed size regardless of the
     viewport's actual height, leaving a large dead-space gap below it on
     any screen taller than ~885px (460px / 0.52) — confirmed against the
     owner's own screenshot, which showed exactly that. flex: 1 instead
     lets it fill whatever's left between the tabs and the sticky box's
     own padding-bottom above, matching the Figma reference's proportions
     at any viewport height. */
  flex: 1;
  min-height: 0;
}
.lp-solution.js-scrolly .lp-solution__item {
  position: absolute;
  inset: 0;
  border-top: none;
  padding-block: 0;
  /* The item is now a tall box (it fills the flexed .lp-solution__track
     above), but its grid content (icon+text / mockup image) only needs
     its own natural height — align-items: center (set on the base rule)
     centers the two columns against *each other*, but align-content is
     what centers the single content row within the extra vertical space
     of this taller container. Without it the content sits pinned to the
     top, same dead-space-below bug as the track's old fixed height. */
  align-content: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.3s ease, transform 0.3s ease,
    visibility 0s linear 0.3s;
  visibility: hidden;
  pointer-events: none;
}
.lp-solution.js-scrolly .lp-solution__item.is-current {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
  pointer-events: auto;
}

/* Mobile uses two independent pinned sequences, one per audience. */
@media (max-width: 767px) {
  /* Design review: `.lp-solution__mobile-header` below (static markup,
     always rendered on mobile — not JS-injected) carries its own
     "Meet sra" copy for every group, so this top-level <h2> was rendering
     a second, visually-stacked "Meet sra" directly above it, in both the
     JS-pinned path and the no-JS/reduced-motion fallback (the mobile-title
     bump above made the duplicate glaring, but it was always there).

     First attempt used the usual width:1px/clip:rect sr-only recipe
     instead of `display:none`, specifically to keep this <h2> in the
     accessibility tree as the section's one real heading (the per-group
     copy is `aria-hidden`, presentational only). On-device Safari painted
     it at full, un-clipped size mid-scroll instead — it's `position:
     absolute` with no positioned ancestor here (`.lp-solution__sticky`
     is plain static flow on mobile, only sticky under `.js-scrolly`,
     which is desktop-only), so it resolves against the initial
     containing block via each engine's own "static position" fallback;
     neither Chromium nor desktop WebKit reproduced the glitch, but
     real iOS did, strongly enough not to re-risk it. `display:none` has
     no positioning math to get wrong. The accessible name moves to a
     plain `aria-label` on `<section id="solution">` instead (see the
     HTML) — a string attribute works whether or not this element is
     rendered, so nothing is lost. */
  .lp-solution__heading {
    display: none;
  }
  .lp-solution .lp-tabs {
    display: none;
  }
  .lp-solution__track {
    position: static;
  }
  .lp-solution__group,
  .lp-solution__group-sticky {
    display: block;
  }
  .lp-solution__group {
    position: relative;
  }
  .lp-solution__group + .lp-solution__group {
    margin-top: 48px;
  }
  .lp-solution__mobile-header {
    display: block;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 18px;
  }
  [lang="ar"] .lp-solution__mobile-header {
    font-family: var(--font-arabic);
  }
  /* Design review: "Meet sra" used to live in its own <h2> above the two
     pinned groups, in normal flow — on mobile it scrolled out of view
     within the first ~100px of entering the section, long before either
     group's own ~260vh pinned sequence even got going, which read as the
     title "disappearing" rather than introducing the section. The <h2>
     itself stays (fallback/SEO heading for no-JS and reduced-motion, where
     nothing is pinned), but each group's own already-sticky header now
     carries a duplicate, presentational copy — so it rides along for that
     group's whole pinned duration instead of a second, independently
     pinned element with its own overlap-prone offset math. */
  /* Design review: was 20px — barely bigger than the "Made for X" subtitle
     right below it, no real hierarchy. Figma's mobile frame (node pulled
     2026-10-07) shows "Meet sra" at essentially the same scale as the
     desktop heading (see .lp-solution__heading above, 48px); measured
     against that reference the title's glyph height here was running at
     ~43% of the Figma one. Matches .lp-solution__heading's size directly
     rather than inventing a separate mobile value. */
  .lp-solution__mobile-title {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 8px;
  }
  [lang="ar"] .lp-solution__mobile-title {
    font-family: var(--font-arabic);
  }
  /* Anchors the progress dots (below) to the vertical middle of the feature
     content rather than the top-of-card label row. */
  .lp-solution__group-sticky {
    position: relative;
  }
  .lp-solution__mobile-progress {
    position: absolute;
    top: 50%;
    inset-inline-end: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .lp-solution__mobile-progress span {
    width: 4px;
    height: 28px;
    border-radius: 2px;
    background: var(--line);
    transition: background-color 0.2s, opacity 0.2s;
  }
  .lp-solution__mobile-progress span.is-filled {
    background: var(--brand);
    opacity: 0.3;
  }
  .lp-solution__mobile-progress span.is-current {
    background: var(--brand);
    opacity: 1;
  }
  /* Design review: was `min-height: 62vh` — taller than the content on most
     phones with no vertical centering, so the leftover space collected as
     dead white space below the icon/heading/caption block. Figma's own
     mobile feature-card component (node 14:2396, text-only) was a fixed
     480px; now that the feature photo is shown on mobile too (per the
     owner, matching the full-page Figma pull's "Made for your guests 2" /
     "Made for you 1" nodes, 189:18430/189:18448), those nodes' own 620px
     is used instead — still a fixed height (not viewport-relative, so it
     doesn't grow again on a tall phone) with align-content: center on the
     existing single-row grid. */
  .lp-solution__item {
    min-height: 620px;
    align-content: center;
    padding-block: 24px;
    padding-inline-end: 20px;
    border-top: none;
  }
  .lp-solution__icon {
    color: var(--ink);
  }
  .lp-solution__img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
  }
  .lp-solution__img img {
    display: block;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-2xl);
    object-fit: cover;
  }

  .lp-solution.js-mobile-scrolly .lp-solution__group {
    margin-top: 0;
  }
  /* Design review follow-up: the pinned "camera" itself used to be a full
     100vh box with the label/dots/item each independently top-offset in vh
     units (12vh/24vh/40vh) — an approximation that, combined with the full
     viewport height, left a large unfilled gap below whichever feature was
     showing. Replaced with the same fixed-height card used by the static
     fallback above, vertically centered in the viewport while pinned
     (`top: calc(50vh - 310px)` — half the card's own 620px height — rather
     than a percentage, which `position: sticky` doesn't resolve against
     the viewport). The label and progress dots return to normal flow at
     the top of this card; only the actual crossfading feature content
     (`.lp-solution__stage`, sized to fill what's left of the card) still
     needs absolute positioning, since multiple items must overlap at the
     same spot for the crossfade. */
  .lp-solution.js-mobile-scrolly .lp-solution__group-sticky {
    position: sticky;
    top: calc(50vh - 310px);
    height: 620px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .lp-solution.js-mobile-scrolly .lp-solution__mobile-header {
    flex-shrink: 0;
    margin-bottom: 24px;
  }
  .lp-solution.js-mobile-scrolly .lp-solution__stage {
    /* Undoes the base rule's `display: contents` — this variant needs a
       real, positioned box so the absolutely-positioned crossfading items
       below are bounded to it (not to the whole group-sticky, which also
       contains the header). */
    display: block;
    position: relative;
    flex: 1;
    min-height: 0;
  }
  .lp-solution.js-mobile-scrolly .lp-solution__item {
    position: absolute;
    inset: 0;
    min-height: 0;
    align-content: center;
    padding-block: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    transition: opacity 0.3s ease, transform 0.3s ease,
      visibility 0s linear 0.3s;
    pointer-events: none;
  }
  .lp-solution.js-mobile-scrolly .lp-solution__item.is-current {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
    pointer-events: auto;
  }
}

/* -- founding team -- */

.lp-team {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  text-align: center;
}

.lp-team__blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 85, 13, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.lp-team__blob--1 {
  top: -20%;
  inset-inline-start: -10%;
  width: 50%;
  aspect-ratio: 1;
}
.lp-team__blob--2 {
  bottom: -10%;
  inset-inline-end: -5%;
  width: 40%;
  aspect-ratio: 1;
}

.lp-team__heading {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 48px);
  margin-bottom: 24px;
}
[lang="ar"] .lp-team__heading {
  font-family: var(--font-arabic);
}

.lp-team__body {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
}
.lp-team__body p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 20px;
}
.lp-team__body p:first-child {
  margin-top: 0;
}

.lp-team__body .lp-team__belief {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  color: var(--brand);
}
[lang="ar"] .lp-team__belief {
  font-family: var(--font-arabic);
  font-weight: 700;
}

/* -- pricing --
   Designer-supplied markup (between the founding team and the founding
   partner form). No Figma frame or stylesheet came with it, so the look
   borrows the Problem section's receipt vocabulary — white perforated
   cards, dotted rules, 01–05 numbered rows — to read as one system. */

.lp-prices {
  background: var(--paper);
}

.lp-prices__head {
  text-align: center;
  margin-bottom: 48px;
}

.lp-prices__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 48px);
  line-height: 1.1;
  margin-bottom: 12px;
}
[lang="ar"] .lp-prices__heading {
  font-family: var(--font-arabic);
}

.lp-prices__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.lp-prices__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 432px;
  margin-inline: auto;
}
@media (min-width: 960px) {
  .lp-prices__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: none;
  }
}

/* Same receipt card as .lp-problem__card — see the notes there for why
   it's `filter` rather than `box-shadow`. */
.lp-price,
.lp-prices__includes {
  position: relative;
  background: var(--surface);
  padding-block: 40px;
  filter:
    drop-shadow(0 4px 4px rgba(0, 0, 0, 0.06))
    drop-shadow(0 -13px 50px rgba(0, 0, 0, 0.08));
}
.lp-price::before,
.lp-price::after,
.lp-prices__includes::before,
.lp-prices__includes::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 4px;
  background-image: repeating-linear-gradient(
    to right,
    #ffffff 0 16px,
    transparent 16px 32px
  );
}
.lp-price::before,
.lp-prices__includes::before {
  top: -4px;
}
.lp-price::after,
.lp-prices__includes::after {
  bottom: -4px;
}

.lp-price {
  display: flex;
  flex-direction: column;
}

.lp-price__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-inline: 28px;
}

/* "2 Weeks Trial" — a pill tab straddling the card's top edge. */
.lp-price__offer {
  position: absolute;
  top: 0;
  inset-inline-start: 50%;
  translate: -50% -50%;
  z-index: 1;
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
[dir="rtl"] .lp-price__offer {
  translate: 50% -50%;
}

.lp-price__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-price__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
}
[lang="ar"] .lp-price__name {
  font-family: var(--font-arabic);
  font-weight: 600;
}

.lp-price__figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.lp-price__number {
  font-family: var(--font-sans);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.lp-price__currency {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}
.lp-price--offer .lp-price__number {
  color: var(--brand);
}

/* Dotted rule — same as .lp-problem__divider. */
.lp-price__rule {
  border: none;
  height: 1px;
  margin: 0;
  background-image: repeating-linear-gradient(
    to right,
    #666666 0 1px,
    transparent 1px 5px
  );
}

.lp-price__block {
  margin: 0;
}
.lp-price__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 16px;
}
.lp-price__row dt {
  color: var(--muted);
}
.lp-price__row dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.lp-price__cta {
  margin-top: auto;
}
.lp-price__cta .lp-cta {
  width: 100%;
}
/* Base .lp-cta's white focus ring vanishes on a white card. */
.lp-price__cta .lp-cta:focus-visible {
  outline-color: var(--brand);
}

.lp-prices__includes {
  max-width: 720px;
  margin: 72px auto 0;
  padding-inline: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-prices__includes-title,
.lp-prices__addons-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}
[lang="ar"] .lp-prices__includes-title,
[lang="ar"] .lp-prices__addons-title {
  font-family: var(--font-arabic);
  font-weight: 600;
}

/* Same rows as .lp-problem__list. */
.lp-price__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-inline: 12px;
  margin: 0;
  list-style: none;
}
.lp-price__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  line-height: 1.3;
}
.lp-price__num {
  flex: none;
  line-height: 1;
  color: var(--muted);
}

.lp-prices__addons {
  max-width: 720px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-prices__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.lp-prices__chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink);
}

.lp-prices__fine {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* -- founding partner / offer + form -- */

.lp-offer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--ink) 100%);
  color: #ffffff;
}

.lp-offer__blob {
  position: absolute;
  top: -20%;
  inset-inline-start: 55%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 85, 13, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.lp-offer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 680px) {
  .lp-offer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.lp-offer__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 540px;
}
[lang="ar"] .lp-offer__heading {
  font-family: var(--font-arabic);
}

.lp-offer__sub {
  font-size: 14px;
  line-height: 1.5;
  color: var(--border);
  max-width: 460px;
}
.lp-offer__sub strong {
  color: #ffffff;
}

.lp-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.lp-field input {
  height: 48px;
  padding-inline: 16px;
  background: var(--field-bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xl);
  color: var(--ink);
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.15s;
}
[lang="ar"] .lp-field input {
  font-family: var(--font-arabic);
  text-align: right;
}
@media (max-width: 719px) {
  /* Below 16px, iOS Safari auto-zooms the viewport on focus. */
  .lp-field input {
    font-size: 16px;
  }
}
.lp-field input:focus-visible {
  border-color: var(--brand);
}
.lp-field input[aria-invalid="true"] {
  border-color: var(--danger);
}

.lp-field__error {
  display: none;
  font-size: 13px;
  color: var(--danger);
}
.lp-field input[aria-invalid="true"] ~ .lp-field__error {
  display: block;
}

.lp-form__status {
  display: none;
  background: var(--brand-900);
  border: 1.5px solid var(--brand-700);
  border-radius: var(--radius-2xl);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}
.lp-form__status.is-visible {
  display: block;
}
.lp-form.is-hidden {
  display: none;
}
.lp-form__status h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: #ffd8b8;
}
[lang="ar"] .lp-form__status h3 {
  font-family: var(--font-arabic);
}
.lp-form__status p {
  margin-top: 8px;
  color: var(--border);
}

/* -- landing footer -- */

.lp-footer {
  background: var(--brand);
  color: #ffffff;
  padding-block: 40px;
  padding-inline: var(--section-px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 640px) {
  .lp-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.lp-footer__brand {
  display: flex;
  align-items: center;
}
.lp-footer__brand img {
  /* The lockup (mark + bilingual wordmark) is one exported asset, same on
     both language pages — round 3 §12 item 8 — not live text, so there's
     no per-language variant to swap. */
  height: 48px;
  width: auto;
}
@media (min-width: 640px) {
  .lp-footer__brand img {
    height: 64px;
  }
}

.lp-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.lp-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.lp-footer__links a:hover {
  opacity: 1;
}
.lp-footer__links svg {
  width: 16px;
  height: 16px;
  flex: none;
}
/* -- QR modal -- */

.lp-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* Translucent scrim + blur. Previously made solid/opaque to hide the
     hero's phone mockup image showing through blurred behind the popup —
     that mockup is gone now (hero redesign, round 3), so there's nothing
     left to hide and an opaque backdrop just blocks the whole page behind
     the modal for no reason. */
  background: rgba(35, 35, 35, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lp-modal.is-open {
  display: flex;
}

.lp-modal__panel {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: 40px;
  max-width: 360px;
  width: 100%;
  text-align: center;
}

.lp-modal__close {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-modal__close:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
/* Design review: no stroke/outline on hover or a mouse-driven focus (some
   browsers draw a default button focus ring on click, not just on
   keyboard nav) — the keyboard :focus-visible ring above is unaffected. */
.lp-modal__close:hover,
.lp-modal__close:focus:not(:focus-visible) {
  outline: none;
}


.lp-modal__qr {
  width: 200px;
  height: 200px;
  margin-inline: auto;
  margin-bottom: 24px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: block;
  box-sizing: content-box;
}

.lp-modal__panel p {
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
}

/* -- reduced motion: cut every landing-page transition/animation -- */
@media (prefers-reduced-motion: reduce) {
  .lp-cta,
  .lp-tab__label,
  .lp-tab__dot,
  .lp-solution.js-scrolly .lp-solution__item,
  .lp-footer__links a {
    transition: none !important;
  }
}
