.kod61-text-hero {
    position: relative;
    overflow: hidden;
    background: #14110f;
    color: #fff;
    border-radius: clamp(18px, 2.4vw, 28px);
    padding: clamp(26px, 3.8vw, 44px) clamp(20px, 3.8vw, 48px);
}

.kod61-text-hero__glow {
    position: absolute;
    right: -130px;
    top: -150px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 26, 43, .45), rgba(224, 26, 43, 0) 70%);
}

.kod61-text-hero__inner {
    position: relative;
    max-width: 760px;
}

.kod61-text-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #ff8b96;
    border: 1px solid rgba(255, 139, 150, .35);
    padding: 8px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.kod61-text-hero__title {
    font-size: clamp(32px, 3.8vw, 48px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.06;
    margin: 0 0 14px;
    text-wrap: balance;
}

.kod61-text-hero__text {
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .6);
    margin: 0;
    text-wrap: pretty;
}

.kod61-text-hero__meta {
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
    margin-top: 20px;
}

.kod61-text-layout {
    margin-top: clamp(22px, 2.6vw, 32px);
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 2.2vw, 28px);
    align-items: flex-start;
}

.kod61-text-article {
    flex: 999 1 420px;
    min-width: 0;
    background: #fff;
    border: 1px solid rgba(20, 17, 15, .07);
    border-radius: 22px;
    padding: clamp(26px, 3.4vw, 44px) clamp(20px, 3.8vw, 52px);
    overflow-wrap: anywhere;
}

.kod61-text-article > :first-child {
    margin-top: 0;
}

.kod61-text-article > :last-child {
    margin-bottom: 0;
}

.kod61-text-article h2 {
    font-size: clamp(21px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 28px 0 12px;
    scroll-margin-top: 120px;
}

.kod61-text-article h3,
.kod61-text-article h4 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.3;
    margin: 22px 0 10px;
}

.kod61-text-article p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(20, 17, 15, .72);
    margin: 0 0 16px;
    text-wrap: pretty;
}

.kod61-text-article ul,
.kod61-text-article ol {
    margin: 0 0 26px;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.kod61-text-article li {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(20, 17, 15, .72);
}

.kod61-text-article li p {
    margin: 0;
}

.kod61-text-article strong,
.kod61-text-article b {
    color: #14110f;
    font-weight: 700;
}

.kod61-text-article a {
    color: #e01a2b;
    text-decoration: underline;
    text-decoration-color: rgba(224, 26, 43, .35);
    text-underline-offset: 2px;
}

.kod61-text-article a:hover {
    text-decoration-color: currentColor;
}

.kod61-text-article blockquote {
    margin: 0 0 28px;
    padding-left: 18px;
    border-left: 3px solid #e01a2b;
}

.kod61-text-article blockquote p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    color: #14110f;
    margin: 0 0 10px;
}

.kod61-text-article blockquote p:last-child {
    margin-bottom: 0;
}

.kod61-text-article img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 0 0 16px;
}

.kod61-text-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 26px;
    font-size: 15px;
}

.kod61-text-article th,
.kod61-text-article td {
    border-bottom: 1px solid rgba(20, 17, 15, .1);
    padding: 10px 12px 10px 0;
    text-align: left;
    vertical-align: top;
    color: rgba(20, 17, 15, .72);
}

.kod61-text-article th {
    color: #14110f;
    font-weight: 700;
}

.kod61-text-aside {
    flex: 1 1 268px;
    min-width: 268px;
    max-width: 100%;
    position: sticky;
    top: 104px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kod61-text-toc {
    background: #fff;
    border: 1px solid rgba(20, 17, 15, .07);
    border-radius: 20px;
    padding: 22px 20px;
}

.kod61-text-toc__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(20, 17, 15, .42);
    margin-bottom: 14px;
}

.kod61-text-toc__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kod61-text-toc__link {
    font-size: 15px;
    font-weight: 600;
    color: #14110f;
    padding: 9px 12px;
    border-radius: 10px;
    transition: .14s;
}

.kod61-text-toc__link:hover {
    background: #f4f3f1;
    color: #e01a2b;
}

.kod61-text-help {
    background: #14110f;
    border-radius: 20px;
    padding: 24px;
    color: #fff;
}

.kod61-text-help__title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin-bottom: 8px;
}

.kod61-text-help__text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 16px;
}

.kod61-text-help__call {
    width: 100%;
    background: #e01a2b;
    color: #fff;
    border: none;
    font-family: Manrope, sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 15px;
    border-radius: 100px;
    cursor: pointer;
    transition: .16s;
}

.kod61-text-help__call:hover {
    background: #b3121f;
}

.kod61-text-help__phone {
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-top: 12px;
}

.kod61-text-help__phone:hover {
    color: #ff8b96;
}

@media (max-width: 900px) {
    .kod61-text-aside {
        position: static;
    }
}
