/* Lisnora FM - home page (loads after site.css). Motion uses transform/opacity only, and every loop
   pauses while its section is off screen (home.js adds .paused). */

.kicker { margin: 0; }
.section { position: relative; padding: 96px 0; }
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; overflow: clip; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; margin-bottom: 36px; }
.section-head .titles { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.side-note { margin: 0; max-width: 360px; font-size: 14px; color: var(--muted); }
.paused .glow, .paused .wave i, .paused .eq i, .paused .float { animation-play-state: paused; }
.section[id], .faq details { scroll-margin-top: 84px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; overflow: clip; isolation: isolate; padding: 56px 0 88px; }
.hero-glow { width: 900px; height: 900px; left: 50%; top: -180px; margin-left: -180px; z-index: -1; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 40px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-copy h1 { font-size: clamp(38px, 5vw, 58px); }
.hero-copy .lead { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 13px; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.hero-points li.ok::before { background: var(--ok); }

.intro { animation: rise .9s var(--ease) both; }
.intro.d1 { animation-delay: .08s; }
.intro.d2 { animation-delay: .18s; }
.intro.d3 { animation-delay: .28s; }
.intro.d4 { animation-delay: .38s; }

/* phone mock-up */
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 640px; min-width: 0; }
.phone { position: relative; z-index: 1; width: 286px; display: flex; flex-direction: column; gap: 14px; padding: 26px 20px 20px;
  border-radius: 46px; background: #0A0A0A; border: 1px solid #3A3A3A; box-shadow: 0 40px 90px rgba(0, 0, 0, .7), inset 0 0 0 6px #141414; }
.phone-top { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--gold); transform-origin: 50% 100%; transform: scaleY(.5);
  animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.35s; }
.eq i:nth-child(3) { animation-delay: -.7s; }
.phone-cover { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 20px; object-fit: cover; }
.phone-meta { display: flex; flex-direction: column; gap: 3px; }
.phone-meta b { font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
.phone-meta span { font-size: 12px; color: var(--muted); }

/* animated waveform scrubber: first 11 bars are "played" */
.wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.wave i { flex: 1; height: 100%; border-radius: 2px; background: #3A3A3A; transform-origin: 50% 50%; transform: scaleY(var(--lo, .3));
  animation: wave-bar var(--d, 1.4s) ease-in-out var(--dl, 0s) infinite alternate; }
.wave i:nth-child(5n+1) { --lo: .3; --hi: .78; --d: 1.3s; }
.wave i:nth-child(5n+2) { --lo: .45; --hi: 1; --d: 1.1s; }
.wave i:nth-child(5n+3) { --lo: .22; --hi: .6; --d: 1.5s; }
.wave i:nth-child(5n+4) { --lo: .5; --hi: .9; --d: 1.2s; }
.wave i:nth-child(5n) { --lo: .18; --hi: .55; --d: 1.6s; }
.wave i:nth-child(3n+1) { --dl: -.4s; }
.wave i:nth-child(3n+2) { --dl: -.9s; }
.wave i:nth-child(3n) { --dl: -.15s; }
.wave i:nth-child(-n+11) { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.phone-time { display: flex; justify-content: space-between; margin-top: -6px; font-size: 10px; color: var(--muted); }
.phone-controls { display: flex; align-items: center; justify-content: center; gap: 24px; }
.skip-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: var(--text2); }
.play-btn { width: 62px; height: 62px; border-radius: 50%; background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(240, 185, 90, .35); }
.play-btn svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 3px; }
.up-next { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--panel); }
.up-next img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex: none; }
.up-next span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.up-next b { font-size: 11px; font-weight: 700; }
.up-next small { font-size: 10px; color: var(--muted); }
.float { position: absolute; width: 150px; height: auto; aspect-ratio: 1 / 1; border-radius: 18px; object-fit: cover;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6); transform: rotate(var(--r)); animation: float-y 7s ease-in-out infinite; }
.float-a { --r: -8deg; left: -28px; top: 64px; }
.float-b { --r: 9deg; right: -28px; bottom: 56px; width: 160px; animation-duration: 9s; animation-delay: -2s; }

@keyframes wave-bar { from { transform: scaleY(var(--lo, .3)); } to { transform: scaleY(var(--hi, .8)); } }
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes float-y { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-12px) rotate(var(--r)); } }

/* ---------- stories ---------- */
.story-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.story { position: relative; z-index: 0; display: flex; flex-direction: column; gap: 10px; color: var(--text);
  transition: transform .45s var(--ease); }
.story:hover { color: var(--text); transform: translateY(-6px); }
.story::before { content: ""; position: absolute; left: 6%; right: 6%; top: 8%; aspect-ratio: 1 / 1; z-index: -1; border-radius: 18px;
  box-shadow: 0 26px 46px -14px rgba(240, 185, 90, .45); opacity: 0; transition: opacity .4s; }
.story:hover::before, .story:focus-visible::before { opacity: 1; }
.story-art { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 18px; background: var(--panel);
  border: 1px solid var(--line2); }
.story-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.story:hover .story-art img { transform: scale(1.05); }
.story-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(240, 185, 90, .6);
  opacity: 0; transition: opacity .35s; }
.story:hover .story-art::after, .story:focus-visible .story-art::after { opacity: 1; }
.story-art .pill { position: absolute; left: 10px; top: 10px; height: 22px; padding: 0 8px; font-size: 10px; background: rgba(26, 18, 6, .88); }
.story-title { font-size: 15px; font-weight: 800; line-height: 1.3; }
.story-genre { margin-top: -6px; font-size: 12px; color: var(--muted); }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); }
.step.vip { border-color: rgba(240, 185, 90, .6);
  background: linear-gradient(180deg, rgba(240, 185, 90, .09), rgba(240, 185, 90, 0) 60%), var(--bg); }
.step-top { display: flex; align-items: center; justify-content: space-between; min-height: 26px; color: var(--gold); }
.step-top svg { width: 22px; height: 22px; }
.step-no { font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.step h3 { font-size: 20px; }
.step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text2); }

/* ---------- features ---------- */
.features { padding: 80px 0; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.feature svg { width: 28px; height: 28px; color: var(--gold); }
.feature h3 { margin: 14px 0 6px; font-size: 16px; }
.feature p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- pricing ---------- */
.price-glow { width: 760px; height: 760px; right: -280px; top: -220px; }
.price-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.price-panel { display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); }
.vip-panel { border-color: rgba(240, 185, 90, .55);
  background: linear-gradient(180deg, rgba(240, 185, 90, .09), rgba(240, 185, 90, 0) 45%), var(--bg); }
.panel-head h3 { font-size: 24px; }
.panel-head p { margin: 6px 0 0; font-size: 15px; color: var(--text2); }
.panel-head b { color: var(--text); }
.price-panel h4 { margin: 0; font-size: 14px; font-weight: 800; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 7px; background: var(--grad); color: var(--ink);
  font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.pack .tag, .plan .tag { position: absolute; top: -11px; left: 14px; }

.packs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
.pack { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px 16px 16px; border-radius: 16px; background: var(--panel);
  border: 1px solid var(--line); transition: border-color .25s; }
.pack:hover { border-color: #3D3D3D; } /* packs are not links: no lift, so they don't look clickable */
.pack.hot, .pack.best, .pack.hot:hover, .pack.best:hover { border-color: rgba(240, 185, 90, .6); }
.pack-coins { display: flex; align-items: center; gap: 8px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.pack-coins svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 2; }
.pack-split { font-size: 12px; color: var(--muted); }
.pack-price { margin-top: 10px; font-size: 17px; font-weight: 800; color: var(--gold-hi); }
.pack-eps { font-size: 12px; color: var(--text2); }
.first-buy { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; border-radius: 14px; background: #2A2210;
  border: 1px solid rgba(240, 185, 90, .3); font-size: 14px; color: var(--gold-hi); }
.first-buy svg { width: 22px; height: 22px; flex: none; }
.first-buy b { color: var(--text); }

.earn { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.earn p { margin: 0; font-size: 14px; color: var(--text2); }
.earn p b { color: var(--text); }
.streak { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.streak li { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 0; border-radius: 12px; background: var(--panel);
  border: 1px solid var(--line); }
.streak small { font-size: 10px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.streak b { font-size: 16px; font-weight: 800; color: var(--gold-hi); }
.streak li.top { background: var(--grad); border-color: transparent; }
.streak li.top small, .streak li.top b { color: var(--ink); }

.fine { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.fine li { position: relative; padding-left: 16px; }
.fine li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #4A4A4A; }
.fine b { color: var(--text2); }

.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 18px 18px; border-radius: 18px; background: var(--panel);
  border: 1px solid var(--line); }
.plan.best { border-color: var(--gold); box-shadow: 0 18px 40px -24px rgba(240, 185, 90, .6); }
.plan-name { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text2); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.plan-price small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan-note { font-size: 12px; color: var(--muted); }
.plan.best .plan-note { color: var(--gold-hi); }
.plan-note.save { font-weight: 800; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text2); }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-bg); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0;
  transform: rotate(45deg); }
.ticks b { color: var(--text); }
.not-incl { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); font-size: 14px; color: var(--text2); }
.not-incl b { color: var(--gold-hi); }

/* ---------- FAQ (native details; the answer slides open where the browser supports it) ---------- */
.faq-wrap .section-head { max-width: 840px; }
.faq { max-width: 840px; border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0; font-size: 17px; font-weight: 700; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary:focus-visible { outline-offset: 2px; }
.plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  transition: transform .4s var(--ease), background .25s, border-color .25s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px;
  background: var(--gold); transition: transform .4s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus { transform: rotate(180deg); background: #2A2210; border-color: rgba(240, 185, 90, .5); }
.faq details[open] .plus::after { transform: rotate(180deg); }
.faq-a p { margin: 0 0 22px; max-width: 700px; font-size: 15px; line-height: 1.65; color: var(--text2); }
.faq details[open] .faq-a { animation: rise .5s var(--ease) both; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
/* the kit's reduced-motion reset doesn't reach ::details-content */
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }

/* ---------- closing call to action ---------- */
.cta-section { padding-top: 16px; }
.cta { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 64px 28px; border-radius: 28px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.cta-glow { width: 640px; height: 640px; left: 50%; top: -280px; margin-left: -320px; z-index: -1; }
.cta-mark { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 16px 40px -16px rgba(240, 185, 90, .8); }
.cta-mark svg { width: 52px; height: 52px; }
.cta p { margin: 0; max-width: 480px; color: var(--text2); }
.cta .stores { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-art { width: 100%; max-width: 440px; margin-inline: auto; } /* keeps the floating covers close to the phone */
  .price-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .features { padding: 56px 0; }
  .hero { padding: 36px 0 56px; }
  .hero-glow { width: 620px; height: 620px; top: -120px; margin-left: -310px; }
  .hero-art { min-height: 560px; max-width: 380px; }
  .phone { width: 252px; gap: 12px; padding: 22px 18px 18px; border-radius: 40px; }
  .float { width: 104px; }
  .float-a { left: -6px; top: 28px; }
  .float-b { right: -6px; width: 112px; bottom: 36px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .section-head { margin-bottom: 28px; }
  .price-panel { padding: 22px 18px; }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq summary { font-size: 16px; }
  .cta { padding: 48px 20px; }
}
@media (max-width: 520px) {
  .steps, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .streak { gap: 4px; }
  .streak small { font-size: 10px; letter-spacing: -.2px; }
  .plan { padding: 22px 14px 16px; }
  .plan-price { font-size: 26px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
