/* Z2PL shared stylesheet entry.
 * foundation.css preserves the pre-V3 base.css apart from the approved asset path move. It retains the original
 * reveal, visibility and responsive behavior. site-theme.css changes presentation only.
 * site-nav.js loads the canonical navigation stylesheet independently.
 * Page styles still load separately. The site theme uses html:root specificity deliberately
 * so later page styles cannot reintroduce the superseded dark/boxed sections.
 * Visual authority: docs/ui-research/v3-continuous-canvas.md.
 * Visibility update: docs/ui-research/v3-visibility.md (owner decision, 2026-09-25).
 */
@import url("./foundation.css");
@import url("./site-theme.css?v=20261014-docintro");

/* Playground and Pricing share the Championship opening layout. */
html:root .section > .family-headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: 40px;
  align-items: end;
}
html:root .section > .family-headline .eyebrow {
  grid-column: 1 / -1;
  color: var(--link-blue);
  margin-bottom: 15px;
}
html:root .section:first-child > .family-headline h2 {
  grid-column: 1;
  margin: 0;
  max-width: none;
  font-size: clamp(48px, 5.6vw, 80px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
html:root .section > .family-headline .section-sub {
  grid-column: 2;
  max-width: 32ch;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .005em;
  color: var(--ink-dim);
  padding-bottom: 3px;
}
@media (min-width: 1280px) {
  html:root #playground > .family-headline .section-sub {
    max-width: none;
    white-space: nowrap;
  }
}
@media (min-width: 735px) and (max-width: 1279px) {
  html:root #playground > .family-headline { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  html:root #playground > .family-headline .section-sub { grid-column: 1; max-width: none; }
}
@media (max-width: 734px) {
  html:root .docsec h2, html:root .docsection-title { font-size: 28px; }
  html:root .section > .family-headline { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  html:root .section > .family-headline .eyebrow,
  html:root .section > .family-headline h2,
  html:root .section > .family-headline .section-sub { grid-column: 1; }
  html:root .section:first-child > .family-headline h2,
html:root .docintro h1 { font-size: clamp(40px, 6.5vw, 48px); }
}

/* Docs keeps its full index on desktop and a native disclosure on narrow screens.
   Without JavaScript the index remains open and can still be toggled. */
.doccontents > summary { display: none; }
@media (max-width: 1068px) {
  .account-dashboard .docnav { display: none; }
  .doccontents > summary {
    display: list-item;
    min-height: 44px;
    padding: 10px 0;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--ink);
  }
  .doccontents > summary:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
  }
  .doccontents[open] > summary { margin-bottom: 18px; }
}
