/* The two "why us" pages: /sell (for shops — the presentation is in deck.css;
   here its calculator, FAQ and final call) and /why (for buyers). Site tokens only,
   so dark mode follows. Movement only without reduced motion / "עצירת אנימציות". */

.lp { overflow-x: clip; }
.lp section { scroll-margin-top: 16px; }
.lp .wrap { position: relative; }
.lp h2.lp-h { font-family: var(--font-head); font-size: clamp(26px, 4vw, 40px); line-height: 1.15; margin: 0 0 10px; text-align: center; }
.lp .lp-sub { text-align: center; color: var(--muted); font-size: 18px; max-width: 720px; margin: 0 auto 28px; }
.lp .lp-sec { padding: clamp(44px, 7vw, 84px) 0; }
.lp .lp-alt { background: var(--bg-2); }
.lp .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- hero ------------------------------------------------------------------ */
.lp-hero { position: relative; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, #d9478a 0%, transparent 60%), linear-gradient(135deg, #7d1f52 0%, #b8336a 55%, #9c2f6b 100%); padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.lp-hero.soft { color: var(--ink); background: radial-gradient(900px 420px at 10% -10%, var(--rose) 0%, transparent 60%), linear-gradient(160deg, var(--bg-2) 0%, var(--bg) 70%); }
.lp-hero .in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.lp-hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); }
.lp-hero.soft .eyebrow { background: var(--card); border-color: var(--line-strong); color: var(--link); }
.lp-hero h1 { font-family: var(--font-head); font-size: clamp(36px, 6.2vw, 68px); line-height: 1.05; margin: 16px 0 14px; letter-spacing: -.5px; }
.lp-hero h1 .hl { background: linear-gradient(90deg, #ffe08a, #ffc2dc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero.soft h1 .hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.lp-hero .lead { font-size: clamp(17px, 2.1vw, 21px); line-height: 1.55; max-width: 620px; opacity: .96; margin: 0 0 24px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 26px; border-radius: 4px; font-weight: 800; font-size: 18px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--bounce), box-shadow .2s; }
.lp-btn.big { min-height: 62px; font-size: 20px; padding: 14px 34px; }
.lp-btn.gold { background: linear-gradient(135deg, #ffe08a, #ffc857); color: #4a1a30; box-shadow: 0 10px 30px rgba(255, 200, 87, .35); }
.lp-btn.pink { background: var(--grad-primary); color: #fff; box-shadow: 0 10px 30px rgba(184, 51, 106, .3); }
.lp-btn.line { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.lp-hero.soft .lp-btn.line, .lp .lp-btn.line.dark { border-color: var(--primary); color: var(--link); }
.lp-btn:hover { transform: translateY(-2px); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.lp-chips li { font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
.lp-hero.soft .lp-chips li { background: var(--card); border-color: var(--line-strong); }
.lp-float { position: absolute; font-size: 34px; opacity: .22; pointer-events: none; }

/* ---- calculator ------------------------------------------------------------------ */
.lp-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.lp-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); }
.lp-calc label, .lp-calc .lbl2 { display: block; font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.lp-calc .val { font-family: var(--font-head); font-size: 34px; color: var(--link); }
.lp-range { width: 100%; height: 44px; accent-color: var(--primary); }
.lp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-pills button { min-height: 44px; min-width: 64px; padding: 8px 14px; border-radius: 4px; border: 2px solid var(--line-strong); background: var(--card); color: var(--ink); font-weight: 800; font-size: 16px; cursor: pointer; }
.lp-pills button[aria-pressed="true"] { background: var(--grad-primary); color: #fff; border-color: transparent; }
.lp-res { background: linear-gradient(150deg, #7d1f52, #b8336a); color: #fff; display: grid; gap: 14px; align-content: center; }
.lp-res .row { display: flex; justify-content: space-between; gap: 10px; font-size: 17px; border-bottom: 1px dashed rgba(255, 255, 255, .35); padding-bottom: 10px; }
.lp-res .row b { font-size: 20px; }
.lp-res .save { text-align: center; }
.lp-res .save .big { display: block; font-family: var(--font-head); font-size: clamp(38px, 6vw, 58px); line-height: 1.05; color: #ffe08a; }
.lp-res .note { font-size: 14px; opacity: .9; text-align: center; margin: 0; }

/* ---- benefit cards (/why) ---------------------------------------------------------- */
.lp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-feat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.lp-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-feat .ic { font-size: 34px; line-height: 1; }
.lp-feat h3 { margin: 10px 0 6px; font-size: 18px; }
.lp-feat p { margin: 0; color: var(--muted); line-height: 1.5; }

/* ---- steps --------------------------------------------------------------------------- */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.lp-steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px 18px; counter-increment: s; }
.lp-steps li::before { content: counter(s); position: absolute; top: -18px; inset-inline-start: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--grad-primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 6px 16px rgba(184, 51, 106, .3); }
.lp-steps .ic { font-size: 30px; }
.lp-steps h3 { margin: 8px 0 6px; font-size: 18px; }
.lp-steps p { margin: 0; color: var(--muted); line-height: 1.5; }

/* ---- FAQ ---------------------------------------------------------------------------- */
.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.lp-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.lp-faq summary { cursor: pointer; font-weight: 800; font-size: 17px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 24px; color: var(--link); line-height: 1; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p, .lp-faq details ul { margin: 0 0 16px; color: var(--ink); line-height: 1.6; }

/* ---- final call ------------------------------------------------------------------------ */
.lp-final { text-align: center; color: #fff; background: radial-gradient(800px 360px at 50% 0%, #d9478a 0%, transparent 70%), linear-gradient(135deg, #7d1f52, #9c2f6b); border-radius: 24px; padding: clamp(34px, 6vw, 64px) 20px; }
.lp-final h2 { font-family: var(--font-head); font-size: clamp(28px, 5vw, 48px); margin: 0 0 10px; }
.lp-final p { font-size: 18px; margin: 0 0 22px; opacity: .95; }
.lp-final .lp-cta { justify-content: center; }
.lp-final .fine { font-size: 14px; margin: 16px 0 0; opacity: .9; }

/* the sticky call on a phone (after the hero has gone by) */
.lp-sticky { position: fixed; inset-inline: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; display: none; }
.lp-sticky .lp-btn { width: 100%; }
@media (max-width: 760px) { .lp-sticky.on { display: block; animation: lpin .3s var(--ease) both; } }

/* buyer page bits */
.lp-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lp-info .lp-card h3 { margin: 0 0 8px; font-size: 19px; }
.lp-info .lp-card p, .lp-info .lp-card li { line-height: 1.6; }
.lp-info .lp-card ul { margin: 0; padding-inline-start: 20px; }
.lp-cross { text-align: center; padding: 22px; border: 2px dashed var(--line-strong); border-radius: 16px; background: var(--card); }

/* reveal on scroll */
/* (hidden only once landing.js runs and movement is welcome — never invisible without it) */
html.lp-anim .lp .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.lp-anim .lp .rv.in { opacity: 1; transform: none; }

/* floating decoration + the toasts move only for people who want movement */
@media (prefers-reduced-motion: no-preference) {
  html:not(.a11y-still) .lp-float { animation: lpfloat 9s ease-in-out infinite; }
  html:not(.a11y-still) .lp-btn.gold { animation: lpglow 2.6s ease-in-out infinite; }
}
@keyframes lpfloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(6deg); } }
@keyframes lpglow { 0%, 100% { box-shadow: 0 10px 30px rgba(255, 200, 87, .3); } 50% { box-shadow: 0 10px 44px rgba(255, 200, 87, .65); } }
@media (prefers-reduced-motion: reduce) { .lp .rv { opacity: 1; transform: none; transition: none; } }
html.a11y-still .lp .rv { opacity: 1; transform: none; }

/* ---- smaller screens ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
}
@media (max-width: 760px) {
  .lp-hero .in, .lp-calc, .lp-info { grid-template-columns: minmax(0, 1fr); }
  .lp-cta .lp-btn { flex: 1 1 100%; }
}
@media (max-width: 480px) {
  .lp-grid, .lp-steps { grid-template-columns: minmax(0, 1fr); }
}
