/* ============================================================
   PET INSURANCE QUIZ — playful pet design
   Warm cream page, organic blobs + paw prints, rounded Fredoka /
   Nunito type, "pressable" sticker buttons (solid drop edge),
   orange actions + teal selections. The pet's own face walks the
   progress track; a bone-shaped name tag swings on the name step.
   ============================================================ */

:root {
    --cream: #FFF7EE;
    --ink: #2A2238;
    --muted: #6E6680;
    --soft: #A398B2;
    --line: #EEE2D3;
    --line-dark: #E2D3C0;
    --white: #FFFFFF;

    --orange: #E8602C;
    --orange-dark: #D24E1C;
    --orange-edge: #B3410F;
    --orange-tint: #FFE6D6;

    --teal: #13897C;
    --teal-dark: #0C6A60;
    --teal-tint: #DDF3EE;

    --error: #D23F2A;

    --font-head: "Fredoka", "Nunito", Arial, sans-serif;
    --font-body: "Nunito", Arial, sans-serif;

    --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-walk: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

body { position: relative; min-width: 320px; overflow-x: hidden; }

[hidden] { display: none !important; }

button { font: inherit; color: inherit; }

.wrap {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Background decor ---------- */

.decor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1100px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
}

.blob.b1 { top: -170px; left: -150px; width: 440px; height: 420px; background: #FFE6D3; }
.blob.b2 { top: 300px; right: -170px; width: 400px; height: 380px; background: #DDF3EC; border-radius: 58% 42% 37% 63% / 49% 61% 39% 51%; }
.blob.b3 { top: 760px; left: 4%; width: 170px; height: 160px; background: #FFF0C7; }

.pawDecor { position: absolute; width: 34px; height: 34px; }
.pawDecor.p1 { top: 150px; left: 8%; fill: var(--orange); opacity: 0.16; transform: rotate(-24deg); }
.pawDecor.p2 { top: 205px; left: 12%; width: 24px; height: 24px; fill: var(--orange); opacity: 0.12; transform: rotate(-10deg); }
.pawDecor.p3 { top: 120px; right: 9%; width: 42px; height: 42px; fill: var(--teal); opacity: 0.14; transform: rotate(18deg); }
.pawDecor.p4 { top: 560px; right: 14%; width: 26px; height: 26px; fill: var(--teal); opacity: 0.12; transform: rotate(32deg); }
.pawDecor.p5 { top: 610px; left: 15%; width: 30px; height: 30px; fill: var(--orange); opacity: 0.12; transform: rotate(-36deg); }

.siteHeader,
.quizMain,
.siteFooter { position: relative; z-index: 1; }

/* ---------- Header ---------- */

.siteHeader { padding: 14px 0 6px; }

.headerRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.logo { display: block; height: 34px; width: auto; }

.headerRight {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.topDisclosureLink {
    padding-right: 4px;
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

.topDisclosureLink:hover { color: var(--ink); text-decoration: underline; }
.topDisclosureLink.isHidden { display: none; }

.secureChip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.secureChip svg { width: 14px; height: 14px; fill: var(--teal); }

/* ---------- Quiz layout ---------- */

.quizMain { min-height: 100vh; min-height: 100svh; padding-top: 10px; }

.quizWrap { max-width: 760px; }

.stage {
    transition: opacity 180ms ease, transform 180ms ease;
}

.stage.isEntering,
.stage.isLeaving { opacity: 0; transform: translateY(10px); }

.screen { display: none; text-align: center; }
.screen.active { display: block; }

/* ---------- Progress: pet walks to "covered" ---------- */

.walk { max-width: 560px; margin: 4px auto 26px; }

.walkRow { display: flex; align-items: center; gap: 14px; }

.backBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    padding: 0;
    border: 2px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 10px -6px rgba(42, 34, 56, 0.35);
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.backBtn svg { width: 22px; height: 22px; fill: var(--ink); }
.backBtn:hover { border-color: var(--line-dark); }
.backBtn:active { transform: scale(0.94); box-shadow: 0 2px 4px -3px rgba(42, 34, 56, 0.35); }

.walkTrack {
    position: relative;
    flex: 1;
    height: 12px;
    border-radius: 999px;
    background-color: #F3E7D8;
    background-image: radial-gradient(circle, #E5D3BC 1.6px, transparent 2px);
    background-size: 14px 12px;
    background-position: 4px center;
}

.walkFill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 10%;
    border-radius: 999px;
    background: linear-gradient(90deg, #FFA26B, var(--orange));
    transition: width 500ms var(--ease-walk);
}

.walkThumb {
    position: absolute;
    top: 50%;
    left: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 3px solid var(--orange);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 6px 14px -6px rgba(178, 65, 15, 0.6);
    transform: translate(-50%, -50%);
    /* same timing as the fill, no overshoot, so the pet stays on the fill's end */
    transition: left 500ms var(--ease-walk);
}

/* little hop of the face/paw (not the ring) each time the pet moves on */
.walkThumb.hop > * { animation: thumbHop 500ms ease; }

@keyframes thumbHop {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
}

.walkPaw { width: 22px; height: 22px; fill: var(--orange); }
.walkAvatar { --s: 40px !important; }
.walkAvatar .paFace { box-shadow: none; }

.walkGoal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--teal-tint);
}

.walkGoal svg { width: 22px; height: 22px; fill: var(--teal); }

.walkCaption {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 54px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.walkCheer {
    min-width: 0;
    overflow: hidden;
    color: var(--orange-dark);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.walkCaption > span:first-child { flex-shrink: 0; margin-right: 10px; }

/* ---------- Pet avatar (face crop of the cut-out photo) ---------- */

.petAvatar {
    --s: 96px;
    --z: 2.3;
    --fx: 0.53;
    --fy: 0.21;
    --bg: #FFE1CC;
    position: relative;
    display: inline-block;
    width: var(--s);
    height: var(--s);
    flex-shrink: 0;
    vertical-align: middle;
}

.petAvatar[data-species="cat"] { --z: 1.9; --fx: 0.51; --fy: 0.23; --bg: #D6F1E8; }

.paFace {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: 0 0 0 4px var(--white), 0 10px 22px -10px rgba(42, 34, 56, 0.45);
}

.paImg {
    position: absolute;
    width: calc(var(--s) * var(--z));
    height: calc(var(--s) * var(--z));
    max-width: none;
    left: calc(var(--s) * (0.5 - var(--z) * var(--fx)));
    top: calc(var(--s) * (0.56 - var(--z) * var(--fy)));
}

.paStamp {
    position: absolute;
    right: -4px;
    bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--teal);
    animation: stampIn 500ms var(--ease-pop) 250ms both;
}

.paStamp svg { width: 20px; height: 20px; fill: var(--white); }

@keyframes stampIn {
    from { opacity: 0; transform: scale(0.3) rotate(-30deg); }
    to { opacity: 1; transform: none; }
}

/* ---------- Question text ---------- */

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--white);
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 3px 0 var(--line);
}

.kicker svg { width: 16px; height: 16px; fill: currentColor; }
.kicker--green { color: var(--teal); }

.qTitle {
    max-width: 640px;
    margin: 0 auto 8px;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* marker-style highlight */
.hl {
    color: var(--orange-dark);
    background: linear-gradient(transparent 64%, var(--orange-tint) 64%, var(--orange-tint) 92%, transparent 92%);
    padding: 0 2px;
}

.qSub {
    margin: 0 auto 4px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 600;
}

/* ---------- Pressable sticker base ---------- */

.speciesTile,
.ageTile,
.choice,
.breedChip {
    position: relative;
    border: 2.5px solid var(--line);
    background: var(--white);
    box-shadow: 0 5px 0 var(--line);
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease, opacity 200ms ease;
}

.speciesTile:hover,
.ageTile:hover,
.choice:hover,
.breedChip:hover { transform: translateY(-3px); border-color: var(--line-dark); box-shadow: 0 8px 0 var(--line-dark); }

.speciesTile:active,
.ageTile:active,
.choice:active,
.breedChip:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--line); }

.speciesTile:focus-visible,
.ageTile:focus-visible,
.choice:focus-visible,
.breedChip:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

[data-field].hasSelection > :not(.selected) { opacity: 0.45; }

@media (hover: none) {
    .speciesTile:hover,
    .ageTile:hover,
    .choice:hover,
    .breedChip:hover { transform: none; border-color: var(--line); box-shadow: 0 5px 0 var(--line); }
}

/* ---------- Step 1: species "sticker portraits" ---------- */

.speciesGrid {
    display: grid;
    grid-template-columns: repeat(2, 240px);
    justify-content: center;
    gap: 22px;
    margin: 22px auto 0;
}

.speciesTile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 12px 16px;
    border-radius: 30px;
}

.speciesTile[data-species="dog"] { --tint: #FFE1CC; }
.speciesTile[data-species="cat"] { --tint: #D6F1E8; }

.stArt {
    position: relative;
    display: block;
    width: 100%;
    height: 200px;
}

.stBlob {
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 168px;
    height: 160px;
    border-radius: 46% 54% 50% 50% / 55% 52% 48% 45%;
    background: var(--tint);
    transform: translateX(-50%);
    transition: transform 300ms var(--ease-pop);
}

.stPhoto {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: auto;
    height: 210px;
    transform: translateX(-50%);
    filter: drop-shadow(0 8px 10px rgba(42, 34, 56, 0.18));
    transform-origin: bottom center;
}

.speciesTile:hover .stBlob { transform: translateX(-50%) scale(1.06) rotate(-4deg); }

.stName {
    margin-top: 10px;
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 600;
}

.stStamp {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0;
    transform: scale(0.3) rotate(-30deg);
    transition: opacity 200ms ease, transform 320ms var(--ease-pop);
}

.stStamp svg { width: 22px; height: 22px; fill: var(--white); }

.speciesTile.selected {
    border-color: var(--teal);
    box-shadow: 0 5px 0 var(--teal-dark);
}

.speciesTile.selected .stName { color: var(--teal); }
.speciesTile.selected .stStamp { opacity: 1; transform: rotate(-10deg); }
.speciesTile.selected .stPhoto { animation: hop 560ms ease; }

@keyframes hop {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    35% { transform: translateX(-50%) translateY(-16px) rotate(-3deg); }
    65% { transform: translateX(-50%) translateY(0) rotate(2deg); }
}

.trustRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.trustRow li { display: inline-flex; align-items: center; gap: 6px; }
.trustRow svg { width: 16px; height: 16px; fill: var(--teal); }

/* ---------- Pet name: avatar + swinging bone tag ---------- */

.tagScene {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 14px;
}

.nameTag {
    position: relative;
    display: block;
    width: 270px;
    height: 94px;
    margin-top: 6px;
    transform-origin: 50% 0;
}

.nameTag.swing { animation: swing 700ms ease; }

@keyframes swing {
    0% { transform: rotate(0); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-3.5deg); }
    75% { transform: rotate(1.5deg); }
    100% { transform: rotate(0); }
}

.tagRing {
    position: absolute;
    top: -12px;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 4px solid #D9A23A;
    border-radius: 50%;
    transform: translateX(-50%);
}

.tagBone {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 10px rgba(179, 120, 20, 0.35));
}

.tagName {
    position: absolute;
    inset: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #6E4206;
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    transition: opacity 160ms ease;
}

.tagName.isEmpty { opacity: 0.55; }

/* ---------- Age tiles ---------- */

.ageGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 560px;
    margin: 22px auto 0;
}

.ageTile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px 14px;
    border-radius: 22px;
}

.atNum {
    color: var(--tone);
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.atUnit {
    margin-top: 3px;
    color: var(--tone);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.atStage {
    margin-top: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--tint);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ageTile.selected {
    border-color: var(--tone);
    background: var(--tint);
    box-shadow: 0 5px 0 var(--tone);
}

.ageTile.selected .atStage { background: var(--white); }

/* ---------- Breed chips ---------- */

.chipGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 640px;
    margin: 20px auto 0;
}

.breedChip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px 10px 12px;
    border-radius: 999px;
    box-shadow: 0 3px 0 var(--line);
    font-size: 15px;
    font-weight: 700;
    animation: chipIn 360ms var(--ease-pop) both;
}

.breedChip:hover { box-shadow: 0 6px 0 var(--line-dark); }
.breedChip:active { box-shadow: 0 0 0 var(--line); transform: translateY(3px); }

.breedChip:nth-child(2) { animation-delay: 30ms; }
.breedChip:nth-child(3) { animation-delay: 60ms; }
.breedChip:nth-child(4) { animation-delay: 90ms; }
.breedChip:nth-child(5) { animation-delay: 120ms; }
.breedChip:nth-child(6) { animation-delay: 150ms; }
.breedChip:nth-child(7) { animation-delay: 180ms; }
.breedChip:nth-child(8) { animation-delay: 210ms; }

@keyframes chipIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: none; }
}

.breedChip svg { width: 16px; height: 16px; fill: var(--orange); }

.breedChip.selected {
    border-color: var(--teal);
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 3px 0 var(--teal-dark);
}

.breedChip.selected svg { fill: var(--white); }

/* ---------- Coverage choices ---------- */

.choiceGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 680px;
    margin: 26px auto 0;
}

.choice {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 22px;
    text-align: left;
}

.chRibbon {
    position: absolute;
    top: -12px;
    left: 18px;
    padding: 3px 11px;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.chIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--tint);
    transition: transform 300ms var(--ease-pop);
}

.chIcon svg { width: 26px; height: 26px; fill: var(--tone); }
.choice:hover .chIcon { transform: rotate(-8deg) scale(1.06); }

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

.chName {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.chDesc { color: var(--muted); font-size: 13.5px; font-weight: 600; }

.chRadio {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border: 2.5px solid var(--line-dark);
    border-radius: 50%;
    transition: background 160ms ease, border-color 160ms ease;
}

.chRadio svg { width: 16px; height: 16px; fill: var(--white); opacity: 0; transform: scale(0.4); transition: opacity 160ms ease, transform 260ms var(--ease-pop); }

.choice.selected { border-color: var(--tone); box-shadow: 0 5px 0 var(--tone); }
.choice.selected .chRadio { border-color: var(--tone); background: var(--tone); }
.choice.selected .chRadio svg { opacity: 1; transform: none; }

/* ---------- Text fields ---------- */

.formFields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 460px;
    margin: 22px auto 0;
    text-align: left;
}

.formFields--tight { margin-top: 20px; }

/* first + last name: one field per row on every screen size */
.fieldRow { display: flex; flex-direction: column; gap: 14px; }

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

.inputWrap { position: relative; display: block; }

.inputWrap svg {
    position: absolute;
    top: 50%;
    left: 22px;
    width: 26px;
    height: 26px;
    fill: #C2B4A3;
    transform: translateY(-50%);
    pointer-events: none;
    transition: fill 160ms ease;
}

.inputWrap:focus-within svg { fill: var(--teal); }

/* big, easy-to-tap fields (same scale as form-pet-insurance-2: 32px padding, 22px text) */
.field input {
    width: 100%;
    height: 92px;
    padding: 0 20px 0 62px;
    border: 2.5px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.field input::placeholder { color: #B5A99B; font-weight: 600; }
.field input::-webkit-calendar-picker-indicator { display: none !important; }

.field input:focus { border-color: var(--teal); box-shadow: 0 0 0 5px var(--teal-tint); }
.field input.invalid { border-color: var(--error); }
.field input.invalid:focus { box-shadow: 0 0 0 5px #FBE3DF; }

.error-message {
    display: none;
    margin: 0;
    padding-left: 6px;
    color: var(--error);
    font-size: 13.5px;
    font-weight: 700;
}

.error-message.show { display: block; }

/* ---------- Breed autocomplete dropdown ---------- */

.combo { position: relative; }

.suggestList {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 300px;
    margin: 0;
    padding: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    border: 2.5px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 6px 0 var(--line), 0 24px 40px -18px rgba(42, 34, 56, 0.35);
    animation: dropIn 200ms var(--ease-pop);
    scrollbar-width: thin;
    scrollbar-color: var(--line-dark) transparent;
}

.suggestList::-webkit-scrollbar { width: 8px; }
.suggestList::-webkit-scrollbar-thumb { border: 2px solid var(--white); border-radius: 999px; background: var(--line-dark); }

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.suggestItem {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 14px;
    border-radius: 14px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background 120ms ease;
}

.suggestItem svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: #D9C9B5;
    transition: fill 120ms ease, transform 200ms var(--ease-pop);
}

.suggestItem mark {
    padding: 0;
    background: none;
    color: var(--orange-dark);
}

.suggestItem:hover,
.suggestItem.isActive { background: var(--orange-tint); }

.suggestItem:hover svg,
.suggestItem.isActive svg { fill: var(--orange); transform: rotate(-12deg) scale(1.1); }

.suggestItem.isCustom { color: var(--muted); font-weight: 600; }

.suggestItem.isCustom:not(:first-child) {
    margin-top: 4px;
    border-top: 2px dashed var(--line);
    border-radius: 0 0 14px 14px;
    color: var(--muted);
    font-weight: 600;
}

/* ---------- CTA ---------- */

.ctaButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 72px;
    margin-top: 6px;
    padding: 0 28px;
    border: none;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 5px 0 var(--orange-edge);
    font-family: var(--font-head);
    font-size: 23px;
    font-weight: 600;
    cursor: pointer;
    transition: background 140ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.ctaButton svg { width: 22px; height: 22px; fill: var(--white); transition: transform 200ms ease; }

.ctaButton:hover,
.ctaButton:focus-visible { background: var(--orange-dark); outline: none; }

.ctaButton:hover svg { transform: translateX(3px) rotate(-8deg); }
.ctaButton:focus-visible { box-shadow: 0 5px 0 var(--orange-edge), 0 0 0 5px var(--orange-tint); }
.ctaButton:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--orange-edge); }

.privacyNote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.privacyNote svg { width: 14px; height: 14px; fill: var(--teal); }

.consent-text {
    margin: 0;
    color: var(--soft);
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

.consent-text a { color: var(--teal); }

/* ---------- Matching ---------- */

.orbit {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 4px auto 22px;
}

.orbitRing {
    position: absolute;
    inset: 0;
    border: 3px dashed #F2C9AE;
    border-radius: 50%;
    animation: spin 14s linear infinite;
}

.orbitSpin {
    position: absolute;
    inset: 0;
    animation: spin 5s linear infinite;
}

.orbitIcon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 6px 14px -6px rgba(42, 34, 56, 0.4);
    animation: spin 5s linear infinite reverse;
}

.orbitIcon svg { width: 20px; height: 20px; }
.orbitIcon.o1 { top: 0; left: 50%; }
.orbitIcon.o1 svg { fill: #D9486B; }
.orbitIcon.o2 { top: 75%; left: 6.7%; }
.orbitIcon.o2 svg { fill: var(--teal); }
.orbitIcon.o3 { top: 75%; left: 93.3%; }
.orbitIcon.o3 svg { fill: var(--orange); }

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

.orbitAvatar {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
    animation: beat 1.4s ease-in-out infinite;
}

@keyframes beat {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.06); }
    40% { transform: scale(1); }
}

.checkList {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 420px;
    margin: 20px auto 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.checkList li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #BDB2A6;
    font-size: 16px;
    font-weight: 700;
    transition: color 300ms ease;
}

.checkList li.done { color: var(--ink); }

.checkStamp {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 2.5px solid var(--line-dark);
    border-radius: 50%;
    background: var(--white);
    transition: background 260ms ease, border-color 260ms ease;
}

.checkStamp svg { position: absolute; width: 16px; height: 16px; transition: opacity 200ms ease, transform 300ms var(--ease-pop); }
.checkStamp svg:first-child { fill: #E2D3C0; }
.checkStamp svg:last-child { fill: var(--white); opacity: 0; transform: scale(0.3); }

.checkList li.done .checkStamp { border-color: var(--teal); background: var(--teal); }
.checkList li.done .checkStamp svg:first-child { opacity: 0; }
.checkList li.done .checkStamp svg:last-child { opacity: 1; transform: none; }

/* ---------- Results ---------- */

.resultsHero {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 720px;
    margin: 6px auto 0;
    text-align: left;
}

.resultsAvatar { animation: stampIn 520ms var(--ease-pop); }

.resultsText { flex: 1; min-width: 0; }
.resultsText .kicker { margin-bottom: 10px; }

.resultsTitle { max-width: none; margin: 0 0 14px; font-size: 30px; }

.summaryRow { display: flex; flex-wrap: wrap; gap: 8px; }

.summaryChip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 9px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-size: 13.5px;
    font-weight: 700;
}

.summaryChip svg { width: 14px; height: 14px; fill: var(--orange); }

/* ---------- TYP offer cards (rank tag, logo + score, stats strip, details) ---------- */

.offerList {
    display: grid;
    gap: 26px;
    max-width: 900px;
    margin: 34px auto 0;
    text-align: left;
}

.offer {
    position: relative;
    padding: 30px 26px 18px;
    border: 2.5px solid var(--line);
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 6px 0 var(--line);
    opacity: 0;
    animation: cardUp 460ms var(--ease-pop) forwards;
}

.offer:nth-child(1) { animation-delay: 150ms; }
.offer:nth-child(2) { animation-delay: 260ms; }
.offer:nth-child(3) { animation-delay: 370ms; }

.offer--top { border-color: var(--orange); box-shadow: 0 6px 0 #F5C2A5; }

@keyframes cardUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

/* rank number + label tag, sitting on the top edge */
.offerRibbon {
    position: absolute;
    top: -15px;
    left: 20px;
    display: flex;
    align-items: center;
}

.offerRank {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
}

.offerTag {
    margin-left: -8px;
    padding: 5px 13px 5px 16px;
    border-radius: 0 999px 999px 0;
    background: var(--teal);
    color: var(--white);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.offer--top .offerTag { background: var(--orange); }

.offerGrid {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    grid-template-areas:
        "brand main action"
        "brand stats stats";
    gap: 16px 26px;
    align-items: start;
}

/* logo + score */
.offerBrand {
    grid-area: brand;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.offerLogo { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 64px; }
.offerLogo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.offerLogo .logoPlaceholder { width: 100%; }

.offerScore { display: flex; align-items: center; gap: 8px; }

.scoreNum {
    font-family: var(--font-head);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.scoreMeta { display: flex; flex-direction: column; gap: 2px; }

/* five stars filled to --rating (0–5) */
.stars {
    --rating: 0;
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 1px;
}

.stars::before {
    content: "★★★★★";
    background: linear-gradient(90deg, #F2B33D calc(var(--rating) / 5 * 100%), #E2D3C0 0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.scoreLabel { color: var(--muted); font-size: 12px; font-weight: 700; }

/* name + description */
.offerMain { grid-area: main; min-width: 0; padding-top: 4px; }

.offerName {
    margin: 0 0 4px;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.offerDesc {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

/* CTA */
.offerAction { grid-area: action; padding-top: 4px; }

.offerCta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 170px;
    height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 0 var(--orange-edge);
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 140ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.offerCta svg { width: 19px; height: 19px; fill: var(--white); transition: transform 200ms ease; }
.offerCta:hover { background: var(--orange-dark); }
.offerCta:hover svg { transform: translateX(3px); }
.offerCta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--orange-edge); }
.offerCta:focus-visible { outline: none; box-shadow: 0 4px 0 var(--orange-edge), 0 0 0 5px var(--orange-tint); }

/* price / reimbursement / deductible / limit strip */
.offerStats {
    grid-area: stats;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 14px 6px;
    border-radius: 18px;
    background: var(--cream);
}

.offerStats > div { padding: 0 14px; }
.offerStats > div + div { border-left: 2px dashed var(--line-dark); }

.offerStats dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.offerStats dd {
    margin: 0;
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
}

.offerStats dd small { margin-left: 3px; color: var(--muted); font-family: var(--font-body); font-size: 13px; font-weight: 700; }

/* more / less details */
.offerToggle {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 12px 0 0 auto;
    padding: 6px 4px;
    border: none;
    background: none;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
}

.offerToggle svg { width: 22px; height: 22px; fill: currentColor; transition: transform 240ms var(--ease-pop); }
.offerToggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.offerToggle:hover { color: var(--orange-dark); }
.offerToggle:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 8px; }

.offerDetails {
    margin-top: 6px;
    padding: 16px 4px 6px;
    border-top: 2px dashed var(--line);
    animation: faqIn 260ms ease;
}

.offerDetails h4 { margin: 0 0 10px; font-family: var(--font-head); font-size: 17px; font-weight: 600; }

.offerDetails ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }

.offerDetails li {
    position: relative;
    padding-left: 28px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.offerDetails li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") center / 13px no-repeat;
}

@media (max-width: 860px) {
    .offer { padding: 30px 16px 14px; }

    .offerGrid {
        grid-template-columns: 1fr;
        grid-template-areas: "brand" "main" "stats" "action";
        gap: 16px;
    }

    .offerBrand { flex-direction: row; justify-content: space-between; gap: 12px; }
    .offerLogo { width: auto; max-width: 52%; min-height: 52px; justify-content: flex-start; }
    .offerLogo img { max-height: 52px; }
    .offerLogo .logoPlaceholder { width: 140px; height: 52px; }
    .scoreNum { font-size: 28px; }

    .offerName { font-size: 20px; }
    .offerDesc { font-size: 14.5px; }

    .offerStats { grid-template-columns: 1fr 1fr; gap: 12px 0; padding: 14px 4px; }
    .offerStats > div:nth-child(3) { border-left: 0; }
    .offerStats dd { font-size: 21px; }

    .offerCta { width: 100%; height: 56px; }
    .offerToggle { margin-top: 8px; }
}

/* TYP page */
.typPage .quizMain { padding-top: 26px; }

/* wider column on the TYP so the 4-stat strip fits */
.typPage .quizWrap { max-width: 960px; }

.logoPlaceholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 60px;
    border: 2px dashed var(--line-dark);
    border-radius: 14px;
    color: var(--soft);
    font-size: 12px;
    font-weight: 700;
}

.resultsTitle { margin-bottom: 6px; }
.resultsSub { margin: 0 0 14px; text-align: inherit; }

/* ---------- Landing sections (first question only) ---------- */

.landing { margin-top: 96px; }

.lSection + .lSection { margin-top: 96px; }

.lInner { max-width: 960px; }
.lCenter { text-align: center; }

.lTitle {
    max-width: 680px;
    margin: 0 auto 12px;
    font-family: var(--font-head);
    font-size: 34px;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

.lLead {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
}

.nowrap { white-space: nowrap; }

/* Trusted providers */
.trustpilotLogo {
    display: block;
    width: auto;
    height: 38px;
    margin: 0 auto 14px;
}

.partnerGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 26px;
}

.partnerTile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 92px;
    padding: 18px 22px;
    border: 2.5px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 5px 0 var(--line);
    transition: transform 160ms ease, border-color 160ms ease;
}

.partnerTile img {
    max-width: 100%;
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0);
    opacity: 0.62;
    transition: opacity 160ms ease;
}

.partnerTile:hover { transform: translateY(-3px) rotate(-1deg); border-color: var(--line-dark); }
.partnerTile:hover img { opacity: 0.85; }

/* How it works */
.howSteps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

/* dotted paw trail behind the three cards */
.howSteps::before {
    content: "";
    position: absolute;
    top: 64px;
    left: 16%;
    right: 16%;
    border-top: 3px dashed #F2C9AE;
    z-index: 0;
}

.howStep {
    position: relative;
    z-index: 1;
    padding: 32px 22px 26px;
    border: 2.5px solid var(--line);
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 6px 0 var(--line);
}

.howNum {
    position: absolute;
    top: -14px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--tone);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    transform: translateX(-50%);
}

.howIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%;
    background: var(--tint);
}

.howIcon svg { width: 30px; height: 30px; fill: var(--tone); }

.howStep h3 {
    margin: 0 0 6px;
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
}

.howStep p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

/* Free & private */
.promiseCard {
    position: relative;
    display: flex;
    align-items: center;
    gap: 34px;
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 44px;
    overflow: hidden;
    border-radius: 34px;
    background: var(--teal-tint);
}

.promiseCard::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -70px;
    width: 220px;
    height: 200px;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.promiseBadge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 6px 0 rgba(12, 106, 96, 0.18);
    transform: rotate(-6deg);
}

.promiseBadge svg { width: 56px; height: 56px; fill: var(--teal); }

.promiseText { position: relative; z-index: 1; text-align: left; }
.promiseText .lTitle,
.promiseText .lLead { margin-left: 0; }

.promisePoints {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.promisePoints li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px 6px 9px;
    border-radius: 999px;
    background: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.promisePoints svg { width: 16px; height: 16px; fill: var(--teal); }

/* FAQ */
.faqList {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 760px;
    margin: 28px auto 0;
    text-align: left;
}

.faqItem {
    border: 2.5px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 4px 0 var(--line);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.faqItem summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
}

.faqItem summary::-webkit-details-marker { display: none; }
.faqItem summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 18px; }
.faqItem:hover { border-color: var(--line-dark); }

/* plus that turns into a minus */
.faqToggle {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--orange-tint);
    transition: background 160ms ease, transform 260ms var(--ease-pop);
}

.faqToggle::before,
.faqToggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--orange-dark);
    transform: translate(-50%, -50%);
    transition: transform 260ms var(--ease-pop), background 160ms ease;
}

.faqToggle::after { transform: translate(-50%, -50%) rotate(90deg); }

.faqItem[open] { border-color: var(--teal); box-shadow: 0 4px 0 var(--teal-dark); }
.faqItem[open] .faqToggle { background: var(--teal); transform: rotate(180deg); }
.faqItem[open] .faqToggle::before,
.faqItem[open] .faqToggle::after { background: var(--white); }
.faqItem[open] .faqToggle::after { transform: translate(-50%, -50%) rotate(0deg); }

.faqAnswer { padding: 0 20px 18px; animation: faqIn 260ms ease; }

.faqAnswer p {
    margin: 0;
    color: var(--muted);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.6;
}

@keyframes faqIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

/* Closing */
.closingPhotoWrap {
    position: relative;
    max-width: 760px;
    margin: 0 auto 30px;
}

.closingPhoto {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 50% 55%;
    border: 6px solid var(--white);
    border-radius: 40px 40px 40px 120px;
    box-shadow: 0 8px 0 var(--line), 0 30px 50px -30px rgba(42, 34, 56, 0.45);
}

.closingPaw {
    position: absolute;
    display: block;
    padding: 12px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 6px 16px -8px rgba(42, 34, 56, 0.45);
}

.closingPaw.cp1 { top: -18px; right: 34px; width: 56px; height: 56px; fill: var(--orange); transform: rotate(14deg); }
.closingPaw.cp2 { bottom: 26px; right: -16px; width: 48px; height: 48px; fill: #D9486B; }

.ctaButton--inline { width: auto; min-width: 300px; margin-top: 28px; }

/* closing CTA scroll-up: the species tiles give a little wave */
.speciesGrid.nudge .speciesTile { animation: tileWave 700ms ease 450ms; }
.speciesGrid.nudge .speciesTile + .speciesTile { animation-delay: 560ms; }

@keyframes tileWave {
    0%, 100% { transform: none; }
    30% { transform: translateY(-8px) rotate(-2deg); }
    60% { transform: translateY(0) rotate(1.5deg); }
}

/* ---------- Footer ---------- */

.siteFooter {
    margin-top: 150px;
    padding: 34px 0 36px;
    border-radius: 36px 36px 0 0;
    background: var(--white);
    text-align: center;
}

.siteFooter .logo { height: 30px; margin: 0 auto; }

.footerLinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 16px 0;
    padding: 0;
    list-style: none;
}

.footerLinks a { color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.footerLinks a:hover { color: var(--orange-dark); }

.footerText {
    max-width: 900px;
    margin: 0 auto;
    color: #8A8296;
    font-size: 11px;
    line-height: 1.8;
}

/* ---------- Disclosure sheet ---------- */

.sheetOverlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(42, 34, 56, 0.45);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.sheetOverlay.visible { opacity: 1; visibility: visible; pointer-events: auto; }

.sheet {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 34px 28px 26px;
    border-radius: 26px;
    background: var(--white);
    text-align: center;
    transform: scale(0.94) translateY(10px);
    transition: transform 300ms var(--ease-pop);
}

.sheetOverlay.visible .sheet { transform: none; }

.sheetTitle { margin: 0 0 12px; font-family: var(--font-head); font-size: 21px; font-weight: 600; }
.sheetBody { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.sheetClose {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #F5EEE5;
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* ---------- Motion + responsive ---------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}

@media (max-width: 700px) {
    .choiceGrid { grid-template-columns: 1fr; max-width: 460px; gap: 18px; }
    .partnerGrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .partnerTile { height: 78px; padding: 14px 16px; border-radius: 18px; }
    .partnerTile img { max-height: 38px; }

    .howSteps { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; gap: 26px; }
    .howSteps::before { top: 30px; bottom: 30px; left: 50%; right: auto; border-top: 0; border-left: 3px dashed #F2C9AE; }

    .promiseCard { flex-direction: column; gap: 18px; padding: 32px 22px 28px; text-align: center; }
    .promiseText { text-align: center; }
    .promiseText .lTitle, .promiseText .lLead { margin-left: auto; }
    .promisePoints { justify-content: center; }
    .promiseBadge { width: 88px; height: 88px; }
    .promiseBadge svg { width: 44px; height: 44px; }


    .resultsHero { flex-direction: column; text-align: center; gap: 16px; }
    .summaryRow { justify-content: center; }
}

@media (max-width: 600px) {
    .blob.b2 { top: 420px; }
    .pawDecor.p2, .pawDecor.p4, .pawDecor.p5 { display: none; }
    .pawDecor.p1 { top: 98px; left: 4%; }
    .pawDecor.p3 { top: 300px; right: 4%; }

    .sheetOverlay { align-items: flex-end; padding: 0; }
    .sheet { max-width: none; border-radius: 26px 26px 0 0; transform: translateY(100%); }
}

@media (max-width: 467px) {
    .wrap { padding: 0 16px; }

    .siteHeader { padding-top: 10px; }
    .logo { height: 28px; }
    .topDisclosureLink { font-size: 11px; }
    .secureChip { padding: 4px 10px; font-size: 12px; }

    .walk { margin-bottom: 18px; }
    .walkRow { gap: 10px; }
    .backBtn { width: 36px; height: 36px; }
    .walkGoal { width: 36px; height: 36px; }
    .walkThumb { width: 42px; height: 42px; }
    .walkAvatar { --s: 36px !important; }
    /* full row width on phones so the progress note never gets cut */
    .walkCaption { padding: 0 2px; font-size: 12px; margin-top: 10px; }

    .kicker { font-size: 12px; margin-bottom: 10px; }
    .qTitle { font-size: 27px; }
    .qSub { font-size: 15px; }

    .speciesGrid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
    .speciesTile { padding: 8px 8px 12px; border-radius: 24px; }
    .stArt { height: 158px; }
    .stBlob { width: 128px; height: 122px; }
    .stPhoto { height: 166px; }
    .stName { margin-top: 6px; font-size: 20px; }
    .stStamp { top: 8px; right: 8px; width: 32px; height: 32px; }
    .stStamp svg { width: 18px; height: 18px; }

    .trustRow { gap: 6px 14px; margin-top: 20px; font-size: 12.5px; }
    .trustRow svg { width: 14px; height: 14px; }

    .tagAvatar { --s: 84px !important; }
    .nameTag { width: 228px; height: 80px; }
    .tagName { font-size: 23px; inset: 0 34px; }
    .tagScene { margin-bottom: 10px; }

    .ageGrid { gap: 10px; margin-top: 18px; }
    .ageTile { padding: 13px 4px 11px; border-radius: 18px; }
    .atNum { font-size: 26px; }
    .atUnit { font-size: 10.5px; }
    .atStage { margin-top: 8px; padding: 2px 8px; font-size: 11.5px; }

    .breedChip { padding: 9px 13px 9px 10px; font-size: 14px; }
    .chipGrid { gap: 8px; margin-top: 16px; }

    .choice { padding: 16px 14px; }
    .chIcon { width: 46px; height: 46px; border-radius: 14px; }
    .chIcon svg { width: 23px; height: 23px; }
    .chName { font-size: 17px; }

    .field input { height: 86px; padding-left: 56px; font-size: 21px; }
    .inputWrap svg { left: 19px; width: 24px; height: 24px; }
    .ctaButton { height: 68px; font-size: 22px; }

    .orbit { width: 190px; height: 190px; }
    .orbitAvatar { --s: 112px !important; }
    .checkList li { font-size: 15px; }

    .resultsTitle { font-size: 25px; }

    .landing { margin-top: 72px; }
    .lSection + .lSection { margin-top: 72px; }
    .lTitle { font-size: 27px; }
    .lLead { font-size: 15.5px; }
    .faqItem summary { padding: 16px; font-size: 16.5px; }
    .faqAnswer { padding: 0 16px 16px; }
    .faqAnswer p { font-size: 15px; }
    .closingPhoto { border-radius: 28px 28px 28px 80px; border-width: 5px; }
    .closingPaw.cp1 { right: 20px; width: 48px; height: 48px; }
    .closingPaw.cp2 { right: -8px; width: 42px; height: 42px; }
    .ctaButton--inline { width: 100%; min-width: 0; }
    .nowrap { white-space: normal; }
}

@media (max-width: 360px) {
    .qTitle { font-size: 24px; }
    .stArt { height: 138px; }
    .stBlob { width: 110px; height: 104px; }
    .stPhoto { height: 146px; }
    .trustRow { font-size: 11.5px; gap: 6px 10px; }
}

/* short laptop screens: keep step 1 above the fold */
@media (min-width: 601px) and (max-height: 700px) {
    .walk { margin-bottom: 18px; }
    .qTitle { font-size: 32px; }
    .stArt { height: 176px; }
    .stBlob { width: 150px; height: 142px; }
    .stPhoto { height: 186px; }
}
