:root {
    --header-h: 64px;
    --header-h-scrolled: 56px;
    --container: 1240px;
    --text: #FFFFFF;
    --text-muted: #B7BAC0;
    --text-dim: #6B6F76;
    --border: rgba(255, 255, 255, 0.08);
    --gold-glow: rgba(220, 153, 10, 0.32);
    --radius-pill: 999px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sticky header */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 100;
    display: flex;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: height 0.3s var(--ease-out), background 0.3s var(--ease-out), backdrop-filter 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.site-header.is-scrolled {
    height: var(--header-h-scrolled);
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--border);
}

.site-header__inner {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    color: var(--text);
    text-decoration: none;
}

.nav-primary a,
.header-cta {
    text-decoration: none;
}

.brand img {
    width: 28px;
    height: 28px;
}

.nav-primary {
    display: none;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

@media (min-width: 880px) {
    .nav-primary { display: flex; }
}

.nav-primary a {
    position: relative;
    color: var(--text-muted);
    transition: color 0.2s var(--ease-out);
}

.nav-primary a:hover { color: var(--text); }

.nav-primary a::after {
    content: "";
    position: absolute;
    inset: auto 0 -6px 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}

.nav-primary a:hover::after,
.nav-primary a[aria-current="page"]::after {
    transform: scaleX(1);
}

.header-cta {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-pill);
    background: var(--gold);
    color: #1a1304;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: -0.005em;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

@media (min-width: 640px) {
    .site-header .header-cta { display: inline-flex; }
}

.nav-mobile .header-cta { display: inline-flex; }

.header-cta:hover {
    transform: translateY(-1px);
    background: var(--gold-light);
    box-shadow: 0 8px 24px -12px var(--gold-glow);
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: none;
    color: var(--text);
    cursor: pointer;
}

@media (min-width: 880px) {
    .nav-toggle { display: none; }
}

.nav-mobile {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    z-index: 99;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out);
}

.nav-mobile.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.nav-mobile a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--text);
    padding-block: 0.4rem;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}

.nav-mobile .header-cta {
    margin-top: 1rem;
    width: fit-content;
    font-size: 1rem;
    padding: 0.75rem 1.3rem;
}

/* Global footer (mirrors index.html + aios-offer footer) */
.site-footer {
    border-top: 1px solid var(--border);
    padding-block: 3rem 2rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    background: var(--black);
}

.site-footer .container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .site-footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr); }
}

.site-footer__brand img { width: 36px; height: 36px; margin-bottom: 0.85rem; }

.site-footer__brand h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    margin: 0 0 0.45rem;
}

.site-footer__brand p {
    color: var(--text-dim);
    margin: 0;
    max-width: 32ch;
    font-size: 0.9rem;
}

.site-footer__col h5 {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 500;
    margin: 0 0 0.85rem;
}

.site-footer__col a,
.site-footer__col span {
    display: block;
    color: var(--text-muted);
    padding-block: 0.3rem;
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

.site-footer__col a:hover { color: var(--text); }

.site-footer__service-areas {
    border-top: 1px solid var(--border);
    padding-block: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-dim);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.7rem;
    align-items: baseline;
}

.site-footer__service-areas .service-areas__label {
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.74rem;
    margin-right: 0.35rem;
}

.site-footer__service-areas a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

.site-footer__service-areas a:hover { color: var(--text); }

.site-footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    color: var(--text-dim);
    font-size: 0.82rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}


/* ========================================
   ROADMAP PAGE — The AI Adoption Roadmap
   Created 07/20/26 - 13:03 EDT
   5-step adoption ladder table (adapted from Boris Cherny's
   "Steps of AI Adoption"), caveman-plain business language.
   Shares the global header/footer mirror above (from pricing-page.css).
   ======================================== */

.roadmap-page {
    background: var(--black);
    color: var(--text-100, #fff);
    font-family: var(--font-body);
}

/* HERO */
.roadmap-hero {
    padding: calc(var(--header-h) + 5rem) 1.5rem 3.5rem;
    text-align: center;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(220, 153, 10, 0.10), transparent 70%),
        var(--black);
}

.roadmap-hero-inner {
    max-width: 820px;
    margin-inline: auto;
}

.roadmap-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--type-eyebrow, 0.72rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    border: 1px solid rgba(220, 153, 10, 0.35);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    margin-bottom: 1.5rem;
}

.roadmap-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.roadmap-hero h1 .accent { color: var(--gold); }

.roadmap-hero-subhead {
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 620px;
    margin-inline: auto;
}

/* TABLE SECTION */
.roadmap-table-section {
    padding: 1rem 1.5rem 4rem;
}

.roadmap-table-wrap {
    max-width: 1400px;
    margin-inline: auto;
}

table.roadmap-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
    line-height: 1.55;
}

.roadmap-table thead th {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    background: rgba(220, 153, 10, 0.08);
    border: 1px solid var(--border);
    border-bottom: 2px solid rgba(220, 153, 10, 0.45);
    padding: 0.9rem 1rem;
    vertical-align: bottom;
}

.roadmap-table tbody td {
    border: 1px solid var(--border);
    padding: 1.15rem 1rem;
    vertical-align: top;
    color: var(--text-85, rgba(255,255,255,0.84));
}

.roadmap-table .step-cell {
    min-width: 130px;
}

.step-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-100, #fff);
    margin-bottom: 0.35rem;
}

.step-num { color: var(--gold); }

.step-role {
    display: block;
    font-size: 0.82rem;
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.4;
}

.workers-cell {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

.roadmap-table td p + p { margin-top: 0.7rem; }

.roadmap-table ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
}

.climb-row td {
    background: rgba(220, 153, 10, 0.05);
    border: 1px solid var(--border);
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: var(--text-85, rgba(255,255,255,0.84));
}

.climb-row strong {
    color: var(--gold);
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

/* Mobile: collapse the table into stacked step cards */
@media (max-width: 900px) {
    .roadmap-table thead { display: none; }
    .roadmap-table, .roadmap-table tbody, .roadmap-table tr, .roadmap-table td {
        display: block;
        width: 100%;
    }
    .roadmap-table tr.step-row {
        border: 1px solid var(--border);
        border-radius: 14px;
        overflow: hidden;
        margin-bottom: 1.1rem;
        background: var(--offer-card-bg, rgba(255,255,255,0.025));
    }
    .roadmap-table tbody td {
        border: none;
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.15rem;
    }
    .roadmap-table tbody tr td:last-child { border-bottom: none; }
    .roadmap-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-family: var(--font-heading);
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: var(--gold);
        margin-bottom: 0.45rem;
    }
    .roadmap-table .step-cell {
        background: rgba(220, 153, 10, 0.08);
    }
    .workers-cell { font-size: 1rem; }
    .climb-row td {
        border: 1px solid rgba(220, 153, 10, 0.25);
        border-radius: 14px;
        margin-bottom: 1.1rem;
    }
}

/* CLOSING CTA */
.roadmap-cta {
    padding: 4rem 1.5rem 5rem;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 60% at 50% 100%, rgba(220, 153, 10, 0.08), transparent 70%),
        var(--black);
}

.roadmap-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.roadmap-cta p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.roadmap-cta .cta-button {
    display: inline-block;
    width: auto;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--black);
    background: var(--gold);
    border-radius: 999px;
    padding: 1rem 2.4rem;
    text-decoration: none;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    box-shadow: 0 0 0 rgba(220, 153, 10, 0);
}

.roadmap-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow);
}

.roadmap-credit {
    margin-top: 3rem;
    font-size: 0.78rem;
    color: var(--text-dim);
    max-width: 560px;
    margin-inline: auto;
    line-height: 1.5;
}

.roadmap-credit a { color: var(--text-dim); text-decoration: underline; }
