:root {
    --gold: #C9A227;
    --gold-light: #E8D48B;
    --gold-dark: #9A7B1A;
    --midnight: #0D1B2A;
    --midnight-light: #1B2D45;
    --velvet: #8B1A1A;
    --cream: #F5F0E1;
    --text: #2C2C2C;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.public-body {
    font-family: var(--font-body);
    background: var(--midnight);
    color: var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.public-main {
    flex: 1;
}

.public-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Header ── */
.public-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.public-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.public-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--white);
    text-decoration: none;
}

.public-logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.public-logo span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.public-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.public-nav a:hover,
.public-nav a.active {
    color: var(--gold-light);
}

.public-nav-cta {
    padding: 0.45rem 1.15rem !important;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--midnight) !important;
    border-radius: 50px;
    font-weight: 700 !important;
}

.public-nav-cta:hover {
    color: var(--midnight) !important;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
}

/* ── Footer ── */
.public-footer {
    border-top: 1px solid rgba(201, 162, 39, 0.1);
    background: rgba(13, 27, 42, 0.6);
}

.public-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.public-footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.public-footer-links {
    display: flex;
    gap: 1.5rem;
}

.public-footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.public-footer-links a:hover {
    color: var(--gold-light);
}

/* ── Shared ── */
.about-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

/* ── Alerts ── */
.public-main .alert {
    max-width: 1100px;
    margin: 1rem auto 0;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.public-main .alert-success {
    background: rgba(16, 185, 129, 0.15);
    color: #6EE7B7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.public-main .alert-error {
    background: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ═══ ABOUT PAGE ═══ */
.about-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.3) 0%, rgba(13, 27, 42, 0.95) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3.5rem;
    width: 100%;
}

.about-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--cream);
    margin-bottom: 1rem;
    max-width: 700px;
}

.about-hero-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(245, 240, 225, 0.75);
    max-width: 600px;
}

.about-mission {
    padding: 5rem 0;
    background: var(--cream);
    color: var(--text);
}

.about-mission h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--midnight);
    margin-bottom: 1.5rem;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-prose p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-stat {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 14px;
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 20px rgba(13, 27, 42, 0.06);
}

.about-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--midnight);
    margin-bottom: 0.2rem;
}

.about-stat span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.about-values {
    padding: 5rem 0;
    background: var(--midnight);
}

.about-section-head {
    text-align: center;
    margin-bottom: 3rem;
}

.about-section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--cream);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-value-card {
    padding: 2rem;
    background: rgba(27, 45, 69, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.12);
    border-radius: 16px;
    transition: border-color 0.3s ease;
}

.about-value-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
}

.about-value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.12);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.about-value-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
}

.about-value-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.about-value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(245, 240, 225, 0.65);
}

.about-cta {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--midnight-light), var(--midnight));
    text-align: center;
}

.about-cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.about-cta-inner p {
    color: rgba(245, 240, 225, 0.65);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-cta-btn {
    display: inline-flex;
    padding: 1rem 2.25rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--midnight);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(201, 162, 39, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 162, 39, 0.5);
    color: var(--midnight);
}

/* ═══ LEGAL PAGES ═══ */
.legal-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.legal-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
}

.legal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.45) 0%, rgba(13, 27, 42, 0.95) 100%);
}

.legal-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2.75rem;
    width: 100%;
}

.legal-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--cream);
    margin-bottom: 0.75rem;
    max-width: 700px;
}

.legal-hero-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(245, 240, 225, 0.7);
    max-width: 600px;
}

.legal-body {
    padding: 3rem 0 4rem;
    background: var(--midnight);
}

.legal-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem;
    background: rgba(27, 45, 69, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.12);
    border-radius: 14px;
    margin-bottom: 2rem;
}

.legal-meta-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.legal-meta-item time {
    font-size: 0.95rem;
    color: var(--cream);
    font-weight: 500;
}

.legal-related {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.legal-related a {
    color: rgba(245, 240, 225, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.legal-related a:hover {
    color: var(--gold-light);
}

.legal-prose {
    background: rgba(27, 45, 69, 0.35);
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 16px;
    padding: 2.5rem 3rem;
}

.legal-prose > p:first-child {
    font-size: 1.05rem;
    color: rgba(245, 240, 225, 0.85);
}

.legal-prose p {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(245, 240, 225, 0.78);
    margin-bottom: 1.15rem;
}

.legal-prose h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cream);
    margin: 2.5rem 0 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.legal-prose h2:first-of-type {
    margin-top: 0.5rem;
}

.legal-prose h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold-light);
    margin: 1.5rem 0 0.6rem;
}

.legal-prose ul,
.legal-prose ol {
    margin: 0 0 1.25rem 0;
    padding-left: 1.5rem;
    color: rgba(245, 240, 225, 0.78);
    line-height: 1.85;
}

.legal-prose li {
    margin-bottom: 0.4rem;
}

.legal-prose a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-prose a:hover {
    color: var(--gold);
}

.legal-prose strong {
    color: var(--cream);
    font-weight: 600;
}

.legal-email {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-email:hover {
    color: var(--gold);
}

.about-cta-inner .legal-email {
    color: var(--gold-light);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .public-nav {
        gap: 0.75rem;
    }

    .public-nav a:not(.public-nav-cta):not([href*="about"]):not([href*="login"]):not([href*="privacy"]):not([href*="terms"]) {
        display: none;
    }

    .public-logo span {
        font-size: 0.95rem;
    }

    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-hero {
        min-height: 320px;
    }

    .legal-hero {
        min-height: 280px;
    }

    .legal-prose {
        padding: 1.75rem 1.5rem;
    }

    .legal-meta-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
