/* 3DWK theme 2026 draft. Optional layer loaded after styles.css; remove the <link> to turn it off. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-cyrillic-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --ink: #13233a;            /* dark navy text / primary */
    --navy: #13233a;
    --navy-2: #1e3a5f;
    --muted: #5b6573;          /* neutral grey */
    --line: #e2e6eb;
    --soft: #f5f6f8;
    --panel: #ffffff;
    --accent: #1e3a5f;         /* former teal accents become navy */
    --accent-strong: #13233a;
    --cta: #c2410c;            /* CTA orange, 5.18:1 with white text (WCAG AA) */
    --cta-hover: #9a3412;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(19, 35, 58, 0.04), 0 4px 14px rgba(19, 35, 58, 0.06);
    --shadow-hover: 0 2px 4px rgba(19, 35, 58, 0.06), 0 10px 24px rgba(19, 35, 58, 0.10);
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    font-feature-settings: "cv11", "ss01";
    letter-spacing: -0.005em;
    color: var(--ink);
}
h1, h2, h3 { letter-spacing: -0.02em; color: var(--navy); }
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
table, .comparison-table, dl, .trust-strip strong, .qv-table, .aq-table, .steps span, .reason-grid strong { font-variant-numeric: tabular-nums; }

.eyebrow { color: var(--muted); letter-spacing: 0.06em; font-weight: 700; }

/* Buttons: one CTA style (orange), everything else neutral navy outline. */
.button { border-radius: 8px; font-weight: 700; min-height: 46px; padding: 11px 22px; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.button.primary, .nav-cta { color: #fff; background: var(--cta); border-color: var(--cta); }
.button.primary:hover, .button.primary:focus-visible, .nav-cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; }
.button.secondary { color: var(--navy); background: #fff; border-color: #c9d0d8; }
.button.secondary:hover, .button.secondary:focus-visible { border-color: var(--navy); background: var(--soft); }
.button:focus-visible { outline: 3px solid rgba(194, 65, 12, 0.35); outline-offset: 2px; }

/* Cards: one radius, border and shadow. */
.account-request-list article, .announcement-panel, .application-case-grid article, .capability-panel,
.empty-state, .enterprise-process article, .feature-grid div, .industry-capability-grid article,
.industry-highlight-grid article, .industry-index-grid a, .product-card, .product-panel, .quote-card,
.quote-side, .reason-grid article, .resource-article-card, .resource-preview-grid a, .resource-update-card,
.service-card, .service-directory-card, .steps div, .submission-contact, .success-panel,
.supplier-benefit-grid > div, .supplier-capability-grid article, .supplier-steps article,
.value-service-grid article, .workflow-steps article, .faq-list details, .qn-card, .qv-part, .qn-contact {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background-color: var(--panel);
}
.service-card, .application-case-grid article, .resource-preview-grid a, .industry-index-grid a, .service-directory-card, .product-card {
    transition: box-shadow .15s, transform .15s;
}
.service-card:hover, .application-case-grid article:hover, .resource-preview-grid a:hover, .industry-index-grid a:hover, .service-directory-card:hover, .product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}
.service-card, .application-case-grid article, .reason-grid article, .feature-grid div, .supplier-steps article { padding: 26px; }

/* Slightly more whitespace between sections. */
.content-section, .section, .page-hero, .process-band, .contact-band { padding-top: 88px; padding-bottom: 88px; }
.section-heading { margin-bottom: 40px; }
.service-grid, .steps, .application-case-grid, .reason-grid, .feature-grid { gap: 22px; }
@media (max-width: 720px) {
    .content-section, .section, .page-hero, .process-band, .contact-band { padding-top: 60px; padding-bottom: 60px; }
}

/* Neutral surfaces and inline links. */
.page-hero, .content-section.soft, .process-band { background: var(--soft); }
.comparison-table th, .comparison-table thead { background: var(--navy); }
.jump-nav a { background: #fff; border: 1px solid var(--line); color: var(--navy); border-radius: 999px; }
.jump-nav a:hover { border-color: var(--navy); }
.service-card a, .text-link, .application-case-grid a { color: var(--navy); }
.service-card a:hover, .text-link:hover, .application-case-grid a:hover { color: var(--cta); }
main a:not(.button):hover { text-decoration-color: var(--cta); }
.login-link { color: var(--navy); }
.qn-drop { border-color: #aab4c0; }
.qn-drop.is-over { background: #fff3ec; border-color: var(--cta); }

/* --- preview 2026-10-13: CMS nav entry + contact band heading contrast --- */
.contact-band h2, .contact-band h3 { color: #fff; }
.nav-links > a, .nav-links .nav-trigger { white-space: nowrap; }
@media (min-width: 1201px) and (max-width: 1400px) {
    .nav-links { gap: 2px; }
    .nav-links > a, .nav-links .nav-trigger { padding-left: 4px; padding-right: 4px; }
    .nav-links .nav-long { display: none; }
}

/* RU: long Cyrillic words must not overflow narrow cards/nav */
html[lang="ru"] :is(p, li, a, h1, h2, h3, h4, dt, dd, label, td, th, span, strong, summary, figcaption, button) { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
