/* 31 Oct 2026: shared reading/navigation affordances; original art stays uncropped.
   The special animated home title and the twelve new family hero rules are separate. */
html { scroll-padding-top: 8rem; }
body [id] { scroll-margin-top: 8rem; }
html[dir="ltr"] .breadcrumbs li:not(:last-child)::after { content: "→"; }
html[dir="rtl"] .breadcrumbs li:not(:last-child)::after { content: "←"; }
#main-content a.zv-context-link {
  color: inherit;
  font-weight: 650;
  text-decoration-line: underline;
  text-decoration-thickness: .075em;
  text-decoration-color: #8274c7;
  text-underline-offset: .2em;
  border-radius: .12em;
}
#main-content a.zv-context-link:hover { color: #5140a4; text-decoration-color: currentColor; }
#main-content :is(a.zv-context-link,a.zv-context-cardlink):focus-visible {
  outline: 3px solid #6652c9; outline-offset: 4px;
}
#main-content a.zv-context-cardlink { color: inherit; text-decoration: none; }
#main-content a.zv-context-cardlink:hover :is(h2,h3,strong) { text-decoration: underline; text-underline-offset: .18em; }
/* A common, intentional reading scale rather than a giant headline in a narrow column. */
html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child h1 {
  max-width: 25ch;
  margin-inline: auto;
  font-size: clamp(2.35rem, 3.25vw, 3.5rem);
  line-height: 1.16;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}
html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child .breadcrumbs {
  margin-block: 0 1.5rem;
  line-height: 1.55;
  flex-wrap: wrap;
}
html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child .direct-answer {
  max-width: 62ch;
  margin-block: 1rem 1.2rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 500;
}
html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child :is(.zv-actions,.pricing-hero-facts) {
  justify-content: center;
  align-items: stretch;
  gap: .8rem;
}
html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child .zv-actions > .btn {
  min-height: 3.2rem;
  max-width: 100%;
  padding: .8rem 1.2rem;
  line-height: 1.45;
  white-space: normal;
  text-align: center;
}
html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child figcaption {
  max-width: 58ch;
  margin: .75rem auto 0;
  font-size: .875rem;
  line-height: 1.6;
}
html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child :is([class$="-package-note"],.agepack-access-note) {
  padding: .8rem 1rem;
  line-height: 1.65;
  font-size: .9375rem;
  margin-block: 1rem;
}
@media (min-width: 64.01rem) {
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child {
    padding-block: clamp(2rem, 3vw, 3.25rem);
  }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child [class*="hero-grid"] {
    grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
    gap: clamp(1.75rem,3vw,3rem);
    align-items: center;
  }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child [class*="hero-copy"] { min-width: 0; }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child :is([class$="-hero-signals"],[class$="-signals"],[class$="-hero-points"]) {
    gap: .65rem;
    margin-block: 1rem;
  }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child :is([class$="-hero-signals"],[class$="-signals"],[class$="-hero-points"]) > :is(span,li,div) {
    min-width: 0;
    min-height: 4.25rem;
    padding: .65rem .7rem;
    font-size: .875rem;
    line-height: 1.45;
    gap: .4rem;
  }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child :is([class$="-hero-signals"],[class$="-signals"],[class$="-hero-points"]) img {
    width: 1.9rem; height: 1.9rem; object-fit: contain;
  }
  /* Four proof cards can be scanned as one compact row at real desktop widths. */
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child .zv-skill-hero-points {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}
@media (max-width:64rem) {
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child h1 {
    font-size: clamp(2rem,5.2vw,3rem);
    max-width: 25ch;
  }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child [class*="hero-grid"] {
    grid-template-columns: minmax(0,1fr);
    gap: 2rem;
  }
}
@media (max-width:40rem) {
  html { scroll-padding-top: 7rem; }
  body [id] { scroll-margin-top: 7rem; }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child { padding-block: 1.75rem 2.25rem; }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child h1 { font-size: clamp(1.95rem,8vw,2.5rem); line-height: 1.2; }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child .direct-answer { font-size: 1rem; line-height: 1.75; }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child .breadcrumbs { margin-bottom: 1.1rem; font-size: .8125rem; }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child .zv-actions { display: flex; flex-direction: column; }
  html[lang] :is(body,.zsm-managed-page)[data-page-id][data-layout-polish="classic"] #main-content > section:first-child .zv-actions > .btn { width: 100%; height: auto; flex: 0 1 auto; }
}
@media (prefers-reduced-motion:reduce) {
  #main-content :is(a.zv-context-link,a.zv-context-cardlink) { transition: none; }
}
