html { scroll-behavior: smooth; }
body {
  min-width: 20rem;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .24;
  background-image:
    radial-gradient(circle at 15% 18%, color-mix(in srgb, var(--brand-soft) 70%, transparent) 0 1px, transparent 2px),
    repeating-radial-gradient(ellipse at 110% -10%, transparent 0 5rem, color-mix(in srgb, var(--brand) 7%, transparent) 5.1rem 5.2rem);
  background-size: 24px 24px, auto;
}
h1, h2, h3 {
  color: var(--brand-strong);
  font-family: var(--font-display);
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 7vw, 5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { max-width: 70ch; }
a { text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  padding: .75rem .875rem;
}
textarea { min-height: 7rem; resize: vertical; }
label { color: var(--brand-strong); font-weight: 700; }
small, .helper-text { color: var(--text-muted); }
hr { border: 0; border-top: 1px solid var(--border); }
::selection { background: var(--accent-soft); }
.shell { width: min(100% - 2rem, var(--shell)); margin-inline: auto; }
.view-root { min-height: 65vh; }
.view-section { padding-block: var(--space-7); }
.section-header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.lede { margin-top: var(--space-3); color: var(--text-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.text-muted { color: var(--text-muted); }
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 9999;
  transform: translateY(-180%);
  border-radius: var(--radius-sm);
  background: var(--brand-strong);
  color: var(--bg);
  padding: .7rem 1rem;
  font-weight: 800;
}
.skip-link:focus { transform: none; }
.noscript, .demo-banner { padding: .7rem 1rem; text-align: center; }
.noscript { background: #8e3127; color: #fff; }
.demo-banner { background: var(--accent-soft); color: var(--text); }
.demo-banner strong { margin-right: .5rem; text-transform: uppercase; letter-spacing: .08em; }
