/* ==========================================================================
   FixDebtUSA — Why Us Page
   Loaded only by why-us.html, on top of theme.css + style.css + home.css.
   Reuses every hp-* class (header, footer, buttons, section rhythm, hp-head)
   verbatim; sections unique to this page — the pill-badge hero, the six
   outcome cards, the comparison table, and the newsletter card — get their
   own wu-* classes here.
   ========================================================================== */

/* Marks the current section's nav trigger green, and highlights the matching
   dropdown row — matching the reference where "Company" and "Why Us" both
   pick up the active treatment while on this page. */
.hp-nav__link--active,
.hp-nav__link--active .hp-nav__caret {
  color: hsl(var(--hp-green));
}

.hp-dropdown .hp-dropdown__item--active {
  background-color: hsl(var(--hp-mint-soft));
  color: hsl(var(--hp-green));
}

/* --------------------------------------------------------------------------
   1. Hero — dark gradient band, pill badges, wave foot
   -------------------------------------------------------------------------- */

.wu-hero {
  position: relative;
  padding-block: 3.5rem 6rem;
  background: linear-gradient(135deg, hsl(var(--hp-green-deep)), hsl(142 55% 34%));
  text-align: center;
  overflow: hidden;
}

.wu-hero__inner {
  position: relative;
  z-index: 1;
}

.home .wu-hero__title {
  color: #fff;
  font-size: clamp(1.875rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.wu-hero__title em {
  position: relative;
  font-style: italic;
  font-weight: 600;
  color: hsl(150 60% 78%);
}

.wu-hero__title em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -0.05em;
  height: 0.08em;
  border-radius: 999px;
  background-color: hsl(150 60% 78% / .55);
}

.wu-hero__lede {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.6;
  color: hsl(0 0% 100% / .82);
}

.wu-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.wu-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background-color: hsl(0 0% 100% / .12);
  border: 1px solid hsl(0 0% 100% / .2);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
}

.wu-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 5rem;
  z-index: 0;
}

@media (min-width: 768px) {
  .wu-hero { padding-block: 4.5rem 7.5rem; }
  .wu-hero__wave { height: 7rem; }
}

/* --------------------------------------------------------------------------
   2. Built around your outcome — six cards
   -------------------------------------------------------------------------- */

.wu-outcome-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.wu-outcome-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid hsl(var(--hp-line));
  border-radius: 1.25rem;
  background-color: #fff;
  box-shadow: var(--hp-shadow-card);
}

.wu-outcome-card__num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: hsl(var(--hp-green) / .1);
}

.wu-outcome-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background-color: var(--tint-bg, hsl(var(--hp-mint)));
  color: var(--tint-fg, hsl(var(--hp-green-dark)));
  font-size: 1.1rem;
}

.wu-outcome-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.wu-outcome-card > p {
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

.wu-outcome-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid hsl(var(--hp-line));
  color: hsl(var(--hp-green-dark));
  transition: gap .15s ease;
}

.wu-outcome-card__foot:hover { gap: 1.35rem; }

.wu-outcome-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 800;
}

.wu-outcome-card__tag i { color: hsl(var(--hp-green)); }

.wu-outcome-card__foot > i { font-size: 0.9375rem; }

/* Per-card tints */
.wu-tint-green  { --tint-bg: hsl(var(--hp-mint)); --tint-fg: hsl(var(--hp-green-dark)); }
.wu-tint-teal   { --tint-bg: hsl(168 65% 92%); --tint-fg: hsl(168 60% 32%); }
.wu-tint-blue   { --tint-bg: hsl(210 75% 94%); --tint-fg: hsl(210 65% 45%); }
.wu-tint-purple { --tint-bg: hsl(265 60% 95%); --tint-fg: hsl(265 50% 50%); }
.wu-tint-indigo { --tint-bg: hsl(235 65% 95%); --tint-fg: hsl(235 55% 52%); }
.wu-tint-orange { --tint-bg: hsl(30 85% 94%);  --tint-fg: hsl(28 75% 45%); }

/* --------------------------------------------------------------------------
   3. Comparison table
   -------------------------------------------------------------------------- */

.wu-compare {
  max-width: 56rem;
  margin-inline: auto;
  overflow-x: auto;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px -15px rgba(15, 76, 58, 0.12), 0 0 0 1px rgba(15, 76, 58, 0.08);
  background-color: #fff;
}

.wu-compare table {
  width: 100%;
  min-width: 38rem;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
}

.wu-compare th,
.wu-compare td {
  text-align: left;
  font-size: 0.95rem;
  vertical-align: middle;
}

.wu-compare thead th {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 1.25rem 1.75rem;
}

.wu-compare thead th:first-child {
  background-color: #0b3c2e;
  color: #fff;
  border-top-left-radius: 1.25rem;
  width: 36%;
}

.wu-compare thead th:nth-child(2) {
  background-color: #0d8a54;
  color: #fff;
  text-align: left;
  padding-left: 2.25rem;
  width: 32%;
  font-size: 1.05rem;
}

.wu-compare thead th:last-child {
  background-color: #1e2d27;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  padding-left: 2.25rem;
  width: 32%;
  border-top-right-radius: 1.25rem;
}

.wu-compare tbody tr {
  transition: background-color 0.2s ease;
}

.wu-compare tbody tr:hover {
  background-color: rgba(25, 135, 84, 0.03);
}

.wu-compare tbody tr:nth-child(even) {
  background-color: #f8fbf9;
}

.wu-compare tbody tr:nth-child(even):hover {
  background-color: rgba(25, 135, 84, 0.05);
}

.wu-compare tbody td {
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid #eef4f0;
}

.wu-compare tbody tr:last-child td {
  border-bottom: 0;
}

.wu-compare tbody td:first-child {
  font-weight: 700;
  color: #0d4335;
}

.wu-comp__val {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.wu-compare tbody td:nth-child(2) {
  text-align: left;
  padding-left: 2.25rem;
  background-color: rgba(13, 138, 84, 0.04);
  font-weight: 600;
  color: #0d8a54;
  white-space: nowrap;
}

.wu-compare tbody td:nth-child(2) .wu-comp__val {
  justify-content: flex-start;
  width: auto;
}

.wu-compare tbody td:nth-child(2) i {
  color: #10b981;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin: 0;
}

.wu-compare tbody td:last-child {
  text-align: left;
  padding-left: 2.25rem;
  color: #4b5563;
  font-size: 0.925rem;
  white-space: nowrap;
}

.wu-compare tbody td:last-child .wu-comp__val {
  justify-content: flex-start;
  width: auto;
}

.wu-compare tbody td:last-child i {
  color: #ef4444;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin: 0;
}

.wu-compare tbody tr:last-child td:first-child { border-bottom-left-radius: 1.25rem; }
.wu-compare tbody tr:last-child td:last-child { border-bottom-right-radius: 1.25rem; }

/* --------------------------------------------------------------------------
   4. Newsletter card — same treatment as the About page's
   -------------------------------------------------------------------------- */

.wu-news-card {
  max-width: 46rem;
  margin-inline: auto;
  padding: 2.5rem 1.75rem;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, hsl(var(--hp-green-dark)), hsl(142 60% 40%));
  box-shadow: var(--hp-shadow-lift);
  text-align: center;
  color: hsl(0 0% 100% / .85);
}

.wu-news-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background-color: hsl(0 0% 100% / .14);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.home .wu-news-card__title {
  color: #fff;
  font-size: clamp(1.5rem, 3.6vw, 2.125rem);
  margin-bottom: 0.85rem;
}

.wu-news-card__lede {
  max-width: 30rem;
  margin: 0 auto 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.wu-news-card__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.wu-news-card__form input {
  flex: 1 1 16rem;
  min-width: 0;
  padding: 0.85rem 1.25rem;
  border: 1px solid hsl(0 0% 100% / .25);
  border-radius: 999px;
  background-color: hsl(0 0% 100% / .1);
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
}

.wu-news-card__form input::placeholder { color: hsl(0 0% 100% / .6); }

.wu-news-card__form input:focus {
  outline: 0;
  border-color: hsl(150 55% 70%);
  background-color: hsl(0 0% 100% / .16);
}

.wu-news-card__form button {
  flex-shrink: 0;
  padding: 0.85rem 1.75rem;
  border: 0;
  border-radius: 999px;
  background-color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: hsl(var(--hp-green-dark));
  cursor: pointer;
  transition: background-color .15s ease;
}

.wu-news-card__form button:hover { background-color: hsl(150 55% 92%); }

.wu-news-card__foot {
  font-size: 0.75rem;
  color: hsl(0 0% 100% / .65);
}

/* --------------------------------------------------------------------------
   5. Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .wu-outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .wu-news-card__form { flex-wrap: nowrap; }
}

@media (min-width: 992px) {
  .wu-outcome-grid { grid-template-columns: repeat(3, 1fr); }
}
