/* ===== Phony White Label page ===== */
:root {
    --wl-accent: #ff8a3d;
    --wl-accent-2: #ffd166;
}

.wl-hero {
    padding: 120px 24px 90px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,138,61,0.15), transparent 60%), #000;
    position: relative;
}
.wl-hero-in { max-width: 880px; margin: 0 auto; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,209,102,0.10);
    border: 1px solid rgba(255,209,102,0.28);
    color: #ffd166;
    font-size: 13px; font-weight: 600;
    margin-bottom: 20px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #ffd166; box-shadow: 0 0 12px #ffd166; }

.wl-h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(38px, 7vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    color: #fff;
}
.wl-h1 .grad {
    background: linear-gradient(135deg, #ffd166, #ff8a3d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.wl-sub {
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.55;
    color: #b8b8c0;
    max-width: 680px;
    margin: 0 auto 36px;
}
.wl-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.wl-section { padding: 80px 24px; }
.wl-section-alt { background: linear-gradient(180deg, #050505, #000); }
.wl-section-in { max-width: 1100px; margin: 0 auto; }
.wl-section-head { text-align: center; margin-bottom: 48px; }
.wl-section-head h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.wl-section-head p { color: #8a8a92; font-size: 16px; margin: 0; }

/* Steps */
.wl-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.wl-step {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 28px 22px;
    transition: transform .25s, border-color .25s;
}
.wl-step:hover { transform: translateY(-2px); border-color: rgba(255,209,102,0.32); }
.wl-step-num {
    width: 36px; height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd166, #ff8a3d);
    color: #1a1a1a;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    font-size: 16px;
}
.wl-step h3 { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.wl-step p { color: #9a9aa2; font-size: 14px; line-height: 1.55; margin: 0; }

/* Rules */
.wl-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
}
.wl-rule {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid #ff8a3d;
    border-radius: 14px;
    padding: 22px;
}
.wl-rule h4 { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.wl-rule p { color: #9a9aa2; font-size: 14px; line-height: 1.55; margin: 0; }

/* Form */
.wl-form-wrap { max-width: 760px; margin: 0 auto; }
.wl-auth-gate { display: flex; justify-content: center; }
.wl-auth-card {
    width: 100%; max-width: 420px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
}
.wl-auth-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.wl-auth-card p { color: #9a9aa2; font-size: 14px; line-height: 1.55; margin: 0 0 20px; }
.wl-auth-card input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    font: inherit;
    font-size: 14px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.wl-auth-card input:focus { outline: none; border-color: rgba(255,209,102,0.55); }
.wl-auth-foot { color: #6e6e76; font-size: 13px; margin-top: 16px; }
.wl-auth-foot a { color: #ffd166; text-decoration: none; }
.wl-auth-error {
    color: #f87171;
    font-size: 13px;
    min-height: 18px;
    margin-top: 8px;
}

.wl-form {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 36px;
}
.wl-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}
@media (max-width: 600px) { .wl-form-row { grid-template-columns: 1fr; } }
.wl-form label {
    display: flex; flex-direction: column; gap: 6px;
    color: #c8c8d0;
    font-size: 13px;
    font-weight: 500;
}
.wl-form input[type="text"],
.wl-form input[type="email"],
.wl-form input[type="password"],
.wl-form input[type="file"] {
    padding: 11px 14px;
    border-radius: 11px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    font: inherit;
    font-size: 14px;
}
.wl-form input[type="color"] {
    width: 100%; height: 44px;
    padding: 4px;
    border-radius: 11px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.10);
    cursor: pointer;
}
.wl-form input:focus { outline: none; border-color: rgba(255,209,102,0.55); }
.wl-h3 {
    font-size: 16px; font-weight: 700; color: #fff;
    margin: 28px 0 8px;
}
.wl-help { color: #8a8a92; font-size: 13px; line-height: 1.55; margin: 0 0 12px; }

/* Agreement preview */
.wl-agreement {
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 18px 20px;
    color: #c0c0c8;
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.6;
    white-space: pre-wrap;
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 20px;
}

/* Signature */
.wl-sig-wrap {
    background: rgba(255,255,255,0.96);
    border-radius: 14px;
    padding: 12px;
    position: relative;
    margin-bottom: 18px;
}
#wl-sig {
    width: 100%;
    height: 180px;
    background: #fff;
    border-radius: 8px;
    border: 1px dashed rgba(0,0,0,0.20);
    cursor: crosshair;
    touch-action: none;
    display: block;
}
#wl-sig-clear {
    position: absolute;
    top: 16px; right: 16px;
    color: #555;
}

/* Checkbox */
.wl-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #c8c8d0;
    font-size: 14px;
    line-height: 1.55;
    margin: 16px 0 22px;
    cursor: pointer;
}
.wl-checkbox input { margin-top: 3px; transform: scale(1.2); accent-color: #ff8a3d; }

.wl-form-status {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}
.wl-form-status.error { display: block; background: rgba(248,113,113,0.10); border: 1px solid rgba(248,113,113,0.30); color: #fca5a5; }
.wl-form-status.success { display: block; background: rgba(74,222,128,0.10); border: 1px solid rgba(74,222,128,0.30); color: #86efac; }

.wl-done {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(74,222,128,0.30);
    border-radius: 22px;
    padding: 40px;
    text-align: center;
}
.wl-done h3 { font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.wl-done p { color: #b8b8c0; font-size: 15px; line-height: 1.6; margin: 0 0 24px; }

.wl-footer {
    padding: 30px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #000;
}
.wl-footer-in {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    color: #6e6e76;
    font-size: 13px;
}
@media (max-width: 600px) {
    .wl-footer-in { flex-direction: column; gap: 4px; text-align: center; }
}


/* ======================================================
   Step-by-step Wizard overlay
   ====================================================== */

.wl-cta-bottom { justify-content: center; margin-top: 36px; }

.wlw-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    overflow-y: auto;
    animation: wlw-fade .25s ease;
}
@keyframes wlw-fade { from { opacity: 0; } to { opacity: 1; } }

.wlw-shell {
    width: 100%;
    max-width: 760px;
    background: linear-gradient(180deg, rgba(20,20,24,0.96), rgba(8,8,12,0.96));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 28px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
    padding: 30px 36px 28px;
    position: relative;
    animation: wlw-rise .35s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin: auto;
}
@keyframes wlw-rise {
    from { transform: translateY(28px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@media (max-width: 600px) {
    .wlw-overlay { padding: 0; align-items: stretch; }
    .wlw-shell {
        max-width: none;
        min-height: 100%;
        border-radius: 0;
        padding: 24px 20px 22px;
    }
}

.wlw-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 36px; height: 36px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.wlw-close:hover { background: rgba(255,255,255,0.12); }
.wlw-close svg { width: 20px; height: 20px; }

.wlw-progress {
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    overflow: hidden;
    margin: 6px 50px 8px 0;
}
.wlw-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd166, #ff8a3d);
    transition: width .35s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: inherit;
}
.wlw-step-counter {
    color: #6e6e76;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.wlw-stage { min-height: 380px; }

.wlw-page { animation: wlw-page .3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wlw-page[hidden] { display: none; }
@keyframes wlw-page {
    from { transform: translateX(16px); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

.wlw-page h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.wlw-lead {
    color: #9a9aa2;
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0 0 22px;
    max-width: 560px;
}

.wlw-form,
.wlw-form-narrow {
    display: flex; flex-direction: column;
    gap: 14px;
}
.wlw-form-narrow { max-width: 380px; margin: 0 auto; }

.wlw-form label,
.wlw-form-narrow label {
    display: flex; flex-direction: column; gap: 6px;
    color: #c8c8d0;
    font-size: 13px;
    font-weight: 500;
}
.wlw-form input[type="text"],
.wlw-form input[type="email"],
.wlw-form-narrow input[type="text"],
.wlw-form-narrow input[type="password"] {
    padding: 13px 16px;
    border-radius: 12px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    font: inherit;
    font-size: 15px;
    transition: border-color .15s, background .15s;
}
.wlw-form input:focus,
.wlw-form-narrow input:focus {
    outline: none;
    border-color: rgba(255,209,102,0.55);
    background: rgba(0,0,0,0.65);
}
.wlw-form input[type="color"] {
    width: 80px; height: 44px;
    padding: 4px;
    border-radius: 12px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.10);
    cursor: pointer;
}
.wlw-color { display: flex; align-items: center; gap: 12px; }
.wlw-color-hint { color: #8a8a92; font-size: 13px; }

.wlw-error {
    color: #fca5a5;
    font-size: 13px;
    line-height: 1.5;
    min-height: 18px;
    margin-top: 12px;
}
.wlw-error:empty { min-height: 0; }

.wlw-foot { color: #6e6e76; font-size: 13px; text-align: center; margin: 14px 0 0; }
.wlw-foot a { color: #ffd166; text-decoration: none; }

.wlw-agreement {
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px 22px;
    color: #c0c0c8;
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.6;
    white-space: pre-wrap;
    height: 280px;
    overflow-y: auto;
    margin-bottom: 18px;
}
.wlw-agreement::-webkit-scrollbar { width: 8px; }
.wlw-agreement::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 999px; }

.wlw-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #c8c8d0;
    font-size: 14px;
    line-height: 1.55;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color .15s, background .15s;
}
.wlw-checkbox:hover { border-color: rgba(255,209,102,0.3); }
.wlw-checkbox input { margin-top: 3px; transform: scale(1.2); accent-color: #ff8a3d; }

.wlw-sig-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    position: relative;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.08);
}
#wlw-sig {
    width: 100%;
    height: 200px;
    background: #fff;
    border-radius: 8px;
    border: 1px dashed rgba(0,0,0,0.18);
    cursor: crosshair;
    touch-action: none;
    display: block;
}
.wlw-sig-clear {
    position: absolute;
    top: 18px; right: 18px;
    background: rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 8px;
    padding: 6px 12px;
    font: inherit;
    font-size: 12px;
    color: #555;
    cursor: pointer;
}
.wlw-sig-clear:hover { background: rgba(0,0,0,0.10); }

.wlw-summary {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px 16px;
    color: #c0c0c8;
    font-size: 13px;
    line-height: 1.65;
}
.wlw-summary b { color: #fff; }
.wlw-summary span { color: #ffd166; font-weight: 500; }

.wlw-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.wlw-controls-spacer { flex: 1; }
.wlw-controls .btn { min-width: 130px; padding: 12px 24px; }

@media (max-width: 600px) {
    .wlw-controls .btn { min-width: 0; flex: 1; }
}

/* Done state */
.wlw-page-done { text-align: center; padding-top: 8px; }
.wlw-done-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(74,222,128,0.10);
    border: 1px solid rgba(74,222,128,0.30);
    color: #4ade80;
    display: flex; align-items: center; justify-content: center;
    margin: 4px auto 18px;
}
.wlw-done-icon svg { width: 36px; height: 36px; }
.wlw-page-done .wlw-lead { margin: 0 auto 22px; }
.wlw-cta-row { display: flex; justify-content: center; }


/* Inline hint under inputs in the wizard */
.wlw-hint {
    color: #8a8a92;
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.4;
}
