/* base.css: reset, typography, buttons, accessibility helpers */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 300 var(--fs-body)/1.65 var(--font-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
b, strong { font-weight: 500; }

.h2 {
  font: 400 var(--fs-h2)/1.08 var(--font-display);
  color: var(--plum);
  letter-spacing: -.01em;
}
.kicker {
  display: inline-block;
  font: 500 .8rem/1.2 var(--font-body);
  letter-spacing: .14em;
  color: var(--soft);
  margin-bottom: 1rem;
}
.lead { font-size: 1.15em; color: var(--ink); max-width: 38rem; }
.num { font-family: var(--font-body); font-variant-numeric: tabular-nums; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .85em 1.7em;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font: 500 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease-out), background-color .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--plum); color: var(--white); box-shadow: var(--shadow); }
.btn--solid:hover { background: var(--ink); }
.btn--ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn--ghost:hover { background: var(--plum); color: var(--white); }
.btn--light { background: var(--white); color: var(--plum); }
.link-arrow { color: var(--plum); font-weight: 500; text-decoration: underline; text-underline-offset: .25em; }

/* accessibility */
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 200;
  background: var(--plum); color: var(--white); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
