:root {
    --bg: #FFFFFF;
    --text: #141414;
    --text-muted: #666666;
    --border: #E6E6E6;
    --surface: #F8F8F8;
    --brand: #F89624;
    --brand-hover: #E0860F;
    --logo: #121717;
    --radius-card: 20px;
    --radius-pill: 9999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.4;
}

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

.page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--brand);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(248, 150, 36, 0.25);
}

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

.brand__logo {
    height: 24px;
    width: auto;
    margin-left: 2px;
}

.brand__sub {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -0.01em;
    padding-top: 4px;
}

/* Hero */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 32px;
}

.hero__title {
    font-size: clamp(32px, 6vw, 54px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--text);
    opacity: 0;
    animation: fade-up 0.7s ease-out 0.1s forwards;
}

.hero__title-accent {
    color: var(--brand);
}

.hero__lead {
    font-size: clamp(14px, 2vw, 17px);
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.4;
    opacity: 0;
    animation: fade-up 0.7s ease-out 0.25s forwards;
}

/* Chips */
.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 640px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    white-space: nowrap;
    opacity: 0;
    animation: fade-up 0.6s ease-out forwards;
}

.chip:nth-child(1) { animation-delay: 0.40s; }
.chip:nth-child(2) { animation-delay: 0.48s; }
.chip:nth-child(3) { animation-delay: 0.56s; }
.chip:nth-child(4) { animation-delay: 0.64s; }
.chip:nth-child(5) { animation-delay: 0.72s; }

.chip svg {
    width: 14px;
    height: 14px;
    color: var(--brand);
    flex-shrink: 0;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 720px;
    margin-top: 8px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--bg);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    position: relative;
    gap: 10px;
    opacity: 0;
    animation: fade-up 0.7s ease-out forwards;
}

.card {
    animation-duration: 0.6s;
}

#card-telegram { animation-delay: 0.65s; }

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#card-browser {
    background-image: linear-gradient(120deg,
        rgba(16, 185, 129, 0.28) 0%,
        rgba(52, 211, 153, 0.1) 25%,
        rgba(5, 150, 105, 0.22) 50%,
        rgba(52, 211, 153, 0.1) 75%,
        rgba(16, 185, 129, 0.28) 100%);
    background-size: 300% 300%;
    background-repeat: no-repeat;
    animation:
        fade-up 0.6s ease-out 0.55s forwards,
        card-browser-flow 7s ease-in-out infinite;
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.18);
}

@keyframes card-browser-flow {
    0%   { background-position:   0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position:   0% 50%; }
}

#card-telegram {
    background: linear-gradient(145deg, rgba(34, 158, 217, 0.13) 0%, rgba(34, 158, 217, 0.04) 50%, rgba(34, 158, 217, 0.08) 100%);
    border-color: rgba(34, 158, 217, 0.25);
}

.card:hover,
.card:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

#card-browser:hover,
#card-browser:focus-visible {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

#card-telegram:hover,
#card-telegram:focus-visible {
    border-color: rgba(34, 158, 217, 0.5);
    box-shadow: 0 8px 24px rgba(34, 158, 217, 0.1);
}

.card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(248, 150, 36, 0.1);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.card__tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.card__title {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.card__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.3;
    flex: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--brand);
    color: #FFFFFF;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s;
    margin-top: 14px;
}

.card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
}

.card__badge--recommend {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.card__badge--telegram {
    background: rgba(34, 158, 217, 0.12);
    color: #229ED9;
    border: 1px solid rgba(34, 158, 217, 0.3);
}

.card:hover .btn {
    background: var(--brand-hover);
}

/* Mobile */
/* Tablet */
@media (min-width: 481px) and (max-width: 1024px) {
    .hero__lead {
        font-size: 17px;
    }

    .chip {
        font-size: 15px;
        padding: 9px 16px;
    }

    .chip svg {
        width: 16px;
        height: 16px;
    }

    .card__desc {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 14px 16px;
    }

    .brand {
        margin-bottom: 12px;
    }

    .brand__logo {
        height: 20px;
    }

    .brand__mark {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    .brand__mark svg {
        width: 18px;
        height: 18px;
    }

    .brand__sub {
        font-size: 18px;
    }

    .hero {
        gap: 24px;
    }

    .hero__title {
        font-size: 35px;
    }

    .hero__lead {
        font-size: 15px;
    }

    .chips {
        gap: 6px;
    }

    .chip {
        font-size: 13px;
        padding: 6px 10px;
    }

    .chip svg {
        width: 12px;
        height: 12px;
    }

    .cards {
        gap: 10px;
        margin-top: 4px;
    }

    .card {
        padding: 14px;
        gap: 8px;
    }

    .card__icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

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

    .card__tag {
        font-size: 10px;
    }

    .card__title {
        font-size: 17px;
    }

    .card__desc {
        font-size: 13px;
    }

    .btn {
        padding: 9px 16px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .hero__title {
        font-size: 26px;
    }

    .card {
        padding: 12px;
    }
}