.travelmatch-page {
    min-height: 80vh;
    padding: 58px 20px 92px;
    color: var(--tz-ink, #071a33);
    background:
        radial-gradient(circle at 90% 0%, rgba(6, 182, 212, 0.1), transparent 27%),
        radial-gradient(circle at 7% 27%, rgba(37, 99, 235, 0.08), transparent 24%),
        var(--tz-cloud, #f5f8fc);
}

.travelmatch-shell {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.travelmatch-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: end;
    gap: 55px;
    margin-bottom: 34px;
}

.travelmatch-kicker {
    margin: 0 0 12px;
    color: var(--tz-blue-dark, #1746b5);
    font-size: 0.74rem;
    font-weight: 820;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.travelmatch-hero h1 {
    max-width: 780px;
    margin: 0 0 17px;
    color: var(--tz-ink, #071a33);
    font-size: clamp(2.55rem, 5.8vw, 5rem);
    font-weight: 820;
    line-height: 0.99;
    letter-spacing: -0.055em;
}

.travelmatch-hero-copy > p:last-child {
    max-width: 740px;
    margin: 0;
    color: var(--tz-muted, #617189);
    font-size: 1.04rem;
    line-height: 1.66;
}

.travelmatch-promise {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px;
    border: 1px solid #cfe0ee;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--tz-shadow-sm, 0 8px 24px rgba(7, 26, 51, 0.07));
}

.travelmatch-promise-number {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 57px;
    height: 57px;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(145deg, var(--tz-blue, #2563eb), var(--tz-blue-dark, #1746b5));
    font-size: 1.55rem;
    font-weight: 850;
}

.travelmatch-promise strong,
.travelmatch-promise p {
    display: block;
}

.travelmatch-promise strong {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.travelmatch-promise p {
    margin: 0;
    color: var(--tz-muted, #617189);
    font-size: 0.75rem;
    line-height: 1.45;
}

.travelmatch-quiz {
    padding: 28px;
    border: 1px solid var(--tz-line, #dfe7f1);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(7, 26, 51, 0.11);
}

.travelmatch-progress-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 11px;
}

.travelmatch-progress-head > div > span,
.travelmatch-progress-head > div strong {
    display: block;
}

.travelmatch-progress-head > div > span {
    margin-bottom: 3px;
    color: var(--tz-muted, #617189);
    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.travelmatch-progress-head > div strong {
    color: var(--tz-ink-soft, #19324f);
    font-size: 0.83rem;
}

#travelmatch-progress-value {
    color: var(--tz-blue-dark, #1746b5);
    font-size: 0.76rem;
    font-weight: 820;
}

.travelmatch-progress-track {
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #e7edf5;
}

.travelmatch-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--tz-blue, #2563eb), var(--tz-cyan, #06b6d4));
    transition: width 250ms ease;
}

.travelmatch-question {
    padding: 41px 0 29px;
}

.travelmatch-question-head {
    max-width: 720px;
    margin-bottom: 25px;
}

.travelmatch-question-number {
    margin: 0 0 8px;
    color: var(--tz-blue-dark, #1746b5);
    font-size: 0.68rem;
    font-weight: 820;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.travelmatch-question h2 {
    margin: 0 0 9px;
    color: var(--tz-ink, #071a33);
    font-size: clamp(1.6rem, 3.2vw, 2.25rem);
    line-height: 1.13;
    letter-spacing: -0.025em;
}

.travelmatch-question-description {
    margin: 0;
    color: var(--tz-muted, #617189);
    font-size: 0.87rem;
    line-height: 1.55;
}

.travelmatch-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.travelmatch-option-grid.is-themes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.travelmatch-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    min-height: 77px;
    padding: 14px;
    border: 1px solid var(--tz-line, #dfe7f1);
    border-radius: 15px;
    color: var(--tz-ink-soft, #19324f);
    background: #fff;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.travelmatch-option:hover {
    border-color: #b8cbe4;
    box-shadow: var(--tz-shadow-sm, 0 8px 24px rgba(7, 26, 51, 0.07));
    transform: translateY(-1px);
}

.travelmatch-option:has(input:checked) {
    border-color: var(--tz-blue, #2563eb);
    background: #edf4ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.09);
}

.travelmatch-option:has(input:focus-visible) {
    outline: 3px solid rgba(37, 99, 235, 0.18);
    outline-offset: 2px;
}

.travelmatch-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.travelmatch-option-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 41px;
    height: 41px;
    border-radius: 12px;
    background: var(--tz-cloud, #f5f8fc);
    font-size: 1.1rem;
}

.travelmatch-option:has(input:checked) .travelmatch-option-icon {
    background: #dceaff;
}

.travelmatch-option-copy {
    min-width: 0;
}

.travelmatch-option-copy strong,
.travelmatch-option-copy span {
    display: block;
}

.travelmatch-option-copy strong {
    margin-bottom: 3px;
    font-size: 0.84rem;
}

.travelmatch-option-copy span {
    color: var(--tz-muted, #617189);
    font-size: 0.7rem;
    line-height: 1.4;
}

.travelmatch-option-check {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid #c9d5e4;
    border-radius: 50%;
    color: transparent;
    background: #fff;
    font-size: 0.65rem;
    font-weight: 850;
}

.travelmatch-option:has(input:checked) .travelmatch-option-check {
    color: #fff;
    border-color: var(--tz-blue, #2563eb);
    background: var(--tz-blue, #2563eb);
}

.travelmatch-selection-count {
    margin: 13px 0 0;
    color: var(--tz-muted, #617189);
    font-size: 0.72rem;
}

.travelmatch-error {
    margin: 0 0 17px;
    padding: 12px 14px;
    border: 1px solid #f0c7c4;
    border-radius: 12px;
    color: #9f332e;
    background: #fff2f1;
    font-size: 0.8rem;
}

.travelmatch-error[hidden] {
    display: none;
}

.travelmatch-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--tz-line, #dfe7f1);
}

.travelmatch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 13px;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 780;
    cursor: pointer;
}

.travelmatch-button-primary {
    margin-left: auto;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--tz-blue, #2563eb), var(--tz-blue-dark, #1746b5));
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.travelmatch-button-primary:disabled {
    opacity: 0.7;
    cursor: wait;
}

.travelmatch-button-secondary {
    border: 1px solid var(--tz-line, #dfe7f1);
    color: var(--tz-ink-soft, #19324f);
    background: var(--tz-cloud, #f5f8fc);
}

.travelmatch-result {
    margin-top: 34px;
    scroll-margin-top: 100px;
}

.travelmatch-result[hidden] {
    display: none;
}

.travelmatch-result:focus {
    outline: none;
}

.travelmatch-result-intro {
    margin-bottom: 19px;
    text-align: center;
}

.travelmatch-result-intro h2 {
    margin: 0 0 8px;
    color: var(--tz-ink, #071a33);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    letter-spacing: -0.04em;
}

.travelmatch-result-intro p {
    max-width: 710px;
    margin: 0 auto;
    color: var(--tz-muted, #617189);
    line-height: 1.6;
}

.travelmatch-primary-match {
    overflow: hidden;
    border: 1px solid var(--tz-line, #dfe7f1);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(7, 26, 51, 0.14);
}

.travelmatch-match-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 28px 31px;
    color: #fff;
    background:
        radial-gradient(circle at 84% 10%, rgba(6, 182, 212, 0.31), transparent 34%),
        linear-gradient(135deg, #071a33, #164e8b);
}

.travelmatch-match-title {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.travelmatch-flag {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 62px;
    height: 44px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
}

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

.travelmatch-match-title small,
.travelmatch-match-title h3,
.travelmatch-match-title p {
    display: block;
}

.travelmatch-match-title small {
    margin-bottom: 4px;
    color: #91e8f7;
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.travelmatch-match-title h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1;
}

.travelmatch-match-title p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
}

.travelmatch-score {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: conic-gradient(#70e1f1 var(--score, 0%), rgba(255, 255, 255, 0.13) 0);
}

.travelmatch-score::before {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: #123968;
}

.travelmatch-score span {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 850;
}

.travelmatch-score small {
    position: relative;
    z-index: 1;
    margin-top: -16px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.55rem;
    text-transform: uppercase;
}

.travelmatch-match-body {
    padding: 30px;
}

.travelmatch-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.travelmatch-reasons li {
    padding: 7px 10px;
    border-radius: 99px;
    color: var(--tz-blue-dark, #1746b5);
    background: #edf4ff;
    font-size: 0.7rem;
    font-weight: 720;
}

.travelmatch-reasons li::before {
    content: '✓';
    margin-right: 6px;
}

.travelmatch-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.travelmatch-fact {
    padding: 13px;
    border: 1px solid #e8eef6;
    border-radius: 13px;
    background: var(--tz-cloud, #f5f8fc);
}

.travelmatch-fact small,
.travelmatch-fact strong {
    display: block;
}

.travelmatch-fact small {
    margin-bottom: 4px;
    color: var(--tz-muted, #617189);
    font-size: 0.65rem;
    font-weight: 720;
}

.travelmatch-fact strong {
    overflow: hidden;
    color: var(--tz-ink-soft, #19324f);
    font-size: 0.81rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.travelmatch-description {
    margin: 0 0 24px;
    padding: 19px;
    border-left: 3px solid var(--tz-cyan, #06b6d4);
    border-radius: 0 14px 14px 0;
    color: var(--tz-ink-soft, #19324f);
    background: #f5fbfd;
    line-height: 1.7;
}

.travelmatch-result-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.travelmatch-result-link,
.travelmatch-save-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 11px 13px;
    border-radius: 12px;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 760;
    text-align: center;
    text-decoration: none;
}

.travelmatch-result-link {
    border: 1px solid var(--tz-line, #dfe7f1);
    color: var(--tz-ink-soft, #19324f);
    background: #fff;
}

.travelmatch-result-link:hover,
.travelmatch-result-link:focus-visible {
    color: var(--tz-blue-dark, #1746b5);
    border-color: #b9cce4;
}

.travelmatch-save-button {
    border: 0;
    color: #fff;
    background: var(--tz-blue, #2563eb);
    cursor: pointer;
}

.travelmatch-comparison {
    margin-top: 27px;
    padding: 25px;
    border: 1px solid var(--tz-line, #dfe7f1);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--tz-shadow-sm, 0 8px 24px rgba(7, 26, 51, 0.07));
}

.travelmatch-comparison h3 {
    margin: 0 0 4px;
    color: var(--tz-ink, #071a33);
    font-size: 1.2rem;
}

.travelmatch-comparison > p {
    margin: 0 0 18px;
    color: var(--tz-muted, #617189);
    font-size: 0.78rem;
}

.travelmatch-table-wrap {
    overflow-x: auto;
}

.travelmatch-table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.78rem;
}

.travelmatch-table th,
.travelmatch-table td {
    padding: 12px;
    border-bottom: 1px solid var(--tz-line, #dfe7f1);
    text-align: left;
}

.travelmatch-table thead th {
    color: var(--tz-ink, #071a33);
    background: var(--tz-cloud, #f5f8fc);
    font-size: 0.82rem;
}

.travelmatch-table thead th:first-child {
    border-radius: 12px 0 0 0;
}

.travelmatch-table thead th:last-child {
    border-radius: 0 12px 0 0;
}

.travelmatch-table tbody th {
    color: var(--tz-muted, #617189);
    font-weight: 720;
}

.travelmatch-table td {
    color: var(--tz-ink-soft, #19324f);
}

.travelmatch-offers {
    margin-top: 20px;
    border: 1px solid var(--tz-line, #dfe7f1);
    border-radius: 14px;
}

.travelmatch-offers summary {
    padding: 14px 16px;
    color: var(--tz-ink-soft, #19324f);
    font-size: 0.79rem;
    font-weight: 760;
    cursor: pointer;
}

.travelmatch-affiliate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 14px 0;
    border-top: 1px solid var(--tz-line, #dfe7f1);
}

.travelmatch-affiliate-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid var(--tz-line, #dfe7f1);
    border-radius: 10px;
    color: var(--tz-ink-soft, #19324f);
    background: var(--tz-cloud, #f5f8fc);
    font-size: 0.72rem;
    font-weight: 720;
    text-decoration: none;
}

.travelmatch-affiliate-disclosure {
    margin: 0;
    padding: 12px 14px 14px;
    color: var(--tz-muted, #617189);
    font-size: 0.66rem;
    line-height: 1.5;
}

.travelmatch-restart {
    display: block;
    min-height: 43px;
    margin: 18px auto 0;
    padding: 10px 15px;
    border: 1px solid var(--tz-line, #dfe7f1);
    border-radius: 11px;
    color: var(--tz-ink-soft, #19324f);
    background: var(--tz-cloud, #f5f8fc);
    font: inherit;
    font-size: 0.76rem;
    font-weight: 740;
    cursor: pointer;
}

.travelmatch-methodology-note {
    margin: 15px auto 0;
    color: var(--tz-muted, #617189);
    font-size: 0.7rem;
    line-height: 1.55;
    text-align: center;
}

.travelmatch-continuation {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid #cfe0f4;
    border-radius: 18px;
    background: linear-gradient(145deg, #f7fbff, #eef6ff);
}

.travelmatch-continuation .travelmatch-kicker {
    margin-bottom: 5px;
}

.travelmatch-continuation h4 {
    margin: 0 0 7px;
    color: var(--tz-ink, #071a33);
    font-size: 1.15rem;
}

.travelmatch-continuation > p:not(.travelmatch-kicker) {
    margin: 0;
    color: var(--tz-muted, #617189);
    font-size: 0.84rem;
    line-height: 1.55;
}

.travelmatch-next-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 16px;
}

.travelmatch-result-link.is-primary {
    color: #fff;
    border-color: var(--tz-blue, #2563eb);
    background: var(--tz-blue, #2563eb);
}

.travelmatch-method {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    align-items: center;
    gap: 45px;
    margin-top: 55px;
    padding: 30px;
    border-radius: 22px;
    color: #fff;
    background: var(--tz-ink, #071a33);
}

.travelmatch-method .travelmatch-kicker {
    color: #91e8f7;
}

.travelmatch-method h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.12;
}

.travelmatch-method > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.67);
    line-height: 1.65;
}

.travelmatch-submit-error {
    padding: 40px 22px;
    border: 1px dashed #cbd7e6;
    border-radius: 20px;
    color: var(--tz-muted, #617189);
    background: #fff;
    text-align: center;
}

.travelmatch-submit-error strong {
    display: block;
    margin-bottom: 7px;
    color: var(--tz-ink, #071a33);
}

@media (max-width: 900px) {
    .travelmatch-hero {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 22px;
    }

    .travelmatch-promise {
        max-width: 420px;
    }

    .travelmatch-option-grid.is-themes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .travelmatch-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .travelmatch-result-actions,
    .travelmatch-affiliate-grid,
    .travelmatch-next-steps {
        grid-template-columns: 1fr;
    }

    .travelmatch-method {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .travelmatch-page {
        padding: 39px 15px 72px;
    }

    .travelmatch-hero h1 {
        font-size: clamp(2.45rem, 12vw, 3.35rem);
    }

    .travelmatch-promise {
        padding: 17px;
    }

    .travelmatch-quiz {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .travelmatch-question {
        padding: 31px 0 24px;
    }

    .travelmatch-option-grid,
    .travelmatch-option-grid.is-themes {
        grid-template-columns: 1fr;
    }

    .travelmatch-navigation {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .travelmatch-button,
    .travelmatch-button-primary {
        width: 100%;
        margin: 0;
    }

    .travelmatch-match-head {
        align-items: flex-start;
        padding: 22px 18px;
    }

    .travelmatch-match-title {
        align-items: flex-start;
    }

    .travelmatch-score {
        width: 71px;
        height: 71px;
    }

    .travelmatch-score span {
        font-size: 1rem;
    }

    .travelmatch-score small {
        display: none;
    }

    .travelmatch-match-body {
        padding: 20px 16px;
    }

    .travelmatch-facts {
        grid-template-columns: 1fr;
    }

    .travelmatch-comparison {
        padding: 19px 15px;
    }

    .travelmatch-method {
        margin-top: 40px;
        padding: 23px 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .travelmatch-progress-track span,
    .travelmatch-option {
        transition-duration: 0.01ms;
    }
}
