/* Pantallas públicas de acceso (login.html y signed-out.html). Autocontenidas: no cargan el
   bundle de la app ni recursos protegidos. Mismos valores que los tokens --brand-* de
   src/theme/retailatam.css (índigo #190863, oliva #898609). */
:root {
  --brand-indigo: #190863;
  --brand-indigo-2: #2d1a8c;
  --brand-olive: #898609;
  --brand-text: #0c0a1a;
  --brand-heading: #190863;
  --brand-muted: #55536a;
  --brand-border: #d9d8e3;
  --brand-surface: #ffffff;
  --brand-focus: #190863;
  font-family: 'Segoe UI', Inter, system-ui, Arial, sans-serif;
  color: var(--brand-text);
  background: var(--brand-surface);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; }

.access { display: grid; grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); min-height: 100svh; }

/* Panel de bienvenida (índigo, texto blanco, logo blanco). */
.access__welcome {
  background:
    radial-gradient(circle at 78% 30%, rgba(122, 96, 255, 0.35), transparent 42%),
    radial-gradient(circle at 10% 95%, rgba(137, 134, 9, 0.18), transparent 38%),
    linear-gradient(150deg, var(--brand-indigo) 0%, var(--brand-indigo-2) 100%);
  color: #fff; display: flex; flex-direction: column; gap: 28px; overflow: hidden; padding: 44px 56px 40px; position: relative;
}
.access__welcome::before, .access__welcome::after {
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 50%; content: ''; pointer-events: none; position: absolute;
}
.access__welcome::before { height: 340px; left: -150px; top: -120px; width: 340px; }
.access__welcome::after { height: 240px; right: -60px; top: 160px; width: 240px; }
.access__logo { display: block; height: auto; max-width: 100%; position: relative; width: 230px; }
.access__intro { max-width: 560px; position: relative; }
.access__eyebrow { font-size: 22px; font-weight: 500; margin: 12px 0 6px; }
.access__product { font-size: clamp(38px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 16px; }
.access__lead { color: rgba(255, 255, 255, 0.86); font-size: 17px; line-height: 1.55; margin: 0; max-width: 46ch; }
.access__art { align-self: center; max-width: 440px; position: relative; width: 78%; }
.access__art svg { display: block; filter: drop-shadow(0 22px 40px rgba(6, 2, 40, 0.45)); height: auto; width: 100%; }
.access__features { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: auto 0 0; padding: 0; position: relative; }
.access__feature {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 14px; list-style: none; padding: 18px;
}
.access__feature svg { display: block; margin-bottom: 10px; }
.access__feature strong { display: block; font-size: 18px; margin-bottom: 4px; }
.access__feature span { color: rgba(255, 255, 255, 0.82); font-size: 14px; line-height: 1.45; }

/* Panel de acceso (claro). */
.access__panel { align-items: center; display: flex; flex-direction: column; justify-content: center; padding: 48px 32px 24px; }
.access__box { display: grid; gap: 14px; justify-items: center; margin: auto 0; max-width: 460px; text-align: center; width: 100%; }
.access__title { color: var(--brand-heading); font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.access__subtitle { color: var(--brand-muted); font-size: 16px; line-height: 1.5; margin: 0 0 10px; }
.access__button {
  align-items: center; background: #fff; border: 1px solid var(--brand-border); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(25, 8, 99, 0.06), 0 10px 26px rgba(25, 8, 99, 0.10); color: var(--brand-heading); display: flex; font-size: 17px;
  font-weight: 700; gap: 16px; justify-content: center; min-height: 64px; padding: 14px 24px; text-decoration: none; transition: border-color 120ms, box-shadow 120ms; width: 100%;
}
.access__button:hover { border-color: var(--brand-indigo); box-shadow: 0 1px 2px rgba(25, 8, 99, 0.08), 0 14px 30px rgba(25, 8, 99, 0.16); }
.access__button:focus-visible { outline: 3px solid var(--brand-focus); outline-offset: 3px; }
.access__button svg { flex: none; }
.access__note { color: var(--brand-muted); font-size: 13px; line-height: 1.5; margin: 6px 0 0; max-width: 40ch; }
.access__footer { color: var(--brand-muted); font-size: 13px; margin: 24px 0 0; text-align: center; }

@media (max-width: 900px) {
  .access { grid-template-columns: 1fr; }
  .access__welcome { gap: 20px; padding: 28px 20px 24px; }
  .access__logo { width: 180px; }
  .access__eyebrow { font-size: 18px; margin-top: 4px; }
  .access__lead { font-size: 15px; }
  .access__art { display: none; }
  /* En pantallas angostas el botón de acceso va primero: las tarjetas informativas se omiten. */
  .access__features { display: none; }
  .access__panel { padding: 32px 20px 24px; }
}
