/* ==========================================================================
   Rainer LPs — shared design system
   RTL Hebrew direct-response landing pages.
   Theme via CSS custom properties: override the :root tokens per client
   (see /_template/index.html for an example brand block).
   ========================================================================== */

/* ---- Design tokens -------------------------------------------------------- */
:root {
  /* Brand — override these per client */
  --bg:        #0d0f14;   /* page background (deep near-black) */
  --bg-2:      #14171f;   /* raised surfaces (cards) */
  --bg-3:      #1c2029;   /* hover / borders */
  --ink:       #f4f5f7;   /* primary text */
  --ink-muted: #a6adbb;   /* secondary text */
  --accent:    #f5b21a;   /* gold — primary CTA + highlights */
  --accent-ink:#1a1205;   /* text on accent */
  --accent-2:  #ffd368;   /* lighter gold for gradients */
  --success:   #28c76f;
  --danger:    #ff5c5c;
  --ring:      rgba(245, 178, 26, .45);

  /* Typography — Rubik (display, geometric punch) + Heebo (body) */
  --font: "Heebo", "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Rubik", "Heebo", system-ui, sans-serif;
  --h1: clamp(2.1rem, 1.2rem + 4.2vw, 4rem);
  --h2: clamp(1.6rem, 1.1rem + 2.4vw, 2.7rem);
  --h3: clamp(1.2rem, 1rem + 1vw, 1.5rem);
  --lead: clamp(1.05rem, 1rem + .5vw, 1.3rem);

  /* Layout */
  --maxw: 1080px;
  --maxw-narrow: 720px;
  --radius: 16px;
  --radius-sm: 10px;
  --gap: clamp(1rem, .6rem + 1.6vw, 2rem);
  --section-y: clamp(3rem, 2rem + 6vw, 6rem);
  --shadow: 0 18px 50px -20px rgba(0,0,0,.7);
  --shadow-accent: 0 14px 40px -12px var(--ring);
  /* Scroll-entrance feel. Entrance is not a micro-interaction: the 150–300ms rule is for
     things reacting to a tap, where the eye is already on the target. Content arriving into
     peripheral vision needs enough travel and time to register as movement rather than a
     flicker. The move outlasts the fade so the element settles instead of stopping dead. */
  --reveal-shift: 22px;
  --reveal-move: .58s;
  --reveal-fade: .42s;
  --reveal-ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

html, body { background: var(--bg); }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.05rem;
  font-weight: 400;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(120% 80% at 100% -10%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 55%),
    radial-gradient(90% 60% at -10% 5%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 50%),
    var(--bg);
  background-attachment: fixed;
}

/* Fine film grain over everything — atmosphere, not noise. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: color-mix(in srgb, var(--accent) 85%, transparent); color: var(--accent-ink); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--accent) 50%, var(--bg-3)); }

img, picture, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

/* ---- Layout helpers ------------------------------------------------------- */
.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.container.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); }
.section.tight { padding-block: clamp(2rem, 1.4rem + 3vw, 3.5rem); }
/* Banded section — subtle bg shift for rhythm. Use on text sections (no cards). */
.section.band { background: var(--bg-2); border-block: 1px solid var(--bg-3); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---- Typography ----------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--h1); font-weight: 900; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 700; letter-spacing: -0.01em; }

/* Default: a lightweight text kicker (no capsule). */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .9rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 1.6rem; height: 2px; border-radius: 2px;
  background: var(--accent); opacity: .55;
}
/* Opt-in pill — use only as a real flag/badge, e.g. on the offer. */
.eyebrow.badge {
  margin-bottom: 0; gap: .5rem; letter-spacing: .1em;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: .4rem .85rem; border-radius: 999px;
}
.eyebrow.badge::before {
  width: 7px; height: 7px; border-radius: 50%; opacity: 1;
  background: var(--accent);
  animation: live-dot 1.8s ease-out infinite;
}
.eyebrow.badge::after { display: none; }
/* "Live" pulsing ring on the badge dot. */
@keyframes live-dot {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70%  { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
}
@keyframes live-dot-white {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.lead { font-size: var(--lead); color: var(--ink-muted); }
.hl { color: var(--accent); }

/* Pre-headline — audience callout above the H1 (qualification, not garnish). */
.preheadline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(.9rem, .82rem + .35vw, 1.08rem);
  color: var(--ink-muted);
  margin-bottom: .6rem;
}
.preheadline .hl { color: var(--accent); }
.strike { text-decoration: line-through; color: var(--ink-muted); opacity: .8; }
.muted { color: var(--ink-muted); }
.big { font-size: clamp(2.2rem, 1.4rem + 4vw, 3.4rem); font-weight: 800; }
.final-cta h2 { font-size: clamp(2rem, 1.4rem + 3.2vw, 3.4rem); }

/* ---- Buttons / CTA -------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-ink: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(1rem, .95rem + .4vw, 1.2rem);
  line-height: 1.2;
  padding: 1rem 1.8rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--accent-2), var(--btn-bg));
  color: var(--btn-ink);
  box-shadow: var(--shadow-accent), inset 0 1px 0 color-mix(in srgb, #fff 35%, transparent);
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Light sweep across the CTA on hover — tactile, premium. */
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  inset-inline-start: -60%;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, #fff 55%, transparent), transparent);
  transform: skewX(-18deg);
  transition: inset-inline-start .5s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 20px 48px -14px var(--ring), inset 0 1px 0 color-mix(in srgb, #fff 45%, transparent); }
.btn:hover::after { inset-inline-start: 120%; }
.btn:active { transform: translateY(0); }
.btn.ghost::after { display: none; }
.btn.block { display: flex; width: 100%; }
.btn.lg { padding: 1.25rem 2.2rem; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--bg-3);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--accent); }
.btn:has(.sub) { flex-direction: column; gap: .2rem; }
.btn .sub { display: block; font-weight: 600; font-size: .8rem; opacity: .85; }

.cta-note { font-size: .9rem; color: var(--ink-muted); margin-top: .7rem; }
/* Hero note: icon + text on one clean line, centered (no line-box inflation). */
.hero .cta-note { display: flex; align-items: center; justify-content: center; gap: .3rem; white-space: nowrap; }
.hero .cta-note .ico { margin: 0; }
/* Center the primary CTA under the video-led hero. */
.hero > .container > .btn { display: flex; width: fit-content; max-width: 100%; margin-inline: auto; }

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 66%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--bg-3);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: .5rem; gap: 1rem;
}
.site-header .btn.ghost { padding: .55rem 1.1rem; font-size: .95rem; white-space: nowrap; }
.brand span { white-space: nowrap; }
/* Mobile: keep the header on one line. */
@media (max-width: 480px) {
  .site-header .container { gap: .5rem; padding-block: .45rem; }
  .brand span { font-size: .95rem; }
  .brand svg { height: 22px !important; }
  .brand img { height: 38px !important; }
  .site-header .btn.ghost { font-size: .8rem; padding: .4rem .8rem; min-height: 40px; }
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; text-decoration: none; }
.brand img { height: 42px; width: auto; }
/* Optional company tagline under the wordmark, e.g. <span class="brand-sub">משרד עו"ד</span> */
.brand-sub { display: block; font-family: var(--font); font-weight: 600; font-size: .66rem; letter-spacing: .12em; color: var(--ink-muted); margin-top: 2px; }
@media (max-width: 480px) { .brand-sub { font-size: .6rem; } }
/* Muted fine-print — disclaimers / legal notes (regulated professions). */
.legal-note { color: var(--ink-muted); font-size: .82rem; line-height: 1.6; }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(.7rem, .4rem + 1vw, 1.5rem) clamp(2rem, 1.3rem + 2.2vw, 3.2rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(50% 40% at 10% 10%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
}
/* Video-led hero: centered composition (text + media + CTA all centered). */
.hero > .container { text-align: center; }
.hero h1 { margin: 0 auto .75rem; max-width: 20ch; }
.hero .lead { max-width: 54ch; margin: 0 auto 1.1rem; }
.hero-media { margin: clamp(.8rem, .5rem + 1vw, 1.2rem) auto; max-width: 540px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--bg-3); }
@media (max-width: 600px) {
  .hero .lead { margin-bottom: .7rem; }
  .hero-media { margin-top: .25rem; }
}

/* Video wrapper (16:9 responsive) */
.video {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: #0b0b0f; box-shadow: var(--shadow); /* dark letterbox — no tinted bars */
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Optional muted/looping background-preview iframe (Vimeo background=1) behind the
   play button — clicks pass through to the facade so the real player still loads.
   Poster stays as pre-load; lp.js adds .ready on load so the preview fades in
   (no black box while Vimeo loads or if it's blocked). */
.video .video-bg { pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.video .video-bg.ready { opacity: 1; }

/* Lazy video facade — poster + play button; real player injected on click. */
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.video[data-embed] { cursor: pointer; }
/* Soft scrim so the play button keeps contrast over any poster */
.video[data-embed]::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at center,
    rgba(0,0,0,.04) 0%,
    rgba(0,0,0,.20) 82%);
  transition: opacity .3s ease;
}
.video[data-embed]:hover .video-poster { transform: scale(1.03); }

.video-play {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  width: clamp(64px, 11vw, 84px); height: clamp(64px, 11vw, 84px);
  border: 0; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink);
  /* subtle inner sheen + one soft halo + drop */
  box-shadow:
    0 0 0 1px color-mix(in srgb, #fff 28%, transparent) inset,
    0 0 0 8px color-mix(in srgb, #fff 12%, transparent),
    0 14px 40px -14px var(--ring);
  cursor: pointer;
  transition: transform .25s cubic-bezier(.34, 1.4, .64, 1), filter .25s ease;
}
.video-play svg { width: 36%; height: 36%; fill: currentColor; margin-inline-start: 8%;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.18)); }
/* One calm pulse ring */
.video-play::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 2px solid color-mix(in srgb, var(--accent) 45%, #fff 25%);
  animation: vid-pulse 3.2s ease-out infinite;
}
.video[data-embed]:hover .video-play { transform: scale(1.06); }
.video[data-embed]:active .video-play { transform: scale(1.01); }
@keyframes vid-pulse { 0% { transform: scale(1); opacity: .5; } 75% { transform: scale(1.45); opacity: 0; } 100% { opacity: 0; } }

/* "Watch this" hint over the facade — lives inside .video, so it's removed
   automatically when the real player is injected on play. */
/* Full-overlay so label + arrow are positioned by % of the video and scale
   with it — keeps the arrow tip on the centered play button at any size. */
.vsl-hint { position: absolute; inset: 0; z-index: 3; pointer-events: none; color: #fff; }
.vsl-hint-label {
  position: absolute; top: 13%; right: 13%;
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(1rem, .72rem + 1.3vw, 1.55rem);
  transform: rotate(6deg); white-space: nowrap;
  filter: drop-shadow(0 2px 7px rgba(0,0,0,.55));
}
.vsl-hint-arrow {
  position: absolute; top: 19%; right: 29%; width: 14%; height: auto;
  filter: drop-shadow(0 2px 7px rgba(0,0,0,.55));
}
@media (prefers-reduced-motion: no-preference) {
  .vsl-hint-arrow { animation: vsl-bob 2.6s ease-in-out infinite; }
}
@keyframes vsl-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---- Sections / cards ----------------------------------------------------- */
.surface {
  background: var(--bg-2);
  border: 1px solid var(--bg-3);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 2vw, 2.4rem);
}
/* Cards in a grid get a tactile hover lift. */
.grid .surface { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.grid .surface:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 38%, var(--bg-3));
  box-shadow: var(--shadow);
}
.section-head { max-width: 60ch; margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.section.center .section-head { margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
.split.reverse { direction: ltr; }
.split.reverse > * { direction: rtl; }
@media (max-width: 820px) { .split, .split.reverse { grid-template-columns: 1fr; } }

/* Value-stack item */
.value-card { display: flex; flex-direction: column; gap: .7rem; height: 100%; }
.value-card .icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  align-self: center;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: var(--accent);
}
.value-card .icon svg { width: 28px; height: 28px; }
.value-card .price-tag { margin-top: auto; font-weight: 700; color: var(--accent); }
.icon-svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Checklist */
.checks { list-style: none; padding: 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-inline-start: 1.9rem; }
.checks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: .05em;
  color: var(--accent-ink); background: var(--accent);
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 900;
}

/* Feature rows — icon tile + title + description (richer than a checklist). */
.feature-list { display: grid; gap: clamp(1rem, .6rem + 1vw, 1.5rem); }
.feature { display: flex; gap: 1rem; align-items: flex-start; text-align: start; }
.feature .fi {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent);
}
.feature .fi svg { width: 26px; height: 26px; }
.feature h4 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, .95rem + .4vw, 1.2rem); margin-bottom: .25rem; }
.feature p { color: var(--ink-muted); }
@media (min-width: 720px) { .feature-list.two { grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; } }

/* ---- Proof strip (under hero) --------------------------------------------- */
.proof-strip {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-around;
  gap: clamp(1rem, .5rem + 2vw, 2rem);
  padding: clamp(1.1rem, .9rem + 1vw, 1.6rem) clamp(1.2rem, .6rem + 2vw, 2.6rem);
  background: color-mix(in srgb, var(--accent) 6%, var(--bg-2));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--bg-3));
  border-radius: var(--radius);
}
/* Icon sits ABOVE the number+label, centered. */
.proof-strip .stat { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
.proof-strip .stat .pico { flex: 0 0 auto; width: 32px; height: 32px; color: var(--accent); }
.proof-strip .stat b { display: block; font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2rem); font-weight: 800; color: var(--accent); line-height: 1.05; }
.proof-strip .stat span { font-size: .85rem; color: var(--ink-muted); }
/* On wide screens: equal columns with a divider on each inner boundary (RTL-correct). */
@media (min-width: 620px) {
  .proof-strip { gap: 0; }
  .proof-strip .stat { flex: 1 1 0; justify-content: center; padding-inline: clamp(1rem, .5rem + 2vw, 2rem); }
  .proof-strip .stat:not(:first-child) {
    border-inline-start: 1px solid color-mix(in srgb, var(--accent) 22%, var(--bg-3));
  }
}
/* Mobile: stack the 3 stats vertically as clean rows (icon beside text). */
@media (max-width: 619px) {
  .proof-strip { flex-direction: column; align-items: stretch; gap: 0; padding-block: .6rem; }
  .proof-strip .stat { flex-direction: column; align-items: center; gap: .35rem; padding-block: .9rem; }
  .proof-strip .stat:not(:first-child) { border-top: 1px solid color-mix(in srgb, var(--accent) 16%, var(--bg-3)); }
}

/* ---- How it works — numbered steps ---------------------------------------- */
.steps { counter-reset: step; }
/* Flow variant: cards connected by arrows (left on desktop, down on mobile). */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: clamp(.6rem, .3rem + 1vw, 1.2rem); }
.flow .step { flex: 1 1 220px; }
.step-arrow { flex: 0 0 auto; align-self: center; color: color-mix(in srgb, var(--accent) 55%, transparent); }
.step-arrow svg { width: 26px; height: 26px; }
@media (max-width: 680px) {
  .flow { flex-direction: column; }
  .flow .step { width: 100%; }
  .step-arrow svg { transform: rotate(-90deg); }
}
.step { position: relative; }
.step .num {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-2));
  border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--accent); font-weight: 900; font-size: 1.2rem;
  display: grid; place-items: center; margin-bottom: .8rem;
}
/* Opt-in: put a centered <svg class="icon-svg"> inside each .num instead of a number.
   Add class "icons" to the .steps container: <div class="steps flow icons">. */
.steps.icons .num { width: 3rem; height: 3rem; margin-inline: auto; }
.steps.icons .num .icon-svg { width: 1.9rem; height: 1.9rem; }

/* ---- Future-pacing ("your day after") ------------------------------------- */
.future {
  background:
    radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--bg-3); border-radius: var(--radius);
  padding: clamp(1.6rem, 1.1rem + 2.5vw, 3rem);
}
.future .checks li { font-size: var(--lead); }

/* ---- Urgency beat --------------------------------------------------------- */
.urgency {
  text-align: center;
  border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--bg-3));
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-2));
  border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 2vw, 2.2rem);
}
.urgency h3 { color: var(--accent); }

/* ---- Buy / Book offer switch ---------------------------------------------- */
/* Body carries data-format="buy" (default) or "book". One spine, two offers. */
.offer-book { display: none; }
body[data-format="book"] .offer-buy { display: none; }
body[data-format="book"] .offer-book { display: block; }
/* Hide the price-anchored value total when in book (no-price) mode. */
body[data-format="book"] [data-price-only] { display: none; }

/* ---- Price box ------------------------------------------------------------ */
.price-box {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-2), color-mix(in srgb, var(--accent) 6%, var(--bg-2)));
  border: 1.5px solid color-mix(in srgb, var(--accent) 40%, var(--bg-3));
  border-radius: var(--radius);
  padding: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  box-shadow: var(--shadow);
}
.price-box .amount { font-size: clamp(2.6rem, 1.6rem + 5vw, 4.2rem); font-weight: 900; color: var(--accent); line-height: 1; }
.price-box .was { font-size: 1.1rem; }

/* Inverted offer panel — accent-colored background, light content.
   Lets a white-on-transparent logo (e.g. compass) sit inside, and makes the offer pop. */
.price-box.invert {
  background: linear-gradient(160deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #000));
  border: 0; color: #fff;
}
.price-box.invert h2, .price-box.invert .lead, .price-box.invert .checks li, .price-box.invert .hl { color: #fff; }
.price-box.invert .lead { opacity: .92; }
.price-box.invert .checks li::before { background: #fff; color: var(--accent); }
.price-box.invert .eyebrow.badge { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.price-box.invert .eyebrow.badge::before { background: #fff; animation: live-dot-white 1.8s ease-out infinite; }
.price-box.invert .btn { background: #fff; color: var(--accent); box-shadow: 0 12px 32px -10px rgba(0,0,0,.45); }
.price-box.invert .btn::after { background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--accent) 22%, transparent), transparent); }
.price-box.invert .cta-note { color: rgba(255,255,255,.82); }
.offer-compass { display: block; height: clamp(140px, 26vw, 184px); width: auto; margin: 0 auto .3rem; }

/* ---- Guarantee badge ------------------------------------------------------ */
.guarantee {
  display: flex; align-items: center; gap: 1.2rem;
  border: 1.5px dashed color-mix(in srgb, var(--success) 50%, var(--bg-3));
  background: color-mix(in srgb, var(--success) 7%, var(--bg-2));
  border-radius: var(--radius); padding: clamp(1.2rem, 1rem + 1.5vw, 2rem);
}
.guarantee .seal {
  position: relative; flex: 0 0 auto; width: 78px; height: 78px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, #fff 22%, var(--success)), var(--success));
  color: #04130a; display: grid; place-items: center;
  font-weight: 900; text-align: center; font-size: .82rem; line-height: 1.1;
  box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--success) 70%, transparent);
}
.guarantee .seal span { position: relative; z-index: 1; }
.guarantee .seal svg { position: absolute; inset: 0; }

/* ---- Testimonials --------------------------------------------------------- */
.quote { display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.quote .stars { color: var(--accent); letter-spacing: .1em; }
.quote blockquote { font-size: 1.05rem; }
.quote .who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.quote .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote .who b { display: block; }
.quote .who span { font-size: .85rem; color: var(--ink-muted); }

/* Featured testimonial — single, standout quote placed right before the offer */
.quote.featured {
  position: relative;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  margin: 0;
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius, 18px);
  background: var(--bg-2);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  box-shadow: 0 18px 50px -28px color-mix(in srgb, var(--accent) 60%, transparent);
}
.quote.featured::before {
  content: "\201D";
  position: absolute;
  top: -.35em;
  inset-inline-start: .4em;
  font-family: var(--font-display, Rubik), serif;
  font-size: 5rem;
  line-height: 1;
  color: color-mix(in srgb, var(--accent) 30%, transparent);
  pointer-events: none;
}
.quote.featured blockquote {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 38ch;
}
.quote.featured .who { margin-top: 0; justify-content: center; }
@media (max-width: 619px) {
  .quote.featured blockquote { font-size: 1.12rem; }
}

/* ---- Founder / who's-behind-it ------------------------------------------- */
.founder { display: flex; flex-direction: column; align-items: center; gap: .8rem; margin-bottom: 1.5rem; }
.founder .founder-photo { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg-2); box-shadow: var(--shadow); }
.founder .founder-photo.ph { display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; background: color-mix(in srgb, var(--accent) 14%, var(--bg-3)); color: var(--accent); }
.founder .name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); }
.founder .role { color: var(--ink-muted); font-size: .95rem; }

/* ---- FAQ accordion -------------------------------------------------------- */
.faq { display: grid; gap: .7rem; }
.faq details {
  background: var(--bg-2); border: 1px solid var(--bg-3);
  border-radius: var(--radius-sm); padding: 0 1.2rem;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--bg-3)); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 1.05rem;
  padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: .5em; height: .5em; margin-block: auto;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(135deg); /* points left */
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); /* points down */ }
.faq .answer { padding-bottom: 1.2rem; color: var(--ink-muted); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--bg-3); padding-block: 2.5rem; color: var(--ink-muted); font-size: .9rem; }
.footer-main { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
@media (max-width: 560px) { .footer-main { flex-direction: column; align-items: flex-start; gap: 1.1rem; } .site-footer nav { gap: .9rem 1.2rem; } }
.site-footer a, .site-footer .link-btn { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover, .site-footer .link-btn:hover { color: var(--ink); }
.site-footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-footer .link-btn { background: 0; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* Designed-by-Rainer signature — subtle agency mark, removable per client. */
.rainer-credit { margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--bg-3); text-align: center; }
/* Keep the footer clear of the sticky mobile CTA bar. */
@media (max-width: 820px) { .site-footer { padding-block-end: 5.5rem; } }
.rainer-credit a {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: var(--ink-muted); text-decoration: none; opacity: .85;
  transition: opacity .2s ease, color .2s ease;
}
.rainer-credit a:hover { opacity: 1; color: var(--ink); }
.rainer-credit .mark {
  width: 27px; height: 27px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 900; font-size: .95rem;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rainer-credit a:hover .mark { transform: translateY(-1px); box-shadow: 0 6px 18px -6px var(--ring); }
/* Rainer wordmark (white-on-transparent). Shows as-is on dark themes; light
   themes darken it via a per-page override (filter: brightness(0)). */
.rainer-credit .rainer-logo { height: 18px; width: auto; opacity: .8; transition: opacity .2s ease; }
.rainer-credit a:hover .rainer-logo { opacity: 1; }

/* ---- Legal overlay (privacy / terms) -------------------------------------- */
.modal-card.legal { width: min(100%, 640px); max-height: 84vh; max-height: 84dvh; overflow-y: auto; text-align: right; }
.legal-prose { color: var(--ink-muted); font-size: .95rem; line-height: 1.75; }
.legal-prose h4 { color: var(--ink); margin: 1.3rem 0 .4rem; }
.legal-prose h4:first-child { margin-top: 0; }
.legal-prose p, .legal-prose li { margin-bottom: .7rem; }
.legal-prose a { color: var(--accent); }

/* ---- Sticky mobile CTA ---------------------------------------------------- */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--bg-3);
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  transform: translateY(120%); transition: transform .25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: min(100%, var(--maxw-narrow)); margin-inline: auto; }
/* Subtle periodic wiggle to draw the eye to the sticky CTA. */
@keyframes cta-wiggle {
  0%, 82%, 100% { transform: rotate(0) translateY(0); }
  85% { transform: rotate(-4deg) translateY(-3px); }
  88% { transform: rotate(4deg) translateY(-3px); }
  91% { transform: rotate(-3deg) translateY(0); }
  94% { transform: rotate(2deg); }
  97% { transform: rotate(-1deg); }
}
.sticky-cta.show .btn { animation: cta-wiggle 3.2s ease-in-out .8s infinite; }
.sticky-cta.show .btn:hover { animation-play-state: paused; }
/* Desktop: a floating centered pill instead of a full-width bar. */
@media (min-width: 821px) {
  .sticky-cta { background: none; backdrop-filter: none; border-top: 0; padding: 0 0 24px; pointer-events: none; }
  .sticky-cta .btn { width: fit-content; max-width: none; margin-inline: auto; pointer-events: auto; box-shadow: 0 16px 44px -12px var(--ring); }
}

/* ---- Lead form modal ------------------------------------------------------ */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center; padding: 1.2rem;
  background: rgba(0,0,0,.65); backdrop-filter: blur(4px);
}
.modal-card {
  width: min(100%, 440px); background: var(--bg-2);
  border: 1px solid var(--bg-3); border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 2vw, 2rem); box-shadow: var(--shadow);
  position: relative;
}
.modal-close {
  position: absolute; left: .8rem; top: .8rem;
  background: var(--bg-3); border: 0; color: var(--ink);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; line-height: 1;
}
.field { display: grid; gap: .35rem; margin-bottom: .9rem; }
.field label { font-size: .9rem; font-weight: 600; }
.field input {
  font: inherit; padding: .8rem .9rem; border-radius: var(--radius-sm);
  background: var(--bg); border: 1.5px solid var(--bg-3); color: var(--ink);
}
.field input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
/* tel/email inputs default to LTR in some engines — keep them right-aligned in the RTL form. */
.field input[type="tel"], .field input[type="email"] { text-align: right; direction: rtl; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--ink-muted); margin-bottom: 1rem; }
.consent input { margin-top: .25rem; flex: 0 0 auto; }
.form-msg { font-size: .9rem; margin-top: .8rem; min-height: 1.2em; }
.form-msg.err { color: var(--danger); }
.form-msg.ok { color: var(--success); }

/* Reusable inline lead form (drop a [data-lead-form] into any .lead-form card). */
.lead-form { width: min(100%, 520px); margin-inline: auto; text-align: start; }
.lead-form .btn.block { margin-top: .4rem; }
/* Honeypot — off-screen, hidden from users and assistive tech; bots still fill it. */
/* Clip-hidden, not offset: `left:-9999px` inside an RTL container extends the scroll
   area and gives the wrapper a phantom horizontal scrollbar. */
.hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- Legal overlays (terms / privacy) ------------------------------------ */
/* Works with either wrapper convention: .legal-body (everything inside,
   h2 title) or a fixed h3 title + scrolling .legal-prose. */
.modal-card.legal {
  width: min(100%, 640px); max-height: 84vh;
  display: flex; flex-direction: column;
  padding-top: 3.4rem; text-align: right;
}
.modal-card.legal .legal-body,
.modal-card.legal .legal-prose { overflow-y: auto; padding-inline-end: .3rem; }
.modal-card.legal h2,
.modal-card.legal > h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + 1vw, 1.55rem); margin-bottom: .2rem; color: var(--ink); }
.modal-card.legal h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 1.2rem 0 .35rem; color: var(--ink); }
.modal-card.legal > h3:first-of-type { margin-top: 0; }
.modal-card.legal p, .modal-card.legal li { color: var(--ink-muted); font-size: .94rem; line-height: 1.7; }
.modal-card.legal p { margin-bottom: .5rem; }
.modal-card.legal ul { padding-inline-start: 1.1rem; display: grid; gap: .35rem; margin-bottom: .5rem; }
.modal-card.legal a { color: var(--accent); font-weight: 600; }
.modal-card.legal .legal-updated { font-size: .82rem; color: var(--ink-muted); margin-bottom: 1rem; }

/* ---- Utilities ------------------------------------------------------------ */
.hidden { display: none !important; }
.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;
}
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -3rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem;
  border-radius: var(--radius-sm); transition: top .15s ease; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---- SVG details ---------------------------------------------------------- */
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: var(--accent); }

.seal svg { width: 100%; height: 100%; }
.seal-ring { fill: none; stroke: color-mix(in srgb, #04130a 35%, transparent); stroke-width: 2; }

.check-svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Design-review polish ------------------------------------------------- */
/* Tabular figures so prices/stats don't jitter. */
.price-box .amount, .proof-strip .stat b, .price-tag, .big, .was { font-variant-numeric: tabular-nums; }
/* Inline icon sized to the current text (e.g. urgency clock in .cta-note). */
.ico { width: 1em; height: 1em; vertical-align: -.12em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-inline-end: .35rem; }
/* Footer links meet the 44px touch-target minimum wherever a finger is the pointer.
   Keyed to pointer type as well as width: a tablet in landscape is a touch device at
   1024px and was falling out of the width-only query into 24px targets. */
@media (max-width: 820px), (pointer: coarse) {
  .site-footer nav a, .site-footer .link-btn { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---- Scroll reveal (class added by lp.js so no-JS users see everything) ---- */
.reveal { opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity var(--reveal-fade) var(--reveal-ease), transform var(--reveal-move) var(--reveal-ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn::after { display: none; }
}
