/* ════════════════════════════════════════════════════════════════════════
   Home page — templates/pages/home.html
   Loaded on the home page and the waitlist pages (templates/wishlist/), which
   share the hero, pill, button, icon and step-number pieces below. Every
   class is `hp-`, so nothing here can reach another page. The font (Inter)
   and the top bar come from styles.css.
   ════════════════════════════════════════════════════════════════════════ */
.hp {
  --hp-ink: #0D2A3D;
  --hp-text: #3B5568;
  --hp-sub: #4B6373;
  --hp-muted: #5C7887;
  --hp-faint: #8CA0AC;
  --hp-line: #E7ECEF;
  --hp-border: #E1EBF0;
  --hp-blue: #1568A8;
  --hp-blue-dark: #0D4D80;
  --hp-blue-soft: #E6F1FA;
  --hp-navy: #1B4F8B;
  --hp-navy-dark: #153F70;
  --hp-navy-soft: #E8EFF7;
  --hp-orange: #CC4A0B;
  --hp-orange-dark: #B03F08;
  --hp-green: #3FAE49;
  --hp-green-dark: #1E8A4C;
  --hp-green-soft: #E9F6EC;
  /* The logo's green, for the "after" side of the comparison. */
  --hp-leaf: #0CB10D;
  --hp-leaf-dark: #087A14;
  --hp-lime: #5DA82E;
  --hp-lime-soft: #EAF7E3;
  --hp-cyan: #2A9AC7;
  --hp-tint: #F6F9F7;
  --hp-on-dark: #B7CBD8;
  --hp-dark-fill: linear-gradient(90deg, #0D2A3D 0%, #12364E 100%);
  background: #FFFFFF;
  color: var(--hp-ink);
}

.hp .container { padding-left: 24px; padding-right: 24px; }

/* The site gives every <section> 4rem padding; each block here sets its own.
   :where() keeps this reset at element weight, so the classes below win. */
:where(.hp) section { padding: 0; }

.hp h1, .hp h2, .hp h3 { color: var(--hp-ink); letter-spacing: -0.02em; }

/* ── Shared pieces ─────────────────────────────────────────────────────── */
.hp-h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}
.hp-lede { font-size: 1rem; line-height: 1.6; color: var(--hp-muted); margin: 0; }
.hp-center { text-align: center; }
.hp-nowrap { white-space: nowrap; }
.hp-footnote { margin: 20px 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--hp-sub); }

.hp-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hp-blue);
}
.hp-eyebrow--light { color: var(--hp-on-dark); }

.hp-pill {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #E7F5EB;
  color: var(--hp-green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.hp-btn--lg { padding: 14px 28px; font-size: 1rem; }
.hp-btn--primary { background: var(--hp-blue); color: #FFFFFF; }
.hp-btn--primary:hover { background: var(--hp-blue-dark); color: #FFFFFF; }
.hp-btn--outline { background: #FFFFFF; color: var(--hp-blue); border-color: #C9DEEC; }
.hp-btn--outline:hover { border-color: var(--hp-blue); color: var(--hp-blue-dark); }
.hp-btn--orange { background: var(--hp-orange); color: #FFFFFF; }
.hp-btn--orange:hover { background: var(--hp-orange-dark); color: #FFFFFF; }
.hp-btn--navy { background: var(--hp-navy); color: #FFFFFF; }
.hp-btn--navy:hover { background: var(--hp-navy-dark); color: #FFFFFF; }
.hp-btn--white { background: #FFFFFF; color: var(--hp-ink); }
.hp-btn--white:hover { background: var(--hp-navy-soft); color: var(--hp-ink); }
.hp-btn:focus-visible,
.hp-search__tab:focus-visible,
.hp-card:focus-visible,
.hp-mentor:focus-visible,
.hp-report:focus-visible,
.hp-faq__item summary:focus-visible {
  outline: 3px solid rgba(21, 104, 168, 0.35);
  outline-offset: 2px;
}

.hp-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hp-actions--center { justify-content: center; }

.hp-section { padding: 72px 0; }
/* Back-to-back white sections share one gap. The featured rows can each be
   switched off from the admin, so which sections end up touching varies. */
.hp-section + .hp-section { padding-top: 0; }
.hp-band { padding: 80px 0; }
.hp-band--tint { background: var(--hp-tint); }

.hp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.hp-more { font-weight: 700; font-size: 0.95rem; color: var(--hp-blue); white-space: nowrap; }
.hp-more:hover { color: var(--hp-blue-dark); }

.hp-intro { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.hp-intro .hp-h2 { margin-bottom: 10px; }

/* ── Hero media (video, or pages/_home_photo.html) ─────────────────────── */
.hp-photo { width: 100%; border-radius: 16px; overflow: hidden; }
.hp-photo--wide {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hp-border);
  background: #F4FAF7;
  box-shadow: 0 18px 40px rgba(13, 42, 61, 0.1);
}
.hp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Letterboxed rather than cropped, so a video in another shape loses nothing. */
.hp-photo video { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--hp-ink); }
.hp-photo__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 78% 22%, rgba(63, 174, 73, 0.18), transparent 45%),
    radial-gradient(circle at 18% 82%, rgba(21, 104, 168, 0.16), transparent 50%),
    linear-gradient(135deg, var(--hp-blue-soft) 0%, var(--hp-green-soft) 100%);
}
.hp-photo__placeholder i { font-size: clamp(3rem, 7vw, 5rem); color: rgba(21, 104, 168, 0.28); }

/* ── Search banner ─────────────────────────────────────────────────────── */
.hp-search {
  position: relative;
  overflow: hidden;
  background: var(--hp-dark-fill);
}
.hp-search__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Keeps the tabs and the box readable over any photo. */
.hp-search::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 42, 61, 0.94) 0%, rgba(13, 42, 61, 0.8) 60%, rgba(13, 42, 61, 0.55) 100%);
  pointer-events: none;
}
.hp-search__inner { position: relative; z-index: 1; padding-top: 28px; padding-bottom: 28px; }
.hp-search__form { max-width: 920px; margin: 0 auto; }
.hp-search__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.hp-search__tab {
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--hp-on-dark);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}
.hp-search__tab:hover { background: rgba(255, 255, 255, 0.18); color: #FFFFFF; }
.hp-search__tab.is-active { background: var(--hp-green); color: #FFFFFF; }
.hp-search__row { display: flex; gap: 12px; }
.hp-search__box {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 16px;
  border-radius: 8px;
  background: #FFFFFF;
}
.hp-search__box i { color: var(--hp-faint); }
.hp-search__box input {
  width: 100%;
  padding: 13px 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--hp-ink);
}
.hp-search__box:focus-within { box-shadow: 0 0 0 3px rgba(63, 174, 73, 0.45); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hp-hero { background: linear-gradient(180deg, #F4FAF7 0%, #FFFFFF 100%); }
.hp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 64px;
}
.hp-hero__title {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.hp-hero__lede {
  max-width: 540px;
  margin: 0 0 32px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--hp-sub);
}

.hp-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.hp-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--hp-ink);
}
.hp-points__icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hp-navy-soft);
  color: var(--hp-navy);
  font-size: 0.95rem;
}

.hp-hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #DBE5EC;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--hp-ink);
}
.hp-chip i { color: var(--hp-green-dark); }
.hp-note { font-size: 0.85rem; color: var(--hp-sub); }

/* ── Degree-only → job-ready comparison ────────────────────────────────── */
.hp-compare {
  max-width: 920px;
  margin: 32px auto 0;
  border: 1px solid var(--hp-border);
  border-radius: 16px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 12px 32px rgba(13, 42, 61, 0.06);
}
.hp-compare table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.hp-compare th,
.hp-compare td {
  position: relative;
  padding: 18px 36px;
  font-size: 0.97rem;
  line-height: 1.4;
  text-align: left;
  vertical-align: middle;
}
.hp-compare th { padding-top: 22px; padding-bottom: 20px; font-weight: 600; }
.hp-compare th:first-child,
.hp-compare td:first-child { background: #F7F9FA; }
.hp-compare td { border-top: 1px solid #EDF1F4; }
.hp-compare tbody tr:first-child td { border-top-color: var(--hp-border); }
.hp-compare td:first-child { color: #5D707C; font-weight: 500; }
.hp-compare td:last-child { color: var(--hp-ink); font-weight: 600; }
.hp-compare__cell { display: flex; align-items: center; gap: 12px; }
.hp-compare__no,
.hp-compare__yes { flex: none; font-size: 1.3rem; }
.hp-compare__no { color: #B4C0C8; }
.hp-compare__yes { color: var(--hp-leaf); }
/* Sits on the line between the two columns. */
.hp-compare__arrow {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 1;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border: 1px solid #DBE5EC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(13, 42, 61, 0.08);
  color: var(--hp-navy);
  font-size: 0.75rem;
}
.hp-compare__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5D707C;
}
.hp-compare__meter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #5D707C;
}
.hp-compare__track {
  flex: none;
  display: block;
  width: 120px;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: #E3E8EC;
}
.hp-compare__track > span { display: block; width: 20%; height: 100%; border-radius: 999px; background: #9AA8B2; }
.hp-compare__after .hp-compare__label,
.hp-compare__after .hp-compare__meter { color: var(--hp-leaf-dark); }
.hp-compare__after .hp-compare__track { background: #D6EFD8; }
.hp-compare__after .hp-compare__track > span { width: 100%; background: var(--hp-leaf); }

/* ── Six steps ─────────────────────────────────────────────────────────── */
/* Bars rise from step to step; their bottoms line up because every step's
   text block keeps the same height. */
.hp-stairs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 24px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hp-stairs__step { display: flex; flex-direction: column; gap: 2px; }
.hp-stairs__bar {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  padding-top: 14px;
  box-sizing: border-box;
  border-radius: 12px 12px 4px 4px;
  font-size: 1.3rem;
  color: var(--hp-navy);
}
.hp-stairs__step--1 .hp-stairs__bar { height: 72px; background: #E8EFF7; }
.hp-stairs__step--2 .hp-stairs__bar { height: 96px; background: #D5E1EE; }
.hp-stairs__step--3 .hp-stairs__bar { height: 120px; background: #BCCFE4; }
.hp-stairs__step--4 .hp-stairs__bar { height: 144px; background: #93B1D2; }
.hp-stairs__step--5 .hp-stairs__bar { height: 168px; background: #4B74A8; color: #FFFFFF; }
.hp-stairs__step--6 .hp-stairs__bar { height: 192px; background: var(--hp-navy); color: #FFFFFF; }
.hp-stairs__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-sub);
}
.hp-stairs__title { font-size: 1rem; line-height: 1.35; color: var(--hp-ink); }
.hp-stairs__text { min-height: 2.9em; font-size: 0.875rem; line-height: 1.45; color: var(--hp-sub); }

/* ── Course / internship / mentor cards ────────────────────────────────── */
.hp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.hp-card,
.hp-mentor {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  background: #FFFFFF;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hp-card:hover,
.hp-mentor:hover { color: inherit; box-shadow: 0 10px 28px rgba(13, 42, 61, 0.1); transform: translateY(-2px); }
.hp-card { overflow: hidden; }
.hp-card__media {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hp-blue-soft) 0%, var(--hp-green-soft) 100%);
}
.hp-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-card__icon { font-size: 2rem; color: rgba(21, 104, 168, 0.45); }
.hp-card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.hp-card__tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.hp-tone-1 { color: var(--hp-green-dark); }
.hp-tone-2 { color: var(--hp-blue); }
.hp-tone-3 { color: var(--hp-lime); }
.hp-tone-4 { color: var(--hp-cyan); }
.hp-card__title { font-size: 0.95rem; font-weight: 700; line-height: 1.35; margin: 0; letter-spacing: 0; }
.hp-card__meta { font-size: 0.82rem; color: var(--hp-faint); }

.hp-mentor { align-items: flex-start; gap: 4px; padding: 22px; }
.hp-mentor__avatar {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hp-navy-soft);
  color: var(--hp-navy);
  font-size: 1.5rem;
}
.hp-mentor__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-mentor__name { font-size: 1rem; line-height: 1.35; color: var(--hp-ink); }
.hp-mentor__role { font-size: 0.875rem; line-height: 1.45; color: var(--hp-text); }
.hp-mentor__edu { font-size: 0.82rem; line-height: 1.45; color: var(--hp-sub); }
.hp-mentor__badge {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hp-green-dark);
}

/* ── Mentors + pilot panels, and the colleges panel ────────────────────── */
.hp-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hp-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--hp-border);
  border-radius: 16px;
  background: #FFFFFF;
}
.hp-panel--dark { border-color: transparent; background: var(--hp-dark-fill); color: #FFFFFF; }
.hp-panel__title { margin: 0; font-size: 1.5rem; font-weight: 800; line-height: 1.25; }
.hp-panel--dark .hp-panel__title,
.hp-colleges .hp-panel__title { color: #FFFFFF; }

.hp-avatars { display: flex; }
.hp-avatars__item {
  position: relative;
  width: 48px;
  height: 48px;
  box-sizing: border-box;
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hp-navy-soft);
  color: var(--hp-navy);
  font-size: 1.1rem;
}
.hp-avatars__item + .hp-avatars__item { margin-left: -10px; }
.hp-avatars__item--green { background: var(--hp-green-soft); color: var(--hp-green-dark); }
/* The "verified" tick on each face: Font Awesome's check glyph. */
.hp-avatars__item::after {
  content: "\f00c";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hp-green-dark);
  color: #FFFFFF;
  font-family: "Font Awesome 6 Free";
  font-size: 8px;
  font-weight: 900;
}

.hp-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--hp-ink);
}
.hp-checks li { display: flex; align-items: flex-start; gap: 12px; }
.hp-checks i { flex: none; width: 20px; margin-top: 3px; text-align: center; color: var(--hp-navy); }

.hp-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hp-figure { padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); }
.hp-figure strong {
  display: block;
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.hp-figure span { display: block; font-size: 0.875rem; line-height: 1.45; color: var(--hp-on-dark); }
.hp-report {
  grid-column: 1 / -1;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--hp-ink);
  text-decoration: none;
  transition: background 0.2s ease;
}
.hp-report:hover { background: var(--hp-navy-soft); color: var(--hp-ink); }
.hp-report__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hp-navy-soft);
  color: var(--hp-navy);
  font-size: 1.1rem;
}
.hp-report:hover .hp-report__icon { background: #FFFFFF; }
.hp-report__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hp-report__text strong { font-size: 1rem; line-height: 1.4; }
.hp-report__text > span { font-size: 0.875rem; font-weight: 600; color: var(--hp-navy); }
.hp-report__text i { margin-left: 4px; font-size: 0.75rem; }

.hp-colleges {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px 48px;
  padding: 36px;
  border-radius: 16px;
  background: var(--hp-dark-fill);
  color: #FFFFFF;
}
.hp-colleges__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hp-colleges__intro .hp-eyebrow { margin-bottom: 0; }
.hp-colleges__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  line-height: 1.45;
}
.hp-colleges__list li { display: flex; align-items: center; gap: 12px; }
.hp-colleges__list i { flex: none; width: 22px; text-align: center; font-size: 1.1rem; }

/* ── Testimonials ──────────────────────────────────────────────────────── */
/* Centred, so one or two testimonials don't hug the left edge. */
.hp-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 380px));
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.hp-quote { margin: 0; padding: 28px; border: 1px solid var(--hp-line); border-radius: 12px; background: #FFFFFF; }
.hp-quote blockquote { margin: 0 0 20px; font-size: 0.95rem; line-height: 1.6; color: var(--hp-text); }
.hp-quote strong { display: block; font-size: 0.875rem; color: var(--hp-ink); }
.hp-quote span { display: block; font-size: 0.82rem; color: var(--hp-faint); }

/* ── Quick answers ─────────────────────────────────────────────────────── */
.hp .hp-faq { max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.hp-faq .hp-h2 { margin-bottom: 14px; }
.hp-faq__item { border: 1px solid var(--hp-border); border-radius: 10px; background: #FFFFFF; }
.hp-faq__item summary {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--hp-ink);
  cursor: pointer;
}
.hp-faq__answer { padding: 0 18px 14px; font-size: 0.94rem; line-height: 1.6; color: var(--hp-sub); }
.hp-faq__answer > :last-child { margin-bottom: 0; }

/* ── Waitlist pages only (templates/wishlist/) ─────────────────────────── */
.hp-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.2rem;
}
.hp-icon--blue { background: var(--hp-blue-soft); color: var(--hp-blue); }
.hp-icon--green { background: var(--hp-green-soft); color: var(--hp-green-dark); }
.hp-icon--lime { background: var(--hp-lime-soft); color: var(--hp-lime); }

.hp-steps__num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #FFFFFF;
  font-weight: 700;
}
.hp-steps__num--1 { background: var(--hp-blue); }
.hp-steps__num--2 { background: var(--hp-cyan); }
.hp-steps__num--3 { background: #2FA36B; }

/* ── Tablet ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-stairs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-hero__grid,
  .hp-duo,
  .hp-colleges { grid-template-columns: minmax(0, 1fr); }
  .hp-hero__grid { gap: 36px; padding-top: 48px; padding-bottom: 48px; }
  .hp-hero .hp-photo { max-width: 640px; }
}

/* ── Phone ─────────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .hp .container { padding-left: 16px; padding-right: 16px; }
  .hp-section { padding: 48px 0; }
  .hp-band { padding: 56px 0; }
  .hp-search__inner { padding-top: 20px; padding-bottom: 20px; }
  .hp-search__row { flex-direction: column; }
  .hp-search__row .hp-btn { width: 100%; }
  .hp-cards,
  .hp-quotes { grid-template-columns: minmax(0, 1fr); }
  .hp-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 24px; }
  .hp-actions .hp-btn { flex: 1 1 100%; }
  .hp-hero__lede { font-size: 1rem; }
  .hp-pill { font-size: 0.72rem; letter-spacing: 0.02em; }
  .hp-points li { font-size: 1rem; }

  .hp-compare th,
  .hp-compare td { padding: 14px 18px; font-size: 0.875rem; }
  .hp-compare__cell { gap: 10px; }
  .hp-compare__label { font-size: 0.6875rem; letter-spacing: 0.04em; }
  .hp-compare__meter { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 0.75rem; }
  .hp-compare__track { width: 100%; }
  .hp-compare__arrow { width: 24px; height: 24px; }

  /* A rising bar means nothing once the steps stack, so each becomes a list
     row with its icon in a tile. */
  .hp-stairs { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hp-stairs__step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; }
  .hp-stairs .hp-stairs__bar {
    grid-row: 1 / span 3;
    height: 48px;
    margin-bottom: 0;
    padding-top: 0;
    align-items: center;
    border-radius: 10px;
    font-size: 1.1rem;
  }
  .hp-stairs__text { min-height: 0; }

  .hp-panel { padding: 22px; }
  .hp-colleges { padding: 24px; }
  .hp-figure strong { font-size: 1.75rem; }
}
