/* survey.css: the 4-question "buying or selling" survey on the homepage + its payment popup + phone reminder bar.
   All classes start with sv-. Brand: Cream #FAF7F0, Evergreen #173F39, Charcoal #242A28, Terracotta #A34F38, Sage #DFE8DC. */
.sv{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:70px;align-items:start;padding-top:0}
.sv h2 .sv-word{border:0;background:none;padding:0;font:inherit;letter-spacing:inherit;color:#a34f38;position:relative;cursor:pointer;transition:color 200ms ease}
.sv h2 .sv-word::after{content:'';position:absolute;left:0;right:0;bottom:.02em;height:.08em;border-radius:9px;background:currentColor;opacity:.28;clip-path:inset(0);transition:opacity 200ms ease,clip-path 300ms cubic-bezier(.23,1,.32,1)}
.sv h2[data-mode] .sv-word{color:#173f3959}
.sv h2[data-mode] .sv-word::after{clip-path:inset(0 100% 0 0)}
.sv h2[data-mode] .sv-word[aria-pressed=true]{color:#a34f38}
.sv h2[data-mode] .sv-word[aria-pressed=true]::after{clip-path:inset(0);opacity:1}
.sv h2 .sv-word:active{transform:scale(.97)}
.sv-lede{font-size:18px;line-height:1.6;max-width:30em;margin:0 0 26px}
.sv-agent{display:inline-flex;align-items:center;gap:12px;padding:8px 18px 8px 8px;border-radius:999px;background:#fffdf8;box-shadow:0 0 0 1px #173f3926}
.sv-agent img{width:50px;height:50px;border-radius:50%;object-fit:cover;object-position:center 22%}
.sv-agent b{display:block;font-weight:600;color:#173f39;font-size:15px;line-height:1.2}
.sv-agent small{font-size:12.5px;color:#242a28b3}
.sv-proof{list-style:none;padding:0;margin:26px 0 0;display:grid;gap:10px;font-size:14.5px;color:#173f39}
.sv-proof li{display:flex;gap:10px;align-items:center}
.sv-proof svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* the card */
.sv-card{position:relative;background:#fffdf8;border-radius:24px;box-shadow:0 0 0 1px #173f3926,0 30px 60px -40px #173f3973;padding:24px 26px 26px;scroll-margin:90px}
.sv-top{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.sv-me{width:42px;height:42px;border-radius:50%;object-fit:cover;object-position:center 22%;flex:none}
.sv-prog{flex:1;min-width:0}
.sv-label{display:block;font-size:13px;font-weight:600;color:#173f39;margin-bottom:9px;perspective:600px}
.sv-label span{display:inline-block}
.sv-label.in span{animation:sv-flip 260ms cubic-bezier(.23,1,.32,1)}
@keyframes sv-flip{from{opacity:0;transform:translateY(6px) rotateX(-50deg);filter:blur(3px)}}
.sv-bar{position:relative;height:4px;border-radius:4px;background:#dfe8dc;overflow:hidden}
.sv-bar i{position:absolute;inset:0;background:#a34f38;border-radius:4px;transform-origin:left;transform:scaleX(var(--p,.06));transition:transform 300ms cubic-bezier(.23,1,.32,1)}
.sv-q{font-family:'Fraunces',Georgia,serif;font-size:27px;line-height:1.12;color:#173f39;margin:0 0 16px;letter-spacing:-.015em}
.sv-body{animation:sv-in 260ms cubic-bezier(.23,1,.32,1)}
.sv-body.back{animation-name:sv-in-back}
@keyframes sv-in{from{opacity:0;transform:translateX(14px)}}
@keyframes sv-in-back{from{opacity:0;transform:translateX(-14px)}}
.sv-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sv-choice{display:flex;align-items:center;gap:12px;text-align:left;border:0;border-radius:16px;padding:15px 16px;background:#faf7f0;box-shadow:inset 0 0 0 1px #173f3926;color:#173f39;font:600 15.5px/1.25 'Figtree',sans-serif;cursor:pointer;transition:background-color 200ms ease,transform 160ms cubic-bezier(.23,1,.32,1)}
.sv-choice small{display:block;font-weight:400;font-size:13px;color:#242a28b3;margin-top:3px}
.sv-choice svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sv-choice.big{flex-direction:column;align-items:flex-start;gap:14px;padding:20px 18px;font:400 19px/1.2 'Fraunces',Georgia,serif}
.sv-choice.big svg{width:30px;height:30px;color:#a34f38}
.sv-choice.wide{grid-column:1/-1;justify-content:center;background:transparent;box-shadow:inset 0 0 0 1.5px #a34f38;color:#a34f38}
.sv-choice.wide svg{width:20px;height:20px}
.sv-choice[aria-pressed=true]{box-shadow:inset 0 0 0 2px #a34f38;background:#fff}
.sv-choice:active{transform:scale(.97)}
@media(hover:hover) and (pointer:fine){.sv-choice:hover{box-shadow:inset 0 0 0 1.5px #173f39;background:#fff}.sv-choice.wide:hover{background:#a34f38;color:#fffdf6;box-shadow:none}}
.sv-est{font-size:12.5px;color:#242a28a6;margin:12px 2px 0}
.sv-field{display:grid;gap:6px;font-size:13px;font-weight:600;color:#173f39}
.sv-field input{width:100%;margin:0;font:400 16px 'Figtree',sans-serif;color:#242a28;border:0;border-radius:14px;padding:14px 15px;background:#faf7f0;box-shadow:inset 0 0 0 1px #173f3926;min-width:0}
.sv-field input:focus{outline:0;box-shadow:inset 0 0 0 2px #173f39}
.sv-row{display:flex;gap:10px;align-items:end}
.sv-row .sv-field{flex:1}
.sv-seg{display:flex;gap:4px;padding:4px;border-radius:999px;background:#faf7f0;box-shadow:inset 0 0 0 1px #173f3926;width:max-content;max-width:100%}
.sv-seg button{display:inline-flex;align-items:center;gap:7px;border:0;background:none;border-radius:999px;padding:8px 15px 8px 12px;font:600 14px 'Figtree',sans-serif;color:#173f39b3;cursor:pointer;transition:background-color 200ms ease,color 200ms ease}
.sv-seg svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sv-seg button[aria-pressed=true]{background:#173f39;color:#faf7f0}
.sv-form{display:grid;gap:14px}
.sv-go{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:999px;background:#a34f38;color:#fffdf6;font:600 16px 'Figtree',sans-serif;padding:15px 24px;position:relative;isolation:isolate;overflow:hidden;cursor:pointer;transition:transform 160ms cubic-bezier(.23,1,.32,1)}
.sv-go::before{content:'';position:absolute;inset:-2px;z-index:-1;background:#173f39;clip-path:ellipse(0% 75% at 0% 50%);transition:clip-path 300ms cubic-bezier(.23,1,.32,1)}
.sv-go:active{transform:scale(.97)}
.sv-go[disabled]{opacity:.7;pointer-events:none}
@media(hover:hover) and (pointer:fine){.sv-go:hover::before{clip-path:ellipse(140% 140% at 0% 50%)}}
.sv-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;min-height:22px}
.sv-back{border:0;background:none;padding:4px 0;font:600 14px 'Figtree',sans-serif;color:#173f39;opacity:.75;cursor:pointer}
.sv-safe{font-size:12.5px;color:#242a28a6;margin:0;display:flex;gap:7px;align-items:center}
.sv-safe svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sv-answers{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 14px}
.sv-answers button{border:0;border-radius:999px;padding:5px 11px;background:#dfe8dc;color:#173f39;font:600 12.5px 'Figtree',sans-serif;cursor:pointer}
.sv-err{color:#a34f38;font-size:13px;margin:0;min-height:1em}
.sv-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sv-done{display:grid;grid-template-columns:120px 1fr;gap:22px;align-items:center}
.sv-house{width:120px;height:auto;overflow:visible}
.sv-house path,.sv-house rect{fill:none;stroke:#173f39;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.sv-house .d{stroke-dasharray:1;stroke-dashoffset:1;animation:sv-draw 900ms cubic-bezier(.23,1,.32,1) forwards}
.sv-house .d2{animation-delay:250ms}.sv-house .d3{animation-delay:450ms}
.sv-house .win{fill:#f3d9a6;fill-opacity:0;animation:sv-draw 600ms cubic-bezier(.23,1,.32,1) 500ms forwards,sv-light 500ms ease 1100ms forwards}
@keyframes sv-draw{to{stroke-dashoffset:0}}
@keyframes sv-light{to{fill-opacity:1}}
.sv-done h3{font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:30px;color:#173f39;margin:0 0 6px}
.sv-done p{margin:0;font-size:15px}

/* payment popup */
.sv-dlg{border:0;border-radius:24px;padding:28px;width:min(460px,92vw);max-height:92vh;background:#faf7f0;color:#242a28}
.sv-dlg::backdrop{background:#102e29b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.sv-dlg[open]{animation:sv-pop 240ms cubic-bezier(.23,1,.32,1)}
.sv-dlg[open]::backdrop{animation:sv-fade 240ms ease}
.sv-dlg.closing{animation:sv-pop-out 180ms ease-in forwards}
.sv-dlg.closing::backdrop{animation:sv-fade 180ms ease-in reverse forwards}
@keyframes sv-pop{from{opacity:0;transform:translateY(10px) scale(.97)}}
@keyframes sv-pop-out{to{opacity:0;transform:translateY(8px) scale(.97)}}
@keyframes sv-fade{from{opacity:0}}
.sv-dlg h2{font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:30px;line-height:1.05;color:#173f39;margin:4px 30px 6px 0}
.sv-dlg>p{margin:0 0 16px;font-size:14.5px}
.sv-x{position:absolute;right:12px;top:10px;border:0;background:none;font-size:28px;line-height:1;color:#173f39;padding:4px 8px;cursor:pointer}
.sv-calc{background:#fffdf8;border-radius:18px;padding:18px;box-shadow:inset 0 0 0 1px #173f3926}
.sv-calc .n{font-family:'Fraunces',Georgia,serif;font-size:44px;color:#173f39;line-height:1;font-variant-numeric:tabular-nums}
.sv-calc .n small{font:400 14px 'Figtree',sans-serif;color:#242a28a6;margin-left:4px}
.sv-calc label,.sv-calc .lb{display:flex;justify-content:space-between;font-size:13px;font-weight:600;color:#173f39;margin:16px 0 8px}
.sv-calc input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:6px;padding:0;border:0;border-radius:6px;background:linear-gradient(90deg,#a34f38 var(--fill,40%),#dfe8dc 0);outline-offset:6px;margin:6px 0}
.sv-calc input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #173f39;cursor:grab}
.sv-calc input[type=range]::-moz-range-thumb{width:24px;height:24px;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #173f39;cursor:grab}
.sv-calc .sv-seg{width:100%}
.sv-calc .sv-seg button{flex:1;justify-content:center;padding:8px 6px}
.sv-calc .r{font-size:12px;color:#242a28a6;margin:12px 0 0}
.sv-dlg .sv-go{width:100%;margin-top:18px}
.sv-full{display:block;width:max-content;margin:14px auto 0;font-weight:600;color:#a34f38;padding:4px 0;border-bottom:1.5px solid currentColor}

/* phone reminder bar */
.sv-dock{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:80;display:flex;align-items:center;gap:12px;padding:8px 8px 8px 18px;border-radius:999px;background:#173f39;color:#faf7f0;box-shadow:0 18px 40px -16px #102e29cc;transform:translateY(140%);transition:transform 300ms cubic-bezier(.23,1,.32,1);max-width:520px;margin-inline:auto}
.sv-dock.on{transform:none}
.sv-dock span{flex:1;min-width:0;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv-dock small{display:block;font-weight:400;opacity:.75;font-size:12px}
.sv-dock button{border:0;border-radius:999px;background:#a34f38;color:#fffdf6;font:600 15px 'Figtree',sans-serif;padding:12px 18px;cursor:pointer}
.sv-dock button:active{transform:scale(.97)}
.sv-dock .sv-dx{background:none;padding:8px 10px;font-size:20px;line-height:1;opacity:.7}

@media(max-width:1120px){.sv{grid-template-columns:1fr;gap:34px}}
@media(max-width:620px){
 .sv-card{padding:18px 16px;border-radius:22px}
 .sv-q{font-size:24px}
 .sv-choices{grid-template-columns:1fr}
 .sv-choices.two{grid-template-columns:1fr 1fr}
 .sv-choice.big{font-size:18px;padding:16px 14px}
 .sv-row{flex-direction:column;align-items:stretch}
 .sv-done{grid-template-columns:1fr;gap:12px}
 .sv-lede{font-size:16.5px}
 .sv-dlg{padding:22px 18px}
}
@media(prefers-reduced-motion:reduce){
 .sv-label.in span,.sv-body,.sv-dlg[open],.sv-dlg[open]::backdrop,.sv-dlg.closing{animation:none}
 .sv-bar i,.sv-dock{transition:none}
 .sv-house .d,.sv-house .win{animation:none;stroke-dashoffset:0;fill-opacity:1}
}

/* "How I work" slide-in card: once per visit, after scrolling past the survey, closable */
.hc-slide{position:fixed;right:20px;bottom:20px;z-index:85;width:340px;background:#173f39;color:#faf7f0;border-radius:24px;padding:22px 22px 20px;box-shadow:0 0 0 1px #faf7f040,0 24px 50px -20px #102e29e6;animation:hc-in 400ms cubic-bezier(.23,1,.32,1)}
.hc-slide.out{animation:hc-out 200ms ease-in forwards}
.hc-slide h3{font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:24px;line-height:1.1;color:#faf7f0;margin:0 30px 8px 0}
.hc-slide p{font-size:14px;line-height:1.5;color:#faf7f0d9;margin:0 0 16px}
.hc-route{width:150px;height:auto;margin:-4px 0 6px -4px;overflow:visible}
.hc-route .b{fill:none;stroke:#faf7f040;stroke-width:3;stroke-dasharray:2 9;stroke-linecap:round}
.hc-route .r{fill:none;stroke:#e3a58f;stroke-width:3.5;stroke-linecap:round}
.hc-route .p circle{fill:#a34f38}
.hc-route .h{fill:none;stroke:#faf7f0;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hc-x{position:absolute;right:12px;top:10px;border:0;background:none;color:#faf7f0;font-size:24px;line-height:1;padding:4px 8px;opacity:.75;cursor:pointer}
.hc-split{display:inline-flex;align-items:stretch;border-radius:999px;overflow:hidden;background:#faf7f0;color:#173f39;font-weight:600;font-size:15px;transition:transform 160ms cubic-bezier(.23,1,.32,1)}
.hc-split .l{display:flex;align-items:center;padding:13px 18px 13px 24px}
.hc-split .ic{display:grid;place-items:center;width:48px;margin:4px;border-radius:999px;background:#dfe8dc;transition:background-color 200ms ease,color 200ms ease}
.hc-split svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hc-split:active{transform:scale(.97)}
.hc-split:focus-visible,.hc-x:focus-visible{outline:2px solid #faf7f0;outline-offset:3px}
@media(hover:hover) and (pointer:fine){.hc-split:hover .ic{background:#a34f38;color:#faf7f0}.hc-x:hover{opacity:1}}
@keyframes hc-in{from{opacity:0;transform:translateY(24px)}}
@keyframes hc-out{to{opacity:0;transform:translateY(16px)}}
@media(max-width:620px){.hc-slide{left:12px;right:12px;width:auto;bottom:calc(12px + env(safe-area-inset-bottom))}.hc-route{display:none}}
@media(prefers-reduced-motion:reduce){.hc-slide,.hc-slide.out{animation:none}}
