/* triarc-design base. Opt-in element defaults and typography. Requires tokens.css.
   Fonts are not loaded here. Add the Google Fonts <link> shown in README.md. */

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

/* Keep the hidden attribute stronger than class-based display rules. */
[hidden] { display: none !important; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { font-size: 14px; line-height: 1.45; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: 30px; letter-spacing: -0.015em; line-height: 1.05; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { max-width: var(--wrap-max); margin: 0 auto; padding: 32px 28px 64px; }

/* Small uppercase mono label: section labels, eyebrows, footers. */
.label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.num { font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
  .wrap { padding: 20px 16px 40px; }
  h1 { font-size: 24px; }
}
