/* =========================================================
   JAWHAR — site styles
   Brand colours live here. Change them once, the whole site updates.
   Works for both Arabic (RTL) and English (LTR): spacing uses
   logical properties (inline-start / inline-end), so nothing
   needs to be mirrored by hand.
   ========================================================= */
:root {
  --black: #0A0A0A;      /* brand black */
  --panel: #151515;      /* raised surfaces */
  --panel-2: #1C1C1C;    /* surfaces on panels */
  --line: #2A2A2A;       /* borders */
  --yellow: #FFC800;     /* brand yellow */
  --white: #FFFFFF;
  --muted: #A6A6A6;      /* secondary text */

  /* Latin glyphs use Chakra Petch / Barlow; Arabic glyphs fall through
     to Alexandria / IBM Plex Sans Arabic, so mixed text stays on-brand. */
  --display: "Chakra Petch", "Alexandria", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "IBM Plex Sans Arabic", "Helvetica Neue", Arial, sans-serif;

  --cut: 14px;           /* size of the chamfered "gem" corners */
  --max: 1160px;
  --slope: -19.8deg;     /* angle of the slash in the logo */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[dir="rtl"] body { line-height: 1.8; }

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
/* Arabic letters join, so no letter-spacing, and taller lines for the dots and marks */
[dir="rtl"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); }
[dir="rtl"] h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
[dir="rtl"] h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 62ch; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }  /* tighter rhythm between sections */
.section--panel { background: var(--panel); }
.lead { font-size: 1.3rem; color: #E6E6E6; }
.muted { color: var(--muted); }
.hl { color: var(--yellow); }
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; }

/* The gem bar: the yellow faceted bar from the logo, used as the brand's one recurring mark.
   It keeps the logo's direction (rising to the right) in both languages. */
.gem {
  display: block;
  width: 64px;
  height: 14px;
  background: var(--yellow);
  transform: skewY(var(--slope));
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
  margin-bottom: 1.6rem;
}

/* ---------- Buttons (chamfered like the logo) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 0;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background-color .15s ease, color .15s ease;
}
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow:hover { background: var(--white); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--line); clip-path: none; }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--white); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.is-off { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.header__logo img { height: 34px; width: auto; }
.header nav { display: flex; align-items: center; gap: 1.6rem; }
.header nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; }
.header nav a:not(.btn):hover { color: var(--white); }
.header .btn { padding: .7rem 1.3rem; font-size: 1rem; }
.lang {
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  padding: .35rem .7rem;
  border: 1px solid var(--line);
}
.header nav a.lang { color: var(--white); }
.header nav a.lang:hover { border-color: var(--yellow); }
@media (max-width: 860px) { .header nav a:not(.btn):not(.lang) { display: none; } }
@media (max-width: 420px) { .header__logo img { height: 28px; } .header nav { gap: .8rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 7rem); isolation: isolate; }

/* Hero photo: black-and-yellow duotone that fades into the page on the text side */
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: grayscale(1) contrast(1.2) brightness(.9); }
.hero__bg::before { /* yellow tint on the highlights */
  content: ""; position: absolute; inset: 0;
  background: var(--yellow); mix-blend-mode: multiply; opacity: .5;
}
.hero__bg::after { /* fades: into black toward the text, at the bottom, and a soft yellow glow */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--black) 0%, rgba(10, 10, 10, 0) 30%),
    linear-gradient(to right, var(--black) 0%, rgba(10, 10, 10, .82) 30%, rgba(10, 10, 10, .35) 60%, rgba(10, 10, 10, .55) 100%);
}
[dir="rtl"] .hero__bg::after {
  background:
    linear-gradient(to top, var(--black) 0%, rgba(10, 10, 10, 0) 30%),
    linear-gradient(to left, var(--black) 0%, rgba(10, 10, 10, .82) 30%, rgba(10, 10, 10, .35) 60%, rgba(10, 10, 10, .55) 100%);
}
@media (max-width: 900px) {
    .hero__bg::after, [dir="rtl"] .hero__bg::after {
    background: linear-gradient(to top, var(--black) 10%, rgba(10, 10, 10, .78) 55%, rgba(10, 10, 10, .55) 100%);
  }
}
/* A huge, faint copy of the gem bar behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset-inline-end: -12%;
  top: 8%;
  width: 62%;
  height: 16%;
  background: var(--yellow);
  opacity: .05;
  z-index: -1;
  transform: skewY(var(--slope));
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.trust { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: var(--muted); font-size: 1rem; }
.trust li { display: flex; align-items: center; gap: .6rem; }
.trust li::before { content: ""; width: 12px; height: 6px; background: var(--yellow); transform: skewY(var(--slope)); flex: none; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Offer panel */
.offer {
  background: rgba(21, 21, 21, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 2.2rem;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  border-top: 4px solid var(--yellow);
}
.offer__name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--muted); margin-bottom: .4rem; }
.offer__price { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.4rem; }
.offer__price strong { font-family: var(--display); font-size: 3.6rem; line-height: 1; }
.offer__price s { color: var(--muted); font-size: 1.3rem; }
.offer__save {
  align-self: center;
  padding: .3rem .7rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.2;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.offer__note { font-size: .95rem; color: var(--muted); margin: 1rem 0 0; text-align: center; max-width: none; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.ticks li { position: relative; padding-inline-start: 1.9rem; margin-bottom: .7rem; }
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .65em;
  width: 14px;
  height: 7px;
  background: var(--yellow);
  transform: skewY(var(--slope));
}
.ticks--no li { color: var(--muted); }
.ticks--no li::before { background: var(--line); height: 3px; top: .8em; transform: none; }

/* ---------- Proof bar (under the hero): real credentials ---------- */
.strip { border-block: 1px solid var(--line); background: var(--black); }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1.2rem; }
.strip li + li { border-inline-start: 1px solid var(--line); }
.strip span { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.strip span b { display: block; color: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.strip__mark { flex: none; font-family: "Chakra Petch", var(--display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--yellow); }
.strip__mark--text { font-size: 1.35rem; letter-spacing: .03em; }
.strip__logos { flex: none; display: flex; align-items: center; gap: .4rem; }
.strip__logos img { height: 40px; width: auto; }
@media (max-width: 1120px) {
  .strip ul { grid-template-columns: 1fr 1fr; }
  .strip li:nth-child(3) { border-inline-start: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .strip ul { grid-template-columns: 1fr; }
  .strip li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .strip li { padding-inline: 0; }
}

/* ---------- Section heads ---------- */
/* Title with its intro right under it (no empty middle column on wide screens) */
.split-head { display: grid; gap: .9rem; max-width: 44rem; margin-bottom: 2.6rem; }
.split-head p { margin: 0; font-size: 1.1rem; max-width: 60ch; }
.split-head h2 { margin: 0; }

/* ---------- Pain points ---------- */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.pain {
  background: var(--panel);
  padding: 1.8rem 1.6rem;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.pain__n { font-family: var(--display); font-weight: 700; color: var(--yellow); font-size: 1rem; margin-bottom: 1.2rem; display: block; }
.pain h3 { font-size: 1.25rem; }
.pain p { color: var(--muted); font-size: 1rem; margin: 0; }
/* The answer to the pains: a full-width callout instead of a short line floating on one side */
.pains__answer { margin: 2rem 0 0; padding: clamp(1.3rem, 3vw, 1.9rem) clamp(1.3rem, 3vw, 2.2rem); background: var(--panel); border-inline-start: 4px solid var(--yellow);
  font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; max-width: none; }
@media (max-width: 960px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; } }

/* ---------- My story (Wisam's own before / after) ---------- */
.story { position: relative; overflow: hidden; border-top: 1px solid var(--line); isolation: isolate; }
.story::before { /* big faint gem bar behind the photo */
  content: ""; position: absolute; z-index: -1;
  inset-inline-end: -8%; top: 30%; width: 60%; height: 22%;
  background: var(--yellow); opacity: .07;
  transform: skewY(var(--slope));
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
}
.story__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.story .ticks { margin-bottom: 2rem; }
/* the two sentences of the heading on their own lines, with breathing room between them */
.story h2 { line-height: 1.35; }
.story h2 .hl { display: block; margin-top: .5em; }
.ba--feature { box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 860px) { .story__grid { grid-template-columns: 1fr; } .ba--feature { max-width: 480px; } }

/* ---------- What you get ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { padding-block: 2.2rem; padding-inline: 0 2rem; }
.pillar + .pillar { padding-inline-start: 2rem; border-inline-start: 1px solid var(--line); }
.pillar svg { width: 44px; height: 44px; margin-bottom: 1.4rem; }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 2rem 0; border-inline-start: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Is it for you ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.fit__col { padding: 2.2rem; background: var(--panel-2); }
.fit__col--yes { border-top: 4px solid var(--yellow); }
.fit__col--no { border-top: 4px solid var(--line); }
.fit__col h3 { margin-bottom: 1.4rem; }
.fit__col .ticks { margin: 0; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* ---------- How it works (a real sequence, so it's numbered) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 1.4rem; }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps li.is-key { border-top-color: var(--yellow); }
.steps__day { display: inline-block; margin-bottom: .6rem; padding: .15rem .55rem; font-size: .8rem; font-weight: 600; color: var(--yellow); box-shadow: inset 0 0 0 1px rgba(255, 200, 0, .4); }
@media (max-width: 1100px) { .steps--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .steps, .steps--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .steps, .steps--5 { grid-template-columns: 1fr; }
  /* Phones: the number sits beside the step instead of above it, so five steps don't fill five screens */
  .steps li { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .9rem; align-content: start; padding-top: 1.1rem; }
  .steps li::before { grid-row: span 3; font-size: 2.2rem; margin: 0; }
  .steps li > * { grid-column: 2; }
  .steps__day { justify-self: start; }
}

/* ---------- Results: before / after comparison cards ----------
   "Before" sits on the reading start side (right in Arabic, left in English).
   Dragging anywhere on the photo moves the divider; site.js sets --pos. */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.ba {
  margin: 0;
  background: var(--panel);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.ba__frame { --pos: 50%; position: relative; aspect-ratio: 4 / 5; overflow: hidden; user-select: none; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); }
[dir="rtl"] .ba__img--after { clip-path: inset(0 var(--pos) 0 0); }
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: var(--pos);
  width: 2px;
  margin-inline-start: -1px;
  background: var(--yellow);
  pointer-events: none;
}
.ba__handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.ba__tag {
  position: absolute;
  top: .9rem;
  padding: .3rem .75rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}
[dir="rtl"] .ba__tag { letter-spacing: 0; }
.ba__tag--before { inset-inline-start: .9rem; background: rgba(10, 10, 10, .8); color: var(--white); }
.ba__tag--after { inset-inline-end: .9rem; background: var(--yellow); color: var(--black); }
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.ba__frame:has(.ba__range:focus-visible) { outline: 3px solid var(--yellow); outline-offset: -3px; }

.ba__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.ba__stats div { padding: .9rem .4rem; text-align: center; }
.ba__stats div + div { border-inline-start: 1px solid var(--line); }
.ba__stats dt { font-size: .8rem; color: var(--muted); }
.ba__stats dd { margin: .15rem 0 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.ba__stats dd.hl { color: var(--yellow); }
.ba blockquote { margin: 0; padding: 1rem 1.2rem 1.3rem; border-top: 1px solid var(--line); color: #DADADA; font-size: 1rem; }
.ba blockquote cite { display: block; margin-top: .4rem; font-style: normal; color: var(--muted); font-size: .9rem; }
.ba__soon { margin: 0; max-width: none; padding: .9rem 1.2rem 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; text-align: center; }
.ba-note { margin: 1.6rem 0 0; font-size: .95rem; }
.ba__meta { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem; padding: .9rem 1.2rem 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.ba__goal { padding: .25rem .7rem; background: var(--yellow); color: var(--black); font-family: var(--display); font-weight: 700; font-size: .88rem; }
/* client results: before and after side by side ("before" on the reading start side) */
.ba-pair { margin: 0; background: var(--panel); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.ba-pair__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--black); }
.ba-pair__shot { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.ba-pair__shot img { width: 100%; height: 100%; object-fit: cover; }
.ba-pair .ba__tag { top: .7rem; inset-inline-start: .7rem; inset-inline-end: auto; padding: .25rem .6rem; font-size: .8rem; }

/* ---------- Coach ---------- */
.coach { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.coach__photo {
  aspect-ratio: 4 / 5;
  background: var(--panel);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
  display: grid;
  place-items: center;
  color: var(--muted);
  overflow: hidden;
}
.coach__photo img { width: 100%; height: 100%; object-fit: cover; }
/* experience highlight: big yellow number with its label beside it */
.coach__stat { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.coach__stat strong { font-family: "Chakra Petch", var(--display); font-weight: 700; font-size: clamp(2.8rem, 5vw, 3.6rem); line-height: 1; color: var(--yellow); }
.coach__stat span { font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; max-width: 17ch; }
.meaning {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-inline-start: 4px solid var(--yellow);
  background: var(--black);
}
.meaning p { margin: 0; color: #DADADA; }
.meaning strong { font-family: var(--display); color: var(--white); }
@media (max-width: 820px) { .coach { grid-template-columns: 1fr; } .coach__photo { aspect-ratio: 1 / 1; max-width: 460px; } }

/* ---------- Pricing: three packages ---------- */
.pricing { border-top: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--panel);
  border-top: 4px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.plan--featured { border-top-color: var(--yellow); background: #181818; }
.plan__tag {
  align-self: flex-start;
  margin-bottom: 1.2rem;
  padding: .3rem .75rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.3;
}
.plan__tag--outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { font-size: 1.55rem; margin-bottom: .4rem; }
.plan__for { color: var(--muted); font-size: 1rem; margin: 0; }
.plan .offer__price { margin: 1.4rem 0 .2rem; flex-wrap: wrap; }
.plan__per { color: var(--muted); font-size: 1.1rem; }
.plan__term { color: var(--muted); font-size: .95rem; margin: 0 0 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); max-width: none; }
.plan .ticks { flex: 1; margin-bottom: 1.8rem; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; } }

/* hero offer: link to the full package list under the button */
.offer__more { display: block; margin-top: 0; padding-block: .7rem; text-align: center; font-weight: 600; font-size: .98rem; color: var(--yellow); text-decoration: none; }
.offer__more:hover { text-decoration: underline; }

/* form: which package was chosen, with a link to change it */
.plan-banner { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .7rem; padding: .7rem 1rem; background: var(--panel); border-inline-start: 4px solid var(--yellow); font-size: 1rem; }
.plan-banner strong { font-family: var(--display); }
.plan-banner a { color: var(--yellow); font-weight: 600; }
/* "Change" opens the three packages right under the banner */
.plan-wrap { position: relative; display: inline-block; max-width: 100%; }
.plan-pick { position: absolute; inset-inline-start: 0; top: calc(100% + .4rem); z-index: 20; display: grid; gap: .4rem; width: min(22rem, calc(100vw - 2rem)); padding: .5rem; background: var(--panel-2); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.plan-pick[hidden] { display: none; }
.plan-pick button { display: grid; gap: .15rem; text-align: start; font: inherit; color: var(--white); background: var(--panel); border: 1px solid var(--line); border-inline-start: 4px solid var(--line); padding: .7rem .9rem; cursor: pointer; }
.plan-pick button strong { font-family: var(--display); }
.plan-pick button span { color: var(--muted); font-size: .9rem; }
.plan-pick button:hover, .plan-pick button:focus-visible { border-color: var(--yellow); outline: none; }
.plan-pick button[aria-pressed="true"] { border-inline-start-color: var(--yellow); }
.plan-pick button[aria-pressed="true"] strong::after { content: " ✓"; color: var(--yellow); }

/* ---------- The app: copy beside a phone mock-up of JAWHAR FIT ----------
   The phone is plain HTML/CSS (no screenshot), so it stays sharp and both languages share it. */
.app { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.feats { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.feats li { border-top: 1px solid var(--line); padding-top: 1rem; }
.feats b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: .3rem; }
.feats b::before { content: ""; display: inline-block; width: 12px; height: 6px; margin-inline-end: .55rem; vertical-align: middle; background: var(--yellow); transform: skewY(var(--slope)); }
.feats span { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.app__note { margin-top: 2rem; font-size: .95rem; }
@media (max-width: 960px) { .app { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

.app__visual { position: relative; display: grid; place-items: center; padding-block: 1rem 2.5rem; isolation: isolate; }
.app__visual::before { /* faint gem bar behind the phone */
  content: ""; position: absolute; z-index: -1; inset-inline: -10%; top: 38%; height: 26%;
  background: var(--yellow); opacity: .08; transform: skewY(var(--slope));
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
}
.mock {
  width: min(300px, 82vw);
  aspect-ratio: 9 / 18.5;
  padding: 11px;
  background: #050505;
  border-radius: 44px;
  box-shadow: 0 0 0 2px #2c2c2c, 0 0 0 7px #111, 0 40px 90px rgba(0, 0, 0, .7);
}
.mock__screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 2.4rem .8rem 0;
  border-radius: 34px;
  overflow: hidden;
  background: var(--black);
  font-size: .78rem;
  line-height: 1.45;
}
.mock__screen::before { /* the camera island */
  content: ""; position: absolute; top: .6rem; left: 50%; width: 32%; height: 1.15rem;
  transform: translateX(-50%); border-radius: 99px; background: #000;
}
.mock__top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.mock__top span { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.mock__top b { font-weight: 600; font-size: .7rem; color: var(--yellow); }
.mock__card { padding: .7rem .8rem; background: var(--panel); border: 1px solid var(--line); }
.mock__card .mock__bar:first-child { margin-top: 0; }
.mock__card small { display: block; color: var(--muted); font-size: .68rem; margin-bottom: .2rem; }
.mock__card strong { font-family: var(--display); font-size: 1.05rem; line-height: 1.25; }
.mock__card--hero { background: var(--yellow); color: var(--black); border: 0; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.mock__card--hero small { color: rgba(10, 10, 10, .7); }
.mock__row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.mock__go { padding: .3rem .8rem; background: var(--black); color: var(--white); font-family: var(--display); font-weight: 700; font-size: .75rem; }
.mock__meta { display: block; font-size: .7rem; }
.mock__bar { display: grid; gap: .2rem; margin-top: .45rem; font-size: .68rem; color: var(--muted); }
.mock__bar span { display: flex; justify-content: space-between; }
.mock__bar span b { color: var(--white); font-weight: 600; }
.mock__bar i { display: block; height: 5px; background: var(--line); }
.mock__bar i::after { content: ""; display: block; height: 100%; width: var(--v); background: var(--yellow); }
.mock__trend { display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; }
.mock__trend svg { width: 46%; height: 2.2rem; flex: none; }
.mock__down { color: var(--yellow); font-weight: 600; font-size: .72rem; }
.mock__nudge { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border-inline-start: 3px solid var(--yellow); background: var(--panel-2); font-size: .72rem; }
.mock__nudge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); flex: none; }
.mock__nav { margin-top: auto; display: flex; justify-content: space-around; padding: .6rem 0 1.1rem; border-top: 1px solid var(--line); font-size: .62rem; color: var(--muted); }
.mock__nav span:first-child { color: var(--yellow); font-weight: 600; }
/* the coach's message that pops out beside the phone */
.mock-toast {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: min(250px, 70vw);
  padding: .9rem 1rem;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  font-size: .88rem;
  line-height: 1.55;
}
.mock-toast b { display: flex; justify-content: space-between; font-family: var(--display); font-size: .92rem; margin-bottom: .25rem; }
.mock-toast b small { font-family: var(--body); font-weight: 500; color: var(--muted); font-size: .78rem; }
@media (max-width: 560px) { .mock-toast { position: relative; inset: auto; margin-top: -3rem; width: 88%; } .app__visual { padding-bottom: 0; } }

/* ---------- How the plan adapts: log, read, adjust ---------- */
.loop { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: loop; }
.loop li { position: relative; padding: 1.8rem 1.6rem; background: var(--panel-2); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); counter-increment: loop; }
.loop li::before { content: "0" counter(loop); display: block; font-family: var(--display); font-weight: 700; color: var(--yellow); margin-bottom: 1rem; }
.loop h3 { font-size: 1.3rem; }
.loop p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 860px) { .loop { grid-template-columns: 1fr; } }

.rules { border-top: 4px solid var(--yellow); background: var(--panel); padding: clamp(1.4rem, 3vw, 2.2rem); }
.rules h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.rules ul { list-style: none; padding: 0; margin: 0; }
.rules li { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: center; padding-block: 1rem; border-top: 1px solid var(--line); }
.rules li span { color: #DADADA; font-size: 1rem; }
.rules li strong { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.rules li i { font-style: normal; color: var(--yellow); font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1; }
[dir="rtl"] .rules li i { transform: scaleX(-1); }
@media (max-width: 640px) {
  .rules li { grid-template-columns: 1fr; gap: .3rem; }
  .rules li i { display: none; }
  .rules li strong::before { content: "← "; color: var(--yellow); }
  [dir="ltr"] .rules li strong::before { content: "→ "; }
}
.science { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.science div { display: flex; gap: .9rem; align-items: baseline; }
.science strong { flex: none; font-family: "Chakra Petch", var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--yellow); }
.science span { color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 860px) { .science { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: 1.4rem;
  padding-inline: 0 3rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yellow);
  font-size: 1.8rem;
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 1.4rem; margin: 0; }

/* ---------- Final call to action ---------- */
.cta-band { background: var(--yellow); color: var(--black); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { margin: 0; max-width: 18ch; }
.cta-band p { margin: .6rem 0 0; font-weight: 500; }
.cta-band .btn { background: var(--black); color: var(--white); }
.cta-band .btn:hover { background: var(--white); color: var(--black); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 2.5rem; color: var(--muted); font-size: .95rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.footer img { height: 26px; width: auto; }
.footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }

/* ---------- Sticky buy bar (phones only, appears once the hero offer scrolls away) ---------- */
.buybar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(21, 21, 21, .97);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.buybar.is-on { transform: none; }
.buybar__price { font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1.1; }
.buybar__price small { display: block; font-family: var(--body); font-weight: 500; font-size: .85rem; color: var(--muted); }
.buybar .btn { padding: .8rem 1.4rem; font-size: 1rem; }
@media (max-width: 760px) {
  .buybar { display: flex; }
  .has-buybar .footer { padding-bottom: 6.5rem; }
}

/* ---------- Gentle reveal on scroll (only when JS is running and motion is OK) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* =========================================================
   Sign-up, intake form & thank-you pages
   ========================================================= */
.page-head { padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.checkout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-bottom: 6rem; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }

.progress { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; font-size: .95rem; color: var(--muted); flex-wrap: wrap; }
.progress li { padding: .35rem .8rem; border: 1px solid var(--line); }
.progress li[aria-current="step"] { border-color: var(--yellow); color: var(--white); }

.form { display: grid; gap: 2.5rem; padding-bottom: 6rem; max-width: 820px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.form legend { font-family: var(--display); font-weight: 700; font-size: 1.5rem; margin-bottom: 1.2rem; padding: 0; }
.field { display: grid; gap: .45rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form fieldset { grid-template-columns: 1fr; } }

.field label, .field .label { font-weight: 600; font-size: 1rem; }
.field .hint { font-size: .9rem; color: var(--muted); margin: 0; }
input, select, textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: .85rem 1rem;
  width: 100%;
  border-radius: 0;
}
textarea { min-height: 120px; resize: vertical; }
/* Same height for text boxes and dropdowns (selects ignore line-height otherwise) */
input, select { line-height: 1.5; }
select, input:not([type=file]):not([type=checkbox]):not([type=radio]):not([type=range]) { height: calc(3.2rem + 2px); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--yellow); }
input[type="file"] { padding: .7rem; }
input[type="file"]::file-selector-button {
  font: inherit; font-weight: 600; margin-inline-end: 1rem; padding: .5rem 1rem;
  border: 0; background: var(--yellow); color: var(--black); cursor: pointer;
}
/* Phone numbers, emails and numbers always read left to right, even on Arabic pages */
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }

/* Step-by-step form: one section at a time with a progress bar (turned on by intake.js) */
.stepper { display: grid; gap: .7rem; }
.stepper[hidden] { display: none; }
.stepper__top { display: flex; justify-content: flex-start; align-items: baseline; gap: 1rem; }
.stepper__count { color: var(--muted); font-size: .95rem; }
.stepper__bar { height: 6px; background: var(--line); }
.stepper__bar span { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .3s ease; }
.form.is-stepped .step:not(.is-current) { display: none; }
.form-nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.form-nav [hidden] { display: none; }
.draft-note { font-size: .95rem; }

/* WhatsApp: country-code dropdown + number, always left to right */
.phone { display: grid; grid-template-columns: minmax(7.5rem, 40%) 1fr; gap: .5rem; }
.phone input { text-align: left; }

/* Type-to-search lists (country, country code): a text box with matching names underneath */
.combo { position: relative; min-width: 0; }
.combo__list { position: absolute; inset-inline: 0; top: calc(100% + 2px); z-index: 20; max-height: 16rem; overflow-y: auto; margin: 0; padding: .3rem 0; list-style: none; background: var(--panel-2); border: 1px solid var(--yellow); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.combo__list[hidden] { display: none; }
.combo__list li { padding: .6rem 1rem; cursor: pointer; }
.combo__list li.is-active, .combo__list li:hover { background: var(--yellow); color: var(--black); }
.combo__list li[aria-selected="true"]:not(.is-active) { color: var(--yellow); }
.combo__list .combo__empty { color: var(--muted); cursor: default; }
.combo__list .combo__empty:hover { background: none; color: var(--muted); }
/* the code list is wider than its narrow box so full country names fit */
.phone .combo__list { left: 0; right: auto; width: min(20rem, calc(100vw - 2rem)); }

/* Support contacts shown under the error message if the form fails to send */
.form-help { display: flex; flex-wrap: wrap; gap: .8rem; }
.form-help[hidden] { display: none; }
.form-help a {
  display: grid; gap: .15rem; text-decoration: none;
  padding: .9rem 1.2rem; background: var(--panel); border: 1px solid var(--line);
  border-inline-start: 4px solid var(--yellow);
}
.form-help a:hover { border-color: var(--yellow); }
.form-help span { font-size: .9rem; color: var(--muted); }
.form-help bdi { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }

/* Photo picker: the native input stays in place for keyboards and screen readers,
   but shows as a brand button in the page's own language */
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__btn { justify-self: start; cursor: pointer; }
.upload__input:focus-visible + .upload__btn { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Previews of the chosen progress photos */
.thumbs { display: flex; flex-wrap: wrap; gap: .6rem; }
.thumbs:empty { display: none; }
.thumbs img { width: 96px; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line); }

.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span {
  display: inline-block; padding: .6rem 1.1rem; border: 1px solid var(--line);
  font-weight: 500; font-size: 1rem; user-select: none;
}
.choices input:checked + span { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.choices input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: .3rem; accent-color: var(--yellow); flex: none; }

.done { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.done img { height: 120px; width: auto; margin: 0 auto 2rem; }
.done p { margin-inline: auto; }
.done .progress { justify-content: center; }

/* Visually hidden, still read by screen readers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Footer: health note + legal links ---------- */
.footer__legal { display: grid; gap: .8rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.footer__legal p { margin: 0; max-width: 90ch; font-size: .85rem; line-height: 1.6; color: #7d7d7d; }
.footer__legal nav { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .9rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; padding-block: clamp(3rem, 7vw, 5rem) 6rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.4rem; }
.legal p, .legal li { color: #D0D0D0; }
.legal a { color: var(--yellow); }

/* ---------- Floating WhatsApp button (brand yellow) ---------- */
.wa-float {
  position: fixed;
  inset-inline-end: 1.2rem;
  bottom: 1.2rem;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.1rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform .2s ease;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 760px) {
  .wa-float span { display: none; }   /* icon only on phones */
  .wa-float { padding: .8rem; bottom: 1rem; }
  .has-buybar .wa-float { bottom: 5.4rem; }  /* sits above the buy bar */
}
/* keep the footer's last links clear of the floating WhatsApp button (and the buy bar on phones) */
body:has(.wa-float) .footer { padding-bottom: 6rem; }
@media (max-width: 760px) { body.has-buybar .footer { padding-bottom: 10rem; } }

/* ---------- Thank-you page: what happens next ---------- */
.steps--next { grid-template-columns: repeat(3, 1fr); text-align: start; margin: 2.2rem 0 2rem; }
.done:has(.steps--next) > div { max-width: 900px; }
@media (max-width: 760px) { .steps--next { grid-template-columns: 1fr; } }

/* Instagram link under the coach intro */
.coach__social { margin: 1.6rem 0 0; }

/* Coaching renewal price under the plan terms */
.plan__renew { display: inline-block; margin-top: .35rem; color: var(--yellow); font-weight: 600; }

/* Jumping to a section (menu links) stops below the sticky header instead of hiding the title under it */
[id] { scroll-margin-top: 84px; }

/* ---------- Home header: menu on one side, logo in the middle, language + Start now on the other ---------- */
.header--center .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.header__side { display: flex; align-items: center; gap: .9rem; }
.header__side--end { justify-self: end; }
.header--center .header__logo { justify-self: center; display: block; }
.header--center .lang { color: var(--white); text-decoration: none; }
.header--center .lang:hover { border-color: var(--yellow); }
.menu-btn {
  display: inline-flex; align-items: center; gap: .65rem;
  font: inherit; font-family: var(--display); font-weight: 600; font-size: .98rem; color: var(--white);
  background: transparent; border: 1px solid var(--line); padding: .55rem .9rem; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.menu-btn:hover, .menu-btn[aria-expanded="true"] { border-color: var(--yellow); }
.menu-btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.menu-btn__bars { display: grid; gap: 4px; width: 18px; }
.menu-btn__bars i { display: block; height: 2px; background: currentColor; }
.menu-btn__bars i:nth-child(2) { width: 70%; background: var(--yellow); }
@media (max-width: 640px) {
  .menu-btn__label, .header__side--end .lang { display: none; }   /* phones: icon only; language lives in the menu */
  .menu-btn { padding: .6rem .7rem; }
  .header--center .header__logo img { height: 28px; }
  .header--center .btn { padding: .6rem .95rem; font-size: .92rem; }
}

/* Side menu (drawer). While closed it is display:none, so nothing sits off-screen to widen the page (iPhone Safari counts that). */
.menu-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .6); display: none; }
.site-menu {
  position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 41;
  width: min(380px, 88vw); display: none; flex-direction: column; gap: 1.2rem;
  padding: 1.1rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  background: #0F0F0F; border-inline-end: 1px solid var(--line); box-shadow: 0 0 60px rgba(0, 0, 0, .6);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu-open .site-menu, .menu-closing .site-menu { display: flex; }
.menu-open .menu-backdrop, .menu-closing .menu-backdrop { display: block; }
.menu-open .site-menu { animation: menu-in-ltr .35s cubic-bezier(.2, .8, .2, 1) both; }
[dir="rtl"].menu-open .site-menu { animation-name: menu-in-rtl; }
.menu-closing .site-menu { animation: menu-out-ltr .25s ease-in both; }
[dir="rtl"].menu-closing .site-menu { animation-name: menu-out-rtl; }
.menu-open .menu-backdrop { animation: menu-fade .3s ease both; }
.menu-closing .menu-backdrop { animation: menu-fade .25s ease reverse both; }
@keyframes menu-in-ltr { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes menu-in-rtl { from { transform: translateX(100%); } to { transform: none; } }
@keyframes menu-out-ltr { from { transform: none; } to { transform: translateX(-100%); } }
@keyframes menu-out-rtl { from { transform: none; } to { transform: translateX(100%); } }
@keyframes menu-fade { from { opacity: 0; } to { opacity: 1; } }
.menu-open { overflow: hidden; }
.site-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.site-menu__top img { height: 30px; width: auto; }
.site-menu__close { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); color: var(--white); cursor: pointer; }
.site-menu__close:hover { border-color: var(--yellow); }
.site-menu__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.site-menu__note { margin: 0; color: var(--muted); font-size: .95rem; }
.site-menu__links { list-style: none; margin: 0; padding: 0; }
.site-menu__links a {
  display: flex; align-items: baseline; gap: .9rem; padding: .85rem 0;
  font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--white); text-decoration: none;
  border-bottom: 1px solid var(--line); transition: color .2s ease, padding .2s ease;
}
.site-menu__links a:hover, .site-menu__links a:focus-visible { color: var(--yellow); padding-inline-start: .35rem; outline: none; }
.site-menu__n { font-size: .8rem; font-weight: 600; color: var(--yellow); min-width: 1.6rem; }
.site-menu__foot { margin-top: auto; display: grid; gap: 1rem; }
.site-menu__row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.site-menu__row a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-menu__row a:hover { color: var(--white); }
.site-menu__row .lang { color: var(--white); }   /* the only language switch on the home page: beside WhatsApp and Instagram */
@media (prefers-reduced-motion: reduce) { .site-menu, .menu-backdrop { animation: none !important; } }
/* Without JavaScript the menu can't open, so the links show as a plain list under the header */
html:not(.js) .site-menu { display: flex; position: static; width: auto; box-shadow: none; border: 0; }
html:not(.js) .menu-btn, html:not(.js) .menu-backdrop, html:not(.js) .site-menu__close { display: none; }

/* Never let anything make the page scroll sideways on phones */
html, body { overflow-x: clip; }

/* ---------- JAWHAR FIT Essentials: strip under the plans + its own page ---------- */
.eyebrow { margin: 0 0 .35rem; font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--yellow); }
.ess-strip {
  position: relative; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1.2rem 2rem;
  margin-top: 1.4rem; padding: 1.4rem 2rem 1.4rem 1.4rem; background: linear-gradient(100deg, #1b1606 0%, var(--panel) 45%);
  border: 1px solid rgba(255, 200, 0, .35);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
[dir="rtl"] .ess-strip { padding: 1.4rem 1.4rem 1.4rem 2rem; background: linear-gradient(-100deg, #1b1606 0%, var(--panel) 45%); }
.ess-strip__badge {
  display: grid; place-items: center; align-content: center; width: 104px; height: 104px; background: var(--yellow); color: var(--black);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.ess-strip__badge strong { font-family: var(--display); font-size: 2.8rem; line-height: 1; }
.ess-strip__badge span { font-family: var(--display); font-weight: 700; font-size: .78rem; }
.ess-strip h3 { margin: 0 0 .3rem; font-size: 1.35rem; }
.ess-strip .muted { margin: 0; }
.ess-strip__price { display: grid; justify-items: center; line-height: 1.1; }
.ess-strip__price strong { font-family: var(--display); font-size: 2.4rem; }
.ess-strip__price span { color: var(--muted); font-size: .95rem; }
.ess-strip__price small { margin-top: .3rem; color: var(--yellow); font-weight: 600; font-size: .85rem; }
@media (max-width: 900px) {
  .ess-strip { grid-template-columns: auto 1fr auto; }
  .ess-strip .btn { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
}
@media (max-width: 560px) {
  .ess-strip, [dir="rtl"] .ess-strip { grid-template-columns: auto 1fr; padding: 1.2rem; }
  .ess-strip__badge { width: 76px; height: 76px; }
  .ess-strip__badge strong { font-size: 2rem; }
  .ess-strip__price { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: .5rem; }
  .ess-strip__price small { margin: 0; }
}
.ess__h { font-size: 1.5rem; margin: 2.2rem 0 1rem; }
.ess__h:first-child { margin-top: 0; }
.who { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .6rem; }
.who li { padding: 1rem 1.2rem; background: var(--panel); border-inline-start: 3px solid var(--line); }
.who li.is-you { border-inline-start-color: var(--yellow); }
.who h3 { margin: 0 0 .3rem; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; }
.who__price { color: var(--muted); font-weight: 600; font-size: .95rem; }
.who p { margin: 0; color: var(--muted); }
.ess__safety { padding: 1rem 1.2rem; border: 1px solid var(--line); color: var(--muted); font-size: .95rem; }

/* Announcement bar (top of the home page): the free 14-day challenge */
.announce { position: relative; background: var(--yellow); color: var(--black); }
.announce[hidden] { display: none; }
.announce__link {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 44px; padding: .55rem 3.2rem; color: inherit; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: .98rem; text-align: center;
}
.announce__link:hover span:nth-child(2) { text-decoration: underline; }
.announce__tag { padding: .12rem .5rem; background: var(--black); color: var(--yellow); font-size: .78rem; }
.announce__go { transition: transform .2s ease; }
.announce__link:hover .announce__go { transform: translateX(-4px); }
[dir="ltr"] .announce__link:hover .announce__go { transform: translateX(4px); }
.announce__close {
  position: absolute; inset-inline-end: .4rem; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; background: transparent; color: var(--black);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.announce__close:focus-visible, .announce__link:focus-visible { outline: 2px solid var(--black); outline-offset: -4px; }
@media (max-width: 560px) { .announce__link { font-size: .88rem; padding-inline: 1rem 3rem; justify-content: flex-start; text-align: start; } .announce__go { display: none; } }

/* Essentials landing page */
.ess-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.ess-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ess-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.1; margin: .2rem 0 1rem; }
@media (max-width: 900px) { .ess-hero__grid { grid-template-columns: 1fr; } }
.ess-cta { margin-top: 1.8rem; display: grid; gap: .6rem; justify-items: start; }
.ess-cta__btn { font-size: 1.1rem; padding: 1rem 2rem; }
.ess-cta__sub { margin: 0; color: var(--muted); font-size: .95rem; }
.ess-cta__sub a { color: var(--yellow); }
.mock__dots { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; margin: .35rem 0 .45rem; }
.mock__dots i { height: 8px; background: var(--line); }
.mock__dots i.on { background: var(--yellow); }
.ess-narrow { max-width: 44rem; }
.ess-road { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: road; }
.ess-road li { position: relative; padding: 1.4rem 1.3rem; background: var(--panel-2); border-top: 3px solid var(--line); counter-increment: road; }
.ess-road li:first-child, .ess-road li:last-child { border-top-color: var(--yellow); }
.ess-road h3 { margin: 0 0 .5rem; font-size: 1.15rem; color: var(--yellow); }
.ess-road p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .ess-road { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ess-road { grid-template-columns: 1fr; } }
.ess-bonus { margin-top: 1.4rem; padding: 1.3rem 1.5rem; border: 1px dashed var(--yellow); }
.ess-bonus h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.ess-bonus p { margin: 0; color: var(--muted); }
.ess-feats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ess-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ess-feats { grid-template-columns: 1fr; } }
.ess-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .ess-two { grid-template-columns: 1fr; } }
.ess-left { text-align: start; }
.ess-final { text-align: center; }
.ess-final h2 { margin-bottom: 1.4rem; }
.ess-final .btn { font-size: 1.1rem; padding: 1rem 2rem; }
.ess-final .ess-cta__sub { margin-top: .8rem; }
.mock__caption { margin: .9rem 0 0; font-size: .78rem; color: var(--muted); text-align: center; }
@media (min-width: 561px) { .app__visual .mock__caption { position: absolute; bottom: 0; inset-inline-end: 0; margin: 0; } }

/* Header: "Start the free challenge" beside "Start now" (language switch lives in the side menu) */
.header__challenge { padding: .6rem 1rem; font-size: .92rem; }
@media (max-width: 900px) { .header__challenge { display: none; } }   /* small screens: the yellow bar above and the section below carry it */

/* Free 14-day challenge, right under the hero */
.challenge {
  position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 4.5rem);
  background: radial-gradient(120% 140% at 85% 0%, rgba(255, 200, 0, .14) 0%, rgba(255, 200, 0, 0) 55%), var(--panel);
  border-block: 1px solid var(--line);
}
[dir="rtl"] .challenge { background: radial-gradient(120% 140% at 15% 0%, rgba(255, 200, 0, .14) 0%, rgba(255, 200, 0, 0) 55%), var(--panel); }
.challenge::before { /* the brand slash */
  content: ""; position: absolute; inset-inline-end: -6%; top: -30%; width: 38%; height: 160%;
  background: var(--yellow); opacity: .05; transform: skewX(-19.8deg); pointer-events: none;
}
.challenge__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .challenge__grid { grid-template-columns: 1fr; } }
.challenge h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.12; margin: .2rem 0 1rem; }
.challenge .lead { max-width: 38rem; }
.challenge__goals { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; max-width: 34rem; }
.challenge__goals li { padding: .9rem 1rem; background: var(--black); border-top: 3px solid var(--yellow); }
.challenge__goals b { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--yellow); }
.challenge__goals span { display: block; margin-top: .35rem; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.challenge__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.8rem; }
.challenge__cta .btn { font-size: 1.08rem; padding: 1rem 1.8rem; }
.challenge__how { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--yellow); }
.challenge__sub { margin: .8rem 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) {
  .challenge__goals { gap: .5rem; }
  .challenge__goals li { padding: .75rem .7rem; }
  .challenge__goals b { font-size: 1.5rem; }
  .challenge__goals span { font-size: .8rem; }
  .challenge__cta .btn { width: 100%; text-align: center; }
}

/* the tracker card: 14 day tiles that fill in when the section scrolls into view */
.challenge__board {
  padding: 1.4rem; background: var(--black); border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.challenge__top, .challenge__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.challenge__top span, .challenge__foot span { color: var(--muted); font-size: .9rem; }
.challenge__top b { font-family: var(--display); color: var(--yellow); }
.challenge__foot b { font-family: var(--display); font-size: .98rem; }
.challenge__days { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.challenge__days li {
  display: grid; place-items: center; aspect-ratio: 1; background: var(--panel-2); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--muted);
}
.challenge__days li.on { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.challenge__days li.today { border: 2px solid var(--yellow); color: var(--white); }
.challenge__days li.goal { border: 1px dashed var(--yellow); color: var(--yellow); }
.js .challenge__board .challenge__days li.on { background: var(--panel-2); border-color: var(--line); color: var(--muted); }
.js .challenge__board.is-in .challenge__days li.on { animation: day-fill .35s ease forwards; animation-delay: calc(var(--i) * 140ms + 250ms); }
@keyframes day-fill { to { background: var(--yellow); border-color: var(--yellow); color: var(--black); } }
@media (prefers-reduced-motion: reduce) {
  .js .challenge__board .challenge__days li.on, .js .challenge__board.is-in .challenge__days li.on { animation: none; background: var(--yellow); border-color: var(--yellow); color: var(--black); }
}
.challenge__checks { list-style: none; padding: .9rem 0; margin: 0 0 .9rem; display: grid; gap: .55rem; border-block: 1px solid var(--line); font-size: .92rem; }
.challenge__checks li { display: flex; align-items: center; gap: .6rem; color: var(--muted); }
.challenge__checks li::before { content: ""; width: 16px; height: 16px; flex: none; border: 2px solid var(--line); }
.challenge__checks li.is-done { color: var(--white); }
.challenge__checks li.is-done::before { border-color: var(--yellow); background: var(--yellow); box-shadow: inset 0 0 0 3px var(--black); }
.challenge__checks li span { margin-inline-start: auto; color: var(--white); font-weight: 600; }
.challenge__note { margin: .8rem 0 0; font-size: .75rem; color: var(--muted); text-align: center; }
/* Essentials header button: full label on wide screens, short on phones */
.cta-short { display: none; }
@media (max-width: 640px) { .cta-long { display: none; } .cta-short { display: inline; } }
