*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 112.5%;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  padding-top: var(--nav-height);
  font-size: 1.0625rem;
  line-height: 1.78;
  letter-spacing: 0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--socio);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
a:hover { color: var(--socio-light); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

footer {
  background: linear-gradient(180deg, var(--deep-mid) 0%, var(--deep) 100%);
  color: rgba(245, 243, 255, 0.55);
  text-align: center;
  padding: 40px 32px;
  margin-top: 60px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  line-height: 1.65;
}
footer strong {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}
footer a {
  color: rgba(245, 243, 255, 0.65);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}
footer a:hover { color: #fff; }

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  footer { padding: 32px 16px; }
}
