:root {
    --primary-red: #ff0000;
    --glow-color: rgba(255, 0, 0, 0.6);
    color-scheme: dark;
    font-family: Inter, Arial, sans-serif;
    color: #f5efef;
    background: #0d0b0c;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse at 80% 12%, #291012 0, transparent 52%), #0d0b0c;
}
.wrap { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
header { background: #0c090af2; border-bottom: 1px solid #362126; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; }
a { text-decoration: none; }
a:focus-visible { outline: 3px solid white; outline-offset: 5px; }
.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5em;
    color: var(--primary-red);
    text-shadow: 0 0 10px var(--glow-color);
    text-decoration: none;
}
.back { color: #dfd0d1; font-size: .87rem; font-weight: 600; }
.back:hover { color: white; text-decoration: underline; }
main { padding-block: clamp(42px, 6vw, 86px) 48px; }
.intro { border-bottom: 1px solid #3d292c; padding-bottom: clamp(24px, 4vw, 46px); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.75rem, 5.5vw, 4.75rem); line-height: 1.05; letter-spacing: -.061em; }
h1 em { color: #ff4c54; font-style: normal; }
.intro p { color: #cbbcbe; line-height: 1.6; max-width: 57ch; margin-top: 18px; font-size: 1.08rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); grid-template-areas: "steps install"; gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: 36px; }
.layout > section { grid-area: steps; }
.layout > aside { grid-area: install; }
h2 { font-size: 1.4rem; letter-spacing: -.035em; }
.steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 0 24px 51px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; left: 0; top: 0; display: grid; place-items: center;
    width: 32px; height: 32px; border: 1px solid #693038; border-radius: 50%;
    color: #ff969b; background: #251517; font: 700 .72rem/1 Orbitron, monospace;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 5px; width: 1px; background: #41282d; }
h3 { font-size: 1.05rem; line-height: 1.5; letter-spacing: -.02em; }
.steps p, .pass-foot p { color: #c2b5b7; font-size: .925rem; line-height: 1.65; }
.steps p { margin-top: 5px; }
.guide-shot { margin: 16px 0 0; }
.guide-shot a {
    display: block;
    width: fit-content;
    max-width: 100%;
    border: 1px solid #593037;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
}
.guide-shot a:hover { border-color: #d67b81; }
.guide-shot img { display: block; max-width: 100%; height: auto; }
.guide-shot--popup img { width: 399px; }
.guide-shot figcaption { margin-top: 8px; color: #c2b5b7; font-size: .82rem; line-height: 1.5; }
strong { color: #f7edee; font-weight: 600; }
.pass { overflow: hidden; border: 1px solid #593037; border-radius: 18px; background: #1b1416; }
.pass-head {
    padding: 25px 26px 22px; color: #ff8187;
    background: repeating-radial-gradient(ellipse at 115% -85%, transparent 0 17px, #ff939319 18px, transparent 19px 31px), linear-gradient(110deg, #301519, #581b24);
}
.pass-head h2 { color: white; font-size: 1.65rem; }
.pass-head p { margin-top: 8px; color: #e6cfd2; font-size: .94rem; line-height: 1.6; }
.pass-foot { border-top: 1px dashed #593a40; padding: 21px 26px; }
.install { display: flex; justify-content: center; gap: 10px; align-items: center; border-radius: 8px; padding: 14px 16px; background: #bd2436; color: white; font-size: .94rem; font-weight: 700; }
.install img { flex: none; }
.install:hover { background: #d02a3e; }
.pass-foot p { margin-top: 12px; font-size: .8rem; }
.pass-foot .paused { margin: 0 0 12px; }
@media (max-width: 720px) {
    .wrap { width: calc(100% - 36px); }
    .topbar { min-height: 60px; }
    .layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "install" "steps"; gap: 28px; padding-top: 26px; }
    .pass-head, .pass-foot { padding: 18px 20px; }
}
