.hero {
    padding: 88px 0 0;
}

.hero h1 {
    margin: 0;
    max-width: 14ch;
    font-family: var(--serif);
    font-size: clamp(48px, 7.4vw, 96px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.025em;
}

.hero-sub {
    max-width: 46ch;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero-stat {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.hero-stat strong {
    color: var(--text);
    font-weight: 600;
}

.sheet {
    margin-top: 72px;
    padding: 18px 0 64px;
    overflow: hidden;
}

.strip {
    position: relative;
    padding: 26px 0;
    background:
        radial-gradient(circle, var(--backdrop) 3.2px, transparent 3.6px) 0 9px / 22px 22px repeat-x,
        radial-gradient(circle, var(--backdrop) 3.2px, transparent 3.6px) 0 calc(100% - 9px) / 22px 22px repeat-x,
        var(--strip);
    transform: rotate(-1.2deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.strip+.strip {
    margin-top: 26px;
    transform: rotate(.8deg);
}

.strip-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: roll 70s linear infinite;
}

.strip.reverse .strip-track {
    animation-direction: reverse;
    animation-duration: 85s;
}

@keyframes roll {
    to {
        transform: translateX(-50%);
    }
}

.frame {
    flex: 0 0 auto;
    width: 172px;
    margin: 0;
}

.frame-img {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 2px;
    background: #2B3340;
}

.frame-img img,
.frame-img svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.frame figcaption {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    color: #6E7A8A;
    font-size: 11.5px;
    letter-spacing: .02em;
    white-space: nowrap;
}

.frame figcaption span:first-child {
    flex: 0 0 auto;
    color: #C9A96E;
}

.frame figcaption span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.frame-img img { transition: filter .2s; }
.frame:hover .frame-img img { filter: brightness(1.08); }

section {
    padding: 112px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-head h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(36px, 4.6vw, 56px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.section-head p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
    border-top: 1px solid var(--line);
}

.steps li {
    position: relative;
    padding: 28px 28px 0 0;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    display: block;
    margin-bottom: 20px;
    font-family: var(--serif);
    font-size: 64px;
    line-height: 1;
    color: var(--key);
}

.steps h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 600;
}

.steps p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.likeness {
    background: var(--backdrop-deep);
    border-block: 1px solid var(--line);
}

.likeness-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}

.likeness h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -.02em;
}

.likeness p {
    color: var(--muted);
    font-size: 18px;
    max-width: 52ch;
}

.likeness ul {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.likeness li {
    position: relative;
    padding: 12px 0 12px 30px;
    border-top: 1px solid var(--line);
}

.likeness li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 21px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--key);
    border-bottom: 2px solid var(--key);
    transform: rotate(-45deg);
}

.match {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.match figure {
    margin: 0;
}

.match .frame-img {
    border-radius: 4px;
}

.match figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(34, 41, 51, .55);
}

.plan.featured {
    border-color: var(--key);
    background: linear-gradient(180deg, rgba(242, 226, 194, .08), rgba(34, 41, 51, .55) 40%);
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--key);
    color: #1A1F27;
    font-size: 13px;
    font-weight: 700;
}

.plan h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 14px 0 4px;
}

.plan-price strong {
    font-family: var(--serif);
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.02em;
}

.plan-price span {
    color: var(--muted);
    font-size: 15px;
}

.plan-lede {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 15px;
}

.plan ul {
    flex: 1;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.plan li {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid rgba(49, 58, 70, .7);
    font-size: 15.5px;
}

.plan li::before {
    content: "";
    flex: 0 0 10px;
    height: 6px;
    margin-top: 8px;
    border-left: 2px solid var(--key);
    border-bottom: 2px solid var(--key);
    transform: rotate(-45deg);
}

.plan li strong {
    font-weight: 600;
}

.team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.team h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.team p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 15.5px;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 15.5px;
}

.guarantee svg {
    flex: 0 0 auto;
    color: var(--key);
}

.compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.compare th,
.compare td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.compare thead th {
    padding-top: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
}

.compare thead th:nth-child(2) {
    color: var(--key);
}

.compare tbody th {
    width: 22%;
    font-weight: 600;
}

.compare td:nth-child(2) {
    background: rgba(242, 226, 194, .05);
}

.compare td:nth-child(3) {
    color: var(--muted);
}

.table-scroll {
    overflow-x: auto;
}

.faq {
    max-width: 820px;
}

.faq details {
    border-top: 1px solid var(--line);
}

.faq details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    font-size: 19px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    flex: 0 0 auto;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    color: var(--key);
    transition: transform .2s;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    margin: -6px 0 24px;
    max-width: 66ch;
    color: var(--muted);
}

.closing {
    text-align: center;
}

.closing h2 {
    margin: 0 auto;
    max-width: 16ch;
    font-family: var(--serif);
    font-size: clamp(40px, 5.6vw, 72px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.025em;
}

.closing p {
    margin: 20px auto 34px;
    max-width: 44ch;
    color: var(--muted);
    font-size: 18px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.open {
    display: flex;
}

.modal-scrim {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 14, .72);
    backdrop-filter: blur(4px);
}

.modal-card {
    position: relative;
    width: min(460px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 34px 32px 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #1F252E;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
    animation: rise .22s ease-out;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.modal-close:hover {
    background: var(--surface);
    color: var(--text);
}

.modal h3 {
    margin: 0;
    padding-right: 30px;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.015em;
}

.modal p {
    color: var(--muted);
    font-size: 16px;
}

.order {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 22px 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(20, 25, 32, .6);
}

.order strong {
    display: block;
    font-weight: 600;
}

.order span {
    color: var(--muted);
    font-size: 14.5px;
}

.order-price {
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1;
}

.order-price s {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 14px;
    text-align: right;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14.5px;
    font-weight: 600;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--backdrop-deep);
    color: var(--text);
}

.field textarea {
    height: auto;
    min-height: 96px;
    padding: 12px 16px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--key);
    box-shadow: 0 0 0 3px rgba(242, 226, 194, .18);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-error {
    min-height: 22px;
    margin: 4px 0 10px;
    color: var(--err);
    font-size: 14.5px;
}

.fine {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13.5px;
    text-align: center;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.done-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(156, 211, 168, .14);
    color: var(--ok);
}

.perk {
    margin: 20px 0 24px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(242, 226, 194, .08);
    border: 1px solid rgba(242, 226, 194, .3);
}

.perk strong {
    display: block;
    color: var(--key);
    font-size: 17px;
}

.perk span {
    color: var(--muted);
    font-size: 15px;
}

@media (max-width: 960px) {
    .steps {
        grid-template-columns: 1fr 1fr;
        row-gap: 36px;
    }

    .plans {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .likeness-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 680px) {
    .hero {
        padding-top: 56px;
    }

    .hero-sub {
        font-size: 18px;
    }

    section {
        padding: 80px 0;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .frame {
        width: 132px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .modal-card {
        padding: 30px 22px 24px;
    }

    .compare th,
    .compare td {
        padding: 14px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .strip-track {
        animation: none;
    }

    .modal-card {
        animation: none;
    }
}
