/* The reset, body and headings under the error pages, Preferences, Classes and Manage Class, and the
   error pages' section styles. What was left of the GateIron marketing stylesheet (2026-09-27). */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  /* Faint film-grain texture, embedded as an inline SVG image (data URI).
     This value must stay on one line — a URL can't be split across lines. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

section { position: relative; }

.section-pad { padding: clamp(64px, 9vw, 118px) 0; }

.section-label {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-dark);
  display: inline-block;
  margin-bottom: 1rem;
}

.h2-size {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  max-width: 18ch;
  text-wrap: pretty;
}

.section-lead {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  color: var(--ink-light);
  max-width: 54ch;
}
