/* ==========================================================================
   BASE ELEMENTS — semantic styles
   ========================================================================== */

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

ul, ol { list-style: none; padding: 0; margin: 0; }

html { font-size: 16px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--arl-deep-teal);
  margin: 0 0 var(--space-4) 0;
  letter-spacing: var(--ls-tight);
  text-wrap: balance;
}

h1 {
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
}

h2 {
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.15;
}

h3 {
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.2;
}

h4 {
  font-weight: 600;
  font-size: var(--fs-h4);
  line-height: 1.25;
}

h5 {
  font-weight: 600;
  font-size: var(--fs-h5);
  line-height: var(--lh-snug);
}

h6 {
  font-weight: 600;
  font-size: var(--fs-h6);
  line-height: var(--lh-snug);
}

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

a {
  color: var(--arl-bright-cyan);
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
a:hover { color: var(--arl-deep-teal); }

small { font-size: var(--fs-small); color: var(--fg-2); }

code, pre {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--bg-2);
  border-radius: var(--radius-xs);
  padding: 0.1em 0.35em;
}

hr {
  border: 0;
  height: 1px;
  background: var(--border-1);
  margin: var(--space-6) 0;
}