/* The visitor's front page (T-284, landing.html; brief/LANDING_2026-12-02.md, mock frames LA1-3 in
   app_review/mockups/landing-2026-12-02.html). Only this page links it. Colours only through the
   roles in tokens.css (STATE rule 10): the deep band and the device frame are the results bar's
   black (--wdl-black, the same in both modes), its text --on-wdl-dark / --wdl-white.
   Breakpoints as the mock's frames: phone below 760, iPad 760-1099, desktop 1100 and up. */
.lp { --lp-gut: 18px; padding-left: 0; }
@media (min-width: 760px) { .lp { --lp-gut: 40px; } }
@media (min-width: 1100px) { .lp { --lp-gut: 72px; } }
.lp main { padding: 0; }
.lp-wrap { max-width: 1180px; margin: 0 auto;
  padding-left: max(var(--lp-gut), env(safe-area-inset-left)); padding-right: max(var(--lp-gut), env(safe-area-inset-right)); }
.lp h1, .lp h2, .lp h3 { margin: 0; text-wrap: balance; color: var(--strong); }
.lp .m { font-family: "IBM Plex Mono", ui-monospace, monospace; }

/* Buttons: the main action in the accent, the other raised (kit's .btn look, at 44px). */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border-radius: 8px; font-weight: var(--w-bold); text-decoration: none; white-space: nowrap;
  background: var(--panel3); color: var(--strong); }
.lp-btn.main { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 -2px 0 var(--shade); }
.lp-btn:focus-visible, .lp-tick:focus-visible, .lp-go:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 1. The bar: the app's own (T-288 step 2, D-SO2.6; kit.css .frame). */

/* 2-4. The hero: the rail colour over the page's at 62%, the headline, the lede and buttons, the board. */
.lp-hero { padding-top: 36px; background: linear-gradient(var(--rail) 0 62%, var(--bg) 62%); }
.lp-say { display: grid; gap: 14px 48px; grid-template-columns: minmax(0, 1fr); }
.lp-hero h1 { font-size: 2.1rem; line-height: 1.08; letter-spacing: -0.015em; font-weight: var(--w-bold); }
.lp-hero h1 span { color: var(--accent); }
.lp-lede { margin: 0 0 16px; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.lp-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-small { font-size: var(--fs-sm); color: var(--muted); margin: 10px 0 0; }
.lp-device { margin-top: 28px; background: var(--wdl-black); border-radius: 16px; padding: 8px; box-shadow: 0 18px 40px -18px var(--shade-deep); }
.lp-device img { display: block; width: 100%; height: auto; border-radius: 10px; }
.lp picture { display: block; }
/* The phone's hero is the phone board (landing-shots.sh), cut to its top: the game's header and the board. */
.lp-device img.lp-crop { aspect-ratio: 390 / 500; object-fit: cover; object-position: 0 0; }
@media (min-width: 760px) {
  .lp-hero h1 { font-size: 2.9rem; }
  .lp-device { padding: 12px; border-radius: 22px; margin-top: 36px; }
  .lp-device img.lp-crop { aspect-ratio: auto; }
}
@media (min-width: 1100px) {
  .lp-hero { padding-top: 56px; }
  .lp-say { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; }
  .lp-hero h1 { font-size: 3.4rem; }
}

/* 5. The live strip: 1, 2 or 4 tiles; a tile whose feed didn't answer stays hidden. */
.lp-live { padding: 22px 0 6px; }
.lp-live .lp-wrap { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.lp-tick { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--panel); box-shadow: var(--shadow);
  text-decoration: none; color: var(--strong); }
.lp-tick[hidden], .lp-puzzle[hidden] { display: none; }
.lp-tick small { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: var(--w-bold); }
.lp-tick span { font-weight: var(--w-bold); font-size: 0.95rem; }
@media (min-width: 760px) { .lp-live .lp-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lp-live .lp-wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Today's puzzle in place (D-LP.1 B): a card under the strip holding the app's own puzzle
   (style.css's .front-play); Close hides it again. */
.lp-puzzle { padding: 18px 0 0; scroll-margin-top: 12px; }
.lp-pz-card { background: var(--panel); border-radius: 14px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 12px;
  justify-items: start; }
.lp-pz-slot { width: 100%; max-width: 34rem; min-height: 4rem; }
.lp-pz-slot .front-board { width: 100%; }
.lp-pz-close { min-height: 40px; }
@media (min-width: 760px) { .lp-pz-card { padding: 24px; } }

/* 6-7. What's inside: rows of a picture and its words, alternating sides from the iPad up. */
.lp-band { padding: 44px 0; }
.lp-h2 { font-size: 1.75rem; line-height: 1.12; font-weight: var(--w-bold); }
.lp-lead { color: var(--muted); max-width: 62ch; margin: 8px 0 30px; font-size: 1.05rem; }
.lp-rows { display: grid; gap: 44px; }
.lp-row { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.lp-row h3 { font-size: 1.4rem; line-height: 1.18; margin-bottom: 8px; font-weight: var(--w-bold); }
.lp-row p { margin: 0 0 10px; color: var(--muted); }
.lp-row .m { color: var(--strong); font-size: 0.92em; }
.lp-shot { border-radius: 14px; padding: 10px; background: var(--panel2); }
.lp-shot img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 18px 40px -18px var(--shade-deep); }
.lp-shot.an { background: var(--acc-soft); } .lp-shot.pz { background: var(--pz-soft); }
.lp-shot.gs { background: var(--gs-soft); } .lp-shot.rp { background: var(--rp-soft); }
.lp-tag { display: inline-block; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; font-weight: var(--w-bold);
  margin-bottom: 8px; color: var(--muted); }
.lp-tag.an { color: var(--accent); } .lp-tag.pz { color: var(--pz); } .lp-tag.gs { color: var(--gs); } .lp-tag.rp { color: var(--rp); }
.lp-go { font-weight: var(--w-bold); text-decoration: none; color: var(--strong); }
.lp-who { display: inline-block; font-size: var(--fs-xs); font-weight: var(--w-bold); padding: 2px 8px; border-radius: 999px;
  background: var(--panel2); color: var(--muted); margin-left: 6px; vertical-align: 2px; }
@media (min-width: 760px) {
  .lp-band { padding: 72px 0; }
  .lp-h2 { font-size: 2.2rem; }
  .lp-rows { gap: 64px; }
  .lp-row { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; }
  .lp-row.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
  .lp-row.flip .lp-shot { order: 2; }
}
@media (min-width: 1100px) { .lp-row { gap: 56px; } }

/* 8. Open data, on the results bar's black. */
/* A step darker than the results bar's black, so the band stands off the dark page too (the mock's
   deep colour), mixed from roles. */
.lp-open { background: color-mix(in srgb, var(--wdl-black) 75%, var(--black)); color: var(--on-wdl-dark); }
.lp-open .lp-wrap { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.lp-open .lp-h2 { color: var(--on-wdl-dark); }
.lp-open p { color: var(--wdl-white); margin: 8px 0 0; max-width: 60ch; }
.lp-open .lp-tag { color: var(--wdl-white); }
.lp-open .lp-go, .lp-open a { color: var(--on-wdl-dark); }
.lp-big { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 2.4rem; font-weight: var(--w-bold); line-height: 1; }
.lp-open p.lp-under { margin: 6px 0 14px; }
.lp-open ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.lp-open li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 10px; padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--wdl-white) 15%, transparent); }
.lp-open li span { color: var(--wdl-white); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: var(--fs-sm); overflow-wrap: anywhere; }
@media (min-width: 760px) { .lp-open .lp-wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; } }

/* 9. Join. */
.lp-card { background: var(--panel); border-radius: 18px; box-shadow: var(--shadow); padding: 24px; display: grid; gap: 18px;
  grid-template-columns: minmax(0, 1fr); }
.lp-card ol { margin: 10px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 2px; }
@media (min-width: 760px) { .lp-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 32px 36px; } }

/* 10. The links search engines follow. */
.lp-more { padding: 0 0 44px; }
.lp-more .lp-wrap { display: grid; gap: 22px 32px; grid-template-columns: minmax(0, 1fr); }
.lp-more h3 { font-size: 1rem; margin-bottom: 8px; font-weight: var(--w-bold); }
.lp-more ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.lp-more a { color: var(--strong); }
@media (min-width: 760px) { .lp-more .lp-wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 11. The footer is the plain pages' own (style.css), full width here. */
.lp footer { max-width: 1180px; --gutter: var(--lp-gut); }
