/* PrimeHome Buyers - Modernized Design System
   Matches 10DLC compliance requirements while elevating visual credibility,
   typography, responsive layout, and interactive components. */

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

:root {
  /* Rich corporate real estate color system */
  --ink:          #0e1c18;
  --ink-body:     #2c3e39;
  --ink-soft:     #4d625c;
  --ink-faint:    #758c85;
  --paper:        #ffffff;
  --ground:       #f8faf9;
  --ground-alt:   #f0f5f2;
  --ground-warm:  #fdfcf9;
  --line:         #e2ebe6;
  --line-dark:    #cbdcd4;
  
  /* Brand accents */
  --brand:        #0f5a45;
  --brand-dk:     #093d2e;
  --brand-lt:     #e8f4ef;
  --brand-glow:   rgba(15, 90, 69, 0.12);
  --emerald:      #107555;
  --emerald-lt:   #ecfdf5;
  
  /* Accent & Trust Colors */
  --gold:         #c28422;
  --gold-dk:      #9c6513;
  --gold-lt:      #fdf7ed;
  --gold-border:  #f3ddbe;
  
  /* Functional */
  --alert:        #b92d23;
  --alert-bg:     #fdf2f2;
  --alert-border: #f8cfcc;
  --ok:           #0f7649;
  --ok-bg:        #effaf3;
  --ok-border:    #c4ebd5;
  
  /* Layout & Geometry */
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-pill:  9999px;
  
  --wrap:         1140px;
  --measure:      68ch;
  
  /* Elevation Shadows */
  --shadow-xs:    0 1px 2px rgba(14, 28, 24, 0.04);
  --shadow-sm:    0 2px 6px rgba(14, 28, 24, 0.05), 0 1px 2px rgba(14, 28, 24, 0.03);
  --shadow-md:    0 8px 24px -4px rgba(14, 28, 24, 0.08), 0 2px 6px -1px rgba(14, 28, 24, 0.04);
  --shadow-lg:    0 16px 36px -6px rgba(14, 28, 24, 0.12), 0 4px 12px -2px rgba(14, 28, 24, 0.05);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  line-height: 1.14;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.22;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

p {
  margin: 0 0 1.1rem;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-dk);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.prose {
  max-width: var(--measure);
}

.prose ul, .prose ol {
  padding-left: 1.4rem;
  margin: 0 0 1.2rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* Top Announcement Strip */
.top-strip {
  background: #09261f;
  color: #c7ded5;
  font-size: 0.84rem;
  padding: 0.48rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.strip-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.25);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.strip-phone {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.strip-phone:hover {
  color: #5eead4;
}

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: all 0.2s ease;
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dk) 100%);
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 90, 69, 0.25);
  flex-shrink: 0;
}

.brand-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-top: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  position: relative;
}

.site-nav a:hover {
  color: var(--brand);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.head-phone-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--ground-alt);
  border: 1px solid var(--line);
}

.head-phone-link:hover {
  background: var(--brand-lt);
  border-color: var(--brand-border);
  color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 0.78rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.18s ease;
  line-height: 1.3;
}

.btn-sm {
  padding: 0.52rem 1.1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 90, 69, 0.28);
}

.btn-primary:hover {
  background: var(--brand-dk);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 90, 69, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: var(--ink-faint);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--ground);
  border-color: var(--brand);
  color: var(--brand);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--brand-lt);
  border-color: var(--brand-border);
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #f3f8f5 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 90, 69, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: start;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-lt);
  border: 1px solid var(--gold-border);
  color: var(--gold-dk);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}

.hero-subhead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
  max-width: 50ch;
}

.hero-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin: 1.8rem 0 2rem;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-xs);
}

.benefit-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-lt);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.benefit-icon svg {
  width: 16px;
  height: 16px;
}

.benefit-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.hero-trust-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.trust-avatar-group {
  display: flex;
}

.trust-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ground-alt);
  border: 2px solid #ffffff;
  margin-left: -8px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-dk);
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-stats-txt {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

.trust-stats-txt strong {
  color: var(--ink);
}

/* Offer Card */
.card-offer {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2.2rem 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.card-offer-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(194, 132, 34, 0.3);
}

.card-header-block {
  margin-bottom: 1.4rem;
}

.card-offer h2 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.card-subtext {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.field {
  margin-bottom: 1.05rem;
}

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.field .req {
  color: var(--alert);
}

.field input, .field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.field input::placeholder, .field textarea::placeholder {
  color: #9ab0a8;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.field textarea {
  min-height: 80px;
  resize: vertical;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* The consent block. Crucial for 10DLC compliance verification */
.consent {
  background: var(--brand-lt);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin: 1.3rem 0 1.2rem;
}

.consent label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
}

.consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--brand);
  cursor: pointer;
}

.consent .txt {
  font-size: 0.81rem;
  line-height: 1.55;
  color: var(--ink-body);
}

.consent .txt a {
  color: var(--brand-dk);
  font-weight: 600;
}

.optional-note {
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin: 0.6rem 0 0 1.95rem;
  line-height: 1.4;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  margin-top: 1.1rem;
  line-height: 1.45;
}

.form-msg.err {
  background: var(--alert-bg);
  color: var(--alert);
  border: 1px solid var(--alert-border);
}

.form-msg.ok {
  background: var(--ok-bg);
  color: var(--ok);
  border: 1px solid var(--ok-border);
}

.card-security-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.card-security-footer svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

/* Success Done Card */
.done-container {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.done-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ok-bg);
  border: 2px solid var(--ok-border);
  color: var(--ok);
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
}

.done-icon svg {
  width: 32px;
  height: 32px;
}

/* Stats Metrics Strip */
.stats-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-number {
  font-family: "Outfit", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.35;
}

/* Section Common */
.section {
  padding: 5rem 0;
}

.section.alt {
  background: var(--ground);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-head .eyebrow-pill {
  margin-bottom: 0.8rem;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

/* Steps Process Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dk) 100%);
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(15, 90, 69, 0.2);
}

.step-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--ground-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.step-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Comparison Table */
.compare-container {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.compare-table th {
  background: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.compare-table th.ph-col, .compare-table td.ph-col {
  background: var(--ground-alt);
  border-left: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
}

.compare-table th.ph-col {
  background: var(--brand-lt);
  border-top: 4px solid var(--brand);
  color: var(--brand-dk);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.feature-title {
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--ink-faint);
  display: block;
  margin-top: 0.2rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.badge-tag.good {
  color: var(--ok);
}

.badge-tag.bad {
  color: #8c443b;
}

/* Net Proceeds Interactive Calculator */
.calc-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.calc-inputs {
  padding-right: 1.5rem;
}

.calc-slider-group {
  margin: 1.8rem 0;
}

.slider-val-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}

.slider-val-wrap label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.slider-price-display {
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
}

.calc-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--line-dark);
  outline: none;
  -webkit-appearance: none;
  accent-color: var(--brand);
  cursor: pointer;
}

.calc-results-box {
  background: var(--ground-alt);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.calc-results-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  color: var(--ink);
}

.calc-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line-dark);
  font-size: 0.92rem;
}

.calc-line.total {
  border-bottom: none;
  border-top: 2px solid var(--brand);
  margin-top: 0.8rem;
  padding-top: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-dk);
}

.calc-line.savings {
  background: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  margin-top: 1rem;
  color: var(--gold-dk);
  font-weight: 700;
}

/* Situations Grid */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.situation-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.situation-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.situation-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--ground-alt);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}

.situation-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.situation-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.situation-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* Testimonials / Case Vignettes */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.case-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-quote {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-body);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.case-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.case-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-lt);
  color: var(--brand-dk);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.case-meta {
  line-height: 1.3;
}

.case-name {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
}

.case-location {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item.active {
  border-color: var(--brand-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.3rem 1.5rem;
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ground-alt);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--brand);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Bottom CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #092c24 0%, #0d4234 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3.8rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin: 3rem auto 0;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.cta-banner p {
  color: #cde2db;
  font-size: 1.12rem;
  max-width: 58ch;
  margin: 0 auto 2rem;
}

.cta-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-white {
  background: #ffffff;
  color: var(--brand-dk);
  font-weight: 700;
}

.btn-white:hover {
  background: #f0f7f4;
  color: var(--brand-dk);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Legal Pages & Shared Subpages */
.page-head {
  background: var(--ground-alt);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 0 2.8rem;
}

.page-head .updated {
  font-size: 0.88rem;
  color: var(--ink-faint);
  margin: 0;
}

.legal {
  padding: 3.5rem 0 4.5rem;
}

.legal h2 {
  margin-top: 2.8rem;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.callout {
  border-left: 4px solid var(--gold);
  background: var(--ground-alt);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.8rem 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.toc {
  font-size: 0.94rem;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.6rem;
  margin-bottom: 2.8rem;
}

.toc ol {
  margin: 0.6rem 0 0;
  padding-left: 1.3rem;
}

.toc li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-foot {
  border-top: 1px solid var(--line);
  background: #091c17;
  color: #a4beba;
  padding: 4rem 0 2.5rem;
  font-size: 0.9rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.foot-brand-title {
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.foot-address {
  line-height: 1.6;
  color: #c6deda;
}

.foot-phone-box {
  margin-top: 1rem;
}

.foot-phone-box a {
  color: #5eead4;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.foot-nav-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.foot-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.foot-links-list a {
  color: #a4beba;
  text-decoration: none;
  transition: color 0.15s ease;
}

.foot-links-list a:hover {
  color: #ffffff;
}

.foot-compliance-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #8faea8;
}

.foot-note {
  font-size: 0.8rem;
  color: #6a8c85;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.8rem;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .steps-grid, .situations-grid, .cases-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .calc-inputs {
    padding-right: 0;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2.5rem 0 3rem;
  }
  .hero-benefits-grid {
    grid-template-columns: 1fr;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
  .card-offer {
    padding: 1.6rem 1.2rem;
  }
  .site-head .wrap {
    min-height: 60px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
  .site-nav {
    display: none; /* simple mobile fallback, CTA and phone remain accessible */
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .compare-table {
    display: block;
    overflow-x: auto;
  }
}

/* ---------- Trusted By / Partner Logos Bar ---------- */
.partners-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0 1.8rem;
}

.partners-intro {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.2rem;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-soft);
  text-decoration: none;
  background: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.partner-item:hover {
  border-color: var(--brand-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.partner-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ground-alt);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--brand);
}

.partner-icon svg {
  width: 18px;
  height: 18px;
}

.partner-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.partner-title {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
}

.partner-subtitle {
  font-size: 0.72rem;
  color: var(--ink-faint);
  font-weight: 500;
}

/* ---------- Eviction & Problematic Tenant Solution Section ---------- */
.eviction-section {
  background: linear-gradient(180deg, #f7faf8 0%, #edf4f0 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5rem 0;
  position: relative;
}

.eviction-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.eviction-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.eviction-vs-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin: 2rem 0;
}

.eviction-col {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  font-size: 0.88rem;
}

.eviction-col.bad {
  background: #fff5f5;
  border: 1px solid #fed7d7;
}

.eviction-col.bad h4 {
  color: var(--alert);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.eviction-col.good {
  background: #ffffff;
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-sm);
}

.eviction-col.good h4 {
  color: var(--brand-dk);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.eviction-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eviction-points li {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.eviction-feature-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.eviction-card-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.eviction-card-item .item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-lt);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ---------- Localized Map & Service Area Component ---------- */
.service-map-component {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-top: 2.5rem;
}

.service-map-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}

.service-states-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.state-tab-btn {
  background: var(--ground-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.state-tab-btn:hover {
  background: var(--brand-lt);
  color: var(--brand);
}

.state-tab-btn.active {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 4px 10px rgba(15, 90, 69, 0.25);
}

.service-map-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.map-svg-wrap {
  background: linear-gradient(135deg, #09261f 0%, #051914 100%);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

.map-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-pin {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.map-pin:hover {
  transform: scale(1.15);
}

.state-info-panel {
  background: var(--ground);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}

.state-info-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.state-info-title h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--brand-dk);
}

.state-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--brand-lt);
  color: var(--brand-dk);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
}

.state-details-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.state-details-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.state-details-list li:last-child {
  border-bottom: none;
}

/* ---------- Exit-Intent Popup Modal ---------- */
.exit-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 28, 24, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.exit-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.exit-modal-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem 2.2rem 2.2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.exit-modal-backdrop.active .exit-modal-content {
  transform: scale(1) translateY(0);
}

.exit-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ground-alt);
  color: var(--ink-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  transition: all 0.15s ease;
  line-height: 1;
}

.exit-modal-close:hover {
  background: var(--line);
  color: var(--ink);
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold-lt);
  border: 1px solid var(--gold-border);
  color: var(--gold-dk);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.8rem;
}

.guide-highlights {
  background: var(--ground-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  margin: 1.2rem 0 1.4rem;
}

.guide-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-highlights li {
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.guide-highlights li:last-child {
  margin-bottom: 0;
}

.guide-highlights li svg {
  color: var(--brand);
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .eviction-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .service-map-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 640px) {
  .eviction-vs-box {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    gap: 1rem;
  }
  .partner-item {
    width: 100%;
    justify-content: center;
  }
  .service-map-component {
    padding: 1.5rem 1.2rem;
  }
  .exit-modal-content {
    padding: 2rem 1.3rem;
  }
}



/* ---------------------------------------------- nationwide state grid ---
   Replaces the four-state tab strip. Fifty-one chips need to stay scannable,
   so they are grouped by census region and wrap freely rather than sitting in
   a fixed grid -- state names differ enormously in length and a rigid grid
   leaves either huge gaps or truncated labels. */
.state-region-wrap {
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  max-height: 460px;
  overflow-y: auto;
}
.state-region-group + .state-region-group { margin-top: 1.35rem; }
.state-region-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--ink-faint);
  margin: 0 0 0.6rem;
}
.state-chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.state-chip {
  font: inherit;
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  color: var(--ink-body);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.state-chip:hover { border-color: var(--brand); color: var(--brand); }
.state-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.state-chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}
@media (max-width: 860px) {
  .state-region-wrap { max-height: none; }
}
