/* Base: reset ligero + tipografía. Los valores vienen de tokens.css. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-sky) no-repeat fixed;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: var(--text-m);
  line-height: 1.5;
  color: var(--color-ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  font-weight: var(--weight-medium);
  line-height: var(--leading-title);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-l); }

p { margin: 0 0 var(--space-4); }

a {
  color: var(--color-brand);
  text-decoration: none;
}
a:hover { color: var(--color-brand-dark); text-decoration: underline; }

img, svg, video { max-width: 100%; height: auto; }

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

::selection { background: var(--color-brand-soft); }
