/* Shared styles for /privacy and /terms (moved out of inline <style>, which the CSP blocks). */
:root {
    --paper: #f5f2eb;
    --paper-deep: #eae5db;
    --ink: #13272d;
    --navy: #102a34;
    --copper: #b5542e;
    --orange: #ed945e;
    --muted: #616968;
    --line: #d7d7cd;
    --font-sans: 'Inter', Arial, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

body {
    background-color: var(--paper);
    background-image: linear-gradient(#13272d0d 1px, transparent 1px), linear-gradient(90deg, #13272d0d 1px, transparent 1px);
    background-size: clamp(2.5rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4.5rem);
    color: var(--ink);
    font: 400 16px/1.7 var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin-inline: auto; padding-inline: 20px; }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 242, 235, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}
.logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
}
.logo-accent {
    color: var(--copper);
    font-style: italic;
    margin-left: 4px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    transition: color 0.2s ease;
}
.nav-link:hover { color: var(--copper); }
.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: var(--navy);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease;
}
.btn-nav-cta:hover { background: var(--copper); }

/* Hero */
.page-hero {
    background: var(--navy);
    color: #fff;
    padding: 60px 0 50px;
    border-bottom: 3px solid var(--copper);
}
.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}
.page-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 12px;
}
.page-hero-meta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Content Area */
.legal-content {
    max-width: 800px;
    margin: 50px auto 80px;
    background: #fff;
    padding: clamp(24px, 5vw, 48px);
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(19, 39, 45, 0.04);
}
.legal-intro {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.legal-section {
    margin-bottom: 36px;
}
.legal-section h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.legal-section h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--copper);
    border-radius: 2px;
}
.legal-section p {
    margin-bottom: 14px;
    color: #333d40;
    line-height: 1.75;
}
.legal-section ul {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 14px;
    color: #333d40;
}
.legal-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.contact-box {
    background: var(--paper);
    padding: 20px 24px;
    border-left: 3px solid var(--copper);
    border-radius: 4px;
    margin-top: 16px;
}
.contact-box a {
    color: var(--copper);
    font-weight: 500;
}
.contact-box a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
}
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}
.footer-nav a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
}
.footer-nav a:hover {
    color: var(--orange);
}
.footer-copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
}
