/* Kukarma — resets + base typography. Depends on tokens.css. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;            /* spec: base 17px */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding-block: var(--space-section); }
.divider { border-top: 1px solid var(--line); margin: 0; }

/* Visible focus for keyboard nav (spec accessibility: focus rings visible) */
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; border-radius: 2px; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Long unbreakable strings (emails, URLs) never force horizontal overflow. */
a { overflow-wrap: anywhere; }

/* Container gutter + section spacing are fluid (see tokens.css) — no breakpoint needed. */
