/* QRFunk base styles */

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

body.qf-body {
  min-height: 100vh;
  background: var(--qf-bg);
  color: var(--qf-fg);
  font-family: var(--qf-font-body);
  font-size: var(--qf-text-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background var(--qf-dur-base) var(--qf-ease-out), color var(--qf-dur-base) var(--qf-ease-out);
}

.qf-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--qf-space-6) var(--qf-space-6) var(--qf-space-16);
}

.qf-main--wide {
  max-width: none;
}

.qf-main--auth {
  max-width: none;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--qf-font-display);
  letter-spacing: -0.02em;
  margin: 0 0 var(--qf-space-3);
}

h1 { font-size: var(--qf-text-2xl); font-weight: 700; }
h2 { font-size: var(--qf-text-xl); font-weight: 600; }
h3 { font-size: var(--qf-text-lg); font-weight: 600; }

p { margin: 0 0 var(--qf-space-4); }

a {
  color: var(--qf-primary);
  text-decoration: none;
  transition: color var(--qf-dur-fast) var(--qf-ease-out);
}

a:hover {
  color: var(--qf-primary-hover);
}

.qf-eyebrow {
  font-family: var(--qf-font-mono);
  font-size: var(--qf-text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qf-accent);
}

.qf-lead {
  font-size: var(--qf-text-md);
  color: var(--qf-fg-muted);
  line-height: 1.55;
}

.qf-muted {
  color: var(--qf-fg-muted);
}

.qf-subtle {
  color: var(--qf-fg-subtle);
}

.qf-mono {
  font-family: var(--qf-font-mono);
}

.qf-display {
  font-family: var(--qf-font-display);
}

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