:root {
    --bg: #0a0a0a;
    --surface: #202020;
    --surface-2: #1b1b1b;
    --line: #262626;
    --line-2: #333;
    --txt: #f4f4f2;
    --muted: #8a8a88;
    --faint: #5a5a58;
    --acid: #c8f03c;
    --acid-2: #9fd11a;
    --acid-ink: #0d0f05;
    --r-lg: 28px;
    --r-md: 20px;
    --r-sm: 14px;
    --pad: 20px;
    --display: 'Inter Tight', system-ui, sans-serif;
    --body: 'Manrope', system-ui, sans-serif;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 72px
}

body {
    background: var(--bg);
    color: var(--txt);
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

img {
    display: block;
    max-width: 100%
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer
}

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

:focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 3px;
    border-radius: 6px
}

body.lock {
    overflow: hidden
}

/* ============ HEADER ============ */
.hdr {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--pad);
    transition: background .3s, backdrop-filter .3s
}

.hdr.scrolled {
    background: rgba(10, 10, 10, .4);
    /*backdrop-filter: blur(14px);*/
    /*-webkit-backdrop-filter: blur(14px)*/
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff
}

.logo-mark {
    width: 26px;
    height: 26px
}

.logo-txt {
    font-family: var(--display);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -.02em
}

.logo-dot {
    color: var(--acid)
}

.burger {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-content: center;
    gap: 5px;
    transition: transform .3s var(--ease)
}

.burger span {
    display: block;
    width: 16px;
    height: 2px;
    background: #0a0a0a;
    border-radius: 2px;
    transition: transform .35s var(--ease)
}

.burger:active {
    transform: scale(.92)
}

.menu-open .burger span:first-child {
    transform: translateY(3.5px) rotate(45deg)
}

.menu-open .burger span:last-child {
    transform: translateY(-3.5px) rotate(-45deg)
}

/* ============ MENU ============ */
.menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s
}

.menu-open .menu {
    opacity: 1;
    visibility: visible
}

.menu-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 110px var(--pad) 28px;
    max-width: 720px
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    gap: 6px
}

.menu-list a {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(34px, 9vw, 56px);
    line-height: 1.12;
    letter-spacing: -.03em;
    display: inline-block;
    transform: translateY(20px);
    opacity: 0;
    transition: transform .5s var(--ease), opacity .5s, color .2s
}

.menu-list a:hover {
    color: var(--acid)
}

.menu-open .menu-list a {
    transform: none;
    opacity: 1
}

.menu-open .menu-list li:nth-child(2) a {
    transition-delay: .04s
}

.menu-open .menu-list li:nth-child(3) a {
    transition-delay: .08s
}

.menu-open .menu-list li:nth-child(4) a {
    transition-delay: .12s
}

.menu-open .menu-list li:nth-child(5) a {
    transition-delay: .16s
}

.menu-open .menu-list li:nth-child(6) a {
    transition-delay: .2s
}

.menu-cab {
    margin-top: 28px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 99px;
    border: 1px solid var(--line-2);
    font-weight: 600
}

.menu-cab svg {
    width: 16px;
    height: 16px;
    color: var(--acid)
}

.menu-legal {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line)
}

.menu-foot {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font-size: 12px;
    color: var(--faint)
}

/* ============ COMMON ============ */
section {
    padding: 72px var(--pad) 0
}

.sec-head {
    margin-bottom: 26px
}

.sec-head h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(40px, 11vw, 76px);
    line-height: .98;
    letter-spacing: -.04em
}

.muted {
    color: var(--muted)
}

.sec-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted)
}

.dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 18px
}

.dots i {
    width: 6px;
    height: 6px;
    border-radius: 99px;
    background: var(--line-2);
    transition: width .35s var(--ease), background .35s
}

.dots i.on {
    width: 22px;
    background: var(--acid)
}

.btn-acid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 34px;
    border-radius: 99px;
    background: var(--acid);
    color: var(--acid-ink);
    font-weight: 700;
    font-size: 16px;
    transition: transform .2s, box-shadow .3s
}

.btn-acid:hover {
    box-shadow: 0 10px 40px -8px rgba(200, 240, 60, .55)
}

.btn-acid:active {
    transform: scale(.97)
}

.btn-acid.full {
    width: 100%
}

/* halo button: gradient + two halos */
.btn-halo {
    position: relative;
    height: 58px;
    padding: 0 64px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 17px;
    color: var(--acid-ink);
    background: linear-gradient(100deg, #e6ff7a 0%, var(--acid) 45%, #7ed321 100%);
    isolation: isolate
}

.btn-halo::before, .btn-halo::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    z-index: -1;
    background: var(--acid);
    pointer-events: none
}

.btn-halo::before {
    inset: -8px;
    opacity: .22
}

.btn-halo::after {
    inset: -17px;
    opacity: .09
}

.btn-halo {
    animation: pulse 3.2s ease-in-out infinite
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 50px 4px rgba(200, 240, 60, .25)
    }
}

.btn-halo:active {
    transform: scale(.97)
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 88 svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 110px;
    padding-bottom: 48px;
    overflow: hidden
}

.hero-glow {
    position: absolute;
    width: 140vw;
    max-width: 1100px;
    aspect-ratio: 1;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(200, 240, 60, .13), transparent 70%);
    pointer-events: none
}

.hero-title {
    position: relative;
    font-family: var(--display);
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(52px, 15.5vw, 150px);
    line-height: .88;
    letter-spacing: -.045em
}

.hero-title span {
    display: block;
    color: var(--acid)
}

.hero-lead {
    position: relative;
    margin-top: 26px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.45;
    max-width: 560px
}

@media (max-width: 719px) {
    .hero-lead br {
        display: none
    }
}

.hero-sub {
    position: relative;
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--muted);
    max-width: 520px
}

.hero-social {
    position: relative;
    margin-top: 34px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.ava-row {
    display: flex
}

.ava-row img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--surface);
    margin-left: -12px
}

.ava-row img:first-child {
    margin-left: 0
}

.ava-count {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.05
}

.ava-count b {
    font-family: var(--display);
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -.02em
}

.ava-count span {
    font-size: 14px;
    color: var(--muted);
}

/* ============ LEAD MAGNET ============ */
.lead {
    padding-top: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    padding-right: 0
}

.lead-img {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 55%, transparent 100%)
}

.lead-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.lead-title {
    margin-top: -24px;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1.1;
    letter-spacing: -.025em;
    padding: 0 var(--pad);
    z-index: 1;
}

.lead .btn-halo {
    margin-top: 34px
}

/* ============ MARATHON ============ */
.marathon {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
    padding-top: 96px
}

.mar-img {
    width: 100%;
    aspect-ratio: 4/3;
    max-height: 560px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 60%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 60%, transparent 100%)
}

.mar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 30%
}

.mar-label {
    margin-top: -10px;
    color: var(--muted);
    font-size: 20px
}

.timer {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding: 0 var(--pad)
}

.t-cell {
    min-width: 72px;
    padding: 12px 6px 10px;
    border-radius: var(--r-sm);
    background: var(--surface);
    border: 1px solid var(--line)
}

.t-cell b {
    display: block;
    font-family: var(--display);
    font-weight: 800;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums
}

.t-cell i {
    font-style: normal;
    font-size: 11px;
    color: var(--muted)
}

.mar-text {
    margin-top: 22px;
    color: var(--muted);
    font-size: 14.5px;
    padding: 0 var(--pad)
}
.white-text{
    color: #fff;
}

.marathon h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(40px, 11vw, 76px);
    line-height: .98;
    letter-spacing: -.04em;
    margin-bottom: 30px;
}
.marathon .btn-acid {
    margin-top: 26px
}

/* ============ PROGRAMS ============ */
.prog-track, .story-track, .ep-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--pad));
    padding: 0 var(--pad) 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch
}

.ep-track {
    scroll-padding-inline: var(--pad)
}

.prog-track::-webkit-scrollbar, .story-track::-webkit-scrollbar, .ep-track::-webkit-scrollbar {
    display: none
}

.prog-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: #0c0c0c;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.prog-media {
    position: relative;
    aspect-ratio: 4/4.2
}

.prog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    background: #000;
}

.prog-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, #0c0c0c 100%)
}

.prog-body {
    padding: 0 22px 24px;
    margin-top: -54px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1
}

.prog-body h3 {
    font-family: var(--display);
    font-weight: 800;
    font-size: 34px;
    letter-spacing: -.03em;
    line-height: 1
}

.prog-sub {
    font-size: 13px;
    color: var(--acid);
    font-weight: 600;
    margin-top: 6px
}

.prog-desc {
    margin-top: 16px;
    font-size: 14px;
    color: #d6d6d4
}

.prog-price {
    margin-top: auto;
    padding-top: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 42px;
    letter-spacing: -.035em;
    line-height: 1;
    text-align: right;
}

.prog-price span {
    font-size: .5em;
    margin-left: 3px;
    color: var(--muted)
}

/* ============ ABOUT / STORY ============ */
.story-card {
    position: relative;
    flex: 0 0 100%;
    aspect-ratio: 960/1280;
    scroll-snap-align: center;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: border-color .3s, transform .4s var(--ease)
}

.story-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease)
}

.story-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .88) 100%)
}

.story-card.active {
    /*border-color: var(--acid)*/
}

.story-card.active img {
    transform: scale(1.04)
}

.story-cap {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 20px
}

.chap {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--acid);
    margin-bottom: 8px
}
.chap b{
    font-size: 20px;
}

.story-cap h3 {
    font-family: var(--display);
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -.03em
}

.story-cap p {
    font-size: 13px;
    color: #cfcfcd;
    margin-top: 6px
}

.more {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 13px;
    font-weight: 600;
    transition: background .25s, color .25s
}

.more::after {
    content: "";
    width: 10px;
    height: 10px;
    background: linear-gradient(currentColor, currentColor) center/10px 1.8px no-repeat, linear-gradient(currentColor, currentColor) center/1.8px 10px no-repeat;
    transition: transform .35s var(--ease)
}

.story-card.active.open .more {
    background: var(--acid);
    color: var(--acid-ink);
    border-color: var(--acid)
}

.story-card.open .more::after {
    transform: rotate(135deg)
}

.story-card.open .more {
    background: var(--acid);
    color: var(--acid-ink);
    border-color: var(--acid)
}

.edu {
    list-style: none;
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.edu li {
    font-size: 13.5px;
    color: #d4d4d2;
    display: grid;
    grid-template-columns:92px 1fr;
    gap: 10px
}

.edu span {
    color: var(--acid);
    font-weight: 700;
    font-variant-numeric: tabular-nums
}

.sm-body blockquote {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 3px solid var(--acid);
    background: var(--surface-2);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-size: 14px;
    line-height: 1.6;
    color: #eaeae8
}

/* ============ SERIAL ============ */
.ep {
    position: relative;
    flex: 0 0 58%;
    aspect-ratio: 9/16;
    max-height: 520px;
    scroll-snap-align: start;
    border-radius: var(--r-md);
    overflow: hidden;
    text-align: left;
    border: 1px solid var(--line)
}

.ep img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease)
}

.ep::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .75) 100%)
}

.ep:hover img {
    transform: scale(1.05)
}

.ep-play {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: grid;
    place-content: center
}

.ep-play svg {
    width: 14px;
    height: 14px
}

.ep-cap {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 16px;
    z-index: 1
}

.ep-cap i {
    display: block;
    font-style: normal;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--acid);
    margin-bottom: 6px
}

.ep-cap b {
    display: block;
    font-family: var(--display);
    font-weight: 900;
    font-size: 24px;
    line-height: .95;
    letter-spacing: -.02em;
    text-transform: uppercase
}

/* ============ FAQ ============ */
.acc {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.acc-item {
    background: var(--surface);
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    transition: border-color .3s, background .3s
}

.acc-item.open {
    border-color: var(--line-2);
    background: var(--surface-2)
}

.acc-q {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    padding: 18px;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.35
}

.acc-q i {
    position: relative;
    flex: 0 0 18px;
    height: 18px;
    transition: transform .4s var(--ease)
}

.acc-q i::before, .acc-q i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 1.6px;
    background: currentColor;
    transform: translate(-50%, -50%)
}

.acc-q i::after {
    transform: translate(-50%, -50%) rotate(90deg)
}

.acc-item.open .acc-q i {
    transform: rotate(135deg);
    color: var(--acid)
}

.acc-a {
    display: grid;
    grid-template-rows:0fr;
    transition: grid-template-rows .45s var(--ease)
}

.acc-in {
    min-height: 0;
    overflow: hidden
}

.acc-item.open .acc-a {
    grid-template-rows:1fr
}

.acc-a p {
    padding: 0 18px;
    font-size: 14px;
    color: #d0d0ce
}

.acc-a p:first-child {
    padding-top: 0
}

.acc-a p:last-child {
    padding-bottom: 18px
}

.acc-a p + p {
    margin-top: 10px
}

/* ============ CONTACTS ============ */
.cform {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field span {
    font-size: 12px;
    color: var(--muted);
    padding-left: 4px
}

.field input, .field textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 15px 16px;
    color: var(--txt);
    font: inherit;
    font-size: 15px;
    resize: none;
    transition: border-color .2s
}

.field input::placeholder, .field textarea::placeholder {
    color: var(--faint)
}

.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--acid)
}

.btn-submit {
    margin-top: 6px;
    height: 54px;
    border-radius: 99px;
    background: #2a2a2a;
    color: #7a7a78;
    font-weight: 700;
    font-size: 16px;
    transition: background .35s, color .35s, box-shadow .35s
}

.btn-submit:not(:disabled) {
    background: var(--acid);
    color: var(--acid-ink)
}

.btn-submit:not(:disabled):hover {
    box-shadow: 0 10px 40px -8px rgba(200, 240, 60, .55)
}

.btn-submit:disabled {
    cursor: not-allowed
}

.cform-ok {
    color: var(--acid);
    font-size: 14px;
    text-align: center
}

.ch-title {
    margin-top: 44px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500
}

.channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 54px;
    padding: 0 18px;
    border-radius: 99px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 18px;
    font-weight: 600;
    transition: border-color .2s, color .2s
}

.chip svg {
    width: 24px;
    height: 24px
}

.chip:hover {
    border-color: var(--acid);
    color: var(--acid)
}

.support {
    margin-top: 28px;
    font-size: 14px;
    color: var(--muted)
}

.support a {
    color: var(--txt);
    border-bottom: 1px solid var(--line-2)
}

.ftr {
    margin-top: 72px;
    padding: 24px var(--pad) calc(24px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--faint)
}

.ftr-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    color: var(--muted);
    margin-bottom: 16px
}

.ftr-row {
    display: flex;
    justify-content: space-between
}
.ftr-row a{
    color: var(--acid);
}
.menu-foot a{
    color: var(--acid);
}
/* ============ MODALS ============ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s
}

.modal.show {
    opacity: 1;
    visibility: visible
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding: 28px 22px calc(24px + env(safe-area-inset-bottom));
    transform: translateY(40px);
    transition: transform .45s var(--ease)
}

.modal.show .modal-card {
    transform: none
}

.modal-x {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
    z-index: 3
}

.q-progress {
    height: 4px;
    background: var(--line);
    border-radius: 4px;
    overflow: hidden;
    margin-right: 44px
}

.q-progress i {
    display: block;
    height: 100%;
    width: 20%;
    background: var(--acid);
    border-radius: 4px;
    transition: width .45s var(--ease)
}

.q-step {
    margin-top: 18px;
    font-size: 12px;
    color: var(--muted)
}

.q-body {
    margin: 8px 0 22px;
    min-height: 120px
}

.q-body h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 18px
}

.q-body input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: var(--r-sm);
    padding: 16px;
    color: var(--txt);
    font: inherit;
    font-size: 16px
}

.q-body input::-webkit-outer-spin-button, .q-body input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.q-body input[type=number] {
    -moz-appearance: textfield
}

.q-body input:focus {
    outline: none;
    border-color: var(--acid)
}

.q-opts {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.q-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    border-radius: var(--r-sm);
    background: var(--bg);
    border: 1px solid var(--line-2);
    text-align: left;
    font-weight: 600;
    transition: border-color .2s
}

.q-opt::before {
    content: "";
    flex: 0 0 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.6px solid var(--line-2);
    transition: all .2s
}

.q-opt.sel {
    border-color: var(--acid)
}

.q-opt.sel::before {
    border-color: var(--acid);
    background: radial-gradient(circle, var(--acid) 45%, transparent 50%)
}

.q-done {
    text-align: center;
    padding-top: 12px
}

.q-done .ok {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--acid);
    color: var(--acid-ink);
    display: grid;
    place-content: center;
    box-shadow: 0 0 0 10px rgba(200, 240, 60, .15)
}

.q-done p {
    color: var(--muted);
    font-size: 14px
}

.player {
    align-items: center;
    padding: 20px
}

.player-card {
    position: relative;
    width: min(380px, 100%);
    transform: scale(.94);
    transition: transform .45s var(--ease)
}

.player.show .player-card {
    transform: none
}

.player-frame {
    position: relative;
    aspect-ratio: 9/16;
    max-height: 78 svh;
    margin: 0 auto;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #000
}

.player-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.player-ui {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .45))
}

.p-play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--acid);
    color: var(--acid-ink);
    display: grid;
    place-content: center;
    box-shadow: 0 0 0 12px rgba(200, 240, 60, .18)
}

.p-play svg {
    width: 26px;
    height: 26px;
    margin-left: 0
}

.p-bar {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 22px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .25)
}

.p-bar i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--acid);
    border-radius: 3px
}

.player-frame.playing .p-bar i {
    animation: prog 12s linear forwards
}

.player-frame.playing .p-play {
    opacity: 0;
    transform: scale(.8);
    transition: .3s
}

@keyframes prog {
    to {
        width: 100%
    }
}

.player .modal-x {
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, .5);
    color: #fff
}

.player-title {
    text-align: center;
    margin-top: 14px;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted)
}

/* ============ SCROLL REVEAL ============ */
.rise {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.rise.in {
    opacity: 1;
    transform: none
}

/* ============ TABLET / DESKTOP ============ */
@media (min-width: 720px) {
    :root {
        --pad: 40px
    }

    body {
        font-size: 16px
    }

    .prog-card {
        flex-basis: 46%
    }

    .story-card {
        flex-basis: 38%
    }

    .ep {
        flex-basis: 30%
    }

    .modal {
        align-items: center
    }

    .modal-card {
        border-radius: var(--r-lg)
    }

    .hero-lead {
        font-size: 18px
    }

    .hero-sub {
        font-size: 15px
    }
}

@media (min-width: 1080px) {
    :root {
        --pad: max(56px, calc((100vw - 1240px) / 2))
    }

    section {
        padding-top: 130px
    }

    .hdr {
        padding-top: 22px;
        padding-bottom: 22px
    }

    .sec-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 40px;
        margin-bottom: 40px
    }

    .sec-note {
        margin: 0 0 10px
    }

    .hero-title {
        font-size: clamp(90px, 10.5vw, 168px)
    }

    .hero-title span {
        display: inline
    }

    .hero-lead {
        font-size: 19px;
        max-width: 640px
    }

    .hero-sub {
        font-size: 16px;
        max-width: 600px
    }

    .lead {
        padding-top: 130px
    }

    .lead {
        display: grid;
        grid-template-columns:1.1fr 1fr;
        align-items: center;
        text-align: left;
        padding-left: var(--pad);
        padding-right: var(--pad);
        gap: 40px
    }

    .lead-img {
        grid-row: span 2;
        max-width: none
    }

    .lead-title {
        margin: 0;
        padding: 0;
        align-self: end;
        font-size: 48px
    }

    .lead .btn-halo {
        align-self: start;
        justify-self: start;
        margin-left: 17px
    }

    .marathon {
        display: grid;
        grid-template-columns:1.25fr 1fr;
        align-items: center;
        text-align: left;
        column-gap: 56px;
        padding-left: var(--pad);
        padding-right: var(--pad)
    }

    .mar-img {
        grid-row: 1/6;
        aspect-ratio: 4/3.2;
        border-radius: var(--r-lg);
        -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%);
        mask-image: linear-gradient(90deg, #000 60%, transparent 100%)
    }

    .mar-label, .timer, .mar-text {
        padding: 0;
        margin-left: 0
    }

    .mar-label {
        margin-top: 0;
        align-self: end
    }

    .t-cell {
        min-width: 96px
    }

    .t-cell b {
        font-size: 48px
    }

    .marathon .btn-acid {
        justify-self: start;
        align-self: start
    }

    .prog-track {
        overflow: visible;
        display: grid;
        grid-template-columns:repeat(3, 1fr);
        gap: 20px
    }

    .prog-card {
        transition: transform .5s var(--ease), border-color .3s
    }

    .prog-card:hover {
        transform: translateY(-8px);
        border-color: var(--line-2)
    }

    .prog-card:hover .prog-media img {
        transform: scale(1.04)
    }

    .prog-media {
        overflow: hidden
    }

    .prog-media img {
        transition: transform .9s var(--ease)
    }

    #progDots {
        display: none
    }

    .story-card {
        flex-basis: calc((100% - 3 * 14px) / 3.4)
    }

    .ep-track {
        overflow: visible;
        display: grid;
        grid-template-columns:repeat(4, 1fr);
        gap: 18px
    }

    .ep {
        max-height: none
    }

    .faq {
        display: grid;
        grid-template-columns:1fr 1.6fr;
        gap: 60px;
        align-items: start
    }

    .faq .sec-head {
        position: sticky;
        top: 120px
    }

    .acc-q {
        padding: 22px 24px;
        font-size: 16px
    }

    .acc-a p {
        padding: 0 24px
    }

    .acc-a p:last-child {
        padding-bottom: 24px
    }

    .contacts {
        display: grid;
        grid-template-columns:1fr 1.3fr;
        column-gap: 60px;
        align-items: start
    }

    .contacts .sec-head {
        grid-column: 1;
        grid-row: 1
    }

    .cform {
        grid-column: 2;
        grid-row: 1/5
    }

    .ch-title {
        grid-column: 1;
        margin-top: 0
    }

    .channels, .support {
        grid-column: 1
    }

    .ftr {
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .ftr-legal {
        margin: 0
    }

    .ftr-row {
        gap: 40px
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important
    }

    .rise {
        opacity: 1;
        transform: none
    }
}

/* ============ STORY: drag + modal ============ */
.story-card img { -webkit-user-drag: none; user-select: none }
.story-card.sm-hidden { visibility: hidden }
@media (hover: hover) and (pointer: fine) {
    .story-track { cursor: grab }
    .story-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none }
    .story-track.dragging .story-card { pointer-events: none }
    .story-track.settling { scroll-snap-type: none }
}

.sm {
    position: fixed;
    inset: 0;
    z-index: 90;
    visibility: hidden;
    pointer-events: none
}
.sm.on { visibility: visible; pointer-events: auto }

.sm-dim {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity .45s ease
}
.sm.open .sm-dim { opacity: 1 }

.sm-card {
    position: absolute;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    will-change: top, left, width, height, border-radius;
    transform: translateZ(0)
}
/* финальная геометрия (мобайл — на весь экран) */
.sm.full .sm-card { top: 0; left: 0; width: 100%; height: 100%; border-radius: 0; border-color: transparent }

.sm-media { position: absolute; inset: 0; overflow: hidden }
.sm-media img {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 0;
    will-change: transform;
    transition: opacity .3s ease
}
.sm-media img.swap { opacity: 0 }

.sm-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .88) 100%);
    transition: opacity .4s ease;
    pointer-events: none
}
.sm-shade::after { /* затемнение фото при прокрутке текста */
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: var(--dim, 0)
}
.sm.expanded .sm-shade { background: linear-gradient(180deg, rgba(0,0,0,.45) 0, rgba(0,0,0,0) 22%) }

.sm-cap {
    position: absolute;
    inset: auto 0 0 0;
    padding: 20px;
    z-index: 1;
    transition: opacity .25s ease, transform .45s var(--ease);
    pointer-events: none
}
.sm.expanded .sm-cap { opacity: 0; transform: translateY(24px) }

.sm-scroll {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: translateY(100%);
    opacity: 0;
    transition: transform .6s var(--ease), opacity .35s ease
}
.sm-scroll::-webkit-scrollbar { display: none }
.sm.text-in .sm-scroll { transform: none; opacity: 1 }
.sm-scroll.dragging { transition: none }

.sm-spacer { height: 50% }

.sm-sheet {
    position: relative;
    min-height: 50%;
    padding: 84px var(--pad) calc(28px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(10,10,10,0) 0, rgba(10,10,10,.78) 56px, rgba(10,10,10,.96) 110px, var(--bg) 150px);
    transition: opacity .25s ease
}
.sm-sheet.swap { opacity: 0 }

.sm-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 30px;
    line-height: 1.02;
    letter-spacing: -.03em;
    margin-bottom: 18px;
    text-wrap: balance
}
.sm-body p { font-size: 15.5px; line-height: 1.65; color: #d6d6d4 }
.sm-body p + p { margin-top: 14px }
.sm-body p:first-child { color: var(--txt); font-weight: 600 }
.sm-body .edu { margin-top: 4px }

.sm-nav {
    display: flex;
    gap: 10px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--line)
}
.sm-prev, .sm-next {
    height: 60px;
    border-radius: 18px;
    border: 1px solid var(--line-2);
    display: flex;
    align-items: center;
    transition: border-color .2s, background .2s, color .2s
}
.sm-prev { flex: 0 0 60px; justify-content: center }
.sm-next { flex: 1; justify-content: space-between; gap: 12px; padding: 0 18px; text-align: left; min-width: 0 }
.sm-next span { display: flex; flex-direction: column; min-width: 0 }
.sm-next i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acid) }
.sm-next b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.sm-prev svg, .sm-next svg { width: 16px; height: 16px; flex-shrink: 0 }
.sm-prev:hover, .sm-next:hover { border-color: var(--acid) }
.sm-prev:disabled { opacity: .3; pointer-events: none }

.sm-top {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(14px + env(safe-area-inset-top)) var(--pad) 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s ease, transform .4s var(--ease);
    pointer-events: none
}
.sm.expanded .sm-top { opacity: 1; transform: none; pointer-events: auto }
.sm-count {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 8px 12px;
    border-radius: 99px;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-variant-numeric: tabular-nums
}
.sm-x {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #0a0a0a;
    display: grid;
    place-content: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .35)
}
.sm-x svg { width: 16px; height: 16px }

/* ---- планшет / десктоп: модальное окно ---- */
@media (min-width: 720px) {
    .sm.full .sm-card {
        --w: min(1080px, 90vw);
        --h: min(760px, 86vh);
        width: var(--w);
        height: var(--h);
        left: calc((100% - var(--w)) / 2);
        top: calc((100% - var(--h)) / 2);
        border-radius: var(--r-lg);
        border-color: var(--line);
        box-shadow: 0 40px 120px rgba(0, 0, 0, .6)
    }
    .sm-media { transition: right .6s var(--ease) }
    .sm.expanded .sm-media { right: 50% }
    .sm-media img { height: 118% }
    .sm.expanded .sm-shade { right: 50%; background: linear-gradient(90deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%) }
    .sm-scroll { left: 50%; transform: translateX(40px); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent }
    .sm.text-in .sm-scroll { transform: none }
    .sm-spacer { display: none }
    .sm-sheet { min-height: 100%; padding: 76px 44px 40px; background: var(--bg) }
    .sm-title { font-size: 36px }
    .sm-top { padding: 18px 20px 0 }
    .sm-count { margin-left: 4px }
}
@media (prefers-reduced-motion: reduce) {
    .sm-scroll, .sm-dim, .sm-cap, .sm-top, .sm-media { transition-duration: .01s }
}

/* ============ PROGRAMS → страницы программ ============ */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.16, 1, .3, 1) }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.prog-card { position: relative }
.prog-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit }
.prog-go {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: grid;
    place-content: center;
    color: #fff;
    transition: background .25s, color .25s, transform .4s var(--ease)
}
.prog-go svg { width: 15px; height: 15px }
.prog-card:hover .prog-go { background: var(--acid); color: var(--acid-ink); transform: rotate(45deg) }

/* кнопка «Наши программы» в последней главе истории */
.sm-progs { margin-top: 28px }
.sm-progs[hidden] { display: none }
.sm-progs:not([hidden]) + .sm-nav { margin-top: 24px; padding-top: 0; border-top: 0 }

/* ============ PAINS — «Знакомые состояния?» ============ */
.pain-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    margin: 0 calc(-1 * var(--pad));
    padding: 0 var(--pad) 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain
}
.pain-track::-webkit-scrollbar { display: none }
.pain {
    position: relative;
    flex: 0 0 80%;
    aspect-ratio: 9/16;
    scroll-snap-align: start;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0c0c0c;
    user-select: none
}
.pain img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform .8s var(--ease)
}
.pain::after { /* затемнение низа карточки */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .55) 66%, rgba(0, 0, 0, .92) 100%);
    pointer-events: none
}
.pain-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 0 18px 20px
}
.pain-cap h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -.015em;
    color: var(--acid);
    text-wrap: balance
}
.pain-cap p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.45;
    color: #b9b9b7
}
.pain-cta {
    margin-top: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center
}
.pain-cta h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1.1;
    letter-spacing: -.025em;
    text-wrap: balance
}
.pain-cta > p:not(.pain-note) {
    margin-top: 14px;
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.55;
    color: #d6d6d4
}
.pain-cta .btn-halo { margin-top: 34px }
.pain-note {
    margin-top: 40px;
    max-width: 44ch;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted)
}
.pain-track.dragging { cursor: grabbing; scroll-snap-type: none }
.pain-track.dragging .pain { pointer-events: none }
@media (min-width: 720px) {
    .pain { flex-basis: calc((100% - 2 * 12px) / 2.6) }
}
@media (min-width: 1080px) {
    .pain-track { gap: 16px; cursor: grab }
    .pain { flex-basis: calc((100% - 3 * 16px) / 4.3) }
    .pain:hover img { transform: scale(1.04) }
    .pain-cap { padding: 0 22px 24px }
    .pain-cap h3 { font-size: 22px }
    .pain-cta { margin-top: 64px }
}

/* «Знакомые состояния?» — десктоп: контент слева по центру, слайдер справа;
   карточки при прокрутке уезжают под затемняющий градиент за текстом */
@media (min-width: 1080px) {
    .pains {
        --gap: 64px;
        --lc: calc((100vw - 2 * var(--pad) - var(--gap)) * 5 / 12 + var(--gap)); /* левая колонка + зазор */
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        grid-template-rows: 1fr auto auto 1fr auto;
        column-gap: var(--gap)
    }
    .pains .sec-head { grid-column: 1; grid-row: 2; display: block; margin-bottom: 0; position: relative; z-index: 2 }
    .pain-cta { grid-column: 1; grid-row: 3; position: relative; z-index: 2; margin-top: 36px; text-align: left; align-items: flex-start }
    .pain-track {
        grid-column: 1 / -1;
        grid-row: 1 / 5;
        margin: 0 calc(-1 * var(--pad));
        padding: 0 var(--pad) 4px calc(var(--pad) + var(--lc));
        scroll-padding-left: calc(var(--pad) + var(--lc))
    }
    .pain { flex-basis: calc((100vw - 2 * var(--pad) - var(--lc) - 2 * 16px) / 2.35) }
    .pains::before { /* затемнение под текстом слева */
        content: "";
        grid-column: 1;
        grid-row: 1 / 5;
        z-index: 1;
        margin-left: calc(-1 * var(--pad));
        margin-right: calc(-1 * var(--gap) * .6);
        background: linear-gradient(90deg, var(--bg) 0, var(--bg) 62%, rgba(10, 10, 10, .85) 80%, rgba(10, 10, 10, 0) 100%);
        pointer-events: none
    }
    .pain { isolation: isolate } /* подписи карточек не вылезают поверх градиента */
    .pain-dots { grid-column: 2; grid-row: 5; justify-content: flex-start }
    .pain-cta > p:not(.pain-note) { max-width: 36ch }
    .pain-cta .btn-halo { margin-left: 17px }
    .pain-note { margin-top: 36px; max-width: 42ch }
}
