/* ============================================
   write.bukubase.com — Theme
   Inherits the BukuBase blue/yellow/white palette
   so the writer site feels like one product.
   ============================================ */

:root {
    --primary:        #1a56db;
    --primary-dark:   #1e40af;
    --primary-light:  #3b82f6;
    --primary-pale:   #dbeafe;
    --accent:         #ffd700;
    --accent-dark:    #e6c200;
    --accent-light:   #ffed4a;
    --accent-pale:    #fef9c3;
    --white:          #ffffff;
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success: #10b981;
    --error:   #ef4444;
    --warning: #f59e0b;
    --info:    #06b6d4;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow:    0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1),  0 8px 10px -6px rgba(0,0,0,0.05);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--gray-900); }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p  { color: var(--gray-600); }

/* ─── Header ──────────────────────────────────────────────────────── */
.wb-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 100;
}
.wb-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.wb-logo {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 1.25rem; color: var(--gray-900);
}
.wb-logo i { color: var(--primary); font-size: 1.6rem; }
.wb-logo span { color: var(--accent-dark); font-weight: 700; font-size: 0.9em; }
.wb-nav { display: flex; gap: 28px; align-items: center; }
.wb-nav a {
    color: var(--gray-700); font-weight: 500; font-size: 0.92rem;
    padding: 6px 0; border-bottom: 2px solid transparent;
}
.wb-nav a:hover { color: var(--primary); border-color: var(--primary); }
.wb-header-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: #fff;
    padding: 9px 18px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.88rem;
    box-shadow: 0 4px 14px rgba(26,86,219,0.3);
}
.wb-header-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

.wb-header-actions { display: flex; align-items: center; gap: 12px; }
.wb-mobile-toggle {
    display: none;
    background: transparent; border: 0;
    color: var(--gray-700); font-size: 1.5rem;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 8px; cursor: pointer;
    transition: background 0.15s;
}
.wb-mobile-toggle:hover { background: var(--gray-100); }
.wb-mobile-cta { display: none; }

@media (max-width: 880px) {
    .wb-header-inner { position: relative; }
    .wb-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; flex-direction: column; align-items: stretch;
        gap: 0; padding: 12px 16px 20px;
        box-shadow: 0 12px 24px rgba(15,23,42,0.08);
        border-top: 1px solid var(--gray-200);
        max-height: 0; overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    .wb-nav.is-open {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .wb-nav a {
        padding: 14px 8px; border-bottom: 1px solid var(--gray-100);
        font-size: 1rem; border-radius: 0;
    }
    .wb-nav a:last-child { border-bottom: 0; }
    .wb-mobile-toggle { display: inline-flex; }
    .wb-desktop-cta { display: none; }
    .wb-mobile-cta {
        display: inline-flex; justify-content: center;
        margin-top: 12px; padding: 14px;
    }
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.wb-hero {
    position: relative; padding: 80px 0 100px;
    background:
        radial-gradient(circle at 15% 20%, rgba(26,86,219,0.08), transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(255,215,0,0.10), transparent 40%),
        linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    overflow: hidden;
}
.wb-hero-grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 64px; align-items: center;
}
.wb-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--primary), #6c5ce7);
    color: #fff;
    padding: 6px 14px; border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 600; margin-bottom: 18px;
}
.wb-hero h1 {
    font-size: 3rem; font-weight: 800; margin-bottom: 18px; line-height: 1.15;
}
.wb-hero h1 .accent {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wb-hero-desc {
    font-size: 1.1rem; color: var(--gray-600); margin-bottom: 28px; max-width: 540px;
}
.wb-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.wb-hero-stats {
    display: flex; gap: 36px; margin-top: 36px;
    padding-top: 28px; border-top: 1px solid var(--gray-200);
}
.wb-hero-stat-value {
    font-size: 1.6rem; font-weight: 800; color: var(--gray-900);
}
.wb-hero-stat-label {
    font-size: 0.78rem; color: var(--gray-500); margin-top: 2px;
}

.wb-hero-visual {
    position: relative; height: 420px;
    display: flex; align-items: center; justify-content: center;
}
.wb-hero-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 24px;
    width: 320px;
    border: 1px solid var(--gray-100);
    position: absolute;
    transition: var(--transition);
}
.wb-hero-card-1 {
    transform: rotate(-6deg) translate(-60px, -40px);
    z-index: 1;
}
.wb-hero-card-2 {
    transform: rotate(3deg) translate(40px, 30px);
    z-index: 2;
    background: linear-gradient(135deg, var(--primary), #a29bfe);
    color: #fff;
}
.wb-hero-card-2 h4, .wb-hero-card-2 p { color: #fff; }
.wb-hero-card-mini-line {
    height: 8px; background: var(--gray-200);
    border-radius: 4px; margin: 6px 0;
}
.wb-hero-card-2 .wb-hero-card-mini-line { background: rgba(255,255,255,0.35); }
.wb-hero-card-mini-line.short { width: 70%; }
.wb-hero-card-mini-line.medium { width: 90%; }
.wb-hero-typing {
    display: inline-block;
    border-right: 2px solid currentColor;
    white-space: nowrap; overflow: hidden;
    animation: typing 3s steps(40, end) infinite alternate, blink 0.75s step-end infinite;
}
@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink { 50% { border-color: transparent } }

@media (max-width: 880px) {
    .wb-hero { padding: 60px 0 70px; }
    .wb-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .wb-hero h1 { font-size: 2.2rem; }
    .wb-hero-visual { height: 280px; }
    .wb-hero-card { width: 260px; padding: 18px; }
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.wb-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 13px 26px; font-weight: 600; font-size: 0.95rem;
    border-radius: var(--radius); transition: var(--transition);
    border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.wb-btn-primary {
    background: var(--primary); color: #fff;
    box-shadow: 0 4px 14px rgba(26,86,219,0.35);
}
.wb-btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.wb-btn-accent {
    background: var(--accent); color: var(--gray-900);
    box-shadow: 0 4px 14px rgba(255,215,0,0.35);
}
.wb-btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.wb-btn-outline {
    background: transparent; color: var(--primary);
    border-color: var(--primary);
}
.wb-btn-outline:hover { background: var(--primary); color: #fff; }
.wb-btn-ghost {
    background: var(--gray-100); color: var(--gray-700);
}
.wb-btn-ghost:hover { background: var(--gray-200); }
.wb-btn-lg { padding: 16px 32px; font-size: 1rem; }
.wb-btn-block { width: 100%; }
.wb-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ─── Sections ───────────────────────────────────────────────────── */
.wb-section { padding: 80px 0; }
.wb-section-alt { background: var(--gray-50); }
.wb-section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.wb-section-header h2 { font-size: 2.25rem; margin-bottom: 12px; position: relative; display: inline-block; }
.wb-section-header h2::after {
    content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px; background: var(--accent); border-radius: var(--radius-full);
}
.wb-section-header p { font-size: 1.05rem; color: var(--gray-500); margin-top: 18px; }

/* ─── How it works ───────────────────────────────────────────────── */
.wb-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.wb-step {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 28px 22px; text-align: center;
    transition: var(--transition); position: relative;
}
.wb-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-pale); }
.wb-step-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; margin-bottom: 14px;
}
.wb-step i { font-size: 2rem; color: var(--primary); display: block; margin-bottom: 10px; }
.wb-step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.wb-step p  { font-size: 0.85rem; color: var(--gray-500); }
@media (max-width: 880px) { .wb-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .wb-steps { grid-template-columns: 1fr; } }

/* ─── Pricing ────────────────────────────────────────────────────── */
.wb-pricing {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    align-items: stretch;
}
.wb-tier {
    background: #fff; border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 32px 26px;
    display: flex; flex-direction: column;
    transition: var(--transition); position: relative;
}
.wb-tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wb-tier-highlight {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(26,86,219,0.15);
    transform: translateY(-6px);
}
.wb-tier-badge {
    position: absolute; top: -14px; right: 24px;
    background: var(--accent); color: var(--gray-900);
    padding: 5px 14px; border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 700;
    box-shadow: var(--shadow);
}
.wb-tier-icon {
    width: 56px; height: 56px; border-radius: var(--radius);
    background: var(--primary-pale); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 18px;
}
.wb-tier-highlight .wb-tier-icon { background: var(--primary); color: #fff; }
.wb-tier-name { font-size: 1.3rem; margin-bottom: 4px; }
.wb-tier-tagline { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 18px; }
.wb-tier-price {
    font-size: 2.6rem; font-weight: 800; color: var(--gray-900);
    margin-bottom: 4px; line-height: 1;
}
.wb-tier-price .currency { font-size: 1.1rem; color: var(--gray-400); margin-right: 4px; vertical-align: top; }
.wb-tier-words { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 22px; }
.wb-tier-features {
    flex: 1; padding: 18px 0; border-top: 1px dashed var(--gray-200);
    margin-bottom: 20px;
}
.wb-tier-features li {
    display: flex; align-items: start; gap: 10px;
    padding: 7px 0; font-size: 0.88rem; color: var(--gray-700);
}
.wb-tier-features i {
    color: var(--success); flex-shrink: 0; margin-top: 2px;
}
@media (max-width: 880px) { .wb-pricing { grid-template-columns: 1fr; } }

/* ─── Forms ──────────────────────────────────────────────────────── */
.wb-form-card {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 36px;
    box-shadow: var(--shadow);
}
.wb-form-group { margin-bottom: 20px; }
.wb-form-label {
    display: block; font-weight: 600; font-size: 0.88rem;
    color: var(--gray-800); margin-bottom: 6px;
}
.wb-form-label .required { color: var(--error); }
.wb-form-control {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--gray-300); border-radius: var(--radius);
    background: #fff; color: var(--gray-800); font-size: 0.95rem;
    transition: var(--transition); outline: none;
}
.wb-form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
}
.wb-form-hint { font-size: 0.78rem; color: var(--gray-500); margin-top: 4px; }
textarea.wb-form-control { resize: vertical; min-height: 110px; line-height: 1.6; }
.wb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .wb-form-row { grid-template-columns: 1fr; } }

/* Tier picker (radio cards) */
.wb-tier-picker {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.wb-tier-pick {
    border: 2px solid var(--gray-200); border-radius: var(--radius-lg);
    padding: 18px 16px; cursor: pointer; transition: var(--transition);
    background: #fff; text-align: center; position: relative;
}
.wb-tier-pick input { position: absolute; opacity: 0; pointer-events: none; }
.wb-tier-pick:hover { border-color: var(--primary-light); }
.wb-tier-pick.is-active {
    border-color: var(--primary);
    box-shadow: 0 6px 18px rgba(26,86,219,0.15);
    background: linear-gradient(180deg, #fff, var(--primary-pale));
}
.wb-tier-pick .name { font-weight: 700; font-size: 0.95rem; }
.wb-tier-pick .price { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-top: 4px; }
.wb-tier-pick .meta { font-size: 0.75rem; color: var(--gray-500); margin-top: 2px; }
@media (max-width: 640px) { .wb-tier-picker { grid-template-columns: 1fr; } }

/* ─── Loader ─────────────────────────────────────────────────────── */
.wb-loader {
    display: inline-block; width: 22px; height: 22px;
    border: 3px solid rgba(255,255,255,0.3); border-top-color: #fff;
    border-radius: 50%; animation: wb-spin 0.8s linear infinite;
}
.wb-loader-dark { border-color: rgba(0,0,0,0.15); border-top-color: var(--primary); }
@keyframes wb-spin { to { transform: rotate(360deg); } }

/* ─── Generation progress overlay ───────────────────────────────── */
.wb-progress {
    background: #fff; border-radius: var(--radius-lg);
    padding: 36px; text-align: center; box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}
.wb-progress-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #6c5ce7);
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: 2.4rem; margin-bottom: 20px;
    animation: wb-pulse 1.5s ease-in-out infinite;
}
@keyframes wb-pulse {
    0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(26,86,219,0.4); }
    50%     { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(26,86,219,0); }
}
.wb-progress-bar {
    height: 10px; background: var(--gray-200); border-radius: var(--radius-full);
    overflow: hidden; margin: 22px 0 12px;
}
.wb-progress-bar-fill {
    height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-full); transition: width 0.5s ease;
    width: 0;
}
.wb-progress-status { font-size: 0.85rem; color: var(--gray-500); }

/* ─── Preview card (paywall) ─────────────────────────────────────── */
.wb-preview-grid {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px;
}
@media (max-width: 920px) { .wb-preview-grid { grid-template-columns: 1fr; } }
.wb-preview-card {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow);
}
.wb-preview-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary), #6c5ce7);
    color: #fff;
}
.wb-preview-header h2 { color: #fff; margin-bottom: 4px; font-size: 1.4rem; }
.wb-preview-header p { color: rgba(255,255,255,0.85); font-size: 0.85rem; }
.wb-preview-body {
    padding: 28px; max-height: 540px; overflow-y: auto;
    font-size: 0.96rem; line-height: 1.75; color: var(--gray-800);
    position: relative;
}
.wb-preview-body h3 { margin: 22px 0 10px; color: var(--primary); font-size: 1.15rem; }
.wb-preview-body p { margin-bottom: 12px; color: var(--gray-700); }
.wb-preview-fade {
    position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
    background: linear-gradient(180deg, transparent, #fff);
    pointer-events: none;
}

.wb-paywall {
    background: #fff; border: 2px solid var(--primary-pale);
    border-radius: var(--radius-lg); padding: 28px;
    box-shadow: var(--shadow);
    position: sticky; top: 90px;
}
.wb-paywall-price {
    font-size: 2.6rem; font-weight: 800; color: var(--primary);
    margin: 6px 0 4px; line-height: 1;
}
.wb-paywall-price .currency { font-size: 1.1rem; color: var(--gray-400); margin-right: 4px; vertical-align: top; }
.wb-paywall-meta { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 18px; }
.wb-paywall-feat {
    border-top: 1px dashed var(--gray-200); margin: 18px 0; padding-top: 14px;
}
.wb-paywall-feat li {
    display: flex; gap: 10px; align-items: start;
    padding: 5px 0; font-size: 0.86rem; color: var(--gray-700);
}
.wb-paywall-feat i { color: var(--success); margin-top: 2px; }
.wb-doc-id-display {
    background: var(--gray-50); border: 1px dashed var(--gray-300);
    border-radius: var(--radius); padding: 10px 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.95rem; color: var(--gray-700);
    text-align: center; letter-spacing: 0.05em;
}

/* ─── Payment selector ──────────────────────────────────────────── */
.wb-pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.wb-pay-method {
    border: 2px solid var(--gray-200); border-radius: var(--radius);
    padding: 16px; cursor: pointer; transition: var(--transition);
    text-align: center; background: #fff; position: relative;
}
.wb-pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.wb-pay-method i { font-size: 1.6rem; color: var(--primary); display: block; margin-bottom: 6px; }
.wb-pay-method.is-active { border-color: var(--primary); background: var(--primary-pale); }
.wb-pay-method:hover { border-color: var(--primary-light); }

/* ─── Alerts ────────────────────────────────────────────────────── */
.wb-alert {
    padding: 14px 18px; border-radius: var(--radius);
    margin-bottom: 18px; display: flex; align-items: start; gap: 10px;
    font-size: 0.92rem;
}
.wb-alert i { flex-shrink: 0; margin-top: 2px; font-size: 1.2rem; }
.wb-alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.wb-alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.wb-alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.wb-alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* ─── Profile page ──────────────────────────────────────────────── */
.wb-profile { max-width: 1000px; }
.wb-profile-head { margin-bottom: 28px; text-align: center; }
.wb-profile-head h1 {
    font-size: 1.85rem; font-weight: 700;
    color: var(--gray-900); margin-bottom: 6px;
}
.wb-profile-head p { color: var(--gray-500); font-size: 0.95rem; }
.wb-profile-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    margin-bottom: 28px;
}
@media (max-width: 880px) { .wb-profile-grid { grid-template-columns: 1fr; } }

.wb-card-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.15rem; font-weight: 700; color: var(--gray-900);
    margin: 0 0 22px; padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-200);
}
.wb-card-title i { color: var(--primary); font-size: 1.3rem; }

.wb-profile-meta {
    background: var(--primary-pale); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 20px 24px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.wb-profile-meta > div { display: flex; flex-direction: column; gap: 4px; }
.wb-profile-meta-label {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.04em; color: var(--gray-500);
}
.wb-profile-meta span:not(.wb-profile-meta-label):not(.wb-badge) {
    font-size: 0.92rem; color: var(--gray-800); font-weight: 500;
}
@media (max-width: 640px) {
    .wb-profile-meta { grid-template-columns: 1fr; }
}

.wb-badge {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 0.78rem; font-weight: 600; width: fit-content;
}
.wb-badge-success { background: #dcfce7; color: #166534; }
.wb-badge-muted   { background: var(--gray-100); color: var(--gray-600); }

/* ─── Verify lookup ─────────────────────────────────────────────── */
.wb-verify-result {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 28px; margin-top: 24px;
}
.wb-verify-result.is-paid { border-color: var(--success); background: #f0fdf4; }
.wb-verify-result.is-unpaid { border-color: var(--warning); background: #fffbeb; }

/* ─── Footer ───────────────────────────────────────────────────── */
.wb-footer {
    background: var(--gray-900); color: var(--gray-400);
    padding: 50px 0 24px; margin-top: 80px;
}
.wb-footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
    margin-bottom: 36px;
}
.wb-footer h5 { color: #fff; margin-bottom: 14px; font-size: 0.95rem; }
.wb-footer a { color: var(--gray-400); display: block; padding: 4px 0; font-size: 0.88rem; }
.wb-footer a:hover { color: #fff; }
.wb-footer-bottom {
    border-top: 1px solid var(--gray-700); padding-top: 20px;
    text-align: center; font-size: 0.82rem;
}
.wb-footer-bottom a { color: var(--accent); display: inline; }
@media (max-width: 720px) { .wb-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
