/* ============================================================
   emit-erp design system
   Modern SaaS · Deep Navy + Sharp Orange + Glass Morphism
   Last updated: 2026-05-22
   ============================================================ */

:root {
    --ex-navy-900: #06091c;
    --ex-navy-800: #0b1530;
    --ex-navy-700: #131e44;
    --ex-navy-600: #1e2a5a;
    --ex-navy-500: #2a3a7a;
    --ex-ink-900:  #0c1024;
    --ex-ink-700:  #2a2f4a;
    --ex-ink-500:  #5b607a;
    --ex-ink-400:  #8b91a8;
    --ex-ink-300:  #bcc1d4;
    --ex-ink-200:  #e2e5f0;
    --ex-ink-100:  #f4f6fb;
    --ex-paper:    #fafbfd;

    --ex-orange-500: #ff6a3d;
    --ex-orange-400: #ff8c5a;
    --ex-orange-300: #ffb38a;
    --ex-orange-soft: rgba(255, 106, 61, 0.08);

    --ex-cyan-500:  #36d4c7;
    --ex-violet-500: #6e7cff;

    --ex-shadow-sm: 0 2px 8px rgba(11, 21, 48, 0.06);
    --ex-shadow-md: 0 10px 30px rgba(11, 21, 48, 0.08);
    --ex-shadow-lg: 0 24px 60px rgba(11, 21, 48, 0.12);

    --ex-radius-sm: 8px;
    --ex-radius-md: 14px;
    --ex-radius-lg: 22px;

    --ex-grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(110, 124, 255, 0.25), transparent 60%),
                    radial-gradient(900px 500px at -10% 50%, rgba(54, 212, 199, 0.18), transparent 60%),
                    linear-gradient(180deg, #06091c 0%, #0b1530 100%);
    --ex-grad-orange: linear-gradient(135deg, #ff6a3d 0%, #ff3d6f 100%);
    --ex-grad-cyan:   linear-gradient(135deg, #36d4c7 0%, #6e7cff 100%);
}

/* ---------- base resets / overrides ---------- */
html, body { background: var(--ex-paper); color: var(--ex-ink-900); }
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif !important;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif !important;
    color: var(--ex-ink-900);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a { color: var(--ex-orange-500); transition: color .2s; }
a:hover { color: var(--ex-navy-800); text-decoration: none; }

/* hide preloader (cleaner) */
#preloader { display: none !important; }

/* ---------- header (glass morphism sticky) ---------- */
.main-header {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid rgba(11, 21, 48, 0.06);
    box-shadow: none;
}

/* header layout — own all of it (no dependency on the old style.css) */
.main-header .menu-wrap { width: 100%; }
.main-header .menu-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    min-height: 72px;
    width: 100%;
}

/* ---------- brand lockup (mark + two-line text) ---------- */
.main-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.main-header .logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.main-header .logo img {
    height: 46px;
    width: 46px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(11,21,48,.08);
}
.main-header .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}
.main-header .logo-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--ex-ink-900);
}
.main-header .logo-company {
    font-size: 12px;
    font-weight: 500;
    color: var(--ex-ink-400);
    letter-spacing: 0;
    margin-top: 2px;
}
.main-header .navbar-wrap.main-menu { flex: 1; justify-content: center; }
.main-header .navigation {
    display: flex;
    flex-direction: row;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-header .navigation > li { list-style: none; }
.main-header .navigation > li > a {
    display: inline-block;
    color: var(--ex-ink-700);
    font-weight: 500;
    padding: 18px 14px;
    font-size: 14px;
    transition: color .15s;
}
.main-header .navigation > li > a:hover,
.main-header .navigation > li.active > a {
    color: var(--ex-orange-500);
}
.main-header .header-action { flex-shrink: 0; }
.main-header .header-action ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-header .header-action ul li { list-style: none; }
.main-header .header-action .btn {
    padding: 9px 18px !important;
    font-size: 13px !important;
    border-radius: var(--ex-radius-sm) !important;
    text-transform: none !important;
    box-shadow: none !important;
}
.main-header .header-action .btn-ghost {
    background: transparent !important;
    color: var(--ex-ink-700) !important;
    border: 1px solid var(--ex-ink-200) !important;
}
.main-header .header-action .btn-ghost:hover {
    border-color: var(--ex-orange-500) !important;
    color: var(--ex-orange-500) !important;
}

/* ---------- language switcher ---------- */
.ex-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--ex-ink-100);
    font-size: 12px;
    font-weight: 600;
    color: var(--ex-ink-700);
    letter-spacing: 0;
    transition: background .15s, color .15s;
    line-height: 1;
}
.ex-lang-switch:hover {
    background: var(--ex-ink-200);
    color: var(--ex-orange-500);
}
.ex-lang-switch .ex-lang-icon {
    font-size: 13px;
    color: var(--ex-ink-500);
    margin-right: 2px;
}
.ex-lang-switch .ex-lang-active { color: var(--ex-orange-500); }
.ex-lang-switch .ex-lang-divider {
    color: var(--ex-ink-300);
    margin: 0 3px;
    font-weight: 400;
}
.ex-lang-switch .ex-lang-other { color: var(--ex-ink-500); }
.ex-lang-switch:hover .ex-lang-other { color: var(--ex-orange-500); }
.ex-drawer-actions .ex-lang-switch {
    justify-content: center;
    padding: 12px 18px;
    font-size: 13px;
}

.main-header .mobile-nav-toggler {
    display: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--ex-ink-700);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s, color .15s;
}
.main-header .mobile-nav-toggler:hover { background: var(--ex-ink-100); }
.main-header .mobile-nav-toggler:active { background: var(--ex-ink-200); }

@media (max-width: 991px) {
    /* col-12 = positioning context so the hamburger can pin to the right */
    .main-header .container > .row > .col-12 {
        position: relative;
        min-height: 64px;
    }

    /* hamburger pinned to the right */
    .main-header .mobile-nav-toggler {
        display: inline-flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 4;
    }

    /* menu-wrap occupies full row, lockup sits flush left */
    .main-header .menu-wrap { width: 100%; }
    .main-header .menu-nav {
        padding: 8px 52px 8px 0;
        gap: 12px;
        justify-content: flex-start;
        min-height: 64px;
    }

    /* compact lockup on mobile */
    .main-header .logo img { height: 38px; width: 38px; }
    .main-header .logo-name { font-size: 15px; }
    .main-header .logo-company { font-size: 11px; }

    /* nothing else competing for header space on mobile */
    .main-header .navbar-wrap.main-menu,
    .main-header .header-action { display: none !important; }
}

/* very small screens: drop the company subtitle to keep mark + name on one row */
@media (max-width: 380px) {
    .main-header .logo-company { display: none; }
    .main-header .logo img { height: 34px; width: 34px; }
    .main-header .logo-name { font-size: 16px; }
}

/* ---------- mobile drawer ---------- */
.ex-mobile-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 86vw;
    max-width: 380px;
    background: #fff;
    z-index: 200;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    padding: 22px 24px 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(11,21,48,.18);
}
.ex-mobile-drawer.is-open { transform: translateX(0); }
.ex-drawer-mask {
    position: fixed; inset: 0;
    background: rgba(6, 9, 28, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}
.ex-drawer-mask.is-open { opacity: 1; pointer-events: auto; }
.ex-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--ex-ink-200);
    margin-bottom: 8px;
}
.ex-drawer-head .logo-link { display: inline-flex; align-items: center; }
.ex-drawer-head .logo-link img {
    height: 44px;
    width: 44px;
    border-radius: 12px;
    display: block;
}
.ex-drawer-close {
    background: var(--ex-ink-100);
    border: none;
    width: 36px; height: 36px;
    border-radius: 10px;
    font-size: 16px;
    color: var(--ex-ink-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ex-drawer-close:hover { background: var(--ex-ink-200); }
.ex-drawer-nav { list-style: none; padding: 0; margin: 0; flex: 1; }
.ex-drawer-nav li { border-bottom: 1px solid var(--ex-ink-100); }
.ex-drawer-nav li a {
    display: block;
    padding: 16px 4px;
    font-size: 16px;
    color: var(--ex-ink-900);
    font-weight: 500;
}
.ex-drawer-nav li a:hover,
.ex-drawer-nav li.active a { color: var(--ex-orange-500); }
.ex-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--ex-ink-200);
}
.ex-drawer-actions .btn { width: 100%; padding: 12px 18px !important; font-size: 14px !important; }
body.no-scroll { overflow: hidden; }
@media (min-width: 992px) {
    .ex-mobile-drawer, .ex-drawer-mask { display: none !important; }
}

/* ---------- buttons ---------- */
.btn, a.btn, button.btn {
    background: var(--ex-grad-orange) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--ex-radius-sm) !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: 0 8px 20px rgba(255, 106, 61, 0.25);
    transition: transform .15s, box-shadow .15s;
}
.btn:hover, a.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(255, 106, 61, 0.35);
    color: #fff !important;
}
.btn-ghost {
    background: transparent !important;
    color: var(--ex-ink-700) !important;
    border: 1px solid var(--ex-ink-200) !important;
    box-shadow: none !important;
}
.btn-ghost:hover {
    border-color: var(--ex-orange-500) !important;
    color: var(--ex-orange-500) !important;
}

/* ---------- hero ---------- */
.ex-hero {
    position: relative;
    min-height: 720px;
    padding: 160px 0 120px;
    background: var(--ex-grad-hero);
    color: #fff;
    overflow: hidden;
}
.ex-hero::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--ex-paper));
}
.ex-hero .ex-eyebrow {
    display: inline-flex; align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--ex-orange-300);
    margin-bottom: 22px;
}
.ex-hero .ex-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--ex-orange-500); margin-right: 10px;
    box-shadow: 0 0 12px var(--ex-orange-500);
}
.ex-hero h1 {
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.15;
    color: #fff;
    margin-bottom: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.ex-hero h1 .accent {
    background: linear-gradient(135deg, #ff8c5a 0%, #ff3d6f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ex-hero .lead {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 540px;
    margin-bottom: 36px;
}
.ex-hero .ex-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.ex-hero .ex-cta-row .btn-ghost {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.ex-hero .ex-cta-row .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}
.ex-hero-art {
    position: relative;
}
.ex-hero-art svg { width: 100%; height: auto; max-width: 560px; }

/* hero stats strip */
.ex-stats-strip {
    margin-top: 56px;
    padding: 26px 28px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ex-radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.ex-stats-strip .ex-stat .num {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "cv11" 1;
    line-height: 1.1;
}
.ex-stats-strip .ex-stat .num .unit {
    font-size: 16px;
    font-weight: 500;
    color: var(--ex-orange-300);
    margin-left: 6px;
    letter-spacing: 0;
    vertical-align: 1px;
}
.ex-stats-strip .ex-stat .label {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 8px;
    letter-spacing: 0.04em;
}

/* ---------- section base ---------- */
.ex-section { padding: 110px 0; position: relative; }
.ex-section.dark { background: var(--ex-navy-900); color: rgba(255, 255, 255, 0.85); }
.ex-section.tinted { background: var(--ex-ink-100); }

.ex-section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.ex-section-head .ex-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    background: var(--ex-orange-soft);
    color: var(--ex-orange-500);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.14em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.ex-section-head h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.ex-section-head p { color: var(--ex-ink-500); font-size: 16px; }
.ex-section.dark .ex-section-head h2 { color: #fff; }
.ex-section.dark .ex-section-head p { color: rgba(255, 255, 255, 0.65); }

/* ---------- product cards (3-up) ---------- */
.ex-card {
    background: #fff;
    border: 1px solid var(--ex-ink-200);
    border-radius: var(--ex-radius-md);
    padding: 36px 32px;
    height: 100%;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative;
    overflow: hidden;
}
.ex-card::before {
    content: "";
    position: absolute; left: 0; top: 0; right: 0; height: 3px;
    background: var(--ex-grad-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.ex-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ex-shadow-lg);
    border-color: transparent;
}
.ex-card:hover::before { transform: scaleX(1); }
.ex-card .ex-icon {
    width: 56px; height: 56px;
    border-radius: var(--ex-radius-sm);
    background: var(--ex-orange-soft);
    color: var(--ex-orange-500);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}
.ex-card h3 { font-size: 19px; margin-bottom: 12px; }
.ex-card p  { color: var(--ex-ink-500); font-size: 14px; margin-bottom: 18px; }
.ex-card .ex-more { color: var(--ex-orange-500); font-size: 13px; font-weight: 600; }
.ex-card .ex-more::after { content: " →"; transition: margin .2s; }
.ex-card:hover .ex-more::after { margin-left: 4px; }

/* ---------- bento grid (核心功能) ---------- */
.ex-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.ex-bento .ex-bento-item {
    background: #fff;
    border-radius: var(--ex-radius-md);
    border: 1px solid var(--ex-ink-200);
    padding: 32px;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.ex-bento .ex-bento-item:hover { transform: translateY(-3px); box-shadow: var(--ex-shadow-md); }
.ex-bento .ex-bento-item h4 { font-size: 18px; margin-bottom: 10px; }
.ex-bento .ex-bento-item p  { color: var(--ex-ink-500); font-size: 14px; }
.ex-bento .ex-bento-item .ex-tag {
    display: inline-block; padding: 3px 10px;
    background: var(--ex-orange-soft); color: var(--ex-orange-500);
    border-radius: 999px; font-size: 11px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px;
}
.ex-bento .span-2  { grid-column: span 2; }
.ex-bento .span-3  { grid-column: span 3; }
.ex-bento .span-4  { grid-column: span 4; }
.ex-bento .span-5  { grid-column: span 5; }
.ex-bento .span-6  { grid-column: span 6; }
.ex-bento .span-7  { grid-column: span 7; }
.ex-bento .span-8  { grid-column: span 8; }
.ex-bento .span-9  { grid-column: span 9; }
.ex-bento .span-10 { grid-column: span 10; }
.ex-bento .span-11 { grid-column: span 11; }
.ex-bento .span-12 { grid-column: span 12; }
.ex-bento .ex-bento-feature {
    background: linear-gradient(135deg, var(--ex-navy-800), var(--ex-navy-600));
    color: #fff;
    border: none;
}
.ex-bento .ex-bento-feature h4 { color: #fff; }
.ex-bento .ex-bento-feature p  { color: rgba(255, 255, 255, 0.68); }
@media (max-width: 991px) {
    .ex-bento { grid-template-columns: repeat(6, 1fr); }
    .ex-bento .span-2, .ex-bento .span-3,
    .ex-bento .span-4, .ex-bento .span-5,
    .ex-bento .span-6 { grid-column: span 6; }
    .ex-bento .span-7, .ex-bento .span-8,
    .ex-bento .span-9, .ex-bento .span-10,
    .ex-bento .span-11, .ex-bento .span-12 { grid-column: span 6; }
}
@media (max-width: 575px) {
    .ex-bento { grid-template-columns: 1fr; }
    .ex-bento [class*="span-"] { grid-column: 1 / -1; }
}

/* ---------- SP-API authorization flow (3 steps) ---------- */
.ex-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
@media (max-width: 991px) { .ex-flow { grid-template-columns: 1fr; } }
.ex-flow .ex-step {
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--ex-ink-200);
    border-radius: var(--ex-radius-md);
    position: relative;
}
.ex-flow .ex-step::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute; top: 24px; right: 28px;
    font-size: 38px; font-weight: 800;
    color: var(--ex-ink-200);
    letter-spacing: -0.04em;
    font-family: "Inter", sans-serif;
}
.ex-flow .ex-step h4 { font-size: 18px; margin-bottom: 10px; padding-right: 50px; }
.ex-flow .ex-step p  { color: var(--ex-ink-500); font-size: 14px; }
.ex-flow .ex-step .ex-step-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--ex-grad-cyan); color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 18px;
}

/* ---------- security panel (dark) ---------- */
.ex-security-panel {
    background: linear-gradient(135deg, var(--ex-navy-900) 0%, var(--ex-navy-700) 100%);
    border-radius: var(--ex-radius-lg);
    padding: 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ex-security-panel::before {
    content: "";
    position: absolute; right: -100px; top: -100px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(255, 106, 61, 0.18), transparent 70%);
    border-radius: 50%;
}
.ex-security-panel h2 { color: #fff; margin-bottom: 18px; }
.ex-security-panel .ex-eyebrow {
    background: rgba(255, 106, 61, 0.16);
    color: var(--ex-orange-300);
}
.ex-security-panel ul { list-style: none; padding: 0; margin: 28px 0 0; }
.ex-security-panel ul li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ex-security-panel ul li:last-child { border-bottom: none; }
.ex-security-panel ul li::before {
    content: "";
    position: absolute; left: 0; top: 18px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--ex-grad-orange);
    box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.16);
}
.ex-security-panel ul li::after {
    content: "✓";
    position: absolute; left: 4px; top: 14px;
    color: #fff; font-size: 11px; font-weight: 700;
}
.ex-security-panel .ex-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.ex-security-panel .ex-actions .btn-ghost {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

/* ---------- FAQ ---------- */
.ex-faq { max-width: 820px; margin: 0 auto; }
.ex-faq details {
    background: #fff;
    border: 1px solid var(--ex-ink-200);
    border-radius: var(--ex-radius-md);
    margin-bottom: 14px;
    padding: 4px 0;
    transition: border-color .2s, box-shadow .2s;
}
.ex-faq details[open] { border-color: var(--ex-orange-500); box-shadow: var(--ex-shadow-sm); }
.ex-faq summary {
    padding: 20px 26px;
    cursor: pointer;
    font-weight: 600;
    color: var(--ex-ink-900);
    list-style: none;
    position: relative;
    padding-right: 56px;
    font-size: 15px;
}
.ex-faq summary::-webkit-details-marker { display: none; }
.ex-faq summary::after {
    content: "+";
    position: absolute; right: 26px; top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--ex-ink-100);
    color: var(--ex-ink-700);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 400;
    transition: transform .25s, background .25s, color .25s;
}
.ex-faq details[open] summary::after {
    content: "−"; background: var(--ex-grad-orange); color: #fff;
    transform: translateY(-50%) rotate(180deg);
}
.ex-faq .ex-faq-body {
    padding: 0 26px 22px;
    color: var(--ex-ink-500);
    font-size: 14px;
    line-height: 1.8;
}

/* ---------- CTA strip ---------- */
.ex-cta-strip {
    background: var(--ex-grad-hero);
    border-radius: var(--ex-radius-lg);
    padding: 60px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -60px;
    box-shadow: var(--ex-shadow-lg);
}
.ex-cta-strip h2 { color: #fff; margin-bottom: 14px; }
.ex-cta-strip p { color: rgba(255, 255, 255, 0.75); margin-bottom: 28px; }

/* ---------- footer ---------- */
footer.ex-footer {
    background: var(--ex-navy-900) !important;
    color: rgba(255, 255, 255, 0.65);
    padding: 80px 0 30px;
}
footer.ex-footer h5 {
    color: #fff; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: 22px;
}
footer.ex-footer a { color: rgba(255, 255, 255, 0.62); font-size: 14px; transition: color .15s; }
footer.ex-footer a:hover { color: var(--ex-orange-400); }
footer.ex-footer ul { list-style: none; padding: 0; margin: 0; }
footer.ex-footer ul li { padding: 6px 0; }
footer.ex-footer .ex-brand-block { padding-right: 40px; }
footer.ex-footer .ex-brand-block .ex-logo {
    display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
footer.ex-footer .ex-logo img {
    height: 46px; width: 46px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
footer.ex-footer .ex-logo .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}
footer.ex-footer .ex-logo .logo-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #ffffff;
}
footer.ex-footer .ex-logo .logo-company {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}
footer.ex-footer .ex-brand-block p { font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.7; }
footer.ex-footer .ex-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 26px; margin-top: 50px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
    font-size: 13px; color: rgba(255, 255, 255, 0.45);
}
footer.ex-footer .ex-bottom .ex-legal-links a {
    margin-left: 18px; font-size: 13px;
}

/* ---------- inner-page breadcrumb (replacement) ---------- */
.ex-breadcrumb {
    padding: 140px 0 70px;
    background: var(--ex-grad-hero);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ex-breadcrumb::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--ex-paper));
}
.ex-breadcrumb .ex-eyebrow {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ex-orange-300);
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.ex-breadcrumb h1 {
    color: #fff;
    font-size: clamp(28px, 3.4vw, 42px);
    margin-bottom: 12px;
}
.ex-breadcrumb .ex-crumb-path {
    font-size: 13px; color: rgba(255, 255, 255, 0.6);
}
.ex-breadcrumb .ex-crumb-path a { color: rgba(255, 255, 255, 0.85); }
.ex-breadcrumb .ex-crumb-path .sep { margin: 0 8px; opacity: .5; }

/* ---------- legal page typography ---------- */
.ex-legal { background: #fff; }
.ex-legal-wrap {
    background: #fff;
    border-radius: var(--ex-radius-lg);
    padding: 60px;
    box-shadow: var(--ex-shadow-sm);
    border: 1px solid var(--ex-ink-200);
    margin-top: -40px;
    position: relative;
    z-index: 2;
}
.ex-legal-wrap h2 { font-size: 28px; margin: 0 0 24px; }
.ex-legal-wrap h4 { font-size: 18px; margin: 36px 0 12px; color: var(--ex-navy-800); }
.ex-legal-wrap p, .ex-legal-wrap li { color: var(--ex-ink-700); font-size: 15px; line-height: 1.85; }
.ex-legal-wrap .ex-meta { font-size: 13px; color: var(--ex-ink-400); margin-bottom: 10px; }
.ex-legal-wrap table { width: 100%; margin: 14px 0 24px; border-collapse: collapse; }
.ex-legal-wrap table th, .ex-legal-wrap table td {
    padding: 12px 14px; border: 1px solid var(--ex-ink-200); font-size: 14px; text-align: left;
}
.ex-legal-wrap table th { background: var(--ex-ink-100); font-weight: 600; color: var(--ex-navy-800); }

/* ---------- contact ---------- */
.ex-contact-card {
    background: #fff;
    border: 1px solid var(--ex-ink-200);
    border-radius: var(--ex-radius-md);
    padding: 28px;
    height: 100%;
    transition: border-color .2s, box-shadow .2s;
}
.ex-contact-card:hover { border-color: var(--ex-orange-300); box-shadow: var(--ex-shadow-sm); }
.ex-contact-card .ex-ic {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--ex-orange-soft);
    color: var(--ex-orange-500);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 18px;
}
.ex-contact-card h4 { font-size: 16px; margin-bottom: 8px; }
.ex-contact-card p { color: var(--ex-ink-500); font-size: 14px; margin: 4px 0; }

.ex-form { background: #fff; border: 1px solid var(--ex-ink-200); border-radius: var(--ex-radius-md); padding: 36px; }
.ex-form label { display: block; font-size: 13px; color: var(--ex-ink-700); font-weight: 600; margin-bottom: 6px; }
.ex-form input, .ex-form select, .ex-form textarea {
    width: 100%; padding: 12px 14px; border-radius: var(--ex-radius-sm);
    border: 1px solid var(--ex-ink-200); background: #fff;
    font-size: 14px; color: var(--ex-ink-900);
    transition: border-color .15s, box-shadow .15s;
}
.ex-form input:focus, .ex-form select:focus, .ex-form textarea:focus {
    outline: none;
    border-color: var(--ex-orange-500);
    box-shadow: 0 0 0 3px var(--ex-orange-soft);
}
.ex-form .ex-field { margin-bottom: 18px; }
.ex-form .ex-hint { font-size: 12px; color: var(--ex-ink-400); margin-top: 14px; }

/* ---------- utilities ---------- */
.ex-mt-10 { margin-top: 10px; } .ex-mt-20 { margin-top: 20px; } .ex-mt-40 { margin-top: 40px; }
.ex-mb-10 { margin-bottom: 10px; } .ex-mb-20 { margin-bottom: 20px; } .ex-mb-40 { margin-bottom: 40px; }
.ex-text-orange { color: var(--ex-orange-500) !important; }
.ex-divider { height: 1px; background: var(--ex-ink-200); border: none; margin: 60px 0; }

/* kill the old "shapes" decorations from the reference template */
.service-shape, .service-line-shape, .exclusive-services-shape,
.breadcrumb-shape, .footer-overlay-icon, .scroll-top {
    display: none !important;
}

/* responsive tweaks */
@media (max-width: 767px) {
    .ex-hero { padding: 120px 0 80px; min-height: auto; }
    .ex-section { padding: 70px 0; }
    .ex-security-panel, .ex-cta-strip, .ex-legal-wrap { padding: 36px 24px; }
    .ex-stats-strip { margin-top: 40px; padding: 20px; }
    footer.ex-footer { padding: 60px 0 24px; }
    footer.ex-footer .ex-brand-block { padding-right: 0; margin-bottom: 30px; }
    footer.ex-footer .ex-bottom .ex-legal-links a { margin-left: 0; margin-right: 14px; }
}
