/* MAGIX-inspired typography */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.text-mono, .tabular-nums, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.text-body-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-danger { color: var(--color-danger); }

a {
  color: var(--color-secondary);
  text-decoration: none;
}
a:hover { color: var(--color-lavender-deep); }

.brand-logo {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
}

.brand-mark__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-mark__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.brand-mark--dark .brand-mark__text {
  color: var(--color-text);
}
