﻿/* ============================================================
   Content Pages V2 — Rights / Eviction / Fee shared styles
   ============================================================ */

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 80px 0 72px;
  background: linear-gradient(160deg, #f8fbff 0%, #eef4ff 50%, #f6f8fb 100%);
}
.page-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(23,92,211,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to right, transparent, #000 40%, #000);
}
.page-hero-bg::before {
  content: ""; position: absolute;
  width: 360px; height: 360px; top: -140px; right: 10%;
  background: rgba(62,132,246,.09); border-radius: 50%; filter: blur(2px);
}

.page-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.page-hero-copy h1 {
  margin: 0; font-size: clamp(38px, 3.8vw, 58px);
  line-height: 1.16; letter-spacing: -3px; font-weight: 900;
}
.page-hero-copy h1 em { color: var(--blue); font-style: normal; }
.page-hero-desc {
  margin: 22px 0 0; color: var(--ink-soft);
  font-size: 17px; line-height: 1.75; letter-spacing: -.3px;
}

/* ---- HERO VISUAL CARD ---- */
.page-hero-visual { display: grid; place-items: center; }
.visual-card {
  width: 100%; max-width: 400px; padding: 24px;
  background: rgba(255,255,255,.96); border: 1px solid rgba(20,54,96,.1);
  border-radius: 22px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.visual-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.visual-label { color: var(--ink-muted); font-size: 9px; font-weight: 900; letter-spacing: 1.2px; }
.visual-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; color: #13744f; background: var(--mint-pale);
  border-radius: 999px; font-size: 10px; font-weight: 850;
}
.visual-badge i { width: 6px; height: 6px; background: var(--mint); border-radius: 50%; }

.visual-rows { display: grid; gap: 10px; }
.visual-row {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px;
  padding: 12px; background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.visual-row span:first-child {
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 8px; font-size: 11px; font-weight: 900;
}
.visual-row.safe span:first-child { color: #13744f; background: var(--mint-pale); }
.visual-row.watch span:first-child { color: var(--amber); background: var(--amber-pale); }
.visual-row.info span:first-child { color: var(--blue); background: var(--blue-pale); }
.visual-row strong, .visual-row small { display: block; }
.visual-row strong { font-size: 12px; }
.visual-row small { color: var(--ink-muted); font-size: 9px; }
.visual-row em {
  min-width: 34px; padding: 3px 6px; background: var(--line-soft);
  border-radius: 7px; font-size: 9px; font-style: normal; font-weight: 800;
  text-align: center; color: var(--ink-soft);
}

/* ---- SECTION HEADING ---- */
.section-heading { text-align: center; margin-bottom: 52px; }
.section-heading h2 {
  margin: 0; font-size: clamp(32px, 3vw, 46px);
  line-height: 1.25; letter-spacing: -2.3px; font-weight: 900;
}
.section-heading > p:last-child {
  margin: 14px 0 0; color: var(--ink-soft); font-size: 16px;
}

/* ---- CHECK SECTION ---- */
.check-section { padding: 100px 0 110px; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.check-card {
  position: relative; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.check-card:hover {
  transform: translateY(-6px); border-color: rgba(23,92,211,.15);
  box-shadow: var(--shadow-md);
}
.check-card:first-child {
  color: var(--white); background: var(--blue); border-color: var(--blue);
  box-shadow: 0 22px 46px rgba(23,92,211,.2);
}
.check-card:first-child::before {
  content: ""; position: absolute; width: 180px; height: 180px;
  top: -70px; right: -40px; border: 28px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.check-number {
  position: absolute; top: 24px; left: 28px;
  color: var(--ink-muted); font-size: 11px; font-weight: 900; letter-spacing: 1px;
}
.check-card:first-child .check-number { color: rgba(255,255,255,.6); }
.check-icon {
  position: absolute; top: 52px; left: 28px;
  width: 56px; height: 56px; display: grid; place-items: center;
  color: var(--blue); background: var(--blue-pale); border-radius: 16px;
}
.check-icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.check-card:first-child .check-icon { color: var(--white); background: rgba(255,255,255,.14); }
.check-copy strong { display: block; font-size: 21px; letter-spacing: -.7px; }
.check-copy p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.check-card:first-child .check-copy p { color: rgba(255,255,255,.72); }
.check-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
}
.check-tags li {
  padding: 4px 9px; background: rgba(255,255,255,.6); border: 1px solid var(--line-soft);
  border-radius: 999px; font-size: 10px; font-weight: 750; color: var(--ink-soft);
}
.check-card:first-child .check-tags li {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.8);
}

/* ---- HOW SECTION ---- */
.how-section { padding: 100px 0; background: var(--paper); }
.how-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.how-heading h2 {
  margin: 0; font-size: clamp(36px, 3.5vw, 50px);
  line-height: 1.22; letter-spacing: -2.5px; font-weight: 900;
}
.how-heading > p:not(.section-kicker) {
  max-width: 380px; margin: 20px 0 0; color: var(--ink-soft); line-height: 1.8;
}
.how-steps { border-top: 1px solid var(--line); }
.how-steps li {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.how-steps li:hover { background: rgba(23,92,211,.02); }
.step-num {
  width: 48px; height: 48px; display: grid; place-items: center;
  color: var(--blue); background: var(--blue-pale); border-radius: 14px;
  font-size: 18px; font-weight: 900;
}
.how-steps strong { display: block; font-size: 18px; letter-spacing: -.5px; }
.how-steps p { margin: 5px 0 0; color: var(--ink-soft); font-size: 14px; }

/* ---- PAGE CTA ---- */
.page-cta { padding: 90px 0; }
.page-cta-box {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  padding: 56px 60px; color: var(--white); background: var(--ink);
  border-radius: var(--radius-lg);
}
.page-cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 88% 25%, rgba(47,119,245,.32), transparent 35%),
              linear-gradient(120deg, transparent 58%, rgba(255,255,255,.03) 58%);
}
.page-cta-box::after {
  content: ""; position: absolute; width: 280px; height: 280px;
  right: -60px; top: -100px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%;
}
.page-cta-copy, .page-cta-actions { position: relative; z-index: 1; }
.page-cta-copy > p { margin: 0 0 8px; color: #7eafff; font-size: 13px; font-weight: 850; }
.page-cta-copy h2 { margin: 0; font-size: clamp(32px, 3vw, 46px); line-height: 1.2; letter-spacing: -2px; }
.page-cta-copy > span { display: block; margin-top: 14px; color: #9eacbd; font-size: 13px; }
.page-cta-actions { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; min-width: 260px; }
.page-cta-actions a {
  min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 24px; border-radius: 14px; font-size: 14px; font-weight: 850;
  transition: transform .15s var(--ease);
}
.page-cta-actions a:hover { transform: translateX(3px); }
.page-cta .cta-primary { color: var(--ink); background: var(--white); }
.page-cta .cta-secondary { color: var(--white); background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .page-hero { padding: 60px 0 52px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-copy { text-align: center; }
  .page-hero-visual { max-width: 400px; margin: 0 auto; }
  .check-grid { grid-template-columns: 1fr; }
  .check-card { min-height: 240px; }
  .how-layout { grid-template-columns: 1fr; gap: 48px; }
  .how-heading { text-align: center; }
  .how-heading > p:not(.section-kicker) { margin-left: auto; margin-right: auto; }
  .page-cta-box { flex-direction: column; text-align: center; padding: 40px 24px; }
  .page-cta-actions { min-width: 0; width: 100%; }
}

@media (max-width: 620px) {
  .page-hero { padding: 48px 0 40px; }
  .page-hero-copy h1 { font-size: 34px; letter-spacing: -2px; }
  .page-hero-desc { font-size: 14px; }
  .check-section, .how-section { padding: 72px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2 { font-size: 30px; letter-spacing: -1.8px; }
  .check-card { min-height: 210px; padding: 22px; }
  .check-copy strong { font-size: 19px; }
  .page-cta { padding: 60px 0; }
  .page-cta-box { padding: 32px 20px; gap: 28px; }
  .page-cta-copy h2 { font-size: 28px; letter-spacing: -1.5px; }
}


/* ---- FEE PAGE ADDITIONS ---- */
.check-grid-2 { grid-template-columns: repeat(2, 1fr); }

.faq-section { padding-top: 0; }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px; cursor: pointer; font-size: 15px; font-weight: 800;
  list-style: none; color: var(--ink);
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--blue); font-size: 20px; font-weight: 700;
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 4px 18px; }
.faq-answer p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }

@media (max-width: 900px) {
  .check-grid-2 { grid-template-columns: 1fr; }
}
