/* =========================
   Layout: page, grid, sections
   ========================= */

html, body { height: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Desktop: true 1150px rails (no extra padding) */
@media (min-width: 1200px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
}




.section { padding: var(--s-8) 0; }
.section--tight { padding: var(--s-7) 0; }

hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s-7) 0;
}

/* Type */
h1, h2, h3 { letter-spacing: -0.02em; }
h1 {
  font-size: var(--fs-7);
  line-height: var(--lh-tight);
  font-weight: 800;
}
h2 {
  font-size: var(--fs-5);
  line-height: var(--lh-tight);
  font-weight: 700;
}
h3 {
  font-size: var(--fs-3);
  line-height: var(--lh-snug);
  font-weight: 650;
}

p { font-size: var(--fs-2); line-height: var(--lh-body); }
.lead { font-size: var(--fs-3); max-width: 60ch; }
.muted { color: var(--muted); }
.micro { font-size: var(--fs-0); line-height: var(--lh-snug); letter-spacing: 0.02em; }



/* Links */
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

/* Generic grids */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-6);
}

@media (max-width: 980px) {
  .section { padding: var(--s-7) 0; }
  .grid { gap: var(--s-5); }
}


html, body {
  overflow-x: hidden;
}