/* Fox Home — страница продажи доступа ученикам (/learn) */

.learn-page {
    --fh-ink: #1B1530;
    --fh-ink-2: #3A3452;
    --fh-muted: #6B6680;
    --fh-orange: #FF6B2C;
    --fh-orange-2: #FF9A3C;
    --fh-sun: #FFC93C;
    --fh-mint: #1FBF9F;
    --fh-violet: #7B61FF;
    --fh-cream: #FFF7EE;
    --fh-cream-2: #FFEEDC;
    --fh-line: rgba(27, 21, 48, .09);
    --fh-radius: 24px;
    --fh-radius-lg: 32px;
    --fh-shadow: 0 1px 2px rgba(27, 21, 48, .06), 0 12px 32px -12px rgba(27, 21, 48, .18);
    --fh-shadow-lg: 0 2px 6px rgba(27, 21, 48, .06), 0 40px 80px -24px rgba(27, 21, 48, .28);
    --fh-grad: linear-gradient(135deg, #FF6B2C 0%, #FF9A3C 100%);
    --fh-section: 112px;
    --fh-fade: 96px;
    --fh-header: 76px;

    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--fh-ink);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.learn-page h1,
.learn-page h2,
.learn-page h3 {
    font-family: inherit;
    color: var(--fh-ink);
    letter-spacing: -0.02em;
    margin: 0;
}

.learn-page p { color: var(--fh-muted); }
.learn-page main ul,
.learn-page main ol { margin: 0; padding: 0; list-style: none; }
.learn-page img { max-width: 100%; display: block; }

.fh-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.fh-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--fh-ink);
    color: #fff;
}
.fh-skip:focus { top: 12px; color: #fff; }

html:has(.learn-page) { scroll-padding-top: calc(var(--fh-header, 76px) + 16px); }

/* ---------- Кнопки ---------- */
.learn-page .fh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    font: 700 16px/1.2 'Manrope', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space: nowrap;
}
.learn-page .fh-btn:focus-visible { outline: 3px solid rgba(255, 107, 44, .45); outline-offset: 3px; }
.learn-page .fh-btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.learn-page .fh-btn-primary {
    color: #fff;
    background: var(--fh-grad);
    box-shadow: 0 10px 24px -8px rgba(255, 107, 44, .65), inset 0 -3px 0 rgba(0, 0, 0, .12);
}
.learn-page .fh-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(255, 107, 44, .75), inset 0 -3px 0 rgba(0, 0, 0, .12); }

.learn-page .fh-btn-ghost {
    color: var(--fh-ink);
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--fh-line);
}
.learn-page .fh-btn-ghost:hover { color: var(--fh-ink); box-shadow: inset 0 0 0 2px var(--fh-ink); }

.learn-page .fh-btn-light { color: var(--fh-orange); background: #fff; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .35); }
.learn-page .fh-btn-light:hover { color: var(--fh-orange); transform: translateY(-2px); }
.learn-page .fh-btn-outline-light { color: #fff; background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.learn-page .fh-btn-outline-light:hover { color: #fff; box-shadow: inset 0 0 0 2px #fff; }

.learn-page .fh-btn-sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.learn-page .fh-btn-lg { min-height: 58px; padding: 14px 30px; font-size: 17px; }
.learn-page .fh-btn-block { width: 100%; }
.learn-page .fh-btn-lg small {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    font-size: 13px;
    font-weight: 700;
}

/* ---------- Бейдж-надзаголовок ---------- */
.learn-page .fh-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--fh-cream-2);
    color: #C2410C;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.2;
}
.learn-page .fh-kicker-light { background: rgba(255, 255, 255, .18); color: #fff; }
.learn-page .fh-kicker-pill { background: #fff; color: var(--fh-ink); box-shadow: var(--fh-shadow); text-transform: none; letter-spacing: 0; font-size: 14px; }
.fh-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fh-mint);
    box-shadow: 0 0 0 0 rgba(31, 191, 159, .6);
    animation: fh-pulse 2s infinite;
}
@keyframes fh-pulse { 70% { box-shadow: 0 0 0 10px rgba(31, 191, 159, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 191, 159, 0); } }

/* ---------- Шапка ---------- */
.fh-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1030;
    height: var(--fh-header);
    display: flex;
    align-items: center;
    transition: background .25s ease, box-shadow .25s ease;
}
.fh-header.is-scrolled {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--fh-line);
}
.fh-header-inner { display: flex; align-items: center; gap: 32px; }
.learn-page .fh-brand { display: inline-flex; align-items: center; flex: none; gap: 10px; color: var(--fh-ink); text-decoration: none; }
.fh-brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--fh-grad);
    font-size: 22px;
    box-shadow: 0 6px 14px -6px rgba(255, 107, 44, .7);
}
.fh-brand-logo { height: 48px; width: auto; max-width: 72px; object-fit: contain; }
.fh-brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.fh-brand-tag { padding-left: 10px; border-left: 1px solid var(--fh-line); color: var(--fh-muted); font-size: 14px; font-weight: 600; }
.fh-nav { display: flex; gap: 28px; margin-left: auto; }
.learn-page .fh-nav a { color: var(--fh-ink-2); font-weight: 700; font-size: 15px; text-decoration: none; }
.learn-page .fh-nav a:hover { color: var(--fh-orange); }
.fh-header-actions { position: relative; display: flex; align-items: center; gap: 12px; }
.fh-header.is-cart-open {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--fh-line);
}
.fh-cart { position: static; }
.fh-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px 8px 12px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--fh-line);
    color: var(--fh-ink);
    font: 700 15px/1 'Manrope', sans-serif;
    cursor: pointer;
}
.fh-cart-btn:hover { box-shadow: inset 0 0 0 2px var(--fh-ink); }
.fh-cart-btn.is-filled { color: var(--fh-orange); box-shadow: inset 0 0 0 2px rgba(255, 107, 44, .55); }
.fh-cart-btn.is-bump { animation: fh-cart-bump .45s ease; }
.fh-cart-btn:focus-visible { outline: 3px solid rgba(255, 107, 44, .45); outline-offset: 3px; }
.fh-cart-count {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--fh-grad);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}
.fh-cart-count[hidden] { display: none; }
.fh-cart-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 2;
    width: 340px;
    padding: 18px 18px 16px;
    border: 1px solid var(--fh-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--fh-shadow-lg);
}
.fh-cart-panel[hidden] { display: none; }
.learn-page .fh-cart-lead { margin: 0 0 12px; color: var(--fh-ink-2); font-size: 14px; font-weight: 600; line-height: 1.45; }
.fh-cart-list { display: grid; gap: 8px; margin: 0 0 14px; max-height: 220px; overflow: auto; }
.fh-cart-list:empty { display: none; margin: 0; }
.fh-cart-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 10px 10px 14px;
    border-radius: 14px;
    background: var(--fh-cream);
    color: var(--fh-ink);
    font-size: 14px;
    font-weight: 700;
}
.fh-cart-list button {
    display: grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--fh-muted);
    cursor: pointer;
}
.fh-cart-list button:hover { color: var(--fh-orange); }
.learn-page .fh-cart-sum { display: flex; flex-direction: column; gap: 2px; margin: 0 0 14px; }
.fh-cart-sum b { color: var(--fh-ink); font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.fh-cart-sum span { color: var(--fh-muted); font-size: 13px; font-weight: 600; }
.fh-cart-actions { display: grid; gap: 8px; }
.fh-cart-actions .fh-btn { width: 100%; }
.fh-cart-actions a[hidden] { display: none; }
@keyframes fh-cart-bump {
    0% { transform: scale(1); }
    35% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.learn-page .fh-back-site { gap: 8px; }
.learn-page .fh-link-login { color: var(--fh-ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.learn-page .fh-link-login:hover { color: var(--fh-orange); }

/* ---------- Первый экран ---------- */
.fh-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--fh-header) + 36px) 0 112px;
    background: linear-gradient(180deg, var(--fh-cream) 0%, var(--fh-cream) calc(100% - 220px), #fff 100%);
}
.fh-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
}
.fh-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; }
.fh-blob-a { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(circle, #FFC2A1 0%, rgba(255, 194, 161, 0) 70%); }
.fh-blob-b { width: 460px; height: 460px; left: -160px; bottom: -200px; background: radial-gradient(circle, #FFE08A 0%, rgba(255, 224, 138, 0) 70%); }
.fh-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(27, 21, 48, .08) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 75%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 75%);
}
.fh-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 64px;
    align-items: center;
}
.learn-page .fh-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
}
.fh-accent { position: relative; display: block; width: fit-content; color: var(--fh-orange); white-space: nowrap; }
.fh-accent svg { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 12px; }
.fh-accent path { fill: none; stroke: var(--fh-sun); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: fh-draw 1.2s .4s ease forwards; }
@keyframes fh-draw { to { stroke-dashoffset: 0; } }
.learn-page .fh-lead { max-width: 520px; margin: 0 0 28px; font-size: 17.5px; line-height: 1.55; color: var(--fh-ink-2); }
.fh-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.learn-page .fh-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.fh-points li { display: inline-flex; align-items: center; gap: 8px; color: var(--fh-ink-2); font-size: 15px; font-weight: 600; }
.fh-points i { color: var(--fh-mint); }

.fh-hero-visual { position: relative; isolation: isolate; }
.fh-hero-img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--fh-radius-lg); box-shadow: var(--fh-shadow-lg); background: #1B1530; }
.fh-hero-stage {
    position: relative;
    max-width: 540px;
    margin-left: auto;
    padding: 14px 6px 18px 0;
}
.fh-hero-stage::before {
    content: '';
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 4px;
    width: 78%;
    height: 78%;
    border-radius: 36px;
    background: linear-gradient(160deg, #FFE7C8 0%, #FFC9A2 100%);
    transform: rotate(7deg);
}
.fh-hero-frame {
    position: relative;
    z-index: 1;
    padding: 8px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 24px 50px -28px rgba(70, 32, 8, .55);
}
.fh-hero-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 24px;
    background: #1B1530;
}
.fh-hero-sound {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(18, 14, 28, .62);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.fh-hero-sound:hover { background: rgba(18, 14, 28, .82); }
.fh-hero-sound.is-on { background: #fff; color: var(--fh-ink); }
.fh-hero-live {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px 0 10px;
    border-radius: 999px;
    background: rgba(18, 14, 28, .62);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.01em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.fh-hero-live em { font-style: normal; }
.fh-hero-live [data-on] { display: none; }
.fh-hero-stage.is-playing .fh-hero-live [data-on] { display: inline; }
.fh-hero-stage.is-playing .fh-hero-live [data-off] { display: none; }
.fh-hero-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.fh-hero-eq i {
    display: block;
    width: 2px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
}
.fh-hero-stage.is-playing .fh-hero-eq i { animation: fh-eq .9s ease-in-out infinite; }
.fh-hero-stage.is-playing .fh-hero-eq i:nth-child(2) { animation-delay: .15s; }
.fh-hero-stage.is-playing .fh-hero-eq i:nth-child(3) { animation-delay: .3s; }
@keyframes fh-eq {
    0%, 100% { height: 4px; }
    50% { height: 12px; }
}

/* Мини-игра */
.fh-game-stage { position: relative; max-width: 460px; margin-left: auto; }
.fh-game-stage::before,
.fh-game-stage::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: var(--fh-radius-lg);
}
.fh-game-stage::before { inset: 22px -18px -18px 22px; background: var(--fh-sun); transform: rotate(-3deg); }
.fh-game-stage::after { inset: -16px 34px 34px -16px; background: #CFF3EA; transform: rotate(4deg); }
.fh-game {
    position: relative;
    margin-left: auto;
    padding: 26px;
    border-radius: var(--fh-radius-lg);
    background: #fff;
    box-shadow: var(--fh-shadow-lg);
    transform: rotate(1.5deg);
    transition: transform .4s ease;
}
.fh-game:hover { transform: rotate(0deg) translateY(-4px); }
.fh-game-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.fh-game-level { color: var(--fh-muted); font-size: 14px; font-weight: 700; }
.fh-coins {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #FFF4CC;
    color: #9A6700;
    font-weight: 800;
    font-size: 15px;
}
.fh-coins.is-bump { animation: fh-bump .5s ease; }
@keyframes fh-bump { 40% { transform: scale(1.25); } }
.fh-game-picture {
    position: relative;
    display: grid;
    place-items: center;
    height: 150px;
    margin-bottom: 16px;
    border-radius: 22px;
    background: linear-gradient(160deg, #FFF0E3, #FFE2C9);
}
.fh-game-emoji { font-size: 84px; line-height: 1; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.fh-game-emoji[hidden], .fh-game-photo[hidden] { display: none; }
.fh-game-photo { max-width: 72%; max-height: 120px; object-fit: contain; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.fh-game-emoji.is-pop, .fh-game-photo.is-pop { transform: scale(1.12) rotate(-4deg); }
.learn-page .fh-game-say {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--fh-orange);
    box-shadow: var(--fh-shadow);
    cursor: pointer;
}
.learn-page .fh-game-say:hover { transform: scale(1.06); }
.learn-page .fh-game-task { margin: 0 0 14px; color: var(--fh-ink-2); font-weight: 700; font-size: 15px; text-align: center; }
.fh-game-slots, .fh-game-letters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.fh-game-slots { margin-bottom: 14px; min-height: 58px; }
.fh-slot {
    display: grid;
    place-items: center;
    width: 54px;
    height: 58px;
    border-radius: 14px;
    border: 2px dashed rgba(27, 21, 48, .18);
    font-size: 28px;
    font-weight: 800;
    text-transform: lowercase;
    color: var(--fh-ink);
}
.fh-slot.is-filled { border: 2px solid var(--fh-mint); background: #E8FBF6; animation: fh-bump .35s ease; }
.fh-game-slots.is-done .fh-slot { border-color: var(--fh-mint); background: var(--fh-mint); color: #fff; }
.fh-game-slots.is-wrong { animation: fh-shake .4s ease; }
@keyframes fh-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.learn-page .fh-letter {
    width: 54px;
    height: 58px;
    border: 0;
    border-radius: 14px;
    background: var(--c, var(--fh-orange));
    box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .18);
    color: #fff;
    font: 800 28px/1 'Manrope', sans-serif;
    text-transform: lowercase;
    cursor: pointer;
    transition: transform .12s ease, opacity .2s ease;
}
.learn-page .fh-letter:hover { transform: translateY(-3px); }
.learn-page .fh-letter:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.learn-page .fh-letter.is-used { opacity: 0; pointer-events: none; transform: scale(.6); }
.fh-game-pet {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--fh-cream);
}
.fh-pet { font-size: 34px; line-height: 1; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.fh-pet img { display: block; width: 42px; height: 42px; object-fit: contain; }
.fh-pet.is-happy { transform: scale(1.25) rotate(8deg); }
.fh-game-pet > div { flex: 1; }
.fh-game-pet strong { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 800; }
.fh-meter { height: 8px; border-radius: 99px; background: rgba(27, 21, 48, .08); overflow: hidden; }
.fh-meter span { display: block; height: 100%; width: 8%; border-radius: inherit; background: var(--fh-grad); transition: width .6s ease; }
.fh-confetti {
    position: absolute;
    width: 9px;
    height: 13px;
    border-radius: 2px;
    pointer-events: none;
    animation: fh-confetti 1s ease-out forwards;
}
@keyframes fh-confetti {
    to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; }
}

/* ---------- Цифры ---------- */
.fh-proof { position: relative; z-index: 2; margin-top: -64px; }
.fh-proof-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: var(--fh-radius);
    background: #fff;
    box-shadow: var(--fh-shadow-lg);
}
.fh-proof-item { padding: 28px 30px; }
.fh-proof-item + .fh-proof-item { border-left: 1px solid var(--fh-line); }
.fh-proof-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: var(--fh-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.fh-proof-item span { color: var(--fh-muted); font-weight: 600; font-size: 15px; }

/* ---------- Секции ---------- */
.fh-section { padding: var(--fh-section) 0; }
.fh-section-tint { position: relative; background: transparent; }
#how::before,
#faq::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}
#how::before {
    top: calc(var(--fh-fade) * -1);
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(255, 247, 238, 0) 0,
        #fff6ee var(--fh-fade),
        #fff3e6 38%,
        #fff1e4 100%);
}
#how > .fh-wrap,
#faq > .fh-wrap { position: relative; z-index: 1; }
#how { padding-bottom: calc(var(--fh-section) + 104px); }
#faq::before {
    top: calc(var(--fh-fade) * -1);
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 247, 238, 0) 0, var(--fh-cream) var(--fh-fade), var(--fh-cream) 100%);
}
.fh-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.learn-page .fh-head h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.learn-page .fh-head p { margin: 18px 0 0; font-size: 18px; line-height: 1.6; }

/* Боли — пункты один под другим */
.fh-pains { display: flex; flex-direction: column; gap: 16px; }
.fh-pain {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 22px;
    row-gap: 6px;
    align-items: center;
    padding: 26px 28px;
    border-radius: var(--fh-radius);
    background: #fff;
    border: 1px solid var(--fh-line);
    transition: transform .25s ease, box-shadow .25s ease;
}
.fh-pain:hover { transform: translateY(-4px); box-shadow: var(--fh-shadow); }
.fh-pain-icon {
    display: grid;
    place-items: center;
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 18px;
    background: var(--fh-cream-2);
    color: var(--fh-orange);
    font-size: 24px;
}
.learn-page .fh-pain h3 { grid-column: 2; align-self: end; margin: 0; font-size: 21px; font-weight: 800; }
.learn-page .fh-pain p { grid-column: 2; align-self: start; margin: 0; font-size: 16px; }

/* Как устроены уроки */
#method {
    position: relative;
    isolation: isolate;
    background: transparent;
}
#method::before,
#method::after {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
}
#method::before {
    left: 0;
    right: 0;
    top: calc(var(--fh-fade) * -1);
    bottom: calc(var(--fh-fade) * -1);
    background:
        radial-gradient(circle at 18% 46%, rgba(255, 168, 122, .62), transparent 28%),
        radial-gradient(circle at 78% 40%, rgba(255, 214, 160, .7), transparent 26%),
        radial-gradient(circle at 52% 78%, rgba(232, 176, 196, .5), transparent 24%);
    background-repeat: no-repeat;
    background-size: 140% 140%;
    animation: fh-method-flow 11s ease-in-out infinite;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--fh-fade), #000 calc(100% - var(--fh-fade)), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 var(--fh-fade), #000 calc(100% - var(--fh-fade)), transparent 100%);
}
#method::after {
    width: 34%;
    height: 58%;
    left: 4%;
    top: 22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 150, .9) 0%, rgba(255, 220, 196, .28) 46%, transparent 72%);
    filter: blur(26px);
    animation: fh-method-glow 8s ease-in-out infinite alternate;
}
#method .fh-wrap { position: relative; z-index: 1; }
@keyframes fh-method-flow {
    0% { background-position: 0% 80%, 80% 0%, 20% 100%; }
    50% { background-position: 40% 0%, 0% 70%, 70% 20%; }
    100% { background-position: 0% 80%, 80% 0%, 20% 100%; }
}
@keyframes fh-method-glow {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(160%, 10%, 0) scale(1.25); }
}
#method .fh-head,
#pain .fh-head,
#courses .fh-head,
#how .fh-head,
#pricing .fh-head {
    max-width: none;
    margin-bottom: 36px;
    text-align: left;
}
#method .fh-kicker,
#pain .fh-kicker,
#courses .fh-kicker,
#how .fh-kicker,
#pricing .fh-kicker { margin-bottom: 14px; }
#method .fh-head h2,
#pain .fh-head h2,
#courses .fh-head h2,
#how .fh-head h2,
#pricing .fh-head h2 {
    max-width: none;
    font-size: clamp(28px, 2.8vw, 40px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}
#method .fh-head p,
#pain .fh-head p,
#courses .fh-head p,
#how .fh-head p,
#pricing .fh-head p {
    margin: 16px 0 0;
    max-width: none;
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--fh-ink-2);
}
#pricing .fh-head p { color: rgba(255, 255, 255, .72); }
.fh-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fh-feature {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(27, 21, 48, .06);
    box-shadow: 0 10px 30px -22px rgba(27, 21, 48, .45);
    transition: transform .22s ease, box-shadow .22s ease;
}
.fh-feature:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -24px rgba(27, 21, 48, .4); }
.fh-feature.is-lead {
    background:
        radial-gradient(circle at 85% 100%, rgba(255, 140, 66, .38), transparent 46%),
        linear-gradient(165deg, #322844 0%, #1B1530 58%);
    color: #fff;
    border-color: transparent;
}
.fh-feature.is-lead.has-art { grid-row: span 2; }
.learn-page .fh-feature.is-lead h3 { color: #fff; font-size: 26px; letter-spacing: -0.03em; }
.learn-page .fh-feature.is-lead p { color: rgba(255, 255, 255, .74); font-size: 16px; }
.fh-feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #FFF1E8;
    color: var(--fh-orange);
    font-size: 20px;
}
.fh-feature.is-lead .fh-feature-icon { background: rgba(255, 255, 255, .12); color: #fff; }
.learn-page .fh-feature h3 { margin-bottom: 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.learn-page .fh-feature p { margin: 0; font-size: 15px; line-height: 1.5; }
.fh-feature-art { margin-top: auto; padding-top: 28px; }
.fh-feature-art img {
    display: block;
    width: min(100%, 280px);
    height: auto;
    max-height: 260px;
    margin: 0 auto;
    object-fit: contain;
}

/* Курсы */
.fh-courses { display: grid; gap: 24px; }
.fh-courses.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fh-courses.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fh-course {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    border: 2px solid var(--fh-line);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fh-course:hover { transform: translateY(-4px); box-shadow: var(--fh-shadow); }
.fh-course.is-picked { border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent), var(--fh-shadow); }
.fh-course-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 42%, #fff));
}
.fh-course-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fh-course-initial { color: rgba(255, 255, 255, .92); font-size: 72px; font-weight: 800; }
.fh-course-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--fh-ink);
    font-size: 13px;
    font-weight: 800;
}
.fh-course-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.fh-course-age { align-self: flex-start; margin-bottom: 10px; color: var(--c); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.learn-page .fh-course h3 { margin-bottom: 8px; font-size: 21px; font-weight: 800; }
.learn-page .fh-course p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 16px;
    font-size: 15px;
}
.learn-page .fh-course-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.fh-course-stats li {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 12px;
    background: var(--fh-cream);
    color: var(--fh-ink-2);
    font-size: 13px;
    font-weight: 600;
}
.fh-course-stats b { color: var(--fh-ink); font-size: 15px; }
.fh-course-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.fh-course-price { color: var(--fh-muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.fh-course-price b { color: var(--fh-ink); font-size: 18px; }

.fh-courses.is-1 .fh-course {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .9fr);
    min-height: 460px;
    border-radius: 36px;
}
.fh-courses.is-1 .fh-course-cover { aspect-ratio: auto; min-height: 100%; }
.fh-courses.is-1 .fh-course-initial { font-size: 120px; }
.fh-courses.is-1 .fh-course-body { justify-content: center; padding: 44px 48px; }
.fh-courses.is-1 .fh-course-age { margin-bottom: 14px; font-size: 14px; }
.learn-page .fh-courses.is-1 .fh-course h3 { margin-bottom: 12px; font-size: clamp(32px, 3vw, 46px); letter-spacing: -0.03em; line-height: 1.08; }
.learn-page .fh-courses.is-1 .fh-course p { -webkit-line-clamp: 6; margin-bottom: 28px; font-size: 17.5px; line-height: 1.55; }
.learn-page .fh-courses.is-1 .fh-course-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.fh-courses.is-1 .fh-course-stats li { flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 18px; border-radius: 18px; }
.fh-courses.is-1 .fh-course-stats b { font-size: 30px; letter-spacing: -0.03em; line-height: 1; }
.fh-courses.is-1 .fh-course-price b { font-size: 28px; }

.fh-courses.is-carousel { display: block; }
.fh-course-viewport { overflow: hidden; padding: 12px; margin: -12px; }
.fh-course-track { display: flex; align-items: stretch; gap: 24px; transition: transform .45s cubic-bezier(.22, .7, .25, 1); }
.fh-courses.is-carousel .fh-course { flex: 0 0 100%; height: auto; }
.learn-page .fh-btn-pick { min-height: 42px; padding: 8px 18px; font-size: 15px; color: var(--fh-ink); background: var(--fh-cream); }
.learn-page .fh-btn-pick:hover { background: var(--fh-cream-2); }
.learn-page .fh-btn-pick .when-on { display: none; }
.learn-page .fh-btn-pick[aria-pressed="true"] { background: var(--c, var(--fh-mint)); color: #fff; }
.learn-page .fh-btn-pick[aria-pressed="true"] .when-on { display: inline; }
.learn-page .fh-btn-pick[aria-pressed="true"] .when-off { display: none; }
.fh-empty { padding: 48px; text-align: center; border-radius: var(--fh-radius); background: var(--fh-cream); }
.fh-empty > span { font-size: 56px; }
.learn-page .fh-empty p { margin: 12px auto 24px; max-width: 460px; }

/* Шаги */
.fh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; position: relative; }
.fh-steps::before {
    content: '';
    position: absolute;
    left: 12.5%;
    right: 12.5%;
    top: 28px;
    border-top: 2px dashed rgba(255, 107, 44, .35);
}
.fh-steps::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: 27px;
    left: 12.5%;
    width: 144px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 186, 120, .45) 45%, #fff 100%);
    box-shadow: 0 0 6px 1px rgba(255, 160, 70, .9);
    opacity: 0;
    pointer-events: none;
    animation: fh-step-light 2.6s linear infinite;
}
.fh-steps li { position: relative; text-align: center; padding: 0 8px; }
.fh-step-num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff;
    color: var(--fh-orange);
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 0 0 6px var(--fh-cream), var(--fh-shadow);
}
@keyframes fh-step-light {
    0% { left: 12.5%; opacity: 0; }
    4% { left: 12.5%; opacity: 1; }
    96% { left: calc(87.5% - 144px); opacity: 1; }
    100% { left: calc(87.5% - 144px); opacity: 0; }
}
.learn-page .fh-steps h3 { margin-bottom: 8px; font-size: 19px; font-weight: 800; }
.learn-page .fh-steps p { margin: 0; font-size: 15px; }

/* ---------- Тарифы ---------- */
.fh-pricing {
    --fh-wave: 90px;
    --fh-wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V52C180 18 360 4 560 14S940 66 1140 58 1360 26 1440 18V90Z'/%3E%3C/svg%3E");
    --fh-wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 0V38C200 72 420 84 640 70S1020 22 1220 30 1400 62 1440 70V0Z'/%3E%3C/svg%3E");
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: calc(var(--fh-wave) * -1);
    padding: calc(var(--fh-wave) + 96px) 0 calc(var(--fh-wave) + 96px);
    background:
        radial-gradient(ellipse 70% 220px at 30% var(--fh-wave), rgba(255, 140, 70, .22), transparent 70%),
        var(--fh-ink);
    -webkit-mask:
        var(--fh-wave-top) top / 100% var(--fh-wave) no-repeat,
        linear-gradient(#000, #000) center / 100% calc(100% - var(--fh-wave) * 2 + 2px) no-repeat,
        var(--fh-wave-bottom) bottom / 100% var(--fh-wave) no-repeat;
    mask:
        var(--fh-wave-top) top / 100% var(--fh-wave) no-repeat,
        linear-gradient(#000, #000) center / 100% calc(100% - var(--fh-wave) * 2 + 2px) no-repeat,
        var(--fh-wave-bottom) bottom / 100% var(--fh-wave) no-repeat;
}
.fh-pricing::before {
    content: '';
    position: absolute;
    width: 720px;
    height: 720px;
    right: -200px;
    top: -200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 44, .38), transparent 65%);
}
.fh-pricing .fh-wrap { position: relative; }
.learn-page .fh-head-light h2 { color: #fff; }
.learn-page .fh-head-light p { color: rgba(255, 255, 255, .7); }
.learn-page .fh-head-light .fh-kicker { background: rgba(255, 107, 44, .18); color: #FFB48A; }

.fh-calc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    border-radius: var(--fh-radius-lg);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
}
.fh-calc-main { padding: 40px; }
.fh-calc-row + .fh-calc-row { margin-top: 32px; }
.fh-calc-label { display: block; margin-bottom: 14px; color: var(--fh-muted); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fh-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 18px; background: var(--fh-cream); }
.learn-page .fh-seg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: var(--fh-ink-2);
    font: 700 15px/1.2 'Manrope', sans-serif;
    cursor: pointer;
}
.learn-page .fh-seg-btn.is-on { background: #fff; color: var(--fh-ink); box-shadow: var(--fh-shadow); }
.fh-seg-btn em { padding: 3px 8px; border-radius: 8px; background: var(--fh-cream-2); color: #C2410C; font-style: normal; font-size: 12px; font-weight: 800; }
.fh-seg-btn em.is-hot { background: var(--fh-mint); color: #fff; }
.fh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.learn-page .fh-chip {
    padding: 9px 14px;
    border: 2px solid var(--fh-line);
    border-radius: 12px;
    background: #fff;
    color: var(--fh-ink-2);
    font: 700 14px/1.2 'Manrope', sans-serif;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.learn-page .fh-chip:hover { border-color: rgba(255, 107, 44, .5); }
.learn-page .fh-chip[aria-pressed="true"] { border-color: var(--fh-orange); background: #FFF1E8; color: var(--fh-ink); }
.learn-page .fh-chip[aria-pressed="true"]::before { content: '✓ '; color: var(--fh-orange); }
.fh-calc.is-all .fh-chips { opacity: .4; pointer-events: none; }
.learn-page .fh-calc-all-note { margin: 14px 0 0; font-size: 14px; color: var(--fh-ink-2); }
.fh-durations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.learn-page .fh-dur {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px;
    border: 2px solid var(--fh-line);
    border-radius: 16px;
    background: #fff;
    text-align: left;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.learn-page .fh-dur:hover { border-color: rgba(255, 107, 44, .5); }
.learn-page .fh-dur.is-on { border-color: var(--fh-orange); box-shadow: 0 0 0 4px rgba(255, 107, 44, .14); }
.fh-dur strong { color: var(--fh-ink); font-size: 16px; font-weight: 800; }
.fh-dur span { color: var(--fh-muted); font-size: 13px; font-weight: 600; }
.fh-dur-save {
    position: absolute;
    top: -11px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 8px;
    background: var(--fh-mint);
    color: #fff;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}
.learn-page .fh-includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--fh-line); }
.fh-includes li { display: flex; align-items: flex-start; gap: 10px; color: var(--fh-ink-2); font-size: 15px; font-weight: 600; }
.fh-includes i { margin-top: 4px; color: var(--fh-mint); }
.fh-bill { margin-top: 28px; }
.fh-receipt {
    padding: 14px 14px 12px;
    border-radius: 24px;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(255, 154, 60, .18), transparent 55%),
        linear-gradient(180deg, #FFF9F4 0%, #FFF1E6 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 107, 44, .16);
}
.fh-receipt-body {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px -18px rgba(80, 40, 0, .55);
}
.fh-receipt .fh-calc-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 4px 12px;
}
.fh-receipt .fh-calc-label i { color: var(--fh-orange); font-size: 14px; letter-spacing: 0; text-transform: none; }
.learn-page .fh-bill-note { margin: 4px 0 16px; color: var(--fh-muted); font-size: 13px; font-weight: 600; line-height: 1.45; }

.fh-calc-total {
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
    background: linear-gradient(180deg, #FFF4EA 0%, #FFE6D2 100%);
}
.learn-page .fh-total { margin: 0; color: var(--fh-ink); font-size: 20px; font-weight: 800; }
.learn-page .fh-total s { display: block; margin-bottom: 4px; color: var(--fh-muted); font-size: 16px; font-weight: 700; text-decoration: line-through; }
.fh-total s[hidden] { display: none; }
.fh-total b { font-size: 60px; letter-spacing: -0.04em; line-height: 1; transition: color .2s ease; }
.fh-total b.is-tick { color: var(--fh-orange); }
.learn-page .fh-total-sub { margin: 8px 0 18px; min-height: 22px; color: var(--fh-ink-2); font-size: 15px; font-weight: 600; }
.fh-paypick { margin: 0 0 16px; }
.fh-paypick .fh-calc-label { display: block; margin-bottom: 8px; }
.fh-paypick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.learn-page .fh-paypick-opt {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 12px 12px 12px 14px;
    border: 2px solid rgba(255, 107, 44, .22);
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    text-align: left;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.fh-paypick-opt i { color: var(--fh-orange); font-size: 16px; }
.fh-paypick-opt b { color: var(--fh-ink); font-size: 14px; line-height: 1.25; }
.fh-paypick-opt small { color: var(--fh-muted); font-size: 12px; font-weight: 700; }
.learn-page .fh-paypick-opt.is-on { border-color: var(--fh-orange); background: #fff; box-shadow: 0 0 0 4px rgba(255, 107, 44, .14); }
.learn-page .fh-paypick-opt:focus-visible { outline: 3px solid rgba(255, 107, 44, .4); }
.learn-page .fh-paypick-hint { margin: 10px 0 0; color: var(--fh-ink-2); font-size: 13px; font-weight: 600; line-height: 1.4; }
.learn-page .fh-total-note { margin: 16px 0 0; font-size: 13.5px; color: var(--fh-ink-2); }
.fh-total-note[hidden] { display: none; }
.fh-paylogos { display: flex; flex-wrap: nowrap; gap: 4px; margin-top: 14px; }
.fh-paylogos span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 2px 6px 2px 2px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .88);
    color: var(--fh-ink-2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: -.02em;
    white-space: nowrap;
}
.fh-paylogos svg { display: block; width: 20px; height: 13px; flex: none; border-radius: 3px; }
.fh-total-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 0;
    color: rgba(194, 65, 12, .7);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.fh-total-or::before,
.fh-total-or::after { content: ''; flex: 1; height: 1px; background: rgba(194, 65, 12, .22); }
.learn-page .fh-total-or span { margin: 0; }
.learn-page .fh-total-trial {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px 12px 10px 10px;
    border-radius: 16px;
    background: #fff;
    color: var(--fh-ink);
    text-decoration: none;
    box-shadow: 0 10px 24px -16px rgba(80, 30, 0, .7);
    transition: transform .15s ease, box-shadow .15s ease;
}
.learn-page .fh-total-trial:hover { color: var(--fh-ink); transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(34, 158, 217, .55); }
.fh-total-trial > i:first-child {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #E7F6FE;
    color: #229ED9;
    font-size: 22px;
}
.fh-total-trial span { display: grid; flex: 1; min-width: 0; gap: 1px; }
.fh-total-trial b { font-size: 15px; font-weight: 800; line-height: 1.25; }
.fh-total-trial small { color: var(--fh-muted); font-size: 12px; font-weight: 700; }
.fh-total-trial > i:last-child { flex: none; color: #C2410C; font-size: 13px; }
.fh-calc-down { padding: 40px; border-radius: var(--fh-radius); background: #fff; text-align: center; }
.learn-page .fh-calc-down p { margin: 0 0 20px; color: var(--fh-ink-2); }

/* Отзывы */
#reviews { background: #fff; }
.fh-carousel { position: relative; }
.fh-carousel-viewport { overflow: hidden; padding: 12px; margin: -12px; }
.fh-carousel-track { display: flex; align-items: flex-start; gap: 20px; transition: transform .45s cubic-bezier(.22, .7, .25, 1); }
.fh-carousel.is-static .fh-carousel-viewport { overflow: visible; padding: 0; margin: 0; }
.fh-carousel.is-static .fh-carousel-track {
    display: grid;
    grid-template-columns: repeat(var(--fh-reviews, 3), minmax(0, 1fr));
    transform: none;
}
@media (max-width: 759px) {
    .fh-carousel.is-static .fh-carousel-track { grid-template-columns: minmax(0, 1fr); }
}
.fh-review {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
    padding: 22px 22px 18px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(27, 21, 48, .08);
    box-shadow: 0 1px 2px rgba(27, 21, 48, .04), 0 6px 14px -8px rgba(27, 21, 48, .14);
}
.fh-review-thumb {
    display: block;
    width: 88px;
    height: 88px;
    margin-bottom: 16px;
    border-radius: 18px;
    object-fit: cover;
}
.fh-review-media {
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    background: #1B1530;
    aspect-ratio: 16 / 9;
}
.fh-review-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #1B1530; }
.fh-review-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.fh-stars { margin-bottom: 12px; color: var(--fh-sun); font-size: 16px; letter-spacing: 2px; }
.fh-stars .is-off { color: #E7E2D8; }
.fh-review blockquote { flex: 1; margin: 0 0 18px; color: var(--fh-ink); font-size: 16.5px; line-height: 1.55; font-weight: 650; }
.fh-review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(27, 21, 48, .08); }
.fh-review.has-photo figcaption { border-top: 0; padding-top: 0; }
.fh-avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--fh-grad); color: #fff; font-weight: 800; }
.fh-review-person { display: flex; flex-direction: column; min-width: 0; }
.fh-review-person strong { display: block; font-size: 15px; line-height: 1.3; }
.fh-review-person small { display: block; margin-top: 2px; color: var(--fh-muted); font-size: 13px; line-height: 1.35; }
.fh-carousel-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.fh-carousel-bar.is-still { display: none; }
.fh-carousel-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.fh-carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #E4E0D8; cursor: pointer; }
.fh-carousel-dots button.is-on { width: 22px; background: var(--fh-orange); }
.fh-carousel-nav { display: flex; gap: 8px; }
.fh-carousel-nav button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(27, 21, 48, .1); background: #fff; color: var(--fh-ink); box-shadow: 0 10px 24px -14px rgba(27, 21, 48, .45); cursor: pointer; }
.fh-carousel-nav button:disabled { opacity: .35; cursor: default; }

/* FAQ */
.fh-faq-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 36px 64px; align-items: start; }
.fh-faq-grid > .fh-head { grid-column: 1 / -1; margin: 0; text-align: left; }
.fh-faq-grid > .fh-faq:nth-child(2) { grid-column: 1 / -1; }
.learn-page .fh-support {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #fff;
    color: var(--fh-ink);
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--fh-shadow);
}
.fh-support i { color: #229ED9; font-size: 30px; }
.learn-page .fh-support:hover { color: var(--fh-ink); transform: translateY(-2px); }
.fh-trial {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 26px 22px 22px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 90% 70% at 100% 0%, rgba(42, 171, 238, .22), transparent 55%),
        radial-gradient(ellipse 70% 60% at 0% 100%, rgba(255, 107, 44, .22), transparent 50%),
        linear-gradient(160deg, #1A1F3A 0%, #12162B 55%, #0E1224 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 22px 48px rgba(18, 22, 43, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
    color: #D7DCEB;
}
.fh-trial-glow {
    position: absolute;
    width: 160px;
    height: 160px;
    right: -40px;
    top: -50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 171, 238, .35), transparent 68%);
    filter: blur(4px);
    pointer-events: none;
    z-index: 0;
    animation: fh-trial-glow 4s ease-in-out infinite;
}
@keyframes fh-trial-glow {
    0%, 100% { opacity: .7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}
.fh-trial-top, .fh-trial h3, .fh-trial > p, .fh-trial-points, .fh-trial-form { position: relative; z-index: 1; }
.fh-trial-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.fh-trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 210, 63, .14);
    border: 1px solid rgba(255, 210, 63, .28);
    color: #FFE27A;
    font-size: 12px;
    font-weight: 800;
}
.fh-trial-tg {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, #37B5F0, #229ED9);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(34, 158, 217, .4);
}
.learn-page .fh-trial h3 { margin: 0 0 8px; color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.learn-page .fh-trial > p { margin: 0 0 16px; color: rgba(215, 220, 235, .82); font-size: 15px; line-height: 1.5; }
.learn-page main .fh-trial-points { display: grid; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.fh-trial-points li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 600; }
.fh-trial-points i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(30, 158, 106, .2); color: #3DDB9A; font-size: 10px; }
.fh-trial-phone { display: grid; gap: 8px; width: 100%; }
.fh-trial-phone span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
}
.fh-trial-phone span i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(55, 181, 240, .2);
    color: #8FD8FF;
    font-size: 12px;
}
.fh-phone-row { position: relative; z-index: 4; display: flex; align-items: stretch; gap: 8px; width: 100%; min-width: 0; }
.fh-code { flex: none; }
.learn-page .fh-code-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-width: 108px;
    height: 52px;
    padding: 0 14px;
    border: 1.5px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font: 800 16px/1 'Manrope', sans-serif;
    cursor: pointer;
}
.learn-page .fh-code-btn em { color: #fff; font-style: normal; font-weight: 800; letter-spacing: -.02em; }
.learn-page .fh-code-btn i { color: rgba(255, 255, 255, .72); font-size: 11px; }
.learn-page .fh-code-btn[aria-expanded="true"] { border-color: #37B5F0; box-shadow: 0 0 0 4px rgba(55, 181, 240, .18); }
.fh-code-list {
    position: absolute;
    z-index: 8;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: 220px;
    margin: 0;
    padding: 8px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: #171C36;
    box-shadow: 0 18px 40px rgba(8, 10, 24, .45);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .28) transparent;
}
.fh-code-list[hidden] { display: none; }
.learn-page .fh-code-search {
    flex: none;
    position: sticky;
    top: 0;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    margin: 0 0 2px;
    padding: 0 12px;
    border: 1.5px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: #222846;
    color: #fff;
    font: 700 15px/42px 'Manrope', sans-serif;
}
.learn-page .fh-code-list button {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font: 700 14px/1.2 'Manrope', sans-serif;
    text-align: left;
    cursor: pointer;
}
.learn-page .fh-trial-phone .fh-code-list button span {
    display: block;
    flex: 1;
    width: auto;
    min-width: 0;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.learn-page .fh-code-list button b { flex: none; color: #8FD8FF; font-weight: 800; line-height: 1; }
.learn-page .fh-code-list button:hover,
.learn-page .fh-code-list button.is-on { background: rgba(55, 181, 240, .2); }
.learn-page .fh-trial-form input[name="phone"] {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 52px;
    margin: 0;
    padding: 0 16px;
    border: 1.5px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font: 700 16px/52px 'Manrope', sans-serif;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
.learn-page .fh-trial-form input[name="phone"]:-webkit-autofill,
.learn-page .fh-trial-form input[name="phone"]:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    caret-color: #fff;
    border-radius: 14px;
    -webkit-box-shadow: 0 0 0 1000px #2a3148 inset;
    box-shadow: 0 0 0 1000px #2a3148 inset;
}
.learn-page .fh-trial-form input[name="phone"]::placeholder,
.learn-page .fh-code-search::placeholder { color: rgba(255, 255, 255, .45); font-weight: 600; }
.learn-page .fh-trial-form input[name="phone"]:focus,
.learn-page .fh-code-search:focus { outline: none; border-color: #37B5F0; box-shadow: 0 0 0 4px rgba(55, 181, 240, .18); }
.learn-page .fh-trial-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 0;
    padding: 10px 12px;
    border: 1.5px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    color: rgba(215, 220, 235, .9);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.learn-page .fh-trial-consent:hover {
    border-color: rgba(55, 181, 240, .45);
    background: rgba(55, 181, 240, .08);
}
.learn-page .fh-trial-consent:has(input:checked) {
    border-color: rgba(55, 181, 240, .7);
    background: rgba(55, 181, 240, .12);
    box-shadow: 0 0 0 4px rgba(55, 181, 240, .12);
}
.learn-page .fh-trial-consent input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}
.learn-page .fh-trial-consent .fh-tick {
    display: grid;
    place-items: center;
    flex: none;
    width: 22px;
    height: 22px;
    border: 1.5px solid rgba(255, 255, 255, .32);
    border-radius: 7px;
    background: rgba(255, 255, 255, .08);
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.learn-page .fh-trial-consent .fh-tick::before {
    content: '';
    width: 6px;
    height: 10px;
    margin-top: -2px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg) scale(.55);
    transition: opacity .15s ease, transform .15s ease;
}
.learn-page .fh-trial-consent input:checked + .fh-tick {
    border-color: #37B5F0;
    background: #37B5F0;
    box-shadow: 0 6px 14px rgba(55, 181, 240, .35);
}
.learn-page .fh-trial-consent input:checked + .fh-tick::before { opacity: 1; transform: rotate(45deg) scale(1); }
.learn-page .fh-trial-consent input:focus-visible + .fh-tick { outline: 3px solid rgba(55, 181, 240, .45); outline-offset: 2px; }
.learn-page .fh-trial-consent a { color: #8FD8FF; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.learn-page .fh-trial-consent a:hover { color: #fff; }
.learn-page .fh-trial-error { margin: 8px 0 0; color: #FFB4A8; font-size: 13px; font-weight: 700; }
.fh-trial-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
    padding: 14px 16px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #37B5F0 0%, #229ED9 55%, #1B8BC4 100%);
    color: #fff;
    font: 800 15px/1 'Manrope', sans-serif;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(34, 158, 217, .38);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.fh-trial-btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 18px 40px rgba(34, 158, 217, .48); }
.fh-trial-btn > i { font-size: 22px; }
.fh-trial-btn span { flex: 1; text-align: left; }
.fh-trial-btn em { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .18); font-style: normal; font-size: 13px; }
.learn-page .fh-trial-note { margin: 10px 0 0; color: rgba(215, 220, 235, .62); font-size: 12px; font-weight: 600; line-height: 1.4; text-align: center; }
.fh-faq { display: grid; gap: 12px; }
.fh-faq details { border-radius: 18px; background: #fff; box-shadow: 0 1px 0 var(--fh-line); transition: box-shadow .2s ease; }
.fh-faq details[open] { box-shadow: var(--fh-shadow); }
.fh-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}
.fh-faq summary::-webkit-details-marker { display: none; }
.fh-faq summary i { flex: none; color: var(--fh-orange); transition: transform .2s ease; }
.fh-faq details[open] summary i { transform: rotate(45deg); }
.learn-page .fh-faq details p { margin: 0; padding: 0 24px 22px; font-size: 16px; }

/* Финал */
.fh-final { padding: 8px 0 var(--fh-section); background: var(--fh-cream); }
.fh-final-card {
    position: relative;
    overflow: visible;
    padding: 64px 64px 56px;
    border-radius: 40px;
    background: linear-gradient(160deg, #FF934F 0%, #FF742E 55%, #FF6422 100%);
    box-shadow: 0 24px 50px -28px rgba(230, 90, 20, .55);
    text-align: center;
}
.fh-final-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, .28), transparent 28%),
        radial-gradient(circle at 100% 100%, rgba(255, 196, 120, .28), transparent 32%);
    pointer-events: none;
}
.fh-final-copy,
.fh-final-stage { position: relative; z-index: 1; }
.fh-final-mark { display: inline-flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 12px; margin: 0 0 18px; }
.fh-final-card:not(.has-video) .fh-final-mark { align-items: center; }
.fh-final-fox {
    display: grid;
    place-items: center;
    flex: none;
    width: 74px;
    height: 74px;
    margin: 0;
    border-radius: 22px;
    background: #fff;
    font-size: 40px;
    line-height: 1;
    box-shadow: 0 10px 18px -12px rgba(120, 40, 0, .45);
    animation: none;
}
img.fh-final-fox { width: 74px; height: 74px; max-width: none; padding: 8px; object-fit: contain; }
.fh-final .fh-kicker {
    margin: 0;
    background: #fff;
    color: #E85D04;
    box-shadow: 0 8px 16px -12px rgba(120, 40, 0, .45);
}
.learn-page .fh-final h2 { max-width: 720px; margin: 0 auto 14px; color: #fff; font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; }
.learn-page .fh-final p { max-width: 460px; margin: 0 auto 26px; color: rgba(255, 255, 255, .94); font-size: 16.5px; line-height: 1.45; }
.fh-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fh-final .fh-btn-light { min-height: 54px; padding: 14px 26px; font-size: 16px; box-shadow: 0 12px 24px -14px rgba(80, 30, 0, .45); }
.fh-final .fh-btn-light i { font-size: 14px; }
.fh-final-card.has-video {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
    gap: 24px 40px;
    align-items: center;
    padding: 44px 44px 40px 48px;
    text-align: left;
}
.learn-page .fh-final-card.has-video h2 { max-width: 460px; margin: 0 0 14px; font-size: clamp(36px, 3.3vw, 52px); }
.learn-page .fh-final-card.has-video p { max-width: 420px; margin: 0 0 26px; }
.fh-final-card.has-video .fh-final-actions { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px; }
.fh-final-card.has-video .fh-btn-outline-light { min-height: 54px; padding: 14px 22px; font-size: 16px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
.fh-final-stage {
    z-index: 2;
    width: 100%;
    padding: 12px;
    border-radius: 26px;
    background: #fff;
    transform: rotate(2deg);
    box-shadow: 0 22px 40px -20px rgba(120, 36, 0, .45);
}
.fh-final-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    background: #1B1530;
}
.fh-final-deco { position: absolute; z-index: 1; display: block; width: auto; height: auto; max-width: none; pointer-events: none; object-fit: contain; }
.fh-final-card:not(.has-video) .fh-final-deco { display: none; }
.fh-final-deco-cap { top: 14px; left: 31%; width: 136px; }
.fh-final-deco-spark { top: 14px; right: 22px; width: 88px; transform: rotate(-32deg); }
.fh-final-deco-arrow { left: 37%; bottom: 28px; z-index: 4; width: 158px; }
.fh-final-deco-fox { z-index: 3; right: 10px; bottom: 8px; width: 156px; }
@media (max-width: 900px) {
    .fh-final-card.has-video {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 28px 20px 36px;
        text-align: center;
    }
    .fh-final-card.has-video .fh-final-mark { align-items: center; }
    .learn-page .fh-final-card.has-video h2,
    .learn-page .fh-final-card.has-video p { margin-left: auto; margin-right: auto; }
    .fh-final-card.has-video .fh-final-actions { justify-content: center; }
    .fh-final-stage { order: -1; width: 100%; margin: 0; transform: none; }
    .learn-page .fh-final-deco { display: none; }
}

/* Подвал */
.fh-footer {
    padding: 52px 0 36px;
    background:
        radial-gradient(80% 160% at 0% 0%, rgba(255, 107, 44, .22), transparent 42%),
        radial-gradient(42% 140% at 100% 100%, rgba(123, 97, 255, .16), transparent 46%),
        var(--fh-ink);
    color: rgba(255, 255, 255, .72);
    box-shadow: inset 0 1px 0 rgba(255, 186, 130, .35);
}
.fh-footer-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fh-footer-logo { display: block; flex: none; width: 72px; height: 72px; object-fit: contain; }
.fh-footer-brand strong { display: block; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.fh-footer-brand span { display: block; max-width: 640px; margin-top: 2px; color: rgba(255, 255, 255, .62); font-size: 14px; line-height: 1.45; }
.fh-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.fh-footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.learn-page .fh-footer-links a,
.learn-page .fh-footer-links button {
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .86);
    font: 700 13px/1.2 'Manrope', sans-serif;
    text-decoration: none;
    cursor: pointer;
}
.learn-page .fh-footer-links a:hover,
.learn-page .fh-footer-links button:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.learn-page .fh-footer-links a:focus-visible,
.learn-page .fh-footer-links button:focus-visible { outline: 3px solid rgba(255, 154, 60, .7); outline-offset: 2px; }
.learn-page .fh-footer-copy { margin: 0; color: rgba(255, 255, 255, .46); font-size: 13px; font-weight: 700; white-space: nowrap; }

/* Мобильная плашка */
.fh-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1020;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 18px;
    border-radius: 20px;
    background: rgba(27, 21, 48, .94);
    backdrop-filter: blur(12px);
    color: #fff;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
    transform: translateY(140%);
    transition: transform .3s ease;
}
.fh-dock.is-on { transform: none; }
.fh-dock strong { display: block; font-size: 16px; }
.fh-dock span { color: rgba(255, 255, 255, .65); font-size: 13px; }

/* ---------- Окно оплаты ---------- */
.fh-modal { position: fixed; inset: 0; z-index: 1060; display: grid; place-items: center; padding: 20px; }
.fh-modal[hidden] { display: none; }
.fh-modal-backdrop { position: absolute; inset: 0; background: rgba(27, 21, 48, .55); backdrop-filter: blur(6px); animation: fh-fade .2s ease; }
.fh-modal-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(27, 21, 48, .28) transparent;
    padding: 36px;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--fh-shadow-lg);
    animation: fh-rise .3s cubic-bezier(.2, .9, .3, 1.2);
}
.fh-modal-card::-webkit-scrollbar { width: 10px; }
.fh-modal-card::-webkit-scrollbar-track { background: transparent; margin: 18px 0; }
.fh-modal-card::-webkit-scrollbar-thumb {
    background-color: rgba(27, 21, 48, .22);
    border: 3px solid #fff;
    border-radius: 99px;
}
.fh-modal-card::-webkit-scrollbar-thumb:hover { background-color: var(--fh-orange); }
@keyframes fh-fade { from { opacity: 0; } }
@keyframes fh-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.learn-page .fh-modal-x {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--fh-cream);
    color: var(--fh-ink);
    cursor: pointer;
}
.learn-page .fh-modal-x:hover { background: var(--fh-cream-2); }
.learn-page .fh-checkout h2 { margin: 0 48px 16px 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.learn-page .fh-modal-recap {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--fh-cream);
    color: var(--fh-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}
.learn-page .fh-secure { margin: 12px 0 0; color: var(--fh-muted); font-size: 13px; font-weight: 600; line-height: 1.4; }
.fh-secure[hidden] { display: none; }
.fh-checkout .fh-btn-block { margin-top: 4px; }
body.fh-modal-open { overflow: hidden; }
.fh-trial-modal .fh-modal-card {
    max-width: 420px;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}
.fh-trial-modal .fh-trial { overflow: visible; box-shadow: 0 28px 60px rgba(14, 18, 36, .45); }
.fh-trial-modal .fh-modal-x {
    z-index: 2;
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
.learn-page .fh-trial-modal .fh-modal-x:hover { background: rgba(255, 255, 255, .24); }
@media (max-width: 1100px) {
    .fh-trial-modal .fh-modal-card { border-radius: 28px 28px 0 0; overflow: visible; }
    .fh-trial-modal .fh-trial { border-radius: 28px 28px 0 0; }
}

/* ---------- Оформление внутри тарифов ---------- */
.learn-page .fh-summary { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.fh-summary li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 14px 12px;
    background: #fff;
    font-weight: 800;
    font-size: 15px;
}
.fh-summary li + li { border-top: 1px dashed rgba(255, 107, 44, .22); }
.fh-summary li span:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fh-summary li i,
.fh-summary-line i,
.fh-bill .fh-promo > i {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--fh-cream-2);
    color: var(--fh-orange);
    font-size: 14px;
}
.fh-summary li span:last-child {
    flex: none;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--fh-grad);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 16px -10px rgba(255, 107, 44, .8);
}
.fh-summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 12px 14px 12px 12px;
    border-top: 1px dashed rgba(255, 107, 44, .22);
    background: #fff;
}
.fh-summary-line span { display: flex; align-items: center; gap: 10px; color: var(--fh-ink-2); font-size: 14px; font-weight: 700; }
.fh-summary-line b {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--fh-cream);
    color: var(--fh-ink);
    font-size: 13px;
    font-weight: 800;
}
.fh-promo { display: flex; gap: 8px; }
.fh-bill .fh-promo {
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 8px 10px 12px;
    border-top: 1px dashed rgba(255, 107, 44, .22);
    border-radius: 0;
    background: #FFFBF7;
    box-shadow: none;
}
.learn-page .fh-bill .fh-promo input {
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.learn-page .fh-bill .fh-promo input:focus { border: 0; outline: none; }
.fh-bill .fh-promo:focus-within { box-shadow: inset 0 0 0 2px var(--fh-orange); }
.learn-page .fh-bill .fh-promo .fh-btn {
    flex: none;
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 12px;
    background: var(--fh-grad);
    color: #fff;
    font-size: 14px;
    box-shadow: none;
}
.learn-page .fh-bill .fh-promo .fh-btn:hover { color: #fff; transform: none; filter: brightness(1.05); }
.learn-page .fh-promo input,
.learn-page .fh-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 2px solid var(--fh-line);
    border-radius: 14px;
    font: 600 16px/1.3 'Manrope', sans-serif;
    color: var(--fh-ink);
    background: #fff;
    transition: border-color .15s ease;
}
.learn-page .fh-promo input { text-transform: uppercase; }
.learn-page .fh-promo input:focus,
.learn-page .fh-field input:focus { outline: none; border-color: var(--fh-orange); }
.learn-page .fh-field input.is-invalid { border-color: #E5484D; }
.learn-page .fh-promo-msg { min-height: 20px; margin: 8px 0 0; font-size: 14px; font-weight: 600; }
.fh-promo-msg.is-ok { color: #0F8A6E; }
.fh-promo-msg.is-bad { color: #D93A3F; }
.fh-summary-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 24px; padding-top: 16px; border-top: 1px dashed var(--fh-line); font-weight: 800; }
.fh-summary-total b { font-size: 32px; letter-spacing: -0.03em; }
.fh-summary-total s { color: var(--fh-muted); font-weight: 600; }
.fh-fields { display: grid; gap: 14px; margin-bottom: 20px; }
.fh-field span { display: block; margin-bottom: 6px; color: var(--fh-ink-2); font-size: 14px; font-weight: 700; }
.fh-field small { color: var(--fh-muted); font-weight: 600; }
.fh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fh-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 8px;
    padding: 12px 14px;
    border: 1.5px solid var(--fh-line);
    border-radius: 16px;
    background: var(--fh-cream);
    color: var(--fh-ink-2);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.fh-check:hover { border-color: rgba(255, 107, 44, .4); background: #fff; }
.fh-check:has(input:checked) {
    border-color: rgba(255, 107, 44, .55);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 107, 44, .1);
}
.fh-check input {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    border: 2px solid rgba(27, 21, 48, .16);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.fh-check input::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    opacity: 0;
    transform: rotate(45deg) scale(.55);
    transition: opacity .15s ease, transform .15s ease;
}
.fh-check input:hover { border-color: var(--fh-orange); }
.fh-check input:checked {
    border-color: transparent;
    background: var(--fh-grad);
    box-shadow: 0 6px 14px rgba(255, 107, 44, .28);
}
.fh-check input:checked::after { opacity: 1; transform: rotate(45deg) scale(1); }
.fh-check input:focus-visible { outline: 3px solid rgba(255, 107, 44, .4); outline-offset: 2px; }
.fh-check span { padding-top: 1px; text-wrap: pretty; }
.learn-page .fh-check a { color: var(--fh-orange); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.learn-page .fh-check a:hover { color: #E85A24; }
.learn-page .fh-form-error { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: #B4232A; font-weight: 600; font-size: 14px; }
.fh-btn.is-loading { position: relative; color: transparent !important; }
.fh-btn.is-loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: fh-spin .7s linear infinite;
}
@keyframes fh-spin { to { transform: rotate(360deg); } }

/* ---------- Страница заказа ---------- */
.fh-order { min-height: 100vh; padding: calc(var(--fh-header) + 64px) 0 96px; background: var(--fh-cream); }
.fh-order-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 44px;
    border-radius: var(--fh-radius-lg);
    background: #fff;
    box-shadow: var(--fh-shadow-lg);
    text-align: center;
}
.fh-order-icon { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; font-size: 40px; }
.fh-order-icon.is-paid { background: #E3F9F2; color: var(--fh-mint); }
.fh-order-icon.is-wait { background: #FFF4D6; color: #B7791F; }
.fh-order-icon.is-bad { background: #FDECEC; color: #D93A3F; }
.learn-page .fh-order h1 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.learn-page .fh-order-lead { margin: 0 auto 28px; max-width: 520px; font-size: 17px; color: var(--fh-ink-2); }
.learn-page .fh-order-items { margin: 0 0 24px; padding: 18px 20px; border-radius: 18px; background: var(--fh-cream); text-align: left; }
.fh-order-items li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-weight: 600; }
.fh-order-items li + li { border-top: 1px dashed var(--fh-line); }
.fh-order-items li > :last-child { flex: none; white-space: nowrap; }
.fh-order-items .is-total { font-size: 18px; font-weight: 800; }
.fh-order-actions { display: grid; gap: 12px; margin-bottom: 20px; }
.learn-page .fh-order-meta { margin: 0; color: var(--fh-muted); font-size: 14px; }
.learn-page .fh-order-meta a { color: #C2410C; font-weight: 700; }
.fh-order-card .fh-form-error { margin: 0 0 16px; }
.learn-page .fh-erip { margin: 0 0 24px; padding: 0; text-align: left; counter-reset: erip; }
.fh-erip li {
    position: relative;
    padding: 12px 0 12px 48px;
    color: var(--fh-ink-2);
    font-size: 15px;
    counter-increment: erip;
}
.fh-erip li + li { border-top: 1px solid var(--fh-line); }
.fh-erip li::before {
    content: counter(erip);
    position: absolute;
    left: 0;
    top: 10px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--fh-cream-2);
    color: #C2410C;
    font-weight: 800;
}
.fh-erip-codes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.fh-erip-codes div { padding: 14px; border-radius: 16px; background: var(--fh-cream); text-align: center; }
.fh-erip-codes span { display: block; color: var(--fh-muted); font-size: 12.5px; font-weight: 700; }
.fh-erip-codes b { display: block; font-size: 19px; }
.learn-page .fh-copy { padding: 2px 8px; border: 0; border-radius: 8px; background: #fff; color: var(--fh-orange); font-size: 12px; font-weight: 800; cursor: pointer; }
.fh-order-tg { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; padding: 18px 20px; border-radius: 18px; background: #EAF6FD; text-align: left; }
.fh-order-tg i { color: #229ED9; font-size: 34px; }
.learn-page .fh-order-tg p { margin: 0; color: var(--fh-ink-2); font-size: 15px; }
.learn-page .fh-order-steps { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; text-align: left; }
.fh-order-steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--fh-ink-2); font-weight: 600; }
.fh-order-steps i { margin-top: 4px; color: var(--fh-mint); }
.fh-spinner { display: inline-block; width: 18px; height: 18px; border: 3px solid rgba(183, 121, 31, .3); border-top-color: #B7791F; border-radius: 50%; animation: fh-spin .8s linear infinite; vertical-align: -3px; }

/* ---------- Анимация появления ---------- */
@media (prefers-reduced-motion: no-preference) {
    .fh-reveal { opacity: 0; translate: 0 24px; transition: opacity .6s ease, translate .6s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
    .fh-reveal.is-in { opacity: 1; translate: none; }
    #pain .fh-pain.fh-reveal { translate: 0 48px; transition-duration: .8s; }
}
@media (prefers-reduced-motion: reduce) {
    .learn-page *, .learn-page *::before, .learn-page *::after { animation: none !important; transition: none !important; }
    .fh-accent path { stroke-dashoffset: 0; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
    .fh-nav { display: none; }
    .fh-header-actions { margin-left: auto; }
    .fh-hero-grid { gap: 40px; }
    .fh-calc { grid-template-columns: minmax(0, 1fr); }
    .fh-calc-total { padding: 32px 40px 40px; }
    .fh-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 991px) {
    .fh-brand-tag { display: none; }
    .learn-page { --fh-section: 80px; --fh-fade: 72px; }
    .fh-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .fh-hero { padding-bottom: 120px; }
    .fh-hero-stage { max-width: 640px; margin: 8px auto 0; padding-right: 10px; }
    .fh-game-stage { margin: 0 auto; }
    .fh-proof-card { grid-template-columns: repeat(2, 1fr); }
    .fh-proof-item:nth-child(3) { border-left: 0; }
    .fh-proof-item:nth-child(n+3) { border-top: 1px solid var(--fh-line); }
    .fh-bento { grid-template-columns: 1fr 1fr; }
    .fh-feature.is-lead { grid-column: 1 / -1; grid-row: auto; }
    .fh-courses.is-1 .fh-course { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .fh-courses.is-1 .fh-course-cover { aspect-ratio: 16 / 9; min-height: 0; max-height: 220px; }
    .fh-courses.is-1 .fh-course-body { padding: 22px 18px 24px; }
    .learn-page .fh-courses.is-1 .fh-course h3 { font-size: 26px; }
    .learn-page .fh-courses.is-1 .fh-course-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
    .fh-courses.is-1 .fh-course-stats li { padding: 10px 8px; }
    .fh-courses.is-1 .fh-course-stats b { font-size: 20px; }
    .fh-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .fh-steps::before,
    .fh-steps::after { display: none; }
    .fh-pricing { --fh-wave: 48px; padding: calc(var(--fh-wave) + 64px) 0 calc(var(--fh-wave) + 72px); }
    .fh-durations { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
    .fh-footer { padding-bottom: 108px; }
    .fh-footer-bar { align-items: flex-start; flex-direction: column; }
    .fh-dock { display: flex; }
}

@media (max-width: 640px) {
    .learn-page { --fh-section: 64px; --fh-fade: 48px; --fh-header: 64px; }
    .fh-wrap { padding: 0 20px; }
    .fh-brand-tag, .fh-link-login, .fh-back-site span, .fh-cart-label { display: none; }
    .fh-cart-btn { width: 40px; padding: 0; justify-content: center; }
    .fh-cart-count { position: absolute; top: -6px; right: -6px; }
    .fh-cart-panel { position: fixed; top: calc(var(--fh-header) + 8px); left: 12px; right: 12px; width: auto; }
    .learn-page .fh-back-site { min-width: 40px; padding-inline: 12px; }
    .fh-hero { padding-top: calc(var(--fh-header) + 24px); }
    .learn-page .fh-lead { font-size: 17px; }
    .fh-hero-actions .fh-btn { width: 100%; }
    .learn-page .fh-btn-lg { flex-wrap: wrap; row-gap: 6px; padding: 14px 22px; white-space: normal; text-align: center; }
    .fh-game { padding: 20px; transform: none; }
    .fh-slot, .learn-page .fh-letter { width: 48px; height: 52px; font-size: 24px; }
    .fh-proof-item { padding: 20px; }
    .fh-proof-item strong { font-size: 26px; }
    .fh-head { margin-bottom: 40px; }
    .fh-bento, .fh-steps { grid-template-columns: minmax(0, 1fr); }
    .fh-courses.is-2,
    .fh-courses.is-3 { grid-template-columns: minmax(0, 1fr); }
    .fh-calc-main { padding: 28px 20px; }
    .fh-calc-total { padding: 28px 20px 32px; }
    .fh-seg { display: flex; }
    .learn-page .fh-seg-btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: 14px; }
    .learn-page .fh-includes { grid-template-columns: minmax(0, 1fr); }
    .fh-total b { font-size: 48px; }
    .fh-final-card { padding: 48px 22px; }
    .fh-final-card.has-video { padding: 28px 18px 32px; }
    .fh-footer { padding-top: 36px; }
    .fh-modal { padding: 0; place-items: end center; }
    .fh-modal-card { max-height: 94vh; padding: 28px 20px 24px; border-radius: 28px 28px 0 0; }
    .fh-order-card { padding: 32px 20px; }
    .fh-erip-codes { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
    .fh-header-inner { gap: 12px; }
    .fh-header-actions { gap: 8px; }
    .learn-page .fh-back-site { display: none; }
    .learn-page .fh-header-actions .fh-btn-primary { padding-inline: 14px; }
}
