/* ============================================================
   Votenir marketing pages — light design system
   Used by: features.html, estimation.html, how-it-works.html
   and (scoped under .landing-light) the React landing at "/".
   Pure CSS animations + a tiny IntersectionObserver for reveals.
   ============================================================ */

:root {
  --lp-bg: #ffffff;
  --lp-bg-soft: #f7f5ff;
  --lp-ink: #17123a;
  --lp-ink-soft: #4b4668;
  --lp-muted: #7a7593;
  --lp-primary: #7124f5;
  --lp-primary-deep: #5b16d0;
  --lp-accent: #22b8f0;
  --lp-card: #ffffff;
  --lp-border: #e9e5f8;
  --lp-shadow: 0 18px 50px -18px rgba(58, 26, 145, 0.18);
  --lp-radius: 18px;
  --lp-font: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.lp,
.lp body { background: var(--lp-bg); color: var(--lp-ink); font-family: var(--lp-font); margin: 0; }
.lp * { box-sizing: border-box; }
.lp h1, .lp h2, .lp h3 { line-height: 1.15; margin: 0 0 0.6rem; letter-spacing: -0.02em; }
.lp p { line-height: 1.65; color: var(--lp-ink-soft); margin: 0 0 1rem; }
.lp a { color: var(--lp-primary); text-decoration: none; }
.lp img { max-width: 100%; display: block; }

.lp-container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Nav ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.lp-nav.scrolled { border-color: var(--lp-border); box-shadow: 0 8px 30px -20px rgba(58, 26, 145, 0.25); }
.lp-nav-brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.15rem; color: var(--lp-ink); }
.lp-nav-brand img { width: 26px; height: 26px; }
.lp-nav-links { display: flex; align-items: center; gap: 1.4rem; font-size: 0.92rem; font-weight: 600; }
.lp-nav-links a { color: var(--lp-ink-soft); transition: color 0.2s; }
.lp-nav-links a:hover, .lp-nav-links a.active { color: var(--lp-primary); }
.lp-nav-cta {
  background: linear-gradient(120deg, var(--lp-primary), var(--lp-primary-deep));
  color: #fff !important; padding: 0.55rem 1.3rem; border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(113, 36, 245, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(113, 36, 245, 0.6); }
@media (max-width: 720px) { .lp-nav-links a:not(.lp-nav-cta) { display: none; } }

/* ---------- Hero ---------- */
.lp-hero { position: relative; overflow: hidden; text-align: center; padding: 5.5rem 1.5rem 4rem; }
.lp-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--lp-primary); background: var(--lp-bg-soft);
  border: 1px solid var(--lp-border); border-radius: 999px; padding: 0.4rem 1rem; margin-bottom: 1.4rem;
}
.lp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: lp-pulse 1.6s ease-in-out infinite; }
@keyframes lp-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); } 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }
.lp-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
.lp-hero h1 .grad {
  background: linear-gradient(100deg, var(--lp-primary) 10%, var(--lp-accent) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-hero-sub { max-width: 640px; margin: 0 auto 2rem; font-size: 1.13rem; }

/* soft gradient blobs floating behind hero content */
.lp-blobs { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.lp-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.22; animation: lp-drift 16s ease-in-out infinite alternate; }
.lp-blob-1 { width: 420px; height: 420px; background: #c9b8ff; top: -140px; left: -80px; }
.lp-blob-2 { width: 360px; height: 360px; background: #b5e5ff; top: -60px; right: -100px; animation-delay: -5s; }
.lp-blob-3 { width: 300px; height: 300px; background: #ffd6f2; bottom: -140px; left: 38%; animation-delay: -9s; }
@keyframes lp-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, 30px, 0) scale(1.12); }
}

/* ---------- Buttons ---------- */
.lp-btn-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.lp-btn {
  display: inline-block; font-weight: 700; font-size: 1rem; border-radius: 999px;
  padding: 0.85rem 2.2rem; transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; border: 0;
}
/* Doubled-up selectors: buttons are often <a> tags on the static pages, and the
   generic `.lp a { color: … }` link rule must not outrank the button colors. */
.lp-btn-primary, .lp a.lp-btn-primary {
  background: linear-gradient(120deg, var(--lp-primary), var(--lp-primary-deep)); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(113, 36, 245, 0.55);
}
.lp-btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 38px -10px rgba(113, 36, 245, 0.6); }
.lp-btn-ghost, .lp a.lp-btn-ghost { background: #fff; color: var(--lp-ink); border: 1.5px solid var(--lp-border); }
.lp-btn-ghost:hover, .lp a.lp-btn-ghost:hover { border-color: var(--lp-primary); color: var(--lp-primary); transform: translateY(-3px); }

/* ---------- Floating poker cards (hero decoration) ---------- */
.lp-cards { display: flex; gap: 0.7rem; justify-content: center; margin: 2.6rem 0 0; perspective: 700px; }
.lp-card-chip {
  width: 58px; height: 82px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.25rem; color: var(--lp-primary);
  background: #fff; border: 1.5px solid var(--lp-border); box-shadow: var(--lp-shadow);
  animation: lp-float 3.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.35s);
}
.lp-card-chip.flip { background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff; border: 0; }
@keyframes lp-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

/* ---------- Marquee of feature chips ---------- */
.lp-marquee { overflow: hidden; padding: 1.4rem 0; border-top: 1px solid var(--lp-border); border-bottom: 1px solid var(--lp-border); background: var(--lp-bg-soft); }
.lp-marquee-track { display: flex; gap: 2.2rem; width: max-content; animation: lp-marquee 30s linear infinite; }
.lp-marquee span { white-space: nowrap; font-weight: 700; font-size: 0.95rem; color: var(--lp-muted); }
.lp-marquee span::before { content: '✦'; color: var(--lp-primary); margin-right: 0.6rem; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.lp-section { padding: 4.5rem 0; }
.lp-section.soft { background: var(--lp-bg-soft); }
.lp-section-head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.lp-section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
.lp-kicker { display: block; color: var(--lp-primary); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.7rem; }

/* ---------- Feature grid ---------- */
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.lp-feature {
  background: var(--lp-card); border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
  padding: 1.8rem; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lp-feature:hover { transform: translateY(-6px); box-shadow: var(--lp-shadow); }
.lp-feature-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(113, 36, 245, 0.12), rgba(34, 184, 240, 0.12)); color: var(--lp-primary);
}
.lp-feature h3 { font-size: 1.12rem; font-weight: 700; }
.lp-feature p { font-size: 0.95rem; margin: 0; }

/* ---------- Screenshot frames ---------- */
.lp-shot { border-radius: var(--lp-radius); overflow: hidden; border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow); background: #fff; }
.lp-shot-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--lp-border); background: var(--lp-bg-soft); }
.lp-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-border); }
.lp-shot-bar i:first-child { background: #fda4af; } .lp-shot-bar i:nth-child(2) { background: #fcd34d; } .lp-shot-bar i:nth-child(3) { background: #86efac; }
.lp-shot img { width: 100%; }
.lp-shot.missing img { display: none; }
.lp-shot.missing::after {
  content: attr(data-label); display: grid; place-items: center; height: 320px;
  background: linear-gradient(135deg, #f4efff, #e8f7ff);
  color: var(--lp-muted); font-weight: 700; font-size: 0.95rem;
}
/* two-up media row: text + screenshot */
.lp-media { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.lp-media.rev { grid-template-columns: 1.15fr 1fr; }
.lp-media.rev .lp-media-text { order: 2; }
@media (max-width: 860px) { .lp-media, .lp-media.rev { grid-template-columns: 1fr; } .lp-media.rev .lp-media-text { order: 0; } }
.lp-media-text h3 { font-size: 1.45rem; font-weight: 800; }
.lp-check { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.lp-check li { position: relative; padding-left: 1.7rem; margin-bottom: 0.7rem; color: var(--lp-ink-soft); line-height: 1.55; }
.lp-check li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #16a34a; font-weight: 800; }

/* ---------- Steps (how it works) ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; counter-reset: step; }
.lp-step { position: relative; background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 2rem 1.6rem 1.6rem; }
.lp-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -16px; left: 1.4rem;
  background: linear-gradient(120deg, var(--lp-primary), var(--lp-accent)); color: #fff;
  font-weight: 800; font-size: 0.85rem; border-radius: 999px; padding: 0.35rem 0.85rem;
}
.lp-step h3 { font-size: 1.05rem; font-weight: 700; margin-top: 0.4rem; }
.lp-step p { font-size: 0.93rem; margin: 0; }

/* ---------- CTA band ---------- */
.lp-cta-band {
  margin: 3rem auto; max-width: 620px; text-align: center; color: var(--lp-ink);
  background: radial-gradient(120% 160% at 50% -40%, rgba(113, 36, 245, 0.06), transparent 60%), #fff;
  border: 1px solid var(--lp-border);
  border-radius: 20px; padding: 1.9rem 1.8rem; position: relative; overflow: hidden;
  box-shadow: var(--lp-shadow);
}
.lp-cta-band h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
.lp-cta-band p { color: var(--lp-ink-soft); max-width: 460px; margin: 0 auto 1.2rem; font-size: 0.95rem; }
.lp-cta-band .lp-btn { padding: 0.65rem 1.7rem; font-size: 0.92rem; }

/* ---------- Footer ---------- */
.lp-footer { border-top: 1px solid var(--lp-border); padding: 2.4rem 1.5rem; text-align: center; font-size: 0.9rem; color: var(--lp-muted); }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 1.3rem; justify-content: center; margin-top: 0.7rem; }
.lp-footer a { color: var(--lp-ink-soft); font-weight: 600; }
.lp-footer a:hover { color: var(--lp-primary); }

/* ---------- Scroll reveal ---------- */
.lp-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; transition-delay: var(--d, 0s); }
.lp-reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Live product demos — pure-CSS looped animations used by the
   scroll-story landing. Each .lpd-* block is a self-contained
   miniature of the product doing its thing.
   ============================================================ */

/* Scroll progress bar (top of page) */
.lp-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 90; background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent)); transition: width 0.08s linear; }

/* Bouncing scroll hint */
.lp-scroll-hint { display: inline-block; margin-top: 2.4rem; color: var(--lp-muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; animation: lp-bob 2s ease-in-out infinite; }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Demo stage shared chrome */
.lpd { border: 1px solid var(--lp-border); border-radius: var(--lp-radius); background: #fff; box-shadow: var(--lp-shadow); padding: 1.3rem; overflow: hidden; }
.lpd-title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--lp-muted); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.45rem; }
.lpd-title::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: lp-pulse 1.6s ease-in-out infinite; }

/* --- Demo A: retro cards popping into columns, then votes --- */
.lpd-board { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.7rem; }
.lpd-col { background: var(--lp-bg-soft); border: 1px solid var(--lp-border); border-radius: 12px; padding: 0.6rem; min-height: 150px; }
.lpd-col h5 { margin: 0 0 0.55rem; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.lpd-col.good h5 { color: #16a34a; } .lpd-col.bad h5 { color: #e11d48; } .lpd-col.try h5 { color: var(--lp-primary); }
.lpd-card { background: #fff; border: 1px solid var(--lp-border); border-radius: 8px; padding: 0.45rem 0.55rem; font-size: 0.7rem; font-weight: 600; color: var(--lp-ink-soft); margin-bottom: 0.45rem; opacity: 0; animation: lpd-pop 9s ease infinite; animation-delay: var(--d, 0s); position: relative; }
@keyframes lpd-pop {
  0% { opacity: 0; transform: translateY(10px) scale(0.85); }
  6%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-6px) scale(0.95); }
}
.lpd-votes { position: absolute; top: -8px; right: -6px; display: flex; gap: 3px; }
.lpd-votes i { width: 13px; height: 13px; border-radius: 50%; background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); opacity: 0; transform: scale(0); animation: lpd-dot 9s ease infinite; animation-delay: var(--vd, 4s); }
@keyframes lpd-dot {
  0%, 40% { opacity: 0; transform: scale(0); }
  46%, 88% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(0); }
}

/* --- Demo B: action items ticking done --- */
.lpd-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.lpd-action { display: flex; align-items: center; gap: 0.6rem; background: var(--lp-bg-soft); border: 1px solid var(--lp-border); border-radius: 10px; padding: 0.6rem 0.75rem; font-size: 0.8rem; font-weight: 600; color: var(--lp-ink-soft); }
.lpd-check { width: 20px; height: 20px; flex: 0 0 auto; border-radius: 6px; border: 2px solid var(--lp-border); position: relative; }
.lpd-action span { position: relative; }
.lpd-action span::after { content: ''; position: absolute; left: 0; top: 55%; height: 2px; width: 0; background: var(--lp-muted); }
.lpd-action.a1 .lpd-check { animation: lpd-checkbox 8s ease infinite; }
.lpd-action.a1 .lpd-check::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 0.7rem; font-weight: 800; opacity: 0; animation: lpd-tickmark 8s ease infinite; }
.lpd-action.a1 span::after { animation: lpd-strike 8s ease infinite; }
.lpd-assignee { margin-left: auto; font-size: 0.62rem; font-weight: 800; color: var(--lp-primary); background: rgba(113, 36, 245, 0.1); border-radius: 999px; padding: 0.2rem 0.55rem; }
@keyframes lpd-checkbox { 0%, 30% { background: transparent; border-color: var(--lp-border); } 38%, 92% { background: #16a34a; border-color: #16a34a; } 100% { background: transparent; border-color: var(--lp-border); } }
@keyframes lpd-tickmark { 0%, 30% { opacity: 0; } 38%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lpd-strike { 0%, 32% { width: 0; } 42%, 92% { width: 100%; } 100% { width: 0; } }

/* --- Demo C: planning poker reveal cycle --- */
.lpd-poker { text-align: center; padding: 0.5rem 0 0.2rem; }
.lpd-poker-cards { display: flex; gap: 0.6rem; justify-content: center; perspective: 600px; margin-bottom: 1rem; }
.lpd-pcard { width: 52px; height: 74px; position: relative; transform-style: preserve-3d; animation: lpd-flip 7s cubic-bezier(0.4, 0, 0.2, 1) infinite; animation-delay: calc(var(--i) * 0.18s); }
.lpd-pface { position: absolute; inset: 0; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; backface-visibility: hidden; }
.lpd-pback { background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff; }
.lpd-pfront { background: #fff; border: 1.5px solid var(--lp-border); color: var(--lp-primary); transform: rotateY(180deg); }
@keyframes lpd-flip { 0%, 34% { transform: rotateY(0); } 44%, 88% { transform: rotateY(180deg); } 98%, 100% { transform: rotateY(360deg); } }
.lpd-avg { display: inline-flex; align-items: baseline; gap: 0.5rem; font-size: 0.75rem; font-weight: 700; color: var(--lp-muted); background: var(--lp-bg-soft); border: 1px solid var(--lp-border); border-radius: 999px; padding: 0.4rem 1rem; }
.lpd-avg b { font-size: 1.15rem; color: var(--lp-primary); opacity: 0; animation: lpd-avg-in 7s ease infinite; }
@keyframes lpd-avg-in { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* --- Phase rail (Creating → Grouping → Voting → Discussing) --- */
.lp-phases { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1.6rem; }
.lp-phase { font-size: 0.78rem; font-weight: 700; color: var(--lp-ink-soft); background: #fff; border: 1px solid var(--lp-border); border-radius: 999px; padding: 0.45rem 1rem; animation: lpd-phase 8s ease infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes lpd-phase {
  0%, 100% { background: #fff; color: var(--lp-ink-soft); border-color: var(--lp-border); }
  6%, 22% { background: linear-gradient(120deg, var(--lp-primary), var(--lp-accent)); color: #fff; border-color: transparent; }
}

/* --- Stats band with count-up numbers (JS sets the text) --- */
.lp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.2rem; text-align: center; }
.lp-stat b { display: block; font-size: 2.4rem; font-weight: 800; background: linear-gradient(100deg, var(--lp-primary), var(--lp-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-stat span { font-size: 0.85rem; font-weight: 600; color: var(--lp-muted); }

/* --- Playable poker table (hero demo) --- */
.lpd-table { max-width: 760px; margin: 2.8rem auto 0; background: #fff; border: 1px solid var(--lp-border); border-radius: 26px; box-shadow: var(--lp-shadow); padding: 1.6rem; position: relative; text-align: center; }
.lpd-thead { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lp-muted); margin-bottom: 1.2rem; }
.lpd-thead .live { display: inline-flex; align-items: center; gap: 0.4rem; color: #16a34a; }
.lpd-thead .live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: lp-pulse 1.6s infinite; }
.lpd-seats { display: flex; justify-content: center; gap: 1.1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.lpd-seat { text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--lp-muted); }
.lpd-seat .sc { width: 52px; height: 74px; border-radius: 10px; margin: 0 auto 0.4rem; position: relative; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.lpd-seat .f { position: absolute; inset: 0; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; backface-visibility: hidden; }
.lpd-seat .back { background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff; }
.lpd-seat .back.empty { background: var(--lp-bg-soft); border: 2px dashed var(--lp-border); color: var(--lp-muted); font-size: 0.7rem; }
.lpd-seat .front { background: #fff; border: 1.5px solid var(--lp-border); color: var(--lp-primary); transform: rotateY(180deg); }
.lpd-seat.flipped .sc { transform: rotateY(180deg); }
.lpd-seat.thinking .sc { animation: lpd-think 1s ease-in-out infinite; }
@keyframes lpd-think { 50% { transform: translateY(-6px); } }
.lpd-oval { background: radial-gradient(ellipse at 50% 35%, #8d7bffcc, #5b3ec9); border-radius: 50%; width: min(420px, 80%); height: 110px; margin: 0 auto 1.4rem; display: grid; place-items: center; color: #fff; box-shadow: inset 0 -14px 30px rgba(0, 0, 0, 0.25), 0 18px 40px -18px rgba(91, 62, 201, 0.5); }
.lpd-oval b { font-size: 1.7rem; }
.lpd-oval span { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.lpd-deck { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.lpd-dk { width: 46px; height: 64px; border-radius: 9px; background: #fff; border: 1.5px solid var(--lp-border); font: 800 1rem var(--lp-font); color: var(--lp-ink-soft); cursor: pointer; transition: 0.18s; }
.lpd-dk:hover { transform: translateY(-6px); border-color: var(--lp-primary); color: var(--lp-primary); }
.lpd-dk.sel { background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff; border-color: transparent; transform: translateY(-8px); box-shadow: 0 12px 22px -8px rgba(113, 36, 245, 0.55); }
.lpd-reveal-btn { display: block; margin: 1.1rem auto 0; background: var(--lp-ink); color: #fff; border: 0; border-radius: 999px; font: 700 0.9rem var(--lp-font); padding: 0.7rem 1.8rem; cursor: pointer; transition: 0.2s; }
.lpd-reveal-btn:hover { background: var(--lp-primary); }
.lpd-reveal-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.lpd-note { font-size: 0.78rem; color: var(--lp-muted); margin-top: 1rem; }
.lpd-burst { position: absolute; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; animation: lpd-burst 1s ease-out forwards; }
@keyframes lpd-burst { to { transform: translate(var(--dx), var(--dy)) rotate(540deg); opacity: 0; } }

/* Screenshot hover tilt */
.lp-shot.tilt { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.lp-shot.tilt:hover { transform: perspective(900px) rotateX(1.5deg) rotateY(-2deg) translateY(-6px); box-shadow: 0 30px 70px -24px rgba(58, 26, 145, 0.3); }

@media (prefers-reduced-motion: reduce) {
  .lpd-card, .lpd-votes i, .lpd-pcard, .lpd-avg b, .lp-phase, .lp-scroll-hint,
  .lpd-action.a1 .lpd-check, .lpd-action.a1 .lpd-check::after, .lpd-action.a1 span::after { animation: none !important; opacity: 1; }
}

/* Marketing links in the app navbar (signed-out) — hide on narrow screens
   where the sign-in/up buttons need the space; the footer still links them. */
@media (max-width: 760px) { .nav-marketing { display: none !important; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .lp-blob, .lp-card-chip, .lp-marquee-track, .lp-live-dot { animation: none !important; }
  .lp-reveal { opacity: 1; transform: none; transition: none; }
}
