.vsh25-timer-modes {
    --tm-text: #f7f9ff;
    --tm-muted: #bdc9e6;
    --tm-accent: #a7ceff;
    --tm-divider: #3a507d;
    --tm-dial: #5c7caf;
    box-sizing: border-box;
    width: 100%;
    color: var(--tm-text);
    background: radial-gradient(ellipse at 2% 18%, #183872 0%, transparent 57%), #0b1635;
    padding: clamp(52px, 7vw, 106px) 24px clamp(36px, 5vw, 72px);
}

.vsh25-timer-modes--light {
    --tm-text: #111f3d;
    --tm-muted: #415573;
    --tm-accent: #174783;
    --tm-divider: #c9d7ec;
    --tm-dial: #9eb4d5;
    background: radial-gradient(ellipse at 3% 26%, #e8f1ff 0%, transparent 56%), #fafcff;
}

.vsh25-timer-modes + .payment__question--inner {
    margin-block-start: clamp(32px, 5vw, 72px);
}

.vsh25-timer-modes + .about-vsh__text {
    margin-block-start: clamp(32px, 5vw, 64px);
}

.vsh25-timer-modes--light + .ladder-text {
    margin-block-start: clamp(32px, 7vw, 96px);
}

.vsh25-timer-modes__inner {
    width: min(100%, 1140px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
    column-gap: clamp(40px, 7vw, 100px);
    row-gap: 42px;
    align-items: start;
}

.vsh25-timer-modes :is(h2, h3, h4, p, ul, figure) {
    color: inherit;
    margin: 0;
}

.vsh25-timer-modes h2 {
    font-size: clamp(38px, 5.3vw, 68px);
    font-weight: 500;
    line-height: 1.01;
    letter-spacing: -.042em;
}

.vsh25-timer-modes .vsh25-timer-modes__subtitle {
    margin-top: 16px;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.22;
}

.vsh25-timer-modes .vsh25-timer-modes__description {
    max-width: 39ch;
    margin-top: 13px;
    color: var(--tm-muted);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.5;
}

.vsh25-timer-modes .vsh25-timer-modes__example {
    width: min(100%, 406px);
    display: flex;
    flex-direction: column-reverse;
    gap: 14px;
    margin-block: 34px 26px;
}

.vsh25-timer-modes__example ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(4px, 1.25vw, 14px);
    text-align: center;
}

.vsh25-timer-modes__dial {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    width: 100%;
    max-width: 66px;
    margin-inline: auto;
    border: 1px solid var(--tm-dial);
    border-radius: 50%;
    font-size: clamp(19px, 2.2vw, 27px);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.vsh25-timer-modes__dial::before {
    content: "";
    position: absolute;
    inset: -1px;
    border: 1px solid transparent;
    border-top-color: var(--tm-accent);
    border-right-color: var(--tm-accent);
    border-radius: inherit;
    transform: rotate(-36deg);
    pointer-events: none;
}

.vsh25-timer-modes__example li:nth-child(even) .vsh25-timer-modes__dial::before {
    transform: rotate(38deg);
}

.vsh25-timer-modes__unit {
    display: block;
    margin-top: 8px;
    color: var(--tm-muted);
    font-size: clamp(11px, 1.18vw, 14px);
}

.vsh25-timer-modes__example figcaption {
    color: var(--tm-muted);
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
}

.vsh25-timer-modes__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.vsh25-timer-modes .vsh25-timer-modes__primary {
    background-color: #1562cc;
}

.vsh25-timer-modes .vsh25-timer-modes__primary:is(:hover, :focus-visible) {
    background-color: #226ed4;
}

.vsh25-timer-modes .vsh25-timer-modes__more {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--tm-accent);
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: .22em;
}

.vsh25-timer-modes a:focus-visible {
    outline: 2px solid var(--tm-accent);
    outline-offset: 4px;
}

.vsh25-timer-modes__details h3 {
    color: var(--tm-accent);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
}

.vsh25-timer-modes__list {
    list-style: none;
    padding: 0;
}

.vsh25-timer-modes__list > li {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 16px;
    padding-block: 20px;
}

.vsh25-timer-modes__list > li + li {
    border-top: 1px solid var(--tm-divider);
}

.vsh25-timer-modes__list > li:last-child {
    padding-bottom: 0;
}

.vsh25-timer-modes__list h4 {
    font-size: clamp(21px, 2.25vw, 28px);
    font-weight: 500;
    line-height: 1.13;
    letter-spacing: -.025em;
}

.vsh25-timer-modes__list h4 + p {
    margin-top: 8px;
    color: var(--tm-muted);
    font-size: 16px;
    line-height: 1.43;
}

.vsh25-timer-modes .vsh25-timer-modes__access {
    margin-top: 7px;
    color: var(--tm-accent);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.vsh25-timer-modes__icon {
    display: grid;
    place-items: center;
    width: 35px;
    aspect-ratio: 1;
    border: 1px solid var(--tm-dial);
    border-radius: 50%;
}

.vsh25-timer-modes__icon::before {
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--tm-accent);
    -webkit-mask: var(--tm-icon) center / contain no-repeat;
    mask: var(--tm-icon) center / contain no-repeat;
}

.vsh25-timer-modes__icon--add {
    --tm-icon: url("../icons/phosphor/plus.svg");
}

.vsh25-timer-modes__icon--pause {
    --tm-icon: url("../icons/phosphor/pause.svg");
}

.vsh25-timer-modes__icon--reverse {
    --tm-icon: url("../icons/phosphor/arrow-counter-clockwise.svg");
}

.vsh25-timer-modes .vsh25-timer-modes__note {
    grid-column: 1 / -1;
    padding-top: 16px;
    border-top: 1px solid var(--tm-divider);
    color: var(--tm-muted);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .vsh25-timer-modes {
        padding-inline: clamp(18px, 5vw, 34px);
    }

    .vsh25-timer-modes__inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 32px;
    }

    .vsh25-timer-modes__details {
        padding-top: 22px;
        border-top: 1px solid var(--tm-divider);
    }
}

@media (max-width: 460px) {
    .vsh25-timer-modes__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 3px;
    }

    .vsh25-timer-modes__more {
        justify-content: center;
    }
}
