* {
    box-sizing: border-box;
}

:root {
    --page: #08090d;
    --ink: #f5f7fb;
    --muted: #a7afbf;
    --accent: #009c95;
    --line: rgba(255, 255, 255, 0.13);
}

html {
    min-height: 100%;
    background: var(--page);
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        linear-gradient(120deg, rgba(0, 156, 149, 0.2), transparent 30rem),
        linear-gradient(240deg, rgba(247, 201, 72, 0.12), transparent 28rem),
        linear-gradient(180deg, #151820 0%, #090a0f 54%, #0f1218 100%);
    color: var(--ink);
    font-family: "TransitLanding", Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

.privacy-shell {
    position: relative;
    isolation: isolate;
    width: min(100% - 2rem, 58rem);
    margin: 0 auto;
    padding: 1rem 0 4rem;
}

.route-field {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    opacity: 0.72;
}

.route-field::before {
    content: "";
    position: absolute;
    inset: 8vh -8vw auto;
    height: 64vh;
    background:
        linear-gradient(105deg, transparent 0 7%, rgba(0, 156, 149, 0.42) 7.15% 7.55%, transparent 7.75% 100%),
        linear-gradient(148deg, transparent 0 31%, rgba(247, 201, 72, 0.34) 31.15% 31.55%, transparent 31.75% 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7.5rem);
    mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 70%, transparent);
}

.privacy-nav {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    font-weight: 800;
}

.brand::before {
    content: "";
    display: inline-block;
    width: 0.64rem;
    height: 0.64rem;
    margin-right: 0.56rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0.32rem rgba(0, 156, 149, 0.16);
}

.back-link {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 650;
}

.privacy-hero {
    padding: clamp(3rem, 9vw, 6rem) 0 2rem;
}

.eyebrow {
    margin: 0 0 0.6rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1 {
    max-width: 12ch;
    margin: 0;
    color: #fff;
    font-size: clamp(2.7rem, 8vw, 5.8rem);
    line-height: 0.95;
}

.intro {
    max-width: 42rem;
    margin: 1.4rem 0 0;
    color: var(--muted);
}

.privacy-card {
    margin-top: 1rem;
    padding: clamp(1.25rem, 3vw, 1.8rem);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(18, 21, 28, 0.88);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.privacy-card h2 {
    margin: 0 0 0.7rem;
    color: #fff;
    font-size: 1.25rem;
}

.privacy-card p {
    margin: 0;
    color: var(--muted);
}

.privacy-card p + p,
.privacy-card ul + p {
    margin-top: 0.9rem;
}

.privacy-card ul {
    margin: 0.75rem 0;
    padding-left: 1.3rem;
    color: var(--muted);
}

.privacy-card code {
    color: #d6fffc;
}

.opt-out-card {
    border-color: rgba(0, 156, 149, 0.42);
}

.opt-out-button {
    min-height: 2.8rem;
    margin: 1rem 0 0.65rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(0, 156, 149, 0.68);
    border-radius: 8px;
    background: rgba(0, 156, 149, 0.16);
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.opt-out-button:hover {
    background: rgba(0, 156, 149, 0.25);
}

.opt-out-status {
    color: #8ee8e1 !important;
    font-weight: 700;
}

.opt-out-status.disabled {
    color: #7ee2a8 !important;
}

.privacy-note {
    margin: 1.4rem 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

@media (max-width: 640px) {
    .privacy-shell {
        width: min(100% - 1.4rem, 58rem);
    }

    .privacy-hero {
        padding-top: 2.5rem;
    }
}
