@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--space-8); }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--text-base)/1.65 var(--font); overflow-wrap: anywhere; }
  h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
  h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
  h1 { font-size: var(--heading-1); font-weight: 800; letter-spacing: -.045em; }
  h2 { font-size: var(--heading-2); font-weight: 750; letter-spacing: -.035em; }
  h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; }
  a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
  a:hover { text-decoration-thickness: 2px; }
  :focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
  :target { scroll-margin-top: var(--space-8); }
  img, video { max-width: 100%; height: auto; }
  img, svg { vertical-align: middle; }
  iframe { max-width: 100%; }
  input, textarea, select, button { font: inherit; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, select {
    width: 100%; min-width: 0; border: 1px solid var(--muted); border-radius: var(--radius-s);
    padding: var(--space-3) var(--space-4); background: var(--bg); color: var(--ink);
  }
  input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
  textarea { resize: vertical; }
  button, input[type="submit"] { cursor: pointer; }
  [hidden] { display: none; }
  ::selection { background: var(--orange-soft); color: var(--ink); }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
}
