/* Pages extra. Statement heroes for pages outside the main menu, after the
   Coaching page hero (.c-hero in coaching.css). Linked only from the pages it
   styles: diagnostic.html and human-stack-builder.html. Tokens only. No new
   pictures, no scroll motion. Touches the opening view only, never a tool. */

/* ---------- Diagnostic: the intro screen ---------- */
/* Selected by id so the quiz markup, its classes and its script stay as they are. */
#screen-intro {
  grid-column: 1 / -1;
  max-width: none;
  padding-block: var(--space-9) var(--space-8);
}
#screen-intro .intro__label { margin-bottom: var(--space-5); }
#screen-intro .intro__heading {
  max-width: 11em;
  font-size: var(--step-8);
  line-height: 0.95;
  letter-spacing: -0.022em;
}
#screen-intro .intro__sub {
  margin-top: var(--space-8);
  margin-bottom: var(--space-6);
  max-width: 34rem;
}
#screen-intro .btn { min-height: 52px; padding-inline: var(--space-7); }
#screen-intro .tool-note { max-width: 34rem; }

@media (max-width: 760px) {
  #screen-intro { padding-block: var(--space-7) var(--space-7); }
  #screen-intro .intro__sub { margin-top: var(--space-6); }
  #screen-intro .btn { width: 100%; justify-content: center; }
}

/* ---------- Human Stack Builder: the page header ---------- */
header.site-hero { padding-block: var(--space-9) var(--space-8); }
.site-hero .site-logo { margin-bottom: var(--space-8); }
.site-hero h1 {
  max-width: 9em;
  font-size: var(--step-8);
  line-height: 0.95;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
header.site-hero .sub {
  margin-top: var(--space-7);
  max-width: 34rem;
  font-family: var(--font-serif);
  font-size: var(--step-4);
  line-height: 1.58;
}

@media (max-width: 760px) {
  header.site-hero { padding-block: var(--space-7) var(--space-7); }
  .site-hero .site-logo { margin-bottom: var(--space-6); }
  header.site-hero .sub { margin-top: var(--space-5); }
}

/* Human Stack Builder: the site menu beside the signature, so the tool is not a dead end. */
.site-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-6); margin-bottom: var(--space-5); }
.site-top .site-logo { margin-bottom: 0; }
.site-menu { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.site-menu a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-sans); font-size: var(--step-2); color: var(--text-2); text-decoration: none; }
.site-menu a:hover { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
