/* Preserve Sanctuary's original banner, typography, artwork, and layout.
   Setup, accessibility and resource-page additions supplement site.css. */
.sn-beta-note { margin: 18px 0 0; color: #34536d; font-size: 14px; line-height: 1.65; }
.sn-start-note { margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.sn-release-note { padding-bottom: 26px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.sn-release-note h3 { margin-bottom: 14px; }

/* Practical reading resources and an explicit invitation into closed testing. */
.sn-reading-log-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.sn-reading-log-card { min-width: 0; padding: clamp(20px, 3vw, 30px); border: 1px solid #d5e0e8; border-top: 3px solid #c5a76d; border-radius: 16px; background: #fffdf8; }
.sn-reading-log-card h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.3; }
.sn-reading-log-card dl { margin: 20px 0 0; }
.sn-reading-log-card dt { margin-top: 18px; font-weight: 700; color: #123d64; }
.sn-reading-log-card dd { margin: 6px 0 0; line-height: 1.75; }
.sn-reading-log-template { margin: 24px 0; padding: 18px; background: #edf5fb; border-radius: 10px; font: inherit; line-height: 2.2; white-space: pre-wrap; overflow-wrap: anywhere; }
.sn-feature-invitation { margin: 32px 0; padding: clamp(22px, 4vw, 36px); background: #edf5fb; border: 1px solid #c5d9e8; border-radius: 20px; }
.sn-feature-invitation h2 { margin: 12px 0 18px; font-size: clamp(28px, 4vw, 36px); line-height: 1.2; }
.sn-feature-invitation .resource-actions { margin-top: 24px; }
.resource-page .sn-feature-note { font-size: 14px; line-height: 1.7; color: #34536d; }
.sn-feature-invitation .sn-feature-note { margin-top: 18px; }
@media (max-width: 650px) {
  .sn-reading-log-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* Both navigation variants switch at exactly the same breakpoint. */
@media (max-width: 800px) {
  .main-nav { display: none; }
  .mobile-site-menu { display: block; margin: 0 20px 10px; border: 0 !important; }
  .mobile-site-menu summary { padding: 9px 0 !important; min-height: 44px; font-size: 13px; cursor: pointer; }
  .mobile-site-menu nav { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 10px 0 18px; font-size: 14px; }
  .mobile-site-menu a { min-height: 44px; text-decoration: none; color: #245f88; }
}
@media (min-width: 801px) {
  .main-nav { display: flex; }
  .mobile-site-menu { display: none; }
}
/* The icon occupies column one; every feature's copy and guide stay in two. */
@media (max-width: 570px) {
  .feature > .feature-top { grid-column: 1; grid-row: 1 / 4; }
  .feature > h3, .feature > p, .feature > .feature-guide-link { grid-column: 2; min-width: 0; }
  .feature > .feature-guide-link { justify-self: start; }
  .account-nav .button.small { min-height: 44px; }
}
@media (max-width: 380px) {
  .header-inner { gap: 6px; }
  .header-inner .brand img { width: 36px; height: 36px; }
  .account-nav { gap: 8px; }
  .account-nav .button.small { padding-inline: 10px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
