/* groundwork-base.css
   Minimal reset + global defaults. Applied alongside groundwork-tokens.css. */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; }
a.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a.link:hover { color: var(--terracotta); }

button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; }

img, svg, video { display: block; max-width: 100%; }

hr { border: none; border-top: 1px solid var(--line-soft); margin: 16px 0; }

/* Page wrapper for screens that don't use .shell */
.page {
  padding: var(--page-pad-top) var(--page-pad-x) var(--page-pad-bottom);
  max-width: 1200px;
  margin: 0 auto;
}

/* Hide content while preserving for screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
