/* Reset and base rules shared by every page. */
*,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
html {
      scroll-behavior: smooth;
    }
body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      scroll-padding-top: 80px;
    }
a {
      text-decoration: none;
      color: inherit;
    }
button {
      cursor: pointer;
      font-family: inherit;
      border: none;
    }
img {
      display: block;
      max-width: 100%;
    }
/* Browser surfaces themed from the palette */
html {
      scrollbar-color: rgba(1, 110, 229, 0.45) var(--surface-2);
      accent-color: var(--primary);
      caret-color: var(--primary);
      -webkit-text-size-adjust: 100%;
      -webkit-tap-highlight-color: transparent;
    }
body {
      font-size: var(--fs-body);
      line-height: 1.6;
    }
p a, li a, .prose a {
      text-decoration-thickness: 1px;
      text-underline-offset: 0.2em;
    }
.tnum {
      font-variant-numeric: tabular-nums;
    }
::selection {
      background: var(--primary);
      color: #fff;
    }


h1, h2, h3, .display-xl, .display-lg, .display-md, .title-lg { text-wrap: balance; }
p, li, .body-lg, .body-md { text-wrap: pretty; }
