/* ==========================================================================
   Crosshair Overlay — design system
   Palette mirrors the desktop app so the site and the program feel like one product.
   ========================================================================== */

:root {
    --bg: #0b0d11;
    --bg-soft: #0f1218;
    --panel: #14171d;
    --panel-alt: #1a1e26;
    --border: #232936;
    --border-soft: #1c2129;

    --text: #e6e9ef;
    --text-dim: #8a93a3;
    --text-faint: #5f6875;

    --accent: #4da3ff;
    --accent-hover: #6cb4ff;
    --accent-ink: #06121f;
    --cyan: #22d3ee;
    --violet: #a855f7;
    --success: #4ade80;
    --warn: #fbbf24;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;

    --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.3);

    --maxw: 1120px;
    --header-h: 66px;

    --font: "Segoe UI", system-ui, -apple-system, "Inter", "Helvetica Neue", Arial, sans-serif;
    --mono: "Cascadia Mono", "Consolas", ui-monospace, "SF Mono", monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* keep anchors clear of the sticky header */
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-hover);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 650;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
    font-size: clamp(1.5rem, 3.2vw, 2.15rem);
}

h3 {
    font-size: 1.1rem;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Visible keyboard focus everywhere: the app went through an accessibility pass,
   the site should not be worse. */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: rgba(77, 163, 255, 0.3);
}

/* ---------------------------------------------------------------- layout */

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 88px 0;
    position: relative;
}

.section--tight {
    padding: 56px 0;
}

.section__head {
    max-width: 620px;
    margin-bottom: 40px;
}

.section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.lead {
    color: var(--text-dim);
    font-size: 1.05rem;
    margin-top: 14px;
}

.divider {
    height: 1px;
    background: var(--border-soft);
    border: 0;
    margin: 0;
}

/* Hidden visually but still read by screen readers — used for labels that would
   duplicate a nearby heading. */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 10px 16px;
    z-index: 200;
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    left: 0;
}

/* ---------------------------------------------------------------- header */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(11, 13, 17, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-weight: 650;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

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

.brand__mark {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.nav__link {
    color: var(--text-dim);
    font-size: 0.94rem;
    font-weight: 500;
    transition: color 0.16s ease;
}

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

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    width: 40px;
    height: 38px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-toggle svg {
    width: 20px;
    height: 20px;
}

/* ---------------------------------------------------------------- buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, color 0.16s ease;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--accent);
    color: var(--accent-ink);
}

.btn--primary:hover {
    background: var(--accent-hover);
    color: var(--accent-ink);
}

.btn--ghost {
    background: var(--panel-alt);
    border-color: var(--border);
    color: var(--text);
}

.btn--ghost:hover {
    background: #212734;
    border-color: #2e3646;
    color: var(--text);
}

.btn--quiet {
    background: transparent;
    border-color: var(--border);
    color: var(--text-dim);
}

.btn--quiet:hover {
    color: var(--text);
    border-color: #2e3646;
}

.btn--lg {
    padding: 14px 26px;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---------------------------------------------------------------- language switch */

.lang {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    background: var(--panel-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.lang__btn {
    background: none;
    border: 0;
    color: var(--text-faint);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 9px;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.16s ease, color 0.16s ease;
}

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

.lang__btn[aria-pressed="true"] {
    background: rgba(77, 163, 255, 0.16);
    color: var(--accent);
}

/* ---------------------------------------------------------------- hero */

.hero {
    position: relative;
    padding: 92px 0 76px;
    overflow: hidden;
}

/* Soft coloured glow behind the hero; purely decorative. */
.hero::before {
    content: "";
    position: absolute;
    top: -280px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 700px;
    background:
        radial-gradient(closest-side, rgba(77, 163, 255, 0.16), transparent 70%),
        radial-gradient(closest-side, rgba(168, 85, 247, 0.13), transparent 70%);
    background-position: 30% 40%, 72% 30%;
    background-size: 70% 80%, 60% 70%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
}

.hero__title {
    margin-bottom: 18px;
}

.hero__title span {
    background: linear-gradient(100deg, var(--cyan), var(--accent) 45%, var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__text {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 26px;
    color: var(--text-faint);
    font-size: 0.86rem;
}

.hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    flex: 0 0 6px;
}

/* ---------------------------------------------------------------- hero preview box */

.preview {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, #12151c, #0c0e13);
    padding: 18px;
    box-shadow: var(--shadow);
}

.preview__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
}

.preview__bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2b323f;
}

.preview__bar span {
    margin-left: auto;
    font-size: 0.74rem;
    color: var(--text-faint);
    font-family: var(--mono);
}

.preview__stage {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 25%, #223042, transparent 55%),
        radial-gradient(circle at 75% 70%, #2a2136, transparent 55%),
        #101319;
    display: grid;
    place-items: center;
}

/* faint grid to imply a game scene behind the crosshair */
.preview__stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
}

.preview__crosshair {
    position: relative;
    width: 96px;
    height: 96px;
    animation: spin 14s linear infinite;
}

.preview__crosshair i {
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.75);
}

.preview__crosshair i:nth-child(1) {
    top: 4px;
    left: 50%;
    width: 4px;
    height: 26px;
    margin-left: -2px;
}

.preview__crosshair i:nth-child(2) {
    bottom: 4px;
    left: 50%;
    width: 4px;
    height: 26px;
    margin-left: -2px;
}

.preview__crosshair i:nth-child(3) {
    left: 4px;
    top: 50%;
    height: 4px;
    width: 26px;
    margin-top: -2px;
}

.preview__crosshair i:nth-child(4) {
    right: 4px;
    top: 50%;
    height: 4px;
    width: 26px;
    margin-top: -2px;
}

.preview__crosshair b {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.75);
}

/* the demo crosshair cycles hue, mirroring the RGB feature */
.preview__crosshair {
    color: #ffffff;
    animation: spin 14s linear infinite, hue 9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hue {
    0% {
        color: #ffffff;
    }
    25% {
        color: var(--cyan);
    }
    50% {
        color: var(--accent);
    }
    75% {
        color: var(--violet);
    }
    100% {
        color: #ffffff;
    }
}

@media (prefers-reduced-motion: reduce) {
    .preview__crosshair {
        animation: none;
        color: #ffffff;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ---------------------------------------------------------------- cards & grids */

.grid {
    display: grid;
    gap: 18px;
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.card--hover:hover {
    border-color: #2e3646;
    background: var(--panel-alt);
    transform: translateY(-3px);
}

.card__icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(77, 163, 255, 0.12);
    color: var(--accent);
    margin-bottom: 16px;
}

.card__icon svg {
    width: 21px;
    height: 21px;
}

.card__icon--violet {
    background: rgba(168, 85, 247, 0.13);
    color: var(--violet);
}

.card__icon--cyan {
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
}

.card__icon--green {
    background: rgba(74, 222, 128, 0.12);
    color: var(--success);
}

.card h3 {
    margin-bottom: 8px;
}

.card p {
    color: var(--text-dim);
    font-size: 0.94rem;
}

/* ---------------------------------------------------------------- safety block */

.safety {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.safety__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.checklist li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 9px 0;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.checklist svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.checklist--no svg {
    color: #f87171;
}

.checklist--yes svg {
    color: var(--success);
}

.note {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    background: rgba(251, 191, 36, 0.07);
    border: 1px solid rgba(251, 191, 36, 0.22);
    color: var(--text-dim);
    font-size: 0.9rem;
}

.note svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: var(--warn);
    margin-top: 3px;
}

.note--info {
    background: rgba(77, 163, 255, 0.07);
    border-color: rgba(77, 163, 255, 0.22);
}

.note--info svg {
    color: var(--accent);
}

/* ---------------------------------------------------------------- screenshots */

.shots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.shot {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    overflow: hidden;
}

.shot img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--border-soft);
    background: var(--panel-alt);
}

.shot figcaption {
    padding: 13px 18px;
    color: var(--text-dim);
    font-size: 0.88rem;
}

/* ---------------------------------------------------------------- pricing */

.price {
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(170deg, #171b23, #101319);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.price__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--success);
    background: rgba(74, 222, 128, 0.12);
    border-radius: 999px;
    padding: 5px 13px;
    margin-bottom: 20px;
}

.price__value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.price__value strong {
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(100deg, var(--cyan), var(--accent) 50%, var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price__value span {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.price__list {
    margin: 26px 0;
    text-align: left;
}

.price__list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 7px 0;
    color: var(--text-dim);
    font-size: 0.94rem;
}

.price__list svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    color: var(--success);
    margin-top: 4px;
}

/* ---------------------------------------------------------------- contacts */

.contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 640px;
    margin: 0 auto;
}

.contact {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.contact:hover {
    border-color: #2e3646;
    transform: translateY(-2px);
    color: var(--text);
}

.contact__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--panel-alt);
    color: var(--accent);
}

.contact__icon svg {
    width: 22px;
    height: 22px;
}

.contact b {
    display: block;
    font-weight: 600;
}

.contact small {
    color: var(--text-faint);
    font-family: var(--mono);
    font-size: 0.84rem;
}

/* ---------------------------------------------------------------- faq */

.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq details {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq details[open] {
    border-color: #2e3646;
}

.faq summary {
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "";
    margin-left: auto;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--text-faint);
    border-bottom: 2px solid var(--text-faint);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex: 0 0 9px;
}

.faq details[open] summary::after {
    transform: rotate(-135deg);
}

.faq__body {
    padding: 0 22px 20px;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.faq__body p + p {
    margin-top: 12px;
}

/* ---------------------------------------------------------------- forms */

.auth {
    min-height: calc(100vh - var(--header-h) - 200px);
    display: grid;
    place-items: center;
    padding: 60px 0;
}

.form-card {
    width: 100%;
    max-width: 420px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.form-card h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-card > p {
    color: var(--text-dim);
    font-size: 0.94rem;
    margin-bottom: 26px;
}

.tabs {
    display: flex;
    gap: 3px;
    padding: 3px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.tabs__btn {
    flex: 1 1 0;
    background: none;
    border: 0;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 9px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease;
}

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

.tabs__btn[aria-selected="true"] {
    background: var(--panel-alt);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--border);
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 7px;
}

.input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.96rem;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.input::placeholder {
    color: var(--text-faint);
}

.input:focus {
    outline: none;
    border-color: var(--accent);
    background: #0d1015;
}

.input--mono {
    font-family: var(--mono);
    letter-spacing: 0.06em;
}

.form-foot {
    margin-top: 22px;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.msg {
    display: none;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.msg--error {
    display: block;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.25);
    color: #fca5a5;
}

.msg--ok {
    display: block;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    color: #86efac;
}

.msg--info {
    display: block;
    background: rgba(77, 163, 255, 0.1);
    border: 1px solid rgba(77, 163, 255, 0.28);
    color: #9dcbff;
}

/* Скрытое сообщение должно оставаться скрытым, даже когда на нём висит
   модификатор с display: block. */
.msg[hidden] {
    display: none;
}

/* «Забыли пароль?» — это действие, а не переход по адресу, поэтому кнопка.
   Выглядит как ссылка, чтобы не спорить с привычкой. */
.link-btn {
    border: 0;
    padding: 0;
    background: none;
    font: inherit;
    color: var(--accent);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.link-btn:hover {
    color: var(--cyan);
}

/* ---------------------------------------------------------------- account */

.account__head {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status--on {
    background: rgba(74, 222, 128, 0.12);
    color: var(--success);
}

.status--off {
    background: rgba(251, 191, 36, 0.12);
    color: var(--warn);
}

.status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.kv {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
    font-size: 0.93rem;
}

.kv dt {
    color: var(--text-faint);
}

.kv dd {
    margin: 0;
    color: var(--text);
    font-family: var(--mono);
    word-break: break-all;
}

.downloads {
    display: grid;
    gap: 12px;
}

.download {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.download__info {
    min-width: 0;
    flex: 1 1 220px;
}

.download__info b {
    display: block;
    font-weight: 600;
}

.download__info small {
    color: var(--text-faint);
    font-size: 0.84rem;
}

.tag {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--panel-alt);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.76rem;
    font-family: var(--mono);
}

.tag--accent {
    background: rgba(77, 163, 255, 0.12);
    border-color: rgba(77, 163, 255, 0.25);
    color: var(--accent);
}

.locked {
    text-align: center;
    padding: 46px 24px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-dim);
}

.locked svg {
    width: 34px;
    height: 34px;
    margin: 0 auto 14px;
    color: var(--text-faint);
}

/* ---------------------------------------------------------------- legal text */

.legal {
    max-width: 780px;
    margin: 0 auto;
}

.legal h2 {
    font-size: 1.25rem;
    margin: 34px 0 12px;
}

.legal p,
.legal li {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.legal p + p {
    margin-top: 12px;
}

.legal ul {
    margin: 12px 0;
    padding-left: 22px;
    list-style: disc;
}

.legal li {
    margin-bottom: 7px;
}

.legal__date {
    color: var(--text-faint);
    font-size: 0.88rem;
}

/* ---------------------------------------------------------------- footer */

.footer {
    border-top: 1px solid var(--border-soft);
    padding: 46px 0 34px;
    background: var(--bg-soft);
}

.footer__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer__brand {
    max-width: 300px;
}

.footer__brand p {
    color: var(--text-faint);
    font-size: 0.88rem;
    margin-top: 12px;
}

.footer__col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-bottom: 14px;
}

.footer__col li {
    margin-bottom: 9px;
}

.footer__col a {
    color: var(--text-dim);
    font-size: 0.92rem;
}

.footer__col a:hover {
    color: var(--text);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
    color: var(--text-faint);
    font-size: 0.85rem;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 940px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .section {
        padding: 64px 0;
    }

    .nav-toggle {
        display: inline-flex;
        order: 3;
    }

    .nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--panel);
        border-bottom: 1px solid var(--border);
        padding: 8px 24px 16px;
        display: none;
        box-shadow: var(--shadow);
    }

    .nav[data-open="true"] {
        display: flex;
    }

    .nav__link {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-soft);
    }

    .header__actions {
        margin-left: auto;
    }

    .grid--3,
    .grid--2,
    .shots,
    .safety__grid,
    .contacts {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .container {
        padding: 0 18px;
    }

    .header__actions .btn--login {
        display: none;
    }

    .form-card {
        padding: 24px 20px;
    }

    .price {
        padding: 28px 20px;
    }
}
