/* ============================================================
   Broadband Picks — homepage modules (style-id a21440)
   Only enqueued on the front page.
   ============================================================ */

/* ---------- M1: text-only hero ---------- */
.a21440-hero-text {
  position: relative;
  padding: 84px 0 66px;
  background:
    radial-gradient(760px 340px at 88% -12%, var(--accent-soft), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  overflow: hidden;
}
.a21440-hero-text .a21440-wrap { position: relative; z-index: 2; }
.a21440-hero-text .a21440-cap { right: 34px; top: 74px; width: 96px; }
.a21440-hero-text .a21440-cap.c2 { right: 150px; top: 104px; width: 40px; height: 40px; border-radius: 50%; }
.a21440-hero-text .a21440-cap.c3 { left: 18px; bottom: 40px; width: 120px; }

.a21440-hero-title {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.03;
  letter-spacing: -.028em;
  margin: 0 0 22px;
  max-width: 15ch;
}
.a21440-hero-title em { font-style: normal; color: var(--accent); }
.a21440-hero-div {
  width: 100%;
  max-width: 520px;
  height: 1px;
  background: var(--border);
  margin: 0 0 22px;
  position: relative;
}
.a21440-hero-div::before {
  content: "";
  position: absolute; left: 0; top: -1px;
  width: 96px; height: 3px;
  background: var(--accent);
  border-radius: var(--pill);
}
.a21440-hero-lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 26px;
}
.a21440-hero-acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.a21440-hero-note { font-size: 13px; color: var(--text-muted); }

/* ---------- M2: quick comparison table ---------- */
.a21440-cmp { position: relative; }
.a21440-cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--sh-2), var(--sh-in);
  overflow: hidden;
}
.a21440-cmp-table th,
.a21440-cmp-table td {
  padding: 15px 18px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}
.a21440-cmp-table thead th {
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  border-bottom: 0;
}
.a21440-cmp-table tbody tr:nth-child(even) td { background: var(--bg-alt); }
.a21440-cmp-table tbody tr:last-child td { border-bottom: 0; }
.a21440-cmp-table td:first-child { font-weight: 600; color: var(--text); }
.a21440-cmp-table .a21440-ok { color: var(--accent-ink); font-weight: 600; }
.a21440-cmp-note { font-size: 13px; color: var(--text-muted); margin: 14px 0 0; }

/* ---------- M3: stat band ---------- */
.a21440-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.a21440-stat {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--sh-2), var(--sh-in);
  overflow: hidden;
}
.a21440-stat::before {
  content: "";
  position: absolute; right: -28px; top: -28px;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent-soft);
}
.a21440-stat .a21440-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 9px;
  letter-spacing: -.02em;
}
.a21440-stat .a21440-num small { font-size: .5em; }
.a21440-stat h4 { font-size: 15px; margin: 0 0 6px; }
.a21440-stat p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ---------- M4: latest posts grid (3 x 2) ---------- */
.a21440-latest .a21440-cardbody { padding: 20px 20px 20px; }

/* ---------- M5: FAQ accordion ---------- */
.a21440-faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.a21440-faqitem {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--sh-1), var(--sh-in);
  overflow: hidden;
}
.a21440-faqitem summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17.5px;
  color: var(--text);
}
.a21440-faqitem summary::-webkit-details-marker { display: none; }
.a21440-faqitem summary::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  line-height: 1;
}
.a21440-faqitem[open] summary::after { content: "–"; background: var(--accent); color: #fff; }
.a21440-faqitem[open] summary { color: var(--accent-ink); }
.a21440-faqitem .a21440-ans { padding: 0 24px 21px; }
.a21440-faqitem .a21440-ans p { margin: 0; font-size: 15px; color: var(--text-muted); }
.a21440-faq-q {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-radius: var(--pill);
  padding: 4px 10px;
}

/* ---------- M6: steps strip ---------- */
.a21440-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.a21440-step {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--sh-2), var(--sh-in);
}
.a21440-step .a21440-stepno {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 19px;
  box-shadow: var(--sh-2);
  margin-bottom: 15px;
}
.a21440-step h4 { font-size: 17px; margin: 0 0 8px; }
.a21440-step p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---------- CTA strip ---------- */
.a21440-ctastrip {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-ink) 100%);
  color: #fff;
  padding: 40px 44px;
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.a21440-ctastrip::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.a21440-ctastrip::after {
  content: "";
  position: absolute; right: 120px; bottom: -40px;
  width: 110px; height: 110px; border-radius: 50%;
  background: rgba(255, 255, 255, .10);
}
.a21440-ctastrip h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin: 0 0 10px; position: relative; z-index: 2; }
.a21440-ctastrip p { color: rgba(255, 255, 255, .9); margin: 0 0 22px; max-width: 620px; position: relative; z-index: 2; }
.a21440-ctastrip .a21440-btn { background: #fff; color: var(--accent-ink); position: relative; z-index: 2; }
.a21440-ctastrip .a21440-btn:hover { background: var(--bg-alt); color: var(--accent-ink); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .a21440-stats { grid-template-columns: repeat(2, 1fr); }
  .a21440-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .a21440-hero-text { padding: 56px 0 46px; }
  .a21440-stats, .a21440-steps { grid-template-columns: 1fr; }
  .a21440-cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .a21440-cmp-table { min-width: 640px; }
  .a21440-ctastrip { padding: 30px 24px; }
}
