/* HonestLivingGuide launch stages A and B (batch 5): launch-index, launch-page, launch-404 only.
   Loaded after hlg.css and header.css (and home.css on launch-index). Every colour is an hlg.css token.
   Nothing here is new: the parts are v5 parts; these rules only fit them to the shorter pages. */

/* Header, stage B: the one county panel has no "about" column, and three hubs sit in one row. */
.hdr-panel-one { grid-template-columns: minmax(0, 1fr); }
.hdr-county-list { grid-template-rows: none; grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48em) {
  .hdr-panel-one { grid-template-columns: minmax(0, 1fr); }  /* header.css sets two columns from 48em */
  .hdr-county-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Home: the short "Launching in Florida" part (stage B: "Now open in three Florida counties" with the county hubs). */
.launch-points .trust { margin-top: 0; padding-top: 0.25rem; margin-bottom: 1.25rem; }
.launch-points .trust li { background: var(--paper); }
.county-hubs .cats { margin-bottom: 1.25rem; }
.county-hubs .cats p { color: var(--moss); }
@media (min-width: 768px) { .county-hubs .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; } }

/* Long-text design: one readable column, the contents list above it. */
.lt { padding-block: 1.5rem 0.5rem; }
.lt > * { max-width: 42rem; }
.lt h2 { font-size: var(--fs-3); margin: 2rem 0 0.5rem; scroll-margin-top: calc(var(--stuck, 0px) + 0.75rem); }
.lt .toc { columns: 15rem 2; margin: 0 0 1rem; padding: 0.5rem 0 0.5rem 1rem; border-left: 8px solid var(--sage); max-width: 42rem; }
.lt .toc a { font-weight: 700; }
.lt .pf-nav-label { margin: 0 0 0.25rem; font-size: var(--fs-small); font-weight: 700; color: var(--moss); }  /* profile.css .pf-nav-label look, above the list */
.lt nav:has(> .pf-nav-label) .toc { margin-top: 0; }
.lt .plain-list li > a:not([class]) { padding-block: 0.65rem; }  /* the tap height hlg.css gives "p a" */
.lt .plain-list li { max-width: 62ch; }
.lt-updated { margin-top: 2rem; color: var(--moss); font-size: var(--fs-small); }
.lt-address { font-style: normal; }
.lt-go { margin-top: 1.5rem; }
.lt > .county-hubs { max-width: none; margin-top: 2rem; }  /* 404: the three hubs use the page width */

/* Footer, stages A and B: the funnel's low footer, with the privacy settings as a fold. */
.foot-launch ul { align-items: center; }
.foot-launch p { margin: 0; max-width: none; }
.foot-launch li:has(> .foot-privacy[open]) { flex-basis: 100%; }  /* the open panel takes its own row */
.foot-privacy summary { display: inline-flex; align-items: center; min-height: var(--tap); cursor: pointer; color: var(--forest); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot-privacy summary:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
/* The panel: the v5 callout (2px forest border, 20px corners, sand ground) at footer size. It pushes the row; nothing lies over the page. */
.foot-privacy-panel { max-width: 26rem; margin: 0 0 0.5rem; padding: 0.75rem 1rem; border: 2px solid var(--forest); border-radius: var(--radius); background: var(--sand); }
.foot-privacy-panel p { margin: 0 0 0.5rem; }
.foot-privacy-panel > :last-child { margin-bottom: 0; }
.foot-privacy-h { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-2); color: var(--forest); }
.stats-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; }
.stats-state { font-weight: 700; }
.foot-privacy .switch { margin: 0; }

/* Stage switch (mockup): stage B parts show only with body.stage-b. */
body:not(.stage-b) .only-b, .stage-b .only-a { display: none; }

/* Review switch with two choices, as on link-expired.html. */
.review-bar .tri-opts:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); max-width: 32rem; }
.review-bar .tri-opts:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48em) { .review-bar .tri-opts:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
