:root {
    --page-bg: #f6f7f7;
    --surface: #ffffff;
    --surface-soft: #eef3f0;
    --text: #171717;
    --muted: rgba(23, 23, 23, 0.62);
    --hairline: rgba(23, 23, 23, 0.1);
    --accent: #089841;
    --accent-soft: rgba(8, 152, 65, 0.11);
    --danger: #D3310B;
    --shadow-soft: 0 24px 70px rgba(22, 27, 24, 0.08);
}

.site-body {
    min-width: 320px;
    background:
        linear-gradient(90deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px) 50% 0 / 72px 72px,
        linear-gradient(180deg, rgba(23, 23, 23, 0.025) 1px, transparent 1px) 50% 0 / 72px 72px,
        var(--page-bg);
}

header {
    padding: 2rem 0 1.25rem;
}

.site-logo-link {
    display: inline-flex;
    border-bottom: 0;
    transform-origin: left center;
    transition: transform 180ms ease, opacity 180ms ease;
}

.site-logo-link:hover {
    transform: translateY(-1px);
    opacity: 0.86;
}

header .logo {
    width: 296px;
    height: 41px;
    max-width: 100%;
    background: url('/img/logo.png') no-repeat center;
    background-size: contain;
}

.main-page {
    padding: clamp(2.25rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem);
}

.container {
    max-width: 1140px;
}

h1,
h2,
h3 {
    color: var(--text);
    letter-spacing: 0;
}

h1 {
    max-width: 880px;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    font-size: clamp(2.6rem, 7vw, 6.4rem);
    font-weight: 900;
    line-height: 0.92;
}

p {
    color: rgba(23, 23, 23, 0.78);
}

.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 650px) minmax(300px, 380px);
    gap: clamp(2.5rem, 5vw, 5rem);
    justify-content: space-between;
    align-items: center;
    min-height: min(660px, calc(100svh - 190px));
    padding: clamp(1rem, 3vw, 2.25rem) 0 clamp(2.5rem, 6vw, 5.5rem);
}

.home-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: clamp(1.5rem, 4vw, 3rem);
    z-index: -1;
    width: min(36vw, 420px);
    height: min(34vw, 360px);
    border-right: 1px solid rgba(8, 152, 65, 0.2);
    border-bottom: 1px solid rgba(8, 152, 65, 0.2);
    background: linear-gradient(135deg, transparent 0 54%, rgba(8, 152, 65, 0.08) 54% 55%, transparent 55%);
    transform: translate(18%, 8%);
}

.hero-copy {
    min-width: 0;
    max-width: 650px;
    animation: rise-in 520ms ease both;
}

.page-home h1 {
    font-size: clamp(2.65rem, 5vw, 4.75rem);
    line-height: 1;
}

.hero-lead,
.page-lead {
    max-width: 650px;
    margin: 0;
    color: rgba(23, 23, 23, 0.72);
    font-size: clamp(1.08rem, 2vw, 1.45rem);
    line-height: 1.55;
}

.information ul {
    margin-left: 0;
    padding-left: 1.25rem;
    line-height: 1.6;
}

.service-panel {
    position: relative;
    min-width: 0;
    padding: clamp(1.35rem, 3vw, 2.2rem);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    animation: rise-in 640ms 90ms ease both;
}

.service-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent);
}

.service-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-list > li {
    display: grid;
    grid-template-columns: 1.45rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.service-icon {
    margin-top: 0.28rem;
    color: var(--accent);
    font-size: 1.05rem;
    line-height: 1;
}

.information li,
.box li {
    margin-bottom: 0.72rem;
}

.information li::marker,
.box li::marker {
    color: var(--accent);
}

.contact-phone {
    font-size: clamp(1.25rem, 3vw, 2.05rem);
    font-weight: 700;
    color: #000;
    padding-top: 5px;
    padding-bottom: 5px;
}

.contact-item {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem clamp(1.35rem, 3vw, 2.25rem);
    align-items: baseline;
    line-height: 1.7;
}

.contact-link,
.footer-requisites-link {
    display: inline-flex;
    gap: 0.55rem;
    align-items: baseline;
    border-bottom: 0;
}

.contact-link .bi,
.footer-requisites-link .bi {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 0.98em;
}

.contact-strip {
    padding-top: clamp(1.25rem, 3vw, 2rem);
    border-top: 1px solid var(--hairline);
    animation: fade-in 720ms 180ms ease both;
}

@media (max-width: 360px) {
    header .logo {
        height: 36px;
    }
}

.box {
    position: relative;
    margin-bottom: clamp(2.5rem, 6vw, 4.75rem);
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
    border-top: 1px solid var(--hairline);
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
    line-height: 1.76;
    animation: rise-in 520ms ease both;
}

.box h2 {
    max-width: 720px;
    margin-bottom: 1rem;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.08;
}

.box h3 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.16rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.2;
}

.box p,
.box ul,
.box ol {
    max-width: 820px;
}

.page-heading {
    max-width: 900px;
    margin-bottom: clamp(3rem, 7vw, 5rem);
    animation: rise-in 520ms ease both;
}

.page-heading h1 {
    margin-bottom: 1.35rem;
}

.feature-list {
    display: grid;
    gap: clamp(1.1rem, 3vw, 1.8rem);
    padding-left: 0;
    list-style: none;
}

.feature-list > li {
    padding-left: clamp(1rem, 2vw, 1.5rem);
    border-left: 3px solid var(--accent);
}

.list-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: 1.25rem;
}

@media (max-width: 992px) {
    .list-flex {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        grid-template-rows: 1fr 1fr;
    }

    .flex-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}


.flex-name {
    font-size: 16px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    font-weight: 500;
}

.tech-stack a {
    display: block;
    min-width: 110px;
    padding: 1.1rem 0.9rem;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tech-stack a:hover {
    border-color: rgba(8, 152, 65, 0.34);
    box-shadow: 0 18px 42px rgba(22, 27, 24, 0.08);
    transform: translateY(-3px);
}

.tech-stack img {
    transition: transform 180ms ease;
}

.tech-stack a:hover img {
    transform: scale(1.05);
}

.dlm-downloads {
    padding: 0;
}

.dlm-downloads li {
    margin-bottom: 10px;
    list-style: none;
}

.dlm-downloads li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-bottom: 0;
    text-decoration: underline;
}

.icon-link {
    gap: 13px;
}

.icon-link > .bi {
    width: 30px;
    height: 27px;
    background-size: contain !important;
}

.soft-links a {
    border-bottom: 0;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.requisites-page {
    max-width: 900px;
    font-size: clamp(1.02rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    animation: rise-in 520ms ease both;
}

.BusinessCardPreview-organizationName--TfHy5 {
    max-width: 840px;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    font-size: clamp(2rem, 5.3vw, 4.5rem);
    font-weight: 900;
    line-height: 0.98;
}

.BusinessCardPreview-requisitesBlockLabeled--tHyXy {
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
    border-top: 1px solid var(--hairline);
}

.BusinessCardPreview-requisiteLabel--Ysd5p {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.BankAccountsList-bankAccounts-list--txdJU {
    margin-top: clamp(2rem, 5vw, 3.5rem);
}

.BankAccountsList-bankAccounts-card--yKTE4 {
    display: flex;
    align-self: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: clamp(1.45rem, 4vw, 2.5rem);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    min-width: 200px;
}

.BankAccountsList-header--KTqLq {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 20px;
    line-height: 28px;
}

.BankAccountsList-bankLogo--Vd835 {
    width: 32px;
    height: 32px;
    margin-right: 14px;
}

.BankAccountsList-bankLogo--Vd835::before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: 32px;
}

.accountsList-item-bankLogo_tinkoff::before {
    background-image: url('/img/tinkoff.png');
}

.Typography-secondary--yeaSg {
    color: var(--muted);
}

.BankAccountsList-row-label--2Qpmp {
    flex-shrink: 0;
    width: 100px;
}

@media screen and (min-width: 768px) {
    .BusinessCardPreview-requisitesBlockLabeled--tHyXy {
        grid-template-columns: 200px 1fr;
        gap: 16px 24px;
        display: grid;
    }

    .BusinessCardPreview-requisiteLabel--Ysd5p {
        max-width: 138px;
        margin-bottom: 0;
    }

    .BankAccountsList-row--oz6oZ {
        flex-direction: row;
        gap: 24px;
        display: flex;
    }
}

@media (max-width: 992px) {
    .home-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .home-hero::after {
        width: 62vw;
        opacity: 0.7;
    }
}

@media (max-width: 576px) {
    header {
        padding-top: 1.35rem;
    }

    h1 {
        font-size: clamp(2.3rem, 14vw, 4.25rem);
    }

    .main-page {
        padding-top: 2.25rem;
    }

    .service-panel {
        padding-left: 1.25rem;
    }

    .contact-info {
        display: grid;
        gap: 0.55rem;
    }

    .BankAccountsList-bankAccounts-card--yKTE4 {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
