/* ==========================================================================
   JANIX Marketing Site - Design System (brand guide v2)

   Barlow Condensed (display, light italic) headlines + Source Code Pro (mono)
   body/labels/nav/buttons. Palette: #002850 blue (bg), #F2ECE3 cream (text),
   #DAC304 yellow + #BAB0CC lavender + #97244D magenta accents.
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Source Code Pro', ui-monospace, monospace;
    background: #002850;
    color: #f2ece3;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.15rem;
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
}

p {
    color: rgba(242, 236, 227, 0.55);
    line-height: 1.7;
}

.text-accent {
    color: #dac304;
}

.text-accent-blue {
    color: #bab0cc;
}

.text-muted {
    color: rgba(242, 236, 227, 0.4);
}

/* --- Layout Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Navigation --- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-wordmark {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo {
    height: 26px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
    letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f2ece3;
}

.nav-cta {
    font-size: 0.85rem;
    color: #bab0cc !important;
    border: 1px solid #bab0cc;
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    transition: all 0.25s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #bab0cc;
    color: #002850 !important;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    margin: 5px 0;
    border-radius: 1px;
    transition: all 0.3s;
}

/* --- Hero Sections --- */
.hero {
    padding: 10rem 2rem 6rem;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .subtitle {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: rgba(242, 236, 227, 0.55);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: #dac304;
    color: #002850;
}

.btn-primary:hover {
    background: #e6cf1a;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #f2ece3;
    background: rgba(255, 255, 255, 0.05);
}

/* Primary "Get Started" CTA - brand yellow #DAC304 with navy text. */
.btn-get-started {
    background: #dac304;
    color: #f2ece3;
}

.btn-get-started:hover {
    background: #e6cf1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(236, 2, 68, 0.35);
}

.btn-get-started:focus-visible {
    outline: 2px solid #f2ece3;
    outline-offset: 3px;
}

/* Compact "Get Started" CTA for the sticky nav bar (#3465). */
.nav-cta-get-started {
    font-size: 0.85rem;
    font-weight: 500;
    color: #f2ece3 !important;
    background: #dac304;
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    transition: all 0.25s;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.nav-cta-get-started:hover {
    background: #e6cf1a;
    box-shadow: 0 2px 12px rgba(236, 2, 68, 0.4);
}

.nav-cta-get-started:focus-visible {
    outline: 2px solid #f2ece3;
    outline-offset: 2px;
}

.btn .arrow {
    transition: transform 0.25s;
}

.btn:hover .arrow {
    transform: translateX(3px);
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Sections --- */
section {
    padding: 6rem 2rem;
}

.section-dark {
    /* Brand blue (#002850) - replaces the brand-guide brown as the brand surface. */
    background: #002850;
}

.section-alt {
    background: #06294d;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #dac304;
    margin-bottom: 1rem;
}

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: rgba(123, 158, 200, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-family: 'Source Code Pro', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
    color: #f2ece3;
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(242, 236, 227, 0.5);
}

/* --- Two-Column Layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* --- Card Links (Program Types) --- */
.card-link {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.card-link:hover {
    border-color: rgba(123, 158, 200, 0.4);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
}

.card-link h3 {
    margin-bottom: 0.75rem;
    color: #f2ece3;
}

.card-link p {
    margin-bottom: 1.5rem;
}

.card-link .link-arrow {
    font-size: 0.9rem;
    color: #bab0cc;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Social Proof / Stats --- */
.proof-bar {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-bar .label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(242, 236, 227, 0.4);
    margin-bottom: 0.5rem;
}

.proof-bar .name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    color: #f2ece3;
}

/* --- Privacy Promise --- */
.promise-block {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.promise-block h2 {
    margin-bottom: 1.25rem;
}

.promise-block p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- Bottom CTA Section --- */
.bottom-cta {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #002850 0%, #06294d 100%);
}

.bottom-cta h2 {
    margin-bottom: 1.25rem;
}

.bottom-cta p {
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

/* --- Pain Points --- */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.pain-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
}

.pain-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.pain-item h4 {
    font-size: 1rem;
    color: #f2ece3;
    margin-bottom: 0.35rem;
}

.pain-item p {
    font-size: 0.88rem;
    color: rgba(242, 236, 227, 0.45);
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(242, 236, 227, 0.7);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #f2ece3;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #bab0cc;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: #06294d;
    color: #f2ece3;
}

/* Honeypot - hidden from humans */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    tab-index: -1;
}

/* Success state */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.form-success .checkmark {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    font-size: 1.25rem;
    color: #f2ece3;
    margin-bottom: 0.75rem;
}

/* Email capture (conferences) */
.email-capture {
    display: flex;
    gap: 0.75rem;
    max-width: 440px;
    margin: 0 auto;
}

.email-capture input {
    flex: 1;
    padding: 0.8rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: #f2ece3;
    font-family: inherit;
    font-size: 0.95rem;
}

.email-capture input:focus {
    outline: none;
    border-color: #bab0cc;
}

.email-capture .btn {
    flex-shrink: 0;
}

/* --- Contact Page Info --- */
.contact-info h2 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    font-size: 1.15rem;
    color: #f2ece3;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}

.contact-method-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.contact-method-text h4 {
    font-size: 0.95rem;
    color: #f2ece3;
    margin-bottom: 0.25rem;
}

.contact-method-text p {
    font-size: 0.9rem;
    color: rgba(242, 236, 227, 0.5);
}

.contact-method-text a {
    color: #bab0cc;
    transition: color 0.2s;
}

.contact-method-text a:hover {
    color: #c9c1d8;
}

/* --- Footer --- */
.site-footer {
    background: #001a36;
    border-top: 1px solid rgba(242, 236, 227, 0.08);
    padding: 3.5rem 2rem 2rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
}
.footer-logo { height: 24px; width: auto; }
.footer-tag {
    font-family: 'Source Code Pro', monospace;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: #bab0cc;
    margin: 1rem 0 0.9rem;
}
.footer-addr {
    font-family: 'Source Code Pro', monospace;
    font-style: normal;
    font-size: 0.72rem;
    line-height: 1.6;
    color: rgba(242, 236, 227, 0.45);
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    align-content: flex-start;
}
.footer-nav a {
    font-family: 'Source Code Pro', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    color: rgba(242, 236, 227, 0.6);
    transition: color 0.2s;
}
.footer-nav a:hover { color: #dac304; }
.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(242, 236, 227, 0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-copy {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.72rem;
    color: rgba(242, 236, 227, 0.4);
}
.footer-mail {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.72rem;
    color: rgba(242, 236, 227, 0.6);
    transition: color 0.2s;
}
.footer-mail:hover { color: #dac304; }
@media (min-width: 720px) {
    .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
    .footer-nav { max-width: 420px; justify-content: flex-end; }
}

/* --- Scroll Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-nav {
        height: 56px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 21, 43, 0.99);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 1.5rem 1.5rem 2.5rem;
        gap: 0.25rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 0 0.25rem;
        border-bottom: 1px solid rgba(242, 236, 227, 0.07);
    }

    .nav-links .nav-cta-get-started {
        margin-top: auto;
        justify-content: center;
        min-height: 52px;
        border-bottom: none;
        font-size: 0.85rem;
    }

    .nav-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero {
        padding: 8rem 1.5rem 4rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .email-capture {
        flex-direction: column;
    }

    .email-capture .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.95rem 1.75rem;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .nav-cta-get-started {
        padding: 0.6rem 1.1rem;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   Legal pages (privacy / terms) - shared layout, readable long-form text.
   ========================================================================== */
.legal { padding: 7rem 0 5rem; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 0.5rem; color: #f2ece3; }
.legal .updated { color: rgba(242, 236, 227, 0.55); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; color: #f2ece3; }
.legal h3 { font-size: 1.25rem; margin: 1.75rem 0 0.75rem; color: #f2ece3; }
.legal p { margin-bottom: 1rem; color: rgba(242, 236, 227, 0.82); line-height: 1.75; }
.legal ul, .legal ol { margin: 0 0 1.25rem 1.25rem; }
.legal li { margin-bottom: 0.5rem; color: rgba(242, 236, 227, 0.82); line-height: 1.7; }
.legal a { color: #bab0cc; }
.legal strong { color: #f2ece3; }
.legal table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.legal th, .legal td { border: 1px solid rgba(255, 255, 255, 0.12); padding: 0.6rem 0.8rem; text-align: left; color: rgba(242, 236, 227, 0.82); }
.legal th { background: rgba(255, 255, 255, 0.04); color: #f2ece3; }
.legal .highlight { background: rgba(123, 158, 200, 0.08); border-left: 3px solid #bab0cc; padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 4px; }
.legal .important { background: rgba(201, 184, 92, 0.08); border-left: 3px solid #dac304; padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 4px; }

/* ==========================================================================
   Cookie consent banner (gates GA4).
   ========================================================================== */
.consent-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
    max-width: 540px; margin: 0 auto;
    background: #06294d; border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px; padding: 1rem 1.25rem;
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem;
    z-index: 1000; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.consent-banner p { margin: 0; font-size: 0.85rem; color: rgba(242, 236, 227, 0.82); flex: 1 1 240px; line-height: 1.5; }
.consent-banner a { color: #bab0cc; }
.consent-actions { display: flex; gap: 0.5rem; margin-left: auto; }
.btn-consent {
    font-family: inherit; font-size: 0.85rem; font-weight: 500;
    padding: 0.45rem 1.1rem; border-radius: 6px; border: none; cursor: pointer;
    background: #dac304; color: #002850;
}
.btn-consent:hover { background: #e6cf1a; }
.btn-consent-ghost { background: transparent; color: rgba(242, 236, 227, 0.82); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-consent-ghost:hover { color: #f2ece3; }
[hidden] { display: none !important; }

/* ==========================================================================
   Pricing page.
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1rem; align-items: stretch; }
.price-card { position: relative; background: #06294d; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 2rem 1.5rem; display: flex; flex-direction: column; }
.price-card.featured { border-color: #dac304; box-shadow: 0 0 0 1px #dac304; }
.price-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: #dac304; color: #002850; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 20px; white-space: nowrap; }
.price-tier { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; color: #f2ece3; margin-bottom: 0.5rem; }
.price-amount { font-family: 'Barlow Condensed', sans-serif; font-size: 2.6rem; color: #f2ece3; line-height: 1; margin-bottom: 0.25rem; }
.price-amount-text { font-size: 1.8rem; }
.price-per { font-size: 1rem; color: rgba(242, 236, 227, 0.55); font-family: 'Source Code Pro', monospace; }
.price-rate { color: #dac304; font-weight: 500; font-size: 0.95rem; margin-bottom: 0.75rem; }
.price-blurb { color: rgba(242, 236, 227, 0.55); font-size: 0.9rem; margin-bottom: 1.25rem; }
.price-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.price-features li { color: rgba(242, 236, 227, 0.82); font-size: 0.9rem; padding: 0.4rem 0 0.4rem 1.4rem; position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.price-features li::before { content: '\2713'; position: absolute; left: 0; color: #bab0cc; }
.price-cta { display: flex; width: 100%; justify-content: center; text-align: center; margin-top: auto; }
.pricing-fine-print { text-align: center; color: rgba(242, 236, 227, 0.55); font-size: 0.85rem; max-width: 680px; margin: 2.5rem auto 0; line-height: 1.6; }
.pricing-fine-print a, .price-blurb a { color: #bab0cc; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Brand guide refinements - applied over the base rules above.
   ========================================================================== */

/* Navy translucent nav bar (was near-black). */
.site-nav { background: rgba(0, 31, 61, 0.9); border-bottom-color: rgba(242, 236, 227, 0.1); }

/* Display headlines: Barlow Condensed Light Italic. */
h1, h2, .hero h1, .price-tier { font-style: italic; font-weight: 300; }
h1, h2 { letter-spacing: -0.01em; }

/* Mono, uppercase treatment for nav + labels + buttons (Source Code Pro). */
.nav-links a { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.btn { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; font-size: 0.82rem; }
.section-label { font-family: 'Source Code Pro', monospace; }

/* Primary action = filled yellow with navy text (contrast). */
.btn-get-started { color: #002850; }
.btn-get-started:hover { box-shadow: 0 4px 16px rgba(218, 195, 4, 0.3); }
.btn-consent { text-transform: uppercase; letter-spacing: 0.06em; }

/* Nav CTA = yellow outline pill (brand guide website reference). */
.nav-cta-get-started {
    background: transparent;
    color: #dac304 !important;
    border: 1px solid #dac304;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}
.nav-cta-get-started:hover { background: #dac304; color: #002850 !important; box-shadow: none; }

/* Tertiary magenta accent - the "Most popular" badge. */
.price-badge { background: #97244d; color: #f2ece3; }

/* Lavender links in prose / legal. */
.legal a, .pricing-fine-print a, .price-blurb a { color: #bab0cc; }

/* ==========================================================================
   Sticky mobile CTA + email popup (lead capture, site-wide).
   ========================================================================== */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    display: none;
    align-items: center; gap: 0.75rem;
    padding: 0.7rem 1rem;
    background: rgba(0, 26, 54, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(218, 195, 4, 0.4);
    transform: translateY(100%);
    transition: transform 0.25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta-btn {
    flex: 1; text-align: center;
    background: #dac304; color: #002850;
    font-family: 'Source Code Pro', monospace;
    text-transform: uppercase; letter-spacing: 0.08em;
    font-size: 0.8rem; font-weight: 600;
    padding: 0.8rem 1rem; border-radius: 3px;
}
.sticky-cta button {
    background: none; border: none; color: rgba(242, 236, 227, 0.6);
    font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 0.4rem;
}
@media (max-width: 760px) { .sticky-cta:not([hidden]) { display: flex; } }

.popup-overlay {
    position: fixed; inset: 0; z-index: 1100;
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 17, 36, 0.72);
    opacity: 0; transition: opacity 0.25s ease;
}
.popup-overlay.show { opacity: 1; }
.popup-card {
    position: relative;
    max-width: 440px; width: 100%;
    background: #06294d;
    border: 1px solid rgba(242, 236, 227, 0.14);
    border-top: 3px solid #dac304;
    border-radius: 8px;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.7);
}
.popup-close {
    position: absolute; top: 0.6rem; right: 0.9rem;
    background: none; border: none; color: rgba(242, 236, 227, 0.6);
    font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.popup-eyebrow {
    font-family: 'Source Code Pro', monospace; text-transform: uppercase;
    letter-spacing: 0.16em; font-size: 0.68rem; color: #dac304; margin-bottom: 0.8rem;
}
.popup-card h3 {
    font-family: 'Barlow Condensed', sans-serif; font-style: italic; font-weight: 300;
    font-size: 1.8rem; line-height: 1.05; color: #f2ece3; margin-bottom: 0.5rem;
}
.popup-sub { color: rgba(242, 236, 227, 0.6); font-size: 0.85rem; margin-bottom: 1.4rem; }
.popup-row { display: flex; gap: 0.5rem; }
.popup-row input {
    flex: 1; background: rgba(242, 236, 227, 0.06);
    border: 1px solid rgba(242, 236, 227, 0.14); border-radius: 2px;
    padding: 0.8rem 0.9rem; color: #f2ece3;
    font-family: 'Source Code Pro', monospace; font-size: 0.85rem;
}
.popup-row input:focus { outline: none; border-color: #dac304; }
.popup-row button {
    background: #dac304; color: #002850; border: none; border-radius: 2px;
    padding: 0 1.2rem; font-family: 'Source Code Pro', monospace;
    text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem;
    font-weight: 600; cursor: pointer;
}
.popup-error { color: #e88; font-size: 0.78rem; margin-top: 0.7rem; }

/* ==========================================================================
   a11y + contrast polish (v2).
   ========================================================================== */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: #dac304; color: #002850;
    padding: 0.7rem 1.1rem; border-radius: 0 0 4px 0;
    font-family: 'Source Code Pro', monospace; text-transform: uppercase;
    letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 600;
}
.skip-link:focus { left: 0; }
#content:focus { outline: none; }
.popup-close, .sticky-cta button { min-width: 44px; min-height: 44px; }
/* Lift body-text contrast on the blue field; keep cream sections dark. */
p { color: rgba(242, 236, 227, 0.72); }
.band-cream p, .band-cream li { color: rgba(0, 40, 80, 0.8); }
