:root {
    --bg: #f5eeed;
    --surface: #fffdfc;
    --surface-soft: #fbf7f6;
    --line: #eadedd;
    --text: #191718;
    --text-soft: #746c6e;
    --rose: #b76675;
    --rose-dark: #9f5364;
    --rose-deep: #854956;
    --rose-pale: #f6e7ea;
    --gray-pill: #989898;
    --shadow: 0 28px 70px rgba(118, 76, 84, 0.16);
    --shadow-soft: 0 18px 42px rgba(118, 76, 84, 0.12);
    --max-width: 1500px;
}

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

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 238, 237, 0.94)), var(--bg);
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    line-height: 1.4;
}

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

button,
input,
textarea {
    font: inherit;
}

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

button,
a,
input,
textarea {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(183, 102, 117, 0.28);
    outline-offset: 3px;
}

.page-shell {
    min-height: 100vh;
}

.hero {
    padding: 8px;
}

.hero__stage {
    width: min(100%, var(--max-width));
    min-height: calc(100vh - 16px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(460px, 0.86fr);
    gap: 38px;
    align-items: stretch;
    padding: 34px 36px 28px 38px;
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 253, 252, 0.95) 68%,
        rgba(249, 242, 241, 0.98) 100%
    );
    box-shadow: var(--shadow);
}

.hero__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hero__badge,
.section-heading__eyebrow,
.modal__eyebrow,
.quiz-question__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0;
    border-radius: 999px;
    font-weight: 800;
}

.hero__badge {
    padding: 12px 22px;
    color: #fff;
    background: linear-gradient(180deg, #c87586 0%, #a65768 100%);
    box-shadow: 0 12px 26px rgba(166, 87, 104, 0.24);
    font-size: 1rem;
}

.hero h1 {
    max-width: 760px;
    margin: 28px 0 0;
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
    overflow-wrap: normal;
}

.hero h1 span {
    display: block;
    color: var(--rose);
}

.hero__intro {
    width: min(100%, 680px);
    margin-top: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(116, 108, 110, 0.16);
}

.hero__intro p {
    margin: 0 0 8px;
    color: var(--text-soft);
    font-size: 1.35rem;
    font-weight: 600;
}

.hero__intro strong {
    display: block;
    margin-top: 6px;
    color: #242122;
    font-size: 1.22rem;
    font-weight: 800;
}

.symptom-card {
    width: min(100%, 700px);
    margin-top: 28px;
    padding: 24px 24px 18px;
    border: 1px solid rgba(183, 102, 117, 0.08);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 22px 48px rgba(78, 61, 65, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.symptom-card__title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 16px;
    color: var(--rose-dark);
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-size: 1.16rem;
    font-weight: 800;
}

.symptom-card__icon {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(180deg, #c87787 0%, #a45666 100%);
    box-shadow: 0 12px 24px rgba(166, 87, 104, 0.2);
}

.symptom-card__icon svg,
.hero__cta-icon svg,
.hero__meta svg,
.quiz-aside__contact-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.symptom-list {
    list-style: none;
    display: grid;
    margin: 0;
    padding: 0;
}

.symptom-list li {
    min-height: 82px;
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid rgba(116, 108, 110, 0.11);
    font-size: 1.16rem;
    font-weight: 700;
}

.symptom-list li img {
    width: 136px;
    height: 62px;
    object-fit: cover;
    border-radius: 8px;
}

.symptom-list li:first-child {
    border-top: 0;
}

.symptom-list__thumb {
    width: 136px;
    height: 62px;
    display: block;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-color: #f1e8e6;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.symptom-list__thumb--swollen {
    background-image: url("assets/bleph/swollen.jpg");
    background-size: 245%;
    background-position: 50% 32%;
}

.symptom-list__thumb--morning {
    background-image: url("assets/bleph/hero-before.png");
    background-size: 245%;
    background-position: 50% 32%;
}

.symptom-list__thumb--tired {
    background-image: url("assets/bleph/symptoms-grid.png");
    background-size: 210%;
    background-position: 0 100%;
}

.symptom-list__thumb--upper {
    background-image: url("assets/bleph/symptoms-grid.png");
    background-size: 210%;
    background-position: 100% 0;
}

.hero__cta {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    padding: 12px 14px 12px 26px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(180deg, #bf7182 0%, #9f5364 100%);
    box-shadow: 0 18px 30px rgba(159, 83, 100, 0.24);
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible,
.quiz-nav:hover:not(:disabled),
.form-submit:hover:not(:disabled),
.modal__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 21px 34px rgba(159, 83, 100, 0.28);
}

.hero__cta span:first-child {
    flex: 1 1 auto;
    text-align: center;
}

.hero__cta-icon {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--rose-dark);
    background: rgba(255, 255, 255, 0.94);
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: 46px;
    margin-top: 18px;
    padding: 0 8px;
}

.hero__meta p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--text-soft);
    font-size: 1rem;
    font-weight: 800;
}

.hero__meta span {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--rose-dark);
}

.hero__meta svg {
    width: 25px;
    height: 25px;
}

.hero__visual {
    min-width: 0;
}

.hero__compare {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 760px;
    overflow: hidden;
    border-radius: 30px;
    background: #eee5e4;
    box-shadow: inset 0 0 0 1px rgba(121, 78, 86, 0.08);
}

.hero__compare::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 43%;
    background: linear-gradient(
        180deg,
        rgba(181, 102, 117, 0) 0%,
        rgba(181, 102, 117, 0.78) 54%,
        rgba(151, 78, 94, 0.96) 100%
    );
}

.hero__compare-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 8%;
}

.hero__compare-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 4;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.9) 54%,
        rgba(255, 255, 255, 0) 66%
    );
    box-shadow: 0 0 16px rgba(96, 56, 64, 0.18);
}

.hero__label {
    position: absolute;
    top: 34px;
    z-index: 5;
    min-width: 72px;
    padding: 12px 18px;
    border-radius: 16px;
    color: #fff;
    text-align: center;
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(52, 39, 42, 0.14);
}

.hero__label--before {
    left: 34px;
    background: rgba(144, 144, 144, 0.92);
}

.hero__label--after {
    right: 34px;
    background: rgba(190, 102, 119, 0.94);
}

.hero__video {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    z-index: 5;
    color: #fff;
}

.hero__play {
    width: 94px;
    height: 94px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 50%;
    color: var(--rose-dark);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 32px rgba(70, 43, 49, 0.2);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.hero__play:hover,
.hero__play:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(70, 43, 49, 0.24);
}

.hero__play svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.hero__video strong {
    display: block;
    max-width: 500px;
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0;
}

.hero__video p {
    max-width: 540px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.46;
}

.quiz-section,
.page-footer {
    width: min(100%, 1220px);
    margin: 0 auto;
}

.quiz-section {
    padding: 82px 20px 44px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 30px;
}

.section-heading__eyebrow,
.modal__eyebrow,
.quiz-question__eyebrow {
    margin-bottom: 16px;
    padding: 9px 16px;
    color: var(--rose-dark);
    background: rgba(183, 102, 117, 0.1);
    font-size: 0.9rem;
}

.section-heading h2 {
    margin: 0;
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-size: 2.8rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.section-heading p {
    margin: 16px 0 0;
    color: var(--text-soft);
    font-size: 1.04rem;
    line-height: 1.62;
}

.quiz-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.48fr);
    gap: 24px;
    align-items: start;
}

.quiz-card,
.quiz-aside,
.modal__dialog {
    border: 1px solid rgba(183, 102, 117, 0.1);
    border-radius: 28px;
    background: rgba(255, 253, 252, 0.98);
    box-shadow: var(--shadow-soft);
}

.quiz-card {
    overflow: hidden;
}

.quiz-progress {
    display: grid;
    gap: 12px;
    padding: 28px 28px 0;
}

.quiz-progress__bar {
    position: relative;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #eee3e2;
}

.quiz-progress__bar span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 17%;
    border-radius: inherit;
    background: linear-gradient(90deg, #cd8494 0%, #a75667 100%);
    transition: width 0.25s ease;
}

.quiz-progress p {
    margin: 0;
    color: var(--rose-dark);
    font-weight: 800;
}

#quizContent {
    padding: 22px 28px 0;
}

.quiz-question h3,
.quiz-form h3 {
    margin: 0;
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-size: 2.45rem;
    line-height: 1.12;
    letter-spacing: 0;
}

.quiz-question > p:not(.quiz-question__eyebrow):not(.quiz-hint),
.quiz-form > p:not(.quiz-question__eyebrow) {
    margin: 14px 0 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.quiz-options {
    display: grid;
    gap: 14px;
    margin: 26px 0;
}

.quiz-options--choice,
.quiz-options--visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quiz-option {
    position: relative;
    width: 100%;
    contain: paint;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    color: var(--text);
    text-align: left;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.quiz-option:hover,
.quiz-option:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(183, 102, 117, 0.34);
    box-shadow: 0 14px 24px rgba(183, 102, 117, 0.1);
}

.quiz-option.is-selected {
    border-color: rgba(183, 102, 117, 0.56);
    background: linear-gradient(180deg, #fff 0%, #fbf2f4 100%);
    box-shadow: 0 18px 30px rgba(183, 102, 117, 0.14);
}

.quiz-option--choice {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 18px;
}

.quiz-option--visual {
    display: grid;
    grid-template-columns: 22px minmax(112px, 142px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 176px;
    padding: 18px 24px 18px 18px;
    overflow: hidden;
}

.quiz-option__radio-slot {
    display: flex;
    justify-content: center;
}

.quiz-option__radio {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #e6dcde;
    box-shadow: inset 0 0 0 5px #fff;
}

.quiz-option.is-selected .quiz-option__radio {
    background: var(--rose-dark);
}

.quiz-option__media {
    display: grid;
    place-items: center;
    aspect-ratio: 208 / 170;
    width: 100%;
    max-width: 142px;
    min-height: 112px;
    justify-self: center;
    overflow: hidden;
}

.quiz-option__media img {
    width: 100%;
    max-width: 142px;
    aspect-ratio: 208 / 170;
    object-fit: contain;
}

.option-label {
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.32;
}

.quiz-option--visual .option-label {
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    min-width: 0;
    max-width: none;
    word-break: normal;
    overflow-wrap: normal;
}

.quiz-hint {
    margin: 0 0 8px;
    color: var(--text-soft);
    font-size: 0.94rem;
    font-weight: 700;
}

.quiz-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 22px 28px 28px;
    border-top: 1px solid rgba(183, 102, 117, 0.08);
}

@media (hover: none), (pointer: coarse) {
    .quiz-option:hover,
    .quiz-option:focus-visible {
        transform: none;
    }
}

.quiz-nav,
.form-submit,
.modal__button {
    border: 0;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        box-shadow 0.18s ease;
}

.quiz-nav,
.form-submit {
    min-width: 174px;
    padding: 16px 22px;
    border-radius: 999px;
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
}

.quiz-nav,
.form-submit,
.modal__button {
    color: #fff;
    background: linear-gradient(180deg, #bf7182 0%, #9f5364 100%);
    box-shadow: 0 16px 26px rgba(159, 83, 100, 0.22);
}

.quiz-nav--ghost {
    color: var(--text-soft);
    border: 1px solid #e5d2d6;
    background: transparent;
    box-shadow: none;
}

.quiz-nav:disabled,
.form-submit:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    transform: none;
    box-shadow: none;
}

.quiz-form {
    padding-bottom: 10px;
}

.quiz-form__benefits {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
}

.quiz-form__benefits li {
    position: relative;
    padding-left: 26px;
    font-weight: 800;
}

.quiz-form__benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rose);
}

.quiz-form__summary {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    padding: 20px;
    border: 1px solid rgba(183, 102, 117, 0.1);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(246, 231, 234, 0.72) 0%, rgba(255, 252, 252, 0.98) 100%);
}

.quiz-form__summary strong {
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
}

.quiz-form__summary ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.quiz-form__summary li {
    display: grid;
    gap: 4px;
    color: var(--text-soft);
}

.quiz-form__summary li strong {
    color: var(--text);
    font-size: 0.95rem;
}

.quiz-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.field {
    display: grid;
    gap: 8px;
}

.field--wide {
    grid-column: 1 / -1;
}

.field label {
    color: var(--text-soft);
    font-size: 0.94rem;
    font-weight: 800;
}

.field input,
.field textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #e5d2d6;
    border-radius: 16px;
    color: var(--text);
    background: #fff;
}

.field.has-error label {
    color: #9f3148;
}

.field.has-error input,
.field.has-error textarea {
    border-color: rgba(159, 49, 72, 0.7);
    background: #fff8f8;
    box-shadow: 0 0 0 4px rgba(159, 49, 72, 0.08);
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid rgba(183, 102, 117, 0.14);
    border-color: rgba(183, 102, 117, 0.42);
}

.field-error {
    margin: -2px 0 0;
    color: #9f3148;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.35;
}

.quiz-form__footer {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.quiz-form__buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.quiz-form__notes {
    display: grid;
    gap: 6px;
}

.quiz-status {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.quiz-aside {
    position: sticky;
    top: 18px;
    padding: 24px;
    color: #fff8f8;
    background: linear-gradient(180deg, #86505d 0%, #62404a 100%);
}

.quiz-aside__title {
    margin: 0;
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-size: 1.3rem;
    line-height: 1.2;
}

.quiz-aside__portrait {
    position: relative;
    min-height: 330px;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.quiz-aside__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.quiz-aside__portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27, 17, 19, 0.02) 32%, rgba(27, 17, 19, 0.72) 100%);
}

.quiz-aside__caption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 1;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(34, 20, 24, 0.58);
    font-weight: 800;
}

.quiz-aside__card {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.quiz-aside__card strong {
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
}

.quiz-aside__card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
}

.quiz-aside__card li {
    position: relative;
    padding-left: 18px;
}

.quiz-aside__card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f3c8cf;
}

.page-footer {
    padding: 10px 20px 40px;
}

.page-footer p {
    margin: 0;
    color: var(--text-soft);
    text-align: center;
    font-size: 0.94rem;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(36, 23, 26, 0.56);
    backdrop-filter: blur(5px);
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    padding: 30px;
}

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(183, 102, 117, 0.08);
    color: var(--text);
    font-size: 1.7rem;
    cursor: pointer;
}

.modal__dialog h3 {
    margin: 0;
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-size: 2.2rem;
    line-height: 1.12;
}

.modal__dialog p {
    margin: 16px 0 0;
    color: var(--text-soft);
    line-height: 1.56;
}

.modal__button {
    margin-top: 24px;
    padding: 15px 22px;
    border-radius: 16px;
    font-family: "Onest", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
}

.video-modal {
    z-index: 40;
}

.video-modal .modal__backdrop {
    background: rgba(18, 11, 13, 0.78);
}

.video-modal__dialog {
    width: min(100%, 430px);
    padding: 20px;
    color: #fff;
    background: #120d0f;
}

.video-modal__dialog .modal__eyebrow,
.video-modal__dialog h3 {
    color: #fff;
}

.video-modal__dialog h3 {
    padding-right: 46px;
    font-size: 1.5rem;
}

.video-modal__close {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.video-modal__frame {
    position: relative;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    aspect-ratio: 9 / 16;
}

.video-modal__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1260px) {
    .hero__stage {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero h1 {
        max-width: 760px;
        font-size: 4.35rem;
    }

    .hero__compare {
        min-height: 680px;
    }

    .quiz-layout {
        grid-template-columns: 1fr;
    }

    .quiz-aside {
        position: static;
    }
}

@media (max-width: 820px) {
    .hero {
        padding: 6px;
    }

    .hero__stage {
        gap: 20px;
        padding: 20px;
        border-radius: 28px;
    }

    .hero__badge {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .hero h1 {
        margin-top: 22px;
        font-size: clamp(2.35rem, 7.5vw, 3.2rem);
        line-height: 1.02;
    }

    .hero__intro {
        margin-top: 20px;
        padding-bottom: 18px;
    }

    .hero__intro p {
        font-size: 1.1rem;
    }

    .hero__intro strong {
        font-size: 1.04rem;
    }

    .symptom-card {
        margin-top: 20px;
        padding: 18px 16px 16px;
        border-radius: 22px;
    }

    .symptom-list li {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 16px;
        min-height: 76px;
        font-size: 1rem;
    }

    .symptom-list__thumb {
        width: 112px;
        height: 56px;
    }

    .hero__cta {
        min-height: 66px;
        border-radius: 16px;
    }

    .hero__cta-icon {
        width: 46px;
        height: 46px;
    }

    .hero__meta {
        display: grid;
        gap: 10px;
    }

    .hero__compare {
        min-height: 560px;
        border-radius: 24px;
    }

    .hero__label {
        top: 22px;
        min-width: 64px;
        padding: 10px 14px;
        border-radius: 14px;
        font-size: 0.9rem;
    }

    .hero__label--before {
        left: 22px;
    }

    .hero__label--after {
        right: 22px;
    }

    .hero__video {
        right: 24px;
        bottom: 24px;
        left: 24px;
    }

    .hero__play {
        width: 76px;
        height: 76px;
        margin-bottom: 16px;
    }

    .hero__video strong {
        font-size: 2.15rem;
    }

    .hero__video p {
        font-size: 1rem;
    }

    .section-heading h2,
    .quiz-question h3,
    .quiz-form h3 {
        font-size: 2rem;
    }

    .quiz-options--choice,
    .quiz-options--visual,
    .quiz-form__grid {
        grid-template-columns: 1fr;
    }

    .quiz-option--visual {
        grid-template-columns: 20px 118px minmax(0, 1fr);
        gap: 14px;
        min-height: 152px;
        padding: 14px 16px 14px 14px;
    }

    .quiz-option__media {
        max-width: 118px;
        min-height: 96px;
    }

    .quiz-option__media img {
        max-width: 118px;
    }
}

@media (max-width: 520px) {
    .hero__stage {
        padding: 16px;
    }

    .hero h1 {
        font-size: clamp(1.7rem, 8.5vw, 2.25rem);
    }

    .symptom-card__title {
        gap: 12px;
        font-size: 1rem;
    }

    .symptom-card__icon {
        width: 44px;
        height: 44px;
    }

    .symptom-list li {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 12px;
        min-height: 70px;
        font-size: 0.94rem;
    }

    .symptom-list__thumb {
        width: 88px;
        height: 50px;
    }

    .hero__compare {
        min-height: 470px;
    }

    .hero__compare-img {
        object-position: center 7%;
    }

    .hero__compare-line {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.9) 46%,
            rgba(255, 255, 255, 0) 56%
        );
    }

    .hero__video {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .hero__video strong {
        max-width: 300px;
        font-size: 1.72rem;
    }

    .hero__video p {
        margin-top: 10px;
        font-size: 0.9rem;
    }

    .hero__play {
        width: 64px;
        height: 64px;
    }

    .quiz-section {
        padding: 56px 14px 34px;
    }

    .quiz-card,
    .quiz-aside,
    .modal__dialog {
        border-radius: 22px;
    }

    .quiz-progress,
    #quizContent,
    .quiz-actions,
    .quiz-aside,
    .modal__dialog {
        padding-right: 18px;
        padding-left: 18px;
    }

    .quiz-actions {
        flex-direction: row;
        padding-top: 16px;
        padding-bottom: 18px;
    }

    .quiz-actions .quiz-nav,
    .form-submit,
    .modal__button {
        width: 100%;
    }

    .quiz-actions .quiz-nav {
        min-width: 0;
        padding: 14px 12px;
        font-size: 0.9rem;
    }

    .quiz-option--visual {
        grid-template-columns: 18px 84px minmax(0, 1fr);
        gap: 12px;
        min-height: 132px;
        padding: 12px;
    }

    .quiz-option__media {
        max-width: 84px;
        min-height: 74px;
    }

    .quiz-option__media img {
        max-width: 84px;
    }

    .quiz-option--visual .option-label {
        max-width: none;
        font-size: 0.96rem;
    }

    .quiz-form__buttons {
        flex-direction: column;
    }

    .video-modal {
        padding: 10px;
    }

    .video-modal__dialog {
        width: min(100%, 380px);
        padding: 16px;
    }

    .video-modal__dialog h3 {
        font-size: 1.24rem;
    }
}
