/* =============================================================
   Redesigned /sell-my-house-in-lake-tahoe/  (templates/site/sell_rd.html)
   Page key 'sell'; docs/redesign/BRIEF.md, mockups/sell.dc.html.
   Loaded after static/css/redesign/rd.css. Every class is rds- prefixed,
   or scoped under .rds, so nothing here reaches another page.
   ============================================================= */

.rds p { margin: 0; }
.rds-sub { font-size: 16px; line-height: 1.6; color: var(--rd-muted); }
.rds-narrow { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.rds-narrow p, .rds-split p { font-size: 16px; line-height: 1.75; }
.rds-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.rds-split { display: flex; flex-wrap: wrap; gap: 36px 64px; align-items: flex-start; }
.rds-split > * { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rds-split--center { align-items: center; }
.rd-section .rd-h2 { margin: 0; }
.rds .rd-section > .rd-wrap > .rd-h2 + .rds-sub { margin-top: 10px; }
.rds b, .rds strong { color: var(--brand-primary); }
.rd-section--dark b, .rd-section--dark strong { color: var(--brand-base); }

/* ---------- 1. hero ---------- */
.rds-hero {
  background: var(--brand-primary) center/cover no-repeat;
  color: var(--brand-base);
  padding: clamp(20px, 4vw, 56px) 0 clamp(32px, 5vw, 72px);
}
.rds-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "head card" "facts card" "check card" "byline card";
  grid-template-rows: auto auto auto 1fr;
  column-gap: 64px; row-gap: 20px;
  align-items: start;
}
.rds-hero__head { grid-area: head; display: flex; flex-direction: column; gap: 14px; align-self: end; }
.rds-hero__facts { grid-area: facts; display: flex; flex-direction: column; gap: 4px; max-width: 560px; }
.rds-hero__byline { grid-area: byline; font-size: 13px; line-height: 1.6; color: var(--rd-on-dark-muted); max-width: 560px; }
.rds-card { grid-area: card; align-self: center; }
.rds-hero h1.rd-display { color: var(--brand-base); margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: 1.05; }
.rds-hero__lead { font-size: 18px; line-height: 1.55; color: var(--rd-on-dark); max-width: 540px; }
.rds-hero .rd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.rds-hero .rd-fact__num { font-size: 34px; }
.rds-hero .rd-fact__cap { font-size: 13px; }
.rds-hero__check { grid-area: check; justify-self: start; margin-top: -8px; }
.rds .rds-hero__check { color: var(--brand-warm); }

/* the white form card */
.rds-card {
  background: var(--brand-base); color: var(--brand-body);
  border-radius: var(--rd-radius-panel);
  padding: clamp(18px, 3vw, 32px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  display: flex; flex-direction: column; gap: 10px;
  scroll-margin-top: 16px; min-width: 0;
}
.rds-card .rd-eyebrow { margin: 0; }
.rds-card__title { margin: 0; font-family: var(--rd-serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--brand-primary); }
.rds-card__sub { font-size: 15px; line-height: 1.55; color: var(--rd-muted); }

/* The 3-box form partial brings its own base styles (public/_home_value_cta.html);
   these rules restyle it to the redesign: 48px inputs, 16px text, gold button. */
.rds-card .iv-form { max-width: none; margin: 4px 0 0; }
.rds-card .iv-fields { grid-template-columns: 1fr 1fr; gap: 12px; }
.rds-card .iv-field { font-size: 14px; color: var(--brand-primary); gap: 6px; }
.rds-card .iv-field input, .rds-card .iv-field select {
  min-height: var(--rd-input-h); padding: 0 14px; font-size: 16px;
  border: 1px solid var(--rd-input-line); border-radius: var(--rd-radius-btn); color: #0f172a;
}
.rds-card .iv-field input:focus { outline: 3px solid var(--brand-warm); outline-offset: 1px; border-color: var(--brand-primary); }
.rds-card .iv-submit {
  margin-top: 14px; min-height: 52px; padding: 0 20px;
  background: var(--brand-warm); color: var(--brand-primary);
  border-radius: var(--rd-radius-btn); box-shadow: none; font-size: 16px; font-weight: 700;
}
.rds-card .iv-submit:hover { background: #C69833; }
.rds-card .iv-consent { font-size: 13px; line-height: 1.5; color: var(--rd-muted); gap: 10px; margin-top: 12px; min-height: var(--rd-tap); }
.rds-card .iv-consent input { width: 20px; height: 20px; margin: 1px 0 0; }
.rds-card .iv-fine { font-size: 13px; color: var(--rd-muted); text-align: left; }
.rds-card .iv-result { max-width: none; }

@media (max-width: 900px) {
  .rds-hero { padding-top: 16px; }
  /* The form before the two result figures: with the figures first, the form's
     fields started below an iPhone's first screen (11/20/26). */
  .rds-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "facts" "check" "byline"; grid-template-rows: none; row-gap: 14px; }
  .rds-hero__head { gap: 6px; }
  .rds-hero h1.rd-display { font-size: 32px; }
  .rds-hero__lead { font-size: 15px; line-height: 1.45; }
  .rds-hero .rd-facts { gap: 12px 18px; }
  .rds-hero .rd-fact { padding-top: 8px; gap: 2px; }
  .rds-hero .rd-fact__num { font-size: 26px; }
  .rds-hero .rd-fact__cap { font-size: 12.5px; line-height: 1.4; }
  .rds-hero__check { margin-top: 0; }
  /* On a phone the form comes right after the title; the longer sentence follows it. */
  .rds-card__sub { order: 3; }
}
@media (max-width: 640px) {
  /* Name and phone stay side by side so the button is on the first screen. */
  .rds-card .iv-fields { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rds-card .iv-submit { margin-top: 12px; }
  .rds-card { gap: 6px; padding: 16px; }
  .rds-card__title { font-size: 23px; }
  .rds-card__sub { font-size: 14px; margin-top: 6px; }
  .rds-card .iv-field input { min-height: 48px; }
}
@media (max-width: 360px) {
  .rds-card .iv-fields { grid-template-columns: 1fr; }
}

/* ---------- 2. micro-market map ---------- */
.rds-mm { background: #FBFAF7; }
.rds-mm__counts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rds-mm__counts .rd-fact__num { font-size: 40px; }
.rds-mm__counts .rd-fact__cap { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-body); }
.rds-swatch { width: 11px; height: 11px; border-radius: 3px; display: inline-block; border: 1px solid rgba(0,0,0,.12); }
.rds-swatch--seller { background: #E39B70; }
.rds-swatch--balanced { background: #E8DFCC; }
.rds-swatch--buyer { background: #8DB1CB; }
.rds-mm__fig { margin: 0; }
.rds-mm__map { display: block; position: relative; background: #F6F4EF; border: 1px solid #E4DED2; border-radius: var(--rd-radius-card); overflow: hidden; aspect-ratio: 1241 / 1365; }
.rds-mm__map svg { display: block; width: 100%; height: 100%; }
.rds-mm__map path.a { stroke: #fff; stroke-width: .6; vector-effect: non-scaling-stroke; transition: opacity .15s; }
.rds-mm__map:hover path.a { opacity: .85; }
.rds-mm__map path.a:hover { opacity: 1; stroke: #1D1D1B; stroke-width: 1.5; }
.rds-mm__open { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.94); color: var(--brand-primary); font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: var(--rd-radius-btn); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.rds-mm__fig figcaption { font-size: 14px; color: var(--rd-muted); margin-top: 8px; line-height: 1.5; }
.rds-mm__fig { flex: 1 1 360px; }

/* ---------- 3. quote + three numbers ---------- */
.rds-quote__fig { margin: 0; }
.rds-quote__fig blockquote { margin: 0; }
.rds-quote__fig blockquote p { font-family: var(--rd-serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--brand-primary); }
.rds-quote__fig figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--rd-muted); margin-top: 14px; }
.rds-quote__fig img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; flex: 0 0 auto; }
.rds-quote__card { background: var(--brand-base); border-radius: var(--rd-radius-card); padding: 24px; gap: 4px !important; }
.rds-quote__card .sp-key { margin-top: 0 !important; font-size: 15px; line-height: 1.55; }
.rds-quote__card .sp-key h3 { font-family: var(--rd-sans); font-size: 17px !important; font-weight: 700; color: var(--brand-primary) !important; }
.rds-quote__card .sp-key ol { display: flex; flex-direction: column; gap: 8px; }

/* ---------- 4. process ---------- */
.rds-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 22px 24px; }
.rds-steps li { border-top: 1px solid var(--brand-warm); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.rds-steps__num { font-family: var(--rd-serif); font-size: 26px; line-height: 1.1; color: var(--brand-accent); }
.rds-steps__title { font-weight: 600; color: var(--brand-primary); }

.rds-details { border-top: 1px solid var(--rd-line); border-bottom: 1px solid var(--rd-line); margin-top: 28px; }
.rds-details > summary, .rds-faq > summary {
  min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; font-weight: 600; color: var(--brand-primary); list-style: none; padding: 10px 0;
}
.rds-details > summary::-webkit-details-marker, .rds-faq > summary::-webkit-details-marker { display: none; }
.rds-details > summary::after, .rds-faq > summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--brand-accent); flex: 0 0 auto; }
.rds-details[open] > summary::after, .rds-faq[open] > summary::after { content: '\2212'; }
.rds-details__body { padding: 4px 0 24px; }
.rds .process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 32px; }
.rds .process-step { display: flex; flex-direction: column; gap: 6px; }
.rds .process-step .step-num { font-family: var(--rd-serif); font-size: 20px; color: var(--brand-accent); }
.rds .process-step h3 { margin: 0; font-size: 17px; color: var(--brand-primary); }
.rds .process-step p { font-size: 15px; line-height: 1.7; }

/* ---------- 5. seasonal (dark band) ---------- */
.rds-seasonal .rds-narrow { margin-top: 14px; }
.rds-on-dark p { color: var(--rd-on-dark); }
.rds .seasonal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 28px; margin-top: 32px; }
.rds .seasonal-card { border-top: 1px solid var(--brand-warm); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.rds .seasonal-card strong { font-family: var(--rd-serif); font-weight: 400; font-size: 22px; line-height: 1.25; color: var(--brand-base); }
.rds .seasonal-card p { font-size: 15px; line-height: 1.6; color: var(--rd-on-dark); }

/* ---------- 6. rental homes ---------- */
.rds-str .rds-narrow { margin-top: 18px; }
.rds-str .lead-in { font-weight: 600; color: var(--brand-primary); }
.rds-str .fine-print, .rds .fine-print { font-size: 14px; color: var(--rd-muted); }
.rds .str-advantages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rds .str-advantages li { border-top: 1px solid var(--rd-line); padding: 12px 0 12px 30px; position: relative; font-size: 15px; line-height: 1.65; }
.rds .str-advantages li::before { content: ''; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--brand-accent); border-bottom: 2px solid var(--brand-accent); transform: rotate(-45deg); }

/* ---------- 7. FAQs ---------- */
.rds-faqs .faq-list { margin-top: 24px; max-width: 900px; display: flex; flex-direction: column; }
.rds .sell-faq { border-top: 1px solid var(--rd-line-strong); }
.rds .sell-faq:last-child { border-bottom: 1px solid var(--rd-line-strong); }
.rds .sell-faq > summary {
  min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; font-weight: 600; color: var(--brand-primary); list-style: none; padding: 12px 0; line-height: 1.45;
}
.rds .sell-faq > summary::-webkit-details-marker { display: none; }
.rds .sell-faq > summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--brand-accent); flex: 0 0 auto; }
.rds .sell-faq[open] > summary::after { content: '\2212'; }
.rds .sell-faq-answer { padding: 0 0 18px; font-size: 15px; line-height: 1.75; max-width: 760px; }

/* ---------- the rest of today's sections ---------- */
.rds-why__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 16px; }
.rds-why__list li { border-top: 1px solid var(--brand-warm); padding-top: 12px; }
.rds-why__list h3 { margin: 0 0 4px; font-size: 16px; color: var(--brand-primary); }
.rds-why__list p { font-size: 15px; line-height: 1.65; }
.rds-video { margin: 4px 0 0; }
.rds-video .rt-explainer { max-width: 100% !important; }
.rds-video figcaption { text-align: left !important; color: var(--rd-muted) !important; }

.rds-market .rd-facts { margin-top: 24px; }
.rds-market .rd-wrap > .rd-h2 + .rds-sub { margin-top: 10px; }
.rds-market__text { margin-top: 48px; }

/* Seller Results You Can Check: today's markup and words, restyled only. */
.rds-results .sell-results { padding: clamp(48px, 6vw, 80px) 0; background: var(--brand-base); }
.rds-results .container { max-width: var(--rd-max); margin: 0 auto; padding: 0 var(--rd-gutter); }
.rds-results .section-title { margin: 0; font-family: var(--rd-serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; color: var(--brand-primary); }
.rds-results .section-subtitle { margin: 10px 0 0; color: var(--rd-muted); line-height: 1.6; max-width: 760px; }
.rds-results .results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px 24px; margin: 28px 0 32px; }
.rds-results .result-card { border-top: 1px solid var(--brand-warm); padding-top: 12px; }
.rds-results .result-number { font-family: var(--rd-serif); font-size: 32px; line-height: 1.1; color: var(--brand-primary); margin-bottom: 6px; }
.rds-results .result-label { font-size: 14px; color: var(--rd-muted); line-height: 1.45; }
.rds-results .narrative { max-width: 820px; display: flex; flex-direction: column; gap: 14px; }
.rds-results .narrative h3 { margin: 0; font-size: 19px; color: var(--brand-primary); }
.rds-results .narrative p { line-height: 1.75; margin: 0 !important; }
.rds-results .fine-print { margin-top: 24px; max-width: 820px; line-height: 1.6; }

.rds-checklist ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.rds-checklist li { font-size: 15px; line-height: 1.65; }

/* ---------- 8. links + closing band ---------- */
.rds-links__inner { display: flex; flex-direction: column; gap: 48px; }
.rds-links__inner > div { display: flex; flex-direction: column; gap: 12px; }
.rds-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; }
.rds-guides a { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--rd-line); text-decoration: none; color: var(--brand-primary); }
.rds-guides a strong { font-weight: 600; }
.rds-guides a span { color: var(--rd-muted); font-size: 14px; line-height: 1.5; }
.rds-guides a:hover strong { text-decoration: underline; }
.rds-links__head { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand-accent); }
.rds-towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); column-gap: 28px; }
.rds-towns a, .rds .rds-towns a { min-height: var(--rd-tap); display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rd-line); color: var(--brand-primary); text-decoration: none; font-weight: 500; }
.rds-towns a::after { content: '\2192'; }
.rds-towns a { border-bottom: 1px solid var(--rd-line); margin-bottom: -1px; }

.rds-close__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.rds-close__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.rds-close__copy p { line-height: 1.7; }
.rds-close__copy a { font-weight: 700; }
