:root {
    --site-ink: #13253b;
    --site-ink-soft: #53657a;
    --site-orange: #e76725;
    --site-paper: #ffffff;
    --site-surface: #f4f6f8;
    --site-line: #dce2e8;
    --site-container: 1280px;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { text-rendering: optimizeLegibility; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(231, 103, 37, .62);
    outline-offset: 3px;
}

.site-header {
    height: 80px;
    background: rgba(255, 255, 255, .97);
    border-color: #e9edf1;
    box-shadow: 0 4px 18px rgba(19, 37, 59, .05);
}
.site-header > div > div:first-child { height: 80px; }
.site-brand { color: var(--site-ink); font-size: 25px; letter-spacing: -.055em; white-space: nowrap; }
.site-brand > span > span:first-child { color: var(--site-orange); }
.site-nav { gap: clamp(16px, 2vw, 32px); }
.site-nav a:not(.site-primary-cta), .site-nav button {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: #34485f;
    font-size: 14px;
    font-weight: 600;
    transition: color 180ms ease;
}
.site-nav a:not(.site-primary-cta)::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    background: var(--site-orange);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}
.site-nav a:not(.site-primary-cta):hover { color: var(--site-orange); }
.site-nav a:not(.site-primary-cta):hover::after { transform: scaleX(1); }
.site-nav .site-primary-cta { min-height: 46px; padding: 0 20px; border-radius: 6px; font-size: 14px; }
.mobile-menu-toggle { position: relative; width: 42px; height: 42px; color: var(--site-ink); }
.mobile-menu-toggle i { display: none; }
.mobile-menu-toggle::before {
    position: absolute;
    top: 13px;
    left: 11px;
    width: 20px;
    height: 16px;
    background: linear-gradient(currentColor, currentColor) 0 0 / 20px 2px no-repeat,
        linear-gradient(currentColor, currentColor) 0 7px / 20px 2px no-repeat,
        linear-gradient(currentColor, currentColor) 0 14px / 20px 2px no-repeat;
    content: "";
}
.mobile-menu-toggle.is-open::before {
    top: 11px;
    height: 20px;
    background: linear-gradient(45deg, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%) center / 20px 20px no-repeat,
        linear-gradient(-45deg, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%) center / 20px 20px no-repeat;
}
.site-mobile-menu { padding: 12px 0 20px; border-top: 1px solid var(--site-line); background: white; }
.site-mobile-menu nav { gap: 4px; }
.site-mobile-menu a, .site-mobile-menu button {
    min-height: 44px;
    padding: 10px 4px;
    color: var(--site-ink);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}
.site-mobile-menu a:last-child { justify-content: center; margin-top: 8px; padding: 12px 16px; border-radius: 6px; color: white; }

.site-hero { overflow: hidden; background: var(--site-paper); }
.site-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(36px, 5vw, 76px);
    width: min(calc(100% - 64px), var(--site-container));
    min-height: 640px;
    margin: 0 auto;
    padding: 46px 0 54px;
}
.site-hero-copy { max-width: 620px; padding: 8px 0; }
.site-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--site-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.site-eyebrow::before { width: 22px; height: 2px; background: currentColor; content: ""; }
.site-hero-copy h1 {
    margin: 0 0 24px;
    color: var(--site-ink);
    font-size: clamp(52px, 5.3vw, 76px);
    font-weight: 750;
    letter-spacing: -.065em;
    line-height: .99;
}
.site-hero-copy h1 span { display: block; color: var(--site-orange); }
.site-hero-copy h2 {
    max-width: 560px;
    margin: 0 0 16px;
    color: #33475e;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.35;
}
.site-hero-copy > p:not(.site-eyebrow) { max-width: 560px; margin: 0; color: #637286; font-size: 16px; line-height: 1.75; }
.site-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.site-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.site-button:hover { transform: translateY(-2px); }
.site-button-primary { background: var(--site-orange); color: white; }
.site-button-primary:hover { background: #cf561a; }
.site-button-secondary { border-color: #bdc8d3; background: white; color: var(--site-ink); }
.site-button-secondary:hover { border-color: var(--site-ink); background: #f8f9fa; }
.site-button svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.site-hero-visual { position: relative; overflow: hidden; min-height: 440px; margin: 0; border-radius: 8px; background: #14253b; }
.site-hero-visual::after { position: absolute; inset: 0; border: 1px solid rgba(19, 37, 59, .08); border-radius: inherit; content: ""; pointer-events: none; }
.site-hero-visual img { display: block; width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: 58% center; }

.site-facts { padding: 0; border-color: var(--site-line); background: var(--site-surface); }
.site-facts > div { width: min(calc(100% - 64px), var(--site-container)); padding: 24px 0; }
.site-facts-grid { gap: 0; }
.site-facts-grid > div { width: 100%; min-height: 52px; justify-content: center; padding: 4px 22px; border-right: 1px solid #d6dde4; }
.site-facts-grid > div:last-child { border-right: 0; }
.site-facts-grid svg { width: 22px; height: 22px; flex: none; color: var(--site-orange); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.site-facts-grid span { color: #34485f; line-height: 1.4; }

.site-principles > div { width: min(calc(100% - 64px), var(--site-container)); }
.site-principles .group.p-8.bg-gray-50 { padding: 26px 24px 8px 0; border: 0; border-top: 1px solid var(--site-line); border-radius: 0; background: transparent; box-shadow: none; }
.site-principles .group.p-8.bg-gray-50:hover { border-top-color: var(--site-orange); background: transparent; box-shadow: none; transform: none; }
.site-principles .group > div:first-child { display: none; }
.site-principles .group h3 { margin-bottom: 12px; font-size: 18px; letter-spacing: -.02em; }
.site-principles > div > div:first-child > span { letter-spacing: .11em; }

.site-page-hero { position: relative; isolation: isolate; background: #13253b; }
.site-page-hero::before { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: min(42vw, 560px); background: linear-gradient(90deg, #13253b 0%, rgba(19,37,59,.35) 100%), url("../../images/hero_bg.webp") center/cover; content: ""; opacity: .38; }
.site-page-hero > div { max-width: 920px; padding-top: 40px; padding-bottom: 40px; }
.site-page-hero h1 { max-width: 800px; margin: 0 auto 16px; font-size: clamp(38px, 5vw, 58px); letter-spacing: -.055em; line-height: 1.04; }
.site-page-hero p { max-width: 660px; margin-right: auto; margin-left: auto; font-size: 17px; line-height: 1.65; }
.site-contact-hero::before { width: min(52vw, 700px); background-image: linear-gradient(90deg, #13253b 0%, rgba(19,37,59,.55) 100%), url("../../images/hero-products.jpg"); opacity: .42; }
.site-contact-hero-image { display: none; }
.site-contact > div { align-items: stretch; }
.site-contact-card { position: relative; overflow: hidden; border-color: #e5e9ee; border-radius: 8px; box-shadow: 0 18px 46px rgba(19,37,59,.09); }
.site-contact-card::before { position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--site-orange); content: ""; }
.site-contact-card > div:first-child { border-radius: 8px; }
.site-contact-card > a:first-of-type { font-size: 20px; text-decoration-thickness: 1px; }
.site-contact-card > a:last-of-type { border-radius: 6px; box-shadow: none; }

footer { background: #101f32; }
footer a:focus-visible, footer button:focus-visible { outline-color: #ffb07d; }
#partners-modal { padding: 20px; }
#partners-modal > div:nth-child(2) { max-width: 400px !important; padding: 36px 32px !important; border-radius: 10px !important; }
[data-theme="dark"] #partners-modal [role="dialog"] { background: #1e293b !important; }
[data-theme="dark"] #partners-modal h3, [data-theme="dark"] #partners-modal p { color: #dbe4ee !important; }

[data-theme="dark"] .site-hero, [data-theme="dark"] .site-contact { background: #0f172a; }
[data-theme="dark"] .site-hero-copy h1, [data-theme="dark"] .site-hero-copy h2, [data-theme="dark"] .site-facts-grid span { color: #eff4f8; }
[data-theme="dark"] .site-hero-copy > p:not(.site-eyebrow) { color: #c0cad6; }
[data-theme="dark"] .site-button-secondary { border-color: #475569; background: #0f172a; color: #eff4f8; }
[data-theme="dark"] .site-facts-grid > div { border-color: #334155; }
[data-theme="dark"] .site-contact-card { border-color: #334155; background: #1e293b; }
[data-theme="dark"] .site-contact-card h2 { color: #eff4f8; }
[data-theme="dark"] .site-contact-card p { color: #c7d1dc; }
[data-theme="dark"] .site-mobile-menu { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .site-mobile-menu a, [data-theme="dark"] .site-mobile-menu button { color: #eff4f8; }

@media (min-width: 768px) and (max-width: 1023px) {
    .site-hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 32px; padding-top: 58px; }
    .site-hero-copy { max-width: 720px; }
    .site-hero-visual { min-height: 0; }
    .site-hero-visual img { min-height: 0; aspect-ratio: 1.8; }
}

@media (max-width: 767px) {
    html { scroll-padding-top: 72px; }
    .site-header, .site-header > div > div:first-child, .site-header .h-20 { height: 72px; }
    .site-header-spacer { height: 72px; }
    .site-brand { font-size: 23px; }
    .site-hero-inner { display: flex; width: min(calc(100% - 40px), 600px); min-height: 0; flex-direction: column; align-items: stretch; gap: 28px; padding: 48px 0 32px; }
    .site-hero-copy h1 { margin-bottom: 18px; font-size: clamp(40px, 11.5vw, 52px); }
    .site-hero-copy h2 { font-size: 20px; }
    .site-hero-copy > p:not(.site-eyebrow) { font-size: 15px; line-height: 1.7; }
    .site-hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 22px; }
    .site-button { width: 100%; min-height: 50px; }
    .site-hero-visual, .site-hero-visual img { min-height: 0; }
    .site-hero-visual img { aspect-ratio: 1.18; }
    .site-facts > div, .site-principles > div { width: calc(100% - 40px); }
    .site-facts > div { padding: 16px 0; }
    .site-facts-grid > div { justify-content: flex-start; min-height: 62px; padding: 8px 10px; border-right: 0; }
    .site-facts-grid > div:nth-child(odd) { border-right: 1px solid #d6dde4; }
    .site-facts-grid svg { width: 19px; height: 19px; }
    .site-facts-grid span { font-size: 12px; text-align: left; }
    .site-principles .grid { gap: 4px; }
    .site-principles .group.p-8.bg-gray-50 { padding: 20px 0 12px; }
    .site-page-hero > div { padding-top: 24px; padding-bottom: 24px; }
    .site-page-hero::before { width: 100%; opacity: .22; }
    .site-contact > div { width: calc(100% - 40px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
