/* =========================================================
   1. FONTS — INTER + FONT AWESOME 6 (SELF-HOSTED) + FALLBACK
   Consolidated from pages.css (kept so header/footer/cookie
   render with the site's real faces + glyphs).
   ========================================================= */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/Inter-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/Inter-latin-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Font Awesome 6 Free";
    src: url("/fonts/fa-solid-mini.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Font Awesome 6 Brands";
    src: url("/fonts/fa-brands-mini.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
.fa,
.fa-solid,
.fa-brands {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.fa-solid {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
.fa-brands {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}
.fa-envelope::before { content: "\f0e0"; }
.fa-caret-up::before { content: "\f0d8"; }
.fa-caret-down::before { content: "\f0d7"; }
.fa-facebook::before { content: "\f09a"; }
.fa-x-twitter::before { content: "\e61b"; }
.fa-linkedin::before { content: "\f08c"; }
/* =========================================================
   2. VARIABLES, RESET AND GLOBAL SETTINGS
   ========================================================= */
:root {
    --fluorescent-yellow: #cfff04;
    --fluorescent-yellow-dark: #b8e600;
    --cream: #fafaf7;
    --black: #000000;
    --white: #ffffff;
    --text-dark: #1d1d1f;
    --text-muted: #555555;
    --muted-light: #86868b;
    --visual-grey: #e7e7e2;
    --card-grey: #f7f7f3;
    --line-light: #e5e5e7;
    --nt-font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Inter-fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* jargon-family vars (used by .eyebrow + legal accents) */
    --lime: #cfff04;
    --dark-green: #1e3028;
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px;
}
body {
    min-width: 320px;
    padding-top: 160px;
    overflow-x: hidden;
    background: var(--cream);
    color: var(--text-dark);
    font-family: var(--nt-font-body);
    letter-spacing: -.02em;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.drawer-is-open {
    overflow: hidden;
}
img,
svg {
    display: block;
    max-width: 100%;
}
button,
input,
select,
textarea {
    font: inherit;
}
button {
    cursor: pointer;
}
a {
    color: inherit;
}
[hidden] {
    display: none !important;
}
h1,
h2,
h3,
.btn-intake,
.btn-secondary-cta,
.btn-submit,
.nav-links a,
.intake-security-tag,
.metric-num {
    font-family: var(--nt-font-body);
    font-weight: 700;
}
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* =========================================================
   3. HEADER (pure pages.css — identical to site pages)
   ========================================================= */
.top-header {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 160px;
    padding: 15px 40px;
    border-bottom: 1px solid #000000;
    background: var(--black);
}
.logo-container {
    flex: 0 0 auto;
}
.logo-container a {
    display: block;
}
.logo-container img {
    display: block;
    width: auto;
    height: 130px;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}
.nav-links,
.secondary-links {
    display: flex;
    align-items: center;
    list-style: none;
}
.nav-links {
    gap: 16px;
}
.nav-links a {
    display: block;
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--white);
    font-size: 1.15rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease;
}
.nav-links a:hover {
    color: var(--fluorescent-yellow);
}
.nav-links a.active {
    background: var(--fluorescent-yellow);
    color: var(--black);
}
.secondary-links {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid #333333;
}
.btn-intake {
    display: block;
    padding: 12px 28px;
    border: 0;
    border-radius: 8px;
    background: var(--fluorescent-yellow);
    color: var(--black);
    font-size: 1rem;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease;
}
.btn-intake:hover {
    background: var(--fluorescent-yellow-dark);
    transform: translateY(-2px);
}
/* --- Mobile nav toggle (CSS checkbox hack, no JS) --- */
.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.nav-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 1px solid #333333;
    border-radius: 8px;
    cursor: pointer;
}
.nav-toggle-btn .nav-toggle-bar {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--fluorescent-yellow);
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle:focus-visible + .nav-toggle-btn {
    outline: 3px solid #4f5961;
    outline-offset: 4px;
}
/* --- Mobile breakpoint (shared 84px header on every page) --- */
@media (max-width: 1024px) {
    body { padding-top: 84px; }
    html { scroll-padding-top: 84px; }
    .top-header {
        height: 84px;
        padding: 12px 20px;
    }
    .logo-container img { height: 56px; }
    .nav-toggle-btn { display: flex; }
    .main-nav {
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        padding: 12px 20px 24px;
        background: var(--black);
        border-bottom: 1px solid #000000;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    }
    #nav-toggle:checked ~ .main-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }
    .nav-links a {
        padding: 14px 16px;
        font-size: 1.1rem;
    }
    .secondary-links {
        margin: 12px 0 0;
        padding: 12px 0 0;
        border-left: 0;
        border-top: 1px solid #333333;
    }
    .secondary-links .btn-intake {
        width: 100%;
        text-align: center;
    }
    #nav-toggle:checked ~ .nav-toggle-btn .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #nav-toggle:checked ~ .nav-toggle-btn .nav-toggle-bar:nth-child(2) { opacity: 0; }
    #nav-toggle:checked ~ .nav-toggle-btn .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
/* =========================================================
   4. FOOTER (pages.css base + jargon-family tweak)
   ========================================================= */
.site-footer {
    position: relative;
    z-index: 10;
    display: block;
    width: 100%;
    clear: both;
    overflow: hidden;
    isolation: isolate;
    background: var(--black);
    color: #888;
}
.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    min-height: 120px;
    padding: 28px 0;
    border-top: 1px solid #222;
    background: var(--black);
    color: #888;
    font-size: .82rem;
    text-align: center;
}
.footer-links ul,
.social-icon ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
}
.footer-links a,
.social-icon a {
    color: #888;
    text-decoration: none;
    transition: color .2s ease;
}
.footer-links a:hover,
.social-icon a:hover {
    color: var(--fluorescent-yellow);
}
.social-icon a {
    color: var(--white);
    font-size: 1.15rem;
}
/* --- Jargon-family footer override (visually identical to pages.css) --- */
.site-footer {
    padding: 32px 0;
    color: #777;
}
body.jargon-page-body > .site-footer .footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    min-height: 120px;
    padding: 28px 0;
    color: #888;
    font-size: .82rem;
    text-align: center;
}
.footer-links ul,
.social-icon ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
}
.footer-links a,
.social-icon a {
    color: #888;
    text-decoration: none;
}
.footer-links a:hover,
.social-icon a:hover {
    color: var(--lime);
}
.social-icon a {
    color: #fff;
    font-size: 1.15rem;
}
/* =========================================================
   5. RETURN TO TOP
   ========================================================= */
#return-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--black);
    border-radius: 50%;
    background: var(--fluorescent-yellow);
    color: var(--black);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, visibility .25s ease,
                transform .25s ease, background .2s ease;
}
#return-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#return-to-top:hover {
    background: var(--black);
    color: var(--fluorescent-yellow);
}
#return-to-top:focus-visible {
    outline: 3px solid #4f5961;
    outline-offset: 4px;
}
#return-to-top svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* =========================================================
   6. COOKIE CONSENT
   ========================================================= */
.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10000;
    max-width: 620px;
    padding: 22px;
    border: 1px solid var(--fluorescent-yellow);
    background: var(--black);
    color: var(--white);
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
}
.cookie-banner__content h2 {
    margin: 0 0 8px;
    color: var(--fluorescent-yellow);
    font-size: 1.15rem;
}
.cookie-banner__content p {
    margin: 6px 0;
    font-size: .9rem;
    line-height: 1.45;
}
.cookie-banner__content a {
    color: var(--fluorescent-yellow);
}
.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.cookie-button {
    padding: 10px 14px;
    border: 1px solid var(--fluorescent-yellow);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}
.cookie-button--light {
    background: transparent;
    color: var(--white);
}
.cookie-button--light:hover {
    background: #333;
}
.cookie-button--lime {
    background: var(--fluorescent-yellow);
    color: var(--black);
}
.cookie-button--lime:hover {
    background: var(--white);
}
.cookie-preferences {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, .55);
}
.cookie-preferences__panel {
    position: relative;
    width: min(100%, 560px);
    padding: 30px;
    border: 1px solid var(--line-light);
    border-radius: 12px;
    background: var(--white);
    color: var(--text-dark);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.cookie-preferences__panel h2 {
    margin: 0 35px 12px 0;
    color: var(--black);
    font-size: 1.5rem;
}
.cookie-preferences__panel p {
    margin: 0 0 10px;
    color: var(--text-muted);
    font: 400 .88rem/1.5 Arial, Helvetica, sans-serif;
}
.cookie-preferences__close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    background: transparent;
    color: var(--text-dark);
    font: 400 1.35rem/1 Arial, Helvetica, sans-serif;
}
.cookie-preferences__close:hover,
.cookie-preferences__close:focus-visible {
    border-color: var(--fluorescent-yellow);
    color: var(--black);
}
.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--line-light);
    cursor: pointer;
}
.cookie-option span {
    display: grid;
    gap: 5px;
}
.cookie-option strong {
    color: var(--text-dark);
    font: 700 .78rem/1.2 Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}
.cookie-option small {
    color: var(--text-muted);
    font: 400 .76rem/1.35 Arial, Helvetica, sans-serif;
}
.cookie-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--fluorescent-yellow);
}
.cookie-preferences__save {
    margin-top: 20px;
}
/* =========================================================
   7. LEGAL / PRIVACY PAGE (pages.css base + jargon .eyebrow)
   ========================================================= */
.eyebrow {
    margin: 0 0 9px;
    color: var(--lime);
    font: 700 .68rem/1 Arial, Helvetica, sans-serif;
    letter-spacing: .14em;
}
.legal-page {
    background: #0d0d0d;
    color: #ccc;
    font: 400 .95rem/1.7 Arial, Helvetica, sans-serif;
}
.legal-container {
    width: min(100% - 48px, 880px);
    margin: 0 auto;
}
.legal-hero {
    padding: 72px 0 40px;
    border-bottom: 1px solid #262626;
}
.legal-hero h1 {
    margin: 14px 0 10px;
    color: var(--lime,#cfff04);
    font: 900 clamp(2.2rem,6vw,3.6rem)/.92 NachoDisplay, Arial, Helvetica, sans-serif;
    letter-spacing: -.06em;
    text-transform: uppercase;
}
.legal-updated {
    color: #888;
    font: 400 .78rem/1.4 Arial, Helvetica, sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.legal-content {
    padding: 44px 0 80px;
}
.legal-content section {
    padding: 26px 0;
    border-bottom: 1px solid #1f1f1f;
}
.legal-content section:last-child {
    border-bottom: 0;
}
.legal-content h2 {
    margin: 0 0 12px;
    color: var(--lime,#cfff04);
    font: 900 clamp(1.3rem,3vw,1.9rem)/1.05 NachoDisplay, Arial, Helvetica, sans-serif;
    letter-spacing: -.04em;
    text-transform: uppercase;
}
.legal-content h3 {
    margin: 22px 0 8px;
    color: #fff;
    font: 700 .82rem/1.3 Arial, Helvetica, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.legal-content p {
    margin: 0 0 12px;
    color: #bbb;
}
.legal-content ul {
    margin: 0 0 14px;
    padding-left: 20px;
    color: #bbb;
}
.legal-content li {
    margin-bottom: 6px;
}
.legal-content a {
    color: var(--lime,#cfff04);
    text-decoration: underline;
}
.legal-note {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid var(--lime,#cfff04);
    border-radius: 8px;
    background: rgba(207,255,4,.06);
    color: #000000;
    font-size: .85rem;
}
.legal-table {
    width: 100%;
    margin: 0 0 14px;
    border-collapse: collapse;
    color: #bbb;
    font-size: .85rem;
}
.legal-table th,
.legal-table td {
    padding: 10px 12px;
    border: 1px solid #2a2a2a;
    text-align: left;
    vertical-align: top;
}
.legal-table th {
    color: #fff;
    font: 700 .72rem/1.3 Arial, Helvetica, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: #161616;
}
.legal-table td strong {
    color: #fff;
}
/* Cookies page: light table text only */
html body #cookies-we-set table.legal-table tbody td,
html body #cookies-we-set table.legal-table tbody td strong {
    color: #000000 !important;
}
html body #cookies-we-set table.legal-table tbody tr {
    background: #ffffff !important;
}
html body #cookies-we-set table.legal-table thead th {
    color: #ffffff !important;
    background: #161616 !important;
}
html body #cookies-we-set table.legal-table th,
html body #cookies-we-set table.legal-table td {
    border-color: #2a2a2a !important;
}
/* =========================================================
   8. INTER FALLBACK METRICS (CLS CURE FOR FONT SWAP)
   ========================================================= */
@font-face {
    font-family: "Inter-fallback";
    src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Roboto");
    font-weight: 100 900;
    font-style: normal;
    size-adjust: 107.64%;
    ascent-override: 90.20%;
    descent-override: 22.48%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Inter-fallback";
    src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Roboto");
    font-weight: 100 900;
    font-style: italic;
    size-adjust: 107.64%;
    ascent-override: 90.20%;
    descent-override: 22.48%;
    line-gap-override: 0%;
}