:root {
    --bg: #051413;
    --panel: #ffffff;
    --text: #10201f;
    --muted: #617472;
    --teal: #00c9b0;
    --teal-dark: #008f80;
    --lime: #d7ff68;
    --line: rgba(255, 255, 255, 0.16);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(0, 201, 176, 0.32), transparent 30%),
        radial-gradient(circle at 82% 8%, rgba(215, 255, 104, 0.18), transparent 26%),
        linear-gradient(135deg, #03100f 0%, #08312d 54%, #008f80 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

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

.tv-page {
    width: min(1500px, 100%);
    margin: 0 auto;
    padding: clamp(22px, 3.4vw, 54px);
}

.section-title span,
.tile-kicker {
    margin: 0 0 12px;
    color: var(--lime);
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.download-panel,
.guide-panel {
    margin-top: 0;
    padding: clamp(24px, 2.8vw, 44px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.section-title {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-title h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(34px, 4vw, 64px);
    line-height: 1;
}

.section-title span {
    color: var(--teal-dark);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.install-tile {
    display: flex;
    min-height: 280px;
    padding: clamp(24px, 2.4vw, 36px);
    border: 3px solid rgba(0, 143, 128, 0.18);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(0, 201, 176, 0.1), rgba(255, 255, 255, 0) 42%),
        #fff;
    box-shadow: 0 20px 60px rgba(0, 44, 38, 0.12);
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.install-tile strong {
    color: var(--text);
    font-size: clamp(30px, 2.7vw, 46px);
    line-height: 1.04;
}

.install-tile small {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.35;
}

.tile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    margin-top: auto;
    padding: 18px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--teal), var(--lime));
    color: #05201d;
    font-size: clamp(20px, 1.5vw, 26px);
    font-weight: 900;
    text-align: center;
}

.install-tile.pro {
    border-color: rgba(0, 201, 176, 0.56);
}

.install-tile.support {
    background:
        linear-gradient(180deg, rgba(215, 255, 104, 0.15), rgba(255, 255, 255, 0) 44%),
        #fff;
}

.install-tile:hover,
.install-tile:focus,
.install-tile:focus-visible {
    border-color: var(--teal);
    box-shadow: 0 30px 80px rgba(0, 44, 38, 0.24);
    outline: none;
    transform: translateY(-6px) scale(1.01);
}

.install-tile:focus .tile-action,
.install-tile:hover .tile-action {
    box-shadow: 0 0 0 6px rgba(0, 201, 176, 0.18);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    min-height: 220px;
    padding: 28px;
    border: 1px solid rgba(0, 143, 128, 0.16);
    border-radius: 26px;
    background: #f3fbf9;
}

.steps strong {
    display: block;
    color: var(--text);
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.15;
}

.steps span {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-size: clamp(17px, 1.4vw, 22px);
    line-height: 1.4;
}

.tv-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 34px 4px 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
}

.tv-footer p {
    margin: 0;
}

@media (max-width: 1100px) {
    .download-grid,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .tv-page {
        padding: 18px;
    }

    .download-panel,
    .guide-panel {
        border-radius: 24px;
    }

    .download-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .install-tile {
        min-height: 260px;
    }

    .steps li {
        min-height: auto;
    }
}
