@font-face {
    font-family: Inter;
    src: url("/assets/inter-cyrillic.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Inter;
    src: url("/assets/inter-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    color-scheme: dark;
    --base: #0b0e16;
    --panel: #111621;
    --line: #262e40;
    --text: #f4f6ff;
    --muted: #a7b1c7;
    --accent: #a3bfff;
    --ink: #111a2e;
    --width: 1160px;
    font-family: Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--base); color: var(--text); }
body, p { line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 5; background: var(--accent); color: var(--ink); padding: 10px 18px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.header { border-bottom: 1px solid #242b3a; background: #0b0e16; }
.header-layout, .footer-layout { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { font-size: 29px; font-weight: 800; letter-spacing: -.105em; line-height: 1; padding-right: .105em; }
nav, .footer-links { display: flex; gap: 28px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 530; }
nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--text); }
nav a span { margin-left: 3px; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 18px;
    min-height: 51px; padding: 11px 19px; border-radius: 11px;
    border: 1px solid transparent; font-size: 15px; font-weight: 650; line-height: 1.35;
    transition: background-color .18s, border-color .18s, color .18s;
}
.button span { font-size: 18px; }
.button-outline { background: #151b28; border-color: #2a3448; }
.button-outline:hover { background: #212b40; border-color: #55698b; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: #bfd2ff; }
.header-download { min-height: 40px; padding: 7px 14px; gap: 10px; font-size: 13px; }
.hero {
    position: relative; overflow: clip;
    background: radial-gradient(ellipse at 77% 48%, #19294e 0, #101729 32%, transparent 64%), var(--base);
}
.hero-layout { display: grid; grid-template-columns: 1.16fr 1fr; align-items: center; min-height: 620px; }
.hero-copy { position: relative; z-index: 1; padding-block: 70px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 610; color: var(--accent); }
.signal { width: 7px; height: 7px; border-radius: 50%; background: #a1c0ff; box-shadow: 0 0 12px #8eafffa3; }
h1 { font-size: clamp(3.1rem, 5.7vw, 5.45rem); font-weight: 750; letter-spacing: -.072em; line-height: 1.03; margin: 23px 0; }
h1 span { color: #9ebaff; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 435px; }
.buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero-visual { position: relative; display: grid; align-content: center; justify-items: center; min-width: 0; padding: 35px 0; isolation: isolate; }
.orbital-field {
    position: absolute; inset: 0 -58px; z-index: -1; pointer-events: none;
    background: repeating-linear-gradient(0deg, #7295ee17 0 1px, transparent 1px 42px),
                repeating-linear-gradient(90deg, #7295ee17 0 1px, transparent 1px 42px);
    mask-image: radial-gradient(ellipse, black 6%, transparent 70%);
}
.orbit {
    position: absolute; top: 48%; left: 50%; width: 76%; aspect-ratio: 1;
    transform: translate(-50%, -50%); border-radius: 50%;
    border: 1px solid #90acff4d; box-shadow: 0 0 0 40px #8fadff11, 0 0 0 80px #8fadff0b;
}
.device {
    position: relative; display: grid; width: min(264px, 85%); aspect-ratio: 264 / 508;
    padding: 6px; border-radius: 38px; border: 1px solid #7a8dad;
    background: linear-gradient(145deg, #7d8fb7, #182337 26%, #56709e 62%, #131924 90%);
    box-shadow: 0 22px 66px #070b17a8, 0 0 72px #547be244, inset 0 0 0 2px #c2d1ee2b;
}
.device-screen { display: flex; flex-direction: column; justify-content: space-between; border-radius: 32px; padding: 15px 13px 7px; background: #0d0e12; }
.device-status { display: flex; align-items: center; justify-content: space-between; margin: 0 9px; font-size: 10px; }
.battery { position: relative; width: 17px; height: 8px; border-radius: 3px; background: #e8edfc; }
.battery::after { content: ""; position: absolute; right: -3px; top: 2px; width: 2px; height: 4px; background: #e8edfc; border-radius: 1px; }
.device-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 5px 0; }
.device-toolbar strong { font-size: 22px; line-height: 1; letter-spacing: -.1em; font-weight: 800; }
.device-toolbar span { font-size: 19px; font-weight: 570; line-height: 1; color: #e0e7f6; }
.device-toggle {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 0; width: 100%; margin: 6px 0; padding: 0 5px; border: 0; border-radius: 21px;
    background: transparent; color: var(--accent); cursor: pointer; font-size: 13px; font-weight: 580;
}
.device-toggle canvas {
    display: block; width: 100%; max-width: 210px; aspect-ratio: 1;
    background: radial-gradient(ellipse, #3a66bf28 0%, transparent 66%);
    transition: transform .25s, opacity .25s, filter .25s;
}
.device-toggle:hover canvas { transform: scale(1.035); }
.device-toggle[aria-pressed="false"] { color: #a7b1c7; }
.device-toggle[aria-pressed="false"] canvas { filter: saturate(.05); opacity: .5; }
.device-server {
    display: flex; align-items: center; gap: 10px; padding: 11px 10px; min-width: 0;
    border: 1px solid #2a3344; background: #1a1e28; border-radius: 13px; font-size: 13px;
}
.device-server small { display: block; color: #a2beff; letter-spacing: .025em; font-size: 9px; margin-top: 2px; }
.server-icon { background: #2a3b5b; display: grid; gap: 2px; align-content: center; justify-items: center; width: 29px; height: 29px; border-radius: 7px; }
.server-icon i { border: 1px solid #a1bbf6; width: 14px; height: 4px; border-radius: 1px; }
.server-chevron { margin-left: auto; color: #a1bbf6; font-size: 21px; }
.device-home { width: 78px; height: 3px; background: #b5bcce; margin: 13px auto 0; border-radius: 3px; }
.hero-visual figcaption { color: #aebcda; font-size: 11px; text-align: center; margin-top: 13px; }
.protocol-strip { border-block: 1px solid #262c3c; background: #0f1420; }
.protocol-strip ul {
    list-style: none; display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; padding: 19px 0; gap: 12px 24px; margin-block: 0;
    color: #b3bed4; font: 12px/1.5 ui-monospace, Consolas, monospace;
}
.section { padding-block: 82px; }
.section h2 { font-size: clamp(1.95rem, 4.1vw, 3.45rem); line-height: 1.07; font-weight: 710; letter-spacing: -.062em; }
.section-heading { margin-bottom: 28px; }
.section-heading p { margin-top: 10px; color: var(--muted); }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.platform {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    padding: 25px; background: var(--panel); border: 1px solid var(--line); border-radius: 19px;
}
.platform-heading { display: flex; gap: 14px; align-items: center; }
.platform-heading h3 { font-size: 23px; letter-spacing: -.04em; line-height: 1.1; }
.platform p { color: var(--muted); font-size: 14px; }
.platform-heading p { margin-top: 4px; font-size: 13px; }
.platform .button { margin-top: auto; min-height: 44px; }
.platform-icon { width: 44px; height: 44px; border-radius: 12px; background: #1c2942; display: grid; place-items: center; }
.ios-icon i { width: 13px; height: 23px; border: 1.5px solid var(--accent); border-radius: 4px; position: relative; }
.ios-icon i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 2px; height: 1px; background: var(--accent); }
.android-icon i { width: 24px; height: 12px; border-radius: 16px 16px 4px 4px; position: relative; background: #8bd6b3; }
.android-icon i::before {
    content: ""; position: absolute; left: 5px; top: -4px; width: 14px; height: 6px;
    border-inline: 1.5px solid #8bd6b3; transform: perspective(10px) rotateX(-18deg);
}
.android-icon i::after { content: ""; position: absolute; width: 3px; height: 3px; background: #1c2942; left: 5px; top: 6px; border-radius: 50%; box-shadow: 11px 0 #1c2942; }
.features { border-block: 1px solid var(--line); background: #101522; overflow: hidden; }
.features-layout { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 42px; }
.features h2 { max-width: 590px; margin-bottom: 24px; }
.feature-list { margin-bottom: 22px; }
.feature-list > div { padding: 14px 0; border-top: 1px solid var(--line); }
.feature-list dt { color: var(--text); font-weight: 630; font-size: 17px; margin-bottom: 2px; }
.feature-list dd { color: var(--muted); font-size: 14px; max-width: 540px; }
.text-link { color: var(--accent); font-weight: 600; font-size: 14px; }
.text-link span { margin-left: 8px; }
.import-preview {
    display: grid; place-items: center; min-width: 0; padding: 27px;
    background: radial-gradient(ellipse at 50% 60%, #2e4476 0, #17243f 47%, #141c2e 80%);
    border: 1px solid #263654; border-radius: 23px;
}
.import-preview img { width: min(208px, 100%); height: auto; border: 4px solid #526687; border-radius: 24px; box-shadow: 0 12px 28px #050910a8; }
.faq { display: grid; grid-template-columns: .75fr 1fr; gap: 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
    min-height: 58px; padding: 15px 34px 15px 0; list-style: none;
    font-weight: 590; cursor: pointer; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 3px; top: 13px; color: var(--accent); font-size: 21px; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); padding: 0 12px 16px 0; font-size: 14px; }
.faq p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
footer { border-top: 1px solid var(--line); }
.footer-layout { min-height: 86px; }
.footer-layout .wordmark { font-size: 23px; }
@media (max-width: 900px) {
    .wrap { width: calc(100% - 56px); }
    .hero-layout { min-height: 550px; grid-template-columns: 1.17fr .83fr; }
    h1 { font-size: clamp(2.6rem, 6.6vw, 4.2rem); }
    .device { width: min(220px, 90%); border-radius: 31px; }
    .device-screen { border-radius: 25px; }
    .features-layout { gap: 26px; }
    .section { padding-block: 62px; }
}
@media (max-width: 680px) {
    .wrap { width: calc(100% - 36px); }
    .header-layout { min-height: 60px; gap: 12px; }
    .header-layout nav { margin-left: auto; font-size: 12px; }
    .header-layout nav a:first-child { display: none; }
    .header-download { padding-inline: 10px; font-size: 12px; }
    .wordmark { font-size: 24px; }
    .hero-layout { grid-template-columns: 1fr; min-height: 0; }
    .hero { background: radial-gradient(ellipse at 50% 78%, #1a2a50, transparent 64%), var(--base); }
    .hero-copy { padding: 51px 0 20px; text-align: center; }
    .eyebrow, .buttons { justify-content: center; }
    h1 { font-size: clamp(2.25rem, 9.75vw, 3.7rem); margin-block: 17px; }
    .lead { margin-inline: auto; }
    .buttons { margin-top: 23px; }
    .button { gap: 10px; }
    .hero-visual { padding: 20px 0 28px; }
    .device { width: 190px; }
    .device-toolbar { padding-top: 8px; }
    .device-server { gap: 7px; padding: 8px; font-size: 12px; }
    .device-server small { font-size: 8px; }
    .device-home { margin-top: 8px; }
    .protocol-strip ul { justify-content: center; gap: 7px 16px; padding-block: 13px; font-size: 11px; }
    .section { padding-block: 48px; }
    .download-grid, .features-layout, .faq { grid-template-columns: 1fr; gap: 13px; }
    .platform { padding: 18px; gap: 13px; }
    .features-layout { gap: 26px; }
    .import-preview img { width: min(175px,100%); }
    .footer-links { gap: 7px 14px; flex-wrap: wrap; justify-content: flex-end; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
