/* DOG PPL — Base resets & element defaults */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--fw-regular); color: var(--text-heading); line-height: var(--lh-snug); letter-spacing: var(--ls-display); margin: 0; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; }

/* Links — orange, underline offset; always defined so user-added links inherit brand */
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent); transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--link-hover); text-decoration-color: currentColor; }

::selection { background: var(--orange-300); color: var(--brown-900); }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-xs); }
