/* ginisha shared shell: fonts, tokens, header, footer.
   Design language V1 "soft cards", locked 03/09/2026 (Shani rejected the hairline/editorial look).
   Rules: no hairline rules or 1px cell grids; content sits in rounded cards on a warm ground;
   soft shadows instead of borders; radius 20-26px on blocks, 999px on buttons. */
@font-face { font-family:"Rubik"; src:url("assets/fonts/Rubik.ttf") format("truetype"); font-weight:300 900; font-display:swap; }
@font-face { font-family:"Assistant"; src:url("assets/fonts/Assistant.ttf") format("truetype"); font-weight:200 800; font-display:swap; }
@font-face { font-family:"Noto"; src:url("assets/fonts/NotoSansHebrew.ttf") format("truetype"); font-weight:100 900; font-display:swap; }
/* Palette B "Ink & sage", locked 03/09/2026 (Shani). NOTE: the token names are historical.
   --coral is the dark flood colour (near-black), --coral-deep is the sage accent. Names kept to avoid a
   site-wide rename; if they ever get renamed, do it in one pass across shell.css + index/maskim/course. */
:root{
  --coral:#2A2521; --coral-deep:#5E6C54; --coral-soft:#EDEAE3; --peach:#F0EDE6; /* 28/09: sage darkened from #6E7F63 (3.85:1 on --ground) to pass WCAG AA 4.5:1 everywhere (5.0 on ground, 5.6 white-on-sage); same hue, on the walkthrough sheet for Shani */
  --cream:#FAF8F4; --paper:#FFFFFF; --ink:#241F1B; --ink-soft:#5A524A; /* 27/09: darker for weight, was #6E655C */
  --hair:rgba(36,31,27,.15);
  --ground:#F5F2EC; --card:#FFFFFF; --radius:22px;
  --shadow:0 8px 30px rgba(36,31,27,.06); --shadow-lift:0 14px 34px rgba(36,31,27,.10);
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
html.lenis, html.lenis body{ height:auto; } .lenis.lenis-smooth{ scroll-behavior:auto !important; } .lenis.lenis-stopped{ overflow:hidden; } /* 17/11 Lenis smooth wheel scroll (motion.js) */
body{
  font-size:18px; font-weight:600; /* 27/09: base 16→18px + Assistant 500, Amit: secondary text too small/thin. 04/10 Amit: still thin → 600 */
  font-family:"Assistant",sans-serif; color:var(--ink); background:var(--ground);
  line-height:1.75; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
b, strong{ font-weight:800; } /* 04/10: keeps bold a step above the 600 body (browser "bolder" from 600 would be 900) */
h1, h2, h3{ line-height:1.2; word-spacing:-.06em; } /* 04/10 Amit: titles too loose; headings without their own line-height inherited the body's 1.75 */
img{ max-width:100%; display:block; }
a{ color:inherit; }
.wrap{ max-width:1080px; margin-inline:auto; padding-inline:24px; }
.narrow{ max-width:720px; margin-inline:auto; padding-inline:24px; }
.kicker{
  font-family:"Rubik"; font-weight:600; font-size:1rem; letter-spacing:0; /* Hebrew: no tracking (Design Guidelines §1) */
  color:var(--coral-deep);
}
.topbar{ /* 18/10 Amit (Omri's notes): burger right, logo centre, links left. Equal 1fr sides keep the logo truly centred */
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px;
  padding:22px 0; position:relative; z-index:20;
}
.topbar .wm{ height:24px; width:auto; }
.topbar .links{ justify-self:end; display:flex; gap:26px; font-family:"Rubik"; font-weight:500; font-size:1.134rem; }
.topbar .links a{ text-decoration:none; padding-bottom:2px; border-bottom:1.5px solid transparent; white-space:nowrap; }
.topbar .links a:hover{ border-bottom-color:var(--coral); }
.burger{ justify-self:start; }
.burger summary{ list-style:none; cursor:pointer; width:40px; height:40px; display:flex; align-items:center; justify-content:center; border-radius:12px; }
.burger summary::-webkit-details-marker{ display:none; }
.burger summary span, .burger summary span:before, .burger summary span:after{ display:block; width:22px; height:2px; border-radius:2px; background:var(--ink); position:relative; transition:transform .2s ease, background .2s ease; }
.burger summary span:before, .burger summary span:after{ content:""; position:absolute; inset-inline-start:0; }
.burger summary span:before{ top:-7px; } .burger summary span:after{ top:7px; }
.burger[open] summary span{ background:transparent; }
.burger[open] summary span:before{ transform:translateY(7px) rotate(45deg); }
.burger[open] summary span:after{ transform:translateY(-7px) rotate(-45deg); }
.burger .menu{ position:absolute; top:100%; inset-inline-start:0; min-width:250px; background:var(--card); border-radius:20px; box-shadow:var(--shadow-lift); padding:10px; display:flex; flex-direction:column; font-family:"Rubik"; font-weight:500; font-size:1.05rem; }
.burger .menu a{ text-decoration:none; padding:10px 14px; border-radius:12px; }
.burger .menu a:hover{ background:var(--coral-soft); }
.burger .menu a[dir="ltr"]{ text-align:end; }
@media (max-width:819px){ .topbar{ display:flex; justify-content:space-between; } } /* 18/10 Amit: a mathematically centred logo left a wide gap to the burger and the links hugging the logo; below desktop the three items sit at equal gaps instead */
@media (max-width:520px){ .topbar{ gap:8px; } .topbar .wm{ height:21px; } .topbar .links{ gap:12px; font-size:.95rem; } .topbar .links a[href="contact.html"], .topbar .links a[href="maamarim.html"]{ display:none; } } /* phones: 3 links (168px) don't fit beside a centred logo (~124px a side on 375px); צור קשר stays in the burger */
@media (max-width:359px){ .topbar .wm{ height:18px; } .topbar .links{ gap:7px; font-size:.8rem; } } /* 320px phones (SE 1st gen) */
.pagehead{ padding-top:56px; padding-bottom:34px; } /* longhand keeps .wrap's side gutter */
.pagehead h1{
  font-family:"Noto",sans-serif; font-weight:800; font-size:clamp(2.1rem,7vw,3.4rem);
  line-height:1.12; margin-top:10px;
}
.pagehead h1 em{ font-style:normal; color:var(--coral-deep); }
.pagehead .sub{ color:var(--ink-soft); max-width:560px; margin-top:14px; font-size:1.2rem; }
.btn{
  display:inline-block; font-family:"Rubik"; font-weight:600; text-decoration:none;
  text-align:center; border-radius:999px; padding:14px 30px; font-size:1.187rem;
  transition:transform .15s ease, background .2s ease;
}
.btn:active{ transform:scale(.98); }
.btn-ink, .btn-line, .btn-coral{ background:var(--coral-deep); color:#fff; } /* 23/10 Amit's UX friend: every CTA one colour (was ink / outline / sage) */
.btn-ink:hover, .btn-line:hover, .btn-coral:hover{ background:var(--ink); }
/* 23/10 same review: on phones the CTAs run full width, stacked */
@media (max-width:520px){ body :is(.ctas, .buy, .closing){ flex-direction:column; align-items:stretch; } body :is(.ctas, .buy, .closing) .btn{ display:block; width:100%; white-space:normal; } }
footer{ background:var(--ink); color:var(--cream); padding:56px 0 40px; margin-top:72px; border-radius:28px 28px 0 0; }
.foot-grid{ display:grid; grid-template-columns:1fr; gap:30px; }
.foot-brand .wm{ height:22px; width:auto; filter:brightness(0) invert(1); opacity:.95; margin-bottom:14px; }
.foot-brand p{ font-size:1.134rem; opacity:.75; max-width:300px; }
.foot-col h4{ font-family:"Rubik"; font-weight:600; font-size:1rem; letter-spacing:0; opacity:.6; margin-bottom:12px; } /* 04/10: was .18em, Hebrew gets no tracking (Design Guidelines §1) */
.foot-col a{ display:block; text-decoration:none; font-size:1.166rem; padding:4px 0; opacity:.9; text-align:right; } /* 04/10: the dir="ltr" mail + IG links sat flush left on phones */
.foot-col a + h4{ margin-top:18px; } /* 28/09 Shani: products grouped as קורסים / הרצאות / מדריכים */
.foot-col a:hover{ color:#B4C2A8; opacity:1; } /* 27/09: was var(--coral) = near-black on the ink footer (invisible); light tint of the sage accent */
@media (max-width:819px){ /* 04/10 phones: the 4 link columns ran as one 1,100px stack; now 2 across. auto = the contact column's own width, so the mail address never wraps */
  .foot-grid{ grid-template-columns:1fr auto; gap:28px 16px; }
  .foot-brand{ grid-column:1 / -1; }
}
.foot-legal{
  margin-top:40px; padding-top:20px; border-top:1px solid rgba(251,246,239,.15);
  font-size:1rem; opacity:.6; line-height:1.7;
}
@media (min-width:820px){
  .foot-grid{ grid-template-columns:repeat(5, auto); justify-content:space-between; gap:40px; } /* 01/10 Amit: logo flush right, contact flush left, even gaps (the wide 1.2fr brand column was empty since the tagline went); מדריכים got its own column */
  .pagehead{ padding-top:72px; padding-bottom:44px; } /* 04/10: the shorthand zeroed .wrap's gutter, so about/contact headings stuck out 24px past the photo + cards */
}

/* ---- V1 card primitives (shared) ---- */
.card{ background:var(--card); border-radius:var(--radius); padding:28px 26px; box-shadow:var(--shadow); }
.cardgrid{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:820px){ .cardgrid.c3{ grid-template-columns:repeat(3,1fr); } }

/* testimonials: real buyer DMs (Shani's stories), verbatim, no names. Source bank: Ginisha/אתר/המלצות לקוחות - תמלול (27-09-2026).md
   Styled as an Instagram DM (Amit 27/09): incoming grey bubble on the left with IG's default avatar under it,
   Shani's heart reaction on the corner. <mark> = the result phrase, bold + soft highlighter.
   Desktop: CSS columns = native masonry. Phone: a swipe row with the next card peeking. */
.tgrid{ columns:3 270px; column-gap:16px; margin-top:28px; }
.tcard{ break-inside:avoid; margin:0 0 16px; background:var(--card); border-radius:24px; padding:18px 14px 20px; box-shadow:var(--shadow); }
.dm{ display:flex; align-items:flex-end; gap:6px; direction:ltr; padding-bottom:10px; } /* IG puts incoming messages on the left */
.dm-av{ flex:none; width:30px; height:30px; border-radius:50%; background:#C7C7C7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9.2' r='4.3' fill='%23fff'/%3E%3Cpath d='M3.2 22.5c1.3-4.6 4.8-7 8.8-7s7.5 2.4 8.8 7z' fill='%23fff'/%3E%3C/svg%3E") center / 100% no-repeat; }
.dm p{ position:relative; direction:rtl; text-align:right; background:#EFEFEF; color:#262626; border-radius:22px 22px 22px 6px; padding:12px 16px; font-size:1.166rem; line-height:1.6; }
.dm p:after{ content:"\2764\FE0F"; position:absolute; bottom:-13px; left:12px; font-size:1rem; line-height:1; background:#fff; border-radius:999px; padding:4px 5px; box-shadow:0 1px 4px rgba(0,0,0,.14); }
.dm mark{ background:linear-gradient(transparent 60%, rgba(110,127,99,.28) 60%) 100% 0 / 100% 100% no-repeat; color:inherit; font-weight:700; } /* anchored right: the motion sweep grows it right → left */
.tcard figcaption{ margin-top:14px; text-align:right; }
.tcard .tfrom{ display:inline-block; font-family:"Rubik"; font-weight:600; font-size:1rem; color:var(--coral-deep); background:var(--coral-soft); border-radius:999px; padding:5px 13px; }
@media (max-width:759px){
  .tgrid{ columns:auto; display:flex; align-items:flex-start; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
    margin-inline:-24px; padding:6px 24px 20px; scrollbar-width:none; }
  .tgrid::-webkit-scrollbar{ display:none; }
  .tcard{ flex:0 0 88%; margin:0; scroll-snap-align:center; }
}

/* sticky buy bar (guide pages + course, 27/09). Pages add footer{ padding-bottom:110px } so it never covers the footer. */
.stickybar{ position:fixed; bottom:0; right:0; left:0; z-index:50; background:var(--ink); color:var(--cream); display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 18px; padding-bottom:calc(12px + env(safe-area-inset-bottom)); box-shadow:0 -6px 22px rgba(36,31,27,.25); transition:transform .25s ease; }
.stickybar.bar-hidden{ transform:translateY(110%); }
.stickybar .txt{ font-family:"Rubik"; font-weight:600; font-size:1.134rem; line-height:1.3; }
.stickybar .btn{ background:var(--coral-deep); color:#fff; padding:10px 24px; font-size:1.187rem; flex:none; }
.stickybar .txt .sub{ font-weight:400; font-size:1rem; opacity:.8; }
@media (max-width:519px){ .stickybar{ gap:10px; padding-inline:14px; } .stickybar .txt{ font-size:1rem; } .stickybar .btn{ padding:10px 18px; font-size:1.1rem; } } /* 23/10 audit: bar stays 2 lines on every phone */
@media (max-width:379px){ .stickybar{ gap:8px; padding-inline:12px; } .stickybar .txt, .stickybar .txt .sub{ font-size:.94rem; } .stickybar .btn{ padding:9px 14px; font-size:1rem; } }

/* ---- motion (27/09/2026, Amit: "missing light effects and motions"). Same feel as the approved ad engine:
   soft blur-rise, marker sweep right → left, gentle light. JS part: motion.js (scroll reveal, adds .mo / .in).
   Everything here is off under prefers-reduced-motion (bottom of this block). ---- */

/* ambient light: soft white + sage pools drifting behind the page (fixed, transform-only = cheap) */
body::before{ content:""; position:fixed; inset:-15%; z-index:-1; pointer-events:none;
  background:
    radial-gradient(36% 30% at 80% 10%, rgba(255,255,255,.85), transparent 70%),
    radial-gradient(34% 28% at 14% 48%, rgba(110,127,99,.11), transparent 70%),
    radial-gradient(30% 26% at 72% 86%, rgba(255,255,255,.7), transparent 70%);
  animation:moGlow 26s ease-in-out infinite alternate; }
@keyframes moGlow{ to{ transform:translate3d(-5%,4%,0) scale(1.08); } }

/* hero: plays from the first paint, no JS */
@keyframes moRise{ from{ opacity:0; transform:translateY(18px); filter:blur(6px); } }
@keyframes moPhoto{ from{ opacity:0; transform:scale(1.05); filter:blur(8px); } }
:is(.hero-grid, .ghero-grid, .chero-grid) > div > *, .pagehead > *{ animation:moRise .9s cubic-bezier(.2,.7,.2,1) backwards; }
:is(.hero-grid, .ghero-grid, .chero-grid) > div > :nth-child(2), .pagehead > :nth-child(2){ animation-delay:.09s; }
:is(.hero-grid, .ghero-grid, .chero-grid) > div > :nth-child(3){ animation-delay:.18s; }
:is(.hero-grid, .ghero-grid, .chero-grid) > div > :nth-child(4){ animation-delay:.27s; }
:is(.hero-grid, .ghero-grid, .chero-grid) > div > :nth-child(5){ animation-delay:.36s; }
:is(.hero-grid, .ghero-grid, .chero-grid) > div > :nth-child(n+6){ animation-delay:.45s; }
:is(.hero-grid, .ghero-grid, .chero-grid) .ph, .aphoto .ph{ animation:moPhoto 1.4s cubic-bezier(.2,.7,.2,1) .15s backwards; }

/* scroll reveal (motion.js) */
.mo{ opacity:0; transform:translateY(22px); filter:blur(5px); }
.mo.in{ opacity:1; transform:none; filter:blur(0);
  transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease;
  transition-delay:var(--d,0ms); }
/* testimonial arrives like a DM: bubble, then the highlight sweeps, then the heart pops */
.mo .dm mark{ background-size:0% 100%; }
.mo.in .dm mark{ background-size:100% 100%; transition:background-size .9s cubic-bezier(.6,0,.2,1) calc(var(--d,0ms) + .55s); }
.mo .dm p:after{ transform:scale(0); }
.mo.in .dm p:after{ transform:scale(1); transition:transform .45s cubic-bezier(.3,1.7,.5,1) calc(var(--d,0ms) + 1.25s); }

/* buttons: a light sheen on hover, and a slow idle one on each hero's main button */
.btn{ position:relative; overflow:hidden; }
.btn::after{ content:""; position:absolute; top:0; bottom:0; right:0; width:60%; pointer-events:none;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform:translateX(110%) skewX(-18deg); }
@keyframes moSheen{ 0%, 70%{ transform:translateX(110%) skewX(-18deg); } 100%{ transform:translateX(-180%) skewX(-18deg); } }
:is(.hero, .ghero, .chero) .ctas .btn:first-child::after{ animation:moSheen 6s ease-in-out 2.2s infinite; }
/* 23/10 Amit: every CTA sweeps once when it scrolls into view (motion.js adds .shine); the hero main button keeps its loop */
@keyframes moSheenOnce{ to{ transform:translateX(-180%) skewX(-18deg); } }
.btn.shine::after{ animation:moSheenOnce 1.1s ease-in-out .25s 1; }
/* 23/10 Amit: home stats box, items rise one by one + a sage line draws under each headline (motion.js adds .pre/.go) */
.stat.pre > div{ opacity:0; transform:translateY(14px); filter:blur(4px); }
.stat.go > div{ opacity:1; transform:none; filter:blur(0); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease; }
.stat.go > div:nth-child(2){ transition-delay:.18s; } .stat.go > div:nth-child(3){ transition-delay:.36s; }
.stat.pre b{ background:linear-gradient(var(--coral-deep), var(--coral-deep)) no-repeat 100% 100% / 0 3px; padding-bottom:4px; }
.stat.go b{ background-size:2.2em 3px; transition:background-size .8s cubic-bezier(.6,0,.2,1) .5s; }
.stat.go > div:nth-child(2) b{ transition-delay:.68s; } .stat.go > div:nth-child(3) b{ transition-delay:.86s; }

@media (hover:hover){
  .btn:hover::after{ transform:translateX(-180%) skewX(-18deg); transition:transform .75s ease; }
  /* lift only what is clickable */
  .gcard, .pricebox, .pricecard, .ccell{ transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
  .gcard:hover, .pricebox:hover, .pricecard:hover, .ccell:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lift); }
  .gcard .gphoto{ transition:transform .9s cubic-bezier(.2,.7,.2,1); transform-origin:50% 100%; }
  .gcard:hover .gphoto{ transform:scale(1.045); }
}

@media print{ .mo{ opacity:1; transform:none; filter:none; } body::before{ display:none; } } /* never print a block that hasn't scrolled in */
@media (prefers-reduced-motion:reduce){
  body::before, .btn::after, :is(.hero-grid, .ghero-grid, .chero-grid) > div > *, .pagehead > *,
  :is(.hero-grid, .ghero-grid, .chero-grid) .ph, .aphoto .ph{ animation:none; }
  .btn::after{ display:none; }
  .gcard, .gcard .gphoto, .pricebox, .pricecard, .ccell{ transition:none; transform:none; } /* 24/10 audit: guide price cards lift like the course tiles */
}

/* ---- cookie notice (14/10/2026, lawyer Adam Karpel; Amit: notice only, the pixel is not held back).
   Built by motion.js on every page until אישור is clicked; links to privacy.html. ---- */
.cookie{ position:fixed; z-index:60; inset-inline:12px; bottom:calc(12px + env(safe-area-inset-bottom)); max-width:560px; margin-inline:auto;
  background:var(--ink); color:var(--cream); border-radius:var(--radius); box-shadow:0 10px 34px rgba(36,31,27,.30);
  padding:16px 20px; display:flex; align-items:center; gap:16px; font-size:1rem; line-height:1.55; }
.cookie.above-bar{ bottom:calc(84px + env(safe-area-inset-bottom)); } /* pages with the buy stickybar */
.cookie a{ color:inherit; text-decoration:underline; }
.cookie .btn{ flex:none; background:#fff; color:var(--ink); padding:9px 22px; font-size:1rem; }
@media (max-width:519px){ .cookie{ flex-direction:column; align-items:stretch; text-align:center; gap:10px; } }

/* ---- launch announcement (#295, 19/10/2026; Shani via Amit: someone arriving from Instagram on launch day must see
   at once that this is the new site and the course is out). Built by motion.js between LAUNCH_FROM and LAUNCH_TO,
   or on any page with ?launch=1 for review. Banner: every page except course.html. Pop-up: once, Instagram only. ---- */
.lbar{ display:block; background:var(--ink); color:var(--cream); text-decoration:none; text-align:center;
  font-family:"Rubik"; font-weight:500; font-size:.98rem; line-height:1.45; padding:10px 16px; }
.lbar u{ text-decoration:none; border-bottom:1.5px solid currentColor; }
.lbar:hover u{ color:#C9D3BF; }
/* 31/10 Amit: November ticker, "NOVEMBER SALE" running endlessly (motion.js, 01/11-30/11). Two identical halves; sliding one
   half's width loops seamlessly. ltr so the track starts at the left edge (in rtl it overflows the wrong way and runs out) */
.nbar{ direction:ltr; overflow:hidden; padding:9px 0; font-size:.88rem; letter-spacing:.16em; }
.nbar .trk, .nbar .trk > span{ display:flex; width:max-content; }
.nbar .trk{ animation:nbRun 40s linear infinite; }
.nbar i{ font-style:normal; white-space:nowrap; padding-right:1.3em; }
.nbar i::after{ content:"·"; margin-left:1.3em; }
.nbar:hover .trk{ animation-play-state:paused; }
@keyframes nbRun{ to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){ .nbar .trk{ animation:none; } }
.lpop{ position:fixed; inset:0; z-index:70; display:flex; align-items:center; justify-content:center; padding:20px;
  background:rgba(36,31,27,.55); animation:lpFade .3s ease; }
.lpop .box{ position:relative; width:100%; max-width:400px; background:var(--cream); border-radius:26px; overflow:hidden;
  box-shadow:0 24px 60px rgba(36,31,27,.35); animation:lpRise .45s cubic-bezier(.2,.8,.2,1); }
.lpop .ph{ width:100%; aspect-ratio:4/3; object-fit:cover; object-position:50% 16%; } /* 19/10 Amit: 16:10 cut her head; 4:3 from 8% down keeps hair to crossed arms */
.lpop .txt{ padding:22px 24px 24px; text-align:center; }
.lpop p{ text-wrap:balance; }
.lpop h2{ font-family:"Noto",sans-serif; font-weight:800; font-size:clamp(1.3rem,6.2vw,1.7rem); line-height:1.2; margin:6px 0 10px; }
.lpop h2 .nw{ white-space:nowrap; } /* 20/10: keep the course name whole */
.lpop p{ color:var(--ink-soft); font-size:1.05rem; line-height:1.6; }
.lpop .lprice{ margin-top:8px; font-family:"Rubik"; font-weight:600; color:var(--coral-deep); } /* 22/10 Pocket 18:21: the 48h launch price line, until Mon 26/10 20:00 */
.lpop .btn{ display:block; margin-top:18px; }
.lpop .box:focus{ outline:none; } /* focused on open for screen readers / keyboard; Tab still rings the buttons */
.lpop .skip{ display:inline-block; margin-top:12px; background:none; border:0; font:inherit; font-size:.98rem; color:var(--ink-soft);
  text-decoration:underline; cursor:pointer; }
.lpop .x{ position:absolute; top:12px; inset-inline-end:12px; width:36px; height:36px; border-radius:50%; border:0;
  background:rgba(250,248,244,.92); color:var(--ink); font-size:1.3rem; line-height:1; cursor:pointer; }
body:has(.lpop) .cookie{ display:none; } /* 20/10: the cookie notice waits until the launch pop-up is closed */
@keyframes lpFade{ from{ opacity:0; } }
@keyframes lpRise{ from{ opacity:0; transform:translateY(24px) scale(.97); } }
.lpop .conf{ position:absolute; inset:0; overflow:hidden; pointer-events:none; } /* 19/10 Amit: "more exciting, maybe confetti". One burst on open */
.lpop .conf i{ position:absolute; top:-6%; width:var(--w); height:calc(var(--w) * .45); background:var(--c); border-radius:2px; opacity:0;
  animation:lpConf var(--t) cubic-bezier(.25,.6,.4,1) var(--d) forwards; }
@keyframes lpConf{ 0%{ opacity:1; transform:translate(0,0) rotate(0); } 85%{ opacity:1; } 100%{ opacity:0; transform:translate(var(--x), 112vh) rotate(var(--r)); } }
@media (prefers-reduced-motion:reduce){ .lpop, .lpop .box{ animation:none; } .lpop .conf{ display:none; } }

/* ---- free guide sign-up (23/11/2026, board #540). Built by motion.js: .leadbox in an article, .ltab on the side, .leadpop = .lpop look ---- */
.leadf{ display:grid; gap:10px; margin-top:14px; text-align:start; }
.leadf input:not([type=checkbox]){ font:inherit; font-size:16px; padding:12px 14px; border:1.5px solid #D9D2C7; border-radius:14px; background:#fff; color:var(--ink); }
.leadf input[dir=ltr]{ text-align:right; }
.leadf .hp{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); } /* not left:-9999px: in RTL the inline article form scrolls the page sideways (25/11) */
.leadf .opt{ display:flex; gap:8px; align-items:flex-start; font-size:.98rem; color:var(--ink-soft); line-height:1.45; }
.leadf .opt input{ margin-top:4px; width:18px; height:18px; flex:none; accent-color:var(--ink); }
.leadf .btn{ margin-top:4px; } .leadf .btn:disabled{ opacity:.6; }
.leadf .err{ color:#9b2c2c; font-size:.84rem; min-height:0; white-space:nowrap; margin-inline:-12px; } /* 24/11 Amit: errors in red (#9b2c2c = cart.js error colour, 7.1:1 on cream, 7.5:1 on white) on one line; borrows the side padding so 13.4px fits a 375px phone */
@media (max-width:359px){ .leadf .err{ white-space:normal; margin-inline:0; } } /* narrower phones: wrap rather than overflow */
.leadf .err:empty{ display:none; }
.leadf .fine{ font-size:.85rem; color:var(--ink-soft); text-align:center; }
.leadf .fine a{ color:inherit; text-decoration:underline; }
.leadok{ margin-top:14px; } .leadok b{ font-family:"Rubik"; font-size:1.2rem; } .leadok p{ margin-top:6px; }
.leadpop .ph{ aspect-ratio:16/9; object-position:50% 40%; }
.leadpop .box{ max-height:calc(100vh - 40px); max-height:calc(100dvh - 40px); overflow-y:auto; overscroll-behavior:contain; } /* 24/11: vh fallback for older Safari; short screens scroll inside the box */
@media (max-height:740px){ .leadpop .ph{ aspect-ratio:21/9; } .leadpop .txt{ padding-top:14px; } } /* 24/11 iPhone with browser bars: a lower photo keeps more of the form on screen */
.leadpop h2{ margin-bottom:6px; } .leadpop .txt{ padding:18px 22px 20px; }
.leadbox{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:26px 24px; margin-top:38px; text-align:center; }
.leadbox h2{ margin-top:6px !important; }
.ltab{ position:fixed; z-index:44; left:0; top:50%; transform:translateY(-50%); writing-mode:vertical-rl; border:0; cursor:pointer;
  background:var(--ink); color:#fff; font:inherit; font-family:"Rubik"; font-weight:600; font-size:.95rem; letter-spacing:.04em;
  padding:14px 8px; border-radius:0 12px 12px 0; /* physical left: vertical writing-mode turns inline-end into top/bottom */ box-shadow:var(--shadow-lift); }
body:has(.lpop) .ltab{ display:none; }
