/* Homepage design, loaded after home.css on the home page only. Blog and landing pages keep home.css alone. */
.tp-home {
    --hp-ink: #111118;
    --hp-ink-soft: #1d1d27;
    --hp-text: #16161d;
    --hp-muted: #565662;
    --hp-line: #e7e6ec;
    --hp-tint: #fbf8fb;
    --hp-pink: #d9124b;
    --hp-pink-dark: #b80d3e;
    --hp-pink-light: #ff5c8a;
    --hp-radius: 20px;
    --hp-shadow: 0 18px 50px rgba(17, 17, 24, 0.12);
    color: var(--hp-text);
}

.tp-home h1,
.tp-home h2,
.tp-home h3 {
    color: inherit;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.tp-home h2 {
    margin: 0;
    font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
    line-height: 1.12;
}

.tp-home .tp-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--hp-pink);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.tp-home .tp-button {
    background: var(--hp-pink);
    color: #fff;
    box-shadow: none;
    transition: background-color 0.18s ease, transform 0.18s ease;
    touch-action: manipulation;
}

.tp-home .tp-button:hover {
    background: var(--hp-pink-dark);
    color: #fff;
}

.tp-home .tp-button:active {
    transform: scale(0.98);
}

.tp-home :is(a, button, summary, input):focus-visible {
    outline: 3px solid var(--hp-pink);
    outline-offset: 2px;
}

.tp-home .tp-text-link {
    color: var(--hp-pink);
    font-weight: 700;
}

/* Header */
/* Hero */
.hp-hero-grid {
    display: grid;
    gap: 24px;
}

.hp-hero-copy {
    min-width: 0;
}

/* Sections */
.hp-section {
    padding-block: clamp(52px, 7vw, 96px);
}

.hp-tinted {
    background: var(--hp-tint);
}

.hp-heading {
    max-width: 44rem;
    margin-bottom: clamp(24px, 4vw, 44px);
}

.hp-heading p,
.hp-faq-intro p,
.hp-heading-row p {
    margin: 12px 0 0;
    color: var(--hp-muted);
    font-size: 1.0625rem;
}

.hp-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 12px 32px;
    margin-bottom: clamp(24px, 4vw, 40px);
}

.hp-heading-row p {
    max-width: 26rem;
    margin: 0;
}

.hp-center {
    margin-top: 32px;
    text-align: center;
}

/* What it is and pricing */
.tp-home .hp-about {
    display: grid;
    gap: 36px;
}

.tp-home .hp-about .tp-about-copy p {
    color: var(--hp-muted);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.tp-home .hp-about .tp-about-copy h2 {
    margin-bottom: 14px;
}

.tp-home .hp-about .tp-topic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.tp-home .hp-about .tp-topic-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    background: #fff;
    color: var(--hp-text);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.tp-home .hp-about .tp-topic-links a:hover {
    border-color: var(--hp-pink);
    color: var(--hp-pink);
}

.tp-home .hp-about .tp-pricing {
    margin: 0;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    background: #fff;
    box-shadow: var(--hp-shadow);
}

.tp-home .hp-about .tp-pricing > p {
    color: var(--hp-muted);
}

.tp-home .hp-about .tp-price-table {
    width: 100%;
    margin-block: 16px 20px;
    font-variant-numeric: tabular-nums;
}

.tp-home .hp-about .tp-price-table th a {
    color: var(--hp-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tp-home .hp-about .tp-price-table td:last-child {
    font-weight: 700;
}

.tp-home .hp-about .tp-pricing .tp-button {
    width: 100%;
    justify-content: center;
}

.tp-home .hp-about .tp-price-note {
    margin: 12px 0 0;
    color: var(--hp-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Steps */
.hp-step-number {
    color: var(--hp-pink);
    font-size: 0.8125rem;
    font-weight: 700;
}

/* Features */
.hp-features {
    display: grid;
    gap: 16px;
}

.hp-feature {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    background: #fff;
}

.hp-feature img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hp-feature-copy {
    padding: 20px;
}

.tp-home .hp-feature h3 {
    margin: 0 0 6px;
    font-size: 1.375rem;
    line-height: 1.2;
}

.hp-feature p {
    margin: 0 0 10px;
    color: var(--hp-muted);
}

/* FAQ */
.hp-faq-grid {
    display: grid;
    gap: 28px;
}

.tp-home .hp-faq-intro .tp-text-link {
    display: inline-flex;
    margin-top: 14px;
}

.tp-home .tp-faq {
    border-radius: 14px;
    background: #fff;
}

.tp-home .tp-faq summary {
    min-height: 56px;
}

.tp-home .tp-faq-content p {
    color: var(--hp-muted);
}

/* Final call to action */
/* Articles and guides */
.hp-articles,
.hp-guides {
    display: grid;
    gap: 16px;
}

.tp-home .hp-article,
.tp-home .hp-guide {
    display: block;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    background: #fff;
    color: var(--hp-text);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tp-home .hp-article:hover,
.tp-home .hp-guide:hover {
    border-color: #cfcdd8;
    box-shadow: var(--hp-shadow);
}

.hp-article img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.tp-home .hp-article h3 {
    margin: 16px 18px 8px;
    font-size: 1.125rem;
    line-height: 1.3;
}

.tp-home .hp-article .tp-text-link {
    display: inline-flex;
    margin: 0 18px 18px;
}

.tp-home .hp-guide {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 10px;
}

.hp-guide img {
    display: block;
    width: 100%;
    height: 104px;
    border-radius: 14px;
    object-fit: cover;
}

.tp-home .hp-guide h3 {
    margin: 0 0 3px;
    font-size: 1.0625rem;
    line-height: 1.25;
}

.hp-guide p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 4px;
    color: var(--hp-muted);
    font-size: 0.875rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tp-home .hp-guide .tp-text-link {
    font-size: 0.875rem;
}

/* Footer */
.tp-home .tp-footer {
    border-top: 1px solid var(--hp-line);
}

/* Sticky form on phones stays readable above page content. */
.tp-home .tp-mobile-cta {
    box-shadow: 0 -8px 30px rgba(17, 17, 24, 0.14);
}

@media (min-width: 700px) {
    .hp-articles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hp-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-feature-main {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .hp-feature-main img {
        width: 56%;
        aspect-ratio: auto;
        min-height: 340px;
    }

    .hp-feature-main .hp-feature-copy {
        align-self: center;
        padding: clamp(24px, 4vw, 48px);
    }

    .hp-guides {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-guide:first-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1001px) {
    .hp-hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 56px;
        align-items: center;
    }

    .tp-home .hp-about {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 64px;
        align-items: start;
    }

    .hp-faq-grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 64px;
    }

    .hp-faq-intro {
        position: sticky;
        top: 96px;
        align-self: start;
    }

    .hp-guides {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tp-home .hp-guide {
        display: block;
        padding: 0;
    }

    .hp-guide img {
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 0;
    }

    .hp-guide > div {
        padding: 16px 18px 18px;
    }

    /* Seven guides: the first runs full width so the grid ends on a complete row. */
    .tp-home .hp-guide:first-child {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        align-items: center;
    }

    .hp-guide:first-child img {
        height: 100%;
        min-height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-home .tp-button,
    .tp-home .hp-article,
    .tp-home .hp-guide {
        transition: none;
    }
}

/* Refinements */
.tp-home .hp-hero-text {
    margin: 16px 0 22px;
}

.tp-home .hp-about .tp-pricing h2 {
    margin-bottom: 10px;
}

.hp-section:not(.hp-tinted) + .hp-section:not(.hp-tinted) {
    padding-block-start: 0;
}

.tp-home .tp-faq summary {
    padding-inline: 18px;
}

.tp-home .tp-faq-content p {
    margin: 0;
    padding-inline: 18px;
    padding-block-end: 16px;
}

.tp-home .tp-faq summary {
    font-size: 1rem;
}

.tp-home .tp-faq-content p {
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* Comfortable touch targets on phones and tablets. */
@media (max-width: 1000px) {
    .tp-home .tp-header .tp-header-start,
    .tp-home .tp-header .language-dropdown > summary,
    .tp-home .hp-form-card .tp-input-wrap input {
        min-height: 44px;
    }

    .tp-home .tp-text-link {
        min-height: 44px;
    }

    .tp-home .hp-form-card .tp-form-help button {
        min-height: 32px;
    }

    .tp-home .hp-about .tp-price-table th a {
        display: inline-block;
        padding-block: 10px;
    }
}

.tp-home .hp-form-card .tp-form-help {
    gap: 0 12px;
}


/* TikTok profile phone */
.tk-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.tk-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.tk-stage > .tk-tilt {
    position: relative;
    z-index: 1;
}

@keyframes tk-drift {
    to {
        transform: translate3d(28px, -22px, 0) scale(1.12);
    }
}

@keyframes tk-float {
    50% {
        transform: translateY(-8px);
    }
}

.tk-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 590px;
    overflow: hidden;
    border-radius: 38px;
    background: #fff;
    color: #161823;
    font-size: 13px;
    line-height: 1.25;
}

.tk-screen svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tk-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px 4px;
    font-size: 12px;
    font-weight: 700;
}

.tk-island {
    width: 74px;
    height: 21px;
    border-radius: 12px;
    background: #000;
}

.tk-battery {
    position: relative;
    width: 21px;
    height: 10px;
    border: 1.5px solid #161823;
    border-radius: 3px;
    background: linear-gradient(90deg, #161823 72%, transparent 72%);
}

.tk-notice {
    position: absolute;
    z-index: 4;
    inset-block-start: 8px;
    inset-inline: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    border-radius: 20px;
    background: #16161d;
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(-130%);
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1), opacity 0.25s ease;
}

.tk-notice.is-open {
    opacity: 1;
    transform: translateY(0);
}

.tk-notice img {
    flex: none;
    border-radius: 8px;
}

.tk-notice span {
    display: grid;
    flex: 1;
    min-width: 0;
}

.tk-notice strong {
    font-size: 12px;
}

.tk-notice small {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-notice b {
    color: #ff5c8a;
    font-size: 14px;
}

.tk-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 6px 12px;
}

.tk-topbar strong {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    max-width: 150px;
    overflow: hidden;
    font-size: 14px;
    white-space: nowrap;
}

.tk-topbar strong span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.tk-topbar strong svg {
    flex: none;
    width: 15px;
    height: 15px;
}

.tk-topbar-end {
    display: inline-flex;
    justify-content: flex-end;
    gap: 10px;
}

.tk-avatar {
    position: relative;
    width: 86px;
    height: 86px;
    margin: 6px auto 8px;
}

.tk-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f1f1f2;
    object-fit: cover;
}

.tk-avatar i {
    position: absolute;
    inset-block-end: 0;
    inset-inline-end: 0;
    display: grid;
    width: 24px;
    height: 24px;
    place-content: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #20d5ec;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.tk-handle {
    display: block;
    overflow: hidden;
    padding-inline: 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 12px 12px 12px;
    text-align: center;
}

.tk-stats div {
    display: grid;
    gap: 2px;
    transition: transform 0.3s ease;
}

.tk-actions {
    display: flex;
    justify-content: center;
}

.tk-follow {
    display: block;
    width: 150px;
    padding: 9px 12px;
    border-radius: 4px;
    background: #fe2c55;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.tk-follow:hover {
    background: #e4193f;
    color: #fff;
}

.tk-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 12px;
    border-bottom: 1px solid #e6e6e8;
    color: #8a8b91;
}

.tk-tabs span {
    display: grid;
    justify-items: center;
    padding-block: 8px;
    border-bottom: 2px solid transparent;
}

.tk-tabs .is-active {
    border-color: #161823;
    color: #161823;
}

.tk-grid {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    min-height: 0;
}

.tk-grid a {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111;
}

.tk-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.25s ease;
}

.tk-grid small {
    position: absolute;
    inset-block-end: 5px;
    inset-inline-start: 5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.tk-grid small svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.tk-grid .is-hit img {
    filter: brightness(1.15);
}

.tk-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
    padding: 8px 8px 16px;
    border-top: 1px solid #e6e6e8;
    background: #fff;
    color: #8a8b91;
}

.tk-nav .is-active {
    color: #161823;
}

.tk-create {
    display: grid;
    width: 40px;
    height: 26px;
    place-content: center;
    border-radius: 8px;
    background: #161823;
    box-shadow: -3px 0 0 #25f4ee, 3px 0 0 #fe2c55;
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
}

/* Package buttons that drive the phone */
/* Reading progress and current section */
.hp-progress {
    position: fixed;
    z-index: 1100;
    inset-block-start: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, #25f4ee, #ff5c8a 60%, #d9124b);
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

[dir="rtl"] .hp-progress {
    transform-origin: right;
}

.tp-home .tp-nav-links a[aria-current="true"] {
    opacity: 1;
    color: var(--hp-pink);
    box-shadow: 0 2px 0 var(--hp-pink);
}

/* How it works: one phone, three screens */
.hp-flow {
    display: grid;
    gap: 24px;
}

.hp-flow-copy {
    display: contents;
}

.hp-flow-copy .hp-heading {
    order: 1;
    margin-bottom: 0;
}

.hp-flow-stage {
    display: flex;
    order: 2;
    justify-content: center;
}

.hp-flow-steps {
    display: grid;
    order: 3;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hp-flow-copy > .tp-button {
    justify-self: center;
    order: 4;
}

.hp-flow-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 12px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #fff;
    opacity: 0.72;
    transition: opacity 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hp-flow-step.is-active {
    border-color: var(--hp-pink);
    box-shadow: var(--hp-shadow);
    opacity: 1;
}

.hp-step-number {
    color: var(--hp-pink);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 44px;
}

.tp-home .hp-flow-step h3 {
    margin: 0;
    font-size: 1.125rem;
}

.hp-flow-step button {
    width: 100%;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    letter-spacing: inherit;
    text-align: start;
    touch-action: manipulation;
}

.hp-flow-step p {
    grid-column: 2;
    margin: 0;
    color: var(--hp-muted);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.tk-phone-app {
    width: 240px;
}

.tk-phone-app .tk-screen {
    height: 420px;
    background: #fafafb;
}

.tk-phone-app .tk-status {
    padding-inline: 18px;
}

.tk-phone-app .tk-island {
    width: 60px;
}

.fl-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 4px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.fl-brand img {
    border-radius: 7px;
}

.fl-brand span span {
    font-weight: 400;
}

.fl-screen {
    position: absolute;
    inset: 88px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.fl-screen.is-active {
    opacity: 1;
    transform: none;
}

.fl-title {
    font-size: 15px;
}

.fl-input {
    display: flex;
    align-items: center;
    gap: 3px;
    min-height: 44px;
    padding-inline: 12px;
    border: 1.5px solid var(--hp-pink);
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
}

.fl-input i {
    width: 1.5px;
    height: 18px;
    background: var(--hp-pink);
    animation: fl-caret 1s steps(2) infinite;
}

@keyframes fl-caret {
    50% {
        opacity: 0;
    }
}

.fl-button {
    display: block;
    padding: 12px;
    border-radius: 12px;
    background: var(--hp-pink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.fl-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--hp-muted);
    font-size: 12px;
}

.fl-note svg {
    flex: none;
    width: 15px;
    height: 15px;
}

.fl-packs {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fl-packs li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 9px;
    border: 1.5px solid #e7e6ec;
    border-radius: 12px;
    background: #fff;
}

.fl-screen.is-active .fl-packs li {
    animation: fl-in 0.4s ease both;
    animation-delay: calc(var(--i) * 110ms);
}

.fl-screen.is-active .fl-packs .is-picked {
    animation: fl-in 0.4s ease both, fl-pick 0.4s ease 0.9s both;
}

@keyframes fl-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

@keyframes fl-pick {
    to {
        border-color: var(--hp-pink);
        box-shadow: 0 6px 18px rgba(217, 18, 75, 0.2);
    }
}

.fl-pack-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-content: center;
    border-radius: 8px;
    background: #fde8ee;
    color: var(--hp-pink);
}

.fl-pack-icon svg {
    width: 15px;
    height: 15px;
}

.fl-packs b {
    display: block;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fl-packs small {
    color: var(--hp-muted);
    font-size: 11px;
}

.fl-packs em {
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.fl-track {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e7e6ec;
    border-radius: 12px;
    background: #fff;
}

.fl-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 4px;
    background: #efeef3;
}

.fl-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff5c8a, #d9124b);
    transform: scaleX(0);
    transform-origin: left;
}

[dir="rtl"] .fl-bar i {
    transform-origin: right;
}

.fl-screen.is-active .fl-bar i {
    animation: fl-fill 2.4s 0.3s ease-in-out forwards;
}

@keyframes fl-fill {
    to {
        transform: scaleX(1);
    }
}

.fl-state {
    display: grid;
    font-size: 12px;
    font-weight: 700;
}

.fl-state span {
    grid-area: 1 / 1;
}

.fl-state span:last-child {
    color: #0a7d4f;
    opacity: 0;
}

.fl-screen.is-active .fl-state span:first-child {
    animation: fl-out 0.2s 2.7s forwards;
}

.fl-screen.is-active .fl-state span:last-child {
    animation: fl-show 0.2s 2.8s forwards;
}

@keyframes fl-out {
    to {
        opacity: 0;
    }
}

@keyframes fl-show {
    to {
        opacity: 1;
    }
}

/* Feature demos */
.hp-feature-media {
    position: relative;
    overflow: hidden;
}

.hp-feature-media img {
    transition: transform 0.6s ease;
}

.hp-feature:hover .hp-feature-media img {
    transform: scale(1.03);
}

.hp-secure-chip {
    position: absolute;
    inset-block-end: 14px;
    inset-inline-start: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: calc(100% - 28px);
    padding: 9px 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--hp-shadow);
    color: var(--hp-text);
    font-size: 0.8125rem;
    font-weight: 600;
}

.hp-secure-chip svg {
    flex: none;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-secure-chip i {
    display: grid;
    flex: none;
    width: 20px;
    height: 20px;
    place-content: center;
    border-radius: 50%;
    background: #0a7d4f;
    color: #fff;
}

.hp-secure-chip i svg {
    width: 12px;
    height: 12px;
}

.tp-motion .tp-reveal .hp-secure-chip {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
}

.tp-motion .tp-reveal.is-visible .hp-secure-chip {
    opacity: 1;
    transform: none;
}

.hp-earn-tasks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.hp-earn-tasks button:active {
    transform: scale(0.96);
}

.hp-earn-tasks button > svg {
    width: 22px;
    height: 22px;
}

.hp-earn-tasks i {
    position: absolute;
    inset-block-start: 6px;
    inset-inline-end: 6px;
    display: grid;
    width: 18px;
    height: 18px;
    place-content: center;
    border-radius: 50%;
    background: #1fbf7a;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hp-earn-tasks i svg {
    width: 11px;
    height: 11px;
}

.hp-earn-tasks [aria-pressed="true"] {
    border-color: #1fbf7a;
    background: rgba(31, 191, 122, 0.14);
}

.hp-earn-tasks [aria-pressed="true"] i {
    opacity: 1;
    transform: scale(1);
}

.hp-earn-wallet {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.hp-coin {
    display: grid;
    width: 30px;
    height: 30px;
    place-content: center;
    border-radius: 50%;
    background: #f6c344;
    color: #5a4200;
}

.hp-coin svg {
    width: 20px;
    height: 20px;
}

.hp-coin.is-pop {
    animation: hp-coin 0.55s ease;
}

@keyframes hp-coin {
    40% {
        transform: translateY(-9px) rotateY(180deg) scale(1.2);
    }
}

.hp-earn-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f6c344, #ffdf85);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[dir="rtl"] .hp-earn-bar i {
    transform-origin: right;
}

.hp-nopass-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 8px 14px;
    border-radius: 14px;
    background: #fff;
    color: var(--hp-text);
}

.hp-nopass-row > span {
    display: grid;
    place-content: center;
    color: var(--hp-muted);
    font-weight: 700;
}

.hp-nopass-row > span svg {
    width: 19px;
    height: 19px;
}

.hp-nopass-row b {
    position: relative;
    overflow: hidden;
    font-size: 0.9375rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-nopass-row i {
    display: grid;
    width: 24px;
    height: 24px;
    place-content: center;
    border-radius: 50%;
    background: #0a7d4f;
    color: #fff;
}

.hp-nopass-row i svg {
    width: 14px;
    height: 14px;
}

.hp-nopass-off b {
    text-decoration: line-through;
    text-decoration-color: #ff5c8a;
    text-decoration-thickness: 2px;
}

.tp-motion .tp-reveal .hp-nopass-off {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
}

.tp-motion .tp-reveal.is-visible .hp-nopass-off {
    opacity: 1;
    transform: none;
}

/* Blog and guide photos */
.hp-article-cover {
    display: block;
    overflow: hidden;
}

.hp-article-cover img,
.hp-guide-media img {
    transition: transform 0.6s ease;
}

.hp-article:hover .hp-article-cover img,
.hp-guide:hover .hp-guide-media img {
    transform: scale(1.05);
}

.hp-guide-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
}

.hp-guide-media i {
    position: absolute;
    inset-block-end: 6px;
    inset-inline-end: 6px;
    display: grid;
    width: 30px;
    height: 30px;
    place-content: center;
    border-radius: 50%;
    background: var(--hp-pink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #fff;
    transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.hp-guide:hover .hp-guide-media i {
    transform: scale(1.18);
}

.hp-guide-media i svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (min-width: 700px) {
    .hp-feature-main .hp-feature-media {
        flex: none;
        width: 56%;
    }

    .hp-feature-main .hp-feature-media img {
        width: 100%;
        height: 100%;
    }

    .hp-feature-main .hp-feature-copy {
        flex: 1;
    }
}

@media (min-width: 1001px) {
    .hp-flow {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 56px;
        align-items: start;
    }

    .hp-flow-copy {
        display: block;
    }

    .hp-flow-copy .hp-heading {
        margin-bottom: 24px;
    }

    .hp-flow-steps {
        gap: 0;
    }

    .hp-flow-step {
        align-content: center;
        min-height: 34vh;
        padding: 24px;
        border-width: 0;
        border-inline-start: 3px solid var(--hp-line);
        border-radius: 0;
        background: transparent;
        opacity: 0.5;
    }

    .hp-flow-step.is-active {
        border-color: var(--hp-pink);
        box-shadow: none;
    }

    .tp-home .hp-flow-step h3 {
        font-size: 1.5rem;
    }

    .hp-flow-step p {
        font-size: 1.0625rem;
    }

    .hp-flow-copy > .tp-button {
        display: inline-flex;
        margin-block-start: 24px;
    }

    .hp-flow-stage {
        position: sticky;
        inset-block-start: 120px;
    }

    .tk-phone-app {
        width: 290px;
    }

    .tk-phone-app .tk-screen {
        height: 560px;
    }

    .hp-guide-media {
        border-radius: 0;
    }

    .hp-guide:first-child .hp-guide-media,
    .hp-guide:first-child .hp-guide-media img {
        height: 100%;
    }
}

@media (max-width: 400px) {
    .tk-screen {
        height: 540px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .tk-glow,
    .tk-stage .tk-phone,
    .fl-input i {
        animation: none;
    }

    .tk-tilt,
    .tk-odo > span,
    .tk-notice,
    .fl-screen,
    .hp-earn-bar i,
    .hp-article-cover img,
    .hp-guide-media img,
    .hp-feature-media img {
        transition: none;
    }

    .fl-screen.is-active .fl-packs li,
    .fl-screen.is-active .fl-packs .is-picked,
    .fl-screen.is-active .fl-bar i,
    .fl-screen.is-active .fl-state span {
        animation: none;
    }

    .fl-packs .is-picked {
        border-color: var(--hp-pink);
    }

    .fl-bar i {
        transform: scaleX(1);
    }

    .fl-state span:first-child {
        opacity: 0;
    }

    .fl-state span:last-child {
        opacity: 1;
    }
}

/* Phone and step refinements */
.tp-home .tk-follow,
.tp-home .tk-follow:hover {
    color: #fff;
}

.tp-home .tk-follow {
    background: #e31645;
}

.tp-home .tk-follow:hover {
    background: #c91039;
}

.hp-flow-step,
.hp-flow-step:not(.is-active) {
    opacity: 1;
}

.tp-home .hp-flow-step:not(.is-active) h3 {
    color: var(--hp-muted);
}

.fl-screen {
    justify-content: center;
    padding-block-end: 40px;
}



/* Soft theme: header, hero and panels stay close in tone so nothing looks boxed in. */
.tp-home .tp-header {
    border-bottom: 1px solid #f1ebf1;
    background: #fff;
}

.hp-hero {
    position: relative;
    overflow-x: clip;
    padding-block: 28px 44px;
    background: linear-gradient(180deg, #fff 0%, #fff4f7 22%, #f8f4ff 74%, #fff 100%);
    color: var(--hp-text);
}

.tp-home .hp-hero h1 {
    max-width: none;
    margin: 0;
    color: var(--hp-ink);
    font-size: clamp(2.125rem, 1.7rem + 2vw, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1.06;
}

.tp-home .hp-hero h1 > span {
    width: auto;
    margin: 0;
    padding: 0;
    color: var(--hp-pink);
}

.tp-home .hp-hero-text {
    max-width: 36rem;
    margin: 16px 0 22px;
    color: #45454f;
    font-size: 1.0625rem;
    line-height: 1.5;
}

/* The field is the main object in the hero: no card around it, full column width, large type. */
.tp-home .hp-form-card {
    max-width: 38rem;
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--hp-text);
}

.tp-home .hp-form-card .tp-input-label {
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.tp-home .hp-form-card .tp-input-row {
    gap: 8px;
    padding: 8px;
    border: 1.5px solid #e4dde8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(120, 60, 110, 0.1);
}

.tp-home .hp-form-card .tp-input-row:focus-within {
    border-color: var(--hp-pink);
}

.tp-home .hp-form-card .tp-input-wrap > span {
    font-size: 1.25rem;
}

.tp-home .hp-form-card .tp-input-wrap input {
    width: 100%;
    min-height: 56px;
    font-size: 1.125rem;
}

.tp-home .hp-form-card .tp-button {
    min-height: 56px;
    padding-inline: 26px;
    border-radius: 14px;
    font-size: 1rem;
}

.tp-home .hp-form-card .tp-form-help,
.tp-home .hp-form-card .tp-form-help button {
    color: var(--hp-muted);
    font-size: 0.8125rem;
}

.hp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 16px 0 0;
    padding: 0;
    color: #45454f;
    font-size: 0.875rem;
    list-style: none;
}

.hp-trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hp-trust svg {
    flex: none;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--hp-pink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Phone with buttons flying around it */
.tk-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.75;
    pointer-events: none;
    animation: tk-drift 9s ease-in-out infinite alternate;
}

.tk-glow-cyan {
    inset-block-start: 6%;
    inset-inline-start: 6%;
    background: #c5f5f3;
}

.tk-glow-pink {
    inset-block-end: 8%;
    inset-inline-end: 6%;
    background: #ffcfdc;
    animation-delay: -4s;
}

.tk-tilt {
    width: min(290px, 100%);
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 0.25s ease-out;
}

.tk-phone {
    width: min(290px, 100%);
    padding: 9px;
    border-radius: 46px;
    background: linear-gradient(150deg, #3a3a46, #0b0b10 45%);
    box-shadow: 0 30px 60px rgba(70, 30, 80, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.tk-tilt .tk-phone {
    width: 100%;
    animation: tk-float 6s ease-in-out infinite;
}

.tk-demo {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
}

.tk-fly {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 7px 14px 7px 8px;
    border: 1px solid #efe9ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(70, 30, 80, 0.16);
    color: var(--hp-text);
    cursor: pointer;
    font: inherit;
    line-height: 1.15;
    pointer-events: auto;
    text-align: start;
    touch-action: manipulation;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, scale 0.15s ease;
    animation: tk-hover 5s ease-in-out infinite;
}

[dir="rtl"] .tk-fly {
    padding: 7px 8px 7px 14px;
}

.tk-fly:hover {
    box-shadow: 0 16px 36px rgba(70, 30, 80, 0.24);
    color: var(--hp-text);
}

.tk-fly:active {
    scale: 0.96;
}

.tk-fly[aria-pressed="true"] {
    border-color: var(--hp-pink);
}

@keyframes tk-hover {
    0%,
    100% {
        translate: 0 0;
        rotate: -1.5deg;
    }

    50% {
        translate: 0 -10px;
        rotate: 1.5deg;
    }
}

.tk-fly-followers {
    inset-block-start: 22%;
    inset-inline-start: 0;
}

.tk-fly-likes {
    inset-block-start: 38%;
    inset-inline-end: 0;
    animation-delay: -1.4s;
}

.tk-fly-views {
    inset-block-start: 66%;
    inset-inline-start: 2%;
    animation-delay: -2.8s;
}

.tk-fly-free {
    inset-block-start: 78%;
    inset-inline-end: 1%;
    animation-delay: -3.9s;
}

.tk-fly-icon {
    display: grid;
    flex: none;
    width: 34px;
    height: 34px;
    place-content: center;
    border-radius: 11px;
    background: #e3f9f8;
    color: #0b7f7b;
}

.tk-fly-likes .tk-fly-icon {
    background: #ffe8ee;
    color: #d9124b;
}

.tk-fly-views .tk-fly-icon {
    background: #efe9ff;
    color: #5b3fc4;
}

.tk-fly-free .tk-fly-icon {
    background: #fff3d1;
    color: #7a5a00;
}

.tk-fly-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tk-fly[aria-pressed="true"] .tk-fly-icon {
    animation: tk-pop 0.6s ease;
}

.tk-fly-text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.tk-fly-text small {
    color: var(--hp-muted);
    font-size: 0.75rem;
}

.tk-fly-text b {
    font-size: 0.9375rem;
    font-weight: 700;
}

.tk-fly b[data-tk-fly-count] {
    --odo-h: 18px;
    justify-content: flex-start;
}

.tk-particle {
    position: absolute;
    z-index: 4;
    color: #d9124b;
    font-size: 18px;
    font-weight: 700;
    pointer-events: none;
    animation: tk-fly-to 0.95s cubic-bezier(0.35, 0.1, 0.3, 1) both;
}

.tk-particle-followers {
    color: #0fb5b0;
    font-size: 22px;
}

.tk-particle-views {
    color: #5b3fc4;
    font-size: 14px;
}

@keyframes tk-fly-to {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    18% {
        opacity: 1;
    }

    55% {
        transform: translate(calc(-50% + var(--dx) * 0.55 + var(--wob)), calc(-50% + var(--dy) * 0.55 - 26px)) scale(1.15);
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.7);
    }
}

@keyframes tk-pop {
    40% {
        transform: scale(1.18);
    }
}

/* Rolling counters: fixed pixel cells keep digits and separators on one line. */
.tk-stats div > span {
    color: #6b6d76;
    font-size: 12px;
}

.tk-stats strong {
    --odo-h: 20px;
    font-size: 16px;
    line-height: 20px;
}

.tk-grid small span[data-tk-count] {
    --odo-h: 14px;
    line-height: 14px;
}

[data-tk-count],
[data-tk-fly-count] {
    display: inline-flex;
    justify-content: center;
}

.tk-cell {
    display: block;
    height: var(--odo-h);
    line-height: var(--odo-h);
}

.tk-odo {
    display: block;
    width: 1ch;
    height: var(--odo-h);
    clip-path: inset(0 -3px);
}

.tk-odo > span {
    display: block;
    transform: translateY(calc(var(--d) * var(--odo-h) * -1));
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tk-odo i {
    display: block;
    height: var(--odo-h);
    font-style: normal;
    line-height: var(--odo-h);
    text-align: center;
}

.no-roll .tk-odo > span {
    transition: none;
}

.tk-stats .is-hit {
    animation: tk-pop 0.6s ease;
}

.tk-stats .is-hit strong {
    color: #e31645;
}

/* Free route next to the prices */
.hp-free-path {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    margin-top: 24px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(120deg, #fff8e6, #fff3f6);
}

.hp-free-path .hp-coin {
    width: 44px;
    height: 44px;
}

.hp-free-path .hp-coin svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tp-home .hp-free-path h3 {
    margin: 0 0 4px;
    font-size: 1.125rem;
    line-height: 1.25;
}

.tp-home .hp-about .tp-about-copy .hp-free-path p {
    margin: 0 0 6px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.fl-free .fl-pack-icon {
    background: #fff3d1;
    color: #7a5a00;
}

.fl-free em {
    color: #0a7d4f;
}

/* Feature demos in the same soft tone */
.hp-earn,
.hp-nopass {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-height: 248px;
    padding: 22px;
    color: var(--hp-text);
}

.hp-earn {
    background: linear-gradient(135deg, #fff8e6, #fff1f5);
}

.hp-nopass {
    background: linear-gradient(135deg, #f3f0ff, #fff4f7);
}

.hp-earn svg,
.hp-nopass svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-earn-tasks button {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 5px;
    min-height: 76px;
    padding: 12px 4px;
    border: 1px solid #efe6e6;
    border-radius: 14px;
    background: #fff;
    color: var(--hp-text);
    cursor: pointer;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    touch-action: manipulation;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.hp-earn-tasks button:hover {
    box-shadow: 0 8px 20px rgba(120, 60, 110, 0.12);
}

.hp-earn-tasks button:active {
    transform: scale(0.96);
}

.hp-earn-tasks [aria-pressed="true"] {
    border-color: #1fbf7a;
    background: #f0fbf6;
}

.hp-earn-tasks i svg {
    color: #fff;
}

.hp-earn-bar {
    height: 10px;
    overflow: hidden;
    border-radius: 5px;
    background: rgba(90, 66, 0, 0.12);
}

.hp-earn-bar i {
    background: linear-gradient(90deg, #f0b429, #f6c344);
}

.hp-nopass-off {
    background: rgba(255, 255, 255, 0.6);
    color: #45454f;
}

.hp-nopass-off > span {
    color: inherit;
}

.hp-nopass-off em {
    padding: 4px 9px;
    border-radius: 999px;
    background: #ffe0e8;
    color: #a30d39;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 700;
}

/* Closing panel */
.hp-final {
    display: grid;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(120deg, #fff1f5, #f5f0ff);
}

.hp-final-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(24px, 5vw, 56px);
}

.hp-final-copy p {
    max-width: 34rem;
    margin: 12px 0 22px;
    color: #45454f;
    font-size: 1.0625rem;
}

.hp-final img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 700px) {
    .hp-feature-main .hp-earn {
        flex: none;
        justify-content: center;
        width: 56%;
    }
}

@media (min-width: 900px) {
    .hp-final {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }
}

@media (min-width: 1001px) {
    .hp-hero {
        padding-block: 40px 64px;
    }

    .hp-final img {
        min-height: 380px;
    }
}

@media (max-width: 1000px) {
    /* home.css centres the form on tablets; the hero copy here stays aligned to the start. */
    .tp-home .hp-hero .tp-form-card {
        margin-inline: 0;
    }

    .tk-stage {
        padding-block: 8px;
    }

    .tk-glow {
        width: 220px;
        height: 220px;
    }
}

.hp-real {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding: 20px 24px;
    border: 1px solid #f3e6ea;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff4f7, #f8f4ff);
}

.hp-real-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fff;
    color: var(--hp-pink);
    box-shadow: 0 6px 16px rgba(120, 40, 70, 0.08);
}

.hp-real-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.hp-real p {
    margin: 0;
    color: var(--hp-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.hp-real strong {
    display: block;
    margin-bottom: 2px;
    color: var(--hp-text);
    font-weight: 700;
}

/* On phones the buttons overlap the phone's video row, leaving the profile and counters clear. */
@media (max-width: 560px) {
    /* Long labels such as the Russian "Подписаться" must not spill out of an equal-width column. */
    .hp-earn-tasks {
        grid-template-columns: repeat(3, minmax(max-content, 1fr));
    }

    .tp-home .hp-form-card .tp-input-row {
        flex-direction: column;
    }

    .tp-home .hp-form-card .tp-input-wrap {
        flex: none;
    }

    .tp-home .hp-form-card .tp-button {
        width: 100%;
        justify-content: center;
    }

    .tk-tilt {
        width: min(250px, 80%);
    }

    .tk-notice small {
        white-space: normal;
    }

    .tk-stats {
        margin-inline: 4px;
    }

    .tk-stats strong {
        --odo-h: 18px;
        font-size: 14px;
        line-height: 18px;
    }

    .tk-stats div > span {
        overflow: hidden;
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tk-fly {
        gap: 6px;
        min-height: 46px;
        max-width: 118px;
        padding-block: 5px;
        padding-inline: 6px 10px;
    }

    [dir="rtl"] .tk-fly {
        padding-block: 5px;
        padding-inline: 6px 10px;
    }

    .tk-fly-icon {
        width: 28px;
        height: 28px;
        border-radius: 9px;
    }

    .tk-fly-text small {
        font-size: 0.6875rem;
    }

    .tk-fly-text b {
        font-size: 0.8125rem;
    }

    .tk-fly-followers {
        inset-block-start: 56%;
    }

    .tk-fly-likes {
        inset-block-start: 62%;
    }

    .tk-fly-views {
        inset-block-start: 80%;
    }

    .tk-fly-free {
        inset-block-start: 84%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tk-tilt .tk-phone,
    .tk-fly,
    .tk-fly[aria-pressed="true"] .tk-fly-icon,
    .tk-stats .is-hit {
        animation: none;
    }

    .tk-fly {
        transition: none;
    }
}

.tk-stage {
    justify-self: center;
    width: 100%;
    max-width: 520px;
}

.hp-nopass {
    flex: 1;
}
