/* Rapideal — Base styles
   Slice 14.5+ polish (2026-07-08): Conveyancer's Desk palette.
   Dark navy + brass gold + cream. Heritage property / legal / financial.
   Mirrors base.html's :root tokens. */

:root {
  --primary:      #0a1628;
  --navy:         #0a1628;
  --bg:           #0a1628;
  --surface:      #162033;
  --surface-raised: #1f2a44;
  --input-bg:     #0d1320;
  /* WCAG AA on #0a1628: brass #c9a961 = ~7.6:1 (passes 4.5:1) */
  --accent:       #c9a961;
  --gold:         #c9a961;
  --gold-hover:   #d4ba78;
  --gold-dim:     rgba(201, 169, 97, 0.14);
  --oxblood:      #7a1f2b;
  --parchment:    #f4ecd8;
  --cream:        #f4ecd8;
  --cream-dim:    #e8dcc4;
  --success:      #6b8e6f;
  --sage:         #6b8e6f;
  --alert:        #c0392b;
  --muted:        #8a95a8;
  --border:       rgba(201, 169, 97, 0.16);
  --border-strong: rgba(201, 169, 97, 0.32);
  --text:         #f4ecd8;
  --text-dim:     rgba(244, 236, 216, 0.72);

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:    'General Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-weight: 700; }

::selection { background: var(--accent); color: #fff; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Nav (kept as a fallback for any page that doesn't render the
   <style> block in base.html — the inline nav styles win via cascade) */
nav {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
nav .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  text-decoration: none;
  padding: 0 20px;
  letter-spacing: -0.5px;
}
nav .logo span { color: #fff; }
nav .nav-links { display: flex; gap: 12px; padding-right: 20px; }
nav .nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.15s;
}
nav .nav-links a:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  color: var(--text);
}
.card h1, .card h2, .card h3, .card h4 { color: var(--text); }
.card p, .card li, .card label, .card span { color: var(--text-dim); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s, opacity 0.15s;
  text-decoration: none;
  font-family: var(--font-body);
}
.btn:hover { text-decoration: none; }
.btn-accent  { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-primary { background: var(--text); color: var(--primary); }
.btn-primary:hover { background: #e5e7eb; }
.btn-success { background: var(--success); color: var(--navy); }
.btn-danger  { background: var(--alert);  color: var(--navy); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* Forms */
.form-group { margin-bottom: 16px; }
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--input-bg);
  color: var(--text);
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}
input::placeholder, textarea::placeholder { color: var(--muted); }

/* Financial type badges (saturated, readable on dark) */
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}
.badge-cash           { background: rgba(16,200,100,0.22); color: #6ee7a3; }
.badge-vendor_finance { background: rgba(200,16,46,0.22); color: #ff8a96; }
.badge-bridging       { background: rgba(255,255,255,0.10); color: #d1d5db; }
.badge-jv             { background: rgba(37,99,235,0.22); color: #93b8ff; }

/* Listing cards — 60/40 split */
.listing-card {
  display: grid;
  grid-template-columns: 60% 40%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.listing-card .image {
  background: linear-gradient(135deg, #0a1628 0%, #162033 100%);
  min-height: 200px;
  position: relative;
}
.listing-card .badges-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.listing-card .countdown-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10,10,10,0.85);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--border);
}
.listing-card .info { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.listing-card .address { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.listing-card .description { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.listing-card .bid-amount {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

/* Hero / Landing — Slice 14.6+ rebuild (2026-07-08, simplified).
   Dark navy + brass gold + cream. Property photo behind a scrim.
   NO scroll-driven animations (caused LCP regression in #11). */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 100px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.70) 50%, rgba(10,22,40,0.95) 100%),
    linear-gradient(90deg, rgba(10,22,40,0.50) 0%, rgba(10,22,40,0.20) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  max-width: 760px;
  z-index: 1;
}
.text-gold {
  color: var(--gold);
  font-style: italic;
  font-feature-settings: "ss01";
}
.text-gold--underline {
  color: var(--gold);
  font-style: italic;
  text-decoration: underline wavy var(--gold);
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 16px auto 24px;
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(10, 22, 40, 0.4);
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(244, 236, 216, 0.85);
  max-width: 620px;
  margin: 0 auto 32px;
  text-shadow: 0 1px 8px rgba(10, 22, 40, 0.3);
}
.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 32px;
}
.hero__fineprint {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244, 236, 216, 0.75);
  max-width: 620px;
  margin: 0 auto;
}
.hero__fineprint strong {
  color: var(--gold);
  font-weight: 600;
}
.hero__scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  animation: scroll-cue-bob 2s ease-in-out infinite;
}
@keyframes scroll-cue-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* Eyebrow — used above H1, distinctive register signal */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--gold-dim);
}
.eyebrow--decorated {
  position: relative;
  padding-left: 24px;
}
.eyebrow--decorated::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Buttons — premium register (gold gradient on navy, ghost outline) */
.btn--primary {
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 50%, #b89548 100%);
  color: var(--navy);
  border: 1px solid var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 0 rgba(122, 31, 43, 0.5), 0 6px 18px rgba(201, 169, 97, 0.25);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 rgba(122, 31, 43, 0.5), 0 12px 28px rgba(201, 169, 97, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}

/* Tiers table */
.tier-table { width: 100%; border-collapse: collapse; }
.tier-table th, .tier-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.tier-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.tier-table .featured { background: rgba(200,16,46,0.06); }

/* Dashboard */
.dashboard-header { padding: 32px 0 24px; }
.dashboard-header h1 { font-size: 32px; margin-bottom: 4px; color: var(--text); }
.dashboard-header p { color: var(--muted); }

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

/* Footer */
footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  background: transparent;
}
footer a { color: var(--accent); }

/* Seller archetype cards (homepage) — dark surface, red-gold accent */
.archetype-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  height: 100%;
  color: var(--text);
}
.archetype-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 16, 46, 0.18);
  background: var(--surface-raised);
  text-decoration: none;
}
.archetype-card h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.archetype-card p { color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.archetype-promise {
  font-size: 13px;
  color: var(--text);
  background: rgba(200, 16, 46, 0.08);
  border-left: 3px solid var(--accent);
  padding: 10px 12px;
  margin: 14px 0 12px;
  border-radius: 0 4px 4px 0;
}
.archetype-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
  text-decoration: none;
}
.archetype-card:hover .archetype-cta { color: var(--accent-hover); text-decoration: none; }

/* Seller-situation pill on listing_detail / results */
.situation-pill {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.situation-pill.situation-probate      { border-left-color: #a48fd6; color: #d4c9f0; }
.situation-pill.situation-relocating   { border-left-color: #4a8fbf; color: #93c5e8; }
.situation-pill.situation-divorce      { border-left-color: #c95a5a; color: #f0a5a5; }
.situation-pill.situation-downsizing   { border-left-color: #5a8f5a; color: #a8d4a8; }
.situation-pill.situation-chain_break  { border-left-color: #d4a843; color: #f3d28b; }
.situation-pill.situation-developer    { border-left-color: #b06ab0; color: #e0b0e0; }

/* Inline link colour — keep red-gold */
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }


/* ===========================================================
   Homepage: trust-strip (3 numbers in a row, above the fold)
   =========================================================== */
.trust-strip {
  background: var(--surface);
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.trust-strip__item {
  padding: 0 16px;
  position: relative;
}
.trust-strip__item + .trust-strip__item::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}
.trust-strip__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.028em;
  margin-bottom: 8px;
}
.trust-strip__label {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .trust-strip__grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-strip__item + .trust-strip__item::before { display: none; }
}

/* ===========================================================
   Homepage: how-30s (3-step explainer, 30-second read)
   =========================================================== */
.how-30s {
  background: var(--bg);
  padding: 96px 0;
}
.how-30s__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.how-30s__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--cream);
  text-align: center;
  margin: 0 0 48px;
}
.how-30s__steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "list bid"
    "finale finale";
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.how-30s__steps > .how-30s__step:nth-child(1) { grid-area: list; }
.how-30s__steps > .how-30s__step:nth-child(2) { grid-area: bid; }
.how-30s__steps > .how-30s__step:nth-child(3) { grid-area: finale; }
.how-30s__step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-30s__step--finale {
  background: linear-gradient(135deg, var(--navy) 0%, rgba(201,169,97,0.08) 100%);
  border-color: var(--gold);
  padding: 48px 40px;
}
.how-30s__finale-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.how-30s__finale-stat {
  border-left: 1px solid var(--border);
  padding-left: 32px;
  text-align: left;
}
.how-30s__finale-cta {
  margin-top: 16px;
}
.how-30s__stat {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.04em;
  margin-top: 8px;
}
.how-30s__step--finale .how-30s__stat { color: var(--gold); }
.how-30s__stat-unit {
  font-size: 0.55em;
  margin-left: 4px;
  font-weight: 600;
}
.how-30s__stat-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 6px;
}
.how-30s__num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: -0.028em;
}
.how-30s__head {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.how-30s__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}
@media (max-width: 880px) {
  .how-30s__steps { grid-template-columns: 1fr; grid-template-areas: "list" "bid" "finale"; }
  .how-30s__step--finale { padding: 32px 24px; }
  .how-30s__finale-grid { grid-template-columns: 1fr; gap: 24px; }
  .how-30s__finale-stat { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .how-30s__stat { font-size: 48px; }
}

/* ===========================================================
   Homepage: cta-split (two side-by-side panels)
   =========================================================== */
.cta-split {
  background: var(--navy);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.cta-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.cta-split__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}
.cta-split__card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.4);
  text-decoration: none;
}
.cta-split__card .eyebrow {
  margin-bottom: 16px;
}
.cta-split__head {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 12px;
  letter-spacing: -0.028em;
  line-height: 1.2;
}
.cta-split__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 20px;
}
.cta-split__link {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.cta-split__card:hover .cta-split__link {
  text-decoration: underline;
}
@media (max-width: 880px) {
  .cta-split__grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Depth pages: depth-header (clean, no photo, fast)
   Used on /for-sellers and /for-buyers
   =========================================================== */
.depth-header {
  background: var(--bg);
  padding: 96px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.depth-header .eyebrow {
  margin-bottom: 24px;
}
.depth-header__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--cream);
  margin: 0 auto 24px;
  max-width: 800px;
}
.depth-header__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 40px;
}
.depth-header__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================================================
   Shared section-title + section-sub
   =========================================================== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--cream);
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.1;
}
.section--cream .section-title {
  color: var(--navy);
}
.section-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--text-dim);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section--cream .section-sub {
  color: #3a3320;
}

/* ===========================================================
   Seller depth: archetypes (6 named situations) — bento v2
   =========================================================== */
.archetypes {
  background: var(--navy);
  padding: 96px 0;
}
/* 2026-07-11 v2: header goes side-by-side (text left, counter right)
   instead of stacked. Breaks the vertical-rhythm monotony. */
.archetypes__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  margin-bottom: 48px;
  max-width: 1200px;
}
.archetypes__intro-text { max-width: 720px; }
.archetypes__intro-text .section-title {
  text-align: left;
  margin-bottom: 16px;
}
.archetypes__intro-text .section-sub {
  text-align: left;
  margin: 0;
}
.archetypes__counter {
  border-left: 1px solid var(--border);
  padding: 8px 0 8px 32px;
  min-width: 200px;
}
.archetypes__counter-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.04em;
}
.archetypes__counter-label {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
  margin-top: 8px;
  max-width: 220px;
}
/* 2026-07-11 v2: bento — 1 wide featured (Probate) + 5 standard.
   Asymmetric emphasis where it matters (most emotional weight). */
.archetypes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "featured featured relocating"
    "divorce   downsizing chain"
    "developer developer developer";
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.archetype-card--featured {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(201,169,97,0.08) 100%);
  border-color: var(--gold);
}
.archetype-card--featured .archetype-card__head {
  font-size: 28px;
}
.archetype-card--featured .archetype-card__body {
  font-size: 16px;
  line-height: 1.65;
  max-width: 560px;
}
/* Grid-area assignment via :nth-child so HTML order matches visual layout. */
.archetypes__grid > .archetype-card:nth-child(1) { grid-area: featured; }
.archetypes__grid > .archetype-card:nth-child(2) { grid-area: relocating; }
.archetypes__grid > .archetype-card:nth-child(3) { grid-area: divorce; }
.archetypes__grid > .archetype-card:nth-child(4) { grid-area: downsizing; }
.archetypes__grid > .archetype-card:nth-child(5) { grid-area: chain; }
.archetypes__grid > .archetype-card:nth-child(6) { grid-area: developer; }
@media (max-width: 980px) {
  .archetypes__intro { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .archetypes__counter {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 24px 0 0 0;
  }
  .archetypes__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "featured"
      "relocating"
      "divorce"
      "downsizing"
      "chain"
      "developer";
  }
}
.archetype-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.archetype-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.4);
  text-decoration: none;
}
.archetype-card__icon {
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 0;
  transition: color 200ms ease, transform 200ms ease;
}
.archetype-card__icon svg {
  width: 32px;
  height: 32px;
  display: block;
}
.archetype-card:hover .archetype-card__icon {
  color: var(--gold-hover);
  transform: translateY(-2px);
}
.archetype-card__head {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.archetype-card__body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  margin: 0 0 12px;
}
.archetype-card__timeline {
  font-size: 13px;
  color: var(--gold);
  margin: 0 0 6px;
  line-height: 1.4;
}
.archetype-card__match {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.4;
}
.archetype-card__cta {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
}
.archetype-card:hover .archetype-card__cta {
  text-decoration: underline;
}

/* ===========================================================
   Seller depth: deposit-mechanic (the 48h rule)
   =========================================================== */
.deposit-mechanic {
  background: var(--surface);
  padding: 96px 0;
}
.deposit-mechanic__split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto 32px;
  align-items: stretch;
}
.deposit-mechanic__hero {
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.deposit-mechanic__stat {
  text-align: center;
}
.deposit-mechanic__stat-num {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.04em;
}
.deposit-mechanic__stat-num--accent { color: var(--gold); }
.deposit-mechanic__stat-unit {
  font-size: 0.55em;
  font-weight: 600;
  margin-left: 4px;
  letter-spacing: -0.02em;
}
.deposit-mechanic__stat-label {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 12px;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}
.deposit-mechanic__outcomes {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.deposit-mechanic__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
}
.deposit-mechanic__card--positive {
  background: linear-gradient(135deg, var(--bg) 0%, rgba(16,200,100,0.06) 100%);
  border-color: rgba(16,200,100,0.4);
}
.deposit-mechanic__card--warning {
  background: linear-gradient(135deg, var(--bg) 0%, rgba(229,140,70,0.06) 100%);
  border-color: rgba(229,140,70,0.4);
}
.deposit-mechanic__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 16px;
}
.deposit-mechanic__list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
.deposit-mechanic__list li {
  padding: 6px 0 6px 28px;
  position: relative;
}
.deposit-mechanic__check {
  position: absolute;
  left: 0;
  color: #6ee7a3;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}
.deposit-mechanic__cross {
  position: absolute;
  left: 0;
  color: #ff8a4c;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}
.deposit-mechanic__legal {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .deposit-mechanic__split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .deposit-mechanic__hero { padding: 32px 24px; }
  .deposit-mechanic__stat-num { font-size: 64px; }
}

/* ===========================================================
   Seller depth: comparison-table
   =========================================================== */
.comparison-table {
  background: var(--bg);
  padding: 96px 0;
}
.comparison-table .tier-table {
  margin-top: 24px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.comparison-table .tier-table td:first-child {
  background: var(--bg);
}
.comparison-table .tier-table tr:nth-child(even) td {
  background: rgba(201, 169, 97, 0.04);
}
.tier-table tr:nth-child(even) td.tier-table__accent {
  background: var(--gold-dim);
}
.tier-table .tier-table__accent {
  background: rgba(201, 169, 97, 0.06);
}
.tier-table .tier-table__head-accent {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 12px;
}
.comparison-table__legal {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  max-width: 800px;
  margin: 24px auto 0;
}

/* ===========================================================
   Shared: faq (collapsible details, used on depth pages)
   =========================================================== */
.faq {
  background: var(--navy);
  padding: 96px 0;
}
/* 2026-07-11 v2: when faq is in 2-col mode, split items across two columns.
   Default (1-col) behavior unchanged. */
.faq--cols-2 .faq__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.faq--cols-2 .faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 0;
  transition: border-color 150ms ease;
}
.faq--cols-2 .faq-item[open] {
  border-color: var(--gold);
}
@media (max-width: 720px) {
  .faq--cols-2 .faq__items { grid-template-columns: 1fr; }
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item summary:hover {
  background: rgba(201, 169, 97, 0.06);
}
.faq-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  padding: 0 24px 24px;
  margin: 0;
}

/* ===========================================================
   Buyer depth: how-full (6-step explainer)
   =========================================================== */
.how-full {
  background: var(--navy);
  padding: 96px 0;
}
.how-full__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.how-full__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 32px 32px 32px 24px;
}
.how-full__num {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.028em;
}
.how-full__head {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.how-full__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
}
@media (max-width: 640px) {
  .how-full__step {
    grid-template-columns: 60px 1fr;
    gap: 16px;
    padding: 20px;
  }
  .how-full__num { font-size: 28px; }
}

/* ===========================================================
   Buyer depth: financial-types (4 cards)
   =========================================================== */
.financial-types {
  background: var(--surface);
  padding: 96px 0;
}
/* 2026-07-11 v2: bento — featured (cash) spans full width on top with stat,
   then 3 equal cards below. Asymmetric emphasis on the most common type. */
.financial-types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "featured featured featured"
    "vf       bridge    jv";
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.financial-types__grid > .financial-types__card:nth-child(1) { grid-area: featured; }
.financial-types__grid > .financial-types__card:nth-child(2) { grid-area: vf; }
.financial-types__grid > .financial-types__card:nth-child(3) { grid-area: bridge; }
.financial-types__grid > .financial-types__card:nth-child(4) { grid-area: jv; }
.financial-types__card--featured {
  background: linear-gradient(135deg, var(--bg) 0%, rgba(16,200,100,0.08) 100%);
  border-color: rgba(16,200,100,0.4);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.financial-types__card--featured .badge { margin-bottom: 0; }
.financial-types__stat {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #6ee7a3;
  letter-spacing: -0.02em;
  text-align: right;
  padding-left: 24px;
  border-left: 1px solid rgba(16,200,100,0.3);
}
@media (max-width: 900px) {
  .financial-types__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "featured"
      "vf"
      "bridge"
      "jv";
  }
  .financial-types__card--featured {
    grid-template-columns: 1fr;
  }
  .financial-types__stat {
    text-align: left;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(16,200,100,0.3);
    padding-top: 16px;
  }
}
.financial-types__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
}
.financial-types__card .badge {
  margin-bottom: 16px;
}
.financial-types__head {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.financial-types__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.financial-types__when {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .financial-types__grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Buyer depth: fees (3 cards + worked example)
   =========================================================== */
.fees {
  background: var(--navy);
  padding: 96px 0;
}
.fees__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.fees__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}
.fees__card--featured {
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.08) 0%, var(--surface) 100%);
}
.fees__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 16px;
}
.fees__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.028em;
  margin: 0 0 16px;
}
.fees__card--featured .fees__num {
  color: var(--gold);
}
.fees__body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  margin: 0;
}
.fees__worked-example {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 24px 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}
.fees__worked-example strong { color: var(--gold); }
@media (max-width: 720px) {
  .fees__grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Shared: cta-final (depth pages)
   =========================================================== */
.cta-final {
  background: var(--navy);
  padding: 96px 0;
  text-align: center;
  border-top: 4px solid var(--gold);
}
.cta-final__head {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--cream);
  margin: 0 0 16px;
}
.cta-final__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(244, 236, 216, 0.75);
  margin: 0 0 32px;
}
.cta-final__legal {
  font-size: 13px;
  color: var(--muted);
  margin: 24px 0 0;
}

/* ===========================================================
   Update footer for the new nav structure (handled in base.html)
   =========================================================== */
/* ============================================================
   Slice 14.6+ (2026-07-08) — Footer + Legal Doc Styles
   ============================================================ */

/* ===========================================================
   Site footer — 5-column categorized layout
   =========================================================== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 96px;
  font-size: 14px;
  color: var(--text-dim);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.site-footer__col {
  min-width: 0;
}
.site-footer__col--brand {
  padding-right: 24px;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.site-footer__brand span {
  color: var(--cream);
}
.site-footer__tagline {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 16px;
  max-width: 280px;
}
.site-footer__contact {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.site-footer__contact a {
  color: var(--gold);
}
.site-footer__head {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__list li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.site-footer__list a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}
.site-footer__list a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}
.site-footer__bottom p {
  margin: 0;
  line-height: 1.5;
}
.site-footer__regulatory {
  font-style: italic;
  text-align: right;
}

@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .site-footer__col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}
@media (max-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__bottom {
    flex-direction: column;
  }
  .site-footer__regulatory {
    text-align: left;
  }
}

/* ===========================================================
   Legal / Policy / Status page styles
   Used by /terms, /privacy, /cookies, /buyer-agreement, etc.
   =========================================================== */
.legal-doc {
  background: var(--bg);
  padding: 64px 0 96px;
}
.legal-doc h2.legal-doc__h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal-doc h2.legal-doc__h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.legal-doc h3.legal-doc__h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
  margin: 28px 0 10px;
  letter-spacing: -0.01em;
}
.legal-doc p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0 0 14px;
}
.legal-doc ul {
  padding-left: 22px;
  margin: 0 0 16px;
}
.legal-doc ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.legal-doc a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-doc a:hover {
  color: var(--gold-hover);
}
.legal-doc code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--gold);
  border: 1px solid var(--border);
}
.legal-doc__table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
}
.legal-doc__table th,
.legal-doc__table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  vertical-align: top;
}
.legal-doc__table th {
  background: var(--bg);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.legal-doc__table tr:last-child td {
  border-bottom: none;
}
.legal-doc__table tr:nth-child(even) td {
  background: rgba(201, 169, 97, 0.04);
}
/* ===========================================================
   Slice 14.6+ (2026-07-08): mobile grid collapse for dynamic pages.
   Listing detail has two `1fr 360px` grids (header + main).
   Seller dashboard has `1fr 1fr` stats.
   These were breaking at <720px viewport — content overflowed.
   =========================================================== */

/* Listing detail header grid: address + countdown card.
   Default desktop: 1fr 360px. Mobile: stack. */
.listing-header-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  margin-bottom: 32px;
  align-items: start;
}
.listing-main-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 720px) {
  .listing-header-grid,
  .listing-main-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .listing-header-grid > .card,
  .listing-main-grid > .card {
    margin-bottom: 0;
  }
}

/* Seller dashboard stats grid: 1fr 1fr → 1fr at mobile. */
.seller-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.seller-listing-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
}
@media (max-width: 720px) {
  .seller-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  .seller-listing-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Listing detail mobile bid form padding */
@media (max-width: 720px) {
  .bid-form-card {
    padding: 20px 16px !important;
  }
  .bid-form-card input,
  .bid-form-card select,
  .bid-form-card button {
    width: 100%;
    font-size: 16px;  /* 16px prevents iOS Safari auto-zoom on focus */
  }
}

/* Footer column flow already handles ≤640px in footer CSS */


/* ─── Hero lead-capture form (2026-07-10) ──────────────────────────── */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-lead {
  margin-top: 28px;
  max-width: 560px;
  padding: 18px 18px 14px;
  border-radius: 12px;
  background: rgba(10, 22, 40, 0.62);
  border: 1px solid rgba(244, 236, 216, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-lead__intro {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--cream, #f4ecd8);
}
.hero-lead__intro strong { color: var(--gold, #c9a961); }
.hero-lead__role {
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-lead__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(244, 236, 216, 0.35);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--cream, #f4ecd8);
  cursor: pointer;
  user-select: none;
  background: rgba(244, 236, 216, 0.04);
}
.hero-lead__pill input[type="radio"] {
  margin: 0;
  accent-color: var(--gold, #c9a961);
}
.hero-lead__pill:has(input:checked),
.hero-lead__pill input:checked + span {
  border-color: var(--gold, #c9a961);
  background: rgba(201, 169, 97, 0.18);
}
.hero-lead__inputrow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-lead__inputrow input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(244, 236, 216, 0.35);
  background: rgba(244, 236, 216, 0.05);
  color: var(--cream, #f4ecd8);
  font-size: 1rem;
  font-family: inherit;
}
.hero-lead__inputrow input[type="email"]::placeholder {
  color: rgba(244, 236, 216, 0.55);
}
.hero-lead__inputrow input[type="email"]:focus {
  outline: 2px solid var(--gold, #c9a961);
  outline-offset: 2px;
  border-color: var(--gold, #c9a961);
}
.hero-lead__status {
  margin: 8px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: rgba(244, 236, 216, 0.85);
}
.hero-lead__status[data-state="ok"]   { color: #8be78b; }
.hero-lead__status[data-state="err"]  { color: #ff9c9c; }
.hero-lead__status[data-state="pending"] { color: rgba(244, 236, 216, 0.7); }
.hero-lead__fineprint {
  margin: 8px 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(244, 236, 216, 0.65);
}
.hero-lead__fineprint a { color: var(--gold, #c9a961); }

@media (max-width: 520px) {
  .hero-lead__inputrow { flex-direction: column; }
  .hero-lead__inputrow button { width: 100%; }
}

/* ============================================================
   v2 polish (2026-07-10): How-it-works card variation
   ai-slop-detect must-have #16 — per-item card uniqueness.
   Card 02 gets a brass accent rule, card 03 gets a top hairline
   + serif check mark. Card 01 keeps the strong numeral.
   ============================================================ */


/* Card 01 — bold the numeral a little more */
.how-30s__step:first-child .how-30s__num {
  font-size: 38px;
}

/* Hover lift on every step card (motion-forge micro-interaction) */
.how-30s__step {
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.how-30s__step:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 169, 97, 0.4);  /* Slightly more visible, but still subtle */
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.35);
}


/* ============================================================
   v2 polish (2026-07-10): Motion bundle
   animation-forge: squash-stretch on press, scroll reveal,
   subtle CTA pulse. All honor prefers-reduced-motion.
   ============================================================ */

/* Squash-and-stretch on the primary CTAs (animation-forge Disney #1) */
.btn-accent, .btn-primary {
  transition: background 200ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 120ms cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-accent:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.35);
}
.btn-accent:active, .btn-primary:active {
  /* preserve volume by inverse scaling — never uniform scale() */
  transform: scaleY(0.95) scaleX(1.02);
  transition-duration: 90ms;
}

/* Hero CTA — subtle brass pulse to catch the eye (anticipation) */
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.0); }
  50%      { box-shadow: 0 0 0 8px rgba(201, 169, 97, 0.18); }
}
.hero__cta .btn-accent:first-child {
  animation: cta-pulse 4s ease-in-out infinite;
  animation-delay: 2s;  /* let the page settle first */
}

/* Scroll reveal — modern IO pattern, fire-once (motion-forge micro-interactions) */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Honor user preference — reduce, don't remove (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   v2 polish (2026-07-10): Auction-timeline illustration
   heritage legal aesthetic — navy card, brass rail, mono days,
   serif sprint-final label.
   ============================================================ */
.auction-timeline-wrap {
  max-width: 1120px;
  margin: 80px auto 120px;
  padding: 0 24px;
}
/* Editorial 4-phase auction timeline */
.auction-timeline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 56px 48px;
}
.at-header { margin-bottom: 40px; }
.at-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.at-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.2;
  color: var(--cream);
  margin: 0;
  max-width: 720px;
}
.at-phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;  /* hairline separators between cards */
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  background: var(--border);  /* shows through the gap as hairline */
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.at-phase {
  background: var(--surface);
  padding: 32px 24px;
  position: relative;
}
.at-phase-days {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.at-phase-head {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--cream);
  margin: 0 0 12px;
  line-height: 1.2;
}
.at-phase-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}
.at-phase--sprint .at-phase-days { color: var(--gold); font-weight: 700; }
.at-phase--sprint .at-phase-head { color: var(--gold); }
.at-footnote {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.at-key {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.at-key--accent { color: var(--gold); font-weight: 600; }

@media (max-width: 980px) {
  .auction-timeline { padding: 40px 28px; }
  .at-phases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .auction-timeline { padding: 32px 20px; }
  .at-phases { grid-template-columns: 1fr; }
  .at-footnote { gap: 16px; flex-direction: column; }
}
@media (max-width: 720px) {
    .auction-timeline-wrap { margin-top: 32px; padding: 0 16px; }
  }


/* ===========================================================
   How It Works page — v2 layout (2026-07-11)
   - 3-stage grid (replaces stacked H3/p)
   - cost table + side note
   - sprint comparison panels (most auctions vs Rapideal)
   =========================================================== */
.how-3stage-wrap__title,
.how-sprint__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--cream);
  margin: 0 0 16px;
}
.how-3stage-wrap__sub {
  text-align: center;
  font-size: 16px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.how-3stage {
  list-style: none;
  padding: 0;
  margin: 0 0 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how-3stage__step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.how-3stage__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.how-3stage__head {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.01em;
}
.how-3stage__body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
}
.how-3stage__stat {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.04em;
  margin: 0;
}
.how-3stage__stat-unit {
  font-size: 0.6em;
  margin-left: 4px;
  font-weight: 600;
}
.how-3stage__stat-label {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 4px 0 0;
}
/* Cost table + side note — table left, note right on desktop */
.how-cost {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 64px;
}
.how-cost__note {
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.how-cost__note-icon { color: var(--gold); padding-top: 2px; }
.how-cost__note-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}
.how-cost__note-body a { color: var(--gold); }
/* Sprint comparison: 2-column "Most auctions" vs "Rapideal" */
.how-sprint {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.how-sprint__panel {
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-sprint__panel--usual {
  background: var(--surface);
  border: 1px solid var(--border);
  opacity: 0.85;
}
.how-sprint__panel--rapideal {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(201,169,97,0.1) 100%);
  border: 1px solid var(--gold);
}
.how-sprint__panel-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}
.how-sprint__panel--rapideal .how-sprint__panel-label { color: var(--gold); }
.how-sprint__panel-head {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--cream);
  margin: 0;
}
.how-sprint__panel-foot {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
@media (max-width: 900px) {
  .how-3stage { grid-template-columns: 1fr; }
  .how-cost { grid-template-columns: 1fr; gap: 24px; }
  .how-sprint { grid-template-columns: 1fr; }
}



/* ─── Full-width page hero ───────────────────────────────────────────────
   Used by /for-sellers, /for-buyers, /membership, /pricing, /how-it-works,
   /about, /contact. Background image edge-to-edge with a dark navy scrim,
   content centred on top. Per diaspora-disruptors playbook: full-bleed,
   responsive srcset, dark scrim for text contrast. */

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 24px 96px;
  color: #fff;
  background-color: #0a1628;  /* fallback if image fails */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 22, 40, 0.55) 0%,
    rgba(10, 22, 40, 0.78) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(201, 169, 97, 0.08);
}

.page-hero__title {
  margin: 0 0 24px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.page-hero__title .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
}

.page-hero__sub {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.page-hero__fineprint {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}

.page-hero__fineprint strong { color: #fff; }

@media (max-width: 600px) {
  .page-hero { padding: 64px 16px 80px; min-height: 380px; }
}


/* Full-bleed escape — robust against .container parent constraint.
   Uses position:absolute + top/left/right to fill the viewport, then
   z-indexes the inner content above. This avoids the parent's max-width entirely. */
.page-hero,
.hero-rolling {
  position: relative;
  width: 100%;
  max-width: none;
}

/* Modern browsers: use viewport-relative width on the children directly.
   The trick is the parent must allow overflow:visible and have width:auto. */
main.container > .page-hero,
main > .page-hero,
.page-hero {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}


@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-mobile-toggle { display: flex !important; }
  .hero-rolling__tape { margin-top: 32px; }
  .hero-rolling__head { font-size: clamp(32px, 9vw, 48px); }
  .hero-rolling__sub { font-size: 16px; }
}