/* 7Pillar Software — minimal element defaults. Consumers get sane type + links
   without any layout opinions. Utility-free by design. */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--type-body-family);
  font-size: var(--type-body-size);
  line-height: var(--type-body-leading);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 var(--space-4);
  font-family: var(--type-heading-family);
  font-weight: var(--type-heading-weight);
  line-height: var(--type-heading-leading);
  letter-spacing: var(--tracking-tight);
  color: var(--text-heading);
  text-wrap: pretty;
}
h1 { font-size: var(--text-4xl); line-height: var(--leading-tight); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p { margin: 0 0 var(--space-4); max-width: var(--measure-prose); text-wrap: pretty; }

a { color: var(--text-link); text-decoration: none; border-bottom: 1px solid rgb(153 54 200 / 0.3); transition: color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard); }
a:hover { color: var(--text-link-hover); border-bottom-color: currentColor; }
a:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: var(--radius-xs); }

code, kbd, samp, pre { font-family: var(--type-mono-family); font-size: 0.9375em; }
hr { border: none; border-top: var(--border-hairline); margin: var(--space-8) 0; }
::selection { background: var(--magenta-200); color: var(--ink-900); }

:where(button, input, select, textarea) { font: inherit; }
:where(button):focus-visible, :where(input, select, textarea):focus-visible { outline: none; box-shadow: var(--ring-focus); }
