* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.info-page {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Verdana, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--brand) 16%, transparent), transparent 34%),
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 14%, transparent), transparent 28%),
        var(--bg-accent);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

body.info-page a {
    color: inherit;
    text-decoration: none;
}

body.info-page img {
    display: block;
    max-width: 100%;
}

.page-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: color-mix(in srgb, var(--surface-strong) 85%, transparent);
    border-bottom: 1px solid var(--border);
    padding-top: env(safe-area-inset-top);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px 0;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1 1 30rem;
}

.brand-logo {
    max-height: 60px;
    width: auto;
}

.brand-copy {
    min-width: 0;
}

.brand-copy h1 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.brand-copy p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.top-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    flex: 1 1 18rem;
    min-width: 0;
}

.top-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 150px;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.top-link:hover,
.top-link:focus-visible {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--brand) 50%, var(--border));
    background: color-mix(in srgb, var(--surface) 80%, var(--brand) 20%);
    color: var(--text);
    outline: none;
}

.top-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.info-sheet {
    display: grid;
    gap: 22px;
}

.info-sheet__quicknav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.info-sheet__quicknav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.info-sheet__quicknav a:hover,
.info-sheet__quicknav a:focus-visible {
    transform: translateY(-1px);
    color: var(--brand-strong);
    border-color: color-mix(in srgb, var(--brand) 34%, var(--border));
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent), 0 10px 22px color-mix(in srgb, var(--brand) 12%, transparent);
    outline: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: var(--surface-soft);
    color: var(--text);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.button-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    color: #03101c;
    box-shadow: 0 14px 24px var(--brand-soft);
}

.button-secondary {
    background: color-mix(in srgb, var(--surface-soft) 88%, transparent);
    border-color: var(--border);
    color: var(--text);
}

.button:hover,
.button:focus-visible {
    outline: none;
    transform: translateY(-1px);
    color: var(--brand-strong);
    border-color: color-mix(in srgb, var(--brand) 34%, var(--border));
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent), 0 10px 22px color-mix(in srgb, var(--brand) 12%, transparent);
}

.button-primary:hover,
.button-primary:focus-visible {
    color: #03101c;
    border-color: color-mix(in srgb, var(--brand-strong) 42%, transparent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 84%, #fff), var(--brand-strong));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 12%, transparent), 0 16px 28px var(--brand-soft);
}

.info-sheet__hero,
.info-sheet__summary-card,
.info-sheet__card,
.info-sheet__panel,
.info-sheet__telegram-card,
.info-sheet__link-card {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.info-sheet__hero {
    display: grid;
    gap: 10px;
    padding: 28px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 92%, transparent), color-mix(in srgb, var(--surface) 76%, transparent)),
        radial-gradient(circle at right top, color-mix(in srgb, var(--brand) 18%, transparent), transparent 36%);
    box-shadow: var(--shadow);
}

.info-sheet__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 14%, transparent);
    color: var(--brand-strong);
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.info-sheet__title,
.info-sheet__summary-card h3,
.info-sheet__section-head h3,
.info-sheet__card h4,
.info-sheet__panel h4 {
    margin: 0;
}

.info-sheet__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.06;
}

.info-sheet__intro,
.info-sheet__section-head p,
.info-sheet__summary-card p,
.info-sheet__card p,
.info-sheet__panel p,
.info-sheet__link-card span {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

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

.info-sheet__summary-card,
.info-sheet__panel,
.info-sheet__link-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    border-radius: 22px;
}

.info-sheet__telegram-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 22px;
}

.info-sheet__telegram-copy {
    display: grid;
    gap: 10px;
}

.info-sheet__telegram-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    max-width: 70ch;
}

.info-sheet__telegram-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 24%, var(--surface-soft)), color-mix(in srgb, var(--surface) 92%, transparent));
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.info-sheet__telegram-cta:hover,
.info-sheet__telegram-cta:focus-visible {
    transform: translateY(-1px);
    color: var(--brand-strong);
    border-color: color-mix(in srgb, var(--brand) 34%, var(--border));
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent), 0 10px 22px color-mix(in srgb, var(--brand) 12%, transparent);
    outline: none;
}

.info-sheet__telegram-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.info-sheet__telegram-icon svg {
    width: 18px;
    height: 18px;
}

.info-sheet__section {
    display: grid;
    gap: 16px;
}

.info-sheet__section-head {
    display: grid;
    gap: 6px;
}

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

.info-sheet__card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
    padding: 20px;
    border-radius: 22px;
}

button.info-sheet__card {
    width: 100%;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.info-sheet__card--action {
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.info-sheet__card--action:hover,
.info-sheet__card--action:focus-visible {
    outline: none;
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--brand) 34%, var(--border));
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent), 0 10px 22px color-mix(in srgb, var(--brand) 12%, transparent);
}

.info-sheet__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.info-sheet__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.info-sheet__icon svg {
    width: 24px;
    height: 24px;
    color: var(--text);
}

.info-sheet__card-body,
.info-sheet__stack {
    display: grid;
    gap: 10px;
}

.info-sheet__card h4 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.info-sheet__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--brand) 34%, var(--border));
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    color: var(--brand-strong);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.info-sheet__feedback {
    min-height: 1.2em;
    color: var(--brand-strong);
    font-size: 0.82rem;
    font-weight: 700;
}

.info-sheet__stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

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

.info-feature-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface-soft) 84%, transparent);
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.info-feature-card h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.info-feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.62;
}

.info-feature-card:hover,
.info-feature-card:focus-within {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--brand) 34%, var(--border));
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent), 0 10px 22px color-mix(in srgb, var(--brand) 12%, transparent);
}

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

.info-sheet__link-card {
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.info-sheet__link-card strong {
    font-size: 1rem;
}

.info-sheet__link-card:hover,
.info-sheet__link-card:focus-visible {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--brand) 48%, var(--border));
    background: color-mix(in srgb, var(--surface) 82%, var(--brand) 18%);
    outline: none;
}

main {
    padding: 34px 0 48px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.9fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

.hero-card,
.panel,
.ad-panel,
.info-card {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(26px, 4vw, 40px);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 92%, transparent), color-mix(in srgb, var(--surface) 76%, transparent)),
        radial-gradient(circle at right top, color-mix(in srgb, var(--brand) 20%, transparent), transparent 36%);
    box-shadow: var(--shadow);
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -30px auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent) 0%, transparent 70%);
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 14%, transparent);
    color: var(--brand-strong);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    text-wrap: balance;
}

.hero p {
    margin: 18px 0 0;
    max-width: 64ch;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.panel {
    border-radius: 24px;
    padding: 24px;
    min-width: 0;
}

.panel h3,
.section-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.panel p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.panel-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.panel-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--surface-soft);
    border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
    min-width: 0;
}

.panel-list-item strong {
    display: block;
    margin-bottom: 4px;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.content-stack {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.section-card {
    border-radius: 28px;
    padding: clamp(22px, 3vw, 32px);
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    min-width: 0;
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.section-header p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.65;
    max-width: 68ch;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 18px;
}

.info-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: flex-start;
    border-radius: 22px;
    padding: 18px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.info-card:hover,
.info-card:focus-within {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
    box-shadow: 0 18px 32px color-mix(in srgb, black 12%, transparent);
}

.icon-wrap {
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--brand) 12%, var(--surface-soft));
    border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--border));
}

.icon-wrap img {
    max-width: 28px;
    max-height: 28px;
}

.info-card-body {
    min-width: 0;
}

.info-card h4 {
    margin: 2px 0 8px;
    font-size: 1rem;
    line-height: 1.35;
}

.info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 18px;
}

.support-card {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: transform 0.2s ease, border-color 0.2s ease;
    min-width: 0;
}

.support-card:hover,
.support-card:focus-within {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.support-card h4 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.support-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.ad-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.ad-panel {
    display: grid;
    justify-items: center;
    border-radius: 22px;
    padding: 18px;
    overflow: hidden;
    min-width: 0;
}

.ad-label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.adsbygoogle {
    display: block;
    width: min(100%, 160px) !important;
    min-width: 0;
    max-width: 100%;
}

.footer {
    padding: 0 0 36px;
}

.footer-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    color: var(--muted);
}

@media (max-width: 900px) {
    .topbar-inner {
        align-items: flex-start;
    }

    .brand,
    .top-links {
        width: 100%;
        flex-basis: 100%;
    }

    .top-links {
        justify-content: flex-start;
    }

    .hero,
    .ad-stack {
        grid-template-columns: 1fr;
    }

    .info-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .info-sheet__summary,
    .info-sheet__grid,
    .info-feature-grid,
    .info-sheet__stack,
    .info-sheet__links {
        grid-template-columns: 1fr;
    }

    .info-sheet__quicknav {
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 1240px);
    }

    .brand {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .brand-copy p {
        font-size: 0.9rem;
    }

    .hero-card,
    .panel,
    .section-card {
        border-radius: 22px;
    }

    .info-card,
    .support-card {
        padding: 16px;
    }

    .top-link {
        width: 100%;
        justify-content: center;
    }

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

    .hero-actions {
        gap: 10px;
    }

    .button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-shell {
        width: min(100% - 16px, 1240px);
    }

    .topbar-inner {
        gap: 14px;
        padding: 14px 0;
    }

    .top-links {
        grid-template-columns: 1fr;
    }

    main {
        padding: 24px 0 36px;
    }

    .hero-card,
    .panel,
    .section-card,
    .ad-panel {
        padding: 18px;
    }

    .hero h2 {
        font-size: clamp(1.7rem, 9vw, 2.2rem);
    }

    .icon-wrap {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .info-card {
        grid-template-columns: 1fr;
    }

    .info-sheet__hero,
    .info-sheet__summary-card,
    .info-sheet__card,
    .info-sheet__panel,
    .info-sheet__telegram-card,
    .info-sheet__link-card {
        border-radius: 18px;
    }

    .info-sheet__hero,
    .info-sheet__summary-card,
    .info-sheet__panel,
    .info-sheet__telegram-card,
    .info-sheet__link-card,
    .info-sheet__card {
        padding: 16px;
    }

    .info-sheet__card {
        grid-template-columns: 42px 1fr;
        gap: 12px;
    }

    .info-sheet__icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .info-sheet__icon img {
        width: 20px;
        height: 20px;
    }

    .info-sheet__icon svg {
        width: 20px;
        height: 20px;
    }

    .info-sheet__quicknav a {
        min-height: 32px;
        padding: 0 10px;
        font-size: 0.78rem;
    }

    .info-sheet__telegram-cta {
        width: 100%;
        min-height: 44px;
    }
}
