*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, .display, .h1, .h2, .h2--lg, .h2--sm, .h3, .h4 {
  margin: 0; font-weight: var(--weight-bold); letter-spacing: var(--tracking-display); line-height: var(--leading-none); text-wrap: balance;
}
h3, .h3 { line-height: var(--leading-tight); }
h4, .h4 { letter-spacing: var(--tracking-heading); line-height: var(--leading-tight); }
h1, .h1 { font-size: var(--text-6xl); }
h2, .h2 { font-size: var(--text-4xl); }
h3, .h3 { font-size: clamp(1.625rem, 2.6vw, 2rem); }
h4, .h4 { font-size: clamp(var(--text-lg), 2vw, var(--text-xl)); }
.display { font-size: var(--text-7xl); }
.h2--lg { font-size: var(--text-5xl); }
.h2--sm { font-size: var(--text-3xl); }

p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--color-accent-text); outline-offset: 3px; border-radius: var(--radius-xs); }
:is(.band--olive, .panel--dark, .note--dark, .price-tier.is-suggested) :focus-visible { outline-color: var(--color-accent); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--color-primary); color: var(--color-on-primary);
  padding: var(--measure-sm) var(--measure-lg); border-radius: var(--radius-sm); text-decoration: none; font-weight: var(--weight-semibold);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

[hidden] { display: none !important; }
