/* ==========================================================================
   Recepta landing - forhers-inspired redesign layer
   Loaded AFTER styles.css. Owns: hero-with-phone, drawer panels, real
   WhatsApp phone UI, businesses photo grid, video grid, lean sections.
   Palette: green #0B7A4B, near-black #05140D, bone #F8F7F2, lime #C9F53B.
   ========================================================================== */

:root{
  --rx-green:#0B7A4B;
  --rx-green-deep:#075C39;
  --rx-black:#05140D;
  --rx-bone:#F8F7F2;
  --rx-lime:#C9F53B;
  --rx-panel-radius:40px;
  --rx-wa-green:#075E54;      /* WhatsApp header teal-green */
  --rx-wa-tick:#53BDEB;       /* WhatsApp blue read tick */
  --rx-wa-bubble-out:#D9FDD3; /* outgoing bubble */
  --rx-wa-bubble-in:#FFFFFF;  /* incoming bubble */
  --rx-wa-wallpaper:#EFE7DE;
}

/* Kill any horizontal overflow globally. IMPORTANT: use overflow-x:clip, NOT
   hidden - `overflow-x:hidden` makes <body> a scroll container, which silently
   breaks every `position:sticky` descendant (the drawer panels never pin, so
   the page just scrolls normally). `clip` prevents horizontal overflow WITHOUT
   creating a scroll container, so sticky keeps working. */
html,body{max-width:100%;overflow-x:clip}

/* Lenis smooth-scroll hooks */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto !important}
.lenis.lenis-stopped{overflow:hidden}
@media(prefers-reduced-motion:reduce){
  html.lenis{scroll-behavior:auto}
}

/* ======================================================================
   1. HERO - the iPhone demo IS the hero
   ====================================================================== */
.hero-fluid{
  height:auto;min-height:100vh;
  display:flex;align-items:center;
  /* Bottom padding > top so the flex-centred content sits a touch higher and
     reads as vertically centred under the fixed header (equal padding biased
     it downward). */
  padding:52px 0 88px;
}
.hero-fluid .hero-fluid-content{
  position:relative;inset:auto;
  display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;
  width:100%;max-width:1240px;margin:0 auto;padding:0 40px;
}
.hero-fluid-scrim{background:linear-gradient(115deg,rgba(3,11,7,.82) 0%,rgba(3,11,7,.55) 46%,rgba(3,11,7,.25) 74%,rgba(3,11,7,.4) 100%)}

.hero-copy{pointer-events:none}
.hero-copy a,.hero-copy button{pointer-events:auto}
.hero-fluid .hf-logo{width:52px;height:52px;margin-bottom:22px}
.hero-fluid h1{
  font-size:clamp(40px,5.6vw,76px);line-height:1.0;letter-spacing:-.035em;
  max-width:15ch;margin:0 0 18px;
}
.hero-fluid .hf-sub{font-size:clamp(16px,1.5vw,19px);max-width:40ch;margin:0 0 30px}
.hero-fluid .hf-ctas{margin-top:0}

/* live phone sits in the hero, right column */
.hero-phone{
  justify-self:center;
  position:relative;
  pointer-events:auto;
  animation:hfEnter 800ms cubic-bezier(.2,0,0,1) both;
  animation-delay:340ms;
}
.hero-phone::before{
  /* soft lime glow halo behind the device */
  content:"";position:absolute;inset:-14% -18%;z-index:0;
  background:radial-gradient(60% 55% at 50% 42%,rgba(201,245,59,.22),transparent 70%);
  filter:blur(6px);pointer-events:none;
}
@media(prefers-reduced-motion:reduce){.hero-phone{animation:none}}

.hero-fluid .hf-cue{display:none}

@media(max-width:920px){
  .hero-fluid{padding:104px 0 56px}
  .hero-fluid .hero-fluid-content{grid-template-columns:1fr;gap:36px;text-align:left}
  .hero-phone{order:2;transform:scale(.96);transform-origin:top center}
  .hero-copy{order:1}
  .hero-fluid-scrim{background:linear-gradient(180deg,rgba(3,11,7,.78),rgba(3,11,7,.62))}
}
@media(max-width:520px){
  .hero-fluid .hero-fluid-content{padding:0 20px}
  .hero-fluid h1{font-size:clamp(32px,10vw,44px)}
  /* Phone scales to fit the narrow column; never clipped, never overflows. */
  .hero-phone{transform:none;width:100%}
  .iphone{width:min(300px,88vw);max-width:88vw;margin:0 auto}
  .hf-ctas{gap:10px}
  .hf-ctas .btn{flex:1 1 auto;min-width:0;text-align:center}
}
/* Very narrow (<=380px): a touch smaller so the device + glow always fit. */
@media(max-width:380px){
  .iphone{width:min(280px,90vw)}
  .hero-fluid .hero-fluid-content{padding:0 16px}
}

/* ======================================================================
   2. REAL WHATSAPP PHONE UI
   ====================================================================== */
.iphone{
  position:relative;width:300px;max-width:82vw;
  /* keep the whole device inside the hero viewport so it is never clipped */
  max-height:calc(100vh - 176px);
  padding:11px;border-radius:48px;
  background:linear-gradient(160deg,#23262b,#0d0f12 60%,#1a1d22);
  box-shadow:
    0 2px 4px rgba(0,0,0,.4),
    0 30px 70px -18px rgba(0,0,0,.65),
    inset 0 0 0 2px rgba(255,255,255,.06),
    inset 0 0 0 8px #05070a;
  z-index:1;
}
.iphone-screen{
  position:relative;border-radius:42px;overflow:hidden;
  background:var(--rx-wa-wallpaper);
  aspect-ratio:9/19.3;
}
.iphone-island{
  position:absolute;top:9px;left:50%;transform:translateX(-50%);
  width:96px;height:26px;background:#05070a;border-radius:16px;z-index:6;
}
.iphone-btn{position:absolute;background:#16191d;border-radius:2px;z-index:0}
.iphone-btn-power{right:-2px;top:150px;width:3px;height:58px}
.iphone-btn-vol-up{left:-2px;top:120px;width:3px;height:40px}
.iphone-btn-vol-down{left:-2px;top:168px;width:3px;height:40px}
.iphone-btn-mute{left:-2px;top:88px;width:3px;height:24px}

/* FIX (scroll chain): the window fills the phone screen and is a column flex
   container with min-height:0 so the middle (.wa-body) can actually scroll.
   Header, chips and composer are flex:none; only .wa-body flexes+scrolls. */
.whatsapp-window{position:absolute;inset:0;display:flex;flex-direction:column;
  height:100%;min-height:0;font-family:var(--font)}
.wa-header{flex:none}
.demo-chips{flex:none}
.wa-input-row{flex:none}

/* header */
.wa-header{
  display:flex;align-items:center;gap:10px;
  padding:34px 12px 9px;
  background:var(--rx-wa-green);color:#fff;
  position:relative;z-index:4;
}
.wa-header .wa-back{font-size:20px;line-height:1;opacity:.9;margin-right:-2px}
.wa-avatar{
  width:34px;height:34px;border-radius:50%;flex:none;
  background:linear-gradient(150deg,#0B7A4B,#12995F);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:700;font-size:15px;
}
.wa-avatar-sm{width:22px;height:22px;font-size:11px}
.wa-header-text{display:flex;flex-direction:column;line-height:1.15;flex:1;min-width:0}
.wa-header-text strong{font-size:14.5px;font-weight:600;letter-spacing:.1px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wa-header-text span{font-size:11.5px;color:rgba(255,255,255,.82)}
.wa-header-icons{display:flex;gap:16px;align-items:center;color:#fff;opacity:.92;font-size:15px}
.wa-header-icons svg{width:19px;height:19px;stroke:#fff;fill:none}

/* body / wallpaper */
.wa-body{
  flex:1 1 auto;min-height:0;overflow-y:auto;padding:12px 9px 8px;
  display:flex;flex-direction:column;gap:5px;
  -webkit-overflow-scrolling:touch;
  /* FIX B: single uniform cream wallpaper. The base styles.css layered a
     translucent-white gradient over this; clear it so no white band shows
     behind the Today pill / encryption notice. */
  background-color:var(--rx-wa-wallpaper);
  background-image:none;
  scrollbar-width:none;
}
.wa-body::-webkit-scrollbar{display:none}
.wa-encryption{
  align-self:center;max-width:82%;margin:2px auto 8px;
  background:#FCF4CB;color:#54634d;font-size:10px;line-height:1.4;
  text-align:center;padding:6px 10px;border-radius:8px;
  box-shadow:0 1px 1px rgba(0,0,0,.06);
}
/* FIX B: the day-separator wrapper must be transparent (base styles.css gave
   it a white pill background). Only the inner span is the pill. */
.wa-day-sep{align-self:center;margin:2px 0 6px;background:transparent;padding:0;border-radius:0;box-shadow:none}
.wa-day-sep span{
  background:#dbeee4;color:#4a5a51;
  font-size:10.5px;font-weight:600;padding:4px 11px;border-radius:8px;
  box-shadow:0 1px 1px rgba(0,0,0,.05);
}

/* bubbles with tails */
.wa-msg{
  position:relative;max-width:80%;
  /* FIX C: reserve trailing space (padding-right for the timestamp, extra
     padding-bottom) exactly like WhatsApp, so the time+ticks never touch the
     last word and never overlap a short final line. */
  padding:6px 10px 16px 10px;
  font-size:13.5px;line-height:1.32;color:#0b1a12;
  border-radius:9px;box-shadow:0 1px .5px rgba(0,0,0,.13);
  word-wrap:break-word;overflow-wrap:anywhere;white-space:normal;
}
.wa-msg.in{padding-right:40px}
.wa-msg.out{padding-right:48px}
/* Bullet lines inside a bubble render as a proper hanging bullet,
   like real WhatsApp - not a runaway "•" swallowed mid-sentence. */
.wa-msg .wa-bullet{display:block;padding-left:14px;position:relative;margin:2px 0}
.wa-msg .wa-bullet::before{content:"•";position:absolute;left:2px;top:0;color:#4a5a51}
.wa-msg strong{font-weight:600;color:#0b1a12}
.wa-msg em{font-style:italic}
.wa-msg s{text-decoration:line-through}
.wa-msg code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em;background:rgba(11,26,18,.06);padding:0 3px;border-radius:4px}
/* WhatsApp-style inline link inside a bubble. */
.wa-msg .wa-link{color:#027eb5;text-decoration:none;word-break:break-word}
.wa-msg.in .wa-link{color:#027eb5}
.wa-msg.out .wa-link{color:#0a7a4b}
/* Brief pulse on the hero CTA when the scripted demo nudges a free-typer. */
@keyframes ctaPulse{0%,100%{box-shadow:0 0 0 0 rgba(37,211,102,.0)}30%{box-shadow:0 0 0 6px rgba(37,211,102,.35)}}
.cta-pulse{animation:ctaPulse 1.2s ease-in-out 2}
/* FIX C: pin the timestamp to the bottom-right of the bubble (not floated
   against the text), with the ticks aligned right next to it. */
.wa-msg time{
  position:absolute;right:9px;bottom:5px;
  display:inline-flex;align-items:center;gap:3px;
  font-size:9.5px;line-height:1;color:#667781;
  font-variant-numeric:tabular-nums;
}
/* Kill the duplicate ✓✓ that base styles.css injected via ::after — the
   ticks now come from a real .wa-ticks span (static HTML + appendBubble). */
.wa-msg.out time::after{content:none !important;}
.wa-msg.in{
  align-self:flex-start;background:var(--rx-wa-bubble-in);
  border-top-left-radius:2px;
}
.wa-msg.in::before{
  content:"";position:absolute;top:0;left:-7px;width:9px;height:12px;
  background:var(--rx-wa-bubble-in);
  clip-path:polygon(100% 0,0 0,100% 100%);
}
.wa-msg.out{
  align-self:flex-end;background:var(--rx-wa-bubble-out);
  border-top-right-radius:2px;
}
.wa-msg.out::before{
  content:"";position:absolute;top:0;right:-7px;width:9px;height:12px;
  background:var(--rx-wa-bubble-out);
  clip-path:polygon(0 0,100% 0,0 100%);
}
/* double blue read ticks on outgoing */
/* SVG read-receipt double-check (one per outgoing bubble). */
.wa-msg .wa-tick{
  width:16px;height:15px;margin-left:2px;flex:none;
  vertical-align:middle;color:var(--rx-wa-tick);
}
/* Legacy text-tick fully removed; keep a no-op guard so any stray one hides. */
.wa-ticks{display:none}

/* typing indicator (native look: bubble with animated dots) */
.wa-typing{
  align-self:flex-start;display:flex;align-items:center;
  background:var(--rx-wa-bubble-in);border-radius:9px;border-top-left-radius:2px;
  padding:9px 12px;margin:1px 0 2px;box-shadow:0 1px .5px rgba(0,0,0,.13);
  position:relative;
}
.wa-typing::before{
  content:"";position:absolute;top:0;left:-7px;width:9px;height:12px;
  background:var(--rx-wa-bubble-in);clip-path:polygon(100% 0,0 0,100% 100%);
}
.wa-typing[hidden]{display:none}
.typing-dots{display:flex;gap:4px}
.typing-dots span{
  width:6px;height:6px;border-radius:50%;background:#9aa6a0;
  animation:waTypeDot 1.3s infinite ease-in-out;
}
.typing-dots span:nth-child(2){animation-delay:.18s}
.typing-dots span:nth-child(3){animation-delay:.36s}
@keyframes waTypeDot{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}
@media(prefers-reduced-motion:reduce){.typing-dots span{animation:none}}

.wa-offline-banner{
  margin:8px;padding:9px 11px;border-radius:9px;
  background:#FBF1DC;color:#8a6412;font-size:11px;line-height:1.4;
}
.wa-offline-banner[hidden]{display:none}

/* quick-reply chips inside the phone: ONE horizontal scroll row (like real
   WhatsApp Business quick replies) so they never wrap into multiple rows and
   cover the chat. */
.demo-chips{
  display:flex;flex-wrap:nowrap;gap:6px;
  padding:6px 9px 4px;background:var(--rx-wa-wallpaper);
  overflow-x:auto;scrollbar-width:none;flex:none;
  /* FIX D: base styles.css added an 18px margin-bottom that revealed the
     darker window background as a seam between the chips and the composer.
     Remove it so chips, composer and wallpaper meet cleanly. */
  margin-bottom:0;
}
.demo-chips::-webkit-scrollbar{display:none}
.demo-chips .chip{
  border:1px solid rgba(11,122,75,.28);background:#fff;color:var(--rx-green);
  font-size:10.5px;font-weight:600;padding:5px 10px;border-radius:999px;
  cursor:pointer;transition:background .15s,transform .1s;line-height:1;
  white-space:nowrap;flex:none;
}
.demo-chips .chip:hover{background:#eafff4}
.demo-chips .chip:active{transform:scale(.96)}
.demo-chips .chip:disabled{opacity:.5;cursor:default}

/* input row */
.wa-input-row{
  display:flex;align-items:center;gap:7px;padding:7px 8px 9px;
  background:var(--rx-wa-wallpaper);
}
.wa-input{
  flex:1;border:none;outline:none;border-radius:20px;
  padding:9px 13px;font-size:13px;background:#fff;color:#0b1a12;
  box-shadow:0 1px 1px rgba(0,0,0,.08);
}
.wa-send{
  flex:none;width:36px;height:36px;border-radius:50%;border:none;
  background:var(--rx-wa-green);color:#fff;font-size:14px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.wa-send:disabled{opacity:.5;cursor:default}

/* ======================================================================
   3. DRAWER PANELS - full-bleed rounded blocks that curve into each other
   ====================================================================== */
.drawers{position:relative;background:var(--rx-black)}
/* SELECTIVE DRAWER (forhers.com mechanic, used sparingly): forhers does NOT pin
   every section. Sections curve into each other with a rounded top + gentle
   upward overlap, and only ONE hero-to-content moment actually pins and recedes.
   So:
   - ALL panels: normal flow (position:relative), rounded top, and a negative
     margin-top so each panel's rounded edge overlaps the previous section (the
     "curve into each other" look). The big type + rx-fade reveal carry them.
   - ONLY the first panel is sticky-pinned and receding (see :first-child + the
     matching ScrollTrigger in scroll.js) - the single drawer wow moment as the
     content slides up over the hero. */
.panel{
  position:relative;
  min-height:auto;
  display:flex;align-items:center;
  padding:clamp(96px,12vh,160px) 0;
  /* Flat, full-bleed sections. No rounded top, no overlap - only the first
     panel (below) reads as a drawer. Forhers-style: one drawer moment, rest
     is clean scrolling. */
  border-radius:0;
  box-shadow:none;
  margin-top:0;
}
/* THE one true drawer: the first panel pins over the full-height hero and
   recedes as the second panel slides up over it. It keeps the rounded top
   and the soft top shadow so it reads as an actual drawer. */
.drawers .panel:first-child{
  position:sticky;
  top:0;
  min-height:100vh;
  margin-top:0;
  border-radius:var(--rx-panel-radius) var(--rx-panel-radius) 0 0;
  box-shadow:0 -26px 60px -24px rgba(5,20,13,.5);
  will-change:transform;
}
/* the panel that slides up over the pinned first panel needs a rounded top +
   negative margin so the drawer cover reads clearly */
.drawers .panel:nth-child(2){
  margin-top:-48px;
  border-radius:var(--rx-panel-radius) var(--rx-panel-radius) 0 0;
  box-shadow:0 -26px 60px -24px rgba(5,20,13,.5);
}
.panel-inner{width:100%;max-width:1160px;margin:0 auto;padding:0 40px}

@media(prefers-reduced-motion:reduce){
  /* No pinning for reduced motion - panels are simple stacked sections. */
  .panel,.drawers .panel:first-child{position:relative;top:auto;min-height:auto;padding:80px 0}
}

.panel-green{background:var(--rx-green);color:#eafff4}
.panel-black{background:var(--rx-black);color:#eafff4}
.panel-bone{background:var(--rx-bone);color:var(--rx-black)}
.panel-lime{background:var(--rx-lime);color:var(--rx-black)}

.panel .p-eyebrow{
  display:inline-block;font-size:11px;font-weight:700;letter-spacing:2.6px;
  text-transform:uppercase;margin-bottom:20px;opacity:.7;
}
.panel-lime .p-eyebrow{opacity:.6}
.panel h2{
  font-family:var(--display);font-weight:400;
  font-size:clamp(36px,5.4vw,72px);line-height:1.02;letter-spacing:-.03em;
  margin:0 0 20px;text-wrap:balance;
}
.panel .p-lead{
  font-size:clamp(17px,1.7vw,21px);line-height:1.5;max-width:34ch;opacity:.92;margin:0;
}
.panel-green .p-lead,.panel-black .p-lead{color:rgba(234,255,244,.9)}

/* two-column drawer: big statement + one strong visual */
.panel-split .panel-inner{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,72px);align-items:center;
}
.panel-split.reverse .panel-visual{order:-1}

.panel-visual{position:relative}
.panel-photo{
  width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;
  border-radius:28px;display:block;
  box-shadow:0 24px 60px -24px rgba(5,20,13,.5);
}
.panel-photo.wide{aspect-ratio:5/4}
/* moving-video variant of a panel visual (looping, muted, Indian footage) */
.panel-video{
  width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;
  border-radius:28px;display:block;
  box-shadow:0 24px 60px -24px rgba(5,20,13,.5);
}

/* GSAP reveal state (JS toggles .rx-in) */
.rx-fade{opacity:0;transform:translateY(34px)}
.rx-in .rx-fade,.rx-fade.rx-in{opacity:1;transform:none;
  transition:opacity .9s cubic-bezier(.2,0,0,1),transform .9s cubic-bezier(.2,0,0,1)}
.rx-fade[data-d="1"]{transition-delay:.08s}
.rx-fade[data-d="2"]{transition-delay:.16s}
.rx-fade[data-d="3"]{transition-delay:.24s}
@media(prefers-reduced-motion:reduce){
  .rx-fade{opacity:1 !important;transform:none !important;transition:none !important}
}

/* mock chat exchange used inside a panel (visual, not the live widget) */
.mini-chat{
  display:flex;flex-direction:column;gap:9px;max-width:420px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
  padding:22px;border-radius:24px;backdrop-filter:blur(4px);
}
.panel-bone .mini-chat,.panel-lime .mini-chat{
  background:rgba(5,20,13,.04);border-color:rgba(5,20,13,.1);
}
.mini-bubble{max-width:82%;padding:10px 13px;font-size:14px;line-height:1.38;border-radius:16px}
.mini-bubble.in{align-self:flex-start;background:#fff;color:#0b1a12;border-bottom-left-radius:4px}
.mini-bubble.out{align-self:flex-end;background:var(--rx-wa-bubble-out);color:#0b1a12;border-bottom-right-radius:4px}
.mini-bubble small{display:block;margin-top:4px;font-size:10px;color:#667781}

/* value chips row inside panels (replaces feature paragraphs) */
.chip-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.value-chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 15px;border-radius:999px;font-size:13.5px;font-weight:600;
}
.panel-green .value-chip,.panel-black .value-chip{background:rgba(255,255,255,.1);color:#eafff4}
.panel-bone .value-chip{background:#fff;color:var(--rx-black);box-shadow:var(--shadow-sm)}
.panel-lime .value-chip{background:rgba(5,20,13,.08);color:var(--rx-black)}
.value-chip .vc-dot{width:7px;height:7px;border-radius:50%;background:var(--rx-lime)}
.panel-lime .value-chip .vc-dot,.panel-bone .value-chip .vc-dot{background:var(--rx-green)}

/* big stat strip */
.stat-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:8px}
.stat-strip .s-n{font-family:var(--display);font-size:clamp(40px,6vw,72px);line-height:1;letter-spacing:-.03em}
.stat-strip .s-l{font-size:13px;margin-top:10px;opacity:.8;line-height:1.4;max-width:20ch}

/* ======================================================================
   4. FEATURE STRIP (icon + few words, never a paragraph)
   ====================================================================== */
.feat-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px}
.feat-item{
  padding:24px;border-radius:22px;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
}
.panel-bone .feat-item{background:#fff;border-color:var(--ink-100);box-shadow:var(--shadow-sm)}
.feat-item .fi-ico{width:30px;height:30px;margin-bottom:14px;color:var(--rx-lime)}
.panel-bone .feat-item .fi-ico{color:var(--rx-green)}
.feat-item .fi-ico svg{width:100%;height:100%;stroke-width:1.6}
.feat-item h3{font-size:16px;font-weight:700;margin:0 0 6px;letter-spacing:-.01em}
.feat-item p{font-size:13.5px;line-height:1.45;margin:0;opacity:.82}

/* ======================================================================
   5. BUSINESSES PHOTO GRID (real humans)
   ====================================================================== */
.biz-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:44px}
.biz-card{
  position:relative;border-radius:22px;overflow:hidden;
  aspect-ratio:3/4;box-shadow:0 18px 40px -20px rgba(5,20,13,.45);
}
.biz-card img,.biz-card video{width:100%;height:100%;object-fit:cover;display:block;transition:transform .7s cubic-bezier(.2,0,0,1)}
.biz-card:hover img,.biz-card:hover video{transform:scale(1.05)}
.biz-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(5,20,13,.72),transparent 52%)}
.biz-card .biz-label{
  position:absolute;left:16px;bottom:14px;z-index:2;color:#fff;
  font-size:15px;font-weight:700;letter-spacing:-.01em;
}
.biz-card .biz-label small{display:block;font-size:11.5px;font-weight:500;opacity:.85;margin-top:2px}

/* ======================================================================
   6. VIDEO GRID (4 tiles)
   ====================================================================== */
.showcase-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:44px}
.showcase-card{aspect-ratio:3/4;border-radius:22px}
@media(max-width:900px){
  .biz-grid,.showcase-grid{grid-template-columns:repeat(2,1fr)}
}

/* ======================================================================
   7. RESPONSIVE for panels
   ====================================================================== */
@media(max-width:820px){
  .panel{min-height:auto;padding:72px 0}
  .drawers .panel:first-child,.drawers .panel:nth-child(2){border-radius:32px 32px 0 0}
  .drawers .panel:nth-child(2){margin-top:-28px}
  .panel-inner{padding:0 22px}
  .panel-split .panel-inner{grid-template-columns:1fr;gap:30px}
  .panel-split.reverse .panel-visual{order:0}
  /* !important beats the inline grid-template-columns on the How-it-works 4-col
     strip, which otherwise stays 4-wide at 375px and forces horizontal scroll */
  .feat-strip{grid-template-columns:1fr !important;gap:14px}
  .stat-strip{grid-template-columns:1fr;gap:22px;text-align:left}
  .panel h2{font-size:clamp(30px,8.5vw,44px)}
}

/* the fluid canvas should still fill the hero even though hero is now auto-height */
#fluid-canvas{height:100%}

/* ======================================================================
   8. PRICING CARDS - fix washed-out / low-contrast colours
   The old dark "glass card" treatment in styles.css (.price-card { background:
   var(--space-panel); color: var(--ad-muted) }) was meant for a dark section,
   but pricing now lives inside a light panel-bone. That gave muddy translucent
   cards with grey-on-bone text. These rules (loaded last) restore solid,
   high-contrast, on-brand cards.
   ====================================================================== */
.panel-bone .pricing-grid{gap:22px}
.panel-bone .price-card{
  background:#FFFFFF;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  border:1.5px solid #E4E7E2;
  border-radius:26px;
  box-shadow:0 20px 44px -26px rgba(5,20,13,.4);
  color:var(--rx-black);
}
.panel-bone .price-card h3{color:var(--rx-black)}
.panel-bone .price-amount{color:var(--rx-black)}
.panel-bone .price-currency{color:var(--rx-green)}
.panel-bone .price-period{color:#5C6B62}
.panel-bone .price-desc{color:#41504A}
.panel-bone .price-features li{color:#2C3A33}
.panel-bone .price-features li::before{color:var(--rx-green)}
.panel-bone .price-features li sup,
.panel-bone .pricing-footnotes sup{color:var(--rx-green)}

/* Featured "Pro" card: solid brand green, readable white text */
.panel-bone .price-card-featured{
  background:var(--rx-green);
  border-color:var(--rx-green-deep);
  box-shadow:0 26px 60px -22px rgba(11,122,75,.6);
  transform:scale(1.03);
}
.panel-bone .price-card-featured h3,
.panel-bone .price-card-featured .price-amount,
.panel-bone .price-card-featured .price-currency{color:#FFFFFF}
.panel-bone .price-card-featured .price-desc{color:rgba(255,255,255,.9)}
.panel-bone .price-card-featured .price-period{color:rgba(255,255,255,.78)}
.panel-bone .price-card-featured .price-features li{color:rgba(255,255,255,.94)}
.panel-bone .price-card-featured .price-features li::before{color:var(--rx-lime)}
.panel-bone .price-card-featured .price-features li sup{color:var(--rx-lime)}
.panel-bone .price-card-featured .price-badge{
  background:var(--rx-lime);color:var(--rx-black);font-weight:800;
}
/* outline button reads as brand green on the white cards, white on the green card */
.panel-bone .price-card .btn-outline{
  background:transparent;color:var(--rx-green);border:1.5px solid var(--rx-green);
}
.panel-bone .price-card .btn-outline:hover{background:rgba(11,122,75,.08);border-color:var(--rx-green-deep)}
.panel-bone .price-card-featured .btn-primary{
  background:#FFFFFF;color:var(--rx-green);
}
.panel-bone .price-card-featured .btn-primary:hover{background:#F1FBF5}
.panel-bone .pricing-footnotes p{color:#51605A}

@media(max-width:820px){
  .panel-bone .price-card-featured{transform:none}
}

/* Fair-use inline note (smaller, softer) under the fair-use bullet on Pro + Agency */
.panel-bone .price-features li.price-fair-note{
  list-style:none;padding-left:0;margin-top:-2px;margin-left:18px;
  font-size:12.5px;line-height:1.45;opacity:.78;font-weight:500;
}
.panel-bone .price-features li.price-fair-note::before{content:""}
.panel-bone .price-card-featured .price-features li.price-fair-note{color:rgba(255,255,255,.82)}

/* Pro CTA tagline sub-line */
.panel-bone .price-cta-sub{
  display:block;text-align:center;margin-top:10px;
  font-size:12px;font-weight:600;letter-spacing:.02em;
  color:rgba(255,255,255,.85);
}

/* HOW-IT-WORKS: numbered, depictive steps (client: "show something visual") */
#how .how-step{position:relative}
#how .how-step .step-n{
  display:inline-block;font-family:var(--display,serif);
  font-size:14px;font-weight:600;letter-spacing:.06em;
  color:var(--rx-lime);opacity:.92;margin-bottom:10px;
}
#how .how-step .fi-ico svg{width:30px;height:30px;stroke-width:1.6}
/* subtle connector line between the step icons on wide screens, showing the 1->4 flow */
@media(min-width:761px){
  #how .how-steps .how-step:not(:last-child)::after{
    content:"";position:absolute;top:58px;right:-11px;width:22px;height:2px;
    background:linear-gradient(90deg,rgba(201,245,59,.5),rgba(201,245,59,0));
  }
}

/* HOW-IT-WORKS: rich animated abstract scenes per step (no real UI, purely
   illustrative). Structure strokes are light; the accent motion is lime. */
.step-scene{
  height:104px;margin:2px 0 14px;border-radius:16px;
  background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.09);
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.step-scene .scene{width:100%;height:100%;color:rgba(240,251,239,.82);display:block}
/* accent (lime) elements */
.s-pulse,.s-line,.s-scan,.s-check,.s-bub.bo{color:var(--rx-lime)}

/* 01 - storefront draws in, sign light pulses */
@keyframes sDraw{0%{stroke-dashoffset:240}45%{stroke-dashoffset:0}100%{stroke-dashoffset:0}}
.s-draw{stroke-dasharray:240;stroke-dashoffset:240;animation:sDraw 4s ease-in-out infinite}
.s-draw.d2{animation-delay:.35s}.s-draw.d3{animation-delay:.7s}
@keyframes sPulse{0%,100%{opacity:.35;transform:scale(1)}50%{opacity:1;transform:scale(1.55)}}
.s-pulse{fill:var(--rx-lime);transform-box:fill-box;transform-origin:center;animation:sPulse 1.9s ease-in-out infinite}

/* 02 - knowledge lines fill left-to-right, staggered */
@keyframes sFill{0%{stroke-dashoffset:26}55%{stroke-dashoffset:0}92%{stroke-dashoffset:0}100%{stroke-dashoffset:26}}
.s-line{stroke:var(--rx-lime);stroke-dasharray:26;stroke-dashoffset:26;animation:sFill 2.6s ease-in-out infinite}
.s-line.l2{animation-delay:.3s}.s-line.l3{animation-delay:.6s}

/* 03 - QR scan line sweeps top to bottom */
@keyframes sScan{0%{transform:translateY(0);opacity:0}12%{opacity:1}88%{opacity:1}100%{transform:translateY(38px);opacity:0}}
.s-scan{fill:var(--rx-lime);transform-box:fill-box;animation:sScan 2.3s cubic-bezier(.6,0,.4,1) infinite}
@keyframes sQrGlow{0%,100%{opacity:.55}50%{opacity:1}}
.s-qr rect{animation:sQrGlow 2.3s ease-in-out infinite}

/* 04 - incoming then outgoing bubble, check draws, loops */
@keyframes sBub{0%{opacity:0;transform:translateY(6px) scale(.92)}10%{opacity:1;transform:translateY(0) scale(1)}86%{opacity:1}100%{opacity:0}}
.s-bub{transform-box:fill-box;transform-origin:center;animation:sBub 3.2s ease-in-out infinite}
.s-bub.bi{animation-delay:.1s}.s-bub.bo{stroke:var(--rx-lime);animation-delay:.85s}
@keyframes sCheck{0%,32%{stroke-dashoffset:18}48%,86%{stroke-dashoffset:0}100%{stroke-dashoffset:18}}
.s-check{stroke:var(--rx-lime);stroke-dasharray:18;stroke-dashoffset:18;animation:sCheck 3.2s ease-in-out infinite}

@media(prefers-reduced-motion:reduce){
  .step-scene .scene *{animation:none !important;stroke-dashoffset:0 !important;opacity:1 !important}
  .s-scan{opacity:1 !important}
}
