/* G3 (Desktop R4, 21 Nov): the palm landing /palm-reading/ at >= 1024 px: what the palm frame (desktop-r4/shots/landing-palm.jpg + PM web's desktop-palm-G3-21nov.html) needs on top of G2's shared landing template
   (rules under html[data-dr4] .lp in desktop-r4.css): the dark hero band, the "What you get" heading, the paper bands, the ask box without the persona cards, the two-column learn rows and questions, the guides list.
   Loaded by the palm page alone (palm.mjs adds it after landing.css), so the other landings are untouched. Add-only; same specificity as G2's rules and linked later. Nothing matches unless desktop_r4 is ON
   (html[data-dr4]) AND the window is >= 1024 px: the phone page and the flag-OFF page are byte for byte today's. No copy, price or count is typed here. Palm is never offered as free: the "Free scan" badge is not drawn
   on desktop (the phone badge is a separate call). */
@media (min-width: 1024px) {
  html[data-dr4] body:has(main.lp), html[data-dr4] .pg:has(> main.lp), html[data-dr4] .lp { background: var(--r4-white); }
  html[data-dr4] .lp .lp-fbadge { display: none; }
  html[data-dr4] .lp .lp-jump { display: none; } /* the jump chips are a phone aid; the frame does not draw them */

  /* ---- hero: the cosmic band (full-bleed, clipped to its own height), light text, the questions as outlined chips ---- */
  html[data-dr4] .lp .lp-hero { padding: 48px 0; background: var(--r4-cos); box-shadow: 0 0 0 100vmax var(--r4-cos); clip-path: inset(0 -100vmax); align-items: center; }
  html[data-dr4] .lp .lp-eyebrow { color: var(--r4-gold); }
  html[data-dr4] .lp .lp-h1 { color: var(--r4-white); }
  html[data-dr4] .lp .lp-lead { color: var(--r4-line); }
  html[data-dr4] .lp .lp-asks { color: var(--r4-line); font: 700 var(--r4-fs-13) / 18px var(--r4-font-body); }
  html[data-dr4] .lp .lp-ticks { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
  html[data-dr4] .lp .lp-ticks li { align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--r4-ink2); border-radius: 18px; color: var(--r4-white); font: 600 var(--r4-fs-13) / 34px var(--r4-font-body); }
  html[data-dr4] .lp .lp-tick { display: none; }
  html[data-dr4] .lp .lp-hcta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
  html[data-dr4] .lp .lp-hcta .lp-cta { flex: none; white-space: nowrap; } /* the button never shrinks to a two-line label on a partial window; the note wraps beside it or under it */
  html[data-dr4] .lp .lp-hcta .lp-note { flex: 1 1 200px; min-width: 0; margin: 0; color: var(--r4-line); }
  html[data-dr4] .lp .lp-cv { height: 320px; }

  /* ---- "What you get" shows its heading in the palm frame (G2 hides it for the other landings) ---- */
  html[data-dr4] .lp .lp-lbl:has(+ .lp-gets) { display: block; }
  html[data-dr4] .lp .lp-gets { margin-top: 0; padding-bottom: var(--r4-band-pad); }

  /* ---- "Have a question first?": paper band with the ask box and its chips only (the persona cards belong to the other landings' frames) ---- */
  html[data-dr4] .lp .lp-lbl:has(+ .lp-as), html[data-dr4] .lp section.lp-as { background: var(--r4-paper); box-shadow: 0 0 0 100vmax var(--r4-paper); clip-path: inset(0 -100vmax); }
  html[data-dr4] .lp .lp-lbl:has(+ .lp-as) { margin: 0; padding: var(--r4-band-pad) 0 var(--r4-gap); }
  html[data-dr4] .lp section.lp-as { padding-bottom: var(--r4-band-pad); }
  html[data-dr4] .lp section.lp-as .lp-as-hd, html[data-dr4] .lp section.lp-as .lp-as-row { display: none; }
  html[data-dr4] .lp section.lp-as .lp-as-chips { flex-wrap: wrap; }

  /* ---- learn about palm reading (plain rows) and the questions: two columns (the first, open row spans both) ---- */
  html[data-dr4] main.lp { width: 100%; box-sizing: border-box; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--r4-gap-lg, 24px); align-items: start; }
  html[data-dr4] main.lp > * { grid-column: 1 / -1; min-width: 0; }
  html[data-dr4] main.lp > .lp-acc { grid-column: auto; margin: 0; border: 0; border-bottom: 1px solid var(--r4-line); border-radius: 0; background: transparent; box-shadow: none; }
  html[data-dr4] main.lp > .lp-acc:first-of-type { grid-column: 1 / -1; }
  html[data-dr4] .lp .lp-acc summary { padding: 16px 0; }
  html[data-dr4] .lp .lp-acc-in { padding: 0 0 16px; }
  html[data-dr4] .lp h2.lp-lbl#faq, html[data-dr4] .lp .lp-faq, html[data-dr4] .lp .lp-guides, html[data-dr4] .lp .lp-after { background: var(--r4-paper); box-shadow: 0 0 0 100vmax var(--r4-paper); clip-path: inset(0 -100vmax); }
  html[data-dr4] .lp h2.lp-lbl#faq { margin-top: var(--r4-band-pad); padding-top: var(--r4-band-pad); }
  html[data-dr4] .lp .lp-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--r4-gap-lg, 24px); align-items: start; border: 0; border-radius: 0; }
  html[data-dr4] .lp .lp-faq details:last-child { border-bottom: 1px solid var(--r4-line); }
  html[data-dr4] .lp .lp-guides { margin: 0; padding: 32px 0 0; }
  html[data-dr4] .lp .lp-guides ul { columns: 2; column-gap: var(--r4-gap-lg, 24px); }
  html[data-dr4] .lp .lp-after { margin: 0; padding: 16px 0 var(--r4-band-pad); }

  /* ---- also on AstroDestiny: the two live cards as wide cards, no empty slots ---- */
  html[data-dr4] .lp .lp-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
