/* Landing page only. atlas.css supplies the tokens, the type and the core-sample
   column; everything here is the plain scrolling layout the app does not need,
   because the app is a card deck at a fixed viewport height and this is a page. */

.landing { overscroll-behavior-y: auto; }

.lp {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.1rem var(--pad) 3.5rem;
  padding-bottom: calc(4rem + var(--safe-b));
}

/* ── masthead ───────────────────────────────────────────────────────────── */
.lp-head { margin: 0 0 2.4rem; }
.lp-head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.85rem, 1.4rem + 2.1vw, 2.7rem);
  line-height: 1.16;
  text-wrap: balance;
  margin: .25rem 0 .7rem;
}
.lp .lede {
  font-size: 1.06em;
  color: var(--ink-2);
  margin: 0 0 1.4rem;
  max-width: 30rem;
}

/* the CTA sits in the masthead so it clears the fold on a phone */
.lp-cta {
  max-width: 21rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 .85rem;
}
.lp-cta-note {
  font-size: .82rem;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 30rem;
  margin: 0;
}

/* the core sample: the identity piece, but no longer competing with the CTA */
.lp-core { padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.lp .core-wrap { --day-h: 3.3px; align-items: stretch; margin-bottom: 1rem; }
.lp .core { flex: 0 0 46px; }
.lp .core-legend { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.lp .core-legend .leg { display: flex; flex-direction: column; justify-content: center; padding: .35rem 0; }

/* ── sections ───────────────────────────────────────────────────────────── */
.lp-s { margin: 0 0 2.6rem; }
.lp-s > h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.42rem;
  line-height: 1.25;
  margin: 0 0 .9rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}
.lp-s p { margin: 0 0 var(--sp-para); max-width: var(--measure); }
.lp-s p:last-child { margin-bottom: 0; }

/* ── the spine, and the five questions ──────────────────────────────────── */
.lp-spine, .lp-mach { list-style: none; margin: 1.1rem 0; padding: 0; }
.lp-spine li, .lp-mach li {
  display: grid;
  grid-template-columns: minmax(7.5rem, 10rem) 1fr;
  gap: .35rem 1.1rem;
  padding: .6rem 0;
  border-top: 1px solid var(--hair);
}
.lp-spine li:last-child, .lp-mach li:last-child { border-bottom: 1px solid var(--hair); }
.lp-spine b, .lp-mach b {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: .18em;
}
.lp-mach b { color: var(--oxide); }
.lp-spine span, .lp-mach span { color: var(--ink-2); }
@media (max-width: 34rem) {
  .lp-spine li, .lp-mach li { grid-template-columns: 1fr; gap: .15rem; }
}

/* ── the five parts ─────────────────────────────────────────────────────── */
.lp-parts { width: 100%; border-collapse: collapse; margin: 1.3rem 0 0; }
.lp-parts td { padding: .8rem .6rem .8rem 0; border-top: 1px solid var(--hair); vertical-align: top; }
.lp-parts tr:last-child td { border-bottom: 1px solid var(--hair); }
.lp-parts .pt-id { width: 2.2rem; font-family: var(--mono); font-size: .9rem; }
.lp-parts .pt-t { margin: 0; font-weight: 500; }
.lp-parts .pt-s { margin: .15rem 0 0; font-size: .84rem; color: var(--ink-3); line-height: 1.45; }
.lp-parts .pt-sp, .lp-parts .pt-n {
  font-family: var(--mono); font-size: .7rem; color: var(--ink-3);
  white-space: nowrap; text-align: right;
}
@media (max-width: 40rem) {
  .lp-parts .pt-sp { display: none; }
}

/* ── footer ─────────────────────────────────────────────────────────────── */
.lp-foot {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  font-size: .84rem;
  line-height: 1.55;
  color: var(--ink-3);
}
.lp-foot p { margin: 0 0 .6rem; max-width: var(--measure); }
