/* Roamn — base element defaults (opt-in, lightweight).
   Sets sensible page defaults using the tokens. Consumers get a
   warm paper canvas + the right font stacks without extra work. */

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  margin: 0;
}

/* Italic Fraunces is the brand's emphasis gesture — usually coral. */
em, .roamn-em {
  font-style: italic;
  color: var(--coral);
}

code, kbd, samp {
  font-family: var(--font-mono);
}

a {
  color: var(--coral-deep);
  text-decoration: none;
}

::selection {
  background: var(--coral);
  color: var(--paper-2);
}
