/* Legal pages — typographic layout for long-form content */

/* Force navbar to opaque "scrolled" look permanently on legal pages
   (no hero behind it, so transparent state is unreadable). */
body.page--legal .navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid oklch(0.9 0.005 80);
    padding: 0.6rem 0;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

body.page--legal .nav-logo-img {
    height: 28px;
}

.legal-page {
    padding: 120px 0 100px;
    background: oklch(0.985 0.005 80);
    min-height: 100vh;
}

.legal-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
    color: oklch(0.25 0.01 80);
    font-family: 'Outfit', system-ui, sans-serif;
    line-height: 1.7;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: oklch(0.5 0.01 80);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.legal-back:hover {
    color: oklch(0.25 0.01 80);
}

.legal-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: oklch(0.18 0.01 80);
    margin: 0 0 16px;
}

.legal-updated {
    font-size: 14px;
    color: oklch(0.5 0.01 80);
    margin: 0 0 56px;
    padding-bottom: 32px;
    border-bottom: 1px solid oklch(0.9 0.005 80);
}

.legal-container h2 {
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.3;
    color: oklch(0.18 0.01 80);
    margin: 48px 0 16px;
    letter-spacing: -0.01em;
}

.legal-container h3 {
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: oklch(0.22 0.01 80);
    margin: 32px 0 12px;
}

.legal-container p {
    font-size: 16px;
    margin: 0 0 16px;
}

.legal-container ul,
.legal-container ol {
    padding-left: 24px;
    margin: 0 0 16px;
}

.legal-container li {
    font-size: 16px;
    margin: 0 0 8px;
}

.legal-container a {
    color: oklch(0.5 0.18 260);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.legal-container a:hover {
    color: oklch(0.4 0.2 260);
}

.legal-container strong {
    font-weight: 600;
    color: oklch(0.18 0.01 80);
}

.legal-container em {
    font-style: italic;
}

.legal-container hr {
    border: none;
    border-top: 1px solid oklch(0.9 0.005 80);
    margin: 48px 0;
}

.legal-container code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    padding: 2px 6px;
    background: oklch(0.95 0.005 80);
    border-radius: 4px;
}

/* Table for CGV pricing comparison */
.legal-table-wrap {
    margin: 24px 0;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid oklch(0.9 0.005 80);
}

.legal-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: white;
}

.legal-container th,
.legal-container td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid oklch(0.93 0.005 80);
    vertical-align: top;
}

.legal-container th {
    font-weight: 600;
    background: oklch(0.97 0.005 80);
    color: oklch(0.18 0.01 80);
    white-space: nowrap;
}

.legal-container tr:last-child td {
    border-bottom: none;
}

/* Contact block at bottom */
.legal-contact {
    margin-top: 48px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid oklch(0.9 0.005 80);
}

.legal-contact p {
    margin: 0 0 6px;
}

.legal-contact p:first-child {
    font-weight: 600;
    font-size: 17px;
    color: oklch(0.18 0.01 80);
    margin-bottom: 12px;
}

@media (max-width: 640px) {
    .legal-page {
        padding: 110px 0 60px;
    }
    .legal-title {
        font-size: 40px;
    }
    .legal-container h2 {
        font-size: 21px;
        margin: 36px 0 12px;
    }
}
