/* ============================================================
   CODESIX - MINIMAL LANDING + QUOTE WIZARD
   Loaded only by templates/landing.php. Depends on variables.css
   and base.css (via main.css) for tokens and the reset.
   ============================================================ */

.lp-body {
    /* DM Sans is what header/landing actually load - use it. */
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
    --lp-max: 720px;

    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    overflow-x: hidden;
}

.lp-body.qw-locked {
    overflow: hidden;
}

/* ── Ambient background ──────────────────────────────────── */
.lp-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.lp-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0;
    animation: lp-orb-in 1.8s var(--ease) .3s forwards;
}

.lp-bg__orb--1 {
    width: min(70vw, 760px);
    aspect-ratio: 1;
    top: -22%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(218, 11, 72, .22), transparent 68%);
}

.lp-bg__orb--2 {
    width: min(60vw, 620px);
    aspect-ratio: 1;
    bottom: -28%;
    right: -10%;
    background: radial-gradient(circle, rgba(0, 229, 255, .10), transparent 68%);
    animation-delay: .5s;
}

@keyframes lp-orb-in {
    to {
        opacity: 1;
    }
}

.lp-bg__noise {
    position: absolute;
    inset: -50%;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Stage ───────────────────────────────────────────────── */
.lp {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(64px, 12vh, 130px) var(--gutter) clamp(48px, 8vh, 90px);
}

.lp__inner {
    width: 100%;
    max-width: var(--lp-max);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Logo ────────────────────────────────────────────────── */
.lp__logo {
    width: 100%;
    margin: 0 0 clamp(28px, 5vh, 48px);
    line-height: 0;
    letter-spacing: normal;
}

.lp__logo-svg,
.lp__logo-img {
    width: clamp(260px, 74vw, 620px);
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 12px 48px rgba(218, 11, 72, .18));
}

/* ── Copy ────────────────────────────────────────────────── */
.lp__text {
    max-width: 52ch;
    margin: 0 auto;
    font-size: clamp(15.5px, 1.15vw + 11px, 19px);
    line-height: 1.7;
    color: var(--text-2);
    text-wrap: pretty;
}

/* ── Buttons ─────────────────────────────────────────────── */
.lp__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s3);
    margin-top: clamp(30px, 5vh, 46px);
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 30px;
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -.01em;
    line-height: 1;
    transition: transform var(--t-fast), background var(--t-fast),
        border-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
    will-change: transform;
}

.lp-btn svg {
    width: 18px;
    height: 18px;
    flex: none;
    transition: transform var(--t-base);
}

.lp-btn--primary {
    background: var(--crimson);
    color: #fff;
    box-shadow: var(--shadow-crimson);
}

.lp-btn--primary:hover {
    background: var(--crimson-bright);
    transform: translateY(-2px);
    box-shadow: var(--shadow-crimson-lg);
}

.lp-btn--primary:hover svg {
    transform: translateX(4px);
}

.lp-btn--ghost {
    background: transparent;
    color: var(--text-1);
    border: 1px solid var(--border-hover);
}

.lp-btn--ghost:hover {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .22);
    transform: translateY(-2px);
}

.lp-btn:active {
    transform: translateY(0) scale(.985);
}

.lp__note {
    margin-top: var(--s5);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-3);
}

/* ── Footer ──────────────────────────────────────────────── */
.lp-foot {
    position: relative;
    z-index: 1;
    padding: 0 var(--gutter) clamp(20px, 4vh, 34px);
    text-align: center;
}

.lp-foot p {
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: .01em;
}

/* ============================================================
   CONTACT SHEET
   ============================================================ */
.lp-contact {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s5);
    background: rgba(8, 8, 10, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.lp-contact[hidden] {
    display: none;
}

.lp-contact.is-open {
    opacity: 1;
}

.lp-contact__panel {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: clamp(28px, 4vw, 38px);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    transform: translateY(18px) scale(.97);
    opacity: 0;
    transition: transform .45s var(--ease), opacity .35s var(--ease);
}

.lp-contact.is-open .lp-contact__panel {
    transform: none;
    opacity: 1;
}

.lp-contact__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    color: var(--text-2);
    transition: background var(--t-fast), color var(--t-fast);
}

.lp-contact__close:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--text-1);
}

.lp-contact__close svg {
    width: 18px;
    height: 18px;
}

.lp-contact__title {
    font-size: clamp(22px, 2.4vw, 26px);
}

.lp-contact__desc {
    margin-top: 6px;
    font-size: 14px;
    color: var(--text-2);
}

.lp-contact__list {
    margin-top: var(--s5);
    display: flex;
    flex-direction: column;
    gap: var(--s2);
}

.lp-contact__item {
    display: flex;
    align-items: center;
    gap: var(--s4);
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .015);
    transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.lp-contact__item:hover {
    border-color: var(--border-active);
    background: var(--crimson-faint);
    transform: translateX(3px);
}

.lp-contact__icon {
    width: 40px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .04);
    color: var(--crimson);
}

.lp-contact__icon svg {
    width: 19px;
    height: 19px;
}

.lp-contact__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lp-contact__label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
}

.lp-contact__value {
    font-size: 15px;
    color: var(--text-1);
    overflow-wrap: anywhere;
}

.lp-contact__switch {
    display: block;
    width: 100%;
    margin-top: var(--s5);
    padding-top: var(--s4);
    border-top: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--text-2);
    text-align: center;
    transition: color var(--t-fast);
}

.lp-contact__switch:hover {
    color: var(--crimson);
}

/* ============================================================
   QUOTE WIZARD
   ============================================================ */
.qw {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0px, 3vh, 34px) clamp(0px, 3vw, 28px);
    background: rgba(8, 8, 10, .74);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.qw[hidden] {
    display: none;
}

.qw.is-open {
    opacity: 1;
}

.qw__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 660px;
    max-height: 100%;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: clamp(0px, 2vw, var(--r-xl));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(20px) scale(.975);
    opacity: 0;
    transition: transform .5s var(--ease), opacity .4s var(--ease);
}

.qw.is-open .qw__panel {
    transform: none;
    opacity: 1;
}

/* ── Head ────────────────────────────────────────────────── */
.qw__head {
    display: flex;
    align-items: flex-start;
    gap: var(--s4);
    padding: clamp(22px, 3.5vw, 30px) clamp(22px, 3.5vw, 34px) var(--s4);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to bottom, rgba(255, 255, 255, .022), transparent);
}

.qw__head-text {
    flex: 1;
    min-width: 0;
}

.qw__eyebrow {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--crimson);
}

.qw__title {
    margin-top: 8px;
    font-size: clamp(21px, 2.6vw, 27px);
    letter-spacing: -.025em;
}

.qw__desc {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-2);
    text-wrap: pretty;
}

.qw__close {
    width: 36px;
    height: 36px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    color: var(--text-2);
    transition: background var(--t-fast), color var(--t-fast);
}

.qw__close:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--text-1);
}

.qw__close svg {
    width: 19px;
    height: 19px;
}

/* ── Progress ────────────────────────────────────────────── */
.qw__progress {
    height: 2px;
    background: rgba(255, 255, 255, .06);
    flex: none;
}

.qw__progress-fill {
    height: 100%;
    width: 14%;
    background: linear-gradient(90deg, var(--crimson), var(--crimson-bright));
    border-radius: 0 var(--r-full) var(--r-full) 0;
    transition: width .5s var(--ease);
}

/* ── Form shell ──────────────────────────────────────────── */
.qw__form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.qw__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(22px, 3.5vw, 30px) clamp(22px, 3.5vw, 34px);
    scrollbar-width: thin;
    scrollbar-color: var(--text-4) transparent;
}

.qw__body::-webkit-scrollbar {
    width: 5px;
}

.qw__body::-webkit-scrollbar-thumb {
    background: var(--text-4);
    border-radius: var(--r-full);
}

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

/* ── Steps ───────────────────────────────────────────────── */
.qw-step {
    display: none;
}

.qw-step.is-active {
    display: block;
    animation: qw-step-in .38s var(--ease) both;
}

.qw-step.is-active.is-back {
    animation-name: qw-step-in-back;
}

@keyframes qw-step-in {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes qw-step-in-back {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.qw-shake {
    animation: qw-shake .4s var(--ease-in-out);
}

@keyframes qw-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-7px);
    }

    45% {
        transform: translateX(5px);
    }

    70% {
        transform: translateX(-3px);
    }
}

/* ── Card grid ───────────────────────────────────────────── */
.qw-cards {
    display: grid;
    gap: 10px;
}

.qw-cards--2 {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.qw-card {
    display: block;
    cursor: pointer;
}

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

.qw-card__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .015);
    transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.qw-card:hover .qw-card__inner {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, .035);
    transform: translateY(-1px);
}

.qw-card input:focus-visible+.qw-card__inner {
    outline: 2px solid var(--crimson);
    outline-offset: 2px;
}

.qw-card input:checked+.qw-card__inner {
    border-color: var(--border-active);
    background: var(--crimson-soft);
}

.qw-card__icon {
    width: 38px;
    height: 38px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .045);
    color: var(--text-2);
    transition: background var(--t-fast), color var(--t-fast);
}

.qw-card input:checked+.qw-card__inner .qw-card__icon {
    background: rgba(218, 11, 72, .16);
    color: var(--crimson-bright);
}

.qw-card__icon svg {
    width: 19px;
    height: 19px;
}

.qw-card__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.qw-card__label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-1);
    letter-spacing: -.01em;
}

.qw-card__hint {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text-2);
}

.qw-card__tick {
    width: 20px;
    height: 20px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-hover);
    border-radius: 50%;
    color: transparent;
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.qw-card__tick svg {
    width: 11px;
    height: 11px;
}

.qw-card input:checked+.qw-card__inner .qw-card__tick {
    background: var(--crimson);
    border-color: var(--crimson);
    color: #fff;
    transform: scale(1.06);
}

.qw-card--plain .qw-card__inner {
    padding: 14px 16px;
}

/* ── Chips ───────────────────────────────────────────────── */
.qw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qw-chip {
    cursor: pointer;
}

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

.qw-chip span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .015);
    font-size: 13.5px;
    color: var(--text-2);
    transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.qw-chip:hover span {
    border-color: var(--border-hover);
    color: var(--text-1);
}

.qw-chip input:focus-visible+span {
    outline: 2px solid var(--crimson);
    outline-offset: 2px;
}

.qw-chip input:checked+span {
    border-color: var(--border-active);
    background: var(--crimson-soft);
    color: var(--text-1);
}

/* ── Fields ──────────────────────────────────────────────── */
.qw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--s4);
}

.qw-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

/* display:flex above beats the UA stylesheet's [hidden] rule - restore it. */
.qw-field[hidden] {
    display: none;
}

.qw-field--spaced {
    margin-top: var(--s5);
}

.qw-field--reveal {
    margin-top: var(--s4);
}

.qw-field label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-1);
    letter-spacing: -.005em;
}

.qw-req {
    color: var(--crimson);
}

.qw-field input,
.qw-field select,
.qw-field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .022);
    color: var(--text-1);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.qw-field input::placeholder,
.qw-field textarea::placeholder {
    color: var(--text-3);
}

.qw-field input:focus,
.qw-field select:focus,
.qw-field textarea:focus {
    outline: none;
    border-color: var(--border-active);
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 0 0 3px var(--crimson-glow);
}

.qw-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 42px;
    cursor: pointer;
}

.qw-field select option {
    background: var(--bg-card);
    color: var(--text-1);
}

.qw-field textarea {
    resize: vertical;
    min-height: 130px;
}

.qw-field.has-error input,
.qw-field.has-error select,
.qw-field.has-error textarea {
    border-color: var(--crimson);
    background: var(--crimson-faint);
}

.qw-field__help {
    font-size: 12px;
    color: var(--text-3);
}

.qw-legend {
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
}

.qw-legend--spaced {
    margin-top: var(--s6);
}

/* ── Errors ──────────────────────────────────────────────── */
.qw-error {
    display: none;
    margin-top: var(--s4);
    padding: 10px 14px;
    border-left: 2px solid var(--crimson);
    background: var(--crimson-faint);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-size: 13px;
    color: var(--crimson-bright);
}

.qw-error.is-shown {
    display: block;
}

.qw-error--field {
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: none;
}

/* ── Prompts ─────────────────────────────────────────────── */
.qw-prompts {
    margin-top: var(--s5);
    padding: var(--s4) var(--s5);
    border: 1px dashed var(--border-hover);
    border-radius: var(--r-lg);
}

.qw-prompts__title {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 8px;
}

.qw-prompts ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.qw-prompts li {
    position: relative;
    padding-left: 14px;
    font-size: 12.5px;
    color: var(--text-3);
}

.qw-prompts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .62em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--crimson);
}

/* ── Review ──────────────────────────────────────────────── */
.qw-review {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qw-review__row {
    display: flex;
    align-items: flex-start;
    gap: var(--s4);
    width: 100%;
    padding: 13px 14px;
    border: 1px solid transparent;
    border-radius: var(--r-md);
    text-align: left;
    transition: background var(--t-fast), border-color var(--t-fast);
}

button.qw-review__row {
    cursor: pointer;
}

button.qw-review__row:hover {
    background: rgba(255, 255, 255, .03);
    border-color: var(--border-hover);
}

.qw-review__key {
    width: 108px;
    min-width: 108px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
    padding-top: 3px;
}

.qw-review__val {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-1);
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.qw-review__val.is-empty {
    color: var(--text-3);
}

.qw-review__edit {
    flex: none;
    font-size: 12px;
    color: var(--text-3);
    padding-top: 4px;
    transition: color var(--t-fast);
}

button.qw-review__row:hover .qw-review__edit {
    color: var(--crimson);
}

.qw-consent {
    margin-top: var(--s5);
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--text-3);
}

/* ── Success ─────────────────────────────────────────────── */
.qw-done {
    text-align: center;
    padding: var(--s6) 0 var(--s5);
}

.qw-done__icon {
    width: 62px;
    height: 62px;
    margin: 0 auto var(--s5);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--crimson-soft);
    border: 1px solid var(--border-active);
    color: var(--crimson-bright);
}

.qw-done__icon svg {
    width: 26px;
    height: 26px;
}

.qw-done h3 {
    font-size: clamp(20px, 2.4vw, 24px);
}

.qw-done>p {
    max-width: 44ch;
    margin: 12px auto 0;
    font-size: 14.5px;
    color: var(--text-2);
}

.qw-done__next {
    counter-reset: qwstep;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
    margin: var(--s6) auto 0;
    text-align: left;
}

.qw-done__next li {
    counter-increment: qwstep;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text-2);
}

.qw-done__next li::before {
    content: counter(qwstep);
    width: 24px;
    height: 24px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-2);
}

.qw-done .qw-btn--ghost {
    margin: var(--s7) auto 0;
}

/* ── Footer nav ──────────────────────────────────────────── */
.qw__foot {
    display: flex;
    align-items: center;
    gap: var(--s3);
    flex: none;
    padding: var(--s4) clamp(22px, 3.5vw, 34px);
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, .18);
}

.qw__foot[hidden] {
    display: none;
}

.qw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1;
    transition: background var(--t-fast), color var(--t-fast),
        border-color var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
}

.qw-btn[hidden] {
    display: none;
}

.qw-btn svg {
    width: 17px;
    height: 17px;
    flex: none;
    transition: transform var(--t-base);
}

.qw-btn--back {
    padding: 0 18px;
    color: var(--text-2);
}

.qw-btn--back:hover {
    color: var(--text-1);
}

.qw-btn--back:hover svg {
    transform: translateX(-3px);
}

.qw-btn--back:disabled {
    opacity: .3;
    pointer-events: none;
}

.qw-btn--skip {
    margin-left: auto;
    padding: 0 14px;
    font-size: 13.5px;
    color: var(--text-3);
}

.qw-btn--skip:hover {
    color: var(--text-1);
}

.qw-btn--next,
.qw-btn--submit {
    margin-left: auto;
    background: var(--crimson);
    color: #fff;
    box-shadow: var(--shadow-crimson);
}

.qw-btn--skip:not([hidden])~.qw-btn--next,
.qw-btn--skip:not([hidden])~.qw-btn--submit {
    margin-left: 0;
}

.qw-btn--next:hover,
.qw-btn--submit:hover {
    background: var(--crimson-bright);
    transform: translateY(-1px);
}

.qw-btn--next:hover svg,
.qw-btn--submit:hover svg {
    transform: translateX(3px);
}

.qw-btn--submit:disabled {
    opacity: .6;
    pointer-events: none;
}

.qw-btn--ghost {
    border: 1px solid var(--border-hover);
    color: var(--text-1);
}

.qw-btn--ghost:hover {
    background: rgba(255, 255, 255, .05);
}

.qw-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: qw-spin .6s linear infinite;
}

@keyframes qw-spin {
    to {
        transform: rotate(360deg);
    }
}

.qw__status {
    flex: none;
    padding: 0 clamp(22px, 3.5vw, 34px);
    font-size: 13px;
    color: var(--crimson-bright);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease), padding-bottom .3s var(--ease);
}

.qw__status.is-shown {
    max-height: 80px;
    padding-bottom: var(--s4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 700px) {
    .qw {
        padding: 0;
        align-items: flex-end;
    }

    .qw__panel {
        max-width: none;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        border: 0;
    }

    .qw-cards--2 {
        grid-template-columns: 1fr;
    }

    .qw-review__row {
        flex-wrap: wrap;
        gap: 4px var(--s4);
    }

    .qw-review__key {
        width: 100%;
        min-width: 0;
    }

    .lp-contact {
        align-items: flex-end;
        padding: 0;
    }

    .lp-contact__panel {
        max-width: none;
        border-radius: var(--r-xl) var(--r-xl) 0 0;
        padding-bottom: max(var(--s6), env(safe-area-inset-bottom));
    }

    .lp__actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
    }

    .lp-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .qw__foot {
        padding-bottom: max(var(--s4), env(safe-area-inset-bottom));
    }

    .qw-btn {
        padding: 0 18px;
    }
}

/* ============================================================
   INTRO - pure CSS so nothing depends on a CDN loading
   ============================================================ */
@keyframes lp-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes lp-logo-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.965);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.lp__logo {
    animation: lp-logo-in 1.1s var(--ease) .1s both;
}

.lp__text {
    animation: lp-rise .9s var(--ease) .4s both;
}

.lp__actions {
    animation: lp-rise .9s var(--ease) .56s both;
}

.lp__note {
    animation: lp-rise .9s var(--ease) .7s both;
}

.lp-foot {
    animation: lp-rise .9s var(--ease) .85s both;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-delay: 0ms !important;
        transition-duration: .01ms !important;
    }
}
