:root {
    --brand-yellow: #FFC300;
    --brand-navy: #0B1F3A;
    --accent-blue: #2563EB;
    --bg: #FFFFFF;
    --surface: #F8FAFC;
    --text: #1E293B;
    --muted: #64748B;
    --border: #E2E8F0;
    --shadow: 0 12px 30px rgba(11, 31, 58, 0.08);
    --shadow-hover: 0 18px 40px rgba(11, 31, 58, 0.12);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
    line-height: 1.65;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 4rem);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.legal,
.contact-strip {
    display: flex;
    align-items: center;
}

.brand {
    gap: 0.08rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-logo {
    display: block;
    width: auto;
    height: 3.8rem;
}

.brand-text {
    display: inline-flex;
    align-items: center;
    margin-left: 0.05rem;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: 3.6rem;
    font-weight: 900;
    color: #FFC300;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.brand-name {
    color: inherit;
    margin-left: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 640px) {
    .brand-logo {
        height: 3rem;
    }

    .brand-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .brand-logo {
        height: 2.6rem;
    }

    .brand-text {
        font-size: 1.05rem;
    }
}

.site-nav {
    gap: 0.45rem;
    font-size: 0.95rem;
}

.site-nav>a,
.nav-dropdown>.nav-link {
    padding: 0.6rem 0.8rem;
    color: var(--brand-navy);
    text-decoration: none;
    border-radius: 999px;
    transition: background 180ms ease, transform 180ms ease, color 180ms ease;
    position: relative;
}

.site-nav>a:hover,
.nav-dropdown>.nav-link:hover,
.site-nav a[aria-current='page'] {
    background: rgba(255, 195, 0, 0.16);
    color: var(--brand-navy);
    transform: translateY(-1px);
}

.site-nav a[aria-current='page'] {
    background: var(--brand-yellow);
    color: var(--brand-navy);
}

.nav-cta {
    color: var(--brand-navy) !important;
    background: var(--brand-yellow) !important;
}

.nav-toggle {
    display: none;
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 22rem;
    display: grid;
    gap: 0.6rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(11, 31, 58, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 30;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    text-decoration: none;
    color: var(--brand-navy);
    background: #ffffff;
    transition: background 180ms ease, transform 180ms ease;
}

.dropdown-panel a:hover {
    background: rgba(255, 195, 0, 0.12);
    transform: translateX(2px);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(245, 247, 255, 0.98);
}

.service-icon-ai {
    background: rgba(255, 230, 153, 0.28);
}

.service-icon-logistics {
    background: rgba(215, 237, 255, 0.75);
}

.service-icon-compliance {
    background: rgba(225, 249, 228, 0.72);
}

.dropdown-label strong {
    display: block;
    font-size: 0.98rem;
}

.dropdown-label span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.hero,
.page-hero,
.dashboard-hero,
.form-layout,
.split-section,
.footer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.hero h1,
.page-hero h1,
.form-layout h1,
.dashboard-hero h1 {
    max-width: 11ch;
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(2.6rem, 6.2vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.hero p,
.page-hero p,
.form-layout p,
.split-section p,
.section-heading p {
    max-width: 44rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--brand-navy) !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.button,
button.button {
    display: inline-flex;
    min-height: 2.85rem;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.1rem;
    color: var(--brand-navy);
    background: var(--brand-yellow);
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(255, 195, 0, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
button.button:hover {
    background: #E6B000;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 195, 0, 0.28);
}

.button-secondary,
.button-light {
    color: var(--brand-navy);
    background: var(--bg);
    border: 1px solid var(--border);
    box-shadow: none;
}

.hero-panel,
.stat-stack,
.content-panel,
.lead-form,
.metric-grid article,
.article-list article,
.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-panel {
    display: grid;
    gap: 0.8rem;
    padding: 1.4rem;
}

.hero-panel-card {
    padding: 0.95rem 1rem;
    background: linear-gradient(135deg, rgba(255, 195, 0, 0.14), rgba(37, 99, 235, 0.08));
    border-radius: 14px;
}

.hero-panel-card span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
}

.hero-panel strong,
.stat-stack strong,
.metric-grid strong {
    display: block;
    margin-top: 0.25rem;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(1.8rem, 3.3vw, 2.8rem);
    line-height: 1;
}

.intro-band,
.section-heading,
.newsletter,
.content-panel,
.article-detail {
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 2rem;
    align-items: start;
}

.intro-panel {
    display: grid;
    gap: 1rem;
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 26px;
    box-shadow: 0 26px 48px rgba(11, 31, 58, 0.08);
}

.intro-panel-header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}

.intro-panel-header p {
    margin: 0;
    color: var(--brand-navy);
    font-size: 0.98rem;
    line-height: 1.6;
}

.intro-panel-list {
    display: grid;
    gap: 0.9rem;
}

.intro-panel-item {
    padding: 1rem 1.1rem;
    background: #FFFFFF;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 18px;
}

.intro-panel-item strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
    color: var(--brand-navy);
}

.intro-panel-item span {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


.feature-grid {
    gap: 1.5rem;
}

.feature-grid article {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 24px;
    padding: 1.6rem;
}

.feature-grid article h3 {
    margin-top: 1rem;
}

.feature-grid article p {
    margin: 0.75rem 0 0;
    color: var(--muted);
}

.split-section {
    position: relative;
    background: linear-gradient(90deg, #FFFFFF 56%, rgba(255, 195, 0, 0.12) 100%);
    border-radius: 28px;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.split-section>div:first-child {
    padding-right: 1rem;
}

.split-section>div:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-stack {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.stat-stack strong {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    color: var(--brand-navy);
}

.stat-stack span {
    display: block;
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1rem;
    max-width: 20rem;
}

.section-heading {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: 0.5rem;
}

.section-heading.solutions-panel {
    display: grid;
    grid-template-columns: 1fr minmax(18rem, 22rem);
    gap: 2rem;
    align-items: center;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
    background: linear-gradient(180deg, rgba(250, 251, 255, 0.98), rgba(255, 255, 255, 1));
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 32px;
    box-shadow: 0 28px 60px rgba(37, 99, 235, 0.08);
}

.solution-text h2 {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.05;
    max-width: 42rem;
}

.solution-text p {
    margin: 1.1rem 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 44rem;
}

.solutions-sidebar {
    display: grid;
    gap: 0.9rem;
    justify-self: end;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 195, 0, 0.22);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.08);
}

.solutions-sidebar .eyebrow {
    margin-bottom: 1rem;
}

.solution-pill {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: var(--brand-yellow);
    color: var(--brand-navy);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 16px 34px rgba(255, 195, 0, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.solution-pill:hover {
    transform: translateY(-1px);
    background: #E6B000;
    box-shadow: 0 20px 36px rgba(255, 195, 0, 0.28);
}

.solution-pill-more {
    background: rgba(255, 195, 0, 0.16);
    color: var(--brand-navy);
}

.solution-pill-more:hover {
    background: rgba(255, 195, 0, 0.26);
}

@media (max-width: 900px) {
    .section-heading.solutions-panel {
        grid-template-columns: 1fr;
    }

    .solutions-sidebar {
        justify-self: stretch;
        padding: 1rem;
    }

    .solution-pill {
        justify-content: center;
    }
}

.service-grid {
    gap: 1.5rem;
    padding-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    background: #FFFFFF;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 30px;
    box-shadow: 0 28px 50px rgba(11, 31, 58, 0.08);
    padding: 2rem;
    min-height: 20rem;
    display: grid;
    gap: 1.25rem;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 70px rgba(11, 31, 58, 0.12);
    border-color: rgba(255, 195, 0, 0.2);
}

.service-card-icon,
.service-card span {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 195, 0, 0.16);
    color: var(--brand-navy);
}

.service-card--ai-hs-classification .service-card-icon {
    background: linear-gradient(135deg, rgba(255, 230, 153, 0.8), rgba(37, 99, 235, 0.14));
}

.service-card--logistics-management .service-card-icon {
    background: linear-gradient(135deg, rgba(215, 237, 255, 0.9), rgba(37, 99, 235, 0.16));
}

.service-card--cross-border-compliance .service-card-icon {
    background: linear-gradient(135deg, rgba(225, 249, 228, 0.9), rgba(37, 99, 235, 0.16));
}

.service-card h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2vw, 1.9rem);
}

.service-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
}

.service-card a:hover {
    text-decoration: underline;
}

@media (max-width: 1080px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.industry-section {
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem);
    background: transparent;
}

.industry-heading h2 {
    margin-top: 0.75rem;
    max-width: 45rem;
}

.industry-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.75rem;
}

.industry-card {
    background: #FFFFFF;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.industry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(11, 31, 58, 0.08);
}

.industry-card h3 {
    margin-bottom: 0.75rem;
}

.industry-card p {
    margin: 0;
    color: var(--muted);
}

.contact-cta {
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
    margin: 0 clamp(1rem, 5vw, 5rem) 2rem;
    background: linear-gradient(135deg, var(--brand-navy), #17324f);
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(11, 31, 58, 0.16);
    color: #ffffff;
}

.contact-cta h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.contact-cta .button,
.contact-cta .button-secondary {
    margin-top: 1.5rem;
}

.contact-cta .button:hover,
.contact-cta .button-secondary:hover {
    transform: translateY(-2px);
}

.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.service-tab-button {
    border: 1px solid rgba(11, 31, 58, 0.12);
    background: #ffffff;
    color: var(--brand-navy);
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.service-tab-button.active,
.service-tab-button:hover {
    background: var(--brand-yellow);
    border-color: rgba(255, 195, 0, 0.55);
}

.service-description {
    display: none;
    margin-top: 2rem;
}

.service-description.active {
    display: block;
}

.industry-card ul,
.service-card ul {
    margin-top: 1rem;
    padding-left: 1.25rem;
}

.industry-card ul li,
.service-card ul li {
    margin-bottom: 0.65rem;
    color: var(--muted);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(11, 31, 58, 0.72);
    z-index: 60;
}

.modal-backdrop.open {
    display: flex;
}

.modal-dialog {
    width: min(100%, 34rem);
    background: #ffffff;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 32px 80px rgba(11, 31, 58, 0.22);
    position: relative;
}

.modal-dialog h2 {
    margin-top: 0.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-dialog p:last-of-type {
    margin-bottom: 1.5rem;
}

.intro-band {
    color: var(--bg);
    background: linear-gradient(135deg, var(--brand-navy), #17324f);
}

.intro-band h2,
.section-heading h2,
.split-section h2,
.newsletter h2,
.content-panel h2 {
    max-width: 14ch;
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.feature-grid,
.service-grid,
.metric-grid,
.admin-grid,
.article-list,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.feature-grid article,
.service-card,
.article-list article,
.metric-grid article {
    padding: 1.5rem;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-grid article:hover,
.service-card:hover,
.article-list article:hover,
.metric-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 195, 0, 0.35);
    box-shadow: var(--shadow-hover);
}

.feature-icon,
.service-card span {
    display: inline-grid;
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: 1rem;
    place-items: center;
    color: var(--brand-navy);
    background: linear-gradient(135deg, var(--brand-yellow), #FFE28A);
    border-radius: 12px;
    font-weight: 700;
}

.service-grid.wide,
.article-list,
.admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card a,
.article-list a,
.text-link {
    color: var(--accent-blue);
    font-weight: 700;
}

.compact {
    grid-template-columns: 1fr;
    padding-bottom: 2rem;
}

.compact h1 {
    max-width: 16ch;
}

.stat-stack {
    padding: 2rem;
}

.newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, #FFF6D6, #FFFFFF);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 2rem clamp(1rem, 5vw, 5rem) 0;
}

.newsletter-copy {
    max-width: 32rem;
}

.newsletter-form {
    display: flex;
    gap: 0.8rem;
    align-items: end;
}

label {
    display: grid;
    gap: 0.35rem;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand-yellow);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.16);
}

textarea {
    border-radius: 16px;
}

.lead-form {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.auth-page {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    min-height: calc(100vh - 7rem);
    align-items: center;
    padding: clamp(2rem, 4vw, 4rem);
}

.auth-page:not(.auth-split) .auth-panel {
    display: grid;
    gap: 1.4rem;
    padding: clamp(2.25rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(255, 195, 0, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 32px;
    box-shadow: 0 28px 80px rgba(11, 31, 58, 0.08);
}

.auth-page.auth-split {
    align-items: stretch;
}

.auth-page.auth-split > .auth-panel {
    display: grid;
    gap: 1.4rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.auth-page.auth-split > .auth-card {
    padding: 2rem;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    box-shadow: 0 32px 90px rgba(11, 31, 58, 0.08);
}

.auth-panel h1 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    line-height: 1;
}

.auth-panel p {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.auth-benefits {
    display: grid;
    gap: 1rem;
}

.auth-benefit {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 31, 58, 0.08);
}

.auth-benefit strong {
    display: block;
    font-size: 1rem;
    color: var(--brand-navy);
}

.auth-benefit span {
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-card {
    padding: 2rem;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    box-shadow: 0 32px 90px rgba(11, 31, 58, 0.08);
}

.auth-form {
    width: 100%;
    display: grid;
    gap: 1.3rem;
}

.auth-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--brand-navy);
    font-weight: 700;
}

.auth-form input {
    border-radius: 18px;
    padding: 0.95rem 1rem;
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-actions a,
.auth-footer a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
}

.auth-actions a:hover,
.auth-footer a:hover {
    text-decoration: underline;
}

.auth-footer {
    display: grid;
    gap: 0.7rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-footer span {
    display: block;
}

@media (max-width: 900px) {
    .auth-page {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .auth-panel {
        order: 2;
    }
}

.success,
.error,
.hint {
    margin: 0;
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.success {
    color: #145c32;
    background: #ddf7e7;
}

.error {
    color: #7c1d1d;
    background: #fde2e2;
}

.hint {
    color: var(--muted);
    background: var(--surface);
}

.contact-strip {
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.dashboard-hero {
    padding-bottom: 1rem;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th,
td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.lead-card {
    display: grid;
    gap: 0.4rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.article-detail {
    max-width: 58rem;
}

.article-detail h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
}

.contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
    margin: 0 clamp(1rem, 5vw, 5rem) 2rem;
    color: var(--bg);
    background: linear-gradient(135deg, var(--brand-navy), #17324f);
    border-radius: var(--radius);
}

.contact-cta h2 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.12;
}

.contact-cta .button-secondary {
    color: var(--brand-navy);
    background: var(--bg);
    border: 0;
    box-shadow: none;
}

.check-list {
    font-family: Verdana, Geneva, sans-serif;
}

.site-footer {
    color: var(--bg);
    background: linear-gradient(135deg, var(--brand-navy), #10253f);
}

.footer-cta {
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-cta h2 {
    max-width: 18ch;
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 1.4rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.footer-grid h3 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-panel-card,
.feature-grid article,
.service-card,
.industry-card,
.split-section,
.newsletter,
.contact-cta,
.intro-band,
.section-heading {
    will-change: opacity, transform;
}

.hero-panel-card {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hero-panel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(11, 31, 58, 0.12);
}

.hero-panel-card strong,
.stat-stack strong {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

.footer-grid a {
    display: block;
    margin: 0.35rem 0;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--brand-yellow);
}

.legal {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 5vw, 5rem) 2rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
        padding: 0.6rem 0.8rem;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 10px;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .hero,
    .page-hero,
    .dashboard-hero,
    .form-layout,
    .split-section,
    .footer-cta,
    .feature-grid,
    .service-grid,
    .service-grid.wide,
    .article-list,
    .admin-grid,
    .metric-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-hero h1,
    .form-layout h1,
    .dashboard-hero h1 {
        font-size: clamp(2.4rem, 14vw, 3.8rem);
    }

    .newsletter,
    .newsletter-form,
    .contact-cta {
        display: grid;
        align-items: stretch;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 0.8rem 1rem;
    }

    .hero,
    .page-hero,
    .dashboard-hero,
    .form-layout,
    .split-section,
    .footer-cta {
        padding: 2.25rem 1rem;
    }

    .feature-grid,
    .service-grid,
    .article-list,
    .metric-grid,
    .admin-grid,
    .footer-grid,
    .intro-band,
    .section-heading,
    .newsletter,
    .content-panel,
    .article-detail {
        padding: 2rem 1rem;
    }

    .hero-actions,
    .contact-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}

/* AI bot widget styles */
#ai-bot {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    font-family: inherit;
}

#ai-toggle {
    background: var(--brand-yellow);
    color: var(--brand-navy);
    border: 0;
    border-radius: 999px;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(11, 31, 58, 0.12);
}

#ai-window {
    width: 320px;
    max-width: calc(100vw - 2rem);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.12);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.ai-messages {
    height: 220px;
    overflow-y: auto;
    padding: 0.8rem 1rem;
    background: #fbfdff;
}

.ai-msg {
    margin-bottom: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
}

.ai-msg.bot {
    background: #fff;
    color: var(--text);
}

.ai-msg.user {
    background: var(--brand-yellow);
    color: var(--brand-navy);
    text-align: right;
}

.ai-suggestions {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    flex-wrap: wrap;
}

.ai-sugg {
    background: #fff;
    border: 1px solid var(--border);
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    cursor: pointer;
}

.ai-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem;
    border-top: 1px solid var(--border);
    background: #fff;
}

.ai-form input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.ai-form button {
    background: var(--accent-blue);
    color: white;
    border: 0;
    padding: 0 0.8rem;
    border-radius: 6px;
}

@media (max-width:480px) {
    #ai-window {
        width: 92vw;
    }
}