/* ==========================================================================
   PULSO ERP — DESIGN SYSTEM & VISUAL SPECIFICATION
   Estética: Fintech / Mission-Control Dark Elegance
   Filosofía: Copilot-First, Alta Densidad Operativa, Sobriedad Matemática
   ========================================================================== */

:root {
  /* Neutros de Fondo & Superficies */
  --canvas: #0b0d11;
  --bg-deep: #0e1117;
  --surface: #11141c;
  --surface-2: #141822;
  --surface-3: #181f2c;
  --surface-inset: #0e1117;

  /* Bordes & Divisores (1px estricto) */
  --line-subtle: #1b202d;
  --line: #212736;
  --line-strong: #2e374a;
  --line-accent: #00f0c0;

  /* Textos & Jerarquía */
  --text-white: #ffffff;
  --text: #e2e8f0;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faded: #475569;

  /* Acento Primario: Pulso Mint / Cyber Teal */
  --accent: #00f0c0;
  --accent-hover: #00ddb0;
  --accent-alpha: rgba(0, 240, 192, 0.12);
  --accent-glow: rgba(0, 240, 192, 0.22);

  /* Semántica de Estados Financieros */
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --success-border: rgba(16, 185, 129, 0.3);

  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --warning-border: rgba(245, 158, 11, 0.3);

  --danger: #f43f5e;
  --danger-bg: rgba(244, 63, 94, 0.12);
  --danger-border: rgba(244, 63, 94, 0.3);

  --info: #38bdf8;
  --info-bg: rgba(56, 189, 248, 0.12);
  --info-border: rgba(56, 189, 248, 0.3);

  --future: #c084fc;
  --future-bg: rgba(192, 132, 252, 0.12);
  --future-border: rgba(192, 132, 252, 0.3);

  /* Tipografías */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Jerarquía de Radios (Regla Concéntrica: R_in = R_out - Padding) */
  --radius-card: 16px;
  --radius-subcard: 12px;
  --radius-btn: 10px;
  --radius-pill: 9999px;
  --radius-tag: 6px;

  /* Layout */
  --container: 1200px;
  --nav-height: 72px;
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--canvas);
}

body {
  background-color: var(--canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Tipografía Básica */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Barra de Scroll Fina y Sobria */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0c0e14;
}
::-webkit-scrollbar-thumb {
  background: #232a39;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #343c4e;
}

/* Barra de progreso de lectura */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  z-index: 1000;
  width: 0%;
  transition: width 0.05s linear;
}

/* Accesibilidad */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1001;
  background: var(--accent);
  color: #000000;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Contenedores */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   HEADER & NAVBAR FLOTANTE
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  pointer-events: none;
}

.nav-shell {
  max-width: var(--container);
  margin: 0 auto;
  height: 56px;
  background: rgba(11, 13, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 20px;
  pointer-events: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease;
}

.nav-shell:hover {
  border-color: var(--line-strong);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-login {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.15s ease;
}

.nav-login:hover {
  color: var(--text-white);
  background: var(--surface-3);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000000;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 16px var(--accent-glow);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(0, 240, 192, 0.4);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #000000;
  border-radius: 50%;
  animation: pulseLive 2s infinite ease-in-out;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ==========================================================================
   BOTONES DEL SISTEMA
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: all 0.18s ease;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--accent);
  color: #000000;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 240, 192, 0.35);
}

.btn-secondary {
  background: var(--surface-3);
  color: var(--text-secondary);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: #1d2535;
  color: var(--text-white);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 14px;
  border-radius: var(--radius-subcard);
}

.btn-indicator {
  width: 8px;
  height: 8px;
  background: #000000;
  border-radius: 50%;
  animation: pulseLive 2s infinite ease-in-out;
}

/* ==========================================================================
   TAGS / BADGES DE ESTADO (FONT-MONO & TRANSLÚCIDOS)
   ========================================================================== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-tag);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-badge.success {
  background: var(--success-bg);
  color: #34d399;
  border: 1px solid var(--success-border);
}

.status-badge.warning {
  background: var(--warning-bg);
  color: #fbbf24;
  border: 1px solid var(--warning-border);
}

.status-badge.danger {
  background: var(--danger-bg);
  color: #fb7185;
  border: 1px solid var(--danger-border);
}

.status-badge.info {
  background: var(--info-bg);
  color: #7dd3fc;
  border: 1px solid var(--info-border);
}

.status-badge.future {
  background: var(--future-bg);
  color: #d8b4fe;
  border: 1px solid var(--future-border);
}

.status-badge.neutral {
  background: #181f2c;
  color: var(--text-muted);
  border: 1px solid var(--line);
}

/* Tipografía Monoespaciada */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   HERO PRINCIPAL (ESFERA NEURAL INTERACTIVA + CONTENIDO VENDEDOR)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  overflow: hidden;
  background: var(--canvas);
}

.synapse-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
  opacity: 0.95;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, transparent 35%, rgba(11, 13, 17, 0.8) 75%, var(--canvas) 95%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(17, 20, 28, 0.85);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.hero-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-title {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-integration-note {
  margin: 0 auto;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary, #a8b2c1);
  text-align: center;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Proof Ticker del Hero (4 Métricas Clave) */
.hero-ticker {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: rgba(17, 20, 28, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px 20px;
}

.ticker-item {
  text-align: left;
  border-right: 1px solid var(--line-subtle);
  padding-right: 14px;
}

.ticker-item:last-child {
  border-right: none;
  padding-right: 0;
}

.ticker-num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 2px;
}

.ticker-num.accent {
  color: var(--accent);
}

.ticker-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  font-weight: 500;
}

/* ==========================================================================
   SECCIONES Y CABECERAS
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SHOWCASE A: EXTRACCIÓN SPOT & FACTURAS SUNAT (VISUAL INTERACTIVO)
   ========================================================================== */
.spot-interactive-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.spot-topbar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.spot-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spot-tab-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: all 0.15s ease;
}

.spot-tab-btn.is-active, .spot-tab-btn:hover {
  color: var(--text-white);
  background: var(--surface-3);
}

.spot-tab-btn.is-active {
  border: 1px solid var(--line);
}

.spot-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
}

.spot-left {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.doc-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.doc-info-block {
  margin-bottom: 24px;
}

.doc-company-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.doc-ruc {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* Pozo Inset para Cifras (0e1117) */
.inset-well {
  background: var(--surface-inset);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-subcard);
  padding: 18px;
  margin-bottom: 20px;
}

.inset-table {
  width: 100%;
  border-collapse: collapse;
}

.inset-table tr {
  border-bottom: 1px solid rgba(33, 39, 54, 0.4);
}

.inset-table tr:last-child {
  border-bottom: none;
}

.inset-table td {
  padding: 8px 0;
  font-size: 13px;
}

.inset-table td.val {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-white);
}

.spot-alert-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-subcard);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.spot-alert-icon {
  color: var(--warning);
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
}

.spot-alert-text h4 {
  font-size: 13px;
  color: #fbbf24;
  margin-bottom: 4px;
}

.spot-alert-text p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.spot-right {
  padding: 28px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.right-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pcge-entry-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.pcge-entry-item {
  background: var(--surface-3);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.pcge-code {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 600;
  margin-right: 8px;
}

.pcge-name {
  color: var(--text-secondary);
  flex: 1;
}

.pcge-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-white);
}

.spot-action-footer {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   SHOWCASE B: CALCULADORA DE COSTO ATERRIZADO CIF (INTERACTIVA)
   ========================================================================== */
.calculator-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.calc-label span.note {
  color: var(--text-muted);
  font-weight: 400;
}

.calc-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input-wrapper span.unit {
  position: absolute;
  left: 14px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
}

.calc-input-wrapper input {
  width: 100%;
  background: var(--surface-inset);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px 10px 38px;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.15s ease;
}

.calc-input-wrapper input:focus {
  border-color: var(--accent);
}

.calc-results {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-subcard);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-top {
  margin-bottom: 24px;
}

.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.stat-cell {
  background: var(--surface-inset);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
}

.stat-val.strike {
  color: var(--danger);
  text-decoration: line-through;
}

.stat-val.real {
  color: var(--accent);
}

.stat-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.calc-insight-callout {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.calc-insight-callout strong {
  color: #34d399;
}

/* ==========================================================================
   SHOWCASE C: PREVISIÓN DE CAJA & TESORERÍA DIARIA
   ========================================================================== */
.cashflow-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cashflow-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.bank-balances {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.bank-badge {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bank-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.bank-amount {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

/* Timeline Gráfico de Caja a 30 días */
.timeline-track {
  background: var(--surface-inset);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-subcard);
  padding: 24px 20px 18px;
  margin-bottom: 24px;
  position: relative;
}

.timeline-points {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  position: relative;
}

.point-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.point-bar-wrap {
  height: 90px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
  width: 100%;
  justify-content: center;
}

.point-bar {
  width: 28px;
  border-radius: 4px 4px 0 0;
  background: #232d3f;
  transition: all 0.2s ease;
}

.point-bar.is-today {
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.point-bar.is-squeeze {
  background: var(--warning);
}

.point-day {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.point-amount {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-white);
}

/* Alerta Resuelta de Copilot */
.copilot-resolved-banner {
  background: rgba(0, 240, 192, 0.06);
  border: 1px solid rgba(0, 240, 192, 0.25);
  border-radius: var(--radius-subcard);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.resolved-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.resolved-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-alpha);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.resolved-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2px;
}

.resolved-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==========================================================================
   SHOWCASE D: MISIÓN CONTROL COPILOT (FEED OPERATIVO)
   ========================================================================== */
.copilot-stream {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.copilot-action-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.copilot-action-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.action-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.action-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.action-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.action-card-inset {
  background: var(--surface-inset);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ==========================================================================
   BENTO GRID: MÓDULOS DEL SISTEMA
   ========================================================================== */
.modules-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module-bento-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.module-bento-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.module-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-subcard);
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}

.module-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.module-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.module-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-checklist li {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.module-checklist li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* ==========================================================================
   SECCIÓN A TU MEDIDA: SELECTOR DE RUBROS & TAMAÑOS DE EMPRESA
   ========================================================================== */
.biz-selector-wrap {
  margin-bottom: 48px;
}

.biz-tabs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.biz-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.biz-tab-btn:hover {
  color: var(--text-white);
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.biz-tab-btn.is-active {
  background: var(--surface-3);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-alpha);
}

.biz-tab-icon {
  font-size: 15px;
  line-height: 1;
}

/* Tarjeta Showcase del Rubro */
.biz-showcase-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.biz-showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
}

.biz-showcase-left {
  padding: 36px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.biz-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.biz-headline {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 12px;
}

.biz-problem-statement {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.biz-modules-active-box {
  background: var(--surface-inset);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-subcard);
  padding: 18px;
  margin-bottom: 28px;
}

.biz-active-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.biz-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.biz-tag {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: var(--radius-tag);
  font-size: 12px;
  font-weight: 500;
}

.biz-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.biz-showcase-right {
  padding: 36px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.biz-card-metric-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.biz-pain-relief-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.pain-item, .relief-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-subcard);
  font-size: 13px;
  line-height: 1.5;
}

.pain-item {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid var(--danger-border);
  color: var(--text-secondary);
}

.pain-cross {
  color: var(--danger);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  margin-top: 1px;
}

.relief-item {
  background: rgba(0, 240, 192, 0.08);
  border: 1px solid rgba(0, 240, 192, 0.3);
  color: var(--text-white);
}

.relief-check {
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  margin-top: 1px;
}

.biz-stats-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.biz-stat-item {
  background: var(--surface-inset);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-subcard);
  padding: 16px;
}

.biz-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.biz-stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Escalabilidad por Tamaño de Empresa */
.company-sizes-header {
  margin-top: 56px;
  margin-bottom: 24px;
}

.company-sizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.size-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
}

.size-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.size-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(0, 240, 192, 0.04) 0%, var(--surface) 100%);
  box-shadow: 0 10px 40px rgba(0, 240, 192, 0.1);
}

.size-badge-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  width: fit-content;
}

.size-badge-pill.start {
  background: var(--surface-2);
  color: var(--info);
  border: 1px solid var(--info-border);
}

.size-badge-pill.growth {
  background: var(--accent-alpha);
  color: var(--accent);
  border: 1px solid rgba(0, 240, 192, 0.4);
}

.size-badge-pill.enterprise {
  background: rgba(192, 132, 252, 0.1);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.size-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.size-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.size-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.size-benefits li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.size-benefits li::before {
  content: "•";
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
}

.size-footer {
  border-top: 1px solid var(--line-subtle);
  padding-top: 16px;
}

.size-tag {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.size-tag.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Banner de Modularidad: Activa solo lo que necesitas */
.modules-accordion-banner {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-subcard);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.accordion-banner-content {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 800px;
}

.banner-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-alpha);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   TABLA COMPARATIVA DIRECTA
   ========================================================================== */
.comparison-wrapper {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow-x: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  background: var(--surface-2);
  padding: 16px 22px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
}

.comparison-table th.pulso-col {
  color: var(--accent);
  background: rgba(0, 240, 192, 0.04);
}

.comparison-table td {
  padding: 16px 22px;
  font-size: 13px;
  border-bottom: 1px solid var(--line-subtle);
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.comparison-table td strong {
  color: var(--text-white);
}

.comparison-table td.pulso-cell {
  background: rgba(0, 240, 192, 0.02);
  color: var(--text-white);
  font-weight: 500;
}

.comparison-table td.pulso-cell span.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 192, 0.12) 0%, rgba(17, 20, 28, 0.95) 70%);
  border: 1px solid rgba(0, 240, 192, 0.3);
  border-radius: var(--radius-card);
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 240, 192, 0.08);
}

.cta-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cta-assurances {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.cta-assurances span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-assurances span::before {
  content: "•";
  color: var(--accent);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #080a0e;
  border-top: 1px solid var(--line);
  padding: 60px 0 36px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid var(--line-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-faded);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom .tech-badge {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ==========================================================================
   ESTILOS DE LOGIN Y REGISTRO (CONSOLIDADOS CON EL DARK THEME)
   ========================================================================== */
.login-page {
  background: var(--canvas);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.login-shell, .register-shell {
  flex: 1;
  max-width: 1040px;
  margin: 100px auto 40px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.login-copy, .signup-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-copy h1, .signup-copy h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

.login-card, .signup-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-card label, .signup-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.login-card input, .signup-card input {
  background: var(--surface-inset);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-white);
  outline: none;
  font-size: 14px;
  transition: border-color 0.15s ease;
}

.login-card input:focus, .signup-card input:focus {
  border-color: var(--accent);
}

.auth-submit {
  background: var(--accent);
  color: #000000;
  font-weight: 700;
  font-size: 13px;
  padding: 12px;
  border-radius: var(--radius-btn);
  transition: all 0.15s ease;
  margin-top: 6px;
}

.auth-submit:hover {
  background: var(--accent-hover);
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 6px 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  position: relative;
  background: var(--surface);
  padding: 0 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.auth-provider {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-white);
  padding: 11px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.15s ease;
}

.auth-provider:hover {
  background: var(--surface-3);
  border-color: var(--line-strong);
}

.auth-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET PRECISION)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-ticker {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .ticker-item:nth-child(2) {
    border-right: none;
  }
  .spot-grid {
    grid-template-columns: 1fr;
  }
  .spot-left {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .calculator-card {
    grid-template-columns: 1fr;
  }
  .copilot-stream {
    grid-template-columns: 1fr;
  }
  .modules-bento {
    grid-template-columns: 1fr;
  }
  .biz-showcase-grid {
    grid-template-columns: 1fr;
  }
  .biz-showcase-left {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .company-sizes-grid {
    grid-template-columns: 1fr;
  }
  .login-shell, .register-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-ticker {
    grid-template-columns: 1fr;
  }
  .ticker-item {
    border-right: none;
    border-bottom: 1px solid var(--line-subtle);
    padding-bottom: 12px;
  }
  .ticker-item:last-child {
    border-bottom: none;
  }
  .comparison-box {
    grid-template-columns: 1fr;
  }
  .timeline-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   Unified authentication: two forms, one calm context switch.               */
.landing-menu { display:none; }
main > section[id] { scroll-margin-top:88px; }
.landing-menu summary:focus-visible,.landing-menu-links a:focus-visible,.comparison-wrapper:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
/* Constrain grid children, not the page: oversized content must remain readable. */
main :is(.spot-grid,.calculator-card,.biz-showcase-grid,.biz-stats-highlight,.copilot-stream,.modules-bento,.company-sizes-grid) > * { min-width:0; }
.nav-shell { position:relative; }
@media (max-width:1199px) {
  .site-header .nav-links { display:none; }
  .landing-menu { display:block; }
  .landing-menu summary { list-style:none; cursor:pointer; min-height:44px; display:flex; align-items:center; padding:0 12px; color:var(--text); font-size:13px; border:1px solid var(--line); border-radius:8px; }
  .landing-menu summary::-webkit-details-marker { display:none; }
  .landing-menu-links { position:absolute; right:0; top:calc(100% + 8px); width:min(340px,calc(100vw - 24px)); padding:8px; background:var(--surface); border:1px solid var(--line); border-radius:12px; box-shadow:0 16px 40px rgba(0,0,0,.4); }
  .landing-menu-links a { display:flex; align-items:center; min-height:44px; padding:10px 14px; border-radius:6px; font-size:14px; }
  .landing-menu-links a:hover { background:var(--surface-3); }
  .landing-menu-links .landing-menu-signup { color:var(--accent); border-top:1px solid var(--line); border-radius:0; margin-top:4px; }
}
@media (max-width:768px) {
  .container { padding-inline:20px; }
  .site-header { padding:12px; }
  .nav-shell { padding:0 10px 0 14px; }
  .nav-shell .brand { flex-shrink:0; }
  .nav-shell .brand img { width:112px; height:auto; }
  .nav-actions { gap:8px; }
  .hero { min-height:0; padding-top:112px; padding-bottom:40px; }
  .hero-title { font-size:34px; letter-spacing:0; }
  .hero-subtitle { font-size:15px; }
  .hero-pill { font-size:10px; letter-spacing:0; max-width:100%; padding-inline:10px; }
  .hero-pill .dot { flex-shrink:0; }
  .hero-actions { width:100%; gap:12px; margin-bottom:28px; }
  .hero-ticker { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 12px; padding:16px; }
  .ticker-item { min-width:0; padding:0; border:0; }
  .ticker-num { font-size:16px; }
  .ticker-label { font-size:11px; }
  .section { padding-block:56px; }
  .section-title { font-size:28px; letter-spacing:0; }
  .section-desc { font-size:15px; }
  .spot-topbar { padding:16px; }
  .spot-tabs { width:100%; flex-direction:column; align-items:stretch; }
  .spot-tab-btn { min-height:44px; text-align:left; }
  :is(.spot-left,.spot-right,.biz-showcase-left,.biz-showcase-right) { padding:20px; }
  .doc-badge-row,.right-section-title,.spot-action-footer,.calc-label { flex-wrap:wrap; gap:10px; }
  .inset-well { padding:12px; }
  .inset-table { table-layout:fixed; }
  .inset-table td { overflow-wrap:anywhere; font-size:12px; }
  .inset-table td:first-child { width:56%; padding-right:12px; }
  .pcge-entry-item { flex-wrap:wrap; gap:6px; }
  .pcge-name { min-width:80px; }
  .pcge-val { margin-left:auto; }
  .spot-action-footer .btn { width:100%; white-space:normal; text-align:center; }
  .calculator-card { padding:20px; gap:24px; }
  .calc-results { padding:16px; }
  .calc-input-wrapper input { font-size:16px; }
  .biz-stats-highlight { grid-template-columns:minmax(0,1fr); }
  .biz-stat-num { font-size:22px; }
  .biz-tabs-nav { gap:8px; }
  .biz-tab-btn { flex-shrink:0; min-height:44px; }
  .size-card,.module-bento-card { padding:24px 20px; }
  .size-badge-pill { max-width:100%; letter-spacing:0; }
  .modules-accordion-banner { padding:20px; gap:16px; }
  .accordion-banner-content { min-width:0; align-items:flex-start; gap:12px; }
  .comparison-table { min-width:600px; }
  .comparison-wrapper { max-width:100%; overscroll-behavior-x:contain; }
  .cta-banner { padding:36px 20px; }
  .cta-title { font-size:28px; letter-spacing:0; }
  .cta-desc { font-size:15px; }
  .cta-buttons { gap:12px; }
  .cta-buttons .btn { width:100%; white-space:normal; }
  .cta-assurances { align-items:flex-start; flex-direction:column; gap:12px; }
  .footer-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 20px; width:100%; }
  .footer-links a { min-height:36px; display:flex; align-items:center; }
  .footer-bottom > * { min-width:0; overflow-wrap:anywhere; }
}
@media (max-width:600px) {
  .nav-actions > .nav-cta { display:none; }
  .nav-login { display:flex; align-items:center; min-height:44px; padding:8px 10px; color:var(--accent); }
  .hero-actions .btn { width:100%; max-width:340px; min-height:48px; }
}
@media (max-width:359px) {
  .container { padding-inline:16px; }
  .nav-shell .brand img { width:96px; }
  .nav-actions { gap:4px; }
  .hero-title { font-size:30px; }
  .hero-pill { font-size:9px; }
  .hero-ticker { gap:14px 10px; padding:12px; }
  .ticker-num { font-size:14px; }
  :is(.spot-left,.spot-right,.biz-showcase-left,.biz-showcase-right) { padding:16px; }
}
@media (prefers-reduced-motion:no-preference) {
  .landing-menu[open] .landing-menu-links { animation:landing-menu-enter 140ms ease-out; }
  @keyframes landing-menu-enter { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
}
.auth-page {
  min-height: 100vh;
  margin: 0;
  color: var(--text-white);
  background: #090b0f;
  font-family: Inter, Arial, sans-serif;
}

.auth-topbar {
  width: min(1160px, calc(100% - 48px));
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px auto 0;
  padding: 0 20px;
  border: 1px solid #202936;
  border-radius: 12px;
  background: #0d1015;
}

.auth-topbar .brand { display: inline-flex; align-items: center; }
.auth-topbar .brand img { width: 132px; height: auto; }
.auth-topbar-action,
.auth-switch-cover button {
  min-height: 36px;
  border: 1px solid #303b4b;
  border-radius: 6px;
  color: #e9eef6;
  background: transparent;
  font: 700 13px Inter, sans-serif;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
.auth-topbar-action { padding: 0 12px; }
.auth-topbar-action:hover { border-color: #28d7d2; color: #28d7d2; }

.auth-main {
  width: min(1040px, calc(100% - 48px));
  min-height: calc(100vh - 152px);
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 40px 0 64px;
}
.auth-main.is-hidden { display: none; }
.auth-switch {
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #27303b;
  border-radius: 12px;
  background: #11161d;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .4);
}
.auth-pane {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 54px 60px;
  transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
}
.auth-pane-login { grid-column: 1; }
.auth-pane-signup { grid-column: 2; }
.auth-pane-heading { margin-bottom: 10px; }
.auth-eyebrow {
  margin: 0 0 9px;
  color: #28d7d2;
  font: 700 11px/1.2 "JetBrains Mono", monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.auth-pane h1 {
  margin: 0;
  color: #f4f7fb;
  font: 700 30px/1.12 Manrope, Inter, sans-serif;
  letter-spacing: -.02em;
}
.auth-pane-heading > p:last-child { margin: 10px 0 0; color: #9da8b8; font-size: 14px; line-height: 1.55; }
.auth-field { display: grid; gap: 7px; color: #dfe6ef; font-size: 12px; font-weight: 700; }
.auth-input { height: 42px; display: flex; align-items: center; border: 1px solid #303a48; border-radius: 6px; background: #0c1016; transition: border-color 160ms ease, box-shadow 160ms ease; }
.auth-input:focus-within { border-color: #28d7d2; box-shadow: 0 0 0 3px rgba(40, 215, 210, .11); }
.auth-input b { width: 38px; display: grid; place-items: center; color: #7e8ca0; font: 700 14px "JetBrains Mono", monospace; }
.auth-input input { width: 100%; height: 100%; border: 0; outline: 0; padding: 0 12px 0 0; color: #f4f7fb; background: transparent; font: 14px Inter, sans-serif; }
.auth-input input::placeholder { color: #667284; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #9da8b8; font-size: 12px; }
.auth-row a { color: #c9d7ff; text-decoration: none; white-space: nowrap; }
.auth-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.auth-check input { position: absolute; opacity: 0; }
.auth-check span { width: 30px; height: 18px; position: relative; border: 1px solid #3c4758; border-radius: 999px; background: #11161d; }
.auth-check span::after { content: ""; position: absolute; width: 12px; height: 12px; top: 2px; left: 2px; border-radius: 50%; background: #9da8b8; transition: transform 160ms ease, background 160ms ease; }
.auth-check input:checked + span { border-color: #28d7d2; background: rgba(40, 215, 210, .16); }
.auth-check input:checked + span::after { transform: translateX(12px); background: #28d7d2; }
.auth-pane .auth-submit { width: 100%; min-height: 42px; margin: 0; border: 1px solid #28d7d2; border-radius: 6px; color: #071114; background: #28d7d2; font: 800 13px Inter, sans-serif; }
.auth-pane .auth-submit:hover { background: #44e5df; }
.auth-message { min-height: 18px; margin: -6px 0 0; color: #9da8b8; font-size: 12px; }
.auth-message[data-state="error"] { color: #e88d8d; }
.auth-message[data-state="success"] { color: #70c597; }
.auth-mobile-switch { display: none; margin: 0; color: #8e9bae; font-size: 12px; text-align: center; }
.auth-mobile-switch button { padding: 0; border: 0; color: #c9d7ff; background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.auth-mobile-switch button:focus-visible { outline: 2px solid #28d7d2; outline-offset: 3px; border-radius: 2px; }
.auth-pane .auth-divider { display: flex; align-items: center; gap: 10px; margin: 2px 0; color: #778395; font-size: 11px; }
.auth-pane .auth-divider::before, .auth-pane .auth-divider::after { content: ""; height: 1px; flex: 1; background: #293240; }
.auth-pane .auth-provider { width: 100%; min-height: 42px; padding: 0; border-radius: 6px; color: #e9eef6; background: #151b23; }
.auth-pane .provider-mark { width: 19px; height: 19px; border-radius: 50%; background: #f4f7fb; color: #10151b; font-size: 11px; }
.auth-pane .auth-note { margin: -4px 0 0; text-align: center; color: #8d99a9; }

.auth-switch-cover {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid rgba(103, 220, 217, .32);
  background: #10282c;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), border-color 420ms ease;
}
.auth-switch-cover::before, .auth-switch-cover::after { content: ""; position: absolute; border: 1px solid rgba(40, 215, 210, .22); border-radius: 50%; }
.auth-switch-cover::before { width: 460px; height: 460px; right: -250px; top: -185px; }
.auth-switch-cover::after { width: 280px; height: 280px; left: -150px; bottom: -130px; }
.auth-cover-copy { width: min(300px, calc(100% - 72px)); position: absolute; z-index: 1; transition: opacity 220ms ease, transform 360ms ease; }
.auth-cover-copy h2 { margin: 0; color: #f5f8fa; font: 700 30px/1.12 Manrope, Inter, sans-serif; letter-spacing: -.025em; }
.auth-cover-copy p:not(.auth-eyebrow) { margin: 14px 0 24px; color: #b7c9cb; font-size: 14px; line-height: 1.6; }
.auth-cover-copy button { min-width: 136px; padding: 0 15px; border-color: rgba(40, 215, 210, .75); color: #062326; background: #28d7d2; }
.auth-cover-copy button:hover { background: #56e9e3; }
.auth-cover-mark { width: 34px; height: 34px; display: block; margin-bottom: 28px; background: center/contain no-repeat url("./assets/pulso-favicon.svg"); }
.auth-cover-signup { opacity: 0; transform: translateX(34px); pointer-events: none; }
.auth-switch[data-mode="signup"] .auth-switch-cover { transform: translateX(100%); border-right-color: transparent; border-left: 1px solid rgba(103, 220, 217, .32); }
.auth-switch[data-mode="signup"] .auth-cover-login { opacity: 0; transform: translateX(-34px); pointer-events: none; }
.auth-switch[data-mode="signup"] .auth-cover-signup { opacity: 1; transform: translateX(0); pointer-events: auto; }
.auth-switch[data-mode="login"] .auth-pane-signup, .auth-switch[data-mode="signup"] .auth-pane-login { opacity: .12; transform: scale(.98); pointer-events: none; }
.auth-switch[data-mode="login"] .auth-pane-login, .auth-switch[data-mode="signup"] .auth-pane-signup { opacity: 1; transform: scale(1); pointer-events: auto; }

.tenant-onboarding { width: min(980px, calc(100% - 48px)); margin: 64px auto; }
.tenant-onboarding.is-hidden { display: none; }
.wizard-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.wizard-top h2 { margin: 0; font: 700 24px/1.2 Manrope, Inter, sans-serif; }
.wizard-top > span { padding: 5px 12px; border-radius: 999px; font: 700 11px "JetBrains Mono", monospace; letter-spacing: .05em; white-space: nowrap; }
.wizard-progress { height: 6px; margin-bottom: 30px; border-radius: 999px; overflow: hidden; background: #0a0e14; }
.wizard-progress i { display: block; height: 100%; border-radius: 999px; background: #28d7d2; transition: width 260ms ease; }
.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: wizardStepIn 180ms ease; }
@keyframes wizardStepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.step-copy { margin: 0 0 22px; color: #abb6c5; font-size: 14px; line-height: 1.55; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.field-grid label { display: grid; gap: 7px; color: #dfe6ef; font-size: 12px; font-weight: 700; }
.field-grid input, .field-grid select { height: 42px; padding: 0 12px; border: 1px solid #303a48; border-radius: 6px; color: #f4f7fb; background: #0c1016; font: 14px Inter, sans-serif; }
.field-grid input:focus, .field-grid select:focus { outline: none; border-color: #28d7d2; box-shadow: 0 0 0 3px rgba(40, 215, 210, .11); }
.field-grid small { display: block; margin-top: 2px; color: #8290a3; font-size: 11px; font-weight: 500; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.choice-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid #303a48; border-radius: 10px; color: inherit; background: #151b23; text-align: left; cursor: pointer; transition: border-color 160ms ease, background 160ms ease; }
.choice-card:hover { border-color: #4a5a70; }
.choice-card span { color: #28d7d2; font: 700 12px "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.choice-card strong { color: #dfe6ef; font-size: 13px; font-weight: 600; line-height: 1.45; }
.choice-card.is-disabled { opacity: .35; pointer-events: none; }
.choice-card[hidden] { display: none; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid #303a48; border-radius: 10px; color: inherit; background: #151b23; text-align: left; cursor: pointer; transition: border-color 160ms ease, background 160ms ease; }
.plan-card:hover { border-color: #4a5a70; }
.plan-card span { color: #28d7d2; font: 700 12px "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.plan-card strong { color: #f4f7fb; font-size: 24px; font-weight: 800; }
.plan-card small { color: #9da8b8; font-size: 12px; }
.plan-card ul { display: grid; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; color: #c7d0dc; font-size: 12px; }
.plan-card.is-highlighted { box-shadow: 0 0 0 1px rgba(40, 215, 210, .4) inset; }
.form-followup { margin-top: 22px; }
.wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; }
.secondary-action { height: 42px; padding: 0 20px; border: 1px solid #384453; border-radius: 6px; color: #e9eef6; background: #151b23; font: 700 13px Inter, sans-serif; cursor: pointer; }
.secondary-action:disabled { opacity: .4; cursor: not-allowed; }
.tenant-summary .summary-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #232c38; color: #9da8b8; font-size: 13px; }
.tenant-summary .summary-row strong { color: #f4f7fb; font-weight: 600; }
.tenant-summary .summary-row:last-of-type { border-bottom: 0; }
.tenant-onboarding .wizard-panel { padding: 34px; border: 1px solid #283442; border-radius: 12px; background: #11161d; box-shadow: 0 28px 70px rgba(0, 0, 0, .35); }
.tenant-onboarding .wizard-top { align-items: flex-start; }.tenant-onboarding .wizard-top h2 { color: #f4f7fb; }.tenant-onboarding .wizard-top > div > p:last-child { margin: 9px 0 0; color: #9da8b8; font-size: 14px; }.tenant-onboarding .wizard-top > span { background: #28d7d2; color: #071114; }
.tenant-onboarding .wizard-progress { background: #0a0e14; }.tenant-onboarding .wizard-progress i { background: #28d7d2; }
.tenant-onboarding .step-copy { color: #abb6c5; }.tenant-onboarding .field-grid label { color: #dfe6ef; }.tenant-onboarding .field-grid input, .tenant-onboarding .field-grid select { color: #f4f7fb; border-color: #303a48; background: #0c1016; }.tenant-onboarding .field-grid small { color: #8290a3; font-weight: 500; }.form-followup { margin-top: 22px; }
.tenant-onboarding .choice-card, .tenant-onboarding .plan-card { border-color: #303a48; background: #151b23; }.tenant-onboarding .choice-card.is-selected, .tenant-onboarding .plan-card.is-selected { border-color: #28d7d2; background: rgba(40, 215, 210, .08); }.tenant-onboarding .choice-card span, .tenant-onboarding .plan-card span { color: #28d7d2; }.tenant-onboarding .secondary-action { min-height: 42px; border-color: #384453; background: #151b23; color: #e9eef6; }.tenant-onboarding .auth-submit { min-height: 42px; }
.tenant-onboarding .currency-picker, .tenant-onboarding .conditional-needs { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 20px 0 0; padding: 15px 16px; border: 1px solid #303a48; border-radius: 8px; background: #0c1016; }.tenant-onboarding .currency-picker legend, .tenant-onboarding .conditional-needs legend { padding: 0 6px; color: #28d7d2; font: 600 11px/1.2 var(--font-mono, monospace); letter-spacing: .06em; text-transform: uppercase; }.tenant-onboarding .currency-picker label, .tenant-onboarding .conditional-needs label { display: inline-flex; align-items: center; gap: 8px; color: #dfe6ef; font-size: 13px; }.tenant-onboarding .currency-picker input, .tenant-onboarding .conditional-needs input { accent-color: #28d7d2; }.tenant-onboarding .currency-picker small { flex-basis: 100%; color: #8290a3; font-size: 12px; }.tenant-onboarding .conditional-needs[hidden] { display: none; }

@media (max-width: 760px) {
  .auth-topbar { width: calc(100% - 28px); margin-top: 14px; padding: 0 14px; }.auth-topbar .brand img { width: 118px; }.auth-main { width: 100%; min-height: auto; padding: 28px 0 0; }.auth-switch { min-height: 650px; grid-template-columns: 1fr; border-radius: 0; border-right: 0; border-left: 0; }.auth-pane { grid-column: 1; padding: 38px 24px; }.auth-pane-login, .auth-pane-signup { grid-row: 1; }.auth-switch-cover { display: none; }.auth-mobile-switch { display: block; }.auth-switch[data-mode="login"] .auth-pane-signup, .auth-switch[data-mode="signup"] .auth-pane-login { visibility: hidden; }.auth-pane h1 { font-size: 28px; }.tenant-onboarding { width: 100%; margin: 0; }.tenant-onboarding .wizard-panel { padding: 26px 20px; border-right: 0; border-left: 0; border-radius: 0; }.tenant-onboarding .field-grid, .tenant-onboarding .choice-grid, .tenant-onboarding .template-grid, .tenant-onboarding .pricing-grid { grid-template-columns: 1fr; }.tenant-onboarding .wizard-actions { flex-direction: column-reverse; }.tenant-onboarding .wizard-actions button { width: 100%; }
}

/* Refined auth switch: the animated pane always covers the inactive form. */
.auth-page {
  min-height: 100vh;
  background: #090c11;
}
.auth-return {
  position: fixed;
  z-index: 5;
  top: 28px;
  left: max(28px, calc((100vw - 1040px) / 2));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  color: #9eabbc;
  font: 600 13px Inter, sans-serif;
  text-decoration: none;
  transition: color 160ms ease-out, transform 160ms ease-out;
}
.auth-return span { color: #28d7d2; font-size: 17px; line-height: 1; }
@media (hover: hover) and (pointer: fine) { .auth-return:hover { color: #f2f5f8; transform: translateX(-2px); } }
.auth-return:active { transform: scale(.97); }
.auth-main { min-height: 100vh; padding: 88px 0 42px; }
.auth-switch {
  min-height: 570px;
  border-color: #26313f;
  border-radius: 16px;
  background: #111720;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .52), 0 0 0 1px rgba(255, 255, 255, .018) inset;
}
.auth-pane { padding: 56px 58px; gap: 15px; }
.auth-pane-login { grid-column: 2; }
.auth-pane-signup { grid-column: 1; }
.auth-pane-heading h1 { color: #f4f7fa; font-size: 31px; }
.auth-pane-heading > p:last-child { color: #8e9bae; }
.auth-input { height: 44px; border-color: #303d4d; background: #0b1017; }
.auth-switch-cover {
  width: 50%;
  border-right-color: rgba(40, 215, 210, .28);
  background: #10272d;
  box-shadow: 18px 0 42px rgba(0, 0, 0, .18);
  transition: transform 300ms cubic-bezier(.23, 1, .32, 1), border-color 300ms ease-out, box-shadow 300ms ease-out;
}
.auth-switch-cover::before { width: 500px; height: 500px; right: -280px; top: -230px; border-color: rgba(40, 215, 210, .18); }
.auth-switch-cover::after { width: 340px; height: 340px; left: -205px; bottom: -190px; border-color: rgba(201, 215, 255, .12); }
.auth-cover-copy { transition: opacity 160ms ease-out, transform 260ms cubic-bezier(.23, 1, .32, 1); }
.auth-cover-copy h2 { max-width: 255px; font-size: 30px; }
.auth-cover-copy button { transition: background 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out; }
.auth-cover-copy button:active, .auth-pane .auth-submit:active, .auth-pane .auth-provider:active { transform: scale(.97); }
.auth-switch[data-mode="signup"] .auth-switch-cover { box-shadow: -18px 0 42px rgba(0, 0, 0, .18); }
.auth-switch[data-mode="login"] .auth-pane-login, .auth-switch[data-mode="signup"] .auth-pane-signup { visibility: visible; }
.auth-switch[data-mode="login"] .auth-pane-signup, .auth-switch[data-mode="signup"] .auth-pane-login { visibility: hidden; }
@media (max-width: 760px) {
  .auth-page { background-image: none; }.auth-return { position: absolute; top: 18px; left: 20px; }.auth-main { padding: 68px 0 0; }.auth-switch { min-height: 650px; }.auth-pane-login, .auth-pane-signup { grid-column: 1; }.auth-pane { padding: 42px 24px; }.auth-switch[data-mode="login"] .auth-pane-login, .auth-switch[data-mode="signup"] .auth-pane-signup { visibility: visible; }.auth-switch[data-mode="login"] .auth-pane-signup, .auth-switch[data-mode="signup"] .auth-pane-login { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .auth-switch-cover, .auth-cover-copy, .auth-pane { transition-duration: 1ms; } }

/* Auth switch: faithful two-panel composition with Pulso colors. */
.auth-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #07090d;
}
.auth-main {
  width: min(960px, calc(100% - 48px));
  min-height: 100vh;
  padding: 58px 0;
}
.auth-return {
  top: 22px;
  left: max(24px, calc((100vw - 960px) / 2));
  color: #94a0b1;
}
.auth-switch {
  width: 100%;
  min-height: 540px;
  display: block;
  overflow: hidden;
  border: 1px solid #263243;
  border-radius: 18px;
  background: #111720;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .44);
  isolation: isolate;
}
.auth-switch::before {
  content: "";
  position: absolute;
  z-index: 2;
  width: 1450px;
  height: 1450px;
  top: 50%;
  right: 54%;
  border-radius: 50%;
  background: #28d7d2;
  transform: translateY(-50%);
  transition: transform 700ms cubic-bezier(.23, 1, .32, 1), right 700ms cubic-bezier(.23, 1, .32, 1);
}
.auth-switch[data-mode="signup"]::before {
  right: 43%;
  transform: translate(100%, -50%);
}
.auth-forms-container,
.auth-panels-container {
  position: absolute;
  inset: 0;
}
.auth-forms-container { z-index: 1; }
.auth-forms {
  position: absolute;
  top: 50%;
  left: 72.5%;
  width: 55%;
  height: 430px;
  transform: translate(-50%, -50%);
  transition: left 700ms cubic-bezier(.23, 1, .32, 1);
}
.auth-switch[data-mode="signup"] .auth-forms { left: 27.5%; }
.auth-pane {
  grid-column: auto;
  width: 100%;
  padding: 0 52px;
  gap: 12px;
  justify-content: center;
  transition: opacity 240ms ease-out, transform 500ms cubic-bezier(.23, 1, .32, 1), visibility 0ms linear 240ms;
}
.auth-pane-login,
.auth-pane-signup {
  position: absolute;
  inset: 0;
  min-height: 430px;
}
.auth-pane-heading { margin-bottom: 8px; text-align: center; }
.auth-pane-heading h1 { font-size: 29px; letter-spacing: -.03em; }
.auth-pane-heading > p:last-child { margin-top: 7px; }
.auth-field { gap: 6px; }
.auth-input { height: 40px; }
.auth-row { margin-top: 1px; }
.auth-pane .auth-submit,
.auth-pane .auth-provider { min-height: 40px; }
.auth-pane .auth-message {
  min-height: 0;
  margin: 0;
  line-height: 1.45;
}
.auth-pane .auth-message:not(:empty) { min-height: 34px; }
.auth-pane-signup { opacity: 0; pointer-events: none; transform: translateX(28px); visibility: hidden; }
.auth-pane-login { opacity: 1; pointer-events: auto; transform: translateX(0); visibility: visible; }
.auth-switch[data-mode="signup"] .auth-pane-login { opacity: 0; pointer-events: none; transform: translateX(-28px); visibility: hidden; }
.auth-switch[data-mode="signup"] .auth-pane-signup { opacity: 1; pointer-events: auto; transform: translateX(0); visibility: visible; transition-delay: 140ms; }
.auth-panels-container {
  z-index: 3;
  pointer-events: none;
}
.auth-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: transform 560ms cubic-bezier(.23, 1, .32, 1), opacity 220ms ease-out;
}
.auth-panel-left { left: 0; padding: 0 40px; }
.auth-panel-right { right: 0; padding: 0 40px; justify-content: flex-end; }
.auth-panel-copy { width: 100%; max-width: 304px; color: #062326; }
.auth-panel-copy h2 { margin: 0; color: #062326; font: 800 28px/1.07 Manrope, Inter, sans-serif; letter-spacing: -.035em; }
.auth-panel-copy p:not(.auth-eyebrow) { margin: 12px 0 22px; color: #0b5253; font-size: 13px; line-height: 1.48; }
.auth-panel-copy .auth-eyebrow { color: #07595a; }
.auth-panel-copy button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #0b5f60;
  border-radius: 999px;
  color: #f3fffe;
  background: #073b3d;
  font: 800 12px Inter, sans-serif;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 140ms ease-out, background 160ms ease-out, box-shadow 160ms ease-out;
}
.auth-panel-copy button:hover { background: #052e30; box-shadow: 0 6px 18px rgba(3, 38, 40, .18); }
.auth-panel-copy button:active { transform: scale(.97); }
.auth-cover-mark {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 8px;
  background-color: #073b3d;
  box-shadow: 0 0 0 1px rgba(6, 35, 38, .22);
}
.auth-panel-left { opacity: 1; transform: translateX(0); pointer-events: auto; }
.auth-panel-right { opacity: 0; transform: translateX(72px); }
.auth-switch[data-mode="signup"] .auth-panel-left { opacity: 0; transform: translateX(-72px); pointer-events: none; }
.auth-switch[data-mode="signup"] .auth-panel-right { opacity: 1; transform: translateX(0); pointer-events: auto; transition-delay: 160ms; }
.auth-switch .auth-switch-cover { display: none; }
@media (max-width: 760px) {
  .auth-main { width: 100%; padding: 64px 0 0; }
  .auth-switch { min-height: 610px; border-right: 0; border-left: 0; border-radius: 0; }
  .auth-switch::before,
  .auth-panels-container { display: none; }
  .auth-forms { left: 50%; width: 100%; }
  .auth-switch[data-mode="signup"] .auth-forms { left: 50%; }
  .auth-pane { padding: 0 24px; }
  .auth-pane-login,
  .auth-pane-signup { min-height: 530px; }
  .auth-mobile-switch { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-switch::before,
  .auth-forms,
  .auth-pane,
  .auth-panel { transition-duration: 1ms !important; }
}

/* Guided authentication hierarchy: one primary task and an explicit verification handoff. */
.auth-switch { min-height: 580px; }
.auth-switch::before { right: 60%; transition-duration: 260ms; }
.auth-switch[data-mode="signup"]::before { right: 40%; }
.auth-switch[data-mode="verify"]::before { right: 60%; transform: translateY(-50%); }
.auth-forms {
  left: 70%;
  width: 60%;
  height: 480px;
  transition: left 260ms cubic-bezier(.22, 1, .36, 1);
}
.auth-switch[data-mode="signup"] .auth-forms { left: 30%; }
.auth-switch[data-mode="verify"] .auth-forms { left: 70%; }
.auth-pane {
  min-height: 480px;
  padding: 0 62px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 160ms ease-out, transform 240ms cubic-bezier(.22, 1, .36, 1), visibility 0ms linear 240ms;
}
.auth-pane.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 70ms, 70ms, 0ms;
}
.auth-pane-login,
.auth-pane-signup,
.auth-pane-verify { position: absolute; inset: 0; }
.auth-panel { width: 40%; transition-duration: 220ms; }
.auth-panel[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
.auth-panel[aria-hidden="true"] * { pointer-events: none !important; }
.auth-panel-left[aria-hidden="true"] { transform: translateX(-32px); }
.auth-panel-right[aria-hidden="true"] { transform: translateX(32px); }
.auth-panel[aria-hidden="false"] { opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }
.auth-panel-verify { padding-right: 34px; }

.auth-mode-tabs {
  width: min(290px, 100%);
  margin: 0 auto 20px;
  padding: 3px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  border: 1px solid #2a3746;
  border-radius: 9px;
  background: #0a0f16;
}
.auth-mode-tabs button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #8492a5;
  background: transparent;
  font: 700 12px/1 Inter, sans-serif;
  cursor: pointer;
  transition: color 140ms ease-out, background-color 140ms ease-out, box-shadow 140ms ease-out;
}
.auth-mode-tabs button[aria-selected="true"] {
  color: #f4f8fa;
  background: #1a2430;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 5px 14px rgba(0, 0, 0, .22);
}
.auth-mode-tabs button:focus-visible { outline: 2px solid #28d7d2; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .auth-mode-tabs button:not([aria-selected="true"]):hover { color: #c7d1de; background: #121a23; }
}

.auth-pane-verify { justify-content: center; text-align: center; }
.verification-symbol {
  width: 48px;
  height: 48px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(40, 215, 210, .38);
  border-radius: 50%;
  color: #06282a;
  background: #28d7d2;
  box-shadow: 0 0 0 6px rgba(40, 215, 210, .08);
}
.verification-symbol span { font: 800 20px/1 Inter, sans-serif; }
.auth-pane-verify .auth-pane-heading { margin-bottom: 4px; }
.auth-pane-verify .auth-pane-heading > p:last-child { max-width: 410px; margin: 8px auto 0; line-height: 1.55; }
.auth-pane-verify [data-verification-email] { color: #dfe8f1; overflow-wrap: anywhere; }
.verification-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0 8px;
  text-align: left;
}
.verification-steps span {
  min-height: 62px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #293645;
  border-radius: 7px;
  color: #aab6c5;
  background: #0b1118;
  font: 600 11px/1.35 Inter, sans-serif;
}
.verification-steps b {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071416;
  background: #28d7d2;
  font-size: 10px;
}
.auth-text-action {
  min-height: 30px;
  border: 0;
  color: #9fb0c4;
  background: transparent;
  font: 700 12px/1 Inter, sans-serif;
  cursor: pointer;
}
.auth-text-action:hover { color: #f3f7fa; text-decoration: underline; text-underline-offset: 3px; }
.auth-text-action:focus-visible { outline: 2px solid #28d7d2; outline-offset: 3px; border-radius: 4px; }

@media (max-width: 760px) {
  .auth-switch { min-height: 650px; }
  .auth-forms,
  .auth-switch[data-mode="signup"] .auth-forms,
  .auth-switch[data-mode="verify"] .auth-forms { left: 50%; width: 100%; height: 560px; }
  .auth-pane { min-height: 560px; padding: 0 24px; }
  .auth-mode-tabs { margin-bottom: 24px; }
  .verification-steps { grid-template-columns: 1fr; }
  .verification-steps span { min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-switch::before,
  .auth-forms,
  .auth-pane,
  .auth-panel { transition-property: opacity, visibility !important; transform: none !important; }
}

/* The active form defines card height; no nested scroll or clipped feedback. */
.auth-main { padding: 40px 0 16px; }
.auth-switch { min-height: 540px; }
.auth-forms-container { position: relative; inset: auto; }
.auth-forms { position: relative; top: auto; height: auto; margin: 12px 0; transform: translateX(-50%); }
.auth-pane { min-height: 0; padding: 0 48px; gap: 8px; overflow: visible; }
.auth-pane.is-active { position: relative; inset: auto; }
.auth-mode-tabs { margin-bottom: 8px; }
.auth-pane-heading { margin-bottom: 4px; }
.auth-message:empty { display: none; }
.auth-pane-login { overflow-y: visible; justify-content: center; }
.auth-pane-login > * { flex-shrink: 0; }
.auth-demo { display: grid; gap: 10px; }
.auth-demo[hidden] { display: none; }
@media (max-width: 760px) {
 .auth-main { padding: 54px 0 16px; }
 .auth-forms, .auth-switch[data-mode="signup"] .auth-forms, .auth-switch[data-mode="verify"] .auth-forms { height: auto; margin: 20px 0; }
 .auth-pane { min-height: 0; padding: 0 24px; }
}
