:root {
    --ink: #12182b;
    --muted: #5c6478;
    --line: #e6ebf4;
    --blue: #3d5afe;
    --blue-deep: #2f46d8;
    --blue-soft: #eef2ff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.th-wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.th-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #eef1f6;
    backdrop-filter: blur(14px);
}

.th-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 74px;
    gap: 16px;
}

.th-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    justify-self: start;
}

.th-brand__mark,
.th-brand__logo {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
}

.th-brand__logo {
    object-fit: cover;
}

.th-brand__name {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.th-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.th-nav a {
    color: #3d4660;
    font-size: 14px;
    font-weight: 600;
}

.th-nav a:hover {
    color: var(--blue);
}

.th-header__actions {
    justify-self: end;
}

.th-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--blue, var(--navy));
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.th-btn--dark {
    background: var(--blue);
}

.th-btn--dark:hover {
    background: var(--blue-deep);
}

.th-btn--light {
    background: #fff;
    color: var(--blue-deep);
}

.th-btn--light:hover {
    background: #f4f7ff;
}

.th-btn--line {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.th-btn--line:hover {
    background: rgba(255, 255, 255, 0.08);
}

.th-btn--wa {
    background: #22c55e;
    color: #fff;
}

.th-btn--wa:hover {
    background: #16a34a;
}

.th-hero {
    background:
        radial-gradient(ellipse 55% 80% at 78% 40%, rgba(255, 255, 255, 0.16), transparent 58%),
        linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: #fff;
}

.th-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    padding: 72px 0 80px;
}

.th-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 18px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #dbe4ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.th-pill--soft {
    margin: 14px 0 0;
    background: var(--blue-soft);
    color: var(--blue-deep);
}

.th-hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
}

.th-sub {
    margin: 14px 0 0;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.th-lede {
    max-width: 34rem;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
    line-height: 1.6;
}

.th-hero__notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 520px;
    margin: 22px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(8, 18, 60, 0.35);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.th-hero__notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.th-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.th-showcase {
    display: grid;
    place-items: center;
}

.th-showcase__card {
    width: min(100%, 360px);
    padding: 36px 28px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    text-align: center;
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(6, 16, 48, 0.28);
}

.th-showcase__logo {
    display: grid;
    place-items: center;
    width: 168px;
    height: 168px;
    margin: 0 auto 18px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 37, 111, 0.08);
}

.th-showcase__logo img {
    width: 112px;
    height: 112px;
    object-fit: contain;
}

.th-showcase__card > strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.th-networks {
    padding: 56px 0 64px;
}

.th-networks__label {
    margin: 0 0 28px;
    color: #8b93a7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
}

.th-networks__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.th-networks__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 108px;
    min-height: 108px;
    padding: 14px 8px;
    border: 1px solid #eef1f6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(18, 24, 43, 0.04);
}

.th-networks__item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.th-networks__item span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 800;
}

.th-networks__item small {
    color: #5c6478;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.th-services {
    padding: 28px 0 72px;
}

.th-services__badge {
    display: table;
    margin: 0 auto 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-deep);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.th-services h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-align: center;
}

.th-services__lead {
    max-width: 520px;
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.th-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.th-service {
    padding: 22px 20px 20px;
    border-radius: 18px;
    background: #f7f8fb;
}

.th-service__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
}

.th-service h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.th-service p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.th-footer {
    background: #fff;
}

.th-footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.th-contact .th-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 22px;
}

.th-social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
}

.th-social a[aria-label="Telegram"] {
    background: #229ed9;
}

.th-social a.is-wa {
    background: #25d366;
}

.th-social a:hover {
    filter: brightness(0.92);
}

.th-footer__bar p {
    margin: 0;
    color: #8b93a7;
    font-size: 13px;
}

.th-footer__bar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.th-footer__bar a {
    color: #5c6478;
    font-size: 14px;
    font-weight: 600;
}

.th-footer__bar a:hover {
    color: var(--blue);
}

.th-steps {
    padding: 72px 0;
    background: #f6f7fb;
}

.th-steps h2,
.th-about-block h2,
.th-contact h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-align: center;
}

.th-steps__lead {
    margin: 10px 0 0;
    color: var(--muted);
    text-align: center;
}

.th-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.th-steps article {
    padding: 22px 20px;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background: #fff;
}

.th-steps header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.th-steps h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.th-steps p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.th-about-block {
    padding: 72px 0;
}

.th-about-block__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.th-services__badge--left {
    margin: 0 0 14px;
}

.th-about-block h2 {
    text-align: left;
}

.th-about-block p {
    max-width: 460px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.th-about-block ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.th-about-block li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 22px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.th-about-block li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--blue);
}

.th-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.th-highlights article {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 16px;
    border-radius: 18px;
    background: #f6f7fb;
    text-align: center;
}

.th-highlights .th-service__icon {
    margin-bottom: 6px;
}

.th-highlights strong {
    font-size: 16px;
}

.th-highlights small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.th-contact {
    padding: 72px 0;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: #fff;
    text-align: center;
}

.th-contact > .th-wrap > p {
    margin: 10px auto 0;
    max-width: 460px;
    color: rgba(255, 255, 255, 0.82);
}

.th-contact__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 32px 0 28px;
    text-align: left;
}

.th-contact__card {
    display: block;
    padding: 18px 18px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.th-contact__card span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.th-menu {
    display: none;
}

.th-contact__card strong {
    font-size: 15px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

@media (max-width: 860px) {
    .th-wrap {
        width: min(1120px, calc(100% - 32px));
    }

    .th-header__inner {
        grid-template-columns: 1fr auto;
        min-height: 64px;
    }

    .th-nav {
        display: none;
    }

    .th-menu {
        display: block;
        position: relative;
    }

    .th-menu summary {
        display: grid;
        gap: 5px;
        width: 42px;
        height: 42px;
        place-content: center;
        border-radius: 10px;
        list-style: none;
        cursor: pointer;
    }

    .th-menu summary::-webkit-details-marker {
        display: none;
    }

    .th-menu summary span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--ink);
    }

    .th-menu div {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        z-index: 30;
        display: grid;
        min-width: 180px;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 16px 40px rgba(18, 24, 43, 0.12);
    }

    .th-menu a {
        padding: 12px 14px;
        border-radius: 10px;
        color: var(--ink);
        font-size: 15px;
        font-weight: 700;
    }

    .th-menu a:hover {
        background: var(--blue-soft);
    }

    .th-header__actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .th-hero__grid,
    .th-steps__grid,
    .th-about-block__grid,
    .th-contact__grid,
    .th-services__grid {
        grid-template-columns: 1fr;
    }

    .th-hero__grid {
        padding: 36px 0 40px;
        gap: 28px;
    }

    .th-hero h1 {
        font-size: 2.4rem;
    }

    .th-sub {
        font-size: 1.25rem;
    }

    .th-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .th-hero__actions .th-btn {
        width: 100%;
    }

    .th-showcase__card {
        padding: 24px 18px 20px;
    }

    .th-showcase__logo {
        width: 132px;
        height: 132px;
    }

    .th-services,
    .th-steps,
    .th-about-block,
    .th-networks,
    .th-contact {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .th-steps h2,
    .th-services h2,
    .th-contact h2 {
        text-align: center;
    }

    .th-about-block h2,
    .th-about-block p,
    .th-about-block ul {
        max-width: none;
    }

    .th-networks__item {
        width: calc(33.33% - 12px);
        min-height: 96px;
    }

    .th-footer__bar {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 18px 0 22px;
    }

    .th-footer__bar nav {
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .th-hero h1 {
        font-size: 2rem;
    }

    .th-highlights {
        grid-template-columns: 1fr 1fr;
    }

    .th-networks__item {
        width: calc(50% - 8px);
    }
}

.th-contact .th-btn {
    margin-top: 4px;
}

.th-app-download {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
}

.th-app-download__box {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 64px 0 80px;
    text-align: center;
}

.th-app-download__box h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.th-app-download__box .th-sub {
    margin: 0;
    max-width: 34rem;
    opacity: 0.92;
}

.th-app-download__box .th-btn {
    margin-top: 8px;
    min-width: 180px;
}

.th-app-download__hint {
    margin: 0;
    font-size: 13px;
    opacity: 0.78;
}
