html,
body {
  touch-action: pan-x pan-y;
}

body {
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

strong {
  font-weight: 600;
}

small {
  font-size: 13px;
  color: var(--text-secondary);
}

::selection {
  background: rgba(17, 17, 17, 0.12);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
