/* ============================================================
   TextGopherRE — real-estate landing page.
   Bright, friendly, card-based — same feel as textgopher.com,
   in a brighter blue theme. Sans-serif. No motion.
   ============================================================ */

:root {
  --re-blue:       #1F6FE0;   /* bright brand blue */
  --re-blue-dark:  #1758B8;   /* hover / emphasis */
  --re-blue-deep:  #123A78;   /* headings on light */
  --re-blue-tint:  #E7F0FD;   /* light fills, tags, badges */
  --re-sky:        #F1F6FD;   /* light blue section background */
  --re-paper:      #FFFFFF;   /* cards */
  --re-cream:      #F8FAFC;   /* page background */
  --re-gold:       #C9A84C;   /* Ralph tie-in accent, used sparingly */
  --re-ink:        #1C2430;   /* body text */
  --re-ink-soft:   #5B6675;   /* secondary text */
  --re-line:       #E4E9F1;
  --re-success:    #2D7D46;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 6px rgba(28,36,48,.05), 0 14px 34px rgba(28,36,48,.08);
  --shadow-lift: 0 4px 10px rgba(28,36,48,.07), 0 24px 54px rgba(28,36,48,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--re-ink); background: var(--re-cream); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font); line-height: 1.12; letter-spacing: -0.022em; font-weight: 800; margin: 0 0 1rem; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; margin: 0 0 .5rem; }
p { margin: 0; }
a { color: var(--re-blue-dark); }
img, svg { max-width: 100%; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
:focus-visible { outline: 3px solid var(--re-blue); outline-offset: 2px; border-radius: 2px; }

/* ---------- buttons (pill, like the trades site) ---------- */
.btn {
  display: inline-block; font: inherit; font-weight: 700; text-decoration: none;
  padding: 0.75rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-blue { background: var(--re-blue); color: #fff; box-shadow: 0 3px 10px rgba(31,111,224,.28); }
.btn-blue:hover { background: var(--re-blue-dark); color: #fff; }
.btn-outline { border-color: var(--re-blue); color: var(--re-blue-dark); background: transparent; }
.btn-outline:hover { background: var(--re-blue-tint); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.1rem; }

/* ---------- cross-promo ribbon ---------- */
.crosspromo { background: var(--re-blue-tint); color: var(--re-blue-deep); font-size: 0.92rem; text-align: center; padding: 0.5rem 1rem; }
.crosspromo a { color: var(--re-blue-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(248,250,252,.94); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--re-line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.1rem; flex-wrap: wrap; padding: 0.5rem 1.25rem; }
.brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--re-ink); flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; background: var(--re-blue-tint); }
.brand-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name b { color: var(--re-blue); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { color: var(--re-ink-soft); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav-links a:hover { color: var(--re-ink); }
.nav-actions { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-actions .nav-link { color: var(--re-ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.nav-actions .nav-link:hover { color: var(--re-ink); }
.nav-actions .btn { padding: 0.5rem 1.1rem; font-size: 0.9rem; white-space: nowrap; }
.nav-actions a.btn-blue { color: #fff; }
@media (max-width: 760px){
  .nav-links { display: none; }
  .brand-name { font-size: 1.12rem; }
  .brand img { width: 34px; height: 34px; }
  .nav-actions { gap: 0.55rem; }
}

/* ---------- section scaffolding ---------- */
section { padding: 84px 0; }
.sec-cream { background: var(--re-cream); }
.sec-paper { background: var(--re-paper); }
.sec-sky { background: var(--re-sky); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 0.8125rem; font-weight: 800; color: var(--re-blue); margin-bottom: 0.75rem; }
.sec-title { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.5rem); color: var(--re-ink); }
.lead { font-size: 1.15rem; color: var(--re-ink-soft); max-width: 62ch; }

/* ============================================================
   HERO — bright
   ============================================================ */
.hero { background: linear-gradient(180deg, var(--re-sky) 0%, var(--re-cream) 100%); padding: 56px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--re-ink); }
.hero h1 .accent { color: var(--re-blue); }
.hero-sub { margin: 1.2rem 0 1.8rem; font-size: 1.2rem; color: var(--re-ink-soft); max-width: 46ch; }
.hero-cta { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.hero-cta .link { color: var(--re-blue-dark); font-weight: 700; text-decoration: none; }
.hero-cta .link:hover { text-decoration: underline; }
.hero-trust { margin-top: 1.4rem; font-size: 0.9rem; color: var(--re-ink-soft); }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-ralph { width: min(340px, 78%); filter: drop-shadow(0 18px 30px rgba(28,36,48,.18)); }

/* phone mock — light screen */
.phone { margin-top: -10px; width: 300px; max-width: 88%; background: #1C2430; border-radius: 26px; padding: 12px; box-shadow: var(--shadow-lift); }
.phone-head { text-align: center; color: rgba(255,255,255,.65); font-size: 0.78rem; padding: 6px 0 10px; }
.phone-head b { color: #fff; }
.thread { background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.sms { max-width: 84%; padding: 8px 12px; border-radius: 16px; font-size: 0.9rem; line-height: 1.35; }
.sms.in { align-self: flex-start; background: #EEF1F6; color: var(--re-ink); border-bottom-left-radius: 5px; }
.sms.out { align-self: flex-end; background: var(--re-blue); color: #fff; border-bottom-right-radius: 5px; }
@media (max-width: 900px){
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 40px 0 28px; }
.stat { background: var(--re-paper); border: 1px solid var(--re-line); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow); }
.stat .num { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; color: var(--re-blue-deep); line-height: 1; letter-spacing: -0.02em; }
.stat .num .unit { color: var(--re-blue); }
.stat .cap { margin-top: 0.5rem; font-size: 0.95rem; color: var(--re-ink-soft); }
.stat.hot .num { color: var(--re-success); }
.stat.hot .num .unit { color: var(--re-success); }
@media (max-width: 820px){ .stats { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.step { text-align: center; background: var(--re-paper); border: 1px solid var(--re-line); border-radius: var(--radius); padding: 30px 22px; box-shadow: var(--shadow); }
.step .badge { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--re-blue-tint); display: grid; place-items: center; }
.step .badge svg { width: 38px; height: 38px; }
.step .n { display: inline-block; color: var(--re-blue); font-weight: 800; font-size: .82rem; letter-spacing: .1em; margin-bottom: .35rem; }
.step h3 { color: var(--re-ink); }
.step p { color: var(--re-ink-soft); font-size: 1rem; }
.keepnum { margin-top: 36px; text-align: center; color: var(--re-ink-soft); }
.keepnum b { color: var(--re-blue-deep); }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr; } }

/* ============================================================
   BUYER / SELLER COLUMNS
   ============================================================ */
.qual { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.qcol { background: var(--re-paper); border: 1px solid var(--re-line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.qcol h3 { display: flex; align-items: center; gap: .6rem; }
.qcol .tag { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--re-blue-deep); background: var(--re-blue-tint); padding: .25rem .7rem; border-radius: 999px; }
.qcol ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.qcol li { position: relative; padding-left: 30px; color: var(--re-ink); }
.qcol li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--re-blue-tint); }
.qcol li::after { content: "✓"; position: absolute; left: 5px; top: 2px; color: var(--re-blue); font-weight: 800; font-size: .82rem; }
.qual-note { margin-top: 28px; text-align: center; color: var(--re-ink-soft); font-size: 1.05rem; }
.qual-note b { color: var(--re-blue-deep); }
@media (max-width: 760px){ .qual { grid-template-columns: 1fr; } }

/* ============================================================
   WORKS WHILE YOU SLEEP
   ============================================================ */
.sleep-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.sleep-grid .art { background: var(--re-paper); border: 1px solid var(--re-line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
@media (max-width: 820px){ .sleep-grid { grid-template-columns: 1fr; text-align: center; } }

/* ============================================================
   PRICING
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--re-paper); border: 1px solid var(--re-line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--re-blue); box-shadow: var(--shadow-lift); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--re-blue); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .8rem; border-radius: 999px; }
.plan h3 { color: var(--re-ink); }
.plan .price { font-size: 2.5rem; font-weight: 800; color: var(--re-blue-deep); letter-spacing: -0.02em; margin: .2rem 0 0; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--re-ink-soft); }
.plan .blurb { color: var(--re-ink-soft); margin: .2rem 0 1.2rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; font-size: .96rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--re-blue); font-weight: 800; }
.plan .btn { margin-top: auto; text-align: center; }
.founding { margin-top: 28px; text-align: center; background: var(--re-blue-tint); border: 1px dashed var(--re-blue); border-radius: var(--radius); padding: 16px; color: var(--re-blue-deep); }
.pricing-value { margin-top: 20px; text-align: center; font-size: 1.1rem; color: var(--re-blue-deep); font-weight: 700; }
@media (max-width: 860px){ .plans { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.tcard { background: var(--re-paper); border: 1px solid var(--re-line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.tcard .stars { color: var(--re-gold); letter-spacing: 2px; }
.tcard .quote { margin: 12px 0 18px; font-size: 1.08rem; color: var(--re-ink); }
.tcard .who { font-weight: 800; color: var(--re-blue-deep); }
.tcard .who span { display: block; font-weight: 400; font-size: .88rem; color: var(--re-ink-soft); }
.placeholder-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--re-ink-soft); background: var(--re-cream); border: 1px dashed var(--re-line); padding: .15rem .5rem; border-radius: 6px; margin-bottom: 10px; }
@media (max-width: 860px){ .cards { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.finalcta { background: var(--re-blue); text-align: center; }
.finalcta h2, .finalcta p { color: #fff; }
.finalcta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.finalcta p { opacity: .92; margin: 1rem auto 2rem; font-size: 1.15rem; max-width: 44ch; }
.finalcta .btn-white { background: #fff; color: var(--re-blue-dark); }
.finalcta .btn-white:hover { background: var(--re-cream); }
.finalcta .existing { margin-top: 1.4rem; font-size: 0.95rem; opacity: .9; }
.finalcta .existing a { color: #fff; font-weight: 800; text-decoration: underline; }

.footer { background: var(--re-paper); border-top: 1px solid var(--re-line); color: var(--re-ink-soft); padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer .brand { color: var(--re-ink); }
.footer .brand img { width: 36px; height: 36px; }
.footer a { color: var(--re-ink-soft); text-decoration: none; margin-right: 18px; font-weight: 600; }
.footer a:hover { color: var(--re-blue-dark); }
.footer .fine { width: 100%; border-top: 1px solid var(--re-line); margin-top: 22px; padding-top: 18px; font-size: 0.85rem; color: var(--re-ink-soft); }
.footer .fine a { color: var(--re-blue-dark); }

@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }
