/* brand.css · 123 PRO demo · palette and fonts locked in 123_pro_01.md §1 */

/* ---------- fonts (self hosted, OFL; see fonts/OFL-*.txt) ---------- */
@font-face { font-family: "IBM Plex Sans Hebrew"; font-weight: 400; font-display: swap;
  src: url(fonts/plex-sans-hebrew-400-hebrew.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "IBM Plex Sans Hebrew"; font-weight: 400; font-display: swap;
  src: url(fonts/plex-sans-hebrew-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Hebrew"; font-weight: 600; font-display: swap;
  src: url(fonts/plex-sans-hebrew-600-hebrew.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "IBM Plex Sans Hebrew"; font-weight: 600; font-display: swap;
  src: url(fonts/plex-sans-hebrew-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(fonts/plex-mono-400-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/plex-mono-500-latin.woff2) format("woff2"); }

/* ---------- tokens ---------- */
:root {
  --bg: #F4F5F7;          /* main background */
  --surface: #FFFFFF;     /* cards */
  --ink: #11161D;         /* type + CTA background */
  --ink-2: #475261;       /* secondary type */
  --metal-ink: #4F5B69;   /* small text, icons */
  --metal: #6E7B8B;       /* borders, lines, 3D only. never body text */
  --t1: #ECEEF1; --t2: #E7EAEE; --t3: #E4E9EE; --t4: #EAECEF;
  --line: rgba(110, 123, 139, 0.28);
  --font: "IBM Plex Sans Hebrew", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 4.2vw, 64px);
  --space-section: clamp(72px, 10vw, 136px);
  --measure: 46ch;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font); font-feature-settings: "tnum";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
bdi { unicode-bidi: isolate; }
bdi.nw { white-space: nowrap; }
[hidden] { display: none !important; }
.todo { display: inline-block; white-space: nowrap; vertical-align: baseline; font-family: var(--font); font-size: max(13px, .8em); font-weight: 600; line-height: 1.5; color: var(--ink-2); background: rgba(110,123,139,.12); border: 1px solid rgba(110,123,139,.28); border-radius: 999px; padding: 0 .65em; direction: rtl; }
.footer .todo { color: rgba(255,255,255,.86); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }

/* ---------- type ---------- */
.wordmark { font-weight: 600; font-size: 18px; letter-spacing: .02em; text-decoration: none; white-space: nowrap; direction: ltr; unicode-bidi: isolate; width: fit-content; }
.wordmark--lg { font-size: 30px; }
.eyebrow { display: block; font-size: 14px; font-weight: 600; color: var(--metal-ink); }
p, li, .plan__title, .plan__detail { text-wrap: pretty; }   /* no one-word last lines (round 5) */
.h { font-weight: 600; line-height: 1.06; color: var(--ink); text-wrap: balance; }
.h .l1, .h .l2 { display: block; }
.h .l2 { font-weight: 400; color: var(--ink-2); }
.h--1, .ch .h--2, .finale__copy .h--2 { font-size: clamp(40px, 5vw, 76px); }
.h--2 { font-size: clamp(32px, 3.4vw, 54px); }
.h.is-quiet { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 700px) { .h .l1 { white-space: nowrap; } }
.h--single { font-size: clamp(30px, 3.2vw, 48px); }
.body { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: var(--measure); text-wrap: pretty; }
.note { font-size: 13px; color: var(--metal-ink); text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; background: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--cta { background: var(--ink); color: #FFFFFF; }
@media (hover: hover) { .btn--cta:hover { background: var(--ink-2); } }   /* round 7h: no sticky hover after a tap on touch screens */
.btn--ghost { background: rgba(255,255,255,.55); border-color: var(--line); color: var(--ink); }
@media (hover: hover) { .btn--ghost:hover { border-color: var(--ink); } }
.btn--text { min-height: 40px; padding: 0 2px; border-radius: 6px; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.btn--light { background: #FFFFFF; color: var(--ink); }
.btn--text.btn--light { background: none; color: #FFFFFF; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 56px; font-size: 17px; }
.btn--block { width: 100%; }
.btn .ico, .pill .ico { width: 16px; height: 16px; flex: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.footer :focus-visible, .sticky :focus-visible { outline-color: #FFFFFF; }

/* ---------- skip link ---------- */
.skip { position: fixed; z-index: 200; inset-inline-start: 12px; top: -80px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; align-content: center; gap: 28px; background: var(--bg); transition: opacity .5s var(--ease), visibility 0s .5s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { display: grid; justify-items: center; gap: 6px; }
.loader__ring { position: relative; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 50%; border: 1.5px solid var(--line); }
.loader__ring::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--ink); animation: spin 1.4s linear infinite; }
.loader__cap { position: absolute; inset: 0; margin: auto; width: 12px; height: 30px; border-radius: 6px; background: linear-gradient(90deg, #C87A28, #e0a35e 45%, #C87A28); transform: rotate(-35deg); }
.loader__sub { font-size: 14px; color: var(--metal-ink); }
.loader__status { min-height: 1.6em; font-size: 15px; color: var(--ink-2); }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- nav (liquid glass) ---------- */
.nav { position: fixed; z-index: 60; inset-inline: 0; top: calc(12px + var(--safe-t)); display: flex; justify-content: center; padding-inline: 12px; pointer-events: none; opacity: 0; }
.nav.is-on { pointer-events: auto; }
.nav__glass {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px;
  width: min(1080px, 100%); min-height: 60px; padding: 8px 22px 8px 8px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.34));
  backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(17,22,29,.05), 0 10px 34px rgba(17,22,29,.08);
}
/* diagonal light sweep, position = scroll. Its own compositor layer moved by a px transform from brand.js (round 7b):
   moving it through a custom property repainted and re-rastered the whole glass every frame (one-off 67 to 150 ms
   frames on phones whenever a new raster pipeline was needed) */
.nav__sweep {
  position: absolute; inset: -40% -20%; pointer-events: none; will-change: transform;
  background: linear-gradient(105deg, transparent 45%, rgba(255,255,255,.32) 50%, transparent 55%);
}
.nav__brand { position: relative; padding-inline-start: 14px; }
.nav__links { position: relative; display: flex; gap: 26px; margin-inline-start: auto; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
@media (hover: hover) { .nav__links a:hover { color: var(--ink); } }
.nav__cta { position: relative; }

/* top fade behind the floating nav over the flow sections (round 7c, I5): page background, solid down to the pill's
   bottom, then 100% -> 0% over 32 px (round 7e, E3), under the nav, above the content; brand.js sets its height (from
   the measured pill), colour and opacity from the scroll (off over the film, the 3D stages and the dark footer) */
.topfade { position: fixed; z-index: 55; inset-inline: 0; top: 0; height: calc(104px + var(--safe-t)); pointer-events: none; opacity: 0; }

/* the raster warm-up (round 7b, boot.js): under the opaque loader the nav, the chapters and the drag hint are shown for a
   few frames, so the GPU rasteriser builds its pipelines before the first chapter shows (round 7g: a class, so brand.js's
   scroll state is untouched) */
.raster-warm #nav, .raster-warm .ch, .raster-warm #drag { opacity: 1 !important; visibility: visible !important; }

/* ---------- sequence + pinned stage ---------- */
.sequence { position: relative; height: calc(var(--seq-screens, 12.6) * 100svh); }
.go { position: absolute; inset-inline: 0; height: 1px; pointer-events: none; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; contain: layout paint; }
.stage__tint { position: absolute; inset: 0; background: #ECEEF1; opacity: 0; }
.film, .three { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.three { opacity: 0; touch-action: pan-y; }
.stage.can-drag .three { cursor: grab; }
.stage.is-dragging .three { cursor: grabbing; }

.sim-badge {
  position: absolute; z-index: 6; inset-inline-end: calc(18px + env(safe-area-inset-left, 0px)); top: calc(96px + var(--safe-t));
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.7);
}
.sim-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--metal); }

/* chapters: positioned on the stage, moved by brand.js from motionY */
.chapters { position: absolute; inset: 0; z-index: 5; pointer-events: none; counter-reset: ch; }
.ch {
  position: absolute; inset-inline-start: var(--gutter); top: 50%;
  width: min(44vw, 640px); display: grid; gap: 18px; justify-items: start;
  opacity: 0; will-change: transform, opacity;
}
.ch.is-active { pointer-events: auto; }
.ch:not(.ch--hero) { counter-increment: ch; }
.ch:not(.ch--hero) .eyebrow::before { content: counter(ch, decimal-leading-zero); display: inline-block; margin-inline-end: 10px; font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--metal); }
.ch__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.ch[data-ch="3"]::before { content: ""; position: absolute; inset: -48px -56px; z-index: -1; border-radius: 48px; background: radial-gradient(closest-side, rgba(228,233,238,.9), rgba(228,233,238,.7) 60%, rgba(228,233,238,0)); }

.tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tags li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,.5); }

.steps { display: grid; gap: 2px; counter-reset: step; width: min(100%, 380px); }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; color: var(--metal-ink); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--metal); min-width: 22px; }
.steps li.is-on { color: var(--ink); }
.steps li.is-on::before { color: var(--ink); }

.proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 520px; }
.proof { display: grid; gap: 8px; }
.proof__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 18px; display: grid; grid-template-rows: 1fr; justify-items: center; align-items: center; padding: 16px 12px; text-align: center; overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,.62), rgba(255,255,255,.22));
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(110,123,139,.12), 0 14px 34px rgba(17,22,29,.07);
}
.proof__frame::after { content: ""; position: absolute; inset: 7px; border-radius: 12px; border: 1px solid rgba(110,123,139,.32); pointer-events: none; }
.proof__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.proof__chip { align-self: center; }
.proof__label { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }

/* bottom cues */
.cues { position: absolute; z-index: 6; inset-inline: 0; bottom: calc(26px + var(--safe-b)); display: flex; justify-content: center; pointer-events: none; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.58); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 6px 24px rgba(17,22,29,.08);
}
.drag { position: absolute; z-index: 6; width: max-content; left: 26%; bottom: calc(30px + var(--safe-b)); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; opacity: 0; visibility: hidden; }
.drag.is-on { visibility: visible; }
.pill--drag { padding: 9px 16px; font-size: 13px; white-space: nowrap; }
.drag .btn { white-space: nowrap; }

/* ---------- finale ---------- */
.finale { position: relative; z-index: 1; height: calc(var(--fin-screens, 5.4) * 100svh); }   /* rides up over the sequence stage's tail (margin-top from brand.js, round 7b) */
.stage--finale { background: var(--bg); }
.three--finale { opacity: 1; }
.finale__copy { position: absolute; z-index: 5; inset-inline-start: var(--gutter); top: 50%; transform: translateY(-50%); width: min(36vw, 500px); display: grid; gap: 18px; justify-items: start; }
.pill--cue { position: absolute; z-index: 6; left: 50%; bottom: calc(28px + var(--safe-b)); transform: translateX(-50%); display: grid; padding: 12px 22px; background: rgba(255,255,255,.86); }
.pill--cue span { grid-area: 1 / 1; text-align: center; white-space: nowrap; opacity: 0; }

/* ---------- flow sections ---------- */
.section { padding: var(--space-section) var(--gutter); }
.protocols { position: relative; z-index: 2; padding-top: clamp(40px, 5vw, 72px); }   /* rises over the pinned finale stage as the box leaves (transparent; margin-top from brand.js, round 7b) */
.section__head { max-width: 720px; display: grid; gap: 14px; margin: 0 auto 48px; text-align: center; justify-items: center; }
.section__head .body { margin-inline: auto; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; align-items: stretch; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.card__tag { align-self: flex-start; }
.card__foot { margin-top: auto; display: grid; gap: 12px; padding-top: 4px; }
.card--featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset, 0 18px 40px rgba(17,22,29,.07); }
.card__tag { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.card__name { font-size: 25px; font-weight: 600; line-height: 1.2; }
.card__mix { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.card__line { font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.card__price { font-size: 17px; font-weight: 600; padding-block: 10px; border-block: 1px solid var(--line); }
.card .btn { margin-top: 4px; }
/* round 7f (F6): button hierarchy: the recommended middle card keeps the filled black button, the side cards an outline */
.card:not(.card--featured) .btn--cta { background: transparent; color: var(--ink); border-color: var(--ink); }
@media (hover: hover) { .card:not(.card--featured) .btn--cta:hover { background: rgba(17,22,29,.06); } }

.warn { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--metal); }
.warn p { font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.warn__ico { width: 20px; height: 20px; color: var(--ink); margin-top: 1px; }
.warn--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.28); }
.warn--dark p { color: rgba(255,255,255,.86); }
.warn--dark .warn__ico { color: #FFFFFF; }

.offer { background: linear-gradient(180deg, var(--bg), var(--t1) 55%, var(--bg)); }   /* round 7l (B3): ends on --bg, no seam into the FAQ */
.offer__wrap { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.offer__media { position: relative; margin: 0; order: 2; }
.offer__media img { display: block; width: 100%; height: auto; }
.sim-badge--static { top: 8px; inset-inline-end: 8px; }
/* the product name next to the price reads at a glance (round 7c, I12) */
#offer-eyebrow { font-size: 18px; font-weight: 600; color: var(--ink); }   /* round 7l (B3): what you buy is the first dark line */
/* round 7f (F5): tighter (gap 22 -> 16, padding 48 -> 36 at 1440): at 1440 the whole card, check lines included, fits the
   900 px screen at the offer stop */
.offer__card { max-width: 680px; margin: 0 auto; width: 100%; display: grid; gap: 16px; padding: clamp(24px, 2.5vw, 36px); border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(17,22,29,.06); }
.plans { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-inline-size: 0; }
.offer__pick { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); justify-self: start; max-width: 100%; }
.seg { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.seg[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.offer__proto { display: grid; gap: 8px; padding: 20px; border-radius: 18px; border: 1.5px solid var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.offer__name { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.15; }
.offer__mix { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.offer__price { font-size: 18px; font-weight: 600; }
.offer__price > bdi { font-size: 1.6em; font-weight: 700; line-height: 1.15; }   /* round 7j: the protocol's one price line carries the big amount */
.plan { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 20px; border-radius: 18px; border: 1.5px solid var(--line); cursor: pointer; }
.plan:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.plan input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.plan__dot { width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 1.5px solid var(--metal); display: grid; place-items: center; }
.plan:has(input:checked) .plan__dot { border-color: var(--ink); }
.plan:has(input:checked) .plan__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.plan:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.plan__body { display: grid; gap: 6px; }
.plan__title { font-weight: 600; font-size: 17px; }
.plan__price { font-weight: 600; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.plan__detail { font-size: 14px; color: var(--ink-2); }
.plan__gift { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); }
.plan__gift .ico { width: 16px; height: 16px; flex: none; }
.ship { display: none; gap: 8px; margin-top: 6px; }
.plan:has(input:checked) .ship { display: grid; }
.ship__bar { direction: ltr; display: block; height: 6px; border-radius: 3px; background: var(--t2); overflow: hidden; }
.ship__bar i { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.ship__text { font-size: 14px; font-weight: 600; }
.ship__upsell { font-size: 14px; color: var(--ink-2); }
.assure { display: grid; gap: 8px; }
.assure li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--ink-2); }
.assure .ico { width: 16px; height: 16px; margin-top: 4px; color: var(--ink); }

.faq__list { max-width: 820px; margin: 28px auto 0; border-top: 1px solid var(--line); }
.faq .h--single { text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 68ch; text-wrap: pretty; }
.faq__plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 1.6px; background: var(--ink); }
.faq__plus::after { transform: rotate(90deg); }
.faq details[open] .faq__plus::after { transform: none; }

[data-reveal] { will-change: opacity, transform; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #FFFFFF; padding: clamp(56px, 8vw, 96px) var(--gutter) calc(40px + var(--safe-b)); }
.footer__inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 24px; }
.footer__brand { display: grid; gap: 4px; }
.footer__tagline { color: rgba(255,255,255,.86); }
.footer__legal { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 90ch; }
.footer__end { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.footer__demo { font-size: 13px; color: rgba(255,255,255,.72); }

/* ---------- sticky offer bar (mobile only) ---------- */
.sticky { display: none; }

/* ---------- modal ---------- */
.modal { width: min(420px, calc(100% - 32px)); padding: 32px; border: 0; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(17,22,29,.25); }
.modal::backdrop { background: rgba(17,22,29,.45); backdrop-filter: blur(4px); }
.modal[open] { display: grid; gap: 16px; }
.modal__h { font-size: 24px; font-weight: 600; }
.modal__tech { font-size: 13px; color: var(--metal-ink); text-wrap: pretty; }

/* ---------- tablet portrait ---------- */
/* tablets: proof frames stack as rows (the 3-up tiles are too narrow for the chip), finale copy on top */
@media (max-width: 899.98px) {
  .proofs { grid-template-columns: 1fr; gap: 6px; max-width: none; }
  /* round 7k (A4): no mono tag repeating the caption; the locked caption sits inside the strip, the chip at its end */
  .proof { gap: 0; grid-template-areas: "p"; }
  .proof > * { grid-area: p; }
  .proof__label { align-self: center; padding-inline: 16px; position: relative; z-index: 1; }
  .proof__frame { aspect-ratio: auto; grid-template-rows: none; grid-template-columns: auto; justify-content: end; gap: 12px; padding: 10px 16px; border-radius: 14px; min-width: 0; }
  .proof__frame::after { inset: 4px; border-radius: 10px; }
}
@media (max-width: 1023.98px) and (min-width: 700px) {
  .finale__copy { inset-inline: var(--gutter); width: auto; top: calc(110px + var(--safe-t)); transform: none; }
}
/* desktop protocol cards (round 7c, I8): the rows line up across the three cards (subgrid); card A has no warning and its
   per-day price is pending (D4). Round 7f (F6): no framed placeholder; its button sits on B and C's button row, so the
   three cards are equal in height and their bottoms line up; round 7h (H7): its chip row right under its description */
@media (min-width: 1080.02px) {
  .cards { grid-template-rows: repeat(7, auto); row-gap: 0; }
  .card { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 12px; align-content: start; }
  .card__foot { display: contents; }
  .card[data-protocol="A"] .card__price { grid-row: 5; align-self: start; }   /* round 7h (H7): right under its description */
  .card[data-protocol="A"] .btn { grid-row: 7; }
}
@media (max-width: 1080px) and (min-width: 700px) {
  .nav__links { gap: 18px; }
  .ch { width: min(46vw, 520px); }
  .cards { grid-template-columns: 1fr; max-width: 560px; }
  .offer__wrap { grid-template-columns: 1fr; }
  .offer__media { order: 0; max-width: 460px; justify-self: center; }
}

/* ---------- phones (< 700px): copy on top, object lower and smaller ---------- */
@media (max-width: 699.98px) {
  body { font-size: 16px; }
  .nav { top: calc(8px + var(--safe-t)); padding-inline: 8px; }
  .nav__glass { min-height: 52px; padding: 6px 14px 6px 6px; gap: 12px; }
  .nav__links { display: none; }
  .nav__cta { margin-inline-start: auto; }
  /* the copy starts below the badge row: nav bottom + badge + 16 px (+12 px for the fade-out rise) */
  .ch { inset-inline: 20px; width: auto; top: calc(142px + var(--safe-t)); gap: 12px; }
  .h--1, .ch .h--2, .finale__copy .h--2 { font-size: 40px; }
  .h--2 { font-size: clamp(28px, 8.2vw, 38px); }
  .offer__pick { justify-self: stretch; }
  .seg { flex: 1; padding: 0 10px; font-size: 13px; }
  .body { font-size: 15.5px; line-height: 1.55; }
  .ch .body { max-width: 34ch; }
  .tags li { font-size: 13px; padding: 5px 12px; }
  /* ch2 steps (round 7, N7): one compact row of chips under the body, the highlight logic unchanged (TL.steps) */
  .steps { display: flex; flex-wrap: wrap; gap: 6px; width: auto; }
  .steps li { gap: 4px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); font-size: 13px; line-height: 1.5; white-space: nowrap; }
  .steps li::before { min-width: 0; font-size: 13px; color: var(--metal-ink); }   /* round 7h: >= 13 px incl. the counter */
  .steps li.is-on { border-color: var(--ink); background: var(--surface); }
  .ch[data-ch="2"] { gap: 9px; }   /* a little tighter, so the column under it can be ~45% of the height */
  .proofs { grid-template-columns: 1fr; gap: 6px; max-width: none; }
  /* round 7k (A4): no mono tag repeating the caption; the locked caption sits inside the strip, the chip at its end */
  .proof { gap: 0; grid-template-areas: "p"; }
  .proof > * { grid-area: p; }
  .proof__label { align-self: center; padding-inline: 16px; position: relative; z-index: 1; }
  .proof__frame { aspect-ratio: auto; grid-template-rows: none; grid-template-columns: auto; justify-content: end; gap: 12px; padding: 10px 16px; border-radius: 14px; min-width: 0; }
  .proof__frame::after { inset: 4px; border-radius: 10px; }
  .proof__label { font-size: 13px; }
  .drag { left: 50%; bottom: calc(28px + var(--safe-b)); }
  .cues, .pill--cue { bottom: calc(28px + var(--safe-b)); }
  .ch[data-ch="3"]::before { inset: -20px -20px; }
  .finale__copy { inset-inline: 20px; width: auto; top: calc(142px + var(--safe-t)); transform: none; gap: 12px; }
  .pill { font-size: 13px; padding: 10px 16px; }
  .sim-badge { inset-inline-end: calc(12px + env(safe-area-inset-left, 0px)); top: calc(88px + var(--safe-t)); bottom: auto; font-size: 13px; }
  .sim-badge--static { top: 8px; inset-inline-end: 8px; }
  .offer__wrap { grid-template-columns: 1fr; gap: 8px; }
  /* O3: compact, so the buy button is in the module's first screen */
  .offer__media { order: 0; max-width: 230px; justify-self: center; }
  .offer__card { padding: 18px; gap: 14px; border-radius: 24px; }
  .plan__price { font-size: 26px; }
  .topfade { height: calc(94px + var(--safe-t)); }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .card__line { min-height: 0; }
  .plan { padding: 14px; gap: 12px; }
  .faq summary { font-size: 16px; padding: 18px 0; }

  .sticky {
    position: fixed; z-index: 70; inset-inline: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    height: calc(56px + var(--safe-b)); padding: 0 16px var(--safe-b);
    background: rgba(17, 22, 29, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #FFFFFF;
    transform: translateY(105%); transition: transform .24s var(--ease); visibility: hidden;
  }
  .sticky.is-on { transform: none; visibility: visible; }
  .sticky__price { font-weight: 600; font-size: 15px; line-height: 1.25; }
  .sticky__line { font-size: 13px; line-height: 1.3; color: rgba(255,255,255,.8); }
}

@media (max-width: 699.98px) and (max-height: 700px) {
  .ch { top: calc(68px + var(--safe-t)); gap: 8px; }
  .h--1, .h--2 { font-size: 28px; }
  .ch .body { font-size: 14.5px; }
  .note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .loader__ring::after { animation: none; }
  .sticky, .loader { transition: none; }
}
