/* Shared public brand — landing, self-service, USSD, verify (admin-aligned) */
:root {
    --pw-primary: #123155;
    --pw-secondary: #0c2440;
    --pw-accent: #CC9F4B;
    --pw-ink: #0f172a;
    --pw-foam: #f3f4f6;
    --pw-muted: #64748b;
    --pw-line: rgba(18, 49, 85, 0.12);
    --pw-deep: #0a1c30;
    --pw-font: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --pw-display: "Source Serif 4", Georgia, serif;
}

.pw-public {
    margin: 0;
    min-height: 100vh;
    font-family: var(--pw-font);
    color: var(--pw-ink);
    background: var(--pw-foam);
}

.pw-public a {
    color: inherit;
    text-decoration: none;
}

.pw-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 22px;
    background: rgba(4, 28, 36, 0.92);
    color: #c8e8ef;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pw-bar strong {
    color: #fff;
    font-weight: 600;
}

.pw-bar a:hover {
    color: var(--pw-accent);
}

.pw-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 12px 22px;
    background: #fff;
    border-bottom: 1px solid var(--pw-line);
    position: sticky;
    top: 0;
    z-index: 30;
}

.pw-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--pw-secondary);
}

.pw-brand img {
    height: 44px;
    width: auto;
}

.pw-brand small {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--pw-muted);
    letter-spacing: 0.02em;
}

.pw-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.pw-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pw-ink);
}

.pw-nav a:hover {
    color: var(--pw-primary);
    background: color-mix(in srgb, var(--pw-primary) 8%, white);
}

.pw-nav .pw-btn,
.pw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 0;
    font-family: inherit;
    font-weight: 650;
    font-size: 0.92rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.pw-btn:hover {
    transform: translateY(-1px);
}

.pw-btn--primary {
    background: var(--pw-primary);
    color: #fff !important;
}

.pw-btn--primary:hover {
    background: var(--pw-secondary);
}

.pw-btn--accent {
    background: var(--pw-accent);
    color: #123155 !important;
}

.pw-btn--soft {
    background: #fff;
    color: var(--pw-primary) !important;
    border: 1px solid var(--pw-line);
}

.pw-btn--ghost {
    background: transparent;
    color: var(--pw-secondary) !important;
    border: 1px solid color-mix(in srgb, var(--pw-primary) 28%, transparent);
}

.pw-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.pw-wrap {
    width: min(1040px, 100%);
    margin: 0 auto;
    padding: 28px 20px 48px;
}

.pw-page-title {
    margin: 0 0 6px;
    font-family: var(--pw-display);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 600;
    color: var(--pw-secondary);
    letter-spacing: -0.02em;
}

.pw-page-lede {
    margin: 0 0 22px;
    color: var(--pw-muted);
    font-size: 0.98rem;
    line-height: 1.5;
    max-width: 40rem;
}

.pw-card {
    background: #fff;
    border: 1px solid var(--pw-line);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(8, 47, 58, 0.05);
}

.pw-footer {
    padding: 22px;
    text-align: center;
    color: #8fb6c0;
    font-size: 0.82rem;
    background: var(--pw-deep);
}

.pw-footer a {
    color: #c8e8ef;
}

.pw-footer a:hover {
    color: var(--pw-accent);
}

@media (max-width: 640px) {
    .pw-top {
        padding: 12px 14px;
    }

    .pw-nav a {
        min-height: 36px;
        padding: 0 10px;
        font-size: 0.8rem;
    }
}
