/* The demo site's styles, on bc's tokens (App_Plugins/BrilliantBrand/themes/bc-tokens.css, a copy of @bc/ui's tokens.css):
   the warm ground, white cards with a hairline, the brand accent for links and focus. Contrast as bc's (ink 14.5:1, muted 5.3:1). */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bc-ground);
  color: var(--bc-ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--bc-accent); text-underline-offset: 0.15em; }
a:hover { color: var(--bc-accent-hover); }
:focus-visible { outline: 3px solid var(--bc-accent); outline-offset: 2px; }

.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--bc-card); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; }

.site-header { background: var(--bc-card); border-bottom: 1px solid var(--bc-hairline); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.site-name { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--bc-ink); text-decoration: none; }
.menu { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0; padding: 0; }
.menu a { display: inline-block; padding: 0.4rem 0.85rem; border-radius: 999px; color: var(--bc-ink); font-weight: 600; text-decoration: none; }
.menu a:hover { background: var(--bc-chip); }
.menu a[aria-current='page'] { background: var(--bc-accent-wash); color: var(--bc-accent-hover); }

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; width: 100%; display: flex; flex-direction: column; gap: 1.5rem; padding-top: 2rem; padding-bottom: 3rem; }
h1, h2, h3, .h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5rem; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; }
h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 0.75rem; }
.lead { font-size: 1.15rem; color: var(--bc-ink-muted); max-width: 46rem; }
.muted, .meta { color: var(--bc-ink-muted); }
.meta { font-size: 0.9rem; }
.crumb { margin: 0; }

.hero { padding: 1.5rem 0 0.5rem; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.card { background: var(--bc-card); border: 1px solid var(--bc-hairline); border-radius: 14px; padding: 1.25rem; box-shadow: var(--bc-float-shadow); }
.card h3 a { color: var(--bc-ink); text-decoration: none; }
.card h3 a:hover { color: var(--bc-accent); text-decoration: underline; }
.listing { max-width: 46rem; }
.notice { border-color: var(--bc-warn-line); background: var(--bc-warn-wash); }

.chip { display: inline-block; padding: 0.15rem 0.7rem; border-radius: 999px; background: var(--bc-accent-wash); color: var(--bc-accent-hover); font-size: 0.85rem; font-weight: 700; }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem; margin: 1rem 0; }
.facts dt { font-size: 0.8rem; font-weight: 700; color: var(--bc-ink-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.facts dd { margin: 0; }

.fees { margin: 0; padding-left: 1.1rem; }
.fees li + li { margin-top: 0.5rem; }

.site-footer { border-top: 1px solid var(--bc-hairline); background: var(--bc-card); color: var(--bc-ink-muted); font-size: 0.9rem; padding: 1.25rem 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
