/* ============ Tokens ============ */
/* Fallback faces sized to the web fonts (measured in Chrome: Instrument Serif is 83.4% as wide as Times New Roman,
   Figtree as wide as Arial), so text keeps its line breaks when the fonts arrive instead of jumping. */
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"); size-adjust: 83.4%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 100%; }
/* Golden hour */
body {
  --display: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif; --body: Figtree, "Figtree Fallback", system-ui, sans-serif;
  --display-weight: 400; --h1: clamp(2.9rem, 6.2vw, 4.7rem); --h2: clamp(2.1rem, 4vw, 3.1rem); --track: -0.01em;
  --radius: 20px; --btn-radius: 999px;
  --bg: #f7f0e6; --surface: #fffaf3; --surface-2: #efe4d4; --ink: #241d17; --muted: #685c50; --line: #e3d6c4;
  --accent: #b5421a; --accent-fg: var(--accent); --accent-ink: #ffffff; --accent-soft: #f7dccb; --accent-2: #2f5d50; --accent-2-soft: #dbe8e1;
  --lit: #ffb648; --em: #b5421a;
  --hero-bg: radial-gradient(1200px 600px at 85% 10%, #fbe2c6 0%, rgba(251, 226, 198, 0) 60%), var(--bg);
  --hero-ink: var(--ink); --hero-muted: var(--muted);
  --pick-bg: #2a221c; --pick-ink: #fbf3e8; --pick-muted: #d6c6b3;
}
@media (prefers-color-scheme: dark) {
  body {
    --bg: #17130f; --surface: #211b16; --surface-2: #2a231d; --ink: #f5ede2; --muted: #b9ab9a; --line: #3b3129;
    --accent: #f07a45; --accent-ink: #1c0e06; --accent-soft: #45271a; --accent-2: #86c0ad; --accent-2-soft: #1f2e29; --em: #f39a6c;
    --hero-bg: radial-gradient(1100px 600px at 85% 10%, #3a2618 0%, rgba(58, 38, 24, 0) 60%), var(--bg);
    --pick-bg: #0f0c0a; --pick-ink: #f5ede2; --pick-muted: #b9ab9a;
  }
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--track); line-height: 1.08; margin: 0 0 .45em; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-family: var(--body); font-weight: 700; letter-spacing: 0; font-size: 1.15rem; line-height: 1.25; }
h1 em { font-style: italic; color: var(--em); }
p { margin: 0 0 1em; }
a { color: var(--accent-fg); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 760px; }
.center { text-align: center; }
section { padding: 88px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kicker { color: var(--accent-2); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8em; }


/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.12rem/1 var(--body); white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; color: var(--accent-fg); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.btn .short { display: none; }
.header-row .btn { white-space: nowrap; }
@media (max-width: 900px) { .nav { display: none; } .header-row .btn { margin-left: auto; } }
@media (max-width: 480px) { .btn .long { display: none; } .btn .short { display: inline; } }
@media (max-width: 360px) { .brand { gap: 6px; } .brand span { font-size: .9rem; } .brand-mark { width: 22px; height: 22px; } .header-row { gap: 8px; } .header-row .btn-sm { padding: 8px 12px; font-size: 14px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: var(--btn-radius); padding: 13px 24px; font: 600 16px/1.2 var(--body); cursor: pointer; text-decoration: none; transition: transform .12s ease-out, background-color .15s ease-out, box-shadow .15s ease-out; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:focus-visible, .link:focus-visible, summary:focus-visible, .scenes button:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--surface-2); }
.btn-quiet { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 30%, transparent); }
.btn-quiet:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.link { background: none; border: 0; padding: 0; color: var(--accent-fg); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ============ Hero: the house is the scene, the sky turns from day to night ============ */
.hero { --hw: 100vw; position: relative; overflow: hidden; overflow: clip; color: #fff; padding: 48px 0 0; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; }
.hero-copy { text-align: center; max-width: 900px; margin: 0 auto; text-shadow: 0 1px 12px rgba(20, 12, 40, .35); }
.hero-copy .lead { margin: 0 auto; }
.hero-copy .cta-row { justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; background: rgba(255, 255, 255, .16); padding: 6px 14px 6px 10px; border-radius: 999px; margin-bottom: 22px; text-shadow: none; }
.eyebrow .ic { width: 18px; height: 18px; }
.lead { font-size: 1.2rem; color: rgba(255, 255, 255, .92); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }
.hero h1 em { color: #ffd27a; }
/* The sky behind it runs from pale blue to near black, so the button carries its own dark glass. */
.hero .btn-quiet { color: #fff; border-color: rgba(255, 255, 255, .6); text-shadow: none; background: rgba(14, 16, 38, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero .btn-quiet:hover { background: rgba(14, 16, 38, .58); }

/* Sky layers: day underneath; dawn, dusk and night fade over it as the day turns. */
.hero-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #2a64ad 0%, #5f97d0 45%, #a9cbe8 72%, #e4ecef 100%); }
.hero-sky > i { position: absolute; inset: 0; display: block; }
.hero-sky .sky-dawn { background: linear-gradient(180deg, #33477f 0%, #8f86b8 45%, #e8b3a3 70%, #f8d5a6 100%); opacity: 0; }
.hero-sky .sky-dusk { background: linear-gradient(180deg, #2b2f6b 0%, #5a4f8e 38%, #b27a96 62%, #eb9f86 80%, #f6c38b 100%); opacity: 0; }
.hero-sky .sky-night { background: linear-gradient(180deg, #060819 0%, #10153a 50%, #232a55 75%, #3b3656 100%); opacity: 0; } /* the faint warm band low down is the glow of the city */
.hero-sky .stars { bottom: 40%; opacity: 0; background-image:
  radial-gradient(1.6px 1.6px at 6% 14%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 18% 32%, #fff 50%, transparent 51%),
  radial-gradient(1.8px 1.8px at 29% 9%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 41% 24%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 53% 6%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 62% 30%, #fff 50%, transparent 51%),
  radial-gradient(1.7px 1.7px at 72% 12%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 83% 36%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 94% 18%, #fff 50%, transparent 51%), radial-gradient(1.1px 1.1px at 12% 52%, #fff 50%, transparent 51%),
  radial-gradient(1.3px 1.3px at 47% 48%, #fff 50%, transparent 51%), radial-gradient(1.1px 1.1px at 77% 56%, #fff 50%, transparent 51%); }
/* Keeps the white words readable whatever the sky is doing. */
.hero-sky .scrim { background: linear-gradient(180deg, rgba(12, 10, 30, .38) 0%, rgba(12, 10, 30, .18) 45%, transparent 70%); }
@media (min-width: 1100px) { .hero-sky .scrim { background: radial-gradient(ellipse min(48%, 900px) 75% at max(20%, calc(50% - 360px)) 42%, rgba(12, 10, 30, .45), transparent 72%); } }
/* A warm glow on the horizon where the sun is setting or rising; the script moves it under the sun. */
.hero-sky .sunglow { left: 0; top: 0; right: auto; bottom: auto; width: 900px; height: 360px; margin: -180px 0 0 -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 170, 90, .55), rgba(255, 140, 90, .22) 50%, transparent); opacity: 0; }
.orbit { position: absolute; inset: 0; }
/* The sun: small and white-gold when high, larger-looking and orange with a wide glow near the horizon (--low: 0 high, 1 on the horizon). */
.orbit .sun { --low: 0; position: absolute; left: 0; top: 0; width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle, #fffdf4 0 38%, color-mix(in srgb, #ff9b4a calc(var(--low) * 100%), #fff1c4) 62%, transparent 72%);
  box-shadow: 0 0 calc(50px + 50px * var(--low)) calc(14px + 22px * var(--low)) color-mix(in srgb, rgba(255, 140, 60, .5) calc(var(--low) * 100%), rgba(255, 244, 210, .45)); }
.orbit .moon { position: absolute; left: 0; top: 0; width: 58px; height: 58px; background: url(img/real/moon.webp) center / contain no-repeat; filter: drop-shadow(0 0 14px rgba(215, 225, 255, .35)); }

.stage { position: relative; z-index: 1; width: 100vw; margin-left: calc(50% - 50vw); }
.scene { position: relative; margin: 0; }
.house { position: relative; width: 100%; height: auto; display: block; }
/* The house: one wide photo of the house and its land, and copies of the house in other states on top,
   each cut to the part that changes. .real is the size of the house; the wide photo reaches past it on both
   sides (the house is 1448 of its 4492 px, starting at 1522), and the hero clips what doesn't fit. */
.real { position: absolute; inset: 0; }
/* Loading (house.js): a hero picture fades in once its base photo is here; layers still loading stay hidden. */
.real, .room-scene { transition: opacity .6s ease-out; }
.real.loading, .room-scene.loading { opacity: 0; }
/* opacity, not visibility: the browser does not fetch a lazy picture that is visibility: hidden. */
.real img.unready, .room-scene img.unready { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) { .real, .room-scene { transition: none; } }
.real img { position: absolute; inset: 0; width: 100%; height: 100%; }
.real .scene { left: -105.11%; width: 310.22%; max-width: none; transition: filter 1s linear; }
.real .night, .real .night-scene, .real-on, .tv-room, .tv-screen { opacity: 0; transition: opacity .7s ease-out, filter .7s ease-out; }
/* Roller shades come down from the top of the window frame (--t, --r, --b, --l: the frame's edges). */
.real .shade { clip-path: inset(var(--t) var(--r) calc(100% - var(--t)) var(--l)); transition: clip-path 1s cubic-bezier(.4, 0, .2, 1), opacity .7s ease-out; }
.real .shade.shut { clip-path: inset(var(--t) var(--r) var(--b) var(--l)); }
.real.instant img { transition: none; }

/* Tap targets over the photo */
.house .hot { fill: transparent; stroke: transparent; stroke-width: 2; cursor: pointer; outline: none; transition: fill .2s ease-out, stroke .2s ease-out; }
.house .hot:hover { fill: rgba(255, 236, 190, .1); }
.house .hot:focus-visible { fill: rgba(255, 210, 122, .22); }
.house .hot:active { fill: rgba(255, 210, 122, .18); }
@media (min-width: 1100px) {
  .hero { --hw: min(54vw, 840px); min-height: calc(var(--hw) * .75 + 24px); padding: 56px 0 64px; }
  .hero-inner { position: static; }
  .hero-copy { position: relative; z-index: 2; text-align: left; margin: 0; max-width: 500px; }
  .hero-copy .lead { margin: 0; }
  .hero-copy .cta-row { justify-content: flex-start; }
  .hero h1 { font-size: clamp(2.8rem, 4.3vw, 3.9rem); }
  .stage { position: absolute; right: max(0px, calc(50% - 750px)); bottom: 0; width: var(--hw); margin: 0; }
}

/* Trust row, under the hero */
.trust-band { background: var(--surface); padding: 28px 0; border-bottom: 1px solid var(--line); }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust li { display: flex; gap: 14px; align-items: flex-start; }
.trust .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-fg); }
.trust b { display: block; color: var(--ink); font-size: 16px; }
.trust span { color: var(--muted); font-size: 15px; line-height: 1.4; }

/* ============ Sections ============ */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .5); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo { transition: opacity .7s ease-out, transform .9s cubic-bezier(.2, .7, .2, 1); }
.photo.wait { opacity: 0; transform: translateX(-28px) scale(.98); }

.familiar { background: var(--surface); }
.pain { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.pain li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.1rem; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); }
.pain .ic { color: var(--accent-fg); margin-top: 2px; }
.pain-close { font: var(--display-weight) 1.6rem/1.2 var(--display); letter-spacing: var(--track); margin: 0; color: var(--accent-2); }
.pain-close { font-style: italic; font-size: 1.9rem; }

.how { background: var(--bg); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 32px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { position: relative; transition: opacity .6s ease-out, transform .7s cubic-bezier(.2, .7, .2, 1); }
.steps li:nth-child(2) { transition-delay: .15s; }
.steps li:nth-child(3) { transition-delay: .3s; }
.steps.wait li { opacity: 0; transform: translateY(24px); }
.steps .dot { position: absolute; left: 14px; top: 14px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: var(--display-weight) 1.5rem/1 var(--display); box-shadow: 0 0 0 4px rgba(255, 255, 255, .55); }
.steps p { color: var(--muted); }


.different { background: var(--surface); }
.points { display: grid; gap: 22px 28px; margin-top: 28px; }
@media (min-width: 640px) { .points { grid-template-columns: 1fr 1fr; } }
.points .ic { color: var(--accent-fg); width: 28px; height: 28px; margin-bottom: 8px; }
.points h3 { margin-bottom: .3em; }
.points p { color: var(--muted); margin: 0; font-size: 16px; }


.plans { background: var(--surface-2); }
.section-lead { color: var(--muted); max-width: 40em; }
.plan-cards { display: grid; gap: 20px; margin-top: 40px; align-items: stretch; }
@media (min-width: 900px) { .plan-cards { grid-template-columns: 1fr 1.08fr 1fr; align-items: center; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; position: relative; height: 100%; }
.plan-pick { background: var(--pick-bg); color: var(--pick-ink); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); padding: 40px 28px; }
@media (min-width: 900px) { .plan-pick { height: calc(100% + 32px); } }
.plan-pick .price, .plan-pick li { color: var(--pick-muted); }
.plan-pick .price b { color: var(--pick-ink); }
.plan-pick li::before { color: var(--lit); }
.pick-tag { position: absolute; top: -14px; left: 28px; margin: 0; background: var(--lit); color: #241a05; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.price { margin: 0 0 18px; color: var(--muted); }
.price b { font: var(--display-weight) 3rem/1 var(--display); letter-spacing: var(--track); color: var(--ink); margin-right: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { padding-left: 26px; position: relative; font-size: 16px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.plan .btn { width: 100%; white-space: nowrap; }
@media (max-width: 400px) { .plan .btn { padding-left: 12px; padding-right: 12px; } }
.unsure { margin: 40px 0 0; color: var(--muted); }

.faq { background: var(--surface); }
.faq-grid { display: grid; gap: 32px; }
.faq-side { color: var(--muted); margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
/* The plus is drawn with two bars, not a "+" character, so it sits exactly in the middle of its circle. */
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(var(--accent-fg) 0 0) center / 12px 2px no-repeat, linear-gradient(var(--accent-fg) 0 0) center / 2px 12px no-repeat, var(--surface-2); transition: rotate .25s ease-out; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); margin: 0 0 20px; }

.final-cta { position: relative; overflow: hidden; color: #fff; padding: 120px 0; }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 10, .55), rgba(20, 14, 10, .8)); z-index: 1; }
.final-inner { position: relative; z-index: 2; }
.final-cta p { color: rgba(255, 255, 255, .86); font-size: 1.15rem; }
.final-cta .btn { margin-top: 12px; }

.site-footer { padding: 28px 0; color: var(--muted); font-size: 14px; background: var(--bg); }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ============ Dialog + form ============ */
dialog { border: 0; padding: 0; border-radius: 22px; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); font-family: var(--body); }
dialog::backdrop { background: rgba(20, 16, 12, .6); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { dialog[open] { animation: none; } }
.form-panel { position: relative; padding: 30px 26px 26px; }
.form-panel h2 { font-size: 2rem; }
.close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.form-lead { color: var(--muted); padding-right: 32px; }
.field { margin-bottom: 14px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.field-row .field { min-width: 160px; }
label { font-weight: 500; font-size: 15px; }
.field label { display: block; margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
input:not([type]), input[type="email"], input[type="tel"] { width: 100%; padding: 13px 14px; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; }
input:focus { outline: 3px solid color-mix(in srgb, var(--accent-2) 40%, transparent); border-color: var(--accent-2); }
input[aria-invalid="true"] { border-color: #c4321f; }
.err { color: #c4321f; font-size: 14px; margin: 6px 0 0; }
@media (prefers-color-scheme: dark) { .err { color: #ff8a80; } input[aria-invalid="true"] { border-color: #ff8a80; } }
.hint { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { font-weight: 500; font-size: 15px; margin-bottom: 8px; padding: 0; }
.radio-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.radio-row label { position: relative; }
.radio-row input { position: absolute; opacity: 0; inset: 0; }
.radio-row span { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 600; }
.radio-row small { color: var(--muted); font-weight: 400; font-size: 13px; }
.radio-row input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.radio-row input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.check-row { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.check-row label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.fine { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.done { text-align: center; padding: 12px 8px; }
.done-mark svg { width: 68px; height: 68px; fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke-dasharray: 132; stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease-out; }
.done-mark path { stroke-dasharray: 40; stroke-dashoffset: 0; transition: stroke-dashoffset .3s ease-out .4s; }
.done.drawing .done-mark circle { stroke-dashoffset: 132; transition: none; }
.done.drawing .done-mark path { stroke-dashoffset: 40; transition: none; }
.delight { font-style: italic; color: var(--accent-2); }

/* ============ Mock options panel ============ */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }



.photo img { object-position: center 30%; }
.step-photo { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; background: var(--surface-2); box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .5); }
.steps li { min-width: 0; }
.step-photo { margin-bottom: 0; }
.steps .dot { position: relative; left: 14px; top: auto; margin: -62px 0 26px; }
/* 3. on phones the heading comes before its picture */
.split-flip > :first-child { order: 2; }

/* ============ Same world: lamps and home tech from the house, through the page ============ */
.how, .different, .plans { position: relative; }
.lit { transition: opacity .9s ease-out; }
.wait .lit { opacity: 0; }

/* How it works: a photo of a shelf on iron brackets beside the heading, casting a shadow on the page as if the
   page were the wall. Its lamp turns on when seen, and warm light spreads on the "wall" behind it. */
.how { overflow-x: clip; } /* the lamp glow can reach past the window edge */
.how .wrap { position: relative; }
.shelf-mount { position: absolute; right: 32px; top: -30px; width: 290px; pointer-events: none; }
.shelf-mount img { display: block; width: 100%; height: auto; position: relative; filter: drop-shadow(0 16px 10px rgba(60, 38, 18, .28)) drop-shadow(0 3px 2px rgba(60, 38, 18, .25)); }
.shelf-mount img.lit { position: absolute; inset: 0; }
.shelf-mount .wall-glow { position: absolute; left: 79%; top: 22%; width: 210px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 196, 110, .5), rgba(255, 190, 100, .16) 55%, transparent); transform: translate(-50%, -50%); }
.shelf-mount .lit { transition: opacity 1s ease-out; }
@media (max-width: 1000px) { .shelf-mount { display: none; } }

/* Plans: a pendant over the recommended plan */
.plan-pick { overflow: visible; }
.plan-light { position: absolute; left: 50%; top: -128px; transform: translateX(-50%); width: 140px; z-index: 0; }
.plan-light .cone { opacity: .6; }
.plan-pick > :not(.plan-light):not(.plan-lamp-real) { position: relative; z-index: 1; }
.plan-lamp-real { position: absolute; left: 50%; top: -186px; width: 66px; height: auto; transform: translateX(-50%); z-index: 1; -webkit-mask-image: linear-gradient(transparent 0, #000 30%); mask-image: linear-gradient(transparent 0, #000 30%); pointer-events: none; }
.plans .plan-cards { margin-top: 170px; }
/* Stacked cards (phones, tablets): no pendant, so the cards don't need the space it hangs in. */
@media (max-width: 899px) { .plan-light, .plan-lamp-real { display: none; } .plans .plan-cards { margin-top: 28px; } }
.plan-pick .pick-tag { position: absolute; }

/* One warm color treatment for every photo */
.step-photo, .final-bg { filter: saturate(.9) sepia(.12) contrast(1.02); }
.steps { position: relative; z-index: 1; }
.plan-light { overflow: visible; }
.plan-light { -webkit-mask-image: linear-gradient(transparent 0, #000 22%); mask-image: linear-gradient(transparent 0, #000 22%); }

/* Sit back: full-width photo of a happy dog; words on the dark wall at left */
.dog-bleed { position: relative; overflow: hidden; padding: 120px 0; min-height: 720px; display: flex; align-items: center; background: #1c1410; }
.dog-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; filter: saturate(.92) sepia(.08); }
.dog-bleed::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 14, 10, .82) 0%, rgba(20, 14, 10, .55) 38%, rgba(20, 14, 10, 0) 62%); }
.dog-inner { position: relative; z-index: 2; width: 100%; }
.dog-copy { max-width: 560px; color: #f5ede2; }
.dog-copy .points p { color: rgba(245, 237, 226, .8); }
.dog-copy h2 { color: #fff; }
@media (max-width: 899px) {
  .dog-bleed { display: block; padding: 0 0 56px; min-height: 0; }
  .dog-bg { position: relative; height: 340px; object-position: 78% center; }
  .dog-bleed::before { background: linear-gradient(180deg, transparent 180px, #1c1410 340px); }
  .dog-inner { margin-top: -40px; }
}

/* Ultrawide: the dog photo keeps its full framing next to the words and fades into the wall color */
@media (min-width: 1800px) {
  .dog-bleed { min-height: 860px; background: #22160f; }
  .dog-bg { left: auto; right: max(0px, calc(50% - 950px)); width: 1900px; max-width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 70%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 70%, transparent 100%); }
  .dog-bleed::before { background: linear-gradient(90deg, rgba(20, 14, 10, .7) 0%, rgba(20, 14, 10, .45) calc(50% - 200px), rgba(20, 14, 10, 0) calc(50% + 100px)); }
}
.photo-frame { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .5); filter: saturate(.9) sepia(.12) contrast(1.02); }
/* Last section: words on the left so the photo's subject stays visible on the right */
@media (min-width: 900px) {
  .final-cta .final-inner { text-align: left; margin-left: max(16px, calc(50% - 590px)); max-width: 560px; padding: 0 32px; }
  .final-cta::before { background: linear-gradient(90deg, rgba(20, 14, 10, .88) 0%, rgba(20, 14, 10, .6) 40%, rgba(20, 14, 10, .1) 70%); }
  .final-bg { object-position: center 35%; }
}
.split > * { min-width: 0; }
.fam-v { margin: 0; }
.loop-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #1c1410; }
.fam-v { position: relative; }
.beat { position: absolute; left: 16px; bottom: 16px; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(20, 14, 10, .72); color: #fff; font: 600 15px/1.2 var(--body); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transform: translateY(4px); transition: opacity .2s ease-out, transform .2s ease-out; }
.beat.on { opacity: 1; transform: none; }
@media (max-width: 520px) { .beat { left: 10px; bottom: 10px; font-size: 13px; padding: 6px 11px; } }

/* "Sound familiar?" (your pick, D, mirrored): the video runs from the left window edge and fills the section
   top to bottom; it is flipped so the hallway and switch sit on the left, and its right side fades in under the
   text. Phones: an edge-to-edge video with the heading on its floor, then the points. */
.fam-v::before { content: ""; position: absolute; z-index: 1; pointer-events: none; }
.beat { z-index: 2; }
.familiar .loop-video { transform: scaleX(-1); }
@media (min-width: 900px) {
  .familiar { padding: 0; }
  .familiar .split { grid-template-columns: 7fr 5fr; gap: 0; align-items: stretch; --bleed: calc(max(0px, (100vw - 1180px) / 2) + 32px); }
  .familiar .split > div:last-child { order: 2; position: relative; z-index: 2; align-self: center; padding: 56px 0; }
  .familiar .fam-visual { order: 1; margin-left: calc(-1 * var(--bleed)); margin-right: -140px; }
  .fam-v { height: 100%; }
  .familiar .loop-video { height: 100%; border-radius: 0; box-shadow: none; object-position: 100% 50%; }
  /* The fade reaches 2 px past the video and starts solid, so the video's edge pixel (it lands on a half pixel)
     never shows as a thin line under the points. */
  .fam-v::before { inset: 0 -2px 0 auto; width: calc(42% + 2px); background: linear-gradient(270deg, var(--surface) 0 6px, color-mix(in srgb, var(--surface) 75%, transparent) 30%, transparent 100%); }
  .beat { left: 24px; right: auto; bottom: 24px; font-size: 18px; padding: 10px 18px; }
}
@media (max-width: 899px) {
  .familiar { padding-top: 0; }
  .familiar .split { grid-template-columns: 1fr; gap: 0; }
  .familiar .split > div:last-child { display: contents; }
  /* The heading sits on the floor at the bottom left of the video, clear of the woman's head; the caption
     moves to the top right so the two never meet. */
  .familiar .fam-visual { grid-area: 1 / 1; margin: 0 -16px; }
  .familiar .loop-video { border-radius: 0; box-shadow: none; }
  .fam-v::before { inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(10, 8, 6, .72), transparent); }
  .familiar h2 { grid-area: 1 / 1; align-self: end; position: relative; z-index: 2; margin: 0; padding-bottom: 14px; color: #fff; font-size: 1.9rem; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
  .familiar .pain { grid-area: 2 / 1; margin-top: 24px; }
  .familiar .pain-close { grid-area: 3 / 1; }
  .beat { left: auto; right: 10px; top: 10px; bottom: auto; }
}
@media (min-width: 640px) and (max-width: 899px) { .familiar .fam-visual { margin: 0 -32px; } }

/* ============ Questions: open-and-close list on phones, three topic cards with every answer showing from 900 px ============ */
.faq-groups { display: none; }
.faq-group { background: var(--surface-2); border-radius: var(--radius); padding: 24px 24px 8px; }
.faq-group h3 { font: var(--display-weight) 1.5rem/1.15 var(--display); letter-spacing: var(--track); margin: 0 0 16px; }
.faq-group .qa { padding: 14px 0 16px; border-top: 1px solid var(--line); }
.faq-group h4 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.faq-group p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (min-width: 900px) {
  .faq-grid { gap: 28px; }
  .faq-list { display: none; }
  .faq-groups { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; }
}

/* ============ One icon style, and "What you get" ============ */
/* One icon style everywhere, an orange line icon in a soft circle (the trust band's style) */
:is(.pain, .points) .ic { width: 40px; height: 40px; padding: 9px; margin: 0; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-fg); }
.pain li { align-items: center; }
.points .ic { margin-bottom: 10px; }
.dog-copy .ic { background: rgba(240, 122, 69, .2); color: #f39a6c; }
/* What we connect, inside "What you get" */
.get-list > p { color: rgba(245, 237, 226, .85); margin: 4px 0 12px; }
.chips-dark { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.chips-dark li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: #f5ede2; }
.chips-dark .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; }
.dog-copy { max-width: 540px; }
.points { margin-top: 20px; padding-top: 22px; border-top: 1px solid rgba(245, 237, 226, .18); }
/* ============ Hero on phones: the inside of the living room instead of the house ============ */
/* The room images are 1024 x 3786: plain wall on top (behind the headline), the room in the bottom 1023 px.
   They sit on the bottom of the section, and the section leaves room below the buttons for the window down. */
.room-scene { display: none; }
@media (max-width: 699px) {
  /* The window top (y 2763) plus 40 px of wall, down to the floor, less the bottom 150 px of floor (cropped). */
  .hero { padding-bottom: calc(100vw * 913 / 1024); }
  .hero .stage { display: none; }
  .room-scene { display: block; position: absolute; inset: 0; z-index: 1; overflow: hidden; }
  /* The room covers the sky on phones; before it arrives the section is the room's dark wall tone, not a sky. */
  .hero { background: #2a221b; }
  .hero-sky { display: none; }
  .room-scene img, .room-hots { position: absolute; left: 0; bottom: calc(-100vw * 150 / 1024); width: 100%; height: auto; }
  .rs-night, .rs-night-shut, .rs-shade-night, .rs-lamp, .rs-lamp-night, .rs-tv { opacity: 0; transition: opacity .7s ease-out, filter .7s ease-out; }
  .rs-day { transition: filter 1s linear; }
  /* The window frame is x 319-702, y 2763-3137; the shade rolls down from its top. */
  .rs-shade { clip-path: inset(72.98% 31.45% 27.02% 31.15%); transition: clip-path 1s cubic-bezier(.4, 0, .2, 1), opacity .7s ease-out, filter 1s linear; }
  .rs-shade.shut { clip-path: inset(72.98% 31.45% 17.14% 31.15%); }
  .room-scene.instant img { transition: none; }
  /* A shadow under the ceiling keeps the white headline readable on the pale wall; it fades out above the window. */
  .room-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(18, 13, 9, .62) 0, rgba(18, 13, 9, .5) calc(100% - 100vw * 913 / 1024 - 40px), rgba(18, 13, 9, 0) calc(100% - 100vw * 850 / 1024)); }
  .room-hots .hot { fill: transparent; cursor: pointer; outline: none; transition: fill .2s ease-out; }
  .room-hots .hot:focus-visible { fill: rgba(255, 210, 122, .22); }
  .room-hots .hot:active { fill: rgba(255, 210, 122, .18); }
}
/* 700-1099 px: the house is full width under the buttons, and the top quarter of its picture is empty sky.
   Pull it up under the buttons so the chimney sits about 40 px below them. The copy stays on top for taps. */
@media (min-width: 700px) and (max-width: 1099px) {
  .hero-copy { position: relative; z-index: 3; }
  .hero .stage { margin-top: -18vw; }
}
/* ============ Phones: use the height well ============ */
/* Eyetracking (NN/g, "Scrolling and Attention", 2018): 57% of viewing time is on the first screen and 74% on
   the first two, so on phones each section is tightened to get more of the page into the first few screens. */
@media (max-width: 640px) {
  section { padding: 48px 0; }
  .hero { padding-top: 32px; }
  .steps { gap: 28px; margin-top: 28px; }
  .step-photo { aspect-ratio: 16 / 9; }
  .pain { margin: 20px 0; gap: 10px; }
  .pain li { padding: 12px 14px; font-size: 1rem; }
  .dog-bg { height: 280px; }
  .dog-bleed::before { background: linear-gradient(180deg, transparent 140px, #1c1410 280px); }
  .plan { padding: 24px 20px; }
  .plan-pick { padding: 28px 22px 24px; }
}
/* ============ Phones: denser layouts, same words (option B, picked 2026-12-02) ============ */
@media (max-width: 640px) {
  .trust { gap: 10px; }
  .trust-band { padding: 20px 0; }
  .trust .ic { width: 34px; height: 34px; padding: 7px; }
  /* Steps: a small photo beside the words, the step number on the photo's top-left corner */
  .steps { gap: 22px; }
  .steps li { display: grid; grid-template-columns: 104px 1fr; column-gap: 14px; align-items: start; }
  .step-photo { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 1; border-radius: 16px; }
  .steps .dot { grid-column: 1; grid-row: 1; align-self: start; justify-self: start; z-index: 1; width: 32px; height: 32px; font-size: 1.1rem; margin: -6px 0 0 -6px; left: 0; box-shadow: 0 0 0 3px var(--bg); }
  .steps h3 { grid-column: 2; margin: 2px 0 4px; }
  .steps p { grid-column: 2; font-size: 15px; line-height: 1.5; margin: 0; }
  /* What we connect: two columns */
  .chips-dark { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .chips-dark li { font-size: 14px; line-height: 1.3; }
  .chips-dark .ic { flex: none; width: 30px; height: 30px; padding: 6px; }
}
/* Phones: the hero fits one screen. Smaller lead text, a tighter top, and the two buttons side by side where
   they fit (360 px and up). */
@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .eyebrow { margin-bottom: 16px; font-size: 14px; }
  .hero h1 { margin-bottom: .35em; }
  .hero .lead { font-size: 1.02rem; line-height: 1.5; }
  .hero .cta-row { margin: 20px 0 4px; gap: 10px; }
}
@media (min-width: 360px) and (max-width: 640px) {
  .hero .cta-row { flex-wrap: nowrap; }
  .hero .cta-row .btn-lg { padding: 13px 16px; font-size: 15px; white-space: nowrap; }
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send-err { margin: 0 0 12px; }
