/* Shared layout for the Hello help and privacy pages. */
html { scroll-padding-top: 1.5rem; }
.home { overflow-wrap: break-word; }
.home .eyebrow, .home .project-kicker, .status { font-size: .8125rem; }
.top { flex-wrap: wrap; }
.top nav { flex-wrap: wrap; gap: .5rem 1.25rem; }
.top nav a, .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .4em; font-weight: 650; }
.text-link { min-height: 44px; align-content: center; }
.home .contact-note, .availability { font-size: .9375rem !important; }
.project-actions, .footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.review-banner { background: #fff1cc; color: #594319; padding: .75rem 1.5rem; text-align: center; font-size: .9375rem; border-bottom: 1px solid #c6ac76; }
.page-hero, .docs-layout { max-width: 1120px; padding-inline: 30px; margin-inline: auto; }
.page-hero { padding-block: 3rem 2rem; }
.page-hero h1 { font: 500 clamp(2.5rem,6vw,4.5rem)/1.1 Georgia,serif; letter-spacing: -.04em; margin: .75rem 0 1.25rem; }
.page-hero .lead { max-width: 42rem; font-size: 1.1875rem; margin-bottom: 1.25rem; }
.updated { color: var(--muted); font-size: .9375rem; }
.docs-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 3rem; align-items: start; padding-bottom: 4rem; }
.contents { position: sticky; top: 1.5rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.contents h2 { font-size: 1rem; letter-spacing: 0; margin: 0 0 .5rem; }
.contents ul { list-style: none; padding: 0; margin: 0; }
.contents-compact { display: none; }
.contents-compact summary { cursor: pointer; min-height: 44px; align-content: center; font-weight: 650; }
.contents-compact summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.contents a { font-size: .9375rem; min-height: 44px; padding-block: .5rem; display: flex; align-items: center; line-height: 1.4; text-decoration: underline; text-underline-offset: .2em; }
.document { min-width: 0; font-size: 1.0625rem; line-height: 1.7; }
.document > p, .document section { max-width: 68ch; }
.document section { padding-block: 2rem; border-top: 1px solid var(--border); scroll-margin-top: 1.25rem; }
.document h2 { font-size: clamp(1.5rem,3vw,1.875rem); line-height: 1.25; letter-spacing: -.025em; margin-bottom: 1.25rem; }
.document h3 { font-size: 1.125rem; line-height: 1.4; margin: 1.75rem 0 .5rem; }
.document h3:first-of-type { margin-top: 1rem; }
.document p { margin-bottom: 1rem; }
.document a { color: var(--teal); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.document ul, .document ol { padding-left: 1.5rem; margin: .75rem 0 1.25rem; }
.document li { margin-block: .55rem; padding-left: .2rem; }
.document ol li { margin-block: 1rem; }
.document ol li::marker { color: var(--teal); font-weight: 700; }
.document strong { font-weight: 650; }
.notice { background: #e9ede2; border: 1px solid #bac6b5; border-left: 4px solid #295d4d; border-radius: .75rem; padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.notice p:last-child { margin-bottom: 0; }
.page-end { display: inline-flex; align-items: center; min-height: 44px; }
footer { font-size: .9375rem; align-items: center; }
@media (max-width: 800px) {
  .docs-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .contents { position: static; }
  .contents-wide { display: none; }
  .contents-compact { display: block; }
  .contents ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1.25rem; }
}
@media (max-width: 480px) {
  .page-hero, .docs-layout { padding-inline: 22px; }
  .page-hero { padding-top: 2rem; }
  .contents ul { grid-template-columns: 1fr; }
  .contents { padding: 1rem; }
  .home .top nav { font-size: .9375rem; justify-content: flex-start; }
  .document { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .top, .contents, .review-banner, footer, .page-end { display: none; }
  .docs-layout { display: block; }
  body.home { background: white; color: black; }
  .document section { break-inside: auto; }
  h2, h3 { break-after: avoid; }
}
