/* =========================================================================
   Discounter — Landing Page
   Light theme only. Brand: #E52D03 red / black / white.
   ========================================================================= */

:root {
  /* ---- brand palette (mirrors the app's AppColors) ---- */
  --red: #E52D03;
  --red-light: #EC6142;
  --red-dark: #AD2202;
  --black: #000000;
  --white: #FFFFFF;
  --grey: #757575;
  --grey-light: #E0E0E0;
  --grey-dark: #424242;

  /* ---- surfaces ---- */
  --bg: #FFFFFF;
  --surface: #FDFDFE;
  --surface-2: #FAFAFB;
  --line: #EEEEEE;

  /* ---- text ---- */
  --ink: var(--black);
  --muted: var(--grey);
  --muted-2: #9E9E9E;
  /* small text on white must stay AA-safe: primary red alone is ~4.46:1 (fails 4.5:1) */
  --red-on-light: var(--red-dark);

  /* ---- warm red tints for background washes ---- */
  --tint-50: #FFF6F3;
  --tint-100: #FFEAE2;
  --tint-200: #FFD3C2;

  /* ---- layout ---- */
  --container: 1240px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --space-section: clamp(4.5rem, 9vw, 8rem);
  --nav-h: 84px;

  /* ---- radii ---- */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* ---- shadows (soft, used for UI chrome — never on the bag renders) ---- */
  --shadow-sm: 0 1px 2px rgba(11, 11, 12, 0.04), 0 1px 1px rgba(11, 11, 12, 0.03);
  --shadow-md: 0 12px 28px -12px rgba(11, 11, 12, 0.16);
  --shadow-lg: 0 24px 48px -16px rgba(11, 11, 12, 0.2);

  /* ---- motion ---- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.2s;
  --t-med: 0.4s;
}

/* ============================= RESET ============================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  font-family: 'Almarai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; }
svg { display: block; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* .skip-link {
  position: fixed;
  top: -48px;
  left: 1rem;
  z-index: 1000;
  background: var(--black);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: var(--r-sm);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 1rem; } */

.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;
}

/* ============================= I18N (EN / AR) =============================
   Every translatable string is authored twice, as sibling <span lang="en">
   and <span lang="ar"> inside the same semantic element — not swapped via a
   JS string dictionary. Which one renders is pure CSS, keyed off the *root*
   html[lang], so flipping language is one attribute write with no reflow of
   mismatched keys. html[dir] flips alongside html[lang] (see the inline
   head script + master.js), so logical properties elsewhere in this file
   (margin-inline, padding-inline, text-align: start) mirror automatically —
   nothing here needs a [dir="rtl"] override of its own. */
.i18n { display: none; }
html[lang="en"] .i18n[lang="en"],
html[lang="ar"] .i18n[lang="ar"] { display: revert; }

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-on-light);
  margin-bottom: 0.9rem;
}

/* ============================= BUTTONS ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.96rem;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--red-dark); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--surface-2); }

.btn--dark {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}
.btn--dark:hover { background: var(--black); color: var(--white); box-shadow: var(--shadow-sm);   border: 0.2px solid var(--white);}

.btn--sm { padding: 0.6rem 1.3rem; font-size: 0.88rem; }

/* ============================= NAV ============================= */
/* position:fixed (not sticky) is deliberate: nav must take no space in normal
   flow so .story can start at document y:0 and its 100vh sticky stage exactly
   fills the viewport on first paint. With sticky nav, the story section's
   natural (pre-stuck) position started ~1 nav-height down the page, which
   pushed the CTA in .story__foot below the fold until the user scrolled. */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px var(--pad) 0;
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px 10px 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(238, 238, 238, 0.8);
  transition: background-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.nav.is-scrolled .nav__inner {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.nav__brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.nav__mark { border-radius: 8px; }
.nav__word { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-weight: 700; font-size: 0.94rem; color: var(--ink); opacity: 0.75; transition: opacity var(--t-fast) var(--ease); }
.nav__links a:hover { opacity: 1; }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.lang-toggle:hover { border-color: var(--ink); background: var(--surface-2); }
.lang-toggle--sheet { align-self: flex-start; margin: 4px 20px 8px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__sheet {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding-block: 6px;
  transition: max-height var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__sheet.is-open { max-height: 420px; opacity: 1; margin-top: 10px; }
.nav__sheet a {
  padding: 14px 20px;
  font-weight: 700;
  border-radius: var(--r-md);
}
.nav__sheet a:not(.btn):hover { background: var(--surface-2); }
.nav__sheet .btn { margin: 8px 20px 4px; }

/* ============================= HERO (section 1) ============================= */
/* min-height: 100svh is load-bearing, not decorative — master.js's flight-zone
   math is (hero's document bottom) - (viewport height); if the hero is shorter
   than the viewport, that goes negative and the flight is already partway done
   at scrollY:0 instead of resting cleanly in the hero first. svh (not vh) so
   mobile browser chrome showing/hiding doesn't change this on scroll. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 4rem));
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  /* background: linear-gradient(180deg, var(--tint-50) 0%, var(--bg) 100%); */
  overflow: clip; /* the glow bleeds past .bag-slot's edges; keep that from ever causing horizontal scroll */
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 4rem);
  text-align: center;
  width: 100%;
}
.hero__title { font-size: clamp(2.1rem, 5.4vw, 3.4rem); margin-block: 1.1rem; }
.hero__text { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 46ch; margin-inline: auto; }
.hero__cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

@media (min-width: 900px) {
  .hero__inner { flex-direction: row; align-items: center; text-align: start; }
  .hero__copy { flex: 1 1 50%; }
  .hero__art { flex: 1 1 50%; }
  .hero__text { margin-inline: 0; }
  .hero__cta { justify-content: flex-start; }
}

/* ============================= SHARED BAG SLOT + FLYING CLONE =============================
   #heroBagSlot and #nextBagSlot are real, normal-flow images — genuinely static
   content, scrolling at 1x speed like anything else, NOT pinned. #flyingBag is a
   third, separate element that master.js only shows while the user is actively
   scrolling through the gap between the hero and "How it works": it fades in
   exactly where the hero image sits, flies to exactly where the next-section
   image sits, then hands off. The handoff points are pixel-identical to the real
   images' positions at that instant, so swapping opacity between the "real" copy
   and the "flying" copy is invisible — there's nothing to see it happen. Outside
   that scroll range (most of the time), the flying clone stays hidden and the
   two slots just behave like ordinary page content. Motion-safe/narrow-viewport
   fallback: JS never activates, both slots stay visible, no flight at all. */
.glow {
  position: absolute;
  inset: -18%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--tint-200) 0%, var(--tint-100) 45%, rgba(255, 246, 243, 0) 75%);
  opacity: 0.9;
  pointer-events: none;
}

.hero__art { position: relative; }

/* No idle-float animation here (deliberately) — the flying clone's flight math
   measures each slot's position once and treats it as a fixed target for the
   duration of the transition zone. An element that keeps drifting via its own
   animation would fight that: the real image and the clone would visibly
   disagree on where "here" is. Static source/destination is what makes the
   handoff pixel-exact. */
.bag-slot {
  position: relative;
  z-index: 1;
  width: min(320px, 66vw);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  perspective: 1200px;
  transition: opacity var(--t-fast) linear;
}
.bag-slot picture { display: block; width: 100%; height: 100%; }
.bag-slot img { width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; }

/* Static resting tilts — the flying clone sweeps between these two angles, so
   the handoff matches rotation as well as position. */
#heroBagSlot img { transform: rotateY(-14deg); }
#nextBagSlot img { transform: rotateY(14deg); }

.steps__intro-art .bag-slot { width: min(240px, 55vw); }

/* Perspective on the outer (position/size-only) element, rotation on the inner
   one — deliberately mirroring #heroBagSlot/#nextBagSlot's .bag-slot/img split.
   Rotating .flying-bag itself (instead of a child) previously made its
   getBoundingClientRect() reflect rotation-foreshortened, perspective-divided
   dimensions while the static slots' *outer* div (never itself rotated) did
   not — so the two were never actually comparable, and the "handoff" landed
   several px and one image-width off even though the underlying position math
   was correct. Same DOM shape on both sides makes the comparison valid. */
.flying-bag {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  perspective: 1200px;
  will-change: transform, opacity, width, height;
}
.flying-bag__inner { width: 100%; height: 100%; will-change: transform; }
.flying-bag picture,
.flying-bag img { width: 100%; height: 100%; object-fit: contain; display: block; backface-visibility: hidden; }

/* ============================= HOW-IT-WORKS INTRO (section 2, bag lands here) ============================= */
.steps__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 6vw, 3rem);
  text-align: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.steps__intro-copy h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-block: 1rem; }
.steps__intro-copy p { color: var(--muted); font-size: 1.05rem; max-width: 46ch; margin-inline: auto; }

@media (min-width: 900px) {
  .steps__intro { flex-direction: row; align-items: center; text-align: start; }
  .steps__intro-art { order: -1; flex: 1 1 40%; } /* art on the left, opposite the hero's right-side art — gives the flight a clear, deliberate direction */
  .steps__intro-copy { flex: 1 1 60%; }
  .steps__intro-copy p { margin-inline: 0; }
}

/* ============================= SECTION HEADS ============================= */
.section-head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.section-head__sub { color: var(--muted); margin-top: 0.9rem; font-size: 1.05rem; }

section { padding-block: var(--space-section); }

/* ============================= STEPS ============================= */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.steps__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.steps__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.steps__num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--red-on-light);
  background: var(--tint-100);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.1rem;
}
.steps__card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.steps__card p { color: var(--muted); font-size: 0.95rem; }

/* ============================= DEALS ============================= */
.deals { background: var(--surface-2); }
.deals__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.deal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.deal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.deal-card:hover .deal-card__art img { transform: scale(1.05); }
.deal-card__art {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.deal-card__art picture { display: block; width: 100%; height: 100%; }
.deal-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.deal-card__body { padding: 1.4rem 1.4rem 1.6rem; }
.deal-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--red-on-light);
  background: var(--tint-100);
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
  margin-bottom: 0.7rem;
}
.deal-card__body h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.deal-card__body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.8rem; }
.deal-card__sold {
  display: block;
  font-size: 0.78rem;
  color: var(--muted-2);
  font-weight: 700;
  border-top: 1px dashed var(--line);
  padding-top: 0.7rem;
}
.deals__note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.deals__note a { color: var(--red-on-light); font-weight: 700; }
.deals__note a:hover { text-decoration: underline; }
.deals__credit { text-align: center; margin-top: 0.6rem; color: var(--muted-2); font-size: 0.78rem; }

/* ============================= PARTNERS ============================= */

/* ---- intro / hero ---- */
.partners-intro { background: linear-gradient(180deg, var(--tint-50) 0%, var(--bg) 100%); }
.partners-intro__head { max-width: 760px; margin-inline: auto; text-align: center; }
.partners-intro__head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-block: 1rem; }
.partners-intro__text { color: var(--muted); font-size: 1.05rem; max-width: 56ch; margin-inline: auto; }
.partners-intro .hero__cta { margin-top: 2rem; justify-content: center; }

.partners-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2.5rem; }
.partners-jump a {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--red-on-light);
  background: var(--tint-100);
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  transition: background-color var(--t-fast) var(--ease);
}
.partners-jump a:hover { background: var(--tint-200); }

.partners-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.partners-facts li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.1rem 1.3rem;
  font-size: 0.92rem;
  color: var(--grey-dark);
  text-align: center;
}
.partners-facts strong { color: var(--red-on-light); margin-inline-end: 0.3em; font-size: 1.1em; }

/* ---- live showcase preview ---- */
.showcase { background: var(--surface-2); }
.showcase__row { display: grid; gap: 2rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.showcase__copy h3 { font-size: 1.3rem; margin-block: 0.6rem; }
.showcase__copy p { color: var(--muted); font-size: 0.98rem; max-width: 42ch; }

.showcase__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.showcase-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.1rem;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.showcase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.showcase-card__mock {
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 0.9rem;
}
.showcase-card__mock picture, .showcase-card__mock img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.showcase-card:hover .showcase-card__mock img { transform: scale(1.05); }
.showcase-card__mock--accent { box-shadow: inset 0 0 0 3px var(--tint-200); }
.showcase-card__label { font-size: 0.85rem; font-weight: 700; color: var(--grey-dark); text-align: center; }

@media (min-width: 900px) {
  .showcase__row { grid-template-columns: 1fr 1fr; }
}

/* ---- about us ---- */
.about__intro { display: flex; flex-direction: column; gap: 2rem; align-items: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.about__intro-copy h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-block: 0.8rem; }
.about__intro-copy p { color: var(--muted); font-size: 1rem; max-width: 50ch; }
.about__intro-art { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1; margin-inline: auto; }
.about__intro-art .glow--sm { inset: 6%; opacity: 0.8; }
.about__intro-art picture { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.about__intro-art img { width: 100%; height: 100%; object-fit: contain; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }
.pill {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red-on-light);
  background: var(--tint-100);
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
}

.about__features { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.about-card__art { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; margin-bottom: 1.1rem; background: var(--surface-2); }
.about-card__art picture, .about-card__art img { width: 100%; height: 100%; object-fit: cover; }
.about-card__art--lifestyle img { object-position: center 25%; }
.about-card__kicker { display: block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 0.5rem; }
.about-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.about-card p { color: var(--muted); font-size: 0.92rem; }

.about__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.about__points h4 { font-size: 1.05rem; color: var(--red-on-light); margin-bottom: 0.5rem; }
.about__points p { color: var(--muted); font-size: 0.92rem; }

@media (min-width: 900px) {
  .about__intro { flex-direction: row; text-align: start; }
  .about__intro-copy { flex: 1 1 60%; }
  .about__intro-art { order: -1; flex: 1 1 34%; max-width: none; }
  .about__features { grid-template-columns: repeat(2, 1fr); }
}

/* ---- why join (benefits) — reuses .steps__card/.steps__num ---- */
.steps__grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---- partnership process ---- */
.partners-how__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.partners-how__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.partners-how__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.partners-how__card .steps__num { margin-bottom: 0.9rem; }
.partners-how__label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 0.4rem; }
.partners-how__card h3 { font-size: 1rem; }

/* ---- visibility packages ---- */
.packages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.package-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* Recommended tier reads as physically closer to the viewer — bigger, lifted,
   and shadowed like a raised card rather than just recolored, so the eye
   lands on it before reading a single word. Scale/lift are desktop-only:
   on a narrow single-column stack there's no neighbor to read "bigger"
   against, so the same transform would just look like an unexplained jump. */
.package-card--featured {
  background: var(--white);
  border: 2px solid var(--red);
  box-shadow: 0 24px 48px -20px rgba(173, 34, 2, 0.28), var(--shadow-lg);
}
.package-card__ribbon {
  position: absolute;
  top: -15px;
  inset-inline: 0;
  margin-inline: auto;
  width: fit-content;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
}
.package-card__level { font-size: 0.78rem; font-weight: 800; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.package-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

@media (min-width: 900px) {
  .package-card--featured {
    z-index: 2;
    padding: 2.5rem 2.1rem;
    transform: perspective(1600px) translateY(-20px) scale(1.07);
  }
  .package-card--featured:hover {
    transform: perspective(1600px) translateY(-26px) rotateX(1.5deg) scale(1.08);
  }
  .package-card--featured h3 { font-size: 1.6rem; }
  .package-card--featured .package-card__desc { font-size: 1.04rem; }
}
.package-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--red-on-light);
  background: var(--tint-100);
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.1rem;
}
.package-card__desc { font-size: 0.98rem; margin-bottom: 0.6rem; }
.package-card__note { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
.package-card__list { display: flex; flex-direction: column; gap: 0.8rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px dashed var(--line); }
.package-card__list li { position: relative; padding-inline-start: 1.5rem; font-size: 0.92rem; color: var(--grey-dark); }
.package-card__list li::before { content: "\2713"; position: absolute; inset-inline-start: 0; color: var(--red-on-light); font-weight: 800; }

/* ---- ways to add products ---- */
.methods__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.method-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.method-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.method-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  height: 2.6rem;
  padding-inline: 0.4rem;
  border-radius: var(--r-pill);
  background: var(--black);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
}
.method-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.method-card p { color: var(--muted); font-size: 0.95rem; }

/* ---- interest registration form ---- */
.partners-form-section { background: var(--surface-2); }
.partners-form__panel { max-width: 880px; margin-inline: auto; }
.partners-form__intro {
  background: var(--tint-50);
  border: 1px solid var(--tint-200);
  color: var(--grey-dark);
  border-radius: var(--r-md);
  padding: 1.1rem 1.4rem;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.partners-form__grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 700; color: var(--grey-dark); }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  transition: border-color var(--t-fast) var(--ease);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--red); }
.field input:invalid:not(:placeholder-shown) { border-color: var(--red-dark); }
.field textarea { resize: vertical; min-height: 5.5rem; }
.partners-form__submit { margin-top: 1.75rem; width: 100%; }

.partners-form__success { text-align: center; max-width: 520px; margin-inline: auto; }
.partners-form__success h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.partners-form__success p { color: var(--muted); font-size: 1rem; }

@media (min-width: 700px) {
  .partners-form__grid { grid-template-columns: 1fr 1fr; }
  .partners-form__submit { width: auto; }
}

/* ---- closing CTA ---- */
.partners-cta { background: var(--black); color: var(--white); text-align: center; }
.partners-cta__inner { max-width: 680px; margin-inline: auto; }
.partners-cta .eyebrow { color: var(--red-light); }
.partners-cta h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--white); margin-block: 1rem; }
.partners-cta p { color: rgba(255, 255, 255, 0.72); font-size: 1.02rem; margin-bottom: 2rem; }
.partners-cta .hero__cta { justify-content: center; }

/* ============================= DOWNLOAD ============================= */
.download__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 4rem);
}
.download h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.download__copy p { color: var(--muted); font-size: 1.05rem; max-width: 40ch; margin-bottom: 2rem; }

.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
/* Apple's and Google's official badge assets don't share a canvas ratio or
   inner padding, so height-only sizing (the old approach) let them drift to
   different rendered widths and read as mismatched side by side. Locking
   both to the same fixed box and letting object-fit:contain do the fitting
   guarantees identical footprints regardless of what the source images look
   like — the two badges are always exactly the same size as each other. */
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 165px;
  height: 49px;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-badge img { width: 100%; height: 100%; object-fit: contain; }

/* width:100% is load-bearing, not redundant: both children are position:absolute
   (for the hover crossfade), so this element has no in-flow content to size
   itself from. As a CSS Grid item that's also `order`-reflowed on mobile, that
   combination left aspect-ratio unable to resolve a width to compute height
   from, and the box collapsed to 0x0 there. An explicit width removes the
   ambiguity in both layout modes. */
.download__art { position: relative; width: 100%; aspect-ratio: 3 / 2; }
.download__art picture { position: absolute; inset: 0; transition: opacity var(--t-med) var(--ease); }
.download__art picture img { width: 100%; height: 100%; object-fit: contain; }
.download__art #courierHover { opacity: 0; }
.download__art.is-hover #courierHover { opacity: 1; }
.download__art.is-hover #courierDefault { opacity: 0; }

/* ============================= FOOTER ============================= */
.footer { padding-top: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__brand p { color: var(--muted); margin-top: 0.9rem; font-size: 0.92rem; max-width: 26ch; }
.footer__col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 1rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { color: var(--grey-dark); font-size: 0.94rem; transition: color var(--t-fast) var(--ease); }
.footer__col a:hover { color: var(--red-on-light); }
.footer__bottom { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.footer__bottom p { color: var(--muted-2); font-size: 0.85rem; }

/* ============================= REVEAL-ON-SCROLL ============================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.steps__card.reveal, .deal-card.reveal { transition-delay: calc(var(--i, 0) * 70ms); }

/* ============================= RESPONSIVE ============================= */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .deals__grid { grid-template-columns: repeat(2, 1fr); }
  .download__inner { grid-template-columns: 1fr; }
  .download__art { order: -1; max-width: 420px; margin-inline: auto; }
  .showcase__grid { grid-template-columns: repeat(2, 1fr); }
  .about__points { grid-template-columns: 1fr; }
  .partners-how__grid { grid-template-columns: repeat(2, 1fr); }
  .packages__grid { grid-template-columns: 1fr; }
  .package-card--featured { max-width: 420px; margin-inline: auto; }
  .methods__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__actions .btn--sm { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .steps__grid { grid-template-columns: 1fr; }
  .deals__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .showcase__grid { grid-template-columns: 1fr; }
  .partners-how__grid { grid-template-columns: 1fr; }
  .lang-toggle { padding: 0.5rem 0.8rem; font-size: 0.78rem; }
  .partners-jump { gap: 0.45rem; }
  .partners-jump a { font-size: 0.78rem; padding: 0.4rem 0.75rem; }
}

/* ============================= REDUCED MOTION ============================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .steps__card, .deal-card, .btn, .store-badge, .nav__inner, .nav__sheet, .download__art picture,
  .about-card, .showcase-card, .package-card, .method-card, .partners-how__card, .lang-toggle {
    transition: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
