/* Tokens de diseño + base. Se reutilizan en todas las vistas. */
:root {
  --bg: #ecece7;
  --surface: #ffffff;
  --field: #f4f4f0;
  --ink: #0d0d0d;
  --muted: #6b6b66;
  --line: #e2e2dc;
  --lime: #d4f54b;
  --lime-strong: #c6ea2e;
  --danger: #b92d17;
  --danger-bg: #fcebe8;

  --r-lg: 28px;
  --r-md: 16px;
  --r-pill: 999px;

  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}