:root {
    --at-red: #c8102e;
    --at-red-dark: #9f0c24;
    --at-ink: #263044;
    --at-muted: #5f6878;
    --at-soft: #fff4f5;
    --at-line: #e7e9ee;
    --at-green: #26734d;
    --at-blue: #5576fa;
    --at-shadow: 0 18px 50px rgba(38, 48, 68, 0.1);
}

html {
    scroll-behavior: smooth;
}

body.at-market-page {
    color: var(--at-ink);
    background: #fff;
}

.at-market-page main {
    overflow: hidden;
}

.at-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.at-hero {
    position: relative;
    padding: 150px 0 88px;
    background:
        radial-gradient(circle at 78% 18%, rgba(200, 16, 46, 0.11), transparent 31%),
        radial-gradient(circle at 8% 82%, rgba(85, 118, 250, 0.1), transparent 30%),
        linear-gradient(180deg, #fff 0%, #fff9f9 100%);
}

.at-hero::after {
    position: absolute;
    right: -85px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border: 45px solid rgba(200, 16, 46, 0.05);
    border-radius: 50%;
    content: "";
}

.at-breadcrumbs {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--at-muted);
    font-size: 0.94rem;
}

.at-breadcrumbs a {
    color: var(--at-muted);
    text-decoration: none;
}

.at-breadcrumbs a:hover {
    color: var(--at-red);
}

.at-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 64px;
    align-items: center;
}

.at-eyebrow {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 20px;
    padding: 8px 13px;
    border: 1px solid rgba(200, 16, 46, 0.2);
    border-radius: 999px;
    color: var(--at-red-dark);
    background: rgba(255, 255, 255, 0.84);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.at-market-page .at-hero h1 {
    max-width: 820px;
    margin: 0 0 22px;
    color: var(--at-ink);
    font-size: clamp(2.45rem, 5.2vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.at-hero h1 span {
    color: var(--at-red);
}

.at-lead {
    max-width: 730px;
    margin: 0;
    color: var(--at-muted);
    font-size: clamp(1.08rem, 1.8vw, 1.28rem);
    line-height: 1.72;
}

.at-joke {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 710px;
    margin: 24px 0 0;
    padding: 15px 18px;
    border-left: 4px solid var(--at-red);
    border-radius: 0 12px 12px 0;
    color: #6a3540;
    background: #fff;
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.08);
    font-size: 0.98rem;
    line-height: 1.55;
}

.at-joke i {
    margin-top: 3px;
    color: var(--at-red);
}

.at-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.at-button {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.at-button:hover {
    transform: translateY(-2px);
}

.at-button-primary {
    color: #fff;
    background: var(--at-red);
    box-shadow: 0 12px 28px rgba(200, 16, 46, 0.24);
}

.at-button-primary:hover {
    color: #fff;
    background: var(--at-red-dark);
}

.at-button-secondary {
    border-color: rgba(38, 48, 68, 0.14);
    color: var(--at-ink);
    background: #fff;
}

.at-button-secondary:hover {
    border-color: rgba(200, 16, 46, 0.3);
    color: var(--at-red);
}

.at-hero-panel {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(200, 16, 46, 0.13);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.91);
    box-shadow: var(--at-shadow);
}

.at-flag {
    display: grid;
    grid-template-rows: repeat(3, 32px);
    overflow: hidden;
    margin-bottom: 26px;
    border: 1px solid rgba(38, 48, 68, 0.09);
    border-radius: 15px;
    box-shadow: 0 10px 26px rgba(38, 48, 68, 0.1);
}

.at-flag span:nth-child(odd) {
    background: var(--at-red);
}

.at-flag span:nth-child(2) {
    background: #fff;
}

.at-check-list {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.at-check-list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    line-height: 1.5;
}

.at-check-list i {
    margin-top: 3px;
    color: var(--at-green);
}

.at-proof {
    border-top: 1px solid var(--at-line);
    border-bottom: 1px solid var(--at-line);
    background: #fff;
}

.at-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.at-proof-item {
    padding: 25px 22px;
    text-align: center;
}

.at-proof-item + .at-proof-item {
    border-left: 1px solid var(--at-line);
}

.at-proof-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--at-ink);
    font-size: 1.28rem;
}

.at-proof-item span {
    color: var(--at-muted);
    font-size: 0.91rem;
}

.at-section {
    padding: 92px 0;
}

.at-section-soft {
    background: #f8f9fc;
}

.at-section-red {
    color: #fff;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.15), transparent 26%),
        linear-gradient(135deg, var(--at-red-dark), var(--at-red));
}

.at-section-header {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.at-section-header .at-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--at-red);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.at-section-header h2,
.at-split h2 {
    margin: 0 0 17px;
    color: var(--at-ink);
    font-size: clamp(2rem, 3.7vw, 3.15rem);
    line-height: 1.13;
    letter-spacing: -0.035em;
}

.at-section-header p,
.at-split p {
    margin: 0;
    color: var(--at-muted);
    font-size: 1.06rem;
    line-height: 1.72;
}

.at-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.at-card {
    padding: 28px;
    border: 1px solid var(--at-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(38, 48, 68, 0.06);
}

.at-card-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    margin-bottom: 19px;
    border-radius: 13px;
    place-items: center;
    color: var(--at-red);
    background: var(--at-soft);
    font-size: 1.15rem;
}

.at-card h3 {
    margin: 0 0 10px;
    color: var(--at-ink);
    font-size: 1.22rem;
    line-height: 1.3;
}

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

.at-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: 66px;
    align-items: center;
}

.at-info-panel {
    padding: 31px;
    border: 1px solid var(--at-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--at-shadow);
}

.at-info-panel h3 {
    margin: 0 0 17px;
    color: var(--at-ink);
}

.at-info-panel ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.at-info-panel li {
    display: flex;
    gap: 11px;
    color: var(--at-muted);
    line-height: 1.55;
}

.at-info-panel i {
    margin-top: 4px;
    color: var(--at-red);
}

.at-source {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--at-line);
    color: var(--at-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.at-source a {
    color: var(--at-red-dark);
}

.at-regions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.at-region-link {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--at-line);
    border-radius: 17px;
    color: var(--at-ink);
    background: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.at-region-link:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 16, 46, 0.25);
    color: var(--at-red-dark);
    box-shadow: 0 13px 30px rgba(38, 48, 68, 0.08);
}

.at-region-link i:first-child {
    display: grid;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 12px;
    place-items: center;
    color: var(--at-red);
    background: var(--at-soft);
}

.at-region-link span {
    flex: 1;
    font-weight: 800;
}

.at-region-link .fa-arrow-right {
    color: #a1a7b2;
}

.at-partner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 27px 31px;
    border: 1px solid rgba(200, 16, 46, 0.17);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--at-shadow);
}

.at-partner img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
}

.at-partner h3 {
    margin: 0 0 7px;
    color: var(--at-ink);
}

.at-partner p {
    margin: 0;
    color: var(--at-muted);
    line-height: 1.55;
}

.at-faq {
    display: grid;
    max-width: 860px;
    margin: 0 auto;
    gap: 14px;
}

.at-faq details {
    overflow: hidden;
    border: 1px solid var(--at-line);
    border-radius: 15px;
    background: #fff;
}

.at-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 21px 23px;
    color: var(--at-ink);
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.at-faq summary::-webkit-details-marker {
    display: none;
}

.at-faq summary::after {
    color: var(--at-red);
    content: "+";
    font-size: 1.5rem;
}

.at-faq details[open] summary::after {
    content: "−";
}

.at-faq details p {
    margin: 0;
    padding: 0 23px 22px;
    color: var(--at-muted);
    line-height: 1.7;
}

.at-cta {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
}

.at-cta h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
}

.at-cta p {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
}

.at-section-red .at-button-primary {
    color: var(--at-red-dark);
    background: #fff;
    box-shadow: 0 12px 28px rgba(62, 0, 12, 0.24);
}

.at-section-red .at-button-primary:hover {
    color: var(--at-red-dark);
    background: #fff8f9;
}

.at-market-page footer {
    padding: 50px 0 24px;
    color: rgba(255, 255, 255, 0.82);
    background: #20283a;
}

.at-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 35px;
}

.at-footer-brand img {
    width: 58px;
    margin-bottom: 12px;
}

.at-footer-brand p {
    max-width: 330px;
    margin: 0;
    line-height: 1.6;
}

.at-market-page footer h2 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 1rem;
}

.at-market-page footer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.at-market-page footer a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.at-market-page footer a:hover {
    color: #fff;
}

.at-footer-bottom {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.87rem;
}

.at-footer-bottom p {
    margin: 0;
}

@media (max-width: 980px) {
    .at-hero {
        padding-top: 130px;
    }

    .at-hero-grid,
    .at-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .at-hero-panel {
        max-width: 620px;
    }

    .at-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .at-proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .at-proof-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--at-line);
    }

    .at-proof-item:nth-child(4) {
        border-top: 1px solid var(--at-line);
    }

    .at-regions {
        grid-template-columns: 1fr;
    }

    .at-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .at-container {
        width: min(100% - 28px, 1160px);
    }

    .at-hero {
        padding: 116px 0 64px;
    }

    .at-market-page .at-hero h1 {
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }

    .at-actions {
        flex-direction: column;
    }

    .at-button {
        width: 100%;
    }

    .at-hero-panel,
    .at-card,
    .at-info-panel {
        padding: 23px;
    }

    .at-section {
        padding: 66px 0;
    }

    .at-card-grid,
    .at-proof-grid,
    .at-footer-grid {
        grid-template-columns: 1fr;
    }

    .at-proof-item + .at-proof-item {
        border-top: 1px solid var(--at-line);
        border-left: 0;
    }

    .at-partner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .at-partner img {
        margin: 0 auto;
    }

    .at-cta,
    .at-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
