/* Landing pública — estética oscura editorial, acento marca */
:root {
    /* Base más “producto tech”: carbón azulado, no negro puro */
    --ln-void: #070910;
    --ln-surface: #0c1018;
    --ln-elevated: #121a26;
    --ln-border: rgba(255, 255, 255, 0.06);
    --ln-muted: #8b92a8;
    --ln-text: #e8eaef;
    --ln-accent: #176be0;
    --ln-accent-dim: rgba(23, 107, 224, 0.15);
    --ln-glow: rgba(23, 107, 224, 0.45);
    --ln-serif: "Fraunces", "Georgia", serif;
    --ln-sans: "Instrument Sans", system-ui, sans-serif;
}

body.landing-body,
body.public-auth-body {
    background-color: var(--ln-void);
    color: var(--ln-text);
    font-family: var(--ln-sans);
    -webkit-font-smoothing: antialiased;
}

/* Login, registro, org, términos, 2FA — misma envolvente que la landing */
.public-auth-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem 3rem;
    position: relative;
    z-index: 1;
}

.public-auth-stage {
    width: 100%;
    max-width: 28rem;
}

.public-auth-stage--wide {
    max-width: 42rem;
}

.public-auth-hero {
    text-align: center;
    margin-bottom: 2.25rem;
}

.public-auth-hero img {
    height: 3rem;
    width: auto;
    max-width: min(100%, 18rem);
    margin-inline: auto;
    margin-bottom: 0.5rem;
    object-fit: contain;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.3rem 0.65rem;
    box-sizing: border-box;
}

.public-auth-kicker {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ln-accent);
    margin-bottom: 0.35rem;
}

.public-auth-title {
    font-family: var(--ln-serif);
    font-weight: 700;
    font-size: clamp(1.65rem, 4vw, 2rem);
    letter-spacing: -0.02em;
    color: #f1f5f9;
    margin-top: 1rem;
}

.public-auth-lead {
    margin-top: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ln-muted);
}

.public-auth-tenant-hint {
    margin-top: 0.85rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #8b92a8;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}
.public-auth-tenant-hint strong {
    color: #cbd5e1;
    font-weight: 600;
}

.public-auth-card {
    margin-top: 1.5rem;
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid var(--ln-border);
    background: linear-gradient(165deg, rgba(18, 26, 38, 0.88) 0%, rgba(10, 14, 22, 0.94) 100%);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Login: más aire respecto al hero y dentro de la tarjeta */
.public-auth-card.public-auth-card--login {
    margin-top: 2.35rem;
    padding: 3rem 2.5rem 3.25rem;
}

.public-auth-card--terms {
    max-height: min(60vh, 520px);
    overflow-y: auto;
    padding: 1.5rem 1.75rem;
}

.public-auth-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #c7cad8;
    margin-bottom: 0.55rem;
}

.public-auth-hint {
    font-size: 0.75rem;
    color: var(--ln-muted);
    margin-bottom: 0.35rem;
    line-height: 1.45;
}

.public-auth-hint code {
    background: rgba(255, 255, 255, 0.06);
    color: #a5b4fc;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
}

.public-auth-input-wrap {
    position: relative;
}

.public-auth-input-wrap > i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ln-muted);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.public-auth-input,
.public-auth-card textarea {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.65rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
    color: var(--ln-text);
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.public-auth-input.no-icon-padding,
.public-auth-card .public-auth-input--center {
    padding-left: 1rem;
}

.public-auth-card textarea {
    padding-left: 1rem;
    min-height: 6rem;
}

.public-auth-input::placeholder {
    color: rgba(139, 146, 168, 0.65);
}

.public-auth-input:focus,
.public-auth-card textarea:focus {
    outline: none;
    border-color: rgba(23, 107, 224, 0.55);
    box-shadow: 0 0 0 3px rgba(23, 107, 224, 0.2);
}

.public-auth-field {
    margin-bottom: 1.15rem;
}

.public-auth-card--login .public-auth-field {
    margin-bottom: 1.85rem;
}

.public-auth-card--login .public-auth-submit {
    margin-top: 2rem;
    padding: 1rem 1.35rem;
}

.public-auth-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.85rem 1.25rem;
    border-radius: 0.85rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, var(--ln-accent) 0%, #2563eb 100%);
    box-shadow: 0 4px 20px var(--ln-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.public-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px var(--ln-glow);
}

.public-auth-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.public-auth-links {
    text-align: center;
    font-size: 0.875rem;
    color: var(--ln-muted);
    margin-top: 1.75rem;
    line-height: 1.65;
}

.public-auth-card--login + .public-auth-links {
    margin-top: 2.75rem;
}

/* Login: cabecera sin nav + mucho más aire (hero, campos, botón) */
.public-auth-main--login-roomy {
    padding-top: 3.25rem;
    padding-bottom: 4.5rem;
}

.public-auth-stage--login .public-auth-hero {
    margin-bottom: 3.5rem;
}

.public-auth-stage--login .public-auth-hero img {
    margin-bottom: 1rem;
}

.public-auth-stage--login .public-auth-kicker {
    margin-bottom: 0.5rem;
}

.public-auth-stage--login .public-auth-title {
    margin-top: 1.15rem;
}

.public-auth-stage--login .public-auth-lead {
    margin-top: 1.15rem;
    max-width: 22rem;
    margin-inline: auto;
    line-height: 1.65;
}

.public-auth-stage--login .public-auth-card.public-auth-card--login {
    margin-top: 3.5rem;
    padding: 3.75rem 2.85rem 4rem;
}

.public-auth-stage--login .public-auth-card--login .public-auth-label {
    margin-bottom: 0.85rem;
}

.public-auth-stage--login .public-auth-card--login .public-auth-field {
    margin-bottom: 2.5rem;
}

.public-auth-stage--login .public-auth-card--login .public-auth-input {
    padding: 1.1rem 1.1rem 1.1rem 2.75rem;
}

.public-auth-stage--login .public-auth-card--login .public-auth-submit,
.public-auth-stage--login #submit-btn.public-auth-submit {
    margin-top: 4.25rem;
    padding: 1.15rem 1.5rem;
}

.public-auth-stage--login .public-auth-card--login + .public-auth-links {
    margin-top: 3.5rem;
}

.public-auth-links a {
    color: #93c5fd;
    font-weight: 600;
    text-decoration: none;
}

.public-auth-links a:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

.public-auth-links .public-auth-muted-link {
    color: #9ca3af;
    font-weight: 500;
}

.public-auth-links .public-auth-muted-link:hover {
    color: #c4b5fd;
}

.public-auth-alert {
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.public-auth-alert--error {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.public-auth-alert--success {
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

/* Términos: contenido HTML cargado por API */
#terms-container.public-auth-prose {
    color: #c7cad8;
    font-size: 0.9rem;
    line-height: 1.65;
}

#terms-container.public-auth-prose h1,
#terms-container.public-auth-prose h2,
#terms-container.public-auth-prose h3 {
    color: #f1f5f9;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

#terms-container.public-auth-prose a {
    color: #93c5fd;
}

#terms-container.public-auth-prose p {
    margin-bottom: 0.75rem;
}

.public-auth-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .public-auth-actions {
        flex-direction: row;
    }
}

.public-auth-btn-secondary {
    padding: 0.85rem 1.5rem;
    border-radius: 0.85rem;
    border: 1px solid var(--ln-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ln-muted);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.public-auth-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--ln-text);
    background: rgba(255, 255, 255, 0.06);
}

.public-auth-icon-hero {
    font-size: 3.25rem;
    color: #60a5fa;
    line-height: 1;
    display: block;
    margin-bottom: 0.75rem;
}

.public-auth-qr {
    width: 12rem;
    height: 12rem;
    border-radius: 0.85rem;
    border: 1px solid var(--ln-border);
    background: #fff;
}

@keyframes ln-grid-drift {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        /* Un periodo exacto del tile (72px) = bucle continuo sin saltos */
        background-position: 72px 72px, 72px 72px;
    }
}

.landing-root,
.public-auth-shell {
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
    /* Rejilla fina (estilo sitios dev modernos): estructura, sin “suciedad” */
    background-color: var(--ln-void);
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    background-position: 0 0;
    /* Desplazamiento muy lento de la rejilla (diag. suave) */
    animation: ln-grid-drift 110s linear infinite;
}

/* Aurora / mesh suave + profundidad; animación muy lenta (tendencia 2024–26) */
.landing-root::before,
.public-auth-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    will-change: transform, opacity;
    background:
        radial-gradient(ellipse 100% 70% at 50% -15%, rgba(23, 107, 224, 0.18), transparent 55%),
        radial-gradient(ellipse 55% 45% at 8% 25%, rgba(34, 211, 238, 0.07), transparent 60%),
        radial-gradient(ellipse 50% 42% at 92% 18%, rgba(167, 139, 250, 0.11), transparent 55%),
        radial-gradient(ellipse 85% 55% at 50% 108%, rgba(23, 107, 224, 0.14), transparent 58%),
        linear-gradient(165deg, #070910 0%, #0a0e18 38%, #070910 100%);
    animation: ln-bg-breathe 22s ease-in-out infinite alternate;
}

@keyframes ln-bg-breathe {
    from {
        opacity: 1;
        transform: scale(1) translate3d(0, 0, 0);
    }
    to {
        opacity: 0.92;
        transform: scale(1.03) translate3d(-0.8%, 0.6%, 0);
    }
}

/* Línea de horizonte luminosa + viñeta lateral; sustituye el ruido SVG */
.landing-root::after,
.public-auth-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 120% 60% at 50% -5%, rgba(255, 255, 255, 0.07), transparent 42%),
        radial-gradient(ellipse 90% 90% at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.45) 100%),
        linear-gradient(105deg, transparent 0%, rgba(23, 107, 224, 0.03) 48%, transparent 100%);
    mix-blend-mode: normal;
}

.ln-inner {
    position: relative;
    z-index: 1;
}

/* Nav */
.ln-nav {
    border-bottom: 1px solid var(--ln-border);
    background: rgba(7, 9, 16, 0.62);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* Landing: barra clara — logo legible y enlaces con contraste */
.ln-nav--light {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.ln-nav--light .ln-nav-kicker {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    white-space: nowrap;
    border-left: 1px solid rgba(15, 23, 42, 0.12);
    padding-left: 1rem;
    line-height: 1;
    align-self: center;
}

.ln-nav a.ln-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    color: var(--ln-muted);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.2;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    transition: color 0.2s, background 0.2s;
}

.ln-nav a.ln-ghost:hover {
    color: var(--ln-text);
    background: rgba(255, 255, 255, 0.05);
}

.ln-nav--light a.ln-ghost {
    color: #475569;
}

.ln-nav--light a.ln-ghost:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.06);
}

.ln-nav a.ln-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    background: linear-gradient(135deg, var(--ln-accent) 0%, #3b82f6 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.2;
    padding: 0.375rem 1.1rem;
    border-radius: 9999px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 4px 24px var(--ln-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ln-nav a.ln-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 8px 32px var(--ln-glow);
}

.ln-nav--light a.ln-primary {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 2px 12px rgba(23, 107, 224, 0.35);
}

.ln-nav--light a.ln-primary:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 6px 20px rgba(23, 107, 224, 0.4);
}

/* Mobile menu */
.ln-menu summary {
    list-style: none;
    cursor: pointer;
    color: var(--ln-text);
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid var(--ln-border);
    background: var(--ln-elevated);
}

.ln-menu summary::-webkit-details-marker {
    display: none;
}

.ln-menu[open] summary {
    border-color: rgba(23, 107, 224, 0.35);
}

.ln-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 12rem;
    padding: 0.5rem;
    border-radius: 1rem;
    background: var(--ln-elevated);
    border: 1px solid var(--ln-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.ln-menu-panel a {
    display: block;
    padding: 0.65rem 1rem;
    border-radius: 0.65rem;
    color: var(--ln-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.ln-menu-panel a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ln-text);
}

.ln-nav--light .ln-menu summary {
    color: #0f172a;
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.12);
}

.ln-nav--light .ln-menu[open] summary {
    border-color: rgba(23, 107, 224, 0.45);
    background: #fff;
}

.ln-nav--light .ln-menu-panel {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.ln-nav--light .ln-menu-panel a {
    color: #475569;
}

.ln-nav--light .ln-menu-panel a:hover {
    background: rgba(23, 107, 224, 0.08);
    color: #0f172a;
}

.ln-nav--light .ln-menu-panel a.ln-menu-cta {
    color: var(--ln-accent);
}

.ln-nav--light .ln-menu-panel a.ln-menu-cta:hover {
    color: #1259b8;
    background: rgba(23, 107, 224, 0.1);
}

/* Hero */
.ln-heading-serif {
    font-family: var(--ln-serif);
}

.ln-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ln-accent);
}

.ln-kicker span.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ln-accent);
    box-shadow: 0 0 12px var(--ln-glow);
    animation: ln-pulse 2.4s ease-in-out infinite;
}

@keyframes ln-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.ln-headline {
    font-family: var(--ln-serif);
    font-weight: 700;
    font-size: clamp(2.25rem, 5vw, 3.65rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-top: 1.25rem;
}

.ln-headline em {
      font-style: italic;
      font-weight: 600;
      color: #93c5fd;
}

.ln-lead {
    margin-top: 1.35rem;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--ln-muted);
    max-width: 36rem;
}

.ln-cta-row {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

a.ln-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.6rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--ln-accent) 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 24px var(--ln-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

a.ln-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--ln-glow);
}

a.ln-btn-sec {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ln-text);
    border: 1px solid var(--ln-border);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s, background 0.2s;
}

a.ln-btn-sec:hover {
    border-color: rgba(23, 107, 224, 0.35);
    background: rgba(23, 107, 224, 0.08);
}

/* Mock ventana chat */
.ln-mock-wrap {
    perspective: 1200px;
}

.l.win {
    border-radius: 1.25rem;
    border: 1px solid var(--ln-border);
    background: linear-gradient(165deg, var(--ln-elevated) 0%, var(--ln-surface) 100%);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transform: rotateY(-6deg) rotateX(3deg);
    transition: transform 0.5s ease;
}

.ln-mock-wrap:hover .win {
    transform: rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.win-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--ln-border);
}

.win-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #374151;
}

.win-dot:nth-child(1) { background: #ef4444; opacity: 0.85; }
.win-dot:nth-child(2) { background: #eab308; opacity: 0.85; }
.win-dot:nth-child(3) { background: #22c55e; opacity: 0.85; }

.win-title {
    flex: 1;
    text-align: center;
    font-size: 0.7rem;
    color: var(--ln-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.win-body {
    padding: 1.1rem;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.bubble {
    max-width: 92%;
    padding: 0.65rem 0.85rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    line-height: 1.45;
}

.bubble-user {
    align-self: flex-end;
    background: rgba(23, 107, 224, 0.25);
    border: 1px solid rgba(23, 107, 224, 0.25);
    color: #dbeafe;
}

.bubble-ai {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ln-border);
    color: var(--ln-muted);
}

.bubble-ai strong {
    color: #a5b4fc;
    font-weight: 600;
}

.win-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    color: var(--ln-muted);
    opacity: 0.85;
}

/* Carril logos */
.ln-strip {
    border-block: 1px solid var(--ln-border);
    background: rgba(255, 255, 255, 0.02);
}

.ln-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
    padding-block: 1.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ln-muted);
    opacity: 0.75;
}

/* Secciones */
.ln-section {
    padding-block: 5rem;
}

.ln-section h2 {
    font-family: var(--ln-serif);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.ln-section > .ln-inner > p.ln-sub {
    color: var(--ln-muted);
    font-size: 1.05rem;
    max-width: 40rem;
    margin-bottom: 3rem;
}

.ln-card-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .ln-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ln-card {
    border-radius: 1.25rem;
    padding: 1.75rem;
    border: 1px solid var(--ln-border);
    background: var(--ln-surface);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.ln-card:hover {
    border-color: rgba(23, 107, 224, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px);
}

.ln-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ln-accent-dim);
    color: #93c5fd;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
}

.ln-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ln-card p {
    font-size: 0.9rem;
    color: var(--ln-muted);
    line-height: 1.6;
}

/* Pricing / modelos de chat (Tier A vs Tier B) */
.ln-pricing-grid {
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .ln-pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }
}

.ln-price-card {
    border-radius: 1.35rem;
    border: 1px solid var(--ln-border);
    background: linear-gradient(165deg, rgba(18, 26, 38, 0.75) 0%, rgba(10, 14, 22, 0.9) 100%);
    padding: 1.75rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.ln-price-card:hover {
    border-color: rgba(23, 107, 224, 0.22);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.ln-price-card--enterprise {
    border-color: rgba(167, 139, 250, 0.3);
    background: linear-gradient(165deg, rgba(26, 22, 48, 0.65) 0%, rgba(10, 14, 22, 0.92) 100%);
    box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.06) inset;
}

.ln-price-card--enterprise:hover {
    border-color: rgba(167, 139, 250, 0.4);
}

.ln-price-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 0.45rem;
}

.ln-price-card--enterprise .ln-price-badge {
    color: #c4b5fd;
}

.ln-price-name {
    font-family: var(--ln-serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.ln-price-desc {
    font-size: 0.88rem;
    color: var(--ln-muted);
    line-height: 1.55;
    margin-bottom: 1.2rem;
}

.ln-model-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ln-model-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ln-model-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.3;
}

.ln-model-note {
    font-size: 0.7rem;
    color: var(--ln-muted);
    margin-top: 0.2rem;
    line-height: 1.35;
}

.ln-tier-pill {
    flex-shrink: 0;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem;
    background: rgba(23, 107, 224, 0.22);
    color: #93c5fd;
    line-height: 1;
}

.ln-tier-pill--estandar {
    background: rgba(100, 116, 139, 0.35);
    color: #e2e8f0;
}

.ln-tier-pill--plus {
    background: rgba(23, 107, 224, 0.22);
    color: #93c5fd;
}

.ln-tier-pill--premium {
    background: rgba(99, 102, 241, 0.28);
    color: #c4b5fd;
}

.ln-tier-pill--ultra {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.4), rgba(23, 107, 224, 0.25));
    color: #f5f3ff;
}

.ln-price-foot {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ln-border);
    font-size: 0.8rem;
    color: var(--ln-muted);
    line-height: 1.55;
}

.ln-price-foot strong {
    color: #cbd5e1;
    font-weight: 600;
}

.ln-price-foot--tight {
    margin-top: 0.35rem;
    padding-top: 0;
    border-top: none;
}

.ln-embeddings-note {
    margin-top: 1.1rem;
    font-size: 0.78rem;
    color: var(--ln-muted);
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    line-height: 1.5;
}

/* Plan cards row (landing) */
.ln-plans-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
    margin-bottom: 0;
}
.ln-plan-card {
    background: var(--ln-card-bg);
    border: 1.5px solid var(--ln-border);
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    transition: border-color .25s, transform .15s;
}
.ln-plan-card:hover {
    border-color: rgba(255,255,255,.12);
    transform: translateY(-2px);
}
.ln-plan-card--enterprise {
    border-color: #854d0e;
}
.ln-plan-card--enterprise:hover {
    border-color: #a16207;
}
.ln-plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: #93c5fd;
    margin: .25rem 0 .5rem;
}
.ln-plan-price span {
    font-size: .85rem;
    font-weight: 400;
    color: var(--ln-muted);
}
.ln-plan-price--contact {
    color: #fbbf24;
    font-size: 1.3rem;
}
.ln-plan-limits {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    font-size: .82rem;
    color: #c4c9d4;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.ln-plan-limits li {
    display: flex;
    align-items: center;
    gap: .45rem;
}
.ln-plan-limits i {
    color: var(--ln-accent);
    font-size: .9rem;
    flex-shrink: 0;
}
.ln-plan-card--enterprise .ln-plan-limits i {
    color: #fbbf24;
}
.ln-plan-cta {
    display: block;
    text-align: center;
    padding: .6rem;
    border-radius: .5rem;
    background: var(--ln-accent);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    transition: background .2s;
}
.ln-plan-cta:hover {
    background: #1d4ed8;
}
.ln-plan-cta--enterprise {
    background: #78350f;
}
.ln-plan-cta--enterprise:hover {
    background: #92400e;
}

/* Modelos dentro de cada tarjeta de plan */
.ln-plan-models-section {
    margin-top: 0.35rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ln-border);
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ln-plan-models-section--enterprise {
    border-top-color: rgba(251, 191, 36, 0.2);
}

.ln-plan-models-title {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--ln-muted);
    margin: 0 0 0.65rem;
}

.ln-plan-model-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ln-plan-model-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.55rem;
    border-radius: 0.55rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ln-plan-model-item .ln-model-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.3;
}

.ln-plan-model-item .ln-model-note {
    font-size: 0.65rem;
    color: var(--ln-muted);
    margin-top: 0.15rem;
    line-height: 1.35;
}

.ln-plan-model-item .ln-tier-pill {
    font-size: 0.52rem;
    padding: 0.2rem 0.45rem;
}

.ln-pricing-models-footnote {
    margin-top: 1.75rem;
    font-size: 0.82rem;
    color: var(--ln-muted);
    line-height: 1.55;
    max-width: 42rem;
}

.ln-embeddings-foot {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--ln-muted);
    line-height: 1.5;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.ln-embeddings-foot strong {
    color: #94a3b8;
    font-weight: 600;
}

/* Plan comparison table */
.ln-plan-compare-section {
    max-width: 100%;
}

.ln-plan-compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
}

.ln-plan-compare {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.ln-plan-compare thead th {
    text-align: center;
    padding: 0.75rem 0.6rem;
    color: #e2e8f0;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.ln-plan-compare thead th.ln-plan-compare-sticky,
.ln-plan-compare tbody th.ln-plan-compare-sticky {
    text-align: left;
    left: 0;
    min-width: 14rem;
    max-width: 18rem;
}

.ln-plan-compare tbody th {
    padding: 0.65rem 0.85rem;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(15, 23, 42, 0.6);
}

.ln-plan-compare tbody tr:hover th,
.ln-plan-compare tbody tr:hover td {
    background: rgba(59, 130, 246, 0.06);
}

.ln-plan-compare-cell {
    text-align: center;
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
}

.ln-compare-label {
    display: block;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.35;
}

.ln-compare-detail {
    display: block;
    font-size: 0.68rem;
    color: var(--ln-muted);
    margin-top: 0.25rem;
    line-height: 1.4;
    font-weight: 400;
}

.ln-compare-yes {
    color: #4ade80;
    font-size: 1.1rem;
}

.ln-compare-no {
    opacity: 0.35;
}

.ln-compare-footnote {
    max-width: 48rem;
}

/* Timeline */
.ln-flow {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .ln-flow {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.ln-step {
    position: relative;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px dashed var(--ln-border);
    background: rgba(255, 255, 255, 0.02);
}

.ln-step-num {
    font-family: var(--ln-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ln-accent);
    opacity: 0.9;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.ln-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.ln-step p {
    font-size: 0.88rem;
    color: var(--ln-muted);
    line-height: 1.55;
}

/* Integraciones */
.ln-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.ln-pill {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ln-muted);
    border: 1px solid var(--ln-border);
    background: var(--ln-surface);
}

/* Transparencia: documentos, RAG y memoria del modelo (landing) */
.ln-privacy-context {
    border-radius: 1.5rem;
    border: 1px solid var(--ln-border);
    background: linear-gradient(145deg, rgba(18, 26, 38, 0.9) 0%, rgba(10, 14, 22, 0.95) 100%);
    padding: 2rem 1.5rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

@media (min-width: 640px) {
    .ln-privacy-context {
        padding: 2.25rem 2rem;
    }
}

.ln-privacy-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ln-accent);
    margin-bottom: 0.75rem;
}

.ln-privacy-intro strong {
    font-weight: 600;
}

.ln-privacy-steps {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .ln-privacy-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1.25rem;
    }
}

.ln-privacy-step {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.05rem 1.15rem;
    border-radius: 1rem;
    border: 1px solid var(--ln-border);
    background: rgba(255, 255, 255, 0.025);
}

.ln-privacy-step-num {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 9999px;
    background: var(--ln-accent-dim);
    color: var(--ln-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.ln-privacy-step h3 {
    letter-spacing: -0.01em;
}

/* Seguridad band */
.ln-band {
    border-radius: 1.5rem;
    border: 1px solid var(--ln-border);
    background: linear-gradient(120deg, rgba(23, 107, 224, 0.12) 0%, var(--ln-surface) 50%);
    padding: 2.5rem 2rem;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .ln-band {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* FAQ */
.ln-faq details {
    border-bottom: 1px solid var(--ln-border);
    padding-block: 1rem;
}

.ln-faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.ln-faq summary::-webkit-details-marker {
    display: none;
}

.ln-faq summary::after {
    content: "+";
    color: var(--ln-accent);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1;
}

.ln-faq details[open] summary::after {
    content: "−";
}

.ln-faq p {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--ln-muted);
    line-height: 1.65;
}

/* CTA final */
.ln-cta-final {
    text-align: center;
    padding-block: 4rem;
}

.ln-cta-final h2 {
    font-family: var(--ln-serif);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 700;
    max-width: 32rem;
    margin-inline: auto;
}

.ln-cta-final p {
    margin-top: 1rem;
    color: var(--ln-muted);
    max-width: 28rem;
    margin-inline: auto;
}

/* Footer */
.ln-footer {
    border-top: 1px solid var(--ln-border);
    padding-block: 2.5rem;
    background: rgba(0, 0, 0, 0.25);
}

.ln-footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .ln-footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.ln-footer a {
    color: var(--ln-muted);
    font-size: 0.88rem;
}

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

/* Animación entrada suave */
.ln-reveal {
    animation: ln-up 0.8s ease forwards;
    opacity: 0;
}

@keyframes ln-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ln-delay-1 { animation-delay: 0.1s; }
.ln-delay-2 { animation-delay: 0.2s; }
.ln-delay-3 { animation-delay: 0.3s; }

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    .landing-root,
    .public-auth-shell {
        animation: none;
    }
    .landing-root::before,
    .public-auth-shell::before {
        animation: none;
    }
    .ln-reveal {
        animation: none;
        opacity: 1;
    }
}

/* ========================================================================
   WIZARD — Register Org
   ======================================================================== */

.wiz-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.wiz-header {
    text-align: center;
    margin-bottom: 2rem;
}
.wiz-logo {
    height: 3rem;
    margin: 0 auto 1rem;
    display: block;
}
.wiz-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 .4rem;
}
.wiz-subtitle {
    color: #8b92a8;
    font-size: .95rem;
    margin: 0;
}

/* Progress bar */
.wiz-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}
.wiz-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    position: relative;
    z-index: 1;
}
.wiz-step-num {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    background: #1e293b;
    color: #64748b;
    border: 2px solid #334155;
    transition: all .3s;
}
.wiz-step-label {
    font-size: .7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: color .3s;
}
.wiz-progress-step.active .wiz-step-num {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.wiz-progress-step.active .wiz-step-label {
    color: #93c5fd;
}
.wiz-progress-step.done .wiz-step-num {
    background: #166534;
    color: #bbf7d0;
    border-color: #166534;
}
.wiz-progress-step.done .wiz-step-label {
    color: #86efac;
}
.wiz-progress-line {
    flex: 1;
    height: 2px;
    background: #334155;
    margin: 0 .5rem;
    margin-bottom: 1.4rem;
    min-width: 2rem;
}

/* Section titles */
.wiz-section-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 .3rem;
}
.wiz-section-desc {
    color: #8b92a8;
    font-size: .85rem;
    margin: 0 0 1.5rem;
}
.wiz-subsection {
    color: #94a3b8;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 1.5rem 0 .75rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(255,255,255,.06);
}

/* Form grid */
.wiz-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem 1rem;
}
.wiz-form-narrow {
    max-width: 480px;
}
.wiz-col-2 {
    grid-column: span 2;
}
.wiz-field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.wiz-field label {
    font-size: .78rem;
    color: #94a3b8;
    font-weight: 500;
}
.wiz-field input,
.wiz-field select {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #e2e8f0;
    padding: .6rem .75rem;
    font-size: .88rem;
    transition: border-color .2s;
    outline: none;
}
.wiz-field input:focus,
.wiz-field select:focus {
    border-color: #2563eb;
}
.wiz-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    padding-right: 2rem;
}
.wiz-hint {
    font-size: .72rem;
    color: #64748b;
}

/* Plan cards */
.wiz-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}
.wiz-plan-card {
    background: #0f172a;
    border: 2px solid #1e293b;
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: border-color .25s, transform .15s;
    display: flex;
    flex-direction: column;
}
.wiz-plan-card:hover {
    border-color: #334155;
    transform: translateY(-2px);
}
.wiz-plan-card.selected {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}
.wiz-plan-enterprise {
    border-color: #854d0e;
}
.wiz-plan-enterprise:hover {
    border-color: #a16207;
}
.wiz-plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .25rem;
}
.wiz-plan-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #93c5fd;
    margin-bottom: .5rem;
}
.wiz-plan-price span {
    font-size: .8rem;
    font-weight: 400;
    color: #64748b;
}
.wiz-plan-enterprise .wiz-plan-price {
    color: #fbbf24;
    font-size: 1.15rem;
}
.wiz-plan-desc {
    color: #8b92a8;
    font-size: .78rem;
    line-height: 1.45;
    margin: 0 0 .75rem;
    flex: 1;
}
.wiz-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: .78rem;
    color: #c4c9d4;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.wiz-plan-features li {
    display: flex;
    align-items: center;
    gap: .4rem;
}
.wiz-plan-features i {
    color: #2563eb;
    font-size: .85rem;
    flex-shrink: 0;
}
.wiz-plan-enterprise .wiz-plan-features i {
    color: #fbbf24;
}
.wiz-plan-features--compact {
    font-size: 0.72rem;
    gap: 0.28rem;
    max-height: 11rem;
    overflow-y: auto;
    margin-bottom: 0.75rem;
}
.wiz-plan-features--compact i.text-emerald-600 {
    color: #059669 !important;
    font-size: 0.75rem;
}
.wiz-plan-btn {
    width: 100%;
    padding: .55rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: .82rem;
    cursor: pointer;
    background: #1e40af;
    color: #fff;
    transition: background .2s;
}
.wiz-plan-btn:hover {
    background: #2563eb;
}
.wiz-plan-card.selected .wiz-plan-btn {
    background: #166534;
}
.wiz-plan-btn--contact {
    background: #78350f;
}
.wiz-plan-btn--contact:hover {
    background: #92400e;
}

/* Summary */
.wiz-summary {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.wiz-summary-row {
    display: flex;
    justify-content: space-between;
    padding: .45rem 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: .85rem;
}
.wiz-summary-row:last-child {
    border-bottom: none;
}
.wiz-summary-key {
    color: #8b92a8;
    font-weight: 500;
}
.wiz-summary-val {
    color: #e2e8f0;
    text-align: right;
}

.wiz-terms-check {
    flex-direction: row !important;
    gap: .5rem;
    align-items: center;
}
.wiz-terms-check label {
    font-size: .82rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}
.wiz-terms-check input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #2563eb;
}
.wiz-terms-check a {
    color: #93c5fd;
}

/* Navigation buttons */
.wiz-nav {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 2rem;
}
.wiz-nav-spacer {
    flex: 1;
}
.wiz-btn-main {
    padding: .65rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    background: #2563eb;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: background .2s;
}
.wiz-btn-main:hover {
    background: #1d4ed8;
}
.wiz-btn-main:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.wiz-btn-sec {
    padding: .65rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #334155;
    font-weight: 500;
    font-size: .9rem;
    cursor: pointer;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: border-color .2s, color .2s;
}
.wiz-btn-sec:hover {
    border-color: #64748b;
    color: #e2e8f0;
}

/* Responsive */
@media (max-width: 640px) {
    .wiz-plan-grid {
        grid-template-columns: 1fr;
    }
    .wiz-form-grid {
        grid-template-columns: 1fr;
    }
    .wiz-col-2 {
        grid-column: span 1;
    }
    .wiz-step-label {
        display: none;
    }
    .wiz-progress-line {
        margin-bottom: 0;
    }
}
