:root {
    --blue: #1557ff;
    --blue-dark: #1045d1;
    --ink: #111318;
    --muted: #626b7a;
    --line: #e4e8ef;
    --soft: #f6f8fc;
    --white: #fff;
    --radius: 16px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { color: var(--ink); background: #dce7ff; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 200; transform: translateY(-180%); padding: 12px 18px; background: var(--ink); color: white; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip:focus { transform: translateY(0); outline-color: white; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 700; line-height: 1.45; text-align: center; text-decoration: none; transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary, .button--primary { color: white; background: var(--blue); box-shadow: 0 4px 10px #1557ff16; }
.button-primary:hover, .button--primary:hover { background: var(--blue-dark); box-shadow: 0 6px 14px #1557ff25; }
.button-secondary, .button--secondary { color: var(--ink); background: white; border-color: var(--line); }
.button-secondary:hover, .button--secondary:hover { background: var(--soft); border-color: #c8d0de; }
.button-ghost { color: var(--ink); background: transparent; }
.button-ghost:hover { background: var(--soft); }
.button-sm { min-height: 43px; padding: 10px 16px; font-size: 13px; }
.site-header { position: sticky; top: 0; z-index: 50; background: #ffffffed; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 83px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; text-decoration: none; }
.brand-symbol { display: grid; place-items: center; width: 40px; height: 40px; color: var(--blue); }
.brand-symbol svg { width: 40px; height: 40px; }
.brand-wordmark { font-size: 17px; line-height: 1.15; font-weight: 780; letter-spacing: -.6px; }
.brand-wordmark > span { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 8px; font-weight: 700; letter-spacing: 1.45px; color: var(--muted); }
.brand-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--blue); }
.header-navigation { display: flex; align-items: center; justify-content: flex-end; flex: 1; gap: 30px; }
.primary-navigation { display: flex; align-items: center; gap: 22px; }
.primary-navigation > a { font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; color: #454b57; padding-block: 10px; transition: color .18s ease; }
.primary-navigation > a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 5px; }
.menu-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
.menu-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-footer { color: var(--ink); background: var(--soft); border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.45fr .75fr .75fr 1.05fr; gap: 42px; padding-block: 62px 48px; }
.footer-about > p { max-width: 275px; color: var(--muted); font-size: 13px; line-height: 1.8; margin: 21px 0 17px; }
.footer-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.footer-note > span { color: var(--blue); font-size: 17px; }
.footer-links, .footer-start { padding-top: 7px; }
.footer-links h2, .footer-start h2 { margin: 0 0 19px; font-size: 13px; font-weight: 750; line-height: 1.5; }
.footer-links a { display: block; width: fit-content; padding-block: 5px; margin-bottom: 4px; color: var(--muted); font-size: 12px; text-decoration: none; }
.footer-links a:hover, .footer-legal button:hover { color: var(--blue); }
.footer-start > p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0 0 19px; }
.footer-start .button { min-height: 43px; font-size: 12px; padding: 10px 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 23px; border-top: 1px solid var(--line); }
.footer-bottom > p { color: var(--muted); font-size: 10px; margin: 0; }
.footer-legal { display: flex; align-items: center; gap: 23px; }
.footer-legal button { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 10px; }
.footer-language { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.footer-language svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.3; }
@media (max-width: 1080px) {
    .header-inner { min-height: 75px; flex-wrap: wrap; gap: 0; }
    .menu-toggle { display: flex; }
    .header-navigation { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 18px; max-height: calc(100vh - 75px); max-height: calc(100dvh - 75px); overflow-y: auto; overscroll-behavior: contain; padding: 17px 0 23px; }
    .header-navigation.is-open { display: flex; }
    .primary-navigation { align-items: stretch; flex-direction: column; gap: 0; }
    .primary-navigation > a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
    .header-actions { gap: 12px; }
    .header-actions .button { min-height: 46px; flex: 1; }
    .footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 34px; }
    .footer-start { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid var(--line); }
    .footer-start h2, .footer-start > p { margin: 0; }
}
@media (max-width: 640px) {
    html { scroll-padding-top: 84px; }
    .container { padding-inline: 20px; }
    .header-inner { min-height: 71px; }
    .brand-symbol, .brand-symbol svg { width: 34px; height: 34px; }
    .brand-wordmark { font-size: 16px; }
    .brand-wordmark > span { font-size: 7px; letter-spacing: 1.3px; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; padding-block: 42px 32px; }
    .footer-about { grid-column: 1 / -1; }
    .footer-about > p { max-width: 350px; margin-top: 15px; }
    .footer-start { display: block; }
    .footer-start h2 { margin-bottom: 9px; }
    .footer-start > p { margin-bottom: 16px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 15px; padding-block: 22px; }
    .footer-legal { flex-wrap: wrap; gap: 16px; }
    .footer-legal button { min-height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
