@font-face { font-family: Geist; src: url("fonts/Geist.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
/* Housewizz: clean white, ink, one highlighter yellow. Geist Sans throughout, 4px corners.
   Spacing steps: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 · 128 */
:root {
  --ink: #141414;
  --ink-2: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e7e7e2;
  --line-2: #e1e0d8;
  --grey: #f6f6f3;
  --tint: #f1f0ea;
  --white: #ffffff;
  --yellow: #ffd23f;
  --good: #1d7a4a;
  --good-l: #eaf5ee;
  --amber: #9a6200;
  --r: 4px;
  --lift: 0 1px 2px rgba(20, 20, 20, .04), 0 24px 60px -30px rgba(20, 20, 20, .22);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.6 Geist, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.good { color: var(--good) !important; }
.amber { color: var(--amber) !important; }

/* Type */
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: -.05em; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.04em; margin-bottom: 16px; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 8px; }
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .06em; margin: 0 -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sec-ink .hl { background: none; color: var(--yellow); }
.word { font-size: 22px; font-weight: 400; letter-spacing: -.03em; text-decoration: none; }
.word b { font-weight: 700; }
.word.small { font-size: 16px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.links { display: flex; gap: 32px; }
.links a { font-size: 15px; color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border: 1px solid var(--ink); border-radius: var(--r); font-size: 16px; font-weight: 500; line-height: 1; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { padding: 10px 14px; font-size: 14px; gap: 8px; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; }
.btn-line { background: var(--white); color: var(--ink); }
.btn-line:hover { background: var(--grey); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffdb63; }
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-line-light:hover { background: rgba(255, 255, 255, .08); }
.ico { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn-sm .ico { width: 15px; height: 15px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta.center { justify-content: center; }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.fine.light { color: #b9b9b0; }
.tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.tag .sq { width: 8px; height: 8px; background: var(--yellow); }
.tag.light { color: #cfcfc6; }
.n { display: inline-block; margin-bottom: 16px; padding: 2px 6px; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; }

/* Hero */
.hero { padding: 112px 0 64px; }
.lede { max-width: 640px; margin-top: 24px; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ink-2); }

/* Sections */
.sec { padding: 128px 0; }
.sec-grey { background: var(--grey); }
.sec-tint { background: var(--tint); }
.sec-ink { background: var(--ink); color: var(--white); }
.sec-ink h2, .sec-ink h3 { color: #fff; }
.sec + .sec:not(.sec-grey):not(.sec-tint):not(.sec-ink) { border-top: 1px solid var(--line); }
.head { max-width: 680px; margin-bottom: 64px; }
.sub { max-width: 640px; font-size: 19px; color: var(--muted); }
.sub.light { color: #c9c9c0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 96px; align-items: start; }

/* Shared "page on a page" surfaces */
.listing, .result { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--lift); overflow: hidden; }
.epc { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 2px; background: var(--yellow); color: var(--ink); line-height: 1.4; text-align: center; font-weight: 600; }

/* 1. The example listing page */
.show { padding: 0 0 96px; background: linear-gradient(var(--white) 0, var(--white) 120px, var(--tint) 120px); }
.listing { margin: 0; }
.body { padding: clamp(20px, 4vw, 40px); }
.top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
.photo { aspect-ratio: 4 / 3; border-radius: var(--r); background: #d9d4c6 url("https://images.unsplash.com/photo-1777647255202-be7e3431c84a?w=1600&q=80&auto=format&fit=crop") center 58% / cover; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 4px 0 12px; }
.price { font-size: clamp(34px, 4vw, 46px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.nego { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r); font-size: 15px; font-weight: 500; line-height: 1.3; }
.nego .dot { width: 8px; height: 8px; background: #d39b28; flex: none; }
.nego .muted { font-weight: 400; }
.title { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.card { margin-top: 32px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; font-size: 20px; letter-spacing: -.02em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--muted); font-size: 15px; line-height: 1.3; cursor: pointer; transition: border-color .15s, background .15s; }
.pill b { color: var(--ink); font-weight: 600; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { border-color: var(--ink); background: var(--grey); }

/* Pill panels */
.drawer { margin-top: 16px; }
.drawer section { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--grey); }
.d-head { display: flex; justify-content: space-between; align-items: center; margin: -4px 0 16px; font-size: 19px; letter-spacing: -.02em; }
.d-close { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; border: 0; border-radius: var(--r); background: transparent; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.d-close:hover { background: #ebebe6; }
.drawer h4 { margin: 24px 0 4px; font-size: 15px; font-weight: 600; }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; text-align: right; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows li div { display: flex; flex-direction: column; gap: 2px; }
.rows li span { color: var(--muted); font-size: 14px; }
.rows li em { font-style: normal; font-size: 14px; color: var(--good); text-decoration: underline; text-underline-offset: 3px; }
.rows li em:empty { display: none; }
.dn { margin: 20px 0 0; font-size: 15px; color: var(--ink-2); }
.d-src { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.epc-row { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.epc-row div { display: flex; flex-direction: column; }
.epc-row span { color: var(--muted); font-size: 14px; }
.epc-big { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: #ffd500; font-size: 22px; font-weight: 700; }

/* Price history */
.hist { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.hist-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; font-size: 15px; }
.hist-head b { font-size: 18px; letter-spacing: -.02em; font-weight: 600; }
.cut { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r); background: var(--good-l); font-size: 15px; }
.cut b { color: var(--good); font-size: 18px; }
.ar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r); background: var(--white); color: var(--good); font-weight: 700; flex: none; }
.tl { list-style: none; margin: 8px 0 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 130px 1fr auto 130px; gap: 16px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tl li:last-child { border-bottom: 0; padding-bottom: 0; }
.tl li > span:first-child { color: var(--muted); }
.tl em { font-style: normal; font-size: 13px; color: var(--good); text-align: right; }
.tl li.earlier, .tl li.earlier em { color: var(--muted); }
.cap { margin: 16px 0 0; font-size: 14px; color: #7a7a72; }

/* 2. Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 48px; }
.b { padding-top: 24px; border-top: 1px solid var(--ink); }
.b p { font-size: 16px; color: var(--muted); }

/* 3. Tools */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.group { padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.group h3 { margin-bottom: 16px; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.group li:last-child { padding-bottom: 0; }
.group li b { color: var(--ink); font-size: 16px; font-weight: 500; }
.srcs { margin: 32px 0 0; font-size: 14px; color: var(--muted); }

/* 4. Search result */
.result { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
.r-photo { min-height: 380px; background: #d9d4c6 url("https://images.unsplash.com/photo-1777647255202-be7e3431c84a?w=1400&q=80&auto=format&fit=crop") center 58% / cover; }
.r-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3.5vw, 48px); }
.r-price { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.r-title { margin-top: 8px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.r-added { margin-top: 8px; }
.r-strip { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.r-strip > div:first-child { font-size: 17px; }
.r-strip > div:first-child b { font-weight: 600; }
.r-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.r-facts span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; line-height: 20px; color: var(--muted); }
.r-facts span b { font-size: inherit; line-height: inherit; font-weight: 600; color: var(--ink); }
.r-facts span b.good { color: var(--good); }

/* 5. Settings */
.settings { justify-self: end; width: 100%; max-width: 420px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.s-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.s-label { margin: 20px 0 4px; font-size: 13px; color: var(--muted); }
.settings label { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 15px; cursor: pointer; }
.settings input { appearance: none; position: relative; width: 38px; height: 22px; margin: 0; border-radius: 3px; background: #d8d8d2; cursor: pointer; transition: background .15s; }
.settings input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 2px; background: #fff; transition: transform .15s; }
.settings input:checked { background: var(--ink); }
.settings input:checked::after { transform: translateX(16px); background: var(--yellow); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 14px; text-align: center; }
.seg span { padding: 8px 4px; }
.seg span + span { border-left: 1px solid var(--line); }
.seg .on { background: var(--ink); color: #fff; }

/* Lists */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding: 24px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li b { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 500; color: var(--ink); }
.checks.plain { margin-top: 32px; }
.checks.plain li { position: relative; padding: 12px 0 12px 24px; color: var(--ink); }
.checks.plain li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--yellow); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li p { color: var(--muted); }
#how .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; }
#how .steps li { border-top-color: var(--ink); }
.steps.dark { margin-top: 32px; }
.steps.dark li { border-top-color: rgba(255, 255, 255, .2); }
.steps.dark p { color: #b9b9b0; }

/* Founding member sign-up */
.join { padding: clamp(24px, 3vw, 32px); background: #1f1f1d; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); }
.join h3 { margin-bottom: 16px; color: #fff; }
.field { display: grid; gap: 8px; margin-bottom: 16px; font-size: 14px; color: #cfcfc6; }
.field em { font-style: normal; color: #8f8f86; }
.field input, .link-row input { width: 100%; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); background: #141414; color: #fff; font: inherit; font-size: 16px; }
.field input:focus, .link-row input:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 24px; font-size: 14px; color: #b9b9b0; cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--yellow); }
.join-ref { margin: -4px 0 16px; padding: 8px 12px; border-radius: var(--r); background: rgba(255, 210, 63, .12); color: var(--yellow); font-size: 14px; }
.join-err { margin: 12px 0 0; color: #ffb4a6; font-size: 14px; }
.join-small { margin: 16px 0 0; font-size: 13px; color: #8f8f86; }
.join-done p { color: #cfcfc6; }
.link-row { display: flex; gap: 8px; margin: 16px 0 12px; }

/* FAQ */
details { padding: 24px 0; border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; cursor: pointer; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Final */
.final { padding: 128px 0 112px; text-align: center; border-top: 1px solid var(--line); }
.final h2 { max-width: 720px; margin: 0 auto; }
.notify { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.notify input { width: min(320px, 100%); padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; font-size: 16px; }
.notify input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }

.foot { padding: 32px 0 56px; border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 12px; }
.foot p { max-width: 820px; font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
  .links { display: none; }
  .split, .benefits, .tools, #how .steps { grid-template-columns: 1fr; }
  .split { gap: 48px; }
  .benefits { gap: 40px; }
  #how .steps { gap: 0; }
  .settings { justify-self: stretch; max-width: none; }
  .sec { padding: 88px 0; }
  .hero { padding: 64px 0 48px; }
  .head { margin-bottom: 48px; }
}
@media (max-width: 860px) { .top { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .result { grid-template-columns: 1fr; }
  .r-photo { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 620px) {
  .tl li { grid-template-columns: 90px 1fr auto; gap: 12px; }
  .tl li em { display: none; }
  .kv { grid-template-columns: 1fr; }
  .drawer section { padding: 20px; }
}

/* Legal pages */
.legal { padding: 96px 0 112px; }
.legal-h { font-size: clamp(40px, 6vw, 64px); margin-bottom: 32px; }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; }
.legal p { margin-bottom: 20px; }
.legal ul { margin: -8px 0 20px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { text-underline-offset: 3px; }
.foot-links { display: flex; gap: 20px; font-size: 13px; }
.foot-links a { color: var(--muted); }
