* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-md);
}

p { margin: 0 0 var(--space-md); }

a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color var(--t-fast);
}
a:hover { color: var(--fg); }

/* The only !important rule in Practice — same pattern as Fold's CLAUDE.md.
   Without !important, per-element display rules in components.css/screens.css
   would silently override .hidden. */
.hidden { display: none !important; }

.screen {
  min-height: 100vh;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}
