/* Public white-label micro-site pages: About / Contact / Register-as-Sub-Agent.
   Reuses the --lp-p* CSS variables the login page (login.css) already defines/derives
   from a tenant's BrandPrimaryColor, so the two share one color system. */

:root {
    --lp-p900: #0D1B4B;
    --lp-p800: #14247A;
    --lp-p700: #1B2B7B;
    --lp-p600: #3A4AA0;
    --lp-p500: #5B6BC0;
}

.pns-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    border-bottom: 1px solid #EEF0F5;
    background: #fff;
}

.pns-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--lp-p900);
    font-weight: 800;
    font-size: 1.05rem;
}

.pns-brand img {
    height: 32px;
    max-width: 120px;
    object-fit: contain;
}

.pns-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pns-links a {
    color: #4B5563;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}

.pns-links a:hover { color: var(--lp-p700); }

.pns-login-btn {
    background: var(--lp-p700);
    color: #fff !important;
    padding: 9px 18px;
    border-radius: 8px;
}

.pns-login-btn:hover { background: var(--lp-p800); }

.pns-hero {
    background-size: cover;
    background-position: center;
    background-color: var(--lp-p900);
    background-image: linear-gradient(135deg, var(--lp-p900) 0%, var(--lp-p700) 100%);
    color: #fff;
    padding: 72px 32px;
    text-align: center;
}

.pns-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.pns-hero p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto;
}

.pns-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    color: #1f2937;
    line-height: 1.7;
    font-size: 1rem;
}

.pns-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lp-p900);
    margin: 0 0 16px;
}

.pns-body-text {
    white-space: pre-line;
}

.pns-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.pns-contact-item {
    background: #F8FAFF;
    border: 1px solid #EEF0F5;
    border-radius: 10px;
    padding: 18px;
}

.pns-contact-item .pns-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6B7280;
    margin-bottom: 6px;
}

.pns-contact-item .pns-value {
    font-size: 0.98rem;
    font-weight: 600;
    color: #1f2937;
}

.pns-form-field { margin-bottom: 18px; }

.pns-form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.pns-form-field input,
.pns-form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}

.pns-form-field input:focus,
.pns-form-field textarea:focus {
    outline: none;
    border-color: var(--lp-p700);
    box-shadow: 0 0 0 3px rgba(27, 43, 123, 0.12);
}

.pns-submit-btn {
    background: var(--lp-p700);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
}

.pns-submit-btn:hover { background: var(--lp-p800); }

.pns-alert-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.pns-alert-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.pns-val-msg {
    color: #DC2626;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

/* Honeypot — hidden from real visitors, present for bots that fill every field */
.pns-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
