/* 
Art Direction: Plum Contrast 2026
Palette: Focal Plum (OKLCH 45% 0.18 330) / Pure White (OKLCH 100% 0 0) / Deep Slate (OKLCH 20% 0.02 330)
Typography: Headers - Geometric Grotesque (Futura/Century Gothic/Avenir) / Body - System Grotesque
Composition: Split-screen rhythm (50/50 image-text) with sharp 1px lines and 0px radius
Motion: Subtle fade-in slide on scroll via CSS animations
Geometry: Sharp corners, editorial grid, high-contrast saturation transitions
*/
:root {
    --fxjn-color-focal: oklch(45% 0.18 330);
    --fxjn-color-light: oklch(98% 0.01 330);
    --fxjn-color-dark: oklch(20% 0.02 330);
    --fxjn-color-text: oklch(25% 0.02 330);
    --fxjn-color-white: #ffffff;
    --fxjn-font-header: "Futura", "Century Gothic", "Avenir", sans-serif;
    --fxjn-font-body: system-ui, -apple-system, sans-serif;
    --fxjn-border: 1px solid var(--fxjn-color-dark);
    --fxjn-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body { 
    overflow-x: clip; 
    margin: 0; 
    padding: 0; 
    font-family: var(--fxjn-font-body); 
    color: var(--fxjn-color-text); 
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

.fxjn-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

.fxjn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: var(--fxjn-border);
    background: transparent;
    color: inherit;
    text-decoration: none;
    font-family: var(--fxjn-font-header);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--fxjn-transition);
    box-sizing: border-box;
}
.fxjn-btn:hover, .fxjn-btn:focus-visible {
    background: var(--fxjn-color-dark);
    color: var(--fxjn-color-white);
}
.fxjn-btn-primary {
    background: var(--fxjn-color-focal);
    border-color: var(--fxjn-color-focal);
    color: var(--fxjn-color-white);
}
.fxjn-btn-primary:hover {
    background: var(--fxjn-color-dark);
    border-color: var(--fxjn-color-dark);
}

.fxjn-topbar {
    background: var(--fxjn-color-light);
    border-bottom: var(--fxjn-border);
    font-size: 0.75rem;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.fxjn-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fxjn-header {
    border-bottom: var(--fxjn-border);
    background: var(--fxjn-color-white);
    position: sticky;
    top: 0;
    z-index: 100;
}
.fxjn-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.fxjn-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--fxjn-color-dark);
}
.fxjn-logo-brand {
    font-family: var(--fxjn-font-header);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
    text-transform: uppercase;
}
.fxjn-logo-domain {
    font-size: 0.65rem;
    opacity: 0.6;
}

.fxjn-nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.fxjn-nav-link {
    text-decoration: none;
    color: var(--fxjn-color-text);
    font-family: var(--fxjn-font-header);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--fxjn-transition);
}
.fxjn-nav-link:hover { color: var(--fxjn-color-focal); }

.fxjn-lang-switch {
    display: flex;
    gap: 12px;
    margin-right: 24px;
}
.fxjn-lang-link {
    text-decoration: none;
    font-size: 0.8rem;
    color: var(--fxjn-color-text);
    border-bottom: 1px solid transparent;
}
.fxjn-lang-link:hover { border-color: var(--fxjn-color-focal); }

#fxjn-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--fxjn-color-white);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    transition: var(--fxjn-transition);
}
.fxjn-open { display: flex !important; }

@media (max-width: 959px) {
    #fxjn-menu { display: none; }
    .fxjn-nav-list { flex-direction: column; align-items: center; gap: 24px; }
    .fxjn-header-inner { height: 70px; }
}
@media (min-width: 960px) {
    .fxjn-menu-toggle { display: none; }
    #fxjn-menu { position: static; height: auto; background: none; padding: 0; }
    #fxjn-menu .fxjn-nav-list { flex-direction: row; }
}

.fxjn-hero {
    background: var(--fxjn-color-focal);
    color: var(--fxjn-color-white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}
.fxjn-hero-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.fxjn-hero-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.fxjn-section { padding: 80px 0; }
.fxjn-section-light { background: var(--fxjn-color-white); }
.fxjn-section-dark { background: var(--fxjn-color-light); }

.fxjn-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: var(--fxjn-border);
}
.fxjn-split-text { padding: 60px; }
.fxjn-split-img { background-size: cover; background-position: center; min-height: 400px; }

.fxjn-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr));
    gap: 1px;
    background: var(--fxjn-border);
    border: var(--fxjn-border);
}
.fxjn-fact-card {
    background: var(--fxjn-color-white);
    padding: 40px 24px;
    text-align: center;
}
.fxjn-fact-value {
    font-family: var(--fxjn-font-header);
    font-size: 2.5rem;
    display: block;
    color: var(--fxjn-color-focal);
}

.fxjn-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr));
    gap: 40px;
}
.fxjn-service-item {
    border: var(--fxjn-border);
    padding: 40px;
    transition: var(--fxjn-transition);
}
.fxjn-service-num {
    font-family: var(--fxjn-font-header);
    font-size: 0.8rem;
    opacity: 0.5;
    display: block;
    margin-bottom: 16px;
}
.fxjn-service-item:hover {
    background: var(--fxjn-color-light);
    box-shadow: 0 10px 0 var(--fxjn-color-dark);
}

.fxjn-table-wrap { overflow-x: auto; border: var(--fxjn-border); margin: 24px 0; }
.fxjn-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.fxjn-table th, .fxjn-table td {
    padding: 16px;
    border-bottom: var(--fxjn-border);
    border-right: var(--fxjn-border);
}
.fxjn-table th { background: var(--fxjn-color-light); font-family: var(--fxjn-font-header); }

.fxjn-faq-group { margin-bottom: 40px; }
.fxjn-faq-item { border-bottom: var(--fxjn-border); }
.fxjn-faq-item summary {
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fxjn-faq-item summary::-webkit-details-marker { display: none; }
.fxjn-faq-content { padding-bottom: 20px; font-size: 0.95rem; }

.fxjn-guide-card {
    border: var(--fxjn-border);
    padding: 32px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--fxjn-transition);
}
.fxjn-guide-card:hover { background: var(--fxjn-color-light); }
.fxjn-guide-kicker {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--fxjn-color-focal);
    display: block;
    margin-bottom: 8px;
}
.fxjn-guide-meta { font-size: 0.75rem; opacity: 0.6; display: block; margin-top: 16px; }

.fxjn-legal-toc {
    margin: 40px 0;
    padding: 24px;
    border: var(--fxjn-border);
    background: var(--fxjn-color-light);
}
.fxjn-legal-toc ul { list-style: none; padding: 0; }
.fxjn-legal-toc a { text-decoration: none; color: inherit; font-size: 0.9rem; }
.fxjn-legal-section { margin-bottom: 48px; }
.fxjn-legal-section h2 { font-family: var(--fxjn-font-header); border-bottom: var(--fxjn-border); padding-bottom: 12px; }

.fxjn-form {
    display: grid;
    gap: 24px;
    max-width: 600px;
}
.fxjn-form-group { display: flex; flex-direction: column; gap: 8px; }
.fxjn-form-group label { font-size: 0.85rem; font-weight: 600; }
.fxjn-form-group input, .fxjn-form-group textarea {
    padding: 12px;
    border: var(--fxjn-border);
    font-family: inherit;
}
.fxjn-honey { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }

.fxjn-footer {
    background: var(--fxjn-color-focal);
    color: var(--fxjn-color-white);
    padding: 60px 0 30px;
}
.fxjn-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr));
    gap: 40px;
    margin-bottom: 60px;
}
.fxjn-footer-col h4 {
    font-family: var(--fxjn-font-header);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 8px;
}
.fxjn-footer-col ul { list-style: none; padding: 0; margin: 0; }
.fxjn-footer-col a {
    color: var(--fxjn-color-white);
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.8;
}
.fxjn-footer-col a:hover { opacity: 1; }
.fxjn-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.75rem;
    opacity: 0.7;
}
.fxjn-footer-bottom p { margin: 0 0 12px; }

.fxjn-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: var(--fxjn-color-white);
    border: var(--fxjn-border);
    z-index: 1000;
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
}
.fxjn-cookie-btns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px,100%), 1fr));
    gap: 12px;
    margin-top: 24px;
}
.fxjn-cookie-panel {
    margin-top: 24px;
    padding-top: 24px;
    border-top: var(--fxjn-border);
    display: grid;
    gap: 12px;
}
.fxjn-cookie-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    cursor: pointer;
}

.fxjn-badge {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 100px;
    height: 100px;
    animation: fxjn-rotate 10s linear infinite;
    z-index: 50;
    pointer-events: none;
}
@keyframes fxjn-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.fxjn-skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.fxjn-skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 20px;
    background: var(--fxjn-color-focal);
    color: white;
    z-index: 2000;
}

.fxjn-fade-in {
    animation: fxjn-fade 0.6s ease-out forwards;
}
@keyframes fxjn-fade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, .fxjn-fade-in { animation: none !important; transition: none !important; }
}

.fxjn-breadcrumbs {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    margin: 24px 0;
    list-style: none;
    padding: 0;
}
.fxjn-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 12px; opacity: 0.5; }
.fxjn-breadcrumbs a { color: inherit; text-decoration: none; }

.fxjn-prose { max-width: 75ch; }
.fxjn-prose p { margin-bottom: 1.5em; }
.fxjn-figure { margin: 40px 0; text-align: center; }
.fxjn-figure img { max-width: 100%; height: auto; border: var(--fxjn-border); }
.fxjn-legal-note { font-style: italic; font-size: 0.85rem; margin-bottom: 24px; }
.fxjn-sitemap ul { list-style: none; padding: 0; }
.fxjn-sitemap li { margin-bottom: 8px; }
.fxjn-sitemap a { text-decoration: none; color: inherit; font-size: 0.9rem; }

.fxjn-focus-ring:focus-visible {
    outline: 2px solid var(--fxjn-color-focal);
    outline-offset: 2px;
}

/* сборка: защита от переполнения и служебные правила */
[hidden]{display:none!important}
html,body{overflow-x:clip}
img,video{max-width:100%;height:auto}
:where(main,header,footer) :where(div,section,article,aside,ul,ol,li,figure,details,form,fieldset,nav){min-width:0}
:where(main,footer) :where(h1,h2,h3,h4,p,li,td,th,dd,dt,summary,figcaption,a){overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.fxjn-table-wrap{overflow-x:auto;max-width:100%}
.fxjn-honey{position:absolute!important;left:auto!important;right:auto!important;top:auto!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;opacity:0!important}
:where(a){color:inherit;text-underline-offset:.2em}
:where(main) :where(section,article,div,li,figure){position:relative}
@media (max-width:479px){.fxjn-btn,:where(button,[type=submit],[type=button]){white-space:normal!important;max-width:100%;box-sizing:border-box}:where(input,select,textarea){max-width:100%!important;box-sizing:border-box}:where(header) :where(div,nav,ul,ol){column-gap:min(1rem,3vw)!important}:where(header) a.fxjn-btn:not([aria-controls]){display:none!important}}
@media (max-width:959px){html.js :where(#fxjn-menu):not(.fxjn-open){display:none!important}:where(header):has(#fxjn-menu){position:relative}:where(#fxjn-menu).fxjn-open{display:flex!important;flex-direction:column;align-items:stretch;gap:.25rem;position:absolute;left:0;right:0;top:100%;z-index:90;max-height:calc(100vh - 4rem);overflow-y:auto;padding:1rem clamp(16px,4vw,32px) 1.5rem;box-sizing:border-box;visibility:visible!important;opacity:1!important;transform:none!important;background:var(--fxjn-bg,Canvas);color:var(--fxjn-text,CanvasText);box-shadow:0 12px 24px rgb(0 0 0 / .25)}:where(#fxjn-menu).fxjn-open a{min-height:44px;display:flex;align-items:center}}
html:not(.js) #fxjn-menu{display:flex!important;flex-wrap:wrap;position:static!important;transform:none!important;visibility:visible!important;opacity:1!important}


