/* EstateHub — public website. Same identity as the product: warm paper ground, deep ink, one deep green.
   Fraunces for display, Manrope for everything else (self-hosted, see fonts.css). */
:root {
  --paper: #f6f3ee; --paper-2: #efeae2; --surface: #fffdf9; --line: rgba(28, 34, 30, .10); --line-2: rgba(28, 34, 30, .18);
  --text: #1c221e; --muted: #5d655f; --dim: #8e928b; --brand: #1f5a42; --brand-2: #2b7356; --brand-ink: #173f2f; --brand-tint: #e3ebe4;
  --gold: var(--brand); --gold-2: var(--brand-2); --water: var(--brand-2);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif; --sans: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px; color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.025em; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.2rem; font-weight: 600; font-variation-settings: "opsz" 36; }
p { margin: 0 0 1em; }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }
.gold { color: var(--brand); font-style: italic; }
.ink { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--radius-sm); font-weight: 650; font-size: 15px;
  border: 1px solid var(--line-2); transition: transform .15s, box-shadow .2s, background .2s; cursor: pointer; font-family: var(--sans); color: var(--text); background: var(--surface); }
.btn:hover { transform: translateY(-1px); border-color: var(--brand); color: var(--brand); }
.btn.gold-btn { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 10px 30px -10px rgba(31,90,66,.5); }
.btn.gold-btn:hover { background: var(--brand-ink); color: #fff; }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .brand .ab-mark { height: 38px; }
.brand span { font: 600 1.3rem var(--serif); letter-spacing: -.02em; font-style: normal; font-variation-settings: "opsz" 48; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--text); }
.nav .signin { font-size: 14px; color: var(--muted); font-weight: 600; }
.nav .btn { margin-left: 8px; }
@media (max-width: 900px) {.nav-links { display: none; }.nav .signin { display: none; }.nav .btn { margin-left: auto; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 40px; text-align: center; }
.hero .lead { margin: 0 auto 30px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero small { display: block; margin-top: 16px; color: var(--dim); font-size: 13px; }
.showcase { position: relative; margin: 60px auto 0; max-width: 1080px; }
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgba(28,34,30,.35), 0 0 0 1px rgba(255,255,255,.4); background: var(--surface); }
.browser .bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.phone { width: 230px; border-radius: 36px; padding: 9px; background: #1c221e; border: 1px solid #3a423d; box-shadow: 0 30px 80px -20px rgba(28,34,30,.5); }
.phone img { border-radius: 28px; }
.showcase .phone { position: absolute; right: -24px; bottom: -40px; }
@media (max-width: 800px) {.showcase .phone { width: 150px; right: -6px; bottom: -26px; border-radius: 26px; padding: 6px; }.showcase .phone img { border-radius: 20px; } }

/* sections */
section { padding: 100px 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: 1fr; }.g3 { grid-template-columns: 1fr; }.g4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) {.g2 { grid-template-columns: 1fr 1fr; }.g3 { grid-template-columns: repeat(3, 1fr); }.g4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 1px 2px rgba(28,34,30,.04), 0 8px 24px -12px rgba(28,34,30,.12); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); border: 1px solid rgba(31,90,66,.2); margin-bottom: 16px; font-size: 20px; }
.pain { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pain b { font-size: 1.1rem; font-weight: 700; display: block; }
.pain span { color: var(--muted); }
.x { color: #b3261e; font-size: 18px; line-height: 1.6; }.tick { color: var(--brand); font-size: 18px; line-height: 1.6; }
.steps { counter-reset: s; }
.step { position: relative; padding-top: 86px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 28px; left: 28px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.3rem; color: #fff; background: var(--brand); }
.journey { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 900px) {.journey { grid-template-columns: repeat(6, 1fr); } }
.journey .card { padding: 20px; position: relative; }
.journey .num { font-family: var(--serif); color: var(--brand); font-size: 1.1rem; }
.journey h3 { font-size: 1.05rem; margin: 6px 0; }
.journey p { font-size: 14px; }
.split { display: grid; gap: 50px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {.split { grid-template-columns: 1fr 1fr; }.split.rev > :first-child { order: 2; } }
.list { list-style: none; padding: 0; margin: 20px 0 0; }
.list li { padding: 9px 0 9px 30px; position: relative; color: var(--muted); }
.list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.list li b { color: var(--text); font-weight: 650; }
.phones { display: flex; gap: 18px; justify-content: center; }
.phones .phone { width: 200px; }.phones .phone:nth-child(2) { transform: translateY(40px); }
@media (max-width: 600px) {.phones .phone { width: 150px; }.phones .phone:nth-child(3) { display: none; } }
.rule { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); font-size: 15px; }
.rule .when { color: var(--brand); font-weight: 650; }.rule .arrow { color: var(--dim); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); background: var(--surface); }
.pill.live { color: #fff; background: var(--brand); border-color: transparent; font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 1.15rem; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--brand); font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; }
.cta-band { border-radius: 30px; padding: 60px 30px; text-align: center; border: 1px solid rgba(31,90,66,.25);
  background: var(--brand-tint); }
form.demo { display: grid; gap: 12px; grid-template-columns: 1fr; max-width: 640px; margin: 26px auto 0; text-align: left; }
@media (min-width: 640px) {form.demo { grid-template-columns: 1fr 1fr; }form.demo .full { grid-column: 1 / -1; } }
form.demo input, form.demo select, form.demo textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); font: 16px var(--sans); outline: none; }
form.demo textarea { min-height: 96px; }
form.demo input:focus, form.demo select:focus, form.demo textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,90,66,.14); }
form.demo .err { color: #b3261e; font-size: 13px; margin-top: 4px; }
form.demo button { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
footer img { height: 44px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {.reveal { opacity: 1; transform: none; transition: none; }html { scroll-behavior: auto; } }
svg.icon { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon svg.icon { width: 22px; height: 22px; }
.mark { width: 56px; height: 56px; stroke: var(--brand); stroke-width: 1.5; margin: 0 auto 10px; display: block; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
body { overflow-x: clip; }
.journeys { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.journeys li { border-top: 3px solid var(--brand); padding-top: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-row .btn, footer a, .nav a { min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--brand); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.cta-band h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
form.demo .demo-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
