/*
 * Site styles. Every color, font, radius and spacing value REFERENCES the
 * tokens in theme.css — no literal hex codes or font stacks in this file
 * or in markup. Restyling the site = editing theme.css (see STYLE.md).
 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base-size);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  line-height: 1.2;
}

a {
  color: var(--color-primary);
}

.container {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 calc(var(--space-unit) * 4);
}

.site-header {
  background: var(--color-surface);
  border-bottom: var(--border-w) solid var(--color-surface-strong);
  padding: calc(var(--space-unit) * 3) 0;
}

.brand {
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
}

.hero {
  padding: calc(var(--space-unit) * 16) 0;
  text-align: center;
}

.hero p {
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
  max-width: 36rem;
  margin: 0 auto;
}

.button {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: calc(var(--space-unit) * 2.5) calc(var(--space-unit) * 5);
  text-decoration: none;
  cursor: pointer;
}

.card {
  background: var(--color-surface);
  border: var(--border-w) solid var(--color-surface-strong);
  border-radius: var(--radius-lg);
  padding: calc(var(--space-unit) * 5);
}

.changelog {
  padding: calc(var(--space-unit) * 8) 0;
}

.site-footer {
  border-top: var(--border-w) solid var(--color-surface-strong);
  padding: calc(var(--space-unit) * 4) 0;
  font-size: 0.85em;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  text-align: center;
}
