/* O2PRO × EZI landing — mobile first, RTL.
   Tokens lifted from the existing o2proshop front page so this page and the
   store read as one brand. No framework: the whole sheet is ~4 KB gzipped,
   versus ~90 KB of Tailwind CDN JS that would block first paint on 3G. */

:root {
  --yellow: #FFF000;
  --ink: #090A09;
  --ink-2: #101110;
  --ink-soft: #50514C;
  --gray: #686864;
  --line: #D7D8D1;
  --muted: #B9BBB5;
  --page: #F4F4EF;
  --paper: #FFFFFF;
  --surface: #F8F9F8;
  --chip: #E9EAE7;
  --r: 16px;
  --r-lg: 28px;
  --gap: clamp(76px, 13vw, 116px);
  --pad: clamp(18px, 5vw, 28px);
  --font: 'PingARLT', 'Segoe UI', Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--page);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { padding-inline: var(--pad); max-width: 620px; margin-inline: auto; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--yellow); text-transform: uppercase; margin-bottom: 10px;
}
.lead { color: var(--muted); font-size: 15.5px; }
.light .lead { color: var(--ink-soft); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px var(--pad);
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #ffffff14;
}
.top__brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.top__brand b { color: var(--yellow); }
.top__wa {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  background: #ffffff14; border: 1px solid #ffffff1f;
  padding: 11px 15px; border-radius: 999px;   /* ≥44px tap target */
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 800; font-size: 16px;
  text-decoration: none; border: 0; cursor: pointer;
  padding: 16px 26px; border-radius: 999px;
  background: var(--yellow); color: #000;
  transition: transform .15s ease, filter .15s ease;
}
.btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn--wa { background: #25D366; color: #04240f; }
.btn--block { display: flex; width: 100%; }

/* ---------- hero + the scroll stage ----------
   The sticky element must not sit inside anything with transform/filter or it
   silently degrades to static on iOS. Nothing here creates a containing block. */
.hero { padding: clamp(36px, 9vw, 72px) 0 0; text-align: center; }
.hero h1 { font-size: clamp(32px, 9.5vw, 54px); }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lead { margin: 14px auto 0; max-width: 30ch; }

/* The can sits in normal flow and travels down the page with everything else —
   it is not pinned. It spins in place, driven by how far it has crossed the
   viewport, so the page never takes the scroll away from the user. */
.stage { padding-block: clamp(24px, 6vw, 48px) 0; }
.stage__art { position: relative; display: grid; place-items: center; }
.stage__art::before {
  content: ''; position: absolute; width: 86%; aspect-ratio: 1;
  background: radial-gradient(circle, #FFF00030, transparent 68%);
}
#can {
  position: relative;
  width: min(80vw, 340px); aspect-ratio: 3 / 4.1;
  touch-action: pan-y;
  filter: drop-shadow(0 26px 34px #000000a6);
}
#can-fallback { position: relative; width: min(64vw, 280px); }
.hint {
  margin-top: 10px; text-align: center; font-size: 12px; color: var(--gray);
  transition: opacity .4s ease;
}

.caps { display: grid; gap: clamp(40px, 11vw, 72px); padding-block: clamp(44px, 12vw, 80px); }
.cap {
  text-align: center;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.cap[data-on] { opacity: 1; transform: none; }
.cap b { display: block; color: var(--yellow); font-size: clamp(38px, 12vw, 56px); line-height: 1; margin-bottom: 12px; }
.cap h2 { font-size: clamp(20px, 5.8vw, 26px); margin-bottom: 8px; }
.cap p { color: var(--muted); font-size: 14.5px; max-width: 32ch; margin-inline: auto; }

/* ---------- light sections ---------- */
.light {
  background: var(--page); color: var(--ink);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding-block: var(--gap);
}
/* Consecutive light sections share one background, so only the first gets the
   rounded top. They keep a full --gap between them: the previous section's
   padding-bottom plus this one's padding-top would double it, so drop the top
   padding — but not the spacing itself, or the headings sit right on top of
   the section above. */
.light + .light { border-radius: 0; padding-top: 0; }
.sec-head { text-align: center; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(24px, 7vw, 34px); }
.sec-head p { margin-top: 10px; }

/* ---------- problem router ---------- */
.router { display: grid; gap: 14px; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px; text-decoration: none; color: inherit;
  display: grid; gap: 8px;
}
.card__q { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.card__q i { font-style: normal; font-size: 22px; }
.card__a { color: var(--ink-soft); font-size: 14.5px; }
.card__pill {
  justify-self: start; margin-top: 6px;
  background: var(--ink); color: var(--yellow);
  font-size: 13px; font-weight: 700; padding: 12px 17px; border-radius: 999px;
}

/* ---------- red / blue picker ---------- */
.picker { display: grid; gap: 12px; }
.picker__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt {
  border: 2px solid var(--line); background: var(--paper);
  border-radius: var(--r); padding: 16px 12px; text-align: center;
  font-family: inherit; font-size: 15px; font-weight: 800; color: inherit;
  cursor: pointer; transition: border-color .18s ease, background .18s ease;
}
.opt[aria-pressed='true'] { border-color: var(--ink); background: var(--chip); }
.opt small { display: block; font-weight: 600; font-size: 12.5px; color: var(--gray); margin-top: 4px; }
.opt i { display: block; width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 8px; }

/* ---------- steps ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; font-family: inherit; font-size: 14px; font-weight: 700;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); color: var(--gray);
}
.tab[aria-selected='true'] { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.steps { display: grid; gap: 0; margin-top: 18px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step b {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: #000; font-size: 14px;
}
.step p { font-size: 15px; }

/* ---------- bundles ---------- */
.bundle {
  background: var(--ink); color: var(--page); border-radius: var(--r-lg);
  padding: 24px 20px; display: grid; gap: 14px; margin-bottom: 14px;
}
.bundle__tag {
  justify-self: start; background: var(--yellow); color: #000;
  font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px;
}
.bundle h3 { font-size: 21px; }
.bundle ul { margin: 0; padding-inline-start: 18px; color: var(--muted); font-size: 14.5px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font-size: 30px; color: var(--yellow); line-height: 1; }
.price s { color: var(--gray); font-size: 16px; }
.price span { font-size: 13px; color: var(--muted); width: 100%; }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.trust div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 8px; }
.trust b { display: block; font-size: 22px; margin-bottom: 4px; }
.trust span { font-size: 12.5px; color: var(--gray); font-weight: 600; }

/* ---------- final ---------- */
.final { background: var(--ink); text-align: center; padding-block: var(--gap) calc(var(--gap) + 84px); }
.final h2 { font-size: clamp(26px, 8vw, 38px); }
.final .lead { margin: 12px auto 26px; max-width: 30ch; }

/* sticky buy bar — the single highest-leverage element on a phone */
.bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  display: flex; gap: 10px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(12px); border-top: 1px solid #ffffff1f;
  transform: translateY(110%); transition: transform .28s ease;
}
.bar[data-on] { transform: none; }
.bar .btn { flex: 1; padding-block: 14px; font-size: 15px; }
.bar .btn--wa { flex: 0 0 54px; padding-inline: 0; }

.foot { text-align: center; font-size: 12px; color: var(--gray); padding: 0 var(--pad) 96px; }

/* ---------- icons ---------- */
.ico { width: 1.5em; height: 1.5em; flex: 0 0 auto; stroke: currentColor;
  fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__q .ico { color: var(--ink); width: 26px; height: 26px; }
.trust .ico { width: 26px; height: 26px; margin: 0 auto 8px; color: var(--ink); display: block; }
.btn .ico, .top__wa .ico { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .cap { opacity: 1; transform: none; }
  .hint { display: none; }
}
