/* The light gift screen for paid landings (views/free.js giftLitePage: IMP-183 B1 change 1, reworked as the campaign
   landing on 2 Dec, D110). The store's paper, ink and volt; the gift's number is the hero, as on every store page
   (DESIGN.md: "numbers are the heroes"). System fonts only (no font file to wait for on a cheap phone), no inline
   style (CSP style-src 'self'). Kept small: it is the whole page. */
:root { color-scheme: light; --paper: #f4f3ee; --ink: #0d0e0c; --muted: #5c6055; --line: #c9c8bf; --accent: #c6f135; --err: #b3261e; }
@media (prefers-color-scheme: dark) { :root { color-scheme: dark; --paper: #0b0c0a; --ink: #f2f4ec; --muted: #a9ad9e; --line: #3a3c36; --err: #ffb4ab; } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-text-size-adjust: 100%; }
.lite { max-width: 28rem; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom)); }

/* Who this is: the gift mark and the store's name, quiet. */
.lite-top { display: flex; align-items: center; gap: 10px; margin: 0; }
.lite-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #0d0e0c; }
.lite-mark svg { width: 22px; height: 22px; }
.lite-brand { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }

/* The offer: the number, what it is, the bonus beside it. */
.lite-h { margin: 22px 0 0; font-size: 1.35rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.lite-num { display: block; font-size: clamp(4.25rem, 24vw, 6.5rem); font-weight: 900; font-stretch: condensed; line-height: .9; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.lite-what { display: block; margin-top: 12px; max-width: 20ch; }
.lite-bonus { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 12px 0 20px; font-weight: 700; }
.lite-plus { padding: 3px 10px; border-radius: 6px; background: var(--accent); color: #0d0e0c; font-size: 1.3rem; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* The one action. */
.lite-err { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--err); color: var(--err); font-weight: 600; }
.lite-form { display: grid; gap: 12px; margin: 0 0 16px; }
.lite-handle { display: flex; align-items: center; gap: 6px; min-height: 54px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 10px; background: transparent; font-size: 1.15rem; }
.lite-handle:focus-within { outline: 3px solid var(--accent); outline-offset: 1px; }
.lite-handle span[aria-hidden] { color: var(--muted); font-weight: 700; }
.lite-handle input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; color: inherit; font: inherit; outline: none; }
.lite-handle input::placeholder { color: var(--muted); opacity: 1; }
.lite-btn { min-height: 56px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--accent); color: #0d0e0c; font: 800 1.15rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; cursor: pointer; touch-action: manipulation; }
.lite-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.lite-btn:active { transform: translateY(1px); }

/* The gift's conditions, right under the button (VP Legal, 2 Dec: never "free" without its condition). */
.lite-cond { margin: -6px 0 16px; color: var(--muted); font-size: .85rem; line-height: 1.4; }

/* What it costs and what we never ask for, under the conditions. */
.lite-trust { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.lite-trust li { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.lite-trust svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.lite-need { margin: 0 0 4px; color: var(--muted); font-size: .9rem; }

/* The three steps: a real sequence, so numbered. */
.lite-how { margin: 22px 0 20px; padding-top: 18px; border-top: 1.5px solid var(--line); }
.lite-how h2 { margin: 0 0 12px; font-size: 1.05rem; font-weight: 800; }
.lite-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.lite-steps li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: .95rem; }
.lite-steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--ink); border-radius: 6px; font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums; }

.lite-fine { margin: 0 0 10px; color: var(--muted); font-size: .85rem; }
.lite-fine a { color: var(--ink); font-weight: 600; }
.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; }
@media (prefers-reduced-motion: reduce) { .lite-btn:active { transform: none; } }
