/* brain-site — layout chrome.
   Design tokens (color, type, spacing, semantic element styles) live
   in tokens.css from the Engineering Calm system; this file adds only
   the layout chrome the seed shell expects (header, main, footer)
   and binds them to the design tokens. */

@import url('./tokens.css');

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

.site-header,
.site-main,
.site-footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: var(--space-3) var(--gutter);
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: var(--rule-thin);
  padding-top: var(--space-5);
  padding-bottom: var(--space-3);
}

.brand {
  font-family: var(--font-serif);
  font-size: var(--t-h3);
  font-weight: var(--w-regular);
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.005em;
}
.brand:hover { text-decoration: none; }

.nav-spacer { flex: 1; }

.site-main {
  padding-top: var(--space-5);
  padding-bottom: var(--space-7);
  min-height: 60vh;
}

.site-footer {
  border-top: var(--rule-thin);
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  color: var(--fg-muted);
  padding-top: var(--space-3);
  padding-bottom: var(--space-5);
}

.site-footer a { color: var(--fg-muted); }
