/* Shared sample chrome. System fallbacks + optional page fonts. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, svg { max-width: 100%; height: auto; display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 3px;
}

.sample-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  background: #140f0c;
  color: #fffaf2;
  text-align: center;
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.55rem 0.9rem;
  line-height: 1.35;
}

.sample-banner a {
  color: #f3e6c8;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.88rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.tier-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .18rem .6rem;
  border: 1px solid rgba(243, 230, 200, .45);
  border-radius: 999px;
  color: #f3e6c8;
  letter-spacing: .06em;
  font-size: .68rem;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .sample-banner { font-size: .64rem; gap: .2rem .7rem; padding: .4rem .6rem; }
  .sample-banner a { font-size: .8rem; }
}

section[id], [id] { scroll-margin-top: 5.4rem; }

.reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  html.js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

.sample-page-footer {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
  padding: 1.8rem 1.2rem 2.4rem;
  text-align: center;
  line-height: 1.55;
}
.sample-page-footer p { margin: 0.35rem 0; }
.sample-page-footer a { color: inherit; }

/* Compact banner on phones (tap targets stay 44px tall via padding) */
.sample-banner { padding: 0.5rem 0.9rem; gap: 0 1rem; }
.sample-banner a { min-height: 0; padding: 0.7rem 0.3rem; margin: -0.7rem 0; }
@media (max-width: 520px) {
  .sample-banner { font-size: 0.64rem; letter-spacing: 0.08em; }
  .sample-banner a { font-size: 0.8rem; }
}
a[href^="tel:"] { white-space: nowrap; }
