/* Base compartida: sitio, puerta de acceso y páginas simples. */
:root {
  --bg: #121110;
  --surface: #1c1b19;
  --ink: #efeeec;
  --muted: #a19e99;
  --accent: #a08672;
  --accent-ink: #121110;
  --paper: #e9e9e7;
  --paper-ink: #141312;
  --paper-muted: #5c5852;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);

  --margin: 30px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: dark;
}
@media (max-width: 720px) {
  :root { --margin: 16px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* El único botón sólido: píldora, como los botones de Apple. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0 22px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none;
  border: 0; border-radius: 980px; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #b39a86; }
}
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Páginas simples (confirmaciones de los enlaces del correo). */
.simple main {
  min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 18px;
  width: min(560px, 100% - 2 * var(--margin)); margin: 0 auto; padding: 48px 0;
}
.simple h1 { font-size: var(--step-head); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
.simple p { color: var(--muted); }
.simple a:not(.btn) { color: var(--ink); }
.simple form { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
