:root {
    --bg: #0f0f10;
    --card: #18181a;
    --line: #2c2c30;
    --text: #ececef;
    --muted: #9a9aa3;
    --accent: #ff5a4e;
    --accent-2: #ff8a5c;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font:
        16px/1.6 system-ui,
        -apple-system,
        'Segoe UI',
        Roboto,
        sans-serif;
}

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

img {
    max-width: 100%;
    height: auto;
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- hero ---------- */
.hero {
    background:
        radial-gradient(60% 80% at 50% 0%, rgba(255, 90, 78, 0.18), transparent 70%), var(--bg);
    text-align: center;
    padding: 64px 0 40px;
}
.hero-icon {
    border-radius: 22px;
}
.hero h1 {
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.15;
    margin: 18px 0 12px;
    letter-spacing: -0.02em;
}
.lead {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
}
.actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 28px 0 14px;
}
.btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    background: var(--card);
}
.btn:hover {
    border-color: var(--muted);
}
.btn.primary {
    border: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
}
.btn.primary:hover {
    filter: brightness(1.08);
}
.meta {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

/* ---------- sections ---------- */
section {
    margin-top: 56px;
}
h2 {
    font-size: 26px;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}
h3 {
    font-size: 17px;
    margin: 0 0 8px;
}
.shot img,
.gallery img {
    display: block;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.problem,
.privacy-note {
    max-width: 760px;
    text-align: center;
}
.problem p,
.privacy-note p {
    color: var(--muted);
    margin: 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}
.features article {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
}
.features ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 15px;
}
.features li + li {
    margin-top: 4px;
}
.features strong {
    color: var(--text);
    font-weight: 600;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.gallery figure {
    margin: 0;
}
.gallery figcaption {
    color: var(--muted);
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

/* ---------- privacy page ---------- */
.topnav {
    padding-top: 20px;
    padding-bottom: 20px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 650;
}
.brand img {
    border-radius: 6px;
}
.doc {
    max-width: 760px;
}
.doc h1 {
    font-size: 30px;
    line-height: 1.2;
    margin: 12px 0 8px;
}
.doc h2 {
    font-size: 20px;
    margin-top: 32px;
}
.doc em {
    color: var(--muted);
}
.doc code {
    font-size: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    padding: 1px 5px;
    border-radius: 5px;
}

/* ---------- footer ---------- */
.footer {
    margin-top: 72px;
    padding-top: 24px;
    padding-bottom: 40px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 14px;
    color: var(--muted);
}
.footer a {
    color: var(--muted);
}
.footer a:hover {
    color: var(--text);
}
.footer span {
    margin-left: auto;
}
@media (max-width: 640px) {
    .footer span {
        margin-left: 0;
        flex-basis: 100%;
    }
}
