/* ============================================================
   HOWTO — строго бело-серая гамма
   ============================================================ */
:root {
    --ht-white: #ffffff;
    --ht-white-90: rgba(255, 255, 255, 0.9);
    --ht-white-75: rgba(255, 255, 255, 0.75);
    --ht-white-60: rgba(255, 255, 255, 0.6);
    --ht-white-45: rgba(255, 255, 255, 0.45);
    --ht-gray: #b0b0b0;
    --ht-gray-soft: rgba(176, 176, 176, 0.75);
}

/* ============================================================
   HERO
   ============================================================ */
.ht-hero {
    position: relative;
    padding: 150px 60px 70px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}
.ht-hero::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 40px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}

.ht-hero-left { max-width: 720px; min-width: 0; }

.ht-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.ht-eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 12px #ffffff;
    animation: htPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes htPulse {
    0%, 100% { box-shadow: 0 0 12px #ffffff; transform: scale(1); }
    50% { box-shadow: 0 0 22px #ffffff, 0 0 32px rgba(255, 255, 255, 0.4); transform: scale(1.15); }
}

.ht-title {
    font-size: 68px;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.98;
    margin: 0 0 24px;
    color: #fff;
    overflow-wrap: break-word;
}
.ht-title-line2 {
    display: block;
    background: linear-gradient(120deg, #ffffff 0%, #dcdcdc 50%, #a8a8a8 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: htGradient 6s ease infinite;
}
@keyframes htGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ht-desc {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    max-width: 620px;
    margin: 0;
    overflow-wrap: break-word;
}

/* ============================================================
   HERO SKIN
   ============================================================ */
.ht-hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 460px;
    min-width: 0;
}
.ht-hero-skin-glow {
    position: absolute;
    inset: 5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    filter: blur(50px);
    pointer-events: none;
}
.ht-hero-skin-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1.15;
    border-radius: 40px;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08), transparent 60%), rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.ht-hero-skin-frame:hover {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ht-hero-skin-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.06), transparent 60%);
    pointer-events: none;
}
.ht-hero-skin-img {
    position: absolute;
    top: 50%; left: 50%;
    width: 85%;
    height: auto;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    animation: htSkinFloat 6s ease-in-out infinite;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    z-index: 1;
}
@keyframes htSkinFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-12px); }
}
.ht-hero-skin-meta {
    position: absolute;
    bottom: 18px; left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    z-index: 2;
    white-space: nowrap;
}
.ht-hero-skin-meta-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff;
    animation: htPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
.ht-hero-skin-meta-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.1; }
.ht-hero-skin-meta-label { font-size: 13px; font-weight: 900; color: #fff; }
.ht-hero-skin-meta-sub { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   STICKY SIDE NAV
   ============================================================ */
.ht-side-nav {
    position: fixed;
    right: 28px; top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 14px 10px;
    background: rgba(20, 22, 28, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.ht-nav-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ht-nav-dot::before {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 14px); top: 50%;
    transform: translateY(-50%) translateX(6px);
    padding: 6px 12px;
    background: rgba(20, 22, 28, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.ht-nav-dot:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
.ht-nav-dot:hover { background: rgba(255, 255, 255, 0.5); transform: scale(1.3); }
.ht-nav-dot.is-active { background: #ffffff; box-shadow: 0 0 14px rgba(255, 255, 255, 0.7); transform: scale(1.2); }
.ht-nav-dot.is-active:hover { background: #ffffff; }

/* ============================================================
   FORK (Выбор пути)
   ============================================================ */
.ht-fork { position: relative; padding: 60px 60px 100px; max-width: 1400px; margin: 0 auto; }
.ht-fork-header { text-align: center; margin-bottom: 60px; }
.ht-fork-label {
    display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
    font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45);
}
.ht-fork-label-line { width: 40px; height: 1px; background: rgba(255, 255, 255, 0.2); }
.ht-fork-title {
    font-size: 48px; font-weight: 900; letter-spacing: -0.035em; line-height: 1.1; color: #fff; margin: 0; overflow-wrap: break-word;
}
.ht-fork-title em { font-style: normal; background: linear-gradient(120deg, #ffffff 0%, #dcdcdc 50%, #a8a8a8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.ht-fork-layout { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; gap: 0; align-items: stretch; }

/* КАРТОЧКИ */
.ht-fork-card {
    position: relative; padding: 32px 32px 30px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px;
    display: flex; flex-direction: column; gap: 20px; transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1); overflow: hidden; min-width: 0;
}
.ht-fork-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ht-card-accent, #ffffff); opacity: 0.6; transition: opacity 0.4s ease;
}
.ht-fork-card::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at top, var(--ht-card-glow, rgba(255, 255, 255, 0.05)), transparent 55%);
    pointer-events: none; opacity: 0.6; transition: opacity 0.4s ease;
}
.ht-fork-card:hover {
    transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 60px var(--ht-card-glow, rgba(255, 255, 255, 0.05));
}
.ht-fork-card:hover::before { opacity: 1; box-shadow: 0 0 24px var(--ht-card-accent, #ffffff); }
.ht-fork-card:hover::after { opacity: 1; }

.ht-fork-card--buy { --ht-card-accent: #ffffff; --ht-card-glow: rgba(255, 255, 255, 0.06); }
.ht-fork-card--apply { --ht-card-accent: #b0b0b0; --ht-card-glow: rgba(176, 176, 176, 0.05); }

.ht-fork-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; position: relative; z-index: 2; min-width: 0; }
.ht-fork-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1); font-size: 9.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ht-fork-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ht-card-accent, #ffffff); box-shadow: 0 0 10px var(--ht-card-accent, #ffffff); flex-shrink: 0; }

.ht-fork-icon-wrap {
    width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ht-card-accent, #ffffff);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative; z-index: 2;
}
.ht-fork-icon-wrap svg { width: 26px; height: 26px; }
.ht-fork-card:hover .ht-fork-icon-wrap {
    transform: rotate(-8deg) scale(1.1); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 24px var(--ht-card-glow, rgba(255, 255, 255, 0.05));
}

.ht-fork-card-title { font-size: 26px; font-weight: 900; letter-spacing: -0.025em; line-height: 1.15; color: #fff; margin: 0; position: relative; z-index: 2; overflow-wrap: break-word; word-wrap: break-word; }
.ht-fork-card-sub { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.5); margin: 0; position: relative; z-index: 2; overflow-wrap: break-word; }

.ht-fork-price {
    display: flex; align-items: baseline; gap: 8px; padding: 14px 0; border-top: 1px dashed rgba(255, 255, 255, 0.08);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08); position: relative; z-index: 2; flex-wrap: wrap; min-width: 0;
}
.ht-fork-price-num {
    font-size: 38px; font-weight: 900; letter-spacing: -0.03em; line-height: 1;
    background: linear-gradient(180deg, #ffffff, #a8a8a8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; white-space: nowrap;
}
.ht-fork-price-num small { font-size: 22px; -webkit-text-fill-color: #fff; color: #fff; margin-left: 4px; }
.ht-fork-price-label { font-size: 12px; color: rgba(255, 255, 255, 0.4); font-weight: 600; margin-left: auto; white-space: nowrap; }

.ht-fork-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; min-width: 0; }
.ht-fork-features li { display: flex; gap: 12px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); overflow-wrap: break-word; word-wrap: break-word; min-width: 0; }
.ht-fork-features li::before {
    content: ''; width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px;
    background: linear-gradient(var(--ht-card-accent, #ffffff), var(--ht-card-accent, #ffffff)) center/2px 8px no-repeat,
                linear-gradient(var(--ht-card-accent, #ffffff), var(--ht-card-accent, #ffffff)) 3px 5px/8px 2px no-repeat;
    opacity: 0.8; border-radius: 2px;
}
.ht-fork-features li strong { color: #fff; font-weight: 700; }

.ht-fork-note {
    display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); position: relative; z-index: 2; overflow-wrap: break-word;
}
.ht-fork-note-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: rgba(255, 255, 255, 0.7); }
.ht-fork-note strong { color: var(--ht-card-accent, #ffffff); font-weight: 700; }

.ht-fork-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding: 14px 18px; border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #d6d6d6 55%, #b6b6b6 100%); color: #0a0a0a; font-size: 14px; font-weight: 800; text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: inset 0 2px 0 #fff, inset 0 -3px 6px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 255, 255, 0.25), 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1); position: relative; z-index: 2; overflow: hidden; min-width: 0;
}
.ht-fork-cta > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex-shrink: 1; }
.ht-fork-cta::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    transform: skewX(-20deg); pointer-events: none;
}
.ht-fork-cta:hover::after { animation: shimmer 0.9s ease; }
.ht-fork-cta:hover {
    transform: translateY(-2px) scale(1.01); box-shadow: inset 0 2px 0 #fff, inset 0 -3px 6px rgba(0, 0, 0, 0.1), 0 0 30px rgba(255, 255, 255, 0.45), 0 12px 30px rgba(0, 0, 0, 0.5);
}
.ht-fork-cta-arrow { display: flex; align-items: center; transition: transform 0.3s ease; flex-shrink: 0; }
.ht-fork-cta:hover .ht-fork-cta-arrow { transform: translateX(4px); }

/* FORK OR (Разделитель) */
.ht-fork-or { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; position: relative; z-index: 3; }
.ht-fork-or-line { flex: 1; width: 1px; background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.1) 70%, transparent 100%); }
.ht-fork-or-diamond {
    width: 56px; height: 56px; flex-shrink: 0; transform: rotate(45deg); background: rgba(20, 22, 28, 0.9); border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.5); position: relative;
}
.ht-fork-or-diamond::before { content: ''; position: absolute; inset: -3px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.06); animation: htDiamondPulse 3s ease-in-out infinite; }
@keyframes htDiamondPulse { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.ht-fork-or-text { transform: rotate(-45deg); font-size: 11px; font-weight: 900; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.85); text-transform: uppercase; }

/* ============================================================
   CHECKLIST
   ============================================================ */
.ht-checklist { position: relative; padding: 100px 60px 80px; max-width: 1400px; margin: 0 auto; }
.ht-checklist::before {
    content: ''; position: absolute; top: 100px; right: 40px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
    filter: blur(20px); pointer-events: none; z-index: -1;
}
.ht-checklist-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.ht-checklist-head-left { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1 1 320px; }
.ht-checklist-label { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.ht-checklist-label-line { width: 40px; height: 1px; background: rgba(255, 255, 255, 0.2); flex-shrink: 0; }
.ht-checklist-title { font-size: 44px; font-weight: 900; letter-spacing: -0.035em; line-height: 1.1; color: #fff; margin: 0; max-width: 720px; overflow-wrap: break-word; }
.ht-checklist-title em { font-style: normal; background: linear-gradient(120deg, #ffffff 0%, #dcdcdc 50%, #a8a8a8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* PROGRESS */
.ht-progress {
    display: flex; align-items: center; gap: 16px; padding: 16px 22px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); min-width: 240px; flex-shrink: 0;
}
.ht-progress-circle { width: 44px; height: 44px; position: relative; flex-shrink: 0; }
.ht-progress-circle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ht-progress-track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 3; }
.ht-progress-fill { fill: none; stroke: #ffffff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 138; stroke-dashoffset: 138; transition: stroke-dashoffset 0.6s cubic-bezier(0.22, 1, 0.36, 1); filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5)); }
.ht-progress-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: #fff; }
.ht-progress-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ht-progress-label { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.ht-progress-status { font-size: 14px; font-weight: 800; color: #fff; transition: color 0.4s ease; white-space: nowrap; }
.ht-progress-status.is-done { color: #ffffff; text-shadow: 0 0 12px rgba(255, 255, 255, 0.6); }

/* STEPS */
.ht-steps { display: flex; flex-direction: column; gap: 4px; position: relative; }
.ht-step {
    position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 28px 32px; border-radius: 20px;
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); cursor: pointer; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); overflow: hidden; min-width: 0;
}
.ht-step::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: transparent; transition: all 0.4s ease; }
.ht-step:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.14); transform: translateX(4px); }
.ht-step:hover::before { background: #ffffff; box-shadow: 0 0 16px #ffffff; }
.ht-step.is-done { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.18); }
.ht-step.is-done::before { background: #ffffff; box-shadow: 0 0 16px rgba(255, 255, 255, 0.8); }

.ht-step-num-wrap { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
.ht-step-num { font-size: 72px; font-weight: 900; letter-spacing: -0.06em; line-height: 0.9; color: rgba(255, 255, 255, 0.08); transition: color 0.4s ease; font-variant-numeric: tabular-nums; }
.ht-step.is-done .ht-step-num { color: rgba(255, 255, 255, 0.2); }
.ht-step:hover .ht-step-num { color: rgba(255, 255, 255, 0.15); }
.ht-step.is-done:hover .ht-step-num { color: rgba(255, 255, 255, 0.25); }

.ht-step-check {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08); font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5); transition: all 0.3s ease; white-space: nowrap;
}
.ht-step-check::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; flex-shrink: 0; transition: all 0.3s ease; }
.ht-step.is-done .ht-step-check { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); color: #ffffff; }
.ht-step.is-done .ht-step-check::before { background: #ffffff; border-color: #ffffff; box-shadow: 0 0 10px #ffffff; }
.ht-step.is-done .ht-step-check-text::after { content: ' ✓'; }

.ht-step-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ht-step-text { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); font-weight: 500; margin: 0; transition: color 0.4s ease; overflow-wrap: break-word; word-wrap: break-word; }
.ht-step-text strong { color: #ffffff; font-weight: 800; }

/* CODE */
.ht-code { background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3); overflow-x: auto; max-width: 100%; }
.ht-code-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.ht-code-tag { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.4); font-family: var(--font); flex-shrink: 0; }
.ht-code-value { padding: 5px 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px; font-family: 'Courier New', monospace; font-size: 13px; font-weight: 600; color: #fff; letter-spacing: 0.02em; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }

/* SESSION */
.ht-session {
    display: flex; gap: 20px; padding: 24px 28px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; margin-top: 28px; align-items: flex-start; position: relative; overflow: hidden;
}
.ht-session::before { content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); }
.ht-session-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #ffffff; }
.ht-session-icon svg { width: 22px; height: 22px; }
.ht-session-body { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; min-width: 0; }
.ht-session-title { font-size: 14px; font-weight: 800; color: #fff; letter-spacing: -0.005em; }
.ht-session-text { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.65); margin: 0; overflow-wrap: break-word; }
.ht-session-text strong { color: #ffffff; font-weight: 700; }
.ht-session-text code { padding: 2px 8px; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 6px; font-family: 'Courier New', monospace; font-size: 12.5px; color: #ffffff; font-weight: 600; white-space: nowrap; display: inline-block; vertical-align: middle; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.ht-final { position: relative; padding: 40px 60px 120px; max-width: 1400px; margin: 0 auto; text-align: center; }
.ht-final-card { position: relative; padding: 56px 48px; border-radius: 28px; background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.08) 0%, transparent 60%), rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.14); overflow: hidden; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.ht-final-card::before { content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); }
.ht-final-title { font-size: 42px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; color: #fff; margin: 0 0 16px; overflow-wrap: break-word; }
.ht-final-title em { font-style: normal; background: linear-gradient(120deg, #ffffff 0%, #dcdcdc 50%, #a8a8a8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ht-final-desc { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.6); max-width: 560px; margin: 0 auto 32px; overflow-wrap: break-word; }
.ht-final-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ht-final-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 14px; font-size: 15px; font-weight: 800; text-decoration: none; transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1); letter-spacing: 0.01em; white-space: nowrap; }
.ht-final-btn--primary { background: linear-gradient(180deg, #ffffff 0%, #d6d6d6 55%, #b6b6b6 100%); color: #0a0a0a; border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: inset 0 2px 0 #fff, inset 0 -3px 6px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 255, 255, 0.25), 0 8px 22px rgba(0, 0, 0, 0.5); }
.ht-final-btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: inset 0 2px 0 #fff, inset 0 -3px 6px rgba(0, 0, 0, 0.1), 0 0 30px rgba(255, 255, 255, 0.45), 0 12px 32px rgba(0, 0, 0, 0.6); }
.ht-final-btn--secondary { background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.85); border: 1px solid rgba(255, 255, 255, 0.14); }
.ht-final-btn--secondary:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.28); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35); }

/* ============================================================
   AMBIENT PARTICLES
   ============================================================ */
.ht-ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ht-ambient-particle { position: absolute; border-radius: 50%; opacity: 0; animation: htFloat linear infinite; }
@keyframes htFloat {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    15% { opacity: 0.5; }
    85% { opacity: 0.5; }
    100% { transform: translate(calc(var(--drift, 30px)), -140px) scale(0.4); opacity: 0; }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1200px) {
    .ht-hero { padding: 130px 40px 60px; grid-template-columns: 1fr 340px; gap: 40px; }
    .ht-fork { padding: 40px 40px 80px; }
    .ht-checklist { padding: 80px 40px 60px; }
    .ht-final { padding: 30px 40px 100px; }
    .ht-title { font-size: 56px; }
    .ht-fork-title, .ht-checklist-title { font-size: 38px; }
    .ht-final-title { font-size: 34px; }
    .ht-side-nav { right: 16px; }
}
@media (max-width: 1024px) {
    .ht-hero { grid-template-columns: 1fr; align-items: flex-start; padding: 120px 24px 40px; gap: 40px; }
    .ht-hero-right { justify-content: flex-start; min-height: 380px; }
    .ht-hero-skin-frame { max-width: 320px; }
    .ht-title { font-size: 48px; }
    .ht-fork { padding: 30px 24px 70px; }
    .ht-fork-layout { grid-template-columns: 1fr; gap: 30px; }
    .ht-fork-or { flex-direction: row; justify-content: center; padding: 0; }
    .ht-fork-or-line { width: auto; height: 1px; flex: 1; background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.1) 70%, transparent 100%); }
    .ht-fork-or-diamond { width: 48px; height: 48px; }
    .ht-checklist { padding: 70px 24px 50px; }
    .ht-checklist-title { font-size: 34px; }
    .ht-step { grid-template-columns: 90px 1fr; gap: 20px; padding: 24px 24px; }
    .ht-step-num { font-size: 56px; }
    .ht-final { padding: 20px 24px 90px; }
    .ht-final-card { padding: 40px 32px; }
    .ht-side-nav { display: none; }
}
@media (max-width: 768px) {
    .ht-hero { padding: 100px 16px 30px; }
    .ht-eyebrow { font-size: 9.5px; padding: 5px 12px 5px 8px; }
    .ht-title { font-size: 38px; letter-spacing: -0.035em; }
    .ht-desc { font-size: 14.5px; }
    .ht-hero-right { min-height: 340px; justify-content: center; }
    .ht-hero-skin-frame { max-width: 280px; }
    .ht-fork { padding: 20px 16px 60px; }
    .ht-fork-header { margin-bottom: 40px; }
    .ht-fork-label, .ht-checklist-label { font-size: 10px; }
    .ht-fork-title, .ht-checklist-title { font-size: 30px; }
    .ht-fork-card { padding: 24px 22px 22px; }
    .ht-fork-card-title { font-size: 22px; }
    .ht-fork-price-num { font-size: 32px; }
    .ht-fork-price-num small { font-size: 18px; }
    .ht-checklist { padding: 60px 16px 40px; }
    .ht-checklist-head { flex-direction: column; align-items: stretch; gap: 20px; }
    .ht-progress { min-width: 0; }
    .ht-step { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; }
    .ht-step-num-wrap { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
    .ht-step-num { font-size: 48px; }
    .ht-step-text { font-size: 15px; }
    .ht-code { padding: 12px 14px; }
    .ht-code-value { font-size: 12px; padding: 4px 10px; }
    .ht-code-tag { font-size: 11.5px; }
    .ht-session { padding: 18px 20px; gap: 14px; }
    .ht-session-icon { width: 40px; height: 40px; }
    .ht-session-icon svg { width: 18px; height: 18px; }
    .ht-session-text { font-size: 13px; }
    .ht-final { padding: 10px 16px 70px; }
    .ht-final-card { padding: 32px 24px; }
    .ht-final-title { font-size: 26px; }
    .ht-final-desc { font-size: 14px; }
    .ht-final-btn { padding: 14px 24px; font-size: 14px; }
}
@media (max-width: 480px) {
    .ht-title { font-size: 32px; }
    .ht-fork-title, .ht-checklist-title { font-size: 26px; }
    .ht-fork-card-title { font-size: 20px; }
    .ht-step-num { font-size: 42px; }
    .ht-step { padding: 20px 18px; }
    .ht-final-title { font-size: 22px; }
    .ht-final-actions { flex-direction: column; }
    .ht-final-btn { width: 100%; justify-content: center; }
    .ht-hero-skin-frame { max-width: 240px; }
    .ht-hero-skin-meta { padding: 6px 12px; bottom: 12px; }
    .ht-hero-skin-meta-label { font-size: 12px; }
    .ht-hero-skin-meta-sub { font-size: 8px; letter-spacing: 0.1em; }
}