:root {
    --tnPaper: #fafbff;
    --tnWhite: #ffffff;
    --tnNavy: #1d2550;
    --tnSlate: #646a8a;
    --tnBlue: #2e3f8f;
    --tnBlueHi: #24326f;
    --tnOrange: #d9761f;
    --tnHaze: #edf0fb;
    --tnLine: #e1e5f3;
    --tnSerif: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    --tnSans: "Segoe UI", Roboto, Arial, sans-serif;
}

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

body {
    margin: 0;
    background: var(--tnPaper);
    color: var(--tnNavy);
    font-family: var(--tnSans);
    font-size: 16px;
    line-height: 1.6;
}

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

.tnTop {
    padding: 20px 16px;
    text-align: center;
    background: var(--tnHaze);
    border-bottom: 3px double var(--tnLine);
}

.tnTopName {
    color: var(--tnBlue);
    font-family: var(--tnSerif);
    font-size: 22px;
    font-style: italic;
    text-decoration: none;
}

.tnTopName:hover {
    color: var(--tnOrange);
}

.tnHeadline {
    max-width: 800px;
    margin: 36px auto 28px;
    padding: 0 16px;
    text-align: center;
    font-family: var(--tnSerif);
    font-size: clamp(25px, 3.9vw, 38px);
    font-weight: 700;
    line-height: 1.24;
}

.tnBerry {
    color: var(--tnBlue);
    text-decoration: underline;
    text-decoration-color: var(--tnHaze);
    text-decoration-thickness: 6px;
    text-underline-offset: 2px;
}

.tnCarrot {
    color: var(--tnOrange);
}

.tnPlayer {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
    padding: 0 16px;
}

#tnFrame {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 0 0 1px var(--tnLine), 0 22px 44px -30px rgba(29, 37, 80, .55);
}

#tnVideo {
    display: block;
    width: 100%;
    height: auto;
}

#tnStart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    min-width: 200px;
    padding: 18px 22px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--tnWhite);
    border-radius: 8px;
    border-top: 4px solid var(--tnOrange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: opacity .25s ease, visibility .25s ease;
}

.tnStartDots {
    display: flex;
    gap: 6px;
    height: 16px;
    align-items: center;
}

.tnStartDot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--tnBlue);
    animation: tnHop 1.2s ease-in-out infinite;
}

.tnStartDot:nth-child(2) {
    animation-delay: .15s;
}

.tnStartDot:nth-child(3) {
    animation-delay: .3s;
}

.tnStartDot:nth-child(4) {
    animation-delay: .45s;
    background: var(--tnOrange);
}

@keyframes tnHop {
    0%,
    100% {
        transform: translateY(2px);
    }
    50% {
        transform: translateY(-4px);
    }
}

.tnStartLabel {
    font-size: 17px;
    font-weight: 700;
}

.tnStartSub {
    font-size: 12px;
    color: var(--tnSlate);
}

#tnStart:hover {
    box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

.tnStartGone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#tnWide {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 20;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tnWhite);
    border: 0;
    border-radius: 6px;
    opacity: .85;
    cursor: pointer;
}

#tnWide:hover {
    opacity: 1;
}

#tnWide svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--tnBlue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#tnFrame:fullscreen,
#tnFrame:-webkit-full-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

#tnFrame:fullscreen #tnVideo,
#tnFrame:-webkit-full-screen #tnVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tnOrder {
    padding: 50px 16px 8px;
}

.tnOrderBox {
    max-width: 560px;
    margin: 0 auto;
}

.tnForm {
    position: relative;
    padding: 30px 26px 24px;
    background: var(--tnWhite);
    border: 1px solid var(--tnLine);
    border-radius: 8px;
}

.tnFormTitle {
    margin: 0 0 18px;
    text-align: center;
    font-family: var(--tnSerif);
    font-size: 25px;
}

.tnFormPic {
    margin: 0 0 14px;
    padding: 14px;
    background: var(--tnHaze);
    border-radius: 8px;
}

.tnFormPic img {
    width: auto;
    max-height: 290px;
    margin: 0 auto;
    object-fit: contain;
}

.tnFormStock {
    text-align: center;
    margin-bottom: 18px;
}

.tnFormTag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #a2560f;
}

.tnFormTagDot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tnOrange);
}

.tnFormSkip {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.tnFormField {
    margin-bottom: 14px;
}

.tnFormLabel {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--tnSlate);
}

.tnFormInput {
    width: 100%;
    padding: 13px 14px;
    font: inherit;
    color: var(--tnNavy);
    background: var(--tnPaper);
    border: 1px solid var(--tnLine);
    border-radius: 6px;
    outline: none;
}

.tnFormInput:focus {
    border-color: var(--tnBlue);
    background: var(--tnWhite);
}

.tnFormPhone {
    letter-spacing: .03em;
}

.tnFormButton {
    width: 100%;
    margin-top: 6px;
    padding: 15px;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: var(--tnBlue);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s ease;
}

.tnFormButton:hover {
    background: var(--tnBlueHi);
}

.tnFormFoot {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12.5px;
    color: var(--tnSlate);
}

.tnBottom {
    margin-top: 50px;
    border-top: 3px double var(--tnLine);
    background: var(--tnWhite);
}

.tnBottomIn {
    max-width: 860px;
    margin: 0 auto;
    padding: 26px 16px 30px;
    text-align: center;
}

.tnBottomNav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    margin-bottom: 14px;
}

.tnBottomNav a {
    font-size: 14px;
    color: var(--tnBlue);
    text-decoration: none;
}

.tnBottomNav a:hover {
    color: var(--tnOrange);
}

.tnBottomCopy {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--tnSlate);
}

.tnBottomNote {
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
    color: var(--tnSlate);
}

@media (max-width: 600px) {
    #tnStart {
        min-width: 0;
        padding: 12px 16px 10px;
    }
    .tnStartSub {
        display: none;
    }
    .tnForm {
        padding: 24px 16px 20px;
    }
    .tnFormPic img {
        max-height: 220px;
    }
}
