/* Cubik — welcome premium (ilustración + CTAs sólidos) */

.cubik-welcome-headline {
  margin: 0.15rem 0 0;
  font-size: clamp(1.05rem, 4.6vw, 1.28rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--brand-navy);
  max-width: 20rem;
  text-wrap: balance;
}

.cubik-welcome-sub {
  margin: 0.35rem 0 0;
  padding: 0 0.35rem;
  font-size: clamp(0.82rem, 3.3vw, 0.92rem);
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 21rem;
  text-wrap: balance;
}

.cubik-welcome-bridge {
  display: block;
  width: min(100%, 17.5rem);
  height: auto;
  margin: 0.65rem auto 0;
}

.cubik-welcome-trust {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.65rem;
  width: min(100%, 20rem);
  text-align: left;
}

.cubik-welcome-trust li {
  margin: 0;
  padding: 0 0 0 1.15rem;
  position: relative;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--brand-navy-mid, #1e3a5f);
}

.cubik-welcome-trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #29abe2;
  font-weight: 800;
}

.cubik-welcome-route {
  display: block;
  width: min(100%, 17.5rem);
  height: auto;
  margin: 0.55rem auto 0;
}

.role-premium-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.role-premium-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.08);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.role-premium-card.selected {
  border-color: var(--brand-navy-mid);
  box-shadow: 0 10px 32px rgba(15, 39, 68, 0.12);
}

.role-premium-visual {
  width: 100%;
  line-height: 0;
  background: var(--brand-gray-50);
}

.role-premium-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.role-premium-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.9rem 1rem 1rem;
}

.role-premium-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.role-premium-card.carrier .role-premium-kicker {
  color: #1a7aa8;
}

.role-premium-card.shipper .role-premium-kicker {
  color: #b35f08;
}

.role-premium-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
}

.role-premium-benefit {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.35;
}

.role-premium-detail {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.role-premium-cta {
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.78rem 1rem;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text-on-dark);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 2;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.role-premium-cta:active {
  transform: scale(0.98);
}

.role-premium-cta.carrier {
  background: #29abe2;
}

.role-premium-cta.shipper {
  background: #f7941d;
}

.cubik-welcome-pilot {
  margin: 0.85rem 0 0;
  padding: 0.55rem 0.65rem;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: var(--brand-gray-50);
  border-radius: 10px;
  border: 1px dashed var(--border);
}

.cubik-welcome-pilot strong {
  color: var(--brand-navy);
  font-weight: 800;
  display: block;
  margin-bottom: 0.1rem;
}

.cubik-welcome-demo {
  display: block;
  margin: 0.55rem auto 0;
  padding: 0.35rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-orange);
  text-align: center;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.cubik-welcome-demo:hover {
  text-decoration: underline;
}

.auth-intent-step .cubik-welcome-headline,
.auth-intent-step .cubik-welcome-sub {
  text-align: left;
  max-width: none;
}

.auth-intent-step .cubik-welcome-bridge {
  margin-left: 0;
  margin-right: 0;
}

.auth-intent-step .cubik-welcome-sub {
  margin-bottom: 0.65rem;
}

.auth-intent-step .cubik-welcome-trust {
  max-width: none;
  width: 100%;
}

.auth-intent-step .cubik-welcome-route {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 17.5rem;
}

#auth-intent-step[hidden],
#auth-form-wrap[hidden] {
  display: none !important;
}

@media (max-height: 740px) {
  .role-premium-detail {
    display: none;
  }

  .cubik-welcome-bridge {
    max-width: 14rem;
    margin-top: 0.4rem;
  }

  .cubik-welcome-trust {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .cubik-welcome-route {
    max-width: 14rem;
  }
}
