:root { --bg: #f7f4ee; --paper: #fffdf9; --ink: #171614; --muted: #6d6a63; --line: #e3ded3; --gold: #8a7349; --gold-soft: #f1ebdd; --serif: "Cormorant Garamond", Georgia, serif; --sans: "Inter", system-ui, -apple-system, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
.page { max-width: 640px; margin: 0 auto; padding: calc(20px + env(safe-area-inset-top)) 20px calc(48px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 28px; }
.top { display: flex; justify-content: space-between; align-items: center; }
.mark { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.top a.small { font-size: 14px; color: var(--muted); text-decoration: none; }
h1 { font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; margin: 0 0 6px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; font-weight: 500; }
.lede { font-size: 18px; color: #3b3935; margin: 14px 0 0; }
.muted { color: var(--muted); } .small { font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 16px var(--sans); text-decoration: none; border: 0; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.block { width: 100%; } .btn:disabled { opacity: .5; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
input, textarea, select { width: 100%; font: 16px var(--sans); padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
label { font-size: 13px; color: var(--muted); }
.steps { display: grid; gap: 18px; }
.steps div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.steps b { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--gold); line-height: 1; }
.plans { display: grid; gap: 12px; }
.plan { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.plan b { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.foot { font-size: 13px; color: var(--muted); text-align: center; } .foot a { color: var(--muted); }
/* the interview */
.chat { display: flex; flex-direction: column; gap: 14px; }
.say { max-width: 88%; padding: 12px 16px; border-radius: 18px; white-space: pre-wrap; }
.say.agent { background: var(--paper); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 6px; }
.say.buyer { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.say.typing { color: var(--muted); }
.composer { position: sticky; bottom: 0; background: var(--bg); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 8px; }
.composer textarea { min-height: 52px; max-height: 160px; border-radius: 26px; padding: 14px 18px; }
.composer button { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 20px; cursor: pointer; }
/* the ISO card */
.iso { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; }
.iso h1 { font-size: 34px; }
.points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; }
.points li { padding-left: 18px; position: relative; } .points li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--gold); }
.by { margin: 18px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
/* matches */
.match { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.match h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0; line-height: 1.2; }
.fit { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.match .meta { font-size: 14px; color: var(--muted); }
.match.locked { position: relative; overflow: hidden; }
.match.locked .blur { filter: blur(7px); user-select: none; pointer-events: none; }
.match.locked .lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(rgba(255,253,249,.35), rgba(255,253,249,.9)); text-align: center; padding: 20px; }
.verdict { display: flex; gap: 8px; flex-wrap: wrap; }
.verdict button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 14px var(--sans); cursor: pointer; }
.verdict button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
/* listings and pages */
.photos { display: flex; gap: 8px; overflow-x: auto; } .photos img { height: 260px; border-radius: 14px; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0; } .facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; } .facts dd { margin: 0; }
.desc { white-space: normal; }
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 50; }
@media (min-width: 720px) { h1 { font-size: 60px; } }
.prog { position: sticky; top: 0; background: var(--bg); padding: 8px 0 6px; display: flex; flex-direction: column; gap: 6px; z-index: 5; }
.progbar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progbar i { display: block; height: 100%; width: 8%; background: var(--gold); transition: width .4s ease; }
