:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --ink: #111827;
    --muted: #5f6b7c;
    --line: #d9e2ec;
    --logo-grey: #e6e7e8;
    --navy: #0b1726;
    --navy-soft: #13243a;
    --blue: #003d79;
    --blue-dark: #002b56;
    --cyan: #477da8;
    --accent: #b9d2e8;
    --success: #21a67a;
    --shadow: 0 18px 45px rgba(15, 35, 61, 0.12);
    --shadow-soft: 0 10px 28px rgba(15, 35, 61, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

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

a {
    color: inherit;
}

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 10;
    border-radius: 6px;
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(220, 227, 236, 0.9);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}

.nav-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 98px;
    padding: 10px 0 14px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand__logo {
    display: block;
    width: clamp(132px, 14vw, 160px);
    height: auto;
}

.brand strong {
    display: block;
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.3;
    margin-top: 4px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.primary-nav a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #243447;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    padding: 9px 10px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
    background: var(--logo-grey);
    color: var(--blue-dark);
}

.nav-phone {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--line);
    color: var(--blue-dark);
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1;
    padding: 9px 4px 9px 14px;
    text-decoration: none;
    white-space: nowrap;
}

.nav-phone:hover {
    color: var(--blue);
}

.remote-support-cta {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--blue);
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
    padding: 9px 12px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-header .remote-support-cta,
.site-header .remote-support-cta:link,
.site-header .remote-support-cta:visited,
.site-header .remote-support-cta:hover,
.site-header .remote-support-cta:active {
    color: #fff !important;
}

.remote-support-cta:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-1px);
}

.client-login-cta {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #26364a;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
    padding: 9px 11px;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.client-login-cta:hover {
    border-color: var(--blue);
    color: var(--blue-dark);
    transform: translateY(-1px);
}

.site-header .client-login-cta,
.site-header .client-login-cta:link,
.site-header .client-login-cta:visited,
.site-header .client-login-cta:hover,
.site-header .client-login-cta:active {
    color: #26364a !important;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
}

.hero,
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background-color: var(--navy);
    background-image: var(--hero-image);
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: transparent;
    background-position: center right;
    background-size: cover;
    filter: saturate(1.04) contrast(1.08);
    opacity: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: 0.56;
    filter: saturate(1.04) contrast(1.08);
    pointer-events: none;
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(6, 15, 28, 0.9), rgba(8, 22, 38, 0.66) 50%, rgba(8, 22, 38, 0.28) 78%, rgba(8, 22, 38, 0.12)),
        linear-gradient(180deg, rgba(6, 15, 28, 0.12), rgba(6, 15, 28, 0.28));
}

.hero__inner {
    position: relative;
    display: grid;
    min-height: 360px;
    align-items: center;
    padding: 56px 0;
}

.hero-visual {
    display: none;
}

.hero__content > :not(.hero-visual),
.page-hero__content > :not(.hero-visual) {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 720px;
    border-left: 0;
    padding-left: 0;
}

.page-hero__content {
    max-width: none;
}

.hero__content,
.page-hero__content {
    position: relative;
    z-index: 3;
}

.hero__content::before,
.page-hero__content::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 58px;
    width: 4px;
    height: calc(100% - 116px);
    min-height: 96px;
    border-radius: 999px;
    background: var(--blue);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
}

h1 {
    max-width: 760px;
    font-size: clamp(2.3rem, 5.5vw, 4.6rem);
    font-weight: 900;
}

.hero h1,
.page-hero h1 {
    max-width: 660px;
    font-size: clamp(1.85rem, 3.4vw, 3.05rem);
    line-height: 1.12;
}

h2 {
    max-width: 760px;
    font-size: clamp(1.45rem, 2.15vw, 2.05rem);
    font-weight: 900;
    line-height: 1.18;
}

h3 {
    font-size: 1.28rem;
    font-weight: 900;
}

.hero p,
.page-hero p {
    max-width: 650px;
    color: #e9f3ff;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

.hero p,
.page-hero p {
    max-width: 600px;
    font-size: clamp(0.98rem, 1.45vw, 1.1rem);
}

.hero .eyebrow {
    font-size: 0.76rem;
}

.page-hero .eyebrow {
    font-size: 0.76rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--blue);
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    padding: 12px 18px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:focus-visible,
.primary-nav a:focus-visible,
.remote-support-cta:focus-visible,
.client-login-cta:focus-visible,
.nav-phone:focus-visible,
.text-link:focus-visible {
    outline: 3px solid rgba(125, 216, 255, 0.8);
    outline-offset: 3px;
}

.button:hover {
    transform: translateY(-1px);
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.button--secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.button--light {
    color: var(--blue-dark);
    background: #fff;
    border-color: var(--line);
}

.button--card {
    width: fit-content;
    margin-top: 8px;
}

.button--small {
    min-height: 40px;
    border-width: 1px;
    font-size: 0.9rem;
    padding: 8px 13px;
}

.section {
    padding: 80px 0;
}

.section--white {
    background: #fff;
}

.section-header {
    max-width: 840px;
    margin-bottom: 32px;
}

.section-header h2 {
    max-width: 780px;
}

.section-header p,
.two-column p {
    color: var(--muted);
    font-size: 1.05rem;
}

.proof-strip {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.proof-grid a {
    display: flex;
    min-height: 176px;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--line);
    color: var(--ink);
    padding: 24px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.proof-grid a:last-child {
    border-right: 1px solid var(--line);
}

.proof-grid a:hover {
    background: #f8fbff;
    transform: translateY(-2px);
}

.proof-grid span,
.card-kicker {
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.proof-grid strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.18;
}

.proof-grid small {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
    margin-top: 10px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card,
.feature-card,
.contact-card,
.team-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.service-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.service-card__media {
    display: block;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.04);
}

.service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.service-card p,
.feature-card p,
.contact-card p,
.team-card p {
    color: var(--muted);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.team-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
}

.team-card img {
    width: 112px;
    height: 100%;
    min-height: 166px;
    object-fit: cover;
    object-position: center top;
    background: #edf2f7;
}

.team-card__placeholder {
    display: flex;
    width: 112px;
    min-height: 166px;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(0, 61, 121, 0.95), rgba(11, 23, 38, 0.96)),
        radial-gradient(circle at 75% 20%, rgba(185, 210, 232, 0.24), transparent 34%);
    color: #fff;
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 0;
}

.team-card__body {
    min-width: 0;
    padding: 18px;
}

.team-card h3 {
    font-size: 1.14rem;
    line-height: 1.16;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.team-card .card-kicker {
    margin-bottom: 7px;
}

.team-card p:not(.card-kicker) {
    font-size: 0.94rem;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
}

.remote-support-card {
    scroll-margin-top: 150px;
}

.remote-support-widget {
    display: flex;
    min-height: 58px;
    align-items: center;
    margin: 18px 0 22px;
}

.remote-support-card .button-row {
    margin-bottom: 22px;
}

.support-sidebar .text-link {
    display: inline-flex;
    margin-top: 12px;
}

.text-link {
    color: var(--blue);
    font-weight: 900;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: start;
}

.feature-grid,
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-grid--two {
    grid-template-columns: repeat(2, 1fr);
}

.two-column .feature-grid {
    grid-template-columns: 1fr;
}

.feature-card,
.industry-card,
.contact-card {
    padding: 24px;
}

.feature-card .text-link,
.service-card .text-link {
    margin-top: auto;
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.support-sidebar {
    position: sticky;
    top: 140px;
    border-color: rgba(0, 61, 121, 0.28);
    background:
        linear-gradient(180deg, #ffffff, #f8fbff);
}

.support-sidebar h3 {
    font-size: 1.45rem;
}

.industry-card {
    position: relative;
    isolation: isolate;
    display: flex;
    overflow: hidden;
    min-height: 112px;
    align-items: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: #172033;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.15;
    padding: 22px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.industry-card::after {
    content: "";
    position: absolute;
    inset: 0;
}

.industry-card img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transform: scale(1.02);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.industry-card::after {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(8, 18, 32, 0.02), rgba(8, 18, 32, 0.78)),
        linear-gradient(90deg, rgba(0, 61, 121, 0.18), rgba(0, 61, 121, 0));
}

.industry-card:hover {
    transform: translateY(-2px);
}

.industry-card:hover img {
    opacity: 0.9;
    transform: scale(1.06);
}

.industry-card span {
    position: relative;
    z-index: 2;
    max-width: 12rem;
}

.dark-section {
    background: #111827;
    color: #fff;
}

.dark-section p {
    color: #cbd5e1;
}

.local-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}

.local-section h2 {
    max-width: 560px;
}

.local-section p:not(.eyebrow) {
    color: var(--ink);
    font-size: 1.08rem;
}

.page-hero {
    min-height: 330px;
}

.compact-hero .page-hero__content,
.page-hero__content {
    padding: 64px 0;
}

.link-panel {
    display: grid;
    gap: 12px;
}

.link-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
    padding: 18px 20px;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.link-panel a:hover {
    border-color: var(--blue);
    transform: translateY(-1px);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
}

.legacy-main {
    background: var(--bg);
}

.legacy-section {
    padding-top: 48px;
}

.legacy-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.legacy-content,
.legacy-sidebar .contact-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
}

.legacy-content {
    min-width: 0;
    padding: 28px;
    color: var(--ink);
    font-size: 1rem;
}

.legacy-content#mainarea,
.legacy-content#mainarea1,
.legacy-content#mainfull,
.legacy-content#mainfull2,
.legacy-content#mainarea.faq-full {
    float: none;
    width: auto;
    max-width: 100%;
    padding: 28px;
}

.legacy-shell:has(.faq-page) {
    display: block;
}

.legacy-content:has(.faq-page),
.legacy-content#mainarea.faq-full {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.legacy-content:has(.faq-page) #pagetitle,
.legacy-content#mainarea.faq-full #pagetitle {
    display: none;
}

.legacy-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.legacy-content td {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.legacy-content img {
    height: auto;
    max-width: 100%;
}

.legacy-content input,
.legacy-content select,
.legacy-content textarea {
    max-width: 100%;
}

.legacy-sidebar {
    display: grid;
    gap: 18px;
}

.legacy-sidebar .button {
    width: 100%;
}

.related-card h3 {
    margin-bottom: 14px;
}

.related-links {
    display: grid;
    gap: 8px;
}

.related-links a,
.related-links a:link,
.related-links a:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbff;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.25;
    padding: 10px 12px;
    text-decoration: none;
}

.related-links a::after {
    content: ">";
    color: var(--blue);
    font-weight: 900;
    margin-left: 12px;
}

.related-links a:hover {
    border-color: rgba(0, 61, 121, 0.35);
    color: var(--blue-dark);
    transform: translateX(2px);
}

.legacy-breadcrumb,
.legacy-breadcrumb a {
    font-size: 0.95rem;
}

.legacy-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #dbeafe;
    line-height: 1.35;
    margin-top: 16px;
    padding: 8px 12px;
}

.legacy-breadcrumb a,
.legacy-breadcrumb a:link,
.legacy-breadcrumb a:visited {
    color: #f8fbff;
    font-weight: 800;
    text-decoration: none;
}

.legacy-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

#pagetitle,
.header1 {
    color: var(--ink);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 18px;
}

.body {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.6;
}

.legacy-content a {
    color: var(--blue);
    overflow-wrap: anywhere;
}

.button,
.legacy-content a.button,
.legacy-sidebar a.button,
.contact-card a.button {
    color: #fff !important;
}

.button--light,
.legacy-content a.button--light,
.legacy-sidebar a.button--light,
.contact-card a.button--light {
    color: var(--blue-dark) !important;
}

.faq-page {
    display: grid;
    gap: 28px;
    width: 100%;
}

.faq-intro {
    max-width: 980px;
    margin-bottom: 0;
}

.faq-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.faq-search-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 140px minmax(220px, 0.8fr) auto;
    align-items: end;
    border: 1px solid rgba(0, 61, 121, 0.18);
    border-radius: 10px;
    background:
        linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: none;
    padding: 20px;
}

.faq-search-panel label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 900;
}

.faq-search-form input,
.faq-search-form select {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    padding: 9px 11px;
}

.faq-results-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.faq-results-header .eyebrow {
    margin-right: auto;
    color: var(--blue);
}

.faq-results-header strong {
    color: var(--blue-dark);
    font-size: 1.45rem;
}

.faq-results-header span {
    color: var(--muted);
    font-size: 0.95rem;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-detail {
    display: grid;
    gap: 22px;
    border: 1px solid rgba(0, 61, 121, 0.22);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 26px;
}

.faq-detail__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
}

.faq-detail__header h2 {
    max-width: 840px;
    font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.faq-detail__section {
    display: grid;
    gap: 8px;
}

.faq-detail__section h3 {
    color: var(--blue-dark);
    font-size: 1rem;
    text-transform: uppercase;
}

.faq-detail__section div {
    color: var(--ink);
    overflow-wrap: anywhere;
}

.faq-detail__section + .faq-detail__section {
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.faq-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    padding: 18px;
}

.faq-card__id {
    display: grid;
    align-content: start;
    gap: 4px;
    border-right: 1px solid var(--line);
    color: var(--blue-dark);
    padding-right: 16px;
}

.faq-card__id span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.faq-card__id strong {
    font-size: 1.25rem;
    line-height: 1;
}

.faq-card__content {
    min-width: 0;
}

.faq-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.faq-card__meta span {
    border-radius: 999px;
    background: var(--logo-grey);
    color: var(--blue-dark);
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1.2;
    padding: 5px 9px;
}

.faq-card h3 {
    font-size: 1.08rem;
    line-height: 1.25;
}

.faq-card .boxlinks {
    color: var(--ink);
    text-decoration: none;
}

.faq-card .boxlinks:hover {
    color: var(--blue);
    text-decoration: underline;
}

.faq-card p {
    color: var(--muted);
    margin: 9px 0 14px;
}

.faq-pagination {
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding-top: 16px;
    text-align: right;
}

.faq-table {
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.faq-table td {
    background: #fff;
    padding: 14px 16px;
}

.faq-table .faq-id {
    width: 70px;
    border-left: 4px solid var(--blue);
    border-radius: 8px 0 0 8px;
    color: var(--blue-dark);
    font-weight: 900;
}

.faq-table .faq-id span {
    color: var(--muted);
    font-size: 0.82rem;
}

.faq-table .faq-meta {
    width: 140px;
    border-radius: 0 8px 8px 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.faq-table .faq-summary,
.faq-table .faq-body,
.faq-table .boxlinks {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.faq-table .faq-summary .boxlinks {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 900;
    text-decoration: none;
}

.faq-table .faq-summary .boxlinks:hover {
    color: var(--blue);
}

.faq-table .faq-body {
    color: var(--muted);
    border-radius: 0 0 8px 8px;
}

.faq-table hr {
    display: none;
}

.legacy-inline-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
}

.legacy-inline-nav a {
    border-radius: 6px;
    background: var(--logo-grey);
    color: var(--blue-dark);
    font-weight: 800;
    padding: 8px 10px;
    text-decoration: none;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.contact-list a,
.contact-list span {
    display: block;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row label {
    color: #334155;
    font-size: 0.92rem;
    font-weight: 800;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    padding: 13px 14px;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 61, 121, 0.12);
    outline: none;
}

.form-row textarea {
    min-height: 150px;
    resize: vertical;
}

.honeypot {
    display: none;
}

.login-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 34px;
    align-items: start;
}

.auth-section {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 42px;
    align-items: center;
}

.auth-intro h1 {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.auth-intro p {
    color: var(--muted);
    font-size: 1.05rem;
}

.login-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 28px;
}

.login-card .button {
    width: 100%;
    margin-top: 8px;
}

.auth-card {
    border-top: 4px solid var(--blue);
}

.code-input {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-align: center;
}

.security-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.security-list div {
    border-left: 3px solid var(--blue);
    background: #f8fbff;
    padding: 14px 16px;
}

.security-list strong {
    display: block;
    line-height: 1.25;
}

.security-list span {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

.notice {
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 12px 14px;
}

.notice--success {
    background: #e7f9ef;
    color: #166534;
}

.notice--error {
    background: #fff0f0;
    color: #991b1b;
}

.site-footer {
    background: #0b1220;
    color: #d6dee9;
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.7fr 1fr 1fr;
    gap: 32px;
}

.brand--footer .brand__logo {
    width: 174px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand--footer strong {
    color: #fff;
}

.brand--footer small,
.footer-copy,
.site-footer address,
.site-footer a {
    color: #cbd5e1;
}

.site-footer h2 {
    color: #fff;
    font-size: 1rem;
}

.footer-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.footer-list li + li {
    margin-top: 8px;
}

.footer-list a,
.site-footer address a {
    text-decoration: none;
}

.footer-list a:hover,
.site-footer address a:hover,
.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 36px;
    padding-top: 20px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom span:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
}

@media (max-width: 1080px) {
    .menu-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        box-shadow: var(--shadow);
        padding: 8px;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav a {
        padding: 13px 14px;
    }

    .nav-phone {
        border-left: 0;
        padding-left: 4px;
    }

    .remote-support-cta {
        min-height: 40px;
        padding: 9px 12px;
    }

    .client-login-cta {
        min-height: 40px;
        padding: 9px 11px;
    }

    .proof-grid,
    .service-grid,
    .feature-grid,
    .industry-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .two-column,
    .contact-grid,
    .login-grid,
    .auth-shell,
    .support-layout,
    .legacy-shell,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .support-sidebar {
        position: static;
    }
}

@media (max-width: 680px) {
    .wrap {
        width: min(100% - 24px, 1120px);
    }

    .brand small {
        display: none;
    }

    .brand__logo {
        width: 124px;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-shell {
        min-height: 78px;
        padding: 8px 0 12px;
    }

    .nav-phone {
        font-size: 0;
        width: 40px;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 0;
    }

    .nav-phone::before {
        content: "Call";
        font-size: 0.76rem;
    }

    .hero__inner {
        min-height: 300px;
        padding: 46px 0;
    }

    .page-hero {
        min-height: 280px;
    }

    .compact-hero .page-hero__content,
    .page-hero__content {
        padding: 46px 0;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(1.75rem, 9vw, 2.45rem);
    }

    h2 {
        font-size: clamp(1.35rem, 6vw, 1.72rem);
    }

    .hero p,
    .page-hero p {
        font-size: 1rem;
    }

    .hero__content {
        border-left: 0;
        padding-left: 0;
    }

    .hero__content::before,
    .page-hero__content::before,
    .hero-visual {
        display: none;
    }

    .hero::after,
    .page-hero::after {
        background: linear-gradient(90deg, rgba(10, 18, 32, 0.78), rgba(10, 18, 32, 0.58));
    }

    .button-row,
    .footer-bottom {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .button--card {
        width: 100%;
    }

    .proof-grid,
    .service-grid,
    .feature-grid,
    .feature-grid--two,
    .industry-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .team-card img,
    .team-card__placeholder {
        width: 88px;
        min-height: 148px;
    }

    .team-card__body {
        padding: 15px;
    }

    .proof-grid a,
    .proof-grid a:last-child {
        border-right: 1px solid var(--line);
    }

    .section {
        padding: 58px 0;
    }

    .faq-table,
    .faq-table tbody,
    .faq-table tr,
    .faq-table td {
        display: block;
        width: 100% !important;
    }

    .faq-table .faq-id,
    .faq-table .faq-meta {
        width: 100% !important;
        text-align: left;
    }

    .faq-search-panel,
    .faq-card,
    .faq-detail__header {
        grid-template-columns: 1fr;
    }

    .faq-detail__header {
        display: grid;
    }

    .faq-card__id {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 0 0 12px;
    }
}

@media (max-width: 380px) {
    .nav-shell {
        gap: 8px;
    }

    .brand__logo {
        width: 98px;
    }

    .client-login-cta,
    .remote-support-cta {
        font-size: 0.78rem;
        padding: 8px 7px;
    }

    .nav-phone {
        width: 38px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }
}
