/* ==========================================================================
   SoldIn3 — design system + landing page + offer game
   Mobile-first. No framework. Brand: blue #2B9CD8 / orange #F7A425 / green #7DC242
   ========================================================================== */

:root {
    --ink: #10344F;
    --ink-soft: #3E5D74;
    --blue: #2B9CD8;
    --blue-dark: #1F7DB0;
    --blue-deep: #0D2C44;
    --orange: #F7A425;
    --orange-dark: #D9880E;
    --orange-soft: #FFF3DD;
    --green: #7DC242;
    --green-dark: #5A9B28;
    --green-soft: #EEF7E3;
    --paper: #F5FAFD;
    --cream: #FFF9EF;
    --card: #FFFFFF;
    --line: #DFEBF3;
    --shadow-soft: 0 10px 30px rgba(16, 52, 79, 0.10);
    --shadow-pop: 0 18px 45px rgba(16, 52, 79, 0.16);
    --radius: 22px;
    --radius-sm: 14px;
    --font: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 14px; font-weight: 900; color: var(--ink); }
p { margin: 0 0 16px; color: var(--ink-soft); }
a { color: var(--blue-dark); }

.wrap {
    width: min(1120px, 100% - 40px);
    margin-inline: auto;
}

/* ---------- Buttons: chunky "game" buttons with 3D press ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: .2px;
    border: 0;
    border-radius: 999px;
    padding: 16px 30px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
    user-select: none;
    white-space: nowrap;
}
.btn-orange {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 5px 0 var(--orange-dark);
}
.btn-orange:hover { background: #FFAE2E; transform: translateY(-1px); box-shadow: 0 6px 0 var(--orange-dark); }
.btn-orange:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--orange-dark); }

.btn-blue {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 5px 0 var(--blue-dark);
}
.btn-blue:hover { background: #3BA9E4; transform: translateY(-1px); box-shadow: 0 6px 0 var(--blue-dark); }
.btn-blue:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--blue-dark); }

.btn-ghost {
    background: #fff;
    color: var(--ink);
    box-shadow: inset 0 0 0 2px var(--line), 0 4px 0 var(--line);
}
.btn-ghost:hover { transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--line), 0 1px 0 var(--line); }

.btn-big { font-size: 20px; padding: 19px 38px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

/* ---------- Chips / badges ---------- */

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink-soft);
}
.badge {
    display: inline-block;
    background: var(--green);
    color: #fff;
    font-size: 12.5px;
    font-weight: 900;
    letter-spacing: .6px;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 13px;
}
.badge.orange { background: var(--orange); }
.badge.blue { background: var(--blue); }

/* ---------- Art placeholder convention ---------- */

.art-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    border: 3px dashed #BFD9EA;
    border-radius: var(--radius);
    background: repeating-linear-gradient(-45deg, #F2F8FC, #F2F8FC 14px, #EAF3F9 14px, #EAF3F9 28px);
    color: #6E93AC;
    padding: 26px 20px;
    min-height: 180px;
}
.art-ph .glyph { font-size: 52px; line-height: 1; }
.art-ph .note { font-size: 13.5px; font-weight: 700; max-width: 420px; line-height: 1.45; }

/* ==========================================================================
   NAV
   ========================================================================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(245, 250, 253, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(16,52,79,.06); }

.nav-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
}
.nav-logo img { height: 40px; display: block; }
.nav-links {
    display: none;
    gap: 26px;
    margin-left: 14px;
}
.nav-links a {
    text-decoration: none;
    font-weight: 800;
    font-size: 15.5px;
    color: var(--ink-soft);
}
.nav-links a:hover { color: var(--blue-dark); }
.nav-spacer { flex: 1; }
.nav-phone {
    display: none;
    text-decoration: none;
    font-weight: 900;
    color: var(--ink);
    font-size: 15.5px;
}
.nav .btn { font-size: 15.5px; padding: 11px 22px; }

.nav-burger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 10px 6px;
    cursor: pointer;
}
.nav-burger span { width: 24px; height: 3px; border-radius: 3px; background: var(--ink); transition: .2s; }

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0 18px;
    border-top: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    text-decoration: none;
    font-weight: 800;
    color: var(--ink);
    padding: 10px 4px;
    font-size: 17px;
}

@media (min-width: 900px) {
    .nav-links { display: flex; }
    .nav-phone { display: inline; }
    .nav-burger, .nav-mobile { display: none !important; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    padding: 40px 0 70px;
    overflow: hidden;
}
/* soft background blobs */
.hero::before, .hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .5;
    z-index: 0;
    pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: #CDEBFB; top: -160px; right: -140px; }
.hero::after { width: 420px; height: 420px; background: #FFE9C4; bottom: -180px; left: -160px; }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 46px;
    align-items: center;
}
@media (min-width: 980px) {
    .hero { padding: 64px 0 96px; }
    .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

.hero-eyebrow { margin-bottom: 18px; }
.hero-eyebrow .chip { background: #fff; border-color: #F3D9A8; color: var(--orange-dark); font-size: 14.5px; }

.hero h1 {
    font-size: clamp(38px, 6vw, 60px);
    letter-spacing: -1px;
    margin-bottom: 18px;
}
.hero h1 .hl-blue { color: var(--blue); }
.hero h1 .hl-orange {
    color: var(--orange);
    position: relative;
    white-space: nowrap;
}
.hero-sub {
    font-size: clamp(17px, 2.2vw, 20px);
    max-width: 560px;
    margin-bottom: 28px;
}

/* address form */
.addr-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 560px;
}
.addr-form input {
    width: 100%;
    font-family: var(--font);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 999px;
    padding: 17px 24px;
    outline: none;
    box-shadow: var(--shadow-soft);
    transition: border-color .15s ease;
}
.addr-form input::placeholder { color: #9AB4C6; font-weight: 600; }
.addr-form input:focus { border-color: var(--blue); }
@media (min-width: 560px) {
    .addr-form { flex-direction: row; }
    .addr-form input { flex: 1; }
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

/* New-style Google Places widget (PlaceAutocompleteElement): it replaces the
   pill input inside .addr-form. Its internals live in shadow DOM, so theming
   goes through the host element + Google's documented custom properties. */
gmp-place-autocomplete.si3-places {
    flex: 1;
    width: 100%;
    background: #fff;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    --gmp-mat-color-surface: #ffffff;
    --gmp-mat-color-on-surface: #10344F;
    --gmp-mat-color-on-surface-variant: #8AA5B8;
    --gmp-mat-color-primary: #2B9CD8;
    --gmp-mat-font-family-base: 'Nunito', 'Segoe UI', sans-serif;
    font-family: var(--font);
}

/* Classic Places dropdown (fallback path), dressed for the party.
   (.pac-* are Google's own classes; the "powered by Google" logo row stays —
   it's required attribution.) */
.pac-container {
    margin-top: 8px;
    border: 2px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-pop);
    font-family: var(--font);
    padding: 6px;
    background: #fff;
    z-index: 90;
}
.pac-item {
    border: 0;
    border-radius: 12px;
    padding: 10px 12px 10px 38px;
    font-family: var(--font);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    line-height: 1.4;
    cursor: pointer;
    position: relative;
}
.pac-item:hover, .pac-item-selected {
    background: var(--paper);
}
.pac-item-selected {
    box-shadow: inset 0 0 0 2px var(--blue);
}
.pac-icon {
    display: none;
}
.pac-item::before {
    content: "🏠";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}
.pac-item-query {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    padding-right: 4px;
}
.pac-matched {
    color: var(--blue-dark);
}

/* hero visual: mock game card, pure CSS */
.hero-visual { position: relative; }
.mock-card {
    position: relative;
    background: #fff;
    border-radius: 26px;
    box-shadow: var(--shadow-pop);
    padding: 26px 26px 24px;
    max-width: 420px;
    margin-inline: auto;
    transform: rotate(1.5deg);
}
.mock-card .mc-level {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.mock-card .mc-level .badge { font-size: 11.5px; }
.mock-bar {
    height: 12px;
    border-radius: 999px;
    background: #EAF3F9;
    overflow: hidden;
    margin-bottom: 20px;
}
.mock-bar i {
    display: block;
    height: 100%;
    width: 72%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green), #A5D96E);
    animation: mockfill 2.6s ease-in-out infinite alternate;
}
@keyframes mockfill { from { width: 58%; } to { width: 86%; } }

.mock-house {
    text-align: center;
    font-size: 74px;
    line-height: 1;
    margin: 6px 0 10px;
    animation: bob 3.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.mock-offer {
    text-align: center;
    margin-bottom: 18px;
}
.mock-offer .mo-label { font-size: 13px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); }
.mock-offer .mo-amount { font-size: 42px; font-weight: 1000; color: var(--green-dark); letter-spacing: -1px; }
.mock-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-choice {
    border: 2px solid var(--line);
    border-radius: 16px;
    padding: 13px 8px;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
}
.mock-choice .em { display: block; font-size: 26px; margin-bottom: 4px; }
.mock-choice.picked {
    border-color: var(--green);
    background: var(--green-soft);
    box-shadow: 0 4px 0 rgba(125,194,66,.4);
}

/* floating stickers around the mock card */
.sticker {
    position: absolute;
    background: #fff;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    font-size: 14px;
    font-weight: 900;
    padding: 9px 16px;
    white-space: nowrap;
}
.sticker.s1 { top: -14px; left: -6px; transform: rotate(-5deg); color: var(--blue-dark); animation: bob 4s ease-in-out infinite; }
.sticker.s2 { bottom: -12px; right: -4px; transform: rotate(4deg); color: var(--orange-dark); animation: bob 3.4s .5s ease-in-out infinite; }
@media (min-width: 980px) {
    .sticker.s1 { left: -26px; }
    .sticker.s2 { right: -22px; }
}

/* ==========================================================================
   SECTIONS (shared)
   ========================================================================== */

section { padding: 70px 0; }
@media (min-width: 980px) { section { padding: 96px 0; } }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head .kicker {
    display: inline-block;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -.8px; }
.sec-head p { font-size: 18px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   PICK YOUR ENDING
   ========================================================================== */

.endings {
    display: grid;
    gap: 24px;
}
@media (min-width: 860px) { .endings { grid-template-columns: 1fr 1fr; } }

.ending-card {
    position: relative;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 34px 30px 30px;
    display: flex;
    flex-direction: column;
    border: 3px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease;
}
.ending-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.ending-card.featured { border-color: var(--orange); background: linear-gradient(180deg, #FFFDF8, #FFF6E6); }
.ending-card .corner-badge {
    position: absolute;
    top: -14px;
    left: 26px;
}
.ending-card .ec-emoji { font-size: 46px; line-height: 1; margin-bottom: 14px; }
.ending-card h3 { font-size: 26px; }
.ending-card ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ending-card ul li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 700;
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.45;
}
.ending-card ul li::before {
    content: "✓";
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
    font-weight: 900;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.ending-card .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   HOW IT WORKS — 3 LEVELS
   ========================================================================== */

.levels-sec { background: var(--blue-deep); }
.levels-sec .sec-head h2, .levels-sec .sec-head .kicker { color: #fff; }
.levels-sec .sec-head .kicker { color: #7CC4EA; }
.levels-sec .sec-head p { color: #A8C6DA; }

.levels {
    display: grid;
    gap: 22px;
    counter-reset: level;
}
@media (min-width: 860px) { .levels { grid-template-columns: repeat(3, 1fr); } }

.level-card {
    position: relative;
    background: #133B58;
    border: 2px solid #1E4E70;
    border-radius: var(--radius);
    padding: 62px 26px 28px;
    color: #C9DEED;
}
.level-card .lv-num {
    position: absolute;
    top: -20px;
    left: 24px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 1000;
    color: #fff;
    box-shadow: 0 5px 0 rgba(0,0,0,.25);
}
.level-card:nth-child(1) .lv-num { background: var(--blue); }
.level-card:nth-child(2) .lv-num { background: var(--orange); }
.level-card:nth-child(3) .lv-num { background: var(--green); }
.level-card .lv-emoji { font-size: 38px; position: absolute; top: 14px; right: 20px; }
.level-card h3 { color: #fff; font-size: 22px; }
.level-card p { color: #A8C6DA; font-size: 15.5px; margin: 0; }
.level-card .lv-time {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #7CC4EA;
}
.levels-cta { text-align: center; margin-top: 44px; }
.levels-tagline {
    text-align: center;
    margin-top: 22px;
    color: #7CC4EA;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .4px;
}

/* ==========================================================================
   SELL & STAY DEEP DIVE
   ========================================================================== */

.stay-sec { background: var(--cream); }

.stay-grid {
    display: grid;
    gap: 44px;
    align-items: center;
}
@media (min-width: 980px) { .stay-grid { grid-template-columns: .95fr 1.05fr; } }

.stay-photo { position: relative; }
.stay-photo img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-pop);
}
.stay-photo .sticker.s3 {
    top: auto; bottom: 18px; left: 18px;
    transform: rotate(-3deg);
    color: var(--green-dark);
    font-size: 15px;
}

.stay-copy h2 { font-size: clamp(30px, 4.2vw, 42px); letter-spacing: -.8px; }
.stay-benefits {
    list-style: none;
    padding: 0;
    margin: 26px 0 30px;
    display: grid;
    gap: 16px;
}
@media (min-width: 640px) { .stay-benefits { grid-template-columns: 1fr 1fr; } }
.stay-benefits li {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 18px;
    box-shadow: var(--shadow-soft);
    display: flex;
    gap: 13px;
    align-items: flex-start;
}
.stay-benefits .em { font-size: 26px; line-height: 1.2; }
.stay-benefits b { display: block; font-size: 16px; font-weight: 900; color: var(--ink); margin-bottom: 3px; }
.stay-benefits span.d { font-size: 14px; color: var(--ink-soft); font-weight: 600; line-height: 1.45; }

/* ==========================================================================
   COMPARE
   ========================================================================== */

.compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);   /* clip here — overflow:hidden on the table kills sticky cells */
    box-shadow: var(--shadow-soft);
}
.compare {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}
.compare th, .compare td {
    padding: 16px 18px;
    text-align: center;
    font-size: 15.5px;
    border-bottom: 1px solid var(--line);
}
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 15px; font-weight: 900; }
.compare th:first-child, .compare td:first-child {
    text-align: left;
    font-weight: 800;
    color: var(--ink);
    /* pin the feature labels while the provider columns scroll (mobile) */
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    box-shadow: 8px 0 10px -8px rgba(16, 52, 79, .18);
}
.compare thead th:first-child { background: #F2F8FC; z-index: 3; }
@media (max-width: 640px) {
    .compare th:first-child, .compare td:first-child {
        min-width: 150px;
        max-width: 170px;
        font-size: 14px;
    }
}
.compare thead th { background: #F2F8FC; padding: 18px; }
.compare .col-us { background: var(--green-soft); font-weight: 900; }
.compare thead .col-us { background: var(--green); color: #fff; font-size: 16px; }
.compare .yes { color: var(--green-dark); font-weight: 1000; font-size: 18px; }
.compare .no { color: #C8CFD6; font-weight: 900; font-size: 18px; }
.compare .meh { color: var(--orange-dark); font-weight: 800; font-size: 13.5px; }
.compare .meh-em { font-size: 22px; vertical-align: -3px; line-height: 1; }
.compare-note { text-align: center; font-size: 13.5px; margin-top: 14px; color: #8AA5B8; font-weight: 600; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.quotes { display: grid; gap: 22px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.quote-card .stars { color: var(--orange); font-size: 17px; letter-spacing: 2px; }
.quote-card blockquote { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.55; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
/* sprite avatars — 10×10 grids; tile (row r, col c) = background-position
   calc(c*100%/9) calc(r*100%/9) set inline on the element */
.quote-who .av {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-size: 1000% 1000%;
    box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(16, 52, 79, .18);
}
.quote-who .av.usr { background-image: url(../images/user-sprite.jpg); }
/* couples tiles carry padding + dark grid gutters — zoom 1.55× so the pair
   fills the circle clear of the gutters. Tile (row r, col c) position in px,
   for the 46px avatar:
   x = 23 − (c + .5)·71.3   y = 23 − (r + .42)·71.3  (faces sit high) */
.quote-who .av.cpl { background-image: url(../images/couples-sprite.jpg); background-size: 1550% 1550%; }
.quote-who b { display: block; font-size: 15px; color: var(--ink); }
.quote-who span { font-size: 13px; color: #8AA5B8; font-weight: 700; }
.quotes-note { text-align: center; font-size: 13px; color: #9AB4C6; font-weight: 700; margin-top: 18px; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-sec { background: #fff; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-list details {
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0 22px;
    transition: border-color .15s ease;
}
.faq-list details[open] { border-color: var(--blue); background: #fff; }
.faq-list summary {
    cursor: pointer;
    list-style: none;
    font-weight: 900;
    font-size: 17px;
    padding: 18px 30px 18px 0;
    position: relative;
    outline: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 800;
    color: var(--blue);
    transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding-bottom: 20px; margin: 0; font-size: 15.5px; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.final-cta {
    background: linear-gradient(135deg, var(--blue) 0%, #1C86BC 100%);
    border-radius: var(--radius);
    padding: 54px 26px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: "🏠";
    position: absolute;
    font-size: 200px;
    opacity: .08;
    right: -30px;
    bottom: -50px;
    transform: rotate(-10deg);
}
.final-cta h2 { color: #fff; font-size: clamp(28px, 4.5vw, 42px); letter-spacing: -.6px; }
.final-cta p { color: #D3ECFA; font-size: 18px; max-width: 520px; margin: 0 auto 28px; }
.final-cta .addr-form { margin-inline: auto; }
.final-cta .addr-form input { border-color: transparent; box-shadow: 0 10px 30px rgba(0,0,0,.15); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--blue-deep);
    color: #A8C6DA;
    padding: 60px 0 40px;
    margin-top: 70px;
}
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer img.f-logo { height: 42px; width: auto; margin-bottom: 16px; }
.footer p { color: #7FA2BB; font-size: 14.5px; max-width: 360px; }
.footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #A8C6DA; text-decoration: none; font-weight: 700; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid #1E4E70;
    margin-top: 44px;
    padding-top: 24px;
    font-size: 13px;
    color: #5E859F;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   OFFER GAME  (offer.php)
   ========================================================================== */

.game-body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(700px 340px at 85% -60px, #DCF0FB 0%, transparent 65%),
        radial-gradient(600px 320px at 0% 105%, #FFF0D6 0%, transparent 60%),
        var(--paper);
}

.game-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    width: min(760px, 100%);
    margin-inline: auto;
}
.game-top img { height: 30px; display: block; }
.game-top .exit {
    margin-left: auto;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    color: #8AA5B8;
}
.game-top .exit:hover { color: var(--ink); }

/* progress track with the traveling house */
.track-wrap {
    width: min(720px, 100% - 40px);
    margin: 4px auto 8px;
}
.track-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9AB4C6;
    margin-bottom: 8px;
}
.track-labels span.active { color: var(--blue-dark); }
/* the "Level N" tag pops in orange, distinct from the label text */
.track-labels .lv, .step-kicker .lv { font-style: normal; color: var(--orange); }
.track-labels .lt { font-weight: inherit; }
.track-labels .lt::before { content: ' · '; }
/* phones: stack "LEVEL N" above its label so nothing wraps mid-word */
@media (max-width: 640px) {
    .track-labels .lv, .track-labels .lt { display: block; }
    .track-labels .lt::before { content: none; }
    .track-labels span:nth-child(2) { text-align: center; }
    .track-labels span:nth-child(3) { text-align: right; }
}
.track {
    position: relative;
    height: 14px;
    border-radius: 999px;
    background: #E3EEF5;
}
.track .fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    transition: width .45s cubic-bezier(.34, 1.3, .64, 1);
}
.track .runner {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -58%);
    font-size: 26px;
    transition: left .45s cubic-bezier(.34, 1.3, .64, 1);
    filter: drop-shadow(0 3px 3px rgba(16,52,79,.25));
    animation: runnerbob 2.4s ease-in-out .6s 2;   /* two attention hops after load, then rest */
}
/* happy little hop + wiggle so the runner catches the eye */
@keyframes runnerbob {
    0%, 100% { transform: translate(-50%, -58%) rotate(0deg); }
    20% { transform: translate(-50%, -78%) rotate(-5deg); }
    40% { transform: translate(-50%, -58%) rotate(0deg); }
    60% { transform: translate(-50%, -74%) rotate(5deg); }
    80% { transform: translate(-50%, -58%) rotate(0deg); }
}
.track .pin {
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px #CFE2EE;
}

/* step stage */
.stage {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 26px 20px 60px;
}
.step-card {
    width: min(620px, 100%);
    background: #fff;
    border-radius: 26px;
    box-shadow: var(--shadow-pop);
    padding: 36px 26px 30px;
    animation: stepin .4s cubic-bezier(.34, 1.3, .64, 1);
}
@media (min-width: 640px) { .step-card { padding: 44px 44px 36px; } }
/* phones: shave the side chrome — ~46px per side down to ~22px */
@media (max-width: 480px) {
    .stage { padding: 14px 8px 44px; }
    .step-card { padding: 26px 14px 24px; border-radius: 20px; }
}
@keyframes stepin {
    from { opacity: 0; transform: translateY(24px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.step-kicker {
    font-size: 12.5px;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
}
.step-card h2 {
    font-size: clamp(24px, 4.5vw, 32px);
    letter-spacing: -.5px;
    margin-bottom: 8px;
}
.step-hint { font-size: 15.5px; margin-bottom: 26px; }

/* pick cards */
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pick-grid.cols-1 { grid-template-columns: 1fr; }
@media (max-width: 430px) { .pick-grid { grid-template-columns: 1fr; } }

.pick {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    background: #fff;
    border: 2.5px solid var(--line);
    border-radius: 18px;
    padding: 20px 14px;
    font-family: var(--font);
    font-weight: 800;
    font-size: 15.5px;
    color: var(--ink);
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.pick .em { font-size: 34px; line-height: 1; }
.pick .sub { font-size: 12.5px; font-weight: 700; color: #8AA5B8; }
.pick:hover { transform: translateY(-3px); border-color: #BFD9EA; box-shadow: var(--shadow-soft); }
.pick.selected {
    border-color: var(--green);
    background: var(--green-soft);
    box-shadow: 0 5px 0 rgba(125, 194, 66, .35);
}
.pick.selected::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pick .pk-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10.5px;
    padding: 4px 10px;
}
/* wide picks (the fork step) */
.pick.wide { flex-direction: row; text-align: left; justify-content: flex-start; gap: 16px; padding: 20px 20px; }
.pick.wide .em { font-size: 38px; }
.pick.wide .pk-badge { left: auto; right: 14px; transform: none; }
.pick.wide b { display: block; font-size: 17px; }
.pick.wide .sub { font-size: 13.5px; }

/* steppers */
.steppers { display: flex; flex-direction: column; gap: 18px; }
.stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: 18px;
    padding: 14px 18px;
}
.stepper .lbl { font-weight: 900; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.stepper .lbl .em { font-size: 22px; }
.stepper .ctrl { display: flex; align-items: center; gap: 14px; }
.stepper .val { min-width: 44px; text-align: center; font-size: 22px; font-weight: 1000; color: var(--ink); }
.stepper button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--blue);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 0 var(--blue-dark);
    transition: transform .1s ease, box-shadow .1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}
.stepper button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--blue-dark); }
.stepper button.minus { background: #fff; color: var(--blue-dark); box-shadow: 0 4px 0 var(--line), inset 0 0 0 2px var(--line); }
.stepper button.minus:active { box-shadow: 0 1px 0 var(--line), inset 0 0 0 2px var(--line); }

/* condition slider */
.cond-face { text-align: center; font-size: 64px; line-height: 1; margin-bottom: 6px; transition: transform .15s ease; }
.cond-label { text-align: center; font-size: 19px; font-weight: 900; color: var(--ink); margin-bottom: 4px; }
.cond-sub { text-align: center; font-size: 14px; color: #8AA5B8; font-weight: 700; margin-bottom: 22px; min-height: 22px; }
input[type="range"].cond-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #F9C97C, #FBE38E, #C9E59B, #9AD468, var(--green));
    outline: none;
    cursor: pointer;
    margin: 4px 0 8px;
}
input[type="range"].cond-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--blue);
    box-shadow: 0 4px 10px rgba(16,52,79,.25);
    cursor: grab;
}
input[type="range"].cond-range::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--blue);
    box-shadow: 0 4px 10px rgba(16,52,79,.25);
    cursor: grab;
}
.cond-ends { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 800; color: #9AB4C6; }

/* pin-confirmation map */
.map-box {
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--line);
    box-shadow: var(--shadow-soft);
    background: #E8F1F7;
    position: relative;
}
@media (max-width: 480px) {
    .map-box { height: 46vh; min-height: 260px; }
}
.map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #8AA5B8;
    font-size: 15px;
}
.map-addr {
    text-align: center;
    font-weight: 800;
    font-size: 14.5px;
    color: var(--ink-soft);
    margin-top: 14px;
    min-height: 22px;
}

/* text inputs in the game */
.gfield { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.gfield label { font-weight: 900; font-size: 14.5px; }
.gfield input {
    font-family: var(--font);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: 16px;
    padding: 15px 18px;
    outline: none;
    transition: border-color .15s ease, background .15s ease;
    width: 100%;
}
.gfield input:focus { border-color: var(--blue); background: #fff; }
.gfield input.err { border-color: #E5533C; background: #FFF5F3; }
.gfield .fe { font-size: 13px; color: #E5533C; font-weight: 800; display: none; }
.gfield input.err + .fe, .gfield input.err ~ .fe { display: block; }

/* OTP entry */
input.otp-input {
    font-size: 32px !important;
    font-weight: 900;
    letter-spacing: 14px;
    text-align: center;
}
.step-foot a { color: var(--blue-dark); font-weight: 800; }

/* the "we know your home" knowledge card */
.know-card {
    background: linear-gradient(180deg, #F5FAFD, #EDF6FC);
    border: 2px solid #CFE6F4;
    border-radius: 18px;
    padding: 20px;
    animation: stepin .4s cubic-bezier(.34, 1.3, .64, 1);
}
.know-head {
    font-weight: 900;
    font-size: 16px;
    color: var(--ink);
    margin-bottom: 14px;
}
.know-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.know-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ink-soft);
}
.know-chip .em { font-size: 16px; }
.know-owner {
    text-align: center;
    font-size: 22px;
    font-weight: 1000;
    color: var(--ink);
    background: var(--orange-soft);
    border: 2px solid #F3D9A8;
    border-radius: 16px;
    padding: 14px 18px;
}

/* nav row inside card */
.step-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}
.step-nav .back {
    background: none;
    border: 0;
    font-family: var(--font);
    font-weight: 800;
    font-size: 15px;
    color: #8AA5B8;
    cursor: pointer;
    padding: 10px 6px;
}
.step-nav .back:hover { color: var(--ink); }
.step-nav .btn { margin-left: auto; }
.step-foot { text-align: center; font-size: 12.5px; color: #9AB4C6; font-weight: 700; margin-top: 18px; }

/* wrapping variant for button rows that must never overflow on phones */
.step-nav.wrap { flex-wrap: wrap; gap: 10px; }
.step-nav.wrap .btn { flex: 1 1 160px; justify-content: center; margin-left: 0 !important; }

/* encouragement toast */
.cheer {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%) translateY(80px);
    background: var(--ink);
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    border-radius: 999px;
    padding: 12px 24px;
    box-shadow: var(--shadow-pop);
    opacity: 0;
    transition: transform .35s cubic-bezier(.34,1.3,.64,1), opacity .35s ease;
    pointer-events: none;
    z-index: 80;
    white-space: nowrap;
}
.cheer.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* the reveal — instant numbers after the fork */
.rev-panel {
    border: 2px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 18px;
    background: #fff;
    animation: stepin .4s cubic-bezier(.34, 1.3, .64, 1);
}
.rev-tag {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--blue-dark);
    background: var(--paper);
    border-radius: 999px;
    padding: 5px 13px;
    margin-bottom: 14px;
}
.rev-big { text-align: center; font-weight: 800; color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }
.rev-big .rb-num {
    display: block;
    font-size: clamp(26px, 6vw, 36px);
    font-weight: 1000;
    letter-spacing: -1px;
    color: var(--green-dark);
    margin: 6px 0 4px;
}
.rev-big small { display: block; font-size: 13px; font-weight: 700; color: #8AA5B8; max-width: 380px; margin: 0 auto; line-height: 1.45; }

.rev-meter-wrap { margin: 6px 0 16px; }
.rev-meter {
    position: relative;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #F9C97C, #C9E59B, var(--green));
}
.rev-meter i {
    position: absolute;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--blue);
    transform: translate(-50%, -50%);
    box-shadow: 0 3px 8px rgba(16,52,79,.3);
}
.rev-meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 800;
    color: #8AA5B8;
    margin-top: 8px;
}

.rev-rows { margin: 0 0 14px; }
.rev-rows div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
}
.rev-rows dt { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.rev-rows dd { margin: 0; font-size: 15px; font-weight: 900; color: var(--ink); text-align: right; }
.rev-rows dd em { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--green-dark); }
.rev-rows .payoff-src { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--blue-dark); }
.payoff-dd { white-space: nowrap; }
.payoff-in {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 900;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 2px dashed var(--blue);
    width: 100px;
    text-align: right;
    outline: none;
    padding: 0 2px 1px;
}
.payoff-in:focus { border-bottom-style: solid; background: var(--paper); }

.rev-honest, .rev-beat {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    line-height: 1.5;
    background: var(--paper);
    border-radius: 14px;
    padding: 12px 15px;
    margin-bottom: 10px;
}
.rev-beat { background: var(--orange-soft); }
.rev-fine { font-size: 11.5px; font-weight: 600; color: #9AB4C6; line-height: 1.5; margin-top: 12px; }

/* the equity check — cartoon check: speckled security paper + perforated stub */
.check {
    background:
        radial-gradient(circle, rgba(43, 156, 216, .10) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(125, 194, 66, .09) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(16, 52, 79, .06) 1px, transparent 1.6px),
        linear-gradient(160deg, #F7FBFE, #E9F4FB);
    background-size: 13px 13px, 19px 17px, 27px 23px, 100% 100%;
    background-position: 0 0, 7px 9px, 3px 14px, 0 0;
    border: 2px solid #C7E0F0;
    border-radius: 14px;
    padding: 16px 18px 16px 28px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    font-family: var(--font);
    position: relative;
    overflow: hidden;
}
.check::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    border-left: 3px dotted rgba(16, 52, 79, .18);
}
.ck-meta { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.ck-no { font-size: 12px; font-weight: 900; color: var(--blue-dark); letter-spacing: 1px; }
.ck-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ck-logo { height: 26px; width: auto; }
.ck-date { font-size: 12px; font-weight: 700; color: #8AA5B8; }
.ck-payline { display: flex; align-items: baseline; gap: 10px; border-bottom: 2px solid #C7E0F0; padding-bottom: 6px; }
.ck-lbl { font-size: 11px; font-weight: 700; color: #8AA5B8; text-transform: uppercase; letter-spacing: .6px; white-space: nowrap; }
.ck-payee { font-size: 18px; font-weight: 900; color: var(--ink); }
.ck-amount {
    text-align: right;
    font-size: clamp(28px, 7vw, 40px);
    font-weight: 1000;
    color: var(--green-dark);
    letter-spacing: -1px;
    padding: 10px 0 6px;
    animation: ckpulse 2.2s ease-in-out infinite;
    transform-origin: right center;
    text-shadow: 0 0 0 rgba(125, 194, 66, 0);
}
/* the shot goal — impossible to miss: bold, big, gently pulsing */
.ph-goal {
    text-align: center;
    font-size: 17.5px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 20px;
    animation: ckpulse 2.2s ease-in-out infinite;
}

/* reveal ending switcher — flip between Cash Out & Go and Sell & Stay */
.rev-switch { display: flex; gap: 8px; margin-bottom: 14px; }
.rev-tab {
    flex: 1;
    padding: 11px 8px;
    border-radius: 999px;
    border: 2px solid var(--line);
    background: #fff;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--ink-soft);
    cursor: pointer;
    transition: transform .1s ease, border-color .12s ease, background .12s ease;
}
.rev-tab:hover { transform: translateY(-1px); }
.rev-tab.on {
    border-color: var(--blue);
    background: #F0F7FC;
    color: var(--blue-dark);
    box-shadow: inset 0 0 0 1px var(--blue);
}

/* stay-panel rent callout — the other half of the deal, front and center */
.rev-rent {
    margin-top: 12px;
    background: #F0F7FC;
    border: 2px solid #BFE0F2;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.rev-rent .rr-lbl { font-weight: 800; font-size: 14.5px; color: var(--ink-soft); }
.rev-rent .rr-num {
    font-size: 23px;
    font-weight: 1000;
    color: var(--blue-dark);
    white-space: nowrap;
    animation: ckpulse 2.2s ease-in-out infinite;
}
/* "✏️ adjust" sits under the dashed payoff input */
.payoff-adjust {
    display: block;
    font-style: normal;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--blue);
    margin-top: 3px;
    text-align: right;
}

/* the "You requested" chip is tappable — switch paths from the tracker */
.st-path-chip {
    cursor: pointer;
    font-family: inherit;
    transition: transform .1s ease, box-shadow .1s ease;
}
.st-path-chip:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(16, 52, 79, .12); }
.st-path-edit { font-size: 12px; opacity: .7; }

/* the in-review "maxing your offer" bullets on the tracker */
.st-body-list {
    list-style: none;
    margin: 10px auto 0;
    padding: 0;
    max-width: 420px;
    text-align: left;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-soft);
}
.st-body-list li { padding: 5px 0; line-height: 1.45; }
.st-body-list b { color: var(--ink); }

/* the shot-list map — done checks at a glance, tap to jump */
.ph-map { position: relative; padding-top: 26px; }
.ph-map-badge {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 12px;
    font-weight: 900;
    color: var(--green-dark);
    background: #EAF6EE;
    border: 1.5px solid #BFE3CB;
    border-radius: 999px;
    padding: 2px 9px;
    line-height: 1.4;
}
.ph-map.done { border-color: #7DC242; background: #F4FAEF; }
.ph-map.done .ph-map-badge { background: #7DC242; color: #fff; border-color: #7DC242; font-size: 13px; }

/* Photo Shoot intro bullets */
.ph-intro-list {
    list-style: none;
    margin: 0 auto 22px;
    padding: 0;
    max-width: 420px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
}
.ph-intro-list li { padding: 6px 0; line-height: 1.45; }
.ph-intro-list b, .ph-intro-list u { color: var(--ink); }
.ph-intro-list u { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

/* success-screen Photo Jackpot CTA — two stacked lines, gentle pulse */
.ph-cta {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    animation: ckpulse 2.2s ease-in-out infinite;
}
.ph-cta small {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    margin-top: 3px;
    opacity: .95;
}
@keyframes ckpulse {
    0%, 100% { transform: scale(1); text-shadow: 0 0 0 rgba(125, 194, 66, 0); }
    50% { transform: scale(1.045); text-shadow: 0 2px 18px rgba(125, 194, 66, .45); }
}
.ck-amount.pop { animation: ckpop .35s cubic-bezier(.34, 1.6, .64, 1), ckpulse 2.2s .35s ease-in-out infinite; }
@keyframes ckpop {
    0% { transform: scale(.9); }
    60% { transform: scale(1.12); }
    100% { transform: scale(1); }
}
.ck-amount small { font-size: 13px; font-weight: 700; color: #8AA5B8; letter-spacing: 0; }
.ck-bottom { display: flex; justify-content: space-between; align-items: baseline; }
.ck-memo { font-size: 12px; font-weight: 700; color: #8AA5B8; }
.ck-sig {
    font-family: 'Caveat', 'Segoe Script', cursive;
    font-size: 28px;
    font-weight: 700;
    color: var(--blue-dark);
    border-bottom: 2px solid #C7E0F0;
    padding: 0 14px 0;
    line-height: 1;
    transform: rotate(-2deg);
}

.rev-dial label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.rev-dial label em { font-style: normal; color: #9AB4C6; }

/* who-takes-care-of-what */
.care { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 14px; }
@media (max-width: 430px) { .care { grid-template-columns: 1fr; } }
.care-col { border-radius: 14px; padding: 13px 15px; display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.care-col b { flex-basis: 100%; font-size: 13px; margin-bottom: 4px; }
.care-col span {
    font-size: 12px;
    font-weight: 800;
    background: #fff;
    border-radius: 999px;
    padding: 4px 10px;
}
.care-col.us { background: var(--green-soft); color: var(--green-dark); }
.care-col.us b { color: var(--green-dark); }
.care-col.you { background: var(--paper); color: var(--ink-soft); }

/* processing screen */
.proc { text-align: center; padding: 20px 0 10px; }
.proc .spin-house { font-size: 70px; display: inline-block; animation: bob 1.6s ease-in-out infinite; }
.proc h2 { margin-top: 10px; }
.proc .proc-msg { min-height: 26px; font-weight: 800; color: var(--ink-soft); font-size: 16px; }
.proc .mock-bar { max-width: 320px; margin: 22px auto 0; }
.proc .mock-bar i { animation: none; transition: width .5s ease; }

/* success screen */
.done { text-align: center; padding: 8px 0 4px; }
.done .big-emoji { font-size: 78px; line-height: 1; }
.done h2 { font-size: clamp(28px, 5vw, 36px); margin-top: 12px; }
.done .done-sub { max-width: 440px; margin: 0 auto 26px; }
.done-next {
    text-align: left;
    max-width: 440px;
    margin: 0 auto 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.done-next .dn {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    background: var(--paper);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink-soft);
    line-height: 1.45;
}
.done-next .dn .em { font-size: 22px; }
.done-next .dn b { color: var(--ink); }

/* status tracker page */
.st-track-wrap { margin: 22px 0 6px; }
.st-stops {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    text-align: center;
}
.st-stops span {
    flex: 1;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #B7CBD9;
    line-height: 1.6;
}
.st-stops span.on { color: var(--blue-dark); }
@media (max-width: 480px) {
    .st-stops span { font-size: 9.5px; letter-spacing: .2px; padding: 0 3px; }
}
.st-stops i {
    display: block;
    font-style: normal;
    font-size: 28px;
    line-height: 1.2;
    filter: grayscale(1) opacity(.45);
}
.st-stops span.on i { filter: none; }
.st-addr2 { font-size: 17px; font-weight: 800; color: var(--ink-soft); margin-bottom: 10px; }
.st-status {
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: 18px;
    padding: 20px 22px;
    margin-top: 20px;
    text-align: center;
}
.st-status.paused { background: var(--cream); border-color: #F3D9A8; }
.st-status h3 { font-size: 22px; margin-bottom: 8px; }
.st-status p { font-size: 14.5px; margin-bottom: 0; }
.st-amount {
    font-size: clamp(30px, 7vw, 42px);
    font-weight: 1000;
    color: var(--green-dark);
    letter-spacing: -1px;
    margin-top: 12px;
    animation: ckpulse 2.2s ease-in-out infinite;
}
.st-team-note {
    margin: 14px auto 0;
    max-width: 420px;
    background: #FFF9E8;
    border: 1.5px solid #F2DFA8;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    line-height: 1.5;
}
.st-team-note b { color: var(--ink-soft); font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }

.st-walk {
    margin-top: 2px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink-soft);
}
.st-walk b { color: var(--green-dark); font-weight: 1000; }
.st-rent {
    margin-top: 4px;
    font-size: 15.5px;
    font-weight: 800;
    color: var(--ink-soft);
}
.st-rent b { color: var(--blue-dark); font-weight: 1000; }

/* seller offer actions — graphic-only, modal explains + confirms */
.st-actions { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.st-act {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;          /* flex row must never squeeze these into ovals */
    box-sizing: border-box;
    padding: 0;
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 1;
    background: #fff;
    border-radius: 999px;
    cursor: pointer;
    border: 3px solid var(--line);
    box-shadow: 0 4px 0 rgba(16, 52, 79, .18);
    transition: transform .1s ease, box-shadow .1s ease;
}
.st-act:hover { transform: translateY(-2px); }
.st-act:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(16, 52, 79, .18); }
.st-act.yes   { border-color: #3CB371; }
.st-act.no    { border-color: #E4707A; }
.st-act.redo  { border-color: var(--orange); }
.st-act.think { border-color: var(--blue); }
.st-act-hint { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.oa-body { font-size: 14.5px; color: var(--ink-soft); font-weight: 600; margin-bottom: 20px; }
.oa-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.oa-list li { padding: 5px 0; line-height: 1.45; }
.oa-list b { color: var(--ink); }
.wb-notyou { margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.wb-notyou a { color: var(--blue-dark); }
.oa-now {
    margin-top: 12px;
    padding: 10px 14px;
    background: #EAF6EE;
    border: 1.5px solid #BFE3CB;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--ink-soft);
}
.oa-now b { color: var(--green-dark); font-size: 17px; font-weight: 1000; }
.oa-input, .oa-text {
    width: 100%;
    border: 2px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}
.oa-input { text-align: center; font-size: 22px; font-weight: 900; }
.oa-input::placeholder { font-size: 16.5px; font-weight: 700; color: var(--ink-soft); opacity: .75; }
.oa-input:focus, .oa-text:focus { outline: none; border-color: var(--blue); }
.oa-msg { margin-top: 10px; font-size: 13.5px; font-weight: 800; color: #C24E58; min-height: 18px; }
.st-dates { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.st-path { margin-top: 16px; font-size: 14px; font-weight: 800; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.st-contact {
    margin-top: 22px;
    text-align: center;
    background: var(--green-soft);
    border-radius: 18px;
    padding: 18px;
}
.st-contact b { display: block; font-size: 15px; margin-bottom: 12px; color: var(--green-dark); }
.st-contact-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.st-contact-btns .btn { font-size: 15px; padding: 12px 22px; }
/* the tracker conversation — seller notes + team replies as chat bubbles */
.chat { margin-top: 16px; }
.chat-refresh {
    display: inline-block;
    margin-top: 4px;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 999px;
    padding: 8px 18px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 800;
    color: var(--blue-dark);
    cursor: pointer;
    transition: transform .1s ease;
}
.chat-refresh:active { transform: translateY(2px); }
.chat-refresh:disabled { opacity: .6; }
.st-alt-contact { margin-top: 16px; text-align: center; }
.st-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 10px;
    font-size: 30px;
    line-height: 1;
    text-decoration: none;
    background: #fff;
    border: 3px solid var(--blue-dark);
    border-radius: 999px;
    box-shadow: 0 4px 0 rgba(16, 52, 79, .25);
    transition: transform .1s ease, box-shadow .1s ease;
}
.st-contact-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(16, 52, 79, .25); }
.st-contact-num {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .5px;
    color: var(--ink-soft);
}
.chat-list { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.chat-row { display: flex; }
.chat-row.me { justify-content: flex-end; }
.chat-row.team { justify-content: flex-start; }
.chat-row .bubble {
    max-width: 85%;
    padding: 11px 15px;
    border-radius: 16px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
    word-break: break-word;
}
.chat-row.me .bubble {
    background: var(--blue);
    color: #fff;
    border-bottom-right-radius: 5px;
}
.chat-row.team .bubble {
    background: #fff;
    color: var(--ink);
    border: 2px solid var(--line);
    border-bottom-left-radius: 5px;
}
.chat-when {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    margin-top: 5px;
    opacity: .75;
}
.chat-row.team .chat-when { color: #8AA5B8; }

.st-note { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.st-note textarea {
    width: 100%;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
    resize: vertical;
}
.st-note textarea:focus { border-color: var(--blue); }
.st-note .btn { font-size: 14.5px; padding: 11px 24px; }
.st-note-msg { font-size: 13.5px; font-weight: 800; color: var(--green-dark); min-height: 18px; }

/* pulsing "this is just the ballpark" callout on the estimate recap */
.st-working {
    margin-top: 14px;
    text-align: center;
    background: var(--orange-soft);
    border: 2px solid #F3D9A8;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--orange-dark);
    line-height: 1.5;
    animation: stwork 2s ease-in-out infinite;
}
.st-working b { color: var(--ink); }
@keyframes stwork {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(247, 164, 37, 0); }
    50% { transform: scale(1.025); box-shadow: 0 4px 18px 0 rgba(247, 164, 37, .35); }
}

/* photo treasure hunt */
.ph-meter-wrap { width: min(520px, 100% - 40px); margin: 4px auto 8px; }
.ph-meter { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.ph-earned {
    font-size: 26px;
    font-weight: 1000;
    color: var(--green-dark);
    letter-spacing: -.5px;
    animation: ckpulse 2.2s ease-in-out infinite;
    transform-origin: left center;
}
.ph-max { font-size: 12.5px; font-weight: 800; color: #9AB4C6; }
.ph-shot-em { text-align: center; font-size: 74px; line-height: 1.1; margin-bottom: 6px; animation: bob 3s ease-in-out infinite; }
.ph-preview { text-align: center; margin: 10px 0; min-height: 8px; }
.ph-preview img { max-width: 100%; max-height: 240px; border-radius: 14px; box-shadow: var(--shadow-soft); }
.ph-snap { width: 100%; justify-content: center; }
.ph-links { text-align: center; margin-top: 16px; }
.ph-links a { font-size: 14.5px; font-weight: 800; color: #8AA5B8; text-decoration: none; }
.ph-links a:hover { color: var(--ink); }
.ph-burst {
    position: fixed;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    font-size: clamp(34px, 8.5vw, 56px);
    font-weight: 1000;
    color: var(--green-dark);
    /* white pill + green halo so it never drowns in the photo behind it */
    background: rgba(255, 255, 255, .96);
    border: 3px solid #7DC242;
    border-radius: 24px;
    padding: 14px 28px;
    box-shadow: 0 0 0 8px rgba(125, 194, 66, .28), 0 14px 44px rgba(16, 52, 79, .35);
    max-width: 94vw;
    text-align: center;
    pointer-events: none;
    z-index: 120;
    animation: phburst 2.6s cubic-bezier(.2, 1.4, .5, 1) forwards;
}
@keyframes phburst {
    0% { opacity: 0; transform: translate(-50%, -30%) scale(.5); }
    12% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
    80% { opacity: 1; transform: translate(-50%, -55%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -95%) scale(.92); }
}
.ph-geo {
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: 14px;
    padding: 13px 15px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-bottom: 14px;
}
.ph-geo b { color: var(--ink); }
.ph-geo-btns { display: flex; gap: 10px; margin-top: 10px; }
.ph-geo-btns .btn { flex: 1 1 auto; justify-content: center; font-size: 13.5px; padding: 9px 14px; }

.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.ph-thumb { margin: 0; cursor: pointer; }
.ph-thumb:hover img { box-shadow: var(--shadow-pop); }
.ph-retake { color: var(--blue-dark); font-weight: 900; }
.ph-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-soft); }
.ph-thumb figcaption { font-size: 12px; font-weight: 800; color: var(--ink-soft); margin-top: 5px; text-align: center; }

/* photo-hunt card on the status tracker */
.st-hunt {
    margin-top: 18px;
    background: linear-gradient(160deg, #FFFDF6, var(--orange-soft));
    border: 2px solid #F3D9A8;
    border-radius: 18px;
    padding: 20px 22px;
    text-align: center;
}
.st-hunt h3 { font-size: 19px; margin-bottom: 6px; }
.st-hunt p { font-size: 14px; margin-bottom: 14px; }
.st-hunt .st-hunt-earned { font-weight: 1000; color: var(--green-dark); }
.st-hunt .st-contact-btns { justify-content: center; }

/* styled confirm modal — we never use the browser's native confirm() */
.si3-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13, 44, 68, .45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .18s ease;
}
.si3-modal-backdrop.show { opacity: 1; }
.si3-modal {
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow-pop);
    padding: 28px 24px 22px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    transform: translateY(14px) scale(.97);
    transition: transform .22s cubic-bezier(.34, 1.3, .64, 1);
}
.si3-modal-backdrop.show .si3-modal { transform: none; }
.si3-modal .m-em { font-size: 44px; line-height: 1; margin-bottom: 10px; }
.si3-modal h3 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.si3-modal p { font-size: 14.5px; color: var(--ink-soft); font-weight: 600; margin-bottom: 20px; }
.si3-modal .m-btns { display: flex; gap: 12px; justify-content: center; }
.si3-modal .m-btns .btn { font-size: 15px; padding: 12px 22px; }
.si3-modal .dc-num {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: .5px;
    color: var(--blue-dark);
    margin: -8px 0 20px;
}

/* confetti */
.confetti-bit {
    position: fixed;
    top: -20px;
    z-index: 100;
    pointer-events: none;
    border-radius: 3px;
    animation: cfall linear forwards;
}
@keyframes cfall {
    to { transform: translateY(110vh) rotate(720deg); opacity: .9; }
}

/* utility */
.hidden { display: none !important; }
