/* ── Osboon Public Pages — Shared Styles ──
   Used by: about.html, eula.html, login.html, signup.html
   Mirrors the dashboard's visual language (fonts, colors, variables).
*/

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

:root {
    --navy:      #1b2a4a;
    --navy-mid:  #243459;
    --accent:    #3a82c4;
    --bg:        #f0f4f9;
    --white:     #fff;
    --muted:     #7a8ba3;
    --border:    #d4dce8;
}

html { overflow-y: auto; scroll-behavior: smooth; }
body { font-family: 'Nunito Sans', sans-serif; background: var(--bg); color: var(--navy); }

/* ── Top Bar ── */
.topbar {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3c6e 100%);
    padding: 0 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(27, 42, 74, 0.2);
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.topbar-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.btn-back {
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-back:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ── Hero Banner ── */
.hero {
    background: linear-gradient(155deg, var(--navy) 0%, #243459 55%, #1e3c6e 100%);
    padding: 60px 40px 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 220px; height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.hero-emblem {
    width: 56px; height: 56px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 auto 18px;
}

.hero-badge {
    display: inline-block;
    background: rgba(58, 130, 196, 0.2);
    border: 1px solid rgba(58, 130, 196, 0.4);
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero h1 em { font-style: italic; color: rgba(255, 255, 255, 0.65); }

.hero p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── Page Content Wrapper ── */
.page-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 40px 90px;
}

/* ── Cards / Panels ── */
.page-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 40px 48px;
    margin-bottom: 40px;
}

.page-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: var(--navy);
    font-weight: 400;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.page-card p {
    font-size: 0.875rem;
    color: #4a5a72;
    line-height: 1.85;
    margin-bottom: 14px;
}

.page-card p:last-child { margin-bottom: 0; }

/* ── Footer ── */
.page-footer {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.72rem;
    color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .hero { padding: 48px 20px 44px; }
    .hero h1 { font-size: 1.8rem; }
    .page-wrap { padding: 36px 20px 60px; }
    .topbar { padding: 0 16px; }
    .page-card { padding: 28px 24px; }
}
