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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-stack);
  /* Flat, not a gradient: the app has none. */
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* The one place the accent is allowed inside a headline: the phrase the
   sentence turns on. See the accent rule in tokens.css. */
.accent { color: var(--color-accent-text); }

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* Typography scale */
/* The app's type roles (Theme.swift): display 800/−0.045em, pantalla −0.035em,
   fila 600/−0.02em. The clamps are the site's; the tracking is the app's. */
h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Utility: section label — the app's `seccion` role: 12px, heavy, +0.04em, caps */
.section-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: var(--spacing-sm);
}

/* Utility: center text */
.text-center {
  text-align: center;
}
