/* =========================================================
   Indexable SEO content pages (Oct 1, 2026)
     /sell.html  (the main Sell Your House page)
     /sell-house-as-is-minnesota/
   Loaded AFTER css/styles.css and only on those pages. Everything here
   builds on the shared tokens; nothing overrides a shared component.
   The two-step form rules mirror the inline block on /sell-landing.html,
   generalised for pages that repeat the form three times.
   ========================================================= */

/* ---------- Two-step lead form (progressive enhancement) ----------
   With JS off (.no-js) Step 2 stays visible so every field shows at once. */
.js .lead-step--2 { display: none; }
.js .lead-form.step-2 .lead-step--1 { display: none; }
.js .lead-form.step-2 .lead-step--2 { display: block; }
.no-js [data-step1-next] { display: none; }
.step2-heading { font-weight: 600; margin: 0 0 0.9rem; color: var(--ink); }
.step2-address { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 0.9rem; }
.step2-address__label { font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; color: var(--link); font: inherit; text-decoration: underline; cursor: pointer; }
.lead-card__timeline { margin-top: 0.85rem; text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Long-form prose ---------- */
.prose { max-width: 68ch; }
.prose p { color: var(--ink-soft); line-height: 1.7; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 0.95rem; }
.prose h3 { font-size: var(--step-1); margin: 1.9rem 0 0.5rem; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; color: var(--ink-soft); line-height: 1.65; }
.prose li + li { margin-top: 0.4rem; }
.prose a { color: var(--link); font-weight: 500; }
.prose strong { color: var(--ink); }
.small-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 1rem; max-width: 68ch; }

/* ---------- Card grid (differentiators, situations) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .card-grid, .card-grid--3 { grid-template-columns: 1fr; } }
.info-card { padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.info-card h3 { font-size: 1.12rem; margin: 0 0 0.45rem; }
.info-card p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.info-card p + p { margin-top: 0.7rem; }
.info-card a { color: var(--link); font-weight: 600; }

/* ---------- Cash vs. listing comparison table ---------- */
.vs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.vs-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 520px; }
.vs-table th, .vs-table td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); line-height: 1.5; }
.vs-table tbody tr:last-child th, .vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table thead th { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); background: var(--surface-2); }
.vs-table thead th.vs-us { background: var(--pn-navy); color: #fff; }
.vs-table tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.vs-table td { color: var(--ink-soft); }
.vs-table td.vs-us { color: var(--ink); background: color-mix(in srgb, var(--pn-navy) 5%, var(--surface)); }
@media (max-width: 560px) {
  .vs-table { min-width: 0; font-size: 0.9rem; }
  .vs-table th, .vs-table td { padding: 0.7rem 0.65rem; }
  .vs-table tbody th { width: 28%; }
}

/* ---------- Sample offer breakdown ---------- */
.breakdown { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.75rem 2.5rem; align-items: start; }
@media (max-width: 860px) { .breakdown { grid-template-columns: 1fr; } }
.breakdown__table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-variant-numeric: tabular-nums; }
.breakdown__table caption { text-align: left; font-weight: 600; color: var(--ink); padding: 0 0 0.6rem; }
.breakdown__table th, .breakdown__table td { padding: 0.62rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); font-size: 0.95rem; }
.breakdown__table th { text-align: left; font-weight: 500; color: var(--ink-soft); }
.breakdown__table td { text-align: right; color: var(--ink); white-space: nowrap; }
.breakdown__table tfoot th, .breakdown__table tfoot td { font-weight: 700; color: var(--ink); background: var(--accent-tint); border-bottom: 0; font-size: 1rem; }
.sample-chip { display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.45rem; border-radius: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--warm-tint); color: var(--warm); vertical-align: middle; }

/* ---------- Team avatars (same treatment as /sell-lp "Who you're working with") ---------- */
.who { --avatar: 160px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.75rem 2.25rem; align-items: start; }
@media (max-width: 760px) { .who { grid-template-columns: 1fr; gap: 1.1rem; } }
.who__figure { margin: 0; }
.who__people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; }
.who__people li { display: flex; flex-direction: column; align-items: center; text-align: center; width: var(--avatar); }
.who__avatar { display: block; width: var(--avatar); height: var(--avatar); object-fit: cover; border-radius: 50%; background: var(--accent-tint); }
.who__name { margin-top: 0.6rem; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.who__role { font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- Service-area chips ---------- */
.arealist { list-style: none; padding: 0; margin: 1.25rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.65rem; max-width: 820px; }
.arealist li { font-size: 0.94rem; color: var(--ink-soft); background: var(--accent-tint); border-radius: 999px; padding: 0.3rem 0.75rem; }
.arealist--quiet li { background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.area-h { font-size: 1.05rem; margin: 1.6rem 0 0; }

/* ---------- Market snapshot ---------- */
.updated-line { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.9rem; }

/* ---------- Plain-text FAQ (always open — every answer is visible text) ---------- */
.answers { display: grid; gap: 1.5rem; max-width: 780px; }
.answers__item h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.answers__item p { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.answers__item a { color: var(--link); font-weight: 500; }

/* ---------- Form between content sections ---------- */
.form-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 2rem 3rem; align-items: center; }
@media (max-width: 860px) { .form-band { grid-template-columns: 1fr; } }
.form-band__copy p { color: var(--ink-soft); max-width: 52ch; }
.form-band__copy p + p { margin-top: 0.8rem; }
.form-band__copy a { color: var(--link); font-weight: 600; }
.section--ink .form-band__copy p { color: rgba(255, 255, 255, 0.82); }
.section--ink .form-band__copy a { color: #fff; }
.section--ink .lead-card { color: var(--ink); }

/* ---------- Related-page link ---------- */
.related-link { margin-top: 1.4rem; font-weight: 600; }
.related-link a { color: var(--link); }
