:root {
    --ink: #06111f;
    --navy: #0b1424;
    --panel: #14243a;
    --panel-2: #192c45;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.2);
    --text: #f8fbff;
    --muted: #a8bad0;
    --soft: #70859d;
    --cyan: #22d3ee;
    --violet: #8b5cf6;
    --orange: #f97316;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    --max: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.65;
    background:
        linear-gradient(180deg, rgba(9, 24, 40, 0.92), #06111f 95%),
        linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent 34%, rgba(249, 115, 22, 0.08) 100%),
        var(--ink);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0 0 auto;
    height: 340px;
    background:
        linear-gradient(90deg, rgba(34, 211, 238, 0.12), transparent 45%),
        linear-gradient(180deg, rgba(11, 20, 36, 0.1), transparent);
    pointer-events: none;
}

nav {
    position: sticky;
    z-index: 50;
    top: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 17, 31, 0.78);
    backdrop-filter: blur(18px);
}

.nav-container {
    width: min(var(--max), calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 900;
    letter-spacing: 0;
    text-decoration: none;
}

.nav-logo img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.nav-logo span {
    font-family: inherit;
    font-size: 1.12rem;
    font-weight: 900;
    color: var(--text);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 650;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--text);
}

.btn,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    color: #04111d;
    background: var(--cyan);
    box-shadow: 0 12px 30px rgba(34, 211, 238, 0.22);
    font-weight: 800;
    font-size: 0.94rem;
    line-height: 1;
    white-space: nowrap;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.cta-button:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.content {
    width: min(920px, calc(100% - 32px));
    max-width: none;
    margin: 0 auto;
    padding: 64px 0 78px;
}

.content::after {
    content: "";
    display: block;
    clear: both;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.back-link:hover {
    color: var(--text);
}

h1,
h2,
h3 {
    font-family: inherit;
    letter-spacing: 0;
}

h1 {
    max-width: 840px;
    margin: 0 0 24px;
    color: var(--text);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: var(--text);
    font-size: clamp(2.45rem, 6vw, 5rem);
    line-height: 0.95;
    font-weight: 900;
    text-transform: uppercase;
}

h1 + p {
    color: var(--cyan);
    font-weight: 800;
}

h2 {
    margin: 44px 0 14px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.12;
    font-weight: 900;
}

h3 {
    margin: 26px 0 10px;
    color: var(--cyan);
    font-size: 1.08rem;
    font-weight: 900;
}

p,
li {
    max-width: 820px;
    color: #c9d8e8;
    font-size: 1.03rem;
}

p {
    margin-bottom: 16px;
}

ul,
ol {
    margin: 0 0 18px 1.25rem;
}

li {
    margin-bottom: 10px;
    padding-left: 4px;
}

strong {
    color: var(--white);
}

.content a:not(.back-link):not(.cta-button) {
    color: var(--cyan);
    font-weight: 700;
}

.content a:not(.back-link):not(.cta-button):hover {
    color: var(--text);
}

.info-box,
.warning-box,
.formular-box {
    margin: 26px 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(20, 36, 58, 0.72);
    box-shadow: var(--shadow);
}

.warning-box {
    border-color: rgba(249, 115, 22, 0.36);
    background: rgba(249, 115, 22, 0.08);
}

.info-box p:last-child,
.warning-box p:last-child,
.formular-box p:last-child {
    margin-bottom: 0;
}

.formular-title {
    color: var(--text);
    font-weight: 900;
}

.formular-field {
    margin: 18px 0;
}

.formular-field span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.field-line {
    height: 34px;
    border-bottom: 1px solid var(--line-strong);
}

footer {
    padding: 44px 0;
    background: #050d18;
    color: var(--muted);
}

.footer-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.92rem;
    font-weight: 650;
}

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 680px) {
    .nav-container {
        min-height: 68px;
    }

    .nav-logo span {
        font-size: 1rem;
    }

    .btn {
        min-height: 40px;
        padding: 0 13px;
        font-size: 0.84rem;
    }

    .content {
        padding: 44px 0 58px;
    }

    h1 {
        font-size: clamp(2.1rem, 12vw, 3.2rem);
    }

    h2 {
        margin-top: 34px;
    }

    p,
    li {
        font-size: 0.98rem;
    }

    .info-box,
    .warning-box,
    .formular-box {
        padding: 18px;
    }
}
