/* Reset y estilos base accesibles */
*,
*::before,
*::after { box-sizing: border-box; }

html:focus-within { scroll-behavior: smooth; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video, canvas {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 0 0 var(--space-4);
}

p { margin: 0 0 var(--space-4); }

.app {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.placeholder {
  max-width: var(--container);
  margin: 8vh auto;
  padding: 0 var(--space-4);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.button--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
