.te-hero {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 40px;
}
.te-hero h1,
.te-catalog h1 {
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin: 18px 0;
}
.te-hero p {
    max-width: 640px;
    line-height: 1.7;
}
.te-hero img {
    max-width: 100%;
    filter: drop-shadow(0 24px 24px #304ccc20);
}
.te-hero .eyebrow {
    display: table;
    margin-top: 24px;
}
.te-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 32px 0;
}
.te-tabs a {
    padding: 14px 22px;
    background: var(--surface, #f1f5ff);
    border: 1px solid var(--line, #ddd);
    border-radius: 40px;
}
.te-collection {
    scroll-margin-top: 110px;
    padding: 24px 0 48px;
}
.te-card img {
    display: block;
    margin: 0 0 20px;
}
.te-card .tag {
    float: right;
}
.te-dialog {
    width: min(520px, calc(100% - 32px));
    padding: 36px;
    border: 1px solid var(--line, #ddd);
    border-radius: 24px;
    background: var(--bg, #fff);
    color: var(--text, #17233b);
    box-shadow: 0 30px 100px #0004;
}
.te-dialog::backdrop {
    background: #10203a99;
    backdrop-filter: blur(6px);
}
.te-dialog .btn {
    display: flex;
    width: 100%;
    margin: 14px 0;
}
.te-dialog p {
    line-height: 1.65;
}
.te-close {
    float: right;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 28px;
    cursor: pointer;
}
.tool-workspace {
    scroll-margin-top: 110px;
}
.tool-workspace > div:first-of-type > h1 {
    font-size: 26px !important;
}
.te-guide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0;
}
.te-guide article {
    border: 1px solid var(--line, #ddd);
    border-radius: 18px;
    padding: 24px;
}
.te-guide p {
    line-height: 1.65;
}
@media (max-width: 700px) {
    .te-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 32px;
    }
    .te-hero img {
        width: 130px;
        grid-row: 1;
        justify-self: end;
    }
    .te-guide {
        grid-template-columns: 1fr;
    }
    .te-dialog {
        padding: 24px;
    }
    .te-catalog h1 {
        font-size: 42px;
    }
}
.tool-workspace [hidden],
.te-dialog [hidden] {
    display: none !important;
}
