/* Elite RE CRM. One stylesheet, no build step, no framework.
   Design direction is the LISTING PRESENTATION, not the SaaS dashboard: paper ground,
   ink navy, brass rule lines, a serif for anything a person reads as a claim. It has to
   look like something an agent would hand a seller, because that is the buyer. */

:root {
  color-scheme: light;
  --paper: #f7f4ef;
  --paper-2: #fffdfa;
  --card: #ffffff;
  --ink: #16202e;
  --ink-2: #3d4b5c;
  --ink-3: #6b7889;
  --line: #e0d8cc;
  --line-2: #efe8dd;
  --brass: #9a6f2f;
  --brass-soft: #f0e3cd;
  --navy: #16202e;
  --green: #2f6b4f;
  --red: #9b3b2e;
  --shadow: 0 1px 2px rgba(22, 32, 46, .05), 0 12px 32px -12px rgba(22, 32, 46, .16);
  --shadow-lg: 0 2px 4px rgba(22, 32, 46, .06), 0 32px 64px -24px rgba(22, 32, 46, .28);
  --radius: 14px;
  --wrap: 1140px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #10151d;
  --paper-2: #141b25;
  --card: #18202b;
  --ink: #eef2f7;
  --ink-2: #b9c4d2;
  --ink-3: #8593a5;
  --line: #26313f;
  --line-2: #1e2733;
  --brass: #d4a659;
  --brass-soft: #2a2418;
  --navy: #0b1017;
  --green: #6cc79a;
  --red: #e08472;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .5);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .35), 0 32px 64px -24px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); line-height: 1.3; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--brass); flex: none; }
.eyebrow.center { justify-content: center; }

.lede { font-size: clamp(1.02rem, 1.9vw, 1.18rem); color: var(--ink-2); max-width: 62ch; }
.small { font-size: .87rem; color: var(--ink-3); }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  background: var(--navy); color: var(--brass);
  display: grid; place-items: center; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: 0;
}
html[data-theme="dark"] .brand .mark { background: var(--brass); color: var(--navy); }
.brand em { font-style: normal; color: var(--brass); }

.nav-links { display: none; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-size: .92rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  background: none; border: 1px solid var(--line); color: var(--ink-2);
  font: inherit; font-size: .8rem; padding: 7px 12px; border-radius: 8px; cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.nav-toggle { display: inline-flex; }
.drawer { display: none; border-top: 1px solid var(--line); padding: 10px 0 16px; }
.drawer.open { display: block; }
.drawer a { display: block; padding: 11px 0; text-decoration: none; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .drawer { display: none !important; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; text-decoration: none;
  font-size: .95rem; font-weight: 600; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer; font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
html[data-theme="dark"] .btn-primary { background: var(--brass); color: #11161d; }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.btn-full { width: 100%; }

/* ---------- sections ---------- */

section { padding: clamp(56px, 9vw, 100px) 0; }
.section-head { max-width: 66ch; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.ink-band { background: var(--navy); color: #eef2f7; }
.ink-band h2 { color: #fff; }
.ink-band .lede, .ink-band p { color: #b4c0d0; }
.ink-band .eyebrow { color: var(--brass); }

/* ---------- hero ---------- */

.hero { padding-top: clamp(44px, 7vw, 76px); padding-bottom: clamp(44px, 7vw, 72px); }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-top: 18px; }
.hero-note { margin-top: 18px; font-size: .86rem; color: var(--ink-3); }
.hero-grid { display: grid; gap: 44px; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; } }

/* the timeline device: the product's actual promise, drawn */
.clock {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.clock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-bottom: 1px solid var(--line-2); background: var(--paper-2);
}
.clock-bar b { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.dot3 { display: flex; gap: 5px; }
.dot3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.clock-body { padding: 6px 0; }
.tl { display: grid; grid-template-columns: 66px 1fr; gap: 0; }
.tl-t {
  font-family: var(--mono); font-size: .74rem; color: var(--brass); font-weight: 600;
  padding: 15px 0 15px 16px; border-right: 1px solid var(--line-2);
}
.tl-c { padding: 15px 16px; border-bottom: 1px solid var(--line-2); }
.tl:last-child .tl-c { border-bottom: 0; }
.tl:last-child .tl-t { border-bottom: 0; }
.tl-c b { display: block; font-size: .93rem; }
.tl-c span { font-size: .85rem; color: var(--ink-3); }
.tl-tag {
  display: inline-block; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 999px;
  background: var(--brass-soft); color: var(--brass); margin-left: 7px; vertical-align: 1px;
}
.tl-tag.manual { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }

/* ---------- proof band ---------- */

.band { border-block: 1px solid var(--line); background: var(--paper-2); padding: 26px 0; }
.band-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
@media (min-width: 760px) { .band-grid { grid-template-columns: repeat(4, 1fr); } }
.band-grid div b { display: block; font-family: var(--serif); font-size: 1.5rem; }
.band-grid div span { font-size: .84rem; color: var(--ink-3); }

/* ---------- cards ---------- */

.grid { display: grid; gap: 18px; }
/* A grid item's min-width is auto, so ONE wide descendant (the comparison table, which
   carries min-width:560px so its columns stay readable) drags the whole track past the
   viewport and the page scrolls sideways on a phone. Measured at 375px: the document was
   582px wide. min-width:0 lets the track shrink and hands the scrolling to .tablewrap,
   which is the only thing that should ever scroll horizontally here. */
.grid > * { min-width: 0; }
.g2 { grid-template-columns: 1fr; }
.g3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .g3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.card .num {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--brass);
  display: block; margin-bottom: 12px;
}

/* ---------- list ---------- */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 27px; font-size: .94rem; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 13px; height: 7px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
}
.ticks.plain li::before { border-color: var(--ink-3); }
.ticks.crosses li::before {
  width: 12px; height: 12px; top: .38em; transform: none; border: 0;
  background:
    linear-gradient(to bottom right, transparent 44%, var(--ink-3) 44%, var(--ink-3) 56%, transparent 56%),
    linear-gradient(to bottom left, transparent 44%, var(--ink-3) 44%, var(--ink-3) 56%, transparent 56%);
}

/* ---------- table ---------- */

.tablewrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { font-family: var(--mono); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
td b { font-weight: 600; }
.yes { color: var(--green); font-weight: 600; }
.no { color: var(--ink-3); }

/* ---------- pricing ---------- */

.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-lg); position: relative;
}
.price-card.feature { border-color: var(--brass); }
.price-flag {
  position: absolute; top: -11px; left: 30px;
  background: var(--brass); color: #fff; font-family: var(--mono); font-size: .66rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
}
html[data-theme="dark"] .price-flag { color: #11161d; }
.price { font-family: var(--serif); font-size: 3rem; line-height: 1; margin: 8px 0 2px; }
.price sup { font-size: 1.2rem; vertical-align: .9em; margin-right: 2px; }
.price small { font-size: .95rem; font-family: var(--sans); color: var(--ink-3); }

/* ---------- form ---------- */

.form { display: grid; gap: 15px; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem;
  background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
}
input:focus, select:focus, textarea:focus { border-color: var(--brass); outline: none; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .82rem; color: var(--ink-3); line-height: 1.5; }
.consent input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--brass); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formnote { font-size: .82rem; color: var(--ink-3); }
.alert { padding: 13px 16px; border-radius: 10px; font-size: .9rem; display: none; }
.alert.show { display: block; }
.alert.ok { background: color-mix(in srgb, var(--green) 12%, transparent); color: var(--green); }
.alert.bad { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }

/* ---------- honesty box ---------- */

.honest {
  border: 1px solid var(--line); border-left: 3px solid var(--brass);
  background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px;
}
.honest h3 { font-size: 1.05rem; margin-bottom: 10px; }
.honest p:last-child { margin-bottom: 0; }

/* ---------- faq ---------- */

details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
summary {
  cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--brass); font-size: 1.3rem; flex: none; }
details[open] summary::after { content: "\2212"; }
details p { margin: 14px 0 0; color: var(--ink-2); font-size: .93rem; max-width: 72ch; }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--line); padding: 46px 0 40px; background: var(--paper-2); }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.foot-grid h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; font-weight: 600; }
.foot-grid a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink-2); font-size: .9rem; }
.foot-grid a:hover { color: var(--brass); }
.legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-3); }
.legal p { margin: 0 0 6px; }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- product shots ----------
   Every image on this site is a screenshot of a real surface: the valuation report the engine
   actually renders, the live funnel a homeowner lands on, the live check-in form. No mockups.
   A site selling websites cannot afford a fabricated screenshot. */

figure { margin: 0; }

.shot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.shot img { display: block; width: 100%; }
/* A tall document is cropped to its interesting top rather than shrunk to a stamp. */
.shot--crop { max-height: 460px; }
.shot--crop img { object-fit: cover; object-position: top center; height: 460px; }
.shot--phone { max-width: 300px; margin-inline: auto; border-radius: 22px; }
.shot--phone img { height: auto; }

.shot-cap {
  font-size: .83rem; color: var(--ink-3); margin: 10px 2px 0; line-height: 1.5;
}
.shot-cap b { color: var(--ink-2); font-weight: 600; }
.ink-band .shot-cap { color: #8f9dae; }
.ink-band .shot-cap b { color: #b4c0d0; }

/* A caption strip sitting on the image itself, for the demo band. */
.shot-live {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); padding: 10px 14px; border-bottom: 1px solid var(--line-2);
  background: var(--paper-2);
}
.shot-live i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none;
  display: block;
}

.demo-grid { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .demo-grid { grid-template-columns: 1.05fr .95fr; gap: 44px; } }
@media (min-width: 900px) { .demo-grid.flip > :first-child { order: 2; } }

/* ---------- the ladder demo ----------
   The hero timeline plays through in compressed real time so a visitor SEES the promise rather
   than reading it. Rows are fully legible at rest and stay legible with no JS: the demo only
   adds emphasis, it never reveals. A page whose content depends on an animation is blank in a
   screenshot, in a link preview, and to a crawler.

   EXPLICIT COLOURS, NOT color-mix. The first version used
   `color-mix(in srgb, var(--brass) 7%, transparent)` and it computed to fully transparent, so
   the highlight silently did nothing. And the dim rule out-specified the lit rule, so a lit row
   read as dimmed. Both are the same lesson: an effect that fails by rendering nothing gives you
   no error to chase. */

.clock[data-demo] .tl-t,
.clock[data-demo] .tl-c b { transition: color .3s ease; }
.clock[data-demo] .tl { transition: background-color .35s ease; }

/* dim the rest while a row is featured */
.clock[data-demo].playing .tl:not(.lit) .tl-t { color: var(--ink-3); }
.clock[data-demo].playing .tl:not(.lit) .tl-c b { color: var(--ink-3); }

/* the featured row. Higher specificity than the dim rule above, deliberately. */
.clock[data-demo].playing .tl.lit { background-color: rgba(154, 111, 47, .10); }
.clock[data-demo].playing .tl.lit .tl-t { color: var(--brass); font-weight: 700; }
.clock[data-demo].playing .tl.lit .tl-c b { color: var(--ink); }
html[data-theme="dark"] .clock[data-demo].playing .tl.lit { background-color: rgba(212, 166, 89, .12); }

.clock-bar .replay {
  margin-left: auto; background: none; border: 1px solid var(--line);
  color: var(--ink-3); font: inherit; font-family: var(--mono); font-size: .66rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  cursor: pointer;
}
.clock-bar .replay:hover { border-color: var(--brass); color: var(--brass); }
.clock-bar .ticker {
  font-family: var(--mono); font-size: .68rem; color: var(--brass); letter-spacing: .08em;
  min-width: 46px; text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .clock[data-demo].playing .tl:not(.lit) .tl-t,
  .clock[data-demo].playing .tl:not(.lit) .tl-c b { color: inherit; }
  .clock[data-demo].playing .tl.lit { background-color: transparent; }
}
