/* WhyFSBO.com — FSBO Pro marketing demo
   Brand tokens sampled directly from fsbo.com: Mulish font, gold #D5A915,
   and fsbo.com's own light/dark theme palette (toggled the same way). */

@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

:root{
  /* brand constants — same in both themes */
  --gold: #D5A915;
  --gold-hover: #c29a13;
  --gold-soft: rgba(213,169,21,0.12);
  --ink: #1A1A1A;
  --radius-pill: 9999px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --max: 1160px;

  /* light theme (default) — sampled from fsbo.com's own light mode */
  --bg-page: #F3F5F7;
  --bg-surface: #FFFFFF;
  --bg-surface-2: #FFFFFF;
  --text-heading: #0E1525;
  --text-body: #1E2A38;
  --text-muted: #56606B;
  --line: #E5E7EB;
  --shadow-card: 0 10px 30px rgba(20,23,26,0.08);
  --glow: rgba(213,169,21,0.16);
}

:root[data-theme="dark"]{
  /* dark theme — true neutral gray/black, matching fsbo.com's footer
     (their header/body carry a faint blue undertone that reads fine on
     their own page, but compounds into a navy cast once stacked across
     this many surfaces, so we neutralize it here instead). */
  --bg-page: #171717;
  --bg-surface: #1E1E1E;
  --bg-surface-2: #2B2B2B;
  --text-heading: #EDEDED;
  --text-body: #E4E4E4;
  --text-muted: #A6A6A6;
  --line: #333333;
  --shadow-card: 0 10px 30px rgba(0,0,0,0.35);
  --glow: rgba(213,169,21,0.10);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: Mulish, "Mulish Fallback", ui-sans-serif, system-ui, sans-serif;
  background: var(--bg-page);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  transition: background-color .2s ease, color .2s ease;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ margin:0; font-weight:800; letter-spacing:-0.01em; color: var(--text-heading); }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.wrap{ max-width: var(--max); margin:0 auto; padding: 0 24px; }
.section-label{ font-size:12.5px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; color:var(--gold); }
.section-head{ max-width:680px; margin:0 auto 48px; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); margin-top:10px; }
.section-head p{ margin-top:14px; font-size:17px; line-height:1.6; color:var(--text-muted); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-weight:700; font-size:15px; border:1px solid transparent; transition: all .15s ease;
  white-space:nowrap;
}
.btn-gold{ background: var(--gold); color: var(--ink); }
.btn-gold:hover{ background: var(--gold-hover); transform: translateY(-1px); }
/* Equal-weight partner to .btn-gold for paired "which are you" CTAs — solid, not
   transparent, so neither option reads as more premium than the other. */
.btn-outline{ background: var(--text-heading); border-color: var(--text-heading); color: var(--bg-page); }
.btn-outline:hover{ opacity: 0.88; transform: translateY(-1px); }
.btn-outline-dark{ background: transparent; border-color: var(--line); color: var(--text-body); }
.btn-outline-dark:hover{ border-color: var(--gold); color: var(--gold); }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 18px; font-size:13.5px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line);
  transition: background-color .2s ease, border-color .2s ease;
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand .logo-img{ height:32px; width:auto; max-width:none; flex-shrink:0; }
.logo-light{ display: block; }
.logo-dark{ display: none; }
:root[data-theme="dark"] .logo-light{ display: none; }
:root[data-theme="dark"] .logo-dark{ display: block; }
.brand-sub{ font-size:11px; color: var(--text-muted); font-weight:600; letter-spacing:.02em; margin-left:2px; display:none; }
@media (min-width: 1160px){ .brand-sub{ display:inline; } }

.nav-links{ display:flex; align-items:center; gap:22px; flex-shrink:0; }
.nav-links a{
  font-size:14px; font-weight:600; color: var(--text-body);
  opacity:0.85; white-space:nowrap;
}
.nav-links a:hover{ opacity:1; color: var(--gold); }
.nav-cta{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.nav-login{ font-size:14.5px; font-weight:700; color: var(--text-body); white-space:nowrap; }
.nav-login:hover{ color: var(--gold); }
.nav-burger{ display:none; background:none; border:0; color:var(--text-body); font-size:26px; }

.theme-toggle{
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line);
  background: transparent; color: var(--text-body); flex-shrink:0;
  transition: border-color .15s ease, color .15s ease;
}
.theme-toggle:hover{ border-color: var(--gold); color: var(--gold); }
.theme-toggle svg{ width:18px; height:18px; }
.theme-toggle .icon-sun{ display:none; }
.theme-toggle .icon-moon{ display:block; }
:root[data-theme="dark"] .theme-toggle .icon-sun{ display:block; }
:root[data-theme="dark"] .theme-toggle .icon-moon{ display:none; }

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background:
    radial-gradient(720px 420px at 15% -10%, var(--glow), transparent 60%),
    radial-gradient(640px 380px at 105% 10%, var(--glow), transparent 55%),
    var(--bg-page);
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero-inner{ position:relative; max-width: 780px; margin:0 auto; text-align:center; }
.hero h1{
  font-size: clamp(34px, 5.4vw, 56px);
  line-height:1.08;
}
.hero h1 .accent{ color: var(--gold); }
.hero p.lead{
  color: var(--text-muted); font-size:18px; line-height:1.65;
  max-width: 620px; margin: 22px auto 0;
}
.hero-ctas{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top:34px; }
.hero-fine{ margin-top:20px; font-size:13px; color: var(--text-muted); }
.hero-fine b{ color:var(--text-heading); }

/* ---------- Stats ---------- */
.stats{ background: var(--bg-surface); border-bottom:1px solid var(--line); padding: 44px 0; }
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.stat{ text-align:center; }
.stat .num{ font-size: clamp(26px,3vw,36px); font-weight:900; color: var(--gold); }
.stat .label{ margin-top:8px; font-size:14px; color: var(--text-muted); line-height:1.4; }

/* ---------- Audience tabs ---------- */
.audience{ padding: 96px 0; background: var(--bg-page); }
.tabbar{
  display:flex; justify-content:center; gap:8px; margin-bottom:44px;
  background: var(--bg-surface); border:1px solid var(--line); border-radius: var(--radius-pill);
  padding:6px; max-width:460px; margin-left:auto; margin-right:auto;
}
.tabbar button{
  flex:1; border:0; background:transparent; padding:12px 18px; border-radius: var(--radius-pill);
  font-weight:800; font-size:14.5px; color: var(--text-muted); transition: all .15s ease;
}
.tabbar button.active{ background: var(--gold); color: var(--ink); }

.tab-panel{ display:none; }
.tab-panel.active{ display:block; animation: fade .25s ease; }
@keyframes fade{ from{opacity:0; transform:translateY(4px);} to{opacity:1; transform:none;} }

.audience-grid{ display:grid; grid-template-columns: 1.1fr 1.4fr; gap:56px; align-items:start; }
@media (min-width: 921px){
  /* Feature list is much taller than the copy block, so pin the copy near
     the top instead of letting it center-float in the extra height. */
  .audience-copy{ position: sticky; top: 100px; }
}
.audience-copy .kicker{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.audience-copy .kicker .dot{ width:8px; height:8px; border-radius:50%; background:var(--gold); }
.audience-copy h3{ font-size: clamp(24px,2.6vw,32px); line-height:1.15; }
.audience-copy p{ margin-top:16px; color: var(--text-muted); font-size:16px; line-height:1.65; }
.audience-copy .btn{ margin-top:26px; }

.feature-list{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.feature-card{
  background: var(--bg-surface); border:1px solid var(--line); border-radius: var(--radius-md);
  padding:20px; transition: box-shadow .15s ease, transform .15s ease;
}
.feature-card:hover{ box-shadow: var(--shadow-card); transform: translateY(-2px); }
.feature-card .ico{
  width:38px; height:38px; border-radius:10px; background: var(--gold-soft);
  display:flex; align-items:center; justify-content:center; margin-bottom:12px;
  color: var(--gold);
}
.feature-card .ico svg{ width:20px; height:20px; }
.feature-card h4{ font-size:15.5px; font-weight:800; }
.feature-card p{ margin-top:8px; font-size:13.8px; line-height:1.55; color: var(--text-muted); }

.video-frame{
  position:relative; width:100%; padding-top:56.25%; border-radius: var(--radius-md);
  overflow:hidden; background:#000; box-shadow: var(--shadow-card);
}
.video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-frame .video-thumb{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  cursor:pointer; transition: transform .3s ease, filter .3s ease;
}
.video-frame:hover .video-thumb{ transform: scale(1.03); filter: brightness(0.85); }
.video-frame .video-play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:64px; height:64px; border-radius:50%;
  background: rgba(20,23,26,0.72); border:2px solid #fff; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:22px; padding-left:4px; cursor:pointer; transition: background .2s ease, transform .2s ease;
}
.video-frame:hover .video-play{ background: var(--gold); border-color: var(--gold); color: var(--ink); transform:translate(-50%,-50%) scale(1.06); }
.video-caption{ margin-top:10px; font-size:12.5px; color: var(--text-muted); }
.video-caption a{ color: var(--gold); font-weight:700; }

.video-placeholder{
  position:relative; width:100%; padding-top:56.25%; border-radius: var(--radius-md);
  border:2px dashed var(--line); background: var(--bg-surface);
  display:flex; align-items:center; justify-content:center;
}
.video-placeholder .inner{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:8px; text-align:center; padding:20px;
}
.video-placeholder .play{
  width:52px; height:52px; border-radius:50%; background: var(--gold-soft); border:1px solid rgba(213,169,21,0.4);
  display:flex; align-items:center; justify-content:center; font-size:20px; color:var(--gold);
}
.video-placeholder h5{ font-size:14px; font-weight:800; color:var(--text-heading); }
.video-placeholder p{ font-size:12.5px; color:var(--text-muted); max-width:260px; }

.official-video-block{ margin-bottom:32px; }

/* Stacked (not side-by-side): the parent column here is already the narrower
   half of a two-column tab layout, so splitting it into two more columns left
   the video squeezed into ~235px and vertically stranded next to much taller
   text. Full-width text, then a comfortably sized video underneath, reads
   cleanly at every viewport instead of only above ~1400px. */
.mini-explainer{
  grid-column: 1 / -1; margin-top:8px;
  background: var(--bg-surface-2); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding:24px;
}
.mini-explainer .mini-video{ margin-top:22px; max-width:440px; }
.mini-explainer h4{ font-size:16.5px; display:flex; align-items:center; gap:8px; }
.mini-explainer h4 .badge-sm{ background:var(--gold-soft); color:var(--gold); font-size:11px; font-weight:900; padding:3px 9px; border-radius:6px; letter-spacing:.03em; }
.mini-explainer ul{ margin-top:12px; display:flex; flex-direction:column; gap:8px; }
.mini-explainer li{ font-size:13.8px; line-height:1.55; color:var(--text-muted); display:flex; gap:8px; }
.mini-explainer li .chip{ color:var(--gold); font-weight:900; flex-shrink:0; }
.mini-explainer .fine{ margin-top:14px; font-size:11.5px; color:var(--text-muted); line-height:1.5; }

.perk-banner{
  margin-top:28px; display:flex; align-items:center; gap:14px;
  background: var(--ink); color:#fff; border-radius: var(--radius-md);
  padding:16px 20px; grid-column: 1 / -1;
}
.perk-banner .tag{
  background: var(--gold); color:var(--ink); font-weight:900; font-size:11.5px;
  padding:5px 10px; border-radius:6px; flex-shrink:0; letter-spacing:.03em;
}
.perk-banner p{ font-size:14px; line-height:1.5; color:#e9e9e9; }

/* ---------- How it works ---------- */
.how{ padding:96px 0; background:var(--bg-surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.steps{ display:grid; grid-template-columns: repeat(3,1fr); gap:28px; }
.step{ position:relative; padding:30px 24px; border:1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-page); }
.step .stepnum{
  width:42px; height:42px; border-radius:12px; background:var(--ink); color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-weight:900; font-size:18px; margin-bottom:18px;
}
.step h4{ font-size:18px; }
.step p{ margin-top:10px; color:var(--text-muted); font-size:14.5px; line-height:1.6; }

/* ---------- Pricing ---------- */
/* ---------- MyPlus Leads (third-party add-on) ---------- */
.myplus{ padding:56px 0; background: var(--bg-surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.myplus-card{ max-width:900px; margin:0 auto; }
.myplus-copy{ text-align:center; }
.myplus-copy h2{ font-size: clamp(24px,2.8vw,32px); margin-top:10px; }
.myplus-copy p{ margin-top:14px; font-size:15.5px; line-height:1.65; color:var(--text-muted); max-width:680px; margin-left:auto; margin-right:auto; }
.myplus-price{ margin-top:22px; font-size:20px; font-weight:900; color:var(--gold); }
.myplus-copy .btn{ margin-top:18px; }

.pricing{ padding:96px 0; background: var(--bg-page); }
.price-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; max-width:900px; margin:0 auto; }
.price-card{
  background: var(--bg-surface); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding:32px; display:flex; flex-direction:column;
}
.price-card .badge{
  align-self:flex-start; background: var(--gold); color:var(--ink); font-size:11.5px; font-weight:900;
  padding:5px 12px; border-radius: var(--radius-pill); margin-bottom:16px; letter-spacing:.03em;
}
.price-card h3{ font-size:21px; }
.price-card .price{ margin-top:14px; display:flex; align-items:baseline; gap:6px; }
.price-card .price .amt{ font-size:38px; font-weight:900; color:var(--text-heading); }
.price-card .price .per{ font-size:14px; color:var(--text-muted); }
.price-card .desc{ margin-top:10px; font-size:13.8px; color:var(--text-muted); line-height:1.55; }
.price-list{ margin:24px 0; display:flex; flex-direction:column; gap:12px; flex:1; }
.price-list li{ display:flex; gap:10px; font-size:14px; color:var(--text-body); line-height:1.5; }
.price-list li .check{ color:var(--gold); font-weight:900; flex-shrink:0; }
.price-note{ margin-top:18px; font-size:12px; color:var(--text-muted); text-align:center; }

.dual-license{
  max-width:900px; margin:22px auto 0;
  display:grid; grid-template-columns: 1.5fr 1fr; gap:28px; align-items:center;
  background: linear-gradient(135deg, var(--gold-soft), transparent 60%), var(--bg-surface);
  border:1px solid var(--gold); border-radius: var(--radius-lg);
  padding:28px 32px;
}
.dual-license-copy .badge{
  display:inline-block; background: var(--gold); color:var(--ink); font-size:11.5px; font-weight:900;
  padding:5px 12px; border-radius: var(--radius-pill); margin-bottom:14px; letter-spacing:.03em;
}
.dual-license-copy h3{ font-size:20px; line-height:1.25; }
.dual-license-copy p{ margin-top:10px; font-size:14.5px; line-height:1.6; color:var(--text-muted); }
.dual-license-price{ text-align:center; }
.dual-license-price .was{ font-size:12.5px; color:var(--text-muted); text-decoration:line-through; }
.dual-license-price .price{ margin-top:4px; display:flex; align-items:baseline; justify-content:center; gap:6px; }
.dual-license-price .price .amt{ font-size:34px; font-weight:900; color:var(--text-heading); }
.dual-license-price .price .per{ font-size:13px; color:var(--text-muted); }
.dual-license-price .btn{ margin-top:14px; }
.dual-license-existing{ margin-top:12px; font-size:11.5px; line-height:1.5; color:var(--text-muted); }

.referral-banner{
  max-width:900px; margin:22px auto 0; text-align:center;
  background: var(--bg-surface); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding:26px 32px;
}
.referral-banner .badge{
  display:inline-block; background: var(--gold-soft); color:var(--gold); font-size:11.5px; font-weight:900;
  padding:5px 12px; border-radius: var(--radius-pill); margin-bottom:14px; letter-spacing:.03em;
}
.referral-banner h3{ font-size:19px; }
.referral-banner p{ margin-top:10px; font-size:14.5px; line-height:1.6; color:var(--text-muted); max-width:640px; margin-left:auto; margin-right:auto; }

/* ---------- FAQ ---------- */
.faq{ padding:96px 0; background: var(--bg-surface); border-top:1px solid var(--line); }
.faq-list{ max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item{ border:1px solid var(--line); border-radius: var(--radius-md); overflow:hidden; background:var(--bg-page); }
.faq-q{
  width:100%; text-align:left; background:none; border:0; padding:20px 22px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-size:15.5px; font-weight:700; color:var(--text-heading);
}
.faq-q .plus{ font-size:20px; color:var(--gold); flex-shrink:0; transition: transform .2s ease; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .25s ease; }
.faq-a-inner{ padding: 0 22px 20px; font-size:14.5px; line-height:1.65; color:var(--text-muted); }

/* ---------- Final CTA ---------- */
.final-cta{ background: var(--bg-page); padding:88px 0; text-align:center; }
.final-cta p{ margin-top:14px; color:var(--text-muted); font-size:16px; max-width:560px; margin-left:auto; margin-right:auto; }
.final-cta .hero-ctas{ margin-top:30px; }
.final-cta .hero-fine{ margin-top:22px; }

/* ---------- Footer ---------- */
.site-footer{ background: #EFF3F5; padding:64px 0 28px; border-top:1px solid var(--line); }
:root[data-theme="dark"] .site-footer{ background: linear-gradient(#1A1A1A, #0A0A0A); }
.footer-grid{ display:grid; grid-template-columns: repeat(5,1fr); gap:32px; padding-bottom:40px; border-bottom:1px solid var(--line); }
.footer-brand{ grid-column: 1 / -1; margin-bottom:8px; }
.footer-brand .logo-img{ height:26px; margin-bottom:14px; }
.footer-brand p{ font-size:13.5px; color:var(--text-muted); line-height:1.6; max-width:280px; }
.footer-col h5{ font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--gold); margin-bottom:16px; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:14px; color:var(--text-muted); }
.footer-col a:hover{ color:var(--gold); }
.footer-bottom{ padding-top:26px; display:flex; justify-content:space-between; align-items:flex-start; gap:20px; flex-wrap:wrap; }
.footer-legalese{ font-size:11.5px; line-height:1.6; color:var(--text-muted); max-width:760px; }
.footer-copy{ font-size:12.5px; color:var(--text-muted); white-space:nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 920px){
  .nav-links{ display:none; }
  .nav-links.mobile-open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:76px; left:0; right:0;
    background: var(--bg-surface); border-bottom:1px solid var(--line);
    padding: 10px 24px 20px;
  }
  .nav-links.mobile-open a{ padding:12px 0; border-bottom:1px solid var(--line); }
  .nav-burger{ display:block; }
  .stats-grid{ grid-template-columns: repeat(2,1fr); }
  .audience-grid{ grid-template-columns: 1fr; }
  .feature-list{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns:1fr; }
  .price-grid{ grid-template-columns:1fr; }
  .dual-license{ grid-template-columns:1fr; text-align:center; }
  .dual-license-copy .badge{ margin-left:auto; margin-right:auto; }
  .footer-grid{ grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-bottom{ flex-direction:column; }
  .brand .logo-img{ height:26px; }
  .nav-cta{ gap:6px; }
  .nav-login{ display:none; }
  .nav-cta .btn-sm{ padding:9px 16px; font-size:13px; }
}
