:root {
  --brand-red: #6c0f2b;
  --brand-red-dark: #520d15;
  --brand-green: #6f8d3d;
  --ink: #1d2026;
  --muted: #626b76;
  --line: #dde3ea;
  --paper: #ffffff;
  --soft: #f5f7f9;
  --charcoal: #111318;
  --shadow: 0 18px 45px rgba(17, 19, 24, 0.12);
}

/* Realtors */
.realtor-page {
  --realtor-navy: #17242d;
  --realtor-slate: #344651;
  --realtor-gold: #efc56f;
  color: var(--ink);
  overflow: hidden;
}

.realtor-page h1,
.realtor-page h2,
.realtor-page h3,
.realtor-page p {
  margin-top: 0;
}

.realtor-page h2 {
  color: var(--realtor-navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.realtor-page .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 50px;
  text-align: center;
}

.realtor-page .btn:focus-visible {
  outline: 3px solid var(--realtor-gold);
  outline-offset: 3px;
}

.realtor-hero {
  background: var(--realtor-navy);
  color: #fff;
  isolation: isolate;
  min-height: 720px;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 0;
  position: relative;
}

.realtor-hero::before {
  background: linear-gradient(90deg, rgba(12, 21, 27, 0.98) 0%, rgba(17, 31, 39, 0.93) 48%, rgba(17, 31, 39, 0.62) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.realtor-hero::after {
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, #000, transparent 68%);
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.realtor-hero__image {
  background: url("../images/homes/realty/realtorFamily.png") 69% center / cover no-repeat;
  inset: 0 0 0 44%;
  opacity: 0.58;
  position: absolute;
  z-index: -2;
}

.realtor-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.14fr) minmax(330px, 0.72fr);
}

.realtor-hero__copy {
  max-width: 760px;
}

.realtor-hero .home-kicker,
.realtor-final .home-kicker {
  color: var(--realtor-gold);
}

.realtor-hero h1 {
  color: #fff;
  font-size: clamp(3.1rem, 6vw, 5.6rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
  margin-bottom: 1.5rem;
  max-width: 11ch;
}

.realtor-hero__lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  line-height: 1.65;
  max-width: 680px;
}

.realtor-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.realtor-btn--primary {
  background: var(--brand-green);
  border: 1px solid var(--brand-green);
  color: #fff;
}

.realtor-btn--primary:hover {
  background: #5c7731;
  border-color: #5c7731;
  color: #fff;
  transform: translateY(-2px);
}

.realtor-btn--light {
  background: #fff;
  border: 1px solid #fff;
  color: var(--brand-red);
}

.realtor-btn--light:hover {
  background: #f6f2f3;
  border-color: #f6f2f3;
  color: var(--brand-red-dark);
  transform: translateY(-2px);
}

.realtor-btn--outline {
  background: rgba(12, 21, 27, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.realtor-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.realtor-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.realtor-hero__proof li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding-left: 1rem;
  position: relative;
  text-transform: uppercase;
}

.realtor-hero__proof li::before {
  background: var(--realtor-gold);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.48em;
  width: 6px;
}

.realtor-hero__story {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  padding: 1.5rem;
  transform: rotate(1deg);
}

.realtor-hero__story-label {
  color: var(--muted);
  display: block;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.realtor-hero__story-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 42px 1fr;
  padding: 1rem 0;
}

.realtor-hero__story-row > span {
  align-items: center;
  border-radius: 50%;
  display: flex;
  font-size: 0.9rem;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.realtor-hero__story-row strong,
.realtor-hero__story-row small {
  display: block;
}

.realtor-hero__story-row strong {
  color: var(--realtor-navy);
}

.realtor-hero__story-row small {
  color: var(--muted);
  line-height: 1.4;
}

.realtor-hero__story-row--muted > span {
  background: #edf0f2;
  color: #7a858d;
}

.realtor-hero__story-row--clear {
  border: 0;
}

.realtor-hero__story-row--clear > span {
  background: #e7efe1;
  color: #4d6f27;
}

.realtor-hero__story-divider {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin: 0.55rem 0 -0.35rem;
}

.realtor-hero__story-divider::before,
.realtor-hero__story-divider::after {
  background: #dbcdd2;
  content: "";
  height: 1px;
  width: 100%;
}

.realtor-hero__story-divider span {
  color: var(--brand-red);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.realtor-why,
.realtor-close,
.realtor-tools {
  padding: clamp(4.75rem, 8vw, 7.5rem) 0;
}

.realtor-why__grid,
.realtor-estimator__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.86fr);
}

.realtor-section-lead,
.realtor-heading > p:not(.home-kicker),
.realtor-estimator__copy > p:not(.home-kicker) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.realtor-statement {
  color: var(--brand-red);
  font-size: 1.25rem;
  font-weight: 800;
}

.realtor-checklist {
  display: grid;
  gap: 0.78rem;
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
}

.realtor-checklist li {
  color: var(--realtor-navy);
  font-weight: 650;
  line-height: 1.5;
  padding-left: 2rem;
  position: relative;
}

.realtor-checklist li::before {
  align-items: center;
  background: var(--brand-red);
  border-radius: 50%;
  color: #fff;
  content: "✓";
  display: flex;
  font-size: 0.68rem;
  height: 20px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0.1em;
  width: 20px;
}

.realtor-closing-copy {
  color: var(--realtor-navy);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.6;
}

.realtor-vision {
  min-height: 520px;
  position: relative;
}

.realtor-vision::before {
  background: #f1e9ec;
  border-radius: 50%;
  content: "";
  height: 400px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
}

.realtor-vision__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(23, 36, 45, 0.16);
  margin: 0;
  overflow: hidden;
  position: absolute;
  width: min(82%, 390px);
}

.realtor-vision__card img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.realtor-vision__card figcaption {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
}

.realtor-vision__card figcaption span {
  color: var(--brand-red);
  font-size: 0.75rem;
  font-weight: 850;
}

.realtor-vision__card figcaption strong {
  color: var(--realtor-navy);
  font-size: 0.9rem;
}

.realtor-vision__card--current {
  left: 0;
  top: 1rem;
  transform: rotate(-3deg);
}

.realtor-vision__card--future {
  bottom: 1rem;
  right: 0;
  transform: rotate(3deg);
}

.realtor-vision__badge {
  align-items: center;
  background: var(--brand-red);
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(108, 15, 43, 0.28);
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: 0.66rem;
  font-weight: 850;
  height: 92px;
  justify-content: center;
  left: 50%;
  letter-spacing: 0.04em;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  z-index: 2;
}

.realtor-vision__badge b {
  color: var(--realtor-gold);
  line-height: 1;
}

.realtor-estimator {
  background: #f2f0f1;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: clamp(4.75rem, 8vw, 7.5rem) 0;
}

.realtor-estimator__copy h2 {
  margin-bottom: 1.25rem;
  max-width: 12ch;
}

.realtor-estimator__copy .btn {
  margin-top: 0.5rem;
}

.realtor-estimator__visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 650px;
  position: relative;
}

.realtor-estimator__visual::before {
  background: var(--realtor-navy);
  border-radius: 44% 56% 60% 40%;
  content: "";
  height: 530px;
  position: absolute;
  transform: rotate(-6deg);
  width: min(100%, 490px);
}

.realtor-estimator__device {
  margin: 0;
  position: relative;
  transform: rotate(2deg);
  z-index: 1;
}

.realtor-price {
  background: var(--brand-red);
  border: 5px solid #f2f0f1;
  border-radius: 18px;
  bottom: 2.5rem;
  box-shadow: 0 18px 40px rgba(23, 36, 45, 0.3);
  color: #fff;
  display: grid;
  min-width: 210px;
  padding: 1.1rem 1.25rem;
  position: absolute;
  right: 0;
  z-index: 2;
}

.realtor-price > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.realtor-price strong {
  align-items: baseline;
  display: flex;
  gap: 0.25rem;
}

.realtor-price b {
  color: var(--realtor-gold);
  font-size: 2.7rem;
  line-height: 1.1;
}

.realtor-price small {
  color: rgba(255, 255, 255, 0.72);
}

.realtor-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 800px;
}

.realtor-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.realtor-close__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
}

.realtor-benefit-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.realtor-benefit-list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 42px 1fr;
  padding: 0.95rem 0;
}

.realtor-benefit-list li > span {
  color: var(--brand-red);
  font-size: 0.75rem;
  font-weight: 850;
}

.realtor-benefit-list p {
  color: var(--realtor-navy);
  font-weight: 650;
  line-height: 1.5;
  margin-bottom: 0;
}

.realtor-video {
  aspect-ratio: 16 / 10;
  background: var(--realtor-navy);
  border-radius: 22px;
  box-shadow: 0 28px 62px rgba(23, 36, 45, 0.2);
  overflow: hidden;
  position: relative;
}

.realtor-video::after {
  background: linear-gradient(180deg, rgba(11, 18, 23, 0.06), rgba(11, 18, 23, 0.82));
  content: "";
  inset: 0;
  position: absolute;
}

.realtor-video > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.realtor-video__overlay {
  align-items: center;
  bottom: 1.5rem;
  color: #fff;
  display: flex;
  gap: 1rem;
  left: 1.5rem;
  position: absolute;
  right: 1.5rem;
  z-index: 1;
}

.realtor-video__icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  display: flex;
  flex: 0 0 54px;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.realtor-video__icon::before {
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--brand-red);
  border-top: 8px solid transparent;
  content: "";
  margin-left: 3px;
}

.realtor-video__overlay strong,
.realtor-video__overlay small {
  display: block;
}

.realtor-video__overlay strong {
  font-size: 1.15rem;
}

.realtor-video__overlay small {
  color: rgba(255, 255, 255, 0.72);
}

.realtor-tools {
  background: var(--realtor-navy);
  color: #fff;
}

.realtor-tools h2 {
  color: #fff;
}

.realtor-tools .home-kicker {
  color: var(--realtor-gold);
}

.realtor-tools .realtor-heading > p:not(.home-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.realtor-dashboard {
  background: #f5f6f7;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.35);
  color: var(--ink);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  max-width: 1040px;
  overflow: hidden;
}

.realtor-dashboard__bar {
  align-items: center;
  background: #e8eaec;
  border-bottom: 1px solid #d4d8dc;
  display: flex;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.realtor-dashboard__bar span {
  background: #aeb5bb;
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.realtor-dashboard__bar strong {
  color: #6d767d;
  font-size: 0.75rem;
  margin-left: auto;
}

.realtor-dashboard__placeholder {
  align-items: center;
  background: radial-gradient(circle at 50% 110%, rgba(108, 15, 43, 0.12), transparent 50%), #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(300px, 43vw, 500px);
  padding: 3rem 1.5rem;
  text-align: center;
}

.realtor-dashboard__placeholder h3 {
  color: var(--realtor-navy);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.65rem;
}

.realtor-dashboard__placeholder > p:last-child {
  color: var(--muted);
  max-width: 470px;
}

.realtor-dashboard__mark {
  align-items: end;
  background: var(--brand-red);
  border-radius: 18px;
  display: flex;
  gap: 5px;
  height: 76px;
  justify-content: center;
  margin-bottom: 1.3rem;
  padding: 18px;
  transform: rotate(-2deg);
  width: 76px;
}

.realtor-dashboard__mark span {
  background: #fff;
  border-radius: 3px 3px 0 0;
  height: 45%;
  width: 8px;
}

.realtor-dashboard__mark span:nth-child(2) {
  height: 72%;
}

.realtor-dashboard__mark span:nth-child(3) {
  background: var(--realtor-gold);
  height: 100%;
}

.realtor-tool-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.realtor-tool-grid article {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 1rem;
}

.realtor-tool-grid span {
  color: var(--realtor-gold);
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  margin-bottom: 0.65rem;
}

.realtor-tool-grid p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.55;
  margin-bottom: 0;
}

.realtor-tools__closing {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 750;
  margin: 2.5rem auto 0;
  max-width: 680px;
  text-align: center;
}

.realtor-final {
  background: radial-gradient(circle at 93% 105%, rgba(239, 197, 111, 0.23), transparent 28rem), var(--brand-red);
  color: #fff;
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
}

.realtor-final__grid {
  align-items: center;
  display: grid;
  gap: 2.25rem clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
}

.realtor-final h2 {
  color: #fff;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  margin-bottom: 1rem;
}

.realtor-final__copy > p:not(.home-kicker) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 690px;
}

.realtor-final__price strong {
  color: #fff;
}

.realtor-final__steps {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.realtor-final__steps li {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 36px 1fr;
  padding: 0.85rem 1rem;
}

.realtor-final__steps span {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--brand-red);
  display: flex;
  font-size: 0.85rem;
  font-weight: 850;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.realtor-final__steps p {
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0;
}

.realtor-final__actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

@media (max-width: 991.98px) {
  .realtor-hero__grid,
  .realtor-why__grid,
  .realtor-estimator__grid,
  .realtor-close__grid,
  .realtor-final__grid {
    grid-template-columns: 1fr;
  }

  .realtor-hero__story {
    max-width: 620px;
    transform: none;
  }

  .realtor-vision {
    margin: 0 auto;
    max-width: 620px;
    width: 100%;
  }

  .realtor-estimator__visual {
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
  }

  .realtor-close__grid > div:first-child {
    max-width: 760px;
  }

  .realtor-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .realtor-tool-grid article:last-child {
    grid-column: 1 / -1;
  }

  .realtor-final__steps {
    max-width: 620px;
  }

  .realtor-final__actions {
    grid-column: auto;
  }
}

@media (max-width: 767.98px) {
  .realtor-hero {
    min-height: auto;
    padding: 4.5rem 0;
  }

  .realtor-hero__image {
    inset: 0;
    opacity: 0.35;
  }

  .realtor-hero::before {
    background: rgba(12, 21, 27, 0.88);
  }

  .realtor-hero h1 {
    font-size: clamp(2.75rem, 12vw, 4.25rem);
  }

  .realtor-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .realtor-actions .btn {
    width: 100%;
  }

  .realtor-vision {
    display: grid;
    gap: 1rem;
    min-height: 0;
  }

  .realtor-vision::before,
  .realtor-vision__badge {
    display: none;
  }

  .realtor-vision__card {
    position: relative;
    transform: none;
    width: 100%;
  }

  .realtor-vision__card--current,
  .realtor-vision__card--future {
    inset: auto;
  }

  .realtor-tool-grid {
    grid-template-columns: 1fr;
  }

  .realtor-tool-grid article,
  .realtor-tool-grid article:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
    grid-column: auto;
    padding: 0.5rem 0 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .realtor-page h2 {
    font-size: 2.2rem;
  }

  .realtor-hero h1 {
    font-size: 2.75rem;
  }

  .realtor-hero__story {
    padding: 1.15rem;
  }

  .realtor-hero__story-row {
    gap: 0.75rem;
    grid-template-columns: 36px 1fr;
  }

  .realtor-hero__story-row > span {
    height: 36px;
    width: 36px;
  }

  .realtor-estimator__visual {
    min-height: 610px;
  }

  .realtor-estimator__device {
    width: min(88%, 310px);
  }

  .realtor-price {
    bottom: 0.5rem;
    min-width: 190px;
    right: 0;
  }

  .realtor-price b {
    font-size: 2.35rem;
  }

  .realtor-video__overlay {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }

  .realtor-dashboard__placeholder {
    min-height: 330px;
    padding: 2.5rem 1.25rem;
  }

  .realtor-dashboard__bar strong {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .realtor-page *,
  .realtor-page *::before,
  .realtor-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: var(--brand-red);
  text-decoration: none;
}

a:hover {
  color: var(--brand-red-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.12;
  font-weight: 750;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  max-width: 1180px;
}

.site-nav {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(17, 19, 24, 0.05);
}

.brand img {
  width: 142px;
  max-height: 76px;
  object-fit: contain;
}

.site-nav .container {
  max-width: 1320px;
}

.site-nav .navbar-collapse {
  gap: 1rem;
}

.site-nav__links {
  gap: 0.08rem;
}

.nav-link {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
  margin: 0;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--brand-red);
}

.btn {
  border-radius: 6px;
  border-width: 2px;
  font-weight: 750;
  padding: 0.82rem 1.15rem;
}

.btn-sm {
  padding: 0.55rem 0.9rem;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.48rem 0.72rem;
  font-size: 0.78rem;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-brand {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

.btn-brand:hover {
  background: var(--brand-red-dark);
  border-color: var(--brand-red-dark);
  color: #fff;
}

.btn-outline-light {
  border-color: #fff;
  color: #fff;
}

.btn-outline-light:hover,
.btn-light-brand {
  background: #fff;
  color: var(--brand-red);
  border-color: #fff;
}

.btn-header-secondary {
  background: #fff;
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.btn-header-secondary:hover {
  background: rgba(108, 15, 43, 0.08);
  border-color: var(--brand-red-dark);
  color: var(--brand-red-dark);
}

.btn-header-login {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

.btn-header-login:hover {
  background: #2b3038;
  border-color: #2b3038;
  color: #fff;
}

.site-nav__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.25rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero,
.page-hero {
  position: relative;
  color: #fff;
  isolation: isolate;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 19, 24, 0.88), rgba(17, 19, 24, 0.48));
}

.hero-home {
  min-height: 680px;
  background: url("../images/homes/moHomeImgBgTop.png") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero__content {
  padding: 7rem 0;
  max-width: 850px;
}

.lead {
  max-width: 760px;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--brand-green);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section {
  padding: 5.5rem 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.role-card,
.info-card,
.feature-card,
.step-card,
.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(17, 19, 24, 0.06);
}

.role-card {
  min-height: 210px;
  padding: 1.4rem;
  color: var(--ink);
}

.role-card span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--brand-red);
  font-size: 1.2rem;
  font-weight: 800;
}

.role-card p {
  color: var(--muted);
}

.role-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.role-card--featured {
  background: var(--brand-red);
  color: #fff;
}

.role-card--featured span,
.role-card--featured p {
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 3.5rem;
}

.split--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split img,
.info-card img,
.feature-card img {
  border-radius: 8px;
}

.muted-section,
.audience-section {
  background: var(--soft);
}

.image-band,
.process-section {
  background: var(--charcoal);
  color: #fff;
}

.image-band p,
.process-section p {
  color: rgba(255, 255, 255, 0.78);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.step-card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.step-card span {
  color: var(--brand-green);
  font-weight: 850;
}

.page-hero {
  min-height: 430px;
  display: flex;
  align-items: center;
  background: var(--charcoal);
}

.page-hero .container {
  max-width: 880px;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.page-hero--about {
  background: url("../images/homes/moHomeImgBtm.png") center/cover no-repeat;
}

.page-hero--borrowers {
  background: url("../images/homes/borrower/borrowerJourney.png") center/cover no-repeat;
}

.page-hero--lenders,
.page-hero--contractors,
.page-hero--consultants,
.page-hero--realtors,
.page-hero--contact,
.page-hero--simple {
  background: var(--charcoal);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card,
.info-card {
  padding: 1.25rem;
}

.feature-card img,
.info-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--soft);
  margin-bottom: 1rem;
}

.feature-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.feature-card--wide img {
  margin: 0;
}

.info-card h2,
.feature-card h2 {
  font-size: 1.35rem;
}

.cta-band {
  background: var(--brand-red-dark);
  color: #fff;
  padding: 3.5rem 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  background: #0c0e12;
  color: rgba(255, 255, 255, 0.74);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-logo {
  width: 170px;
  margin-bottom: 1rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.45rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.faq-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.faq-categories {
  display: grid;
  gap: 1rem;
}

.faq-categories div {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.faq-categories img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.accordion-button:not(.collapsed) {
  background: var(--brand-red);
  color: #fff;
}

.contact-panel,
.contact-form {
  padding: 2rem;
}

.contact-methods {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
  font-weight: 750;
}

.form-row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-weight: 750;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(108, 15, 43, 0.16);
  border-color: var(--brand-red);
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .card-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .site-nav {
    padding: 0.55rem 0;
  }

  .site-nav .navbar-collapse {
    gap: 0;
    padding: 1rem 0 0.35rem;
  }

  .site-nav__links {
    gap: 0;
  }

  .nav-link {
    padding: 0.72rem 0;
    font-size: 0.96rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin: 1rem 0 0;
  }

  .btn-header {
    width: 100%;
    min-height: 42px;
    font-size: 0.86rem;
  }
}

@media (max-width: 900px) {
  .hero-home {
    min-height: 560px;
  }

  .split,
  .split--reverse,
  .feature-card--wide,
  .faq-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 136px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero__content {
    padding: 5rem 0;
  }

  .button-row .btn {
    width: 100%;
  }
}

/* Homepage */
.home-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #17191d;
  color: #fff;
  isolation: isolate;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(18, 19, 22, 0.96) 0%, rgba(18, 19, 22, 0.82) 48%, rgba(18, 19, 22, 0.52) 100%);
}

.home-hero__images {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  filter: grayscale(0.65) saturate(0.65);
}

.home-hero__image {
  background-position: center;
  background-size: cover;
}

.home-hero__image--before {
  background-image: url("../images/homepage/outdated-kitchen.png");
}

.home-hero__image--after {
  background-image: url("../images/homepage/renovated-bathroom.png");
}

.home-hero__inner {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.home-hero__copy {
  max-width: 720px;
}

.home-kicker {
  margin-bottom: 0.75rem;
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 700px;
  font-size: clamp(2.75rem, 5vw, 4.9rem);
}

.home-hero__lead,
.home-lead {
  max-width: 680px;
  font-size: 1.18rem;
}

.home-hero__lead {
  color: rgba(255, 255, 255, 0.88);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.85rem;
  margin-top: 2rem;
}

.home-action {
  min-height: 64px;
}

.home-action--primary {
  display: grid;
  gap: 0.25rem;
}

.home-action--primary > span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
}

.btn-estimator {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.btn:disabled,
.btn.disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.home-action--consultant {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  width: min(100%, 270px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-red);
  font-weight: 800;
}

.home-action--consultant:hover {
  background: #fff;
  color: var(--brand-red-dark);
}

.home-action--consultant img {
  width: 68px;
  height: 62px;
  object-fit: cover;
}

.home-action--consultant span {
  padding: 0.65rem 0.8rem;
}

.home-hero__microcopy {
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.home-hero__microcopy span,
.cta-note span {
  padding: 0 0.35rem;
}

.estimator-device {
  width: min(100%, 310px);
  margin-inline: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 36px;
  background: #0b0c0f;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

.estimator-device__speaker {
  width: 64px;
  height: 5px;
  margin: 2px auto 10px;
  border-radius: 999px;
  background: #3d4148;
}

.estimator-device__screen {
  min-height: 500px;
  padding: 1.25rem;
  border-radius: 25px;
  background: #f7f7f5;
  color: var(--ink);
}

.estimator-device__brand {
  color: var(--brand-red);
  font-size: 1.1rem;
  font-weight: 850;
}

.estimator-device__screen > p {
  margin: 1.5rem 0 0.8rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.estimate-room,
.estimate-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.78rem;
}

.estimate-room {
  border-radius: 6px 6px 0 0;
}

.estimate-room strong {
  color: var(--brand-green);
}

.estimate-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ebec;
}

.estimate-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.estimate-total {
  display: grid;
  margin-top: 0.85rem;
  border-radius: 6px;
}

.estimate-total strong {
  color: var(--brand-red);
  font-size: 1rem;
}

.home-section {
  padding: 6rem 0;
}

.home-split,
.education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.home-section__copy h2 {
  max-width: 650px;
}

.home-lead {
  color: var(--muted);
}

.visualizer-comparison {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.visualizer-comparison__image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.visualizer-comparison__image img {
  width: 100%;
  height: 410px;
  object-fit: cover;
}

.visualizer-comparison__image span {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  background: rgba(17, 19, 24, 0.84);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.visualizer-comparison__caption {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.benefit-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 2rem 0;
  list-style: none;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.benefit-list li span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(108, 15, 43, 0.09);
  color: var(--brand-red);
  font-size: 0.72rem;
}

.cta-note {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.path-section,
.education-section {
  background: #f4f5f3;
}

.home-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.home-heading > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.home-heading--left {
  margin-left: 0;
  text-align: left;
}

.makeover-path {
  position: relative;
  min-height: 680px;
  max-width: 1120px;
  margin: 0 auto;
}

.makeover-path::before {
  content: "";
  position: absolute;
  inset: 78px 105px;
  border: 2px dashed rgba(108, 15, 43, 0.25);
  border-radius: 50%;
}

.makeover-path__center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.makeover-path__center img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.makeover-path__center span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
  background: rgba(17, 19, 24, 0.84);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.path-step {
  position: absolute;
  z-index: 1;
  width: 255px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 19, 24, 0.08);
}

.path-step > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 850;
}

.path-step h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.path-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.path-step--1 { top: 0; left: 50%; transform: translateX(-50%); }
.path-step--2 { top: 145px; right: 0; }
.path-step--3 { right: 74px; bottom: 40px; }
.path-step--4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.path-step--5 { bottom: 40px; left: 74px; }
.path-step--6 { top: 145px; left: 0; }

.path-section__close {
  max-width: 760px;
  margin: 1.5rem auto 0;
  text-align: center;
}

.path-section__close p {
  color: var(--muted);
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.audience-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(17, 19, 24, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.audience-card:hover {
  color: var(--ink);
  border-color: rgba(108, 15, 43, 0.35);
  box-shadow: 0 16px 38px rgba(17, 19, 24, 0.12);
  transform: translateY(-4px) scale(1.015);
}

.audience-card:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: 4px;
}

.audience-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.audience-card div {
  padding: 1.1rem;
}

.audience-card span {
  display: block;
  min-height: 2.6em;
  color: var(--brand-red);
  font-weight: 850;
  line-height: 1.3;
}

.audience-card p {
  min-height: 5em;
  margin: 0.65rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.audience-card strong {
  font-size: 0.82rem;
}

.education-assistant {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.education-assistant__top {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 800;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--brand-green);
}

.assistant-message,
.assistant-question {
  max-width: 84%;
  margin: 1.25rem;
  padding: 1rem;
  border-radius: 8px 8px 8px 2px;
  background: #f1f3f4;
}

.assistant-question {
  margin-left: auto;
  background: rgba(108, 15, 43, 0.09);
  border-radius: 8px 8px 2px 8px;
}

.assistant-message span,
.assistant-question span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.assistant-message p,
.assistant-question p {
  margin: 0.25rem 0 0;
}

.education-search {
  padding: 1.25rem;
  border-top: 1px solid var(--line);
}

.education-search label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.education-search > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.education-search input {
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid #bbc2ca;
  border-right: 0;
  border-radius: 6px 0 0 6px;
}

.education-search button {
  padding: 0.75rem 1rem;
  border: 2px solid var(--brand-red);
  border-radius: 0 6px 6px 0;
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
}

.education-search input:focus {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(111, 141, 61, 0.35);
  border-color: var(--brand-green);
}

.education-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 1.5rem 0 2rem;
  list-style: none;
}

.education-features li {
  padding: 0.45rem 0.65rem;
  border: 1px solid #cbd1d7;
  border-radius: 4px;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 750;
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.consultant-feature {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border-radius: 8px;
  background: var(--brand-red-dark);
  color: #fff;
}

.consultant-feature__copy {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.consultant-feature h3 {
  font-size: 2rem;
}

.consultant-feature__copy > p:not(.home-kicker) {
  color: rgba(255, 255, 255, 0.82);
}

.consultant-feature__map {
  min-height: 390px;
  background: #eef0ed;
}

.consultant-feature__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-options {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.team-options > p {
  color: var(--muted);
}

.team-options > a:not(.btn) {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.team-options > a:not(.btn):hover span {
  color: var(--brand-red-dark);
}

.team-options > a span {
  color: var(--brand-red);
  font-weight: 850;
}

.team-options > a p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.team-options .btn {
  margin-top: 1.25rem;
}

.trust-section {
  padding-bottom: 0;
  background: #17191d;
  color: #fff;
}

.trust-section .home-heading > p:last-child,
.trust-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-grid article {
  min-width: 0;
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-grid article:last-child {
  border-right: 0;
}

.trust-grid article > span {
  color: var(--brand-green);
  font-size: 0.8rem;
  font-weight: 850;
}

.trust-grid h3 {
  margin-top: 0.8rem;
}

.home-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3.5rem 0;
}

.home-final-cta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

@media (max-width: 1199.98px) {
  .home-hero__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  }

  .estimator-device {
    width: 270px;
  }

  .estimator-device__screen {
    min-height: 440px;
  }

  .audience-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .makeover-path::before {
    right: 65px;
    left: 65px;
  }

  .path-step--3 { right: 20px; }
  .path-step--5 { left: 20px; }
}

@media (max-width: 991.98px) {
  .home-hero,
  .home-hero__inner {
    min-height: auto;
  }

  .home-hero__inner,
  .home-split,
  .education-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .home-hero__inner {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .estimator-device {
    display: none;
  }

  .home-hero__copy {
    max-width: 760px;
  }

  .home-section {
    padding: 4.75rem 0;
  }

  .home-split .visualizer-comparison {
    order: 2;
  }

  .makeover-path {
    min-height: 0;
    display: grid;
    gap: 0;
    max-width: 720px;
  }

  .makeover-path::before {
    inset: 0 auto 0 27px;
    width: 2px;
    border: 0;
    border-left: 2px dashed rgba(108, 15, 43, 0.28);
    border-radius: 0;
  }

  .makeover-path__center {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-bottom: 1.25rem;
    border-width: 0;
    border-radius: 8px;
    transform: none;
  }

  .makeover-path__center img {
    height: 300px;
    aspect-ratio: auto;
  }

  .path-step,
  .path-step--1,
  .path-step--2,
  .path-step--3,
  .path-step--4,
  .path-step--5,
  .path-step--6 {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: 105px;
    padding: 1rem 0 1rem 0.25rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .path-step > div {
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
  }

  .path-step > span {
    z-index: 1;
  }

  .audience-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-card span,
  .audience-card p {
    min-height: 0;
  }

  .consultant-feature {
    grid-template-columns: 1fr 1.2fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid article:nth-child(2) {
    border-right: 0;
  }

  .trust-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .home-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .home-hero__images {
    grid-template-columns: 1fr;
  }

  .home-hero__image--before {
    display: none;
  }

  .home-hero::before {
    background: rgba(17, 19, 24, 0.82);
  }

  .home-hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-section {
    padding: 4rem 0;
  }

  .visualizer-comparison__image img {
    height: 300px;
  }

  .consultant-feature {
    grid-template-columns: 1fr;
  }

  .consultant-feature__map {
    min-height: 260px;
    order: -1;
  }

  .home-heading {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .home-hero__inner {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .home-hero h1 {
    font-size: 2.65rem;
  }

  .home-hero__lead,
  .home-lead {
    font-size: 1.05rem;
  }

  .home-action--primary,
  .home-action--consultant {
    width: 100%;
  }

  .home-action--primary .btn {
    width: 100%;
  }

  .visualizer-comparison {
    grid-template-columns: 1fr;
  }

  .visualizer-comparison__image img {
    height: 230px;
  }

  .visualizer-comparison__caption {
    grid-column: auto;
  }

  .audience-cards,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    display: grid;
    grid-template-columns: 112px 1fr;
  }

  .audience-card img {
    height: 100%;
    min-height: 160px;
  }

  .audience-card div {
    padding: 1rem;
  }

  .trust-grid article,
  .trust-grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .trust-grid article:last-child {
    border-bottom: 0;
  }

  .home-final-cta .button-row,
  .home-final-cta .btn {
    width: 100%;
  }

  .education-search > div {
    grid-template-columns: 1fr;
  }

  .education-search input,
  .education-search button {
    border: 1px solid #bbc2ca;
    border-radius: 6px;
  }

  .education-search button {
    margin-top: 0.5rem;
    border-color: var(--brand-red);
  }
}

@media (prefers-reduced-motion: reduce) {
  .audience-card {
    transition: none;
  }

  .audience-card:hover {
    transform: none;
  }
}

/* Public header navigation */
.public-header {
  position: relative;
  z-index: 100;
  background: #fff;
}

.public-nav {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 20px rgba(17, 19, 24, 0.06);
}

.public-nav__inner {
  width: calc(100% - 2rem);
  max-width: 1420px;
  min-height: 80px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.public-brand img {
  width: 108px;
  height: auto;
}

.public-nav__menu {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}

.public-nav__links,
.public-nav__dropdown-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.public-nav__links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
}

.public-nav__link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.42rem;
  border: 0;
  background: transparent;
  color: #272b31;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.2;
  white-space: nowrap;
}

.public-nav__link:hover,
.public-nav__link:focus-visible {
  color: var(--brand-red);
}

.public-nav__link.is-active,
.public-nav__dropdown.is-parent-active > .public-nav__link {
  color: var(--brand-red);
}

.public-nav__link.is-active::after,
.public-nav__dropdown.is-parent-active > .public-nav__link::after {
  content: "";
  position: absolute;
  right: 0.45rem;
  bottom: 3px;
  left: 0.45rem;
  height: 2px;
  background: var(--brand-red);
}

.public-nav__dropdown {
  position: relative;
}

.public-nav__dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 0.55rem;
}

.public-nav__dropdown-toggle {
  cursor: pointer;
}

.nav-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.public-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  width: 330px;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 19, 24, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -5px);
  visibility: hidden;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.public-nav__dropdown-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 0.55rem;
}

.public-nav__dropdown:not(.suppress-hover):hover .public-nav__dropdown-menu,
.public-nav__dropdown.is-open .public-nav__dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.public-nav__dropdown.is-open .nav-chevron {
  transform: translateY(2px) rotate(225deg);
}

.public-nav__dropdown-menu a {
  display: grid;
  gap: 0.1rem;
  padding: 0.72rem 0.8rem;
  border-radius: 5px;
  color: var(--ink);
}

.public-nav__dropdown-menu a:hover,
.public-nav__dropdown-menu a:focus-visible,
.public-nav__dropdown-menu a[aria-current="page"] {
  background: rgba(108, 15, 43, 0.07);
  color: var(--brand-red);
}

.public-nav__dropdown-menu span {
  font-size: 0.9rem;
  font-weight: 800;
}

.public-nav__dropdown-menu small {
  color: var(--muted);
  font-size: 0.74rem;
}

.public-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.public-nav__cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.65rem;
  border: 2px solid var(--brand-red);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 820;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.public-nav__cta--download {
  background: var(--brand-red);
  color: #fff;
}

.public-nav__cta--download:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.public-nav__cta--consultant {
  background: #fff;
  color: var(--brand-red);
}

.public-nav__cta--consultant:hover,
.public-nav__cta--consultant:focus-visible {
  background: rgba(108, 15, 43, 0.07);
  color: var(--brand-red-dark);
}

.public-nav__login {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.35rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.public-nav__login:hover,
.public-nav__login:focus-visible {
  color: var(--brand-red);
}

.public-nav__toggle {
  display: none;
}

.public-brand:focus-visible,
.public-nav__link:focus-visible,
.public-nav__dropdown-menu a:focus-visible,
.public-nav__cta:focus-visible,
.public-nav__login:focus-visible,
.public-nav__toggle:focus-visible {
  outline: 3px solid rgba(111, 141, 61, 0.55);
  outline-offset: 3px;
}

@media (max-width: 1299.98px) and (min-width: 1200px) {
  .public-nav__inner {
    gap: 0.8rem;
  }

  .public-brand img {
    width: 92px;
  }

  .public-nav__menu {
    gap: 0.45rem;
  }

  .public-nav__link {
    padding-right: 0.32rem;
    padding-left: 0.32rem;
    font-size: 0.7rem;
  }

  .public-nav__cta {
    padding-right: 0.48rem;
    padding-left: 0.48rem;
    font-size: 0.65rem;
  }
}

@media (max-width: 1199.98px) {
  body.nav-open {
    overflow: hidden;
  }

  .public-nav__inner {
    min-height: 72px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .public-brand img {
    width: 98px;
  }

  .public-nav__toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid #cdd2d7;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
  }

  .public-nav__toggle > span:not(.visually-hidden) {
    width: 20px;
    height: 2px;
    display: block;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .is-menu-open .public-nav__toggle > span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .is-menu-open .public-nav__toggle > span:nth-of-type(3) {
    opacity: 0;
  }

  .is-menu-open .public-nav__toggle > span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .public-nav__menu {
    position: fixed;
    inset: 72px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem max(1rem, calc((100vw - 720px) / 2));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--line);
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .is-menu-open .public-nav__menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .public-nav__links {
    display: block;
  }

  .public-nav__links > li {
    border-bottom: 1px solid var(--line);
  }

  .public-nav__link {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 0.7rem 0.2rem;
    font-size: 0.96rem;
  }

  .public-nav__link.is-active::after,
  .public-nav__dropdown.is-parent-active > .public-nav__link::after {
    top: 50%;
    right: auto;
    bottom: auto;
    left: -0.7rem;
    width: 3px;
    height: 24px;
    transform: translateY(-50%);
  }

  .public-nav__dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    padding: 0 0 0.6rem 0.75rem;
    border: 0;
    border-radius: 0;
    background: #f5f6f4;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .public-nav__dropdown.public-nav__dropdown.is-open .public-nav__dropdown-menu {
    display: grid;
    transform: none;
  }

  .public-nav__dropdown-menu::before {
    display: none;
  }

  .public-nav__dropdown::after {
    display: none;
  }

  .public-nav__dropdown-menu a {
    min-height: 48px;
    justify-content: center;
    border-bottom: 1px solid #e2e5e1;
    border-radius: 0;
  }

  .public-nav__dropdown-menu li:last-child a {
    border-bottom: 0;
  }

  .public-nav__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding-bottom: 1.25rem;
  }

  .public-nav__cta {
    min-height: 44px;
    padding: 0.6rem 0.8rem;
    font-size: 0.76rem;
  }

  .public-nav__login {
    grid-column: 1 / -1;
    width: fit-content;
    min-height: 44px;
    padding: 0.6rem 0.2rem;
  }
}

@media (max-width: 575.98px) {
  .public-nav__inner {
    width: calc(100% - 1.5rem);
    min-height: 68px;
  }

  .public-brand img {
    width: 88px;
  }

  .public-nav__menu {
    top: 68px;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .public-nav__actions {
    grid-template-columns: 1fr;
  }

  .public-nav__login {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-nav__dropdown-menu,
  .public-nav__menu,
  .public-nav__toggle > span:not(.visually-hidden),
  .nav-chevron {
    transition: none;
  }
}

/* HUD Consultant opportunity */
.hud-consultant-page {
  overflow: clip;
  background: var(--paper);
}

.hc-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 22%, rgba(111, 141, 61, 0.18), transparent 27rem),
    var(--charcoal);
  color: #fff;
}

.hc-hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -15rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hc-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.hc-hero__copy {
  max-width: 760px;
}

.hc-hero h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 5vw, 4.65rem);
  letter-spacing: -0.035em;
}

.hc-hero__lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.hc-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  padding: 0;
  margin: 1.6rem 0 2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  list-style: none;
}

.hc-hero__signals li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hc-hero__signals li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-green);
}

.hc-hero__visual {
  position: relative;
  margin: 0;
}

.hc-hero__visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.hc-hero__visual figcaption {
  position: relative;
  z-index: 2;
  width: calc(100% - 2rem);
  display: grid;
  gap: 0.15rem;
  margin: -2.5rem auto 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--brand-green);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  color: var(--ink);
  font-size: 0.86rem;
}

.hc-hero__visual figcaption strong {
  font-size: 0.98rem;
}

.hc-hero__visual figcaption span {
  color: var(--muted);
}

.hc-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hc-button:focus-visible,
.hc-text-link:focus-visible {
  outline: 3px solid rgba(111, 141, 61, 0.68);
  outline-offset: 3px;
}

.hc-section {
  padding: clamp(4.25rem, 7vw, 6.5rem) 0;
}

.hc-heading {
  max-width: 790px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.hc-heading--left {
  max-width: 900px;
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.hc-heading h2,
.hc-training h2,
.hc-final-cta h2 {
  letter-spacing: -0.025em;
}

.hc-heading > p:not(.home-kicker),
.hc-training__intro > p,
.hc-eligibility__closing {
  color: var(--muted);
}

.hc-heading .hc-statement {
  max-width: 800px;
  color: var(--brand-red);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
}

.hc-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.hc-card {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(17, 19, 24, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.hc-card:hover {
  border-color: rgba(108, 15, 43, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.hc-card h3 {
  margin-top: 1rem;
}

.hc-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.hc-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(108, 15, 43, 0.09);
  color: var(--brand-red);
  font-size: 1.15rem;
  font-weight: 850;
}

.hc-section-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hc-section-close p {
  max-width: 720px;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 750;
}

.hc-process {
  background: var(--charcoal);
  color: #fff;
}

.hc-process .home-kicker,
.hc-final-cta .home-kicker {
  color: #b7cf8a;
}

.hc-heading--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

.hc-heading--split > div {
  max-width: 790px;
}

.hc-heading--split p:not(.home-kicker),
.hc-process__closing {
  color: rgba(255, 255, 255, 0.74);
}

.hc-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: consultant-step;
}

.hc-steps li {
  position: relative;
  min-width: 0;
}

.hc-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 43px;
  right: -0.65rem;
  width: 1.3rem;
  height: 2px;
  background: var(--brand-green);
}

.hc-step-card {
  height: 100%;
  min-height: 270px;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.hc-step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  color: #b7cf8a;
  font-size: 0.78rem;
  font-weight: 850;
}

.hc-step-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(111, 141, 61, 0.16);
  font-size: 1.05rem;
}

.hc-step-card p {
  color: rgba(255, 255, 255, 0.7);
}

.hc-process__closing {
  max-width: 900px;
  margin: 2rem auto 0;
  text-align: center;
}

.hc-training {
  background: var(--soft);
}

.hc-training__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.hc-training__lead {
  font-size: 1.08rem;
}

.hc-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.75rem 0;
}

.hc-facts span {
  min-height: 66px;
  display: grid;
  align-content: center;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-green);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 0.86rem;
}

.hc-facts strong {
  color: var(--ink);
  font-size: 1rem;
}

.hc-learning-path {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hc-learning-path__label {
  color: var(--brand-red);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hc-learning-path ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hc-learning-path li {
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.hc-learning-path li span {
  color: var(--brand-green);
  font-size: 0.76rem;
  font-weight: 850;
}

.hc-learning-path li strong {
  font-size: 0.93rem;
}

.hc-learning-path__note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.hc-fit-intro {
  margin-top: 1.4rem;
  color: var(--ink) !important;
  font-weight: 800;
}

.hc-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hc-role-card {
  min-height: 250px;
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(17, 19, 24, 0.06);
}

.hc-role-card > span {
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 850;
}

.hc-role-card h3 {
  margin-top: 2.4rem;
  font-size: 1.35rem;
}

.hc-role-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.hc-role-card--featured {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

.hc-role-card--featured > span,
.hc-role-card--featured p {
  color: rgba(255, 255, 255, 0.8);
}

.hc-requirements {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.3rem);
  border-radius: 8px;
  background: var(--soft);
}

.hc-requirements h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.hc-requirements ul {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hc-requirements li {
  position: relative;
  padding-left: 1.8rem;
}

.hc-requirements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-green);
  font-weight: 900;
}

.hc-eligibility__closing {
  max-width: 780px;
  margin: 1.75rem auto 0;
  text-align: center;
}

.hc-final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: var(--brand-red-dark);
  color: #fff;
}

.hc-final-cta::after {
  content: "";
  position: absolute;
  top: -12rem;
  right: -7rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hc-final-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hc-final-cta__inner > div:first-child {
  max-width: 760px;
}

.hc-final-cta__inner p:not(.home-kicker) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.hc-final-cta__actions {
  min-width: 225px;
  display: grid;
  gap: 0.85rem;
  text-align: center;
}

.hc-text-link {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}

.hc-text-link:hover {
  color: #dce9c4;
}

@media (max-width: 1023.98px) {
  .hc-hero__inner {
    min-height: auto;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 2.5rem;
  }

  .hc-benefit-grid,
  .hc-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-steps li:not(:last-child)::after {
    display: none;
  }

  .hc-step-card {
    min-height: 235px;
  }

  .hc-training__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .hc-hero__inner,
  .hc-training__grid {
    grid-template-columns: 1fr;
  }

  .hc-hero__visual {
    width: min(100%, 440px);
    margin-inline: auto;
  }

  .hc-heading--split,
  .hc-section-close,
  .hc-final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hc-heading--split .hc-button {
    align-self: flex-start;
  }

  .hc-role-grid,
  .hc-requirements {
    grid-template-columns: 1fr;
  }

  .hc-role-card {
    min-height: 210px;
  }

  .hc-final-cta__actions {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hc-hero__inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hc-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .hc-hero__signals {
    display: grid;
  }

  .hc-benefit-grid,
  .hc-steps,
  .hc-facts {
    grid-template-columns: 1fr;
  }

  .hc-card,
  .hc-step-card,
  .hc-role-card {
    min-height: auto;
  }

  .hc-button,
  .hc-section-close .hc-button,
  .hc-heading--split .hc-button {
    width: 100%;
  }

  .hc-learning-path {
    padding: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-card {
    transition: none;
  }

  .hc-card:hover {
    transform: none;
  }
}

/* How It Works */
.how-page {
  overflow: clip;
}

.how-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: url("../images/homes/borrower/borrowerHeader.png") center 46% / cover no-repeat;
  color: #fff;
  isolation: isolate;
}

.how-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 19, 24, 0.92) 0%, rgba(17, 19, 24, 0.74) 54%, rgba(17, 19, 24, 0.5) 100%);
}

.how-hero__inner {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.how-hero h1 {
  max-width: 700px;
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.how-hero__inner > p:not(.home-kicker) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.25rem;
}

.process-scroll-cue {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.process-scroll-cue:hover,
.process-scroll-cue:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}

.process-scroll-cue:focus-visible {
  outline: 3px solid rgba(111, 141, 61, 0.7);
  outline-offset: 5px;
}

.process-scroll-cue__chevron {
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  animation: process-cue 1.6s ease-in-out 3;
}

@keyframes process-cue {
  50% { transform: translateY(3px) rotate(45deg); }
}

.process-timeline-section {
  padding: 6rem 0;
  background: #f3f4f2;
}

.how-heading {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.how-heading > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.process-timeline {
  position: relative;
  max-width: 1160px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 46px;
  bottom: 46px;
  left: 50%;
  width: 3px;
  background: linear-gradient(var(--brand-red), #aebd91);
  transform: translateX(-50%);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: center;
  margin-bottom: 4rem;
  scroll-margin-top: 1.5rem;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step__marker {
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
}

.process-step__marker span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 6px solid #f3f4f2;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(82, 13, 21, 0.22);
  font-size: 0.9rem;
  font-weight: 850;
}

.process-step__card {
  min-width: 0;
  grid-row: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-red);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 19, 24, 0.09);
}

.process-step:nth-child(odd) .process-step__card {
  grid-column: 1;
}

.process-step:nth-child(even) .process-step__card {
  grid-column: 3;
}

.process-step__image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.process-step__image--contain {
  object-fit: contain;
  padding: 0.65rem;
  background: #eef0ed;
}

.process-step__body {
  padding: 1.7rem;
}

.process-step__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.process-step__label span {
  padding-right: 0.55rem;
  border-right: 1px solid #c8cdd3;
}

.process-step__body h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.process-step__body > p:not(.process-step__label):not(.process-step__note) {
  color: #4f5863;
}

.process-help {
  margin: 1.3rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--brand-green);
  background: #f4f6f1;
}

.process-help span {
  display: block;
  margin-bottom: 0.2rem;
  color: #4f6727;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.process-help p {
  margin: 0;
  color: #343a42;
  font-size: 0.92rem;
}

.process-step__cta {
  min-height: 44px;
}

.process-step__note {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.process-step__link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-bottom: 2px solid var(--brand-red);
  color: var(--brand-red);
  font-size: 0.9rem;
  font-weight: 800;
}

.process-step__link:hover {
  color: var(--brand-red-dark);
  border-bottom-color: var(--brand-red-dark);
}

.process-step__card--complete {
  border-top-color: var(--brand-green);
}

.process-step:focus {
  outline: 0;
}

.process-step:focus-visible .process-step__card {
  outline: 3px solid rgba(111, 141, 61, 0.58);
  outline-offset: 5px;
}

.process-step__cta:focus-visible,
.process-step__link:focus-visible,
.how-final-cta a:focus-visible,
.how-final-cta button:focus-visible {
  outline: 3px solid rgba(111, 141, 61, 0.65);
  outline-offset: 4px;
}

.how-reinforcement {
  padding: 6rem 0;
  background: #fff;
}

.how-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-values article {
  min-width: 0;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.how-values article:last-child {
  border-right: 0;
}

.how-values article > span {
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 850;
}

.how-values h3 {
  margin-top: 0.75rem;
}

.how-values p {
  margin: 0;
  color: var(--muted);
}

.how-final-cta {
  padding: 4.5rem 0;
  background: var(--brand-red-dark);
  color: #fff;
}

.how-final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.how-final-cta__inner > div:first-child {
  max-width: 650px;
}

.how-final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.how-final-cta__inner > div:first-child > p:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.how-final-cta__actions {
  min-width: 260px;
  display: grid;
  gap: 0.7rem;
}

.how-final-cta__link {
  width: fit-content;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.how-final-cta__link:hover {
  color: #fff;
}

@media (max-width: 1023.98px) {
  .process-timeline-section,
  .how-reinforcement {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .process-step {
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
    margin-bottom: 3rem;
  }

  .process-step__body {
    padding: 1.35rem;
  }

  .how-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-values article:nth-child(2) {
    border-right: 0;
  }

  .how-values article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 899.98px) {
  .how-hero {
    min-height: 440px;
  }

  .how-hero::before {
    background: rgba(17, 19, 24, 0.78);
  }

  .how-heading {
    margin-bottom: 3rem;
  }

  .process-timeline {
    max-width: 720px;
  }

  .process-timeline::before {
    top: 30px;
    bottom: 30px;
    left: 30px;
    transform: none;
  }

  .process-step {
    grid-template-columns: 61px minmax(0, 1fr);
    align-items: start;
    margin-bottom: 2.5rem;
  }

  .process-step__marker {
    grid-column: 1;
    align-self: start;
    padding-top: 1.1rem;
  }

  .process-step__marker span {
    width: 54px;
    height: 54px;
    border-width: 5px;
  }

  .process-step:nth-child(odd) .process-step__card,
  .process-step:nth-child(even) .process-step__card {
    grid-column: 2;
  }

  .process-step__image {
    height: 220px;
  }

  .how-final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .how-hero {
    min-height: 410px;
  }

  .how-hero__inner {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .how-hero h1 {
    font-size: 3rem;
  }

  .how-hero__inner > p:not(.home-kicker) {
    font-size: 1.08rem;
  }

  .process-timeline-section,
  .how-reinforcement {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .process-timeline::before {
    left: 22px;
  }

  .process-step {
    grid-template-columns: 45px minmax(0, 1fr);
    margin-bottom: 2rem;
  }

  .process-step__marker {
    padding-top: 0.9rem;
  }

  .process-step__marker span {
    width: 44px;
    height: 44px;
    border-width: 4px;
    font-size: 0.74rem;
  }

  .process-step__image {
    height: 170px;
  }

  .process-step__body {
    padding: 1.1rem;
  }

  .process-step__body h3 {
    font-size: 1.45rem;
  }

  .process-step__cta {
    width: 100%;
  }

  .how-values {
    grid-template-columns: 1fr;
  }

  .how-values article,
  .how-values article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .how-values article:last-child {
    border-bottom: 0;
  }

  .how-final-cta {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .how-final-cta__actions,
  .how-final-cta__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-scroll-cue__chevron {
    animation: none;
  }
}

/* About */
.about-page {
  overflow: clip;
}

.about-hero {
  background: #191b1f;
  color: #fff;
}

.about-hero__grid {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.about-hero__copy {
  align-self: center;
  padding: 4.5rem 0;
}

.about-hero h1 {
  max-width: 680px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.about-hero__copy > p:not(.home-kicker) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
}

.about-story-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-story-link span {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.about-story-link:hover {
  color: #fff;
  border-color: #fff;
}

.about-hero__visual {
  min-width: 0;
  overflow: hidden;
}

.about-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story {
  padding: 7rem 0;
  background: #fff;
  scroll-margin-top: 1rem;
}

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.about-story__visual {
  min-width: 0;
}

.about-story__visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.about-story__visual blockquote {
  margin: 0;
  padding: 1.4rem 1.6rem;
  border-left: 5px solid var(--brand-green);
  background: var(--brand-red-dark);
  color: #fff;
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.5;
}

.about-story__copy {
  max-width: 670px;
}

.about-lead {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
}

.about-story__copy > p:not(.home-kicker):not(.about-lead):not(.about-story__close) {
  color: #4f5863;
}

.about-story__close {
  margin-top: 1.5rem;
  color: var(--brand-red);
  font-size: 1.25rem;
  font-weight: 850;
}

.about-belief {
  padding: 6rem 0;
  background: #f1f3ef;
}

.about-belief__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.about-belief__copy h2 {
  max-width: 640px;
}

.about-belief__copy > p:last-child {
  max-width: 650px;
  color: #4f5863;
}

.about-belief__statement {
  margin: 1.25rem 0;
  color: var(--brand-red);
  font-size: 1.35rem;
  font-weight: 820;
  line-height: 1.4;
}

.about-transformation {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.about-transformation figure {
  min-width: 0;
  margin: 0;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 19, 24, 0.1);
}

.about-transformation img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.about-transformation figcaption {
  padding: 0.75rem;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.about-capabilities {
  padding: 6rem 0;
  background: #fff;
}

.about-heading {
  max-width: 780px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.about-heading--left {
  margin-left: 0;
  text-align: left;
}

.about-heading > p:not(.home-kicker) {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-capability-grid article {
  min-width: 0;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.about-capability-grid article:last-child {
  border-right: 0;
}

.about-capability-grid article > span {
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 850;
}

.about-capability-grid h3 {
  min-height: 2.5em;
  margin-top: 0.75rem;
}

.about-capability-grid p {
  min-height: 6.2em;
  color: var(--muted);
}

.about-capability-grid a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-bottom: 2px solid var(--brand-red);
  font-size: 0.85rem;
  font-weight: 800;
}

.about-difference {
  padding: 6rem 0;
  background: #1a1c20;
  color: #fff;
}

.about-difference__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.about-difference__intro > p:not(.home-kicker) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

.about-difference__intro img {
  width: 100%;
  margin-top: 2rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.75);
}

.about-principles {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-principles article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.about-principles article > span {
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 850;
}

.about-principles h3 {
  margin-bottom: 0.45rem;
}

.about-principles p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.about-footprint {
  padding: 6rem 0;
  background: #f3f4f2;
}

.about-footprint__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

.about-footprint__map {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 19, 24, 0.08);
}

.about-footprint__map img {
  width: 100%;
}

.about-footprint__content > p:not(.home-kicker) {
  color: #4f5863;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 2rem 0 0;
  border-top: 1px solid #cfd4da;
  border-left: 1px solid #cfd4da;
}

.about-stats div {
  padding: 1.1rem;
  border-right: 1px solid #cfd4da;
  border-bottom: 1px solid #cfd4da;
  background: rgba(255, 255, 255, 0.62);
}

.about-stats dt {
  color: var(--brand-red);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 850;
  line-height: 1.1;
}

.about-stats dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.about-final-cta {
  padding: 4.5rem 0;
  background: var(--brand-red-dark);
  color: #fff;
}

.about-final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.about-final-cta__inner > div:first-child {
  max-width: 700px;
}

.about-final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.about-final-cta__inner > div:first-child > p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.about-final-cta__actions {
  min-width: 250px;
  display: grid;
  gap: 0.7rem;
}

.about-final-cta__actions > a:last-child {
  width: fit-content;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-story-link:focus-visible,
.about-capability-grid a:focus-visible,
.about-final-cta a:focus-visible,
.about-final-cta button:focus-visible {
  outline: 3px solid rgba(111, 141, 61, 0.65);
  outline-offset: 4px;
}

@media (max-width: 1023.98px) {
  .about-hero__grid {
    min-height: 460px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
  }

  .about-story,
  .about-belief,
  .about-capabilities,
  .about-difference,
  .about-footprint {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .about-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-capability-grid article:nth-child(2) {
    border-right: 0;
  }

  .about-capability-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .about-capability-grid h3,
  .about-capability-grid p {
    min-height: 0;
  }

  .about-footprint__grid {
    grid-template-columns: 1fr;
  }

  .about-footprint__map {
    order: 2;
  }
}

@media (max-width: 899.98px) {
  .about-hero__grid,
  .about-story__grid,
  .about-belief__grid,
  .about-difference__grid {
    grid-template-columns: 1fr;
  }

  .about-hero__grid {
    gap: 0;
  }

  .about-hero__copy {
    padding: 4rem 0 3rem;
  }

  .about-hero__visual {
    height: 330px;
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    margin-left: calc(var(--bs-gutter-x) * -0.5);
  }

  .about-story__grid {
    gap: 3rem;
  }

  .about-story__copy {
    max-width: none;
  }

  .about-belief__grid,
  .about-difference__grid {
    gap: 3rem;
  }

  .about-transformation img {
    height: 260px;
  }

  .about-final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .about-hero h1 {
    font-size: 2.75rem;
  }

  .about-hero__copy > p:not(.home-kicker) {
    font-size: 1.08rem;
  }

  .about-hero__visual {
    height: 260px;
  }

  .about-story,
  .about-belief,
  .about-capabilities,
  .about-difference,
  .about-footprint {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .about-transformation {
    grid-template-columns: 1fr;
  }

  .about-transformation img {
    height: 220px;
  }

  .about-capability-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-capability-grid article,
  .about-capability-grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-capability-grid article:last-child {
    border-bottom: 0;
  }

  .about-principles article {
    grid-template-columns: 38px 1fr;
  }

  .about-stats {
    border-left: 0;
  }

  .about-stats div {
    border-left: 1px solid #cfd4da;
  }

  .about-final-cta {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .about-final-cta__actions,
  .about-final-cta__actions .btn {
    width: 100%;
  }
}

/* Lenders */
.lender-page {
  --lender-navy: #18232c;
  --lender-slate: #30414d;
  color: var(--ink);
  overflow: hidden;
}

.lender-page h1,
.lender-page h2,
.lender-page h3,
.lender-page p {
  margin-top: 0;
}

.lender-page h2 {
  color: var(--lender-navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.lender-page h3 {
  color: var(--lender-navy);
  font-size: 1.25rem;
  line-height: 1.25;
}

.lender-page .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  text-align: center;
}

.lender-page .btn:focus-visible {
  outline: 3px solid #f0bc5a;
  outline-offset: 3px;
}

.lender-hero {
  background:
    radial-gradient(circle at 86% 20%, rgba(108, 15, 43, 0.34), transparent 29rem),
    linear-gradient(130deg, #121c24 0%, #24333e 100%);
  color: #fff;
  isolation: isolate;
  padding: clamp(4.75rem, 8vw, 7.25rem) 0;
  position: relative;
}

.lender-hero::after {
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000 55%);
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.lender-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 6vw, 6.5rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.lender-hero .home-kicker,
.lender-final-cta .home-kicker {
  color: #efc56f;
}

.lender-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 5.7vw, 5.35rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-bottom: 1.5rem;
  max-width: 11ch;
}

.lender-hero__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 690px;
}

.lender-hero__actions,
.lender-final-cta__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lender-btn--light {
  background: #fff;
  border: 1px solid #fff;
  color: var(--brand-red);
}

.lender-btn--light:hover {
  background: #f6f2f3;
  border-color: #f6f2f3;
  color: #4f0a20;
  transform: translateY(-2px);
}

.lender-btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.66);
  color: #fff;
}

.lender-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.lender-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.lender-hero__proof li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding-left: 1.15rem;
  position: relative;
  text-transform: uppercase;
}

.lender-hero__proof li::before {
  background: #efc56f;
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.48em;
  width: 6px;
}

.lender-hero__visual {
  position: relative;
}

.lender-hero__visual::before {
  background: var(--brand-red);
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  height: 170px;
  opacity: 0.35;
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 170px;
}

.lender-workflow {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  overflow: hidden;
  position: relative;
  transform: rotate(1.25deg);
}

.lender-workflow__heading {
  align-items: center;
  background: #f4f0f1;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.lender-workflow__heading span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lender-workflow__heading strong {
  color: var(--brand-red);
  font-size: 0.9rem;
}

.lender-workflow__steps {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem;
}

.lender-workflow__steps li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 40px 1fr 28px;
  padding: 1.2rem 0;
}

.lender-workflow__steps li:last-child {
  border-bottom: 0;
}

.lender-workflow__number {
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.lender-workflow__steps strong,
.lender-workflow__steps small {
  display: block;
}

.lender-workflow__steps strong {
  color: var(--lender-navy);
  margin-bottom: 0.2rem;
}

.lender-workflow__steps small {
  color: var(--muted);
}

.lender-workflow__status {
  align-items: center;
  background: #e6f1ed;
  border-radius: 50%;
  color: #196047;
  display: flex;
  font-size: 0.78rem;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.lender-workflow__footer {
  align-items: center;
  background: var(--brand-red);
  color: #fff;
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.lender-workflow__footer > span {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
}

.lender-workflow__footer p {
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 0;
}

.lender-benefits,
.lender-services {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.lender-section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 760px;
}

.lender-section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lender-section-heading h2 {
  margin-bottom: 1.15rem;
}

.lender-section-heading > p:not(.home-kicker) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.lender-section-heading > strong {
  color: var(--brand-red);
  display: block;
  font-size: 1.2rem;
}

.lender-benefit-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lender-benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(31, 42, 50, 0.06);
  padding: 1.75rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lender-benefit-card:hover {
  border-color: rgba(108, 15, 43, 0.35);
  box-shadow: 0 18px 45px rgba(31, 42, 50, 0.1);
  transform: translateY(-4px);
}

.lender-icon {
  align-items: center;
  background: #f5ecef;
  border-radius: 10px;
  color: var(--brand-red);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
  width: 42px;
}

.lender-benefit-card h3 {
  margin-bottom: 0.75rem;
}

.lender-benefit-card p,
.lender-service-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.lender-benefits__closing,
.lender-services__closing {
  color: var(--lender-navy);
  font-size: 1.16rem;
  font-weight: 700;
  margin: 2rem auto 0;
  text-align: center;
}

.lender-estimator {
  background: #f3f0f1;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.lender-estimator__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
}

.lender-estimator__copy h2 {
  margin-bottom: 1.25rem;
  max-width: 12ch;
}

.lender-estimator__copy > p {
  color: var(--muted);
  line-height: 1.7;
}

.lender-estimator__copy .lender-section-lead {
  color: var(--lender-navy);
  font-size: 1.18rem;
  font-weight: 650;
}

.lender-checklist {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.lender-checklist li {
  color: var(--lender-navy);
  font-weight: 650;
  padding-left: 2rem;
  position: relative;
}

.lender-checklist li::before {
  align-items: center;
  background: var(--brand-red);
  border-radius: 50%;
  color: #fff;
  content: "✓";
  display: flex;
  font-size: 0.68rem;
  height: 20px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0.1em;
  width: 20px;
}

.lender-estimator__panel {
  background: var(--lender-navy);
  border-radius: 26px;
  box-shadow: 0 28px 65px rgba(31, 42, 50, 0.25);
  color: #fff;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  position: relative;
}

.lender-estimator__panel::after {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 21px;
  content: "";
  inset: 0.7rem;
  pointer-events: none;
  position: absolute;
}

.lender-estimator__screen {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
  transform: rotate(-1.5deg);
  z-index: 1;
}

.lender-estimator__toolbar {
  background: #e9e5e6;
  display: flex;
  gap: 0.35rem;
  padding: 0.65rem;
}

.lender-estimator__toolbar span {
  background: #a9a1a4;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.lender-estimator__screen-body {
  padding: 1.5rem;
}

.lender-estimator__screen-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.lender-estimator__screen-title span:first-child {
  background: var(--brand-red);
  border-radius: 4px;
  height: 12px;
  width: 44%;
}

.lender-estimator__screen-title span:last-child {
  background: #d8d3d5;
  border-radius: 4px;
  height: 12px;
  width: 18%;
}

.lender-estimator__bars {
  display: flex;
  gap: 0.65rem;
  height: 105px;
  margin-bottom: 1.5rem;
}

.lender-estimator__bars span {
  align-self: flex-end;
  background: #dfdadd;
  border-radius: 6px 6px 0 0;
  height: 55%;
  width: 33.333%;
}

.lender-estimator__bars span:nth-child(2) {
  background: #c5b9bd;
  height: 80%;
}

.lender-estimator__bars span:nth-child(3) {
  background: var(--brand-red);
  height: 100%;
}

.lender-estimator__total {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--lender-navy);
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
}

.lender-estimator__total span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lender-estimator__total strong {
  color: var(--brand-red);
  font-size: 1.8rem;
}

.lender-price {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin: 0 0.5rem 1.4rem;
  position: relative;
  z-index: 1;
}

.lender-price p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.lender-price strong {
  font-size: 0.9rem;
}

.lender-price strong span {
  color: #efc56f;
  font-size: 2.7rem;
  line-height: 1;
}

.lender-estimator__facts {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 0.6rem;
  padding: 1.2rem 0.5rem 0;
  position: relative;
  z-index: 1;
}

.lender-estimator__facts span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.87rem;
  padding-left: 1.25rem;
  position: relative;
}

.lender-estimator__facts span::before {
  color: #efc56f;
  content: "+";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.lender-services {
  background: #fff;
}

.lender-service-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lender-service-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  overflow: hidden;
  padding: 2rem;
  position: relative;
}

.lender-service-card::before {
  background: var(--brand-red);
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.lender-service-card__number {
  color: #d8c8cd;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2rem;
}

.lender-service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
}

.lender-service-card p {
  margin-bottom: 1.75rem;
}

.lender-service-card .btn {
  margin-top: auto;
  width: 100%;
}

.lender-steps {
  background: #f3f0f1;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.lender-steps__layout {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.lender-steps__intro h2 {
  margin-bottom: 1rem;
}

.lender-steps__intro > p:not(.home-kicker) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.lender-steps__intro .lender-steps__closing {
  color: var(--lender-navy);
  font-size: 1rem;
  font-weight: 650;
  margin-top: 1.5rem;
}

.lender-step-list {
  counter-reset: lender-step;
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lender-step-list li {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 52px 1fr;
  padding: 1.2rem;
}

.lender-step-list li > span {
  align-items: center;
  background: var(--brand-red);
  border-radius: 12px;
  color: #fff;
  display: flex;
  font-size: 1.1rem;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.lender-step-list p {
  color: var(--lender-navy);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0;
}

.lender-final-cta {
  background:
    radial-gradient(circle at 92% 110%, rgba(239, 197, 111, 0.24), transparent 28rem),
    var(--brand-red);
  color: #fff;
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.lender-final-cta__inner {
  align-items: center;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
}

.lender-final-cta h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.65rem);
  margin-bottom: 0.8rem;
  max-width: 13ch;
}

.lender-final-cta p:not(.home-kicker) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 650px;
}

.lender-final-cta__actions {
  flex: 0 0 330px;
  justify-content: flex-end;
}

@media (max-width: 991.98px) {
  .lender-hero__grid,
  .lender-estimator__grid,
  .lender-steps__layout {
    grid-template-columns: 1fr;
  }

  .lender-hero__copy {
    max-width: 760px;
  }

  .lender-hero__visual {
    margin: 0 auto;
    max-width: 620px;
    width: 100%;
  }

  .lender-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lender-estimator__copy {
    max-width: 720px;
  }

  .lender-estimator__panel {
    margin: 0 auto;
    max-width: 560px;
    width: 100%;
  }

  .lender-service-grid {
    grid-template-columns: 1fr;
  }

  .lender-service-card {
    min-height: 0;
  }

  .lender-service-card__number {
    margin-bottom: 1.25rem;
  }

  .lender-final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .lender-final-cta__actions {
    flex: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .lender-hero {
    padding: 4.25rem 0;
  }

  .lender-hero h1 {
    font-size: clamp(2.85rem, 12vw, 4.25rem);
  }

  .lender-hero__actions,
  .lender-final-cta__actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .lender-hero__actions .btn,
  .lender-final-cta__actions .btn {
    width: 100%;
  }

  .lender-workflow {
    transform: none;
  }

  .lender-benefit-grid {
    grid-template-columns: 1fr;
  }

  .lender-benefit-card:hover {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .lender-hero h1 {
    font-size: 2.65rem;
  }

  .lender-page h2 {
    font-size: 2.15rem;
  }

  .lender-workflow__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .lender-workflow__steps li {
    gap: 0.7rem;
    grid-template-columns: 30px 1fr 28px;
  }

  .lender-workflow__footer > span {
    font-size: 2.25rem;
  }

  .lender-benefit-card,
  .lender-service-card {
    padding: 1.5rem;
  }

  .lender-estimator__grid {
    gap: 2.5rem;
  }

  .lender-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .lender-estimator__screen-body {
    padding: 1.1rem;
  }

  .lender-step-list li {
    align-items: start;
    gap: 0.9rem;
    grid-template-columns: 44px 1fr;
    padding: 1rem;
  }

  .lender-step-list li > span {
    border-radius: 10px;
    height: 44px;
    width: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lender-page *,
  .lender-page *::before,
  .lender-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Contractors */
.contractor-page {
  --contractor-navy: #17232b;
  --contractor-slate: #344650;
  --contractor-gold: #efc56f;
  color: var(--ink);
  overflow: hidden;
}

.contractor-page h1,
.contractor-page h2,
.contractor-page h3,
.contractor-page p {
  margin-top: 0;
}

.contractor-page h2 {
  color: var(--contractor-navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.035em;
  line-height: 1.07;
}

.contractor-page h3 {
  color: var(--contractor-navy);
  line-height: 1.25;
}

.contractor-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 50px;
  text-align: center;
}

.contractor-page .btn:focus-visible {
  outline: 3px solid var(--contractor-gold);
  outline-offset: 3px;
}

.contractor-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 86% 15%, rgba(108, 15, 43, 0.4), transparent 26rem),
    linear-gradient(135deg, #111b22, #263640);
  background-size: 58px 58px, 58px 58px, auto, auto;
  color: #fff;
  padding: clamp(4.75rem, 8vw, 7.25rem) 0;
}

.contractor-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
}

.contractor-hero .home-kicker,
.contractor-final-cta .home-kicker {
  color: var(--contractor-gold);
}

.contractor-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 5.4vw, 5.15rem);
  letter-spacing: -0.055em;
  line-height: 0.99;
  margin-bottom: 1.5rem;
  max-width: 12ch;
}

.contractor-hero__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 690px;
}

.contractor-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.contractor-hero__proof li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding-left: 1.1rem;
  position: relative;
  text-transform: uppercase;
}

.contractor-hero__proof li::before {
  background: var(--contractor-gold);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.48em;
  width: 6px;
}

.contractor-hero__visual {
  min-height: 500px;
  position: relative;
}

.contractor-hero__image {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.35);
  height: 330px;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  width: 84%;
}

.contractor-hero__image::after {
  background: linear-gradient(180deg, transparent 35%, rgba(23, 35, 43, 0.75));
  content: "";
  inset: 0;
  position: absolute;
}

.contractor-hero__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.contractor-project-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  bottom: 0;
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  left: 0;
  overflow: hidden;
  position: absolute;
  width: 88%;
}

.contractor-project-card__header {
  align-items: center;
  background: #f3eff0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

.contractor-project-card__header span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contractor-project-card__header strong {
  color: var(--brand-red);
  font-size: 0.83rem;
}

.contractor-project-card ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.25rem;
}

.contractor-project-card li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 28px 1fr;
  padding: 0.9rem 0;
}

.contractor-project-card li:last-child {
  border-bottom: 0;
}

.contractor-project-card li > span {
  align-items: center;
  background: #e3f0eb;
  border-radius: 50%;
  color: #246148;
  display: flex;
  font-size: 0.7rem;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.contractor-project-card strong,
.contractor-project-card small {
  display: block;
}

.contractor-project-card strong {
  color: var(--contractor-navy);
  font-size: 0.9rem;
}

.contractor-project-card small {
  color: var(--muted);
  margin-top: 0.1rem;
}

.contractor-benefits,
.contractor-onboarding,
.contractor-fit {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.contractor-section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 780px;
}

.contractor-section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.contractor-section-heading h2 {
  margin-bottom: 1.1rem;
}

.contractor-section-heading > p:not(.home-kicker) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.contractor-section-heading > strong {
  color: var(--brand-red);
  display: block;
  font-size: 1.2rem;
}

.contractor-benefit-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contractor-benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(23, 35, 43, 0.07);
  min-height: 300px;
  padding: 2rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contractor-benefit-card:hover {
  border-color: rgba(108, 15, 43, 0.35);
  box-shadow: 0 20px 45px rgba(23, 35, 43, 0.11);
  transform: translateY(-4px);
}

.contractor-card-icon {
  align-items: center;
  background: #f5ecef;
  border-radius: 11px;
  color: var(--brand-red);
  display: flex;
  font-size: 0.75rem;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
  width: 46px;
}

.contractor-benefit-card h3 {
  font-size: 1.42rem;
  margin-bottom: 0.8rem;
}

.contractor-benefit-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.contractor-benefits__closing,
.contractor-flow__closing {
  color: var(--contractor-navy);
  font-size: 1.17rem;
  font-weight: 700;
  margin: 2rem auto 0;
  text-align: center;
}

.contractor-flow {
  background: #f1eff0;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.contractor-flow__list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.contractor-flow__list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 285px;
  padding: 1.75rem;
  position: relative;
}

.contractor-flow__list li:not(:nth-child(3n))::after {
  align-items: center;
  background: var(--brand-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 6l4 4-4 4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 4px solid #f1eff0;
  border-radius: 50%;
  color: #fff;
  content: "";
  display: flex;
  font-size: 0.95rem;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: -1.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  z-index: 2;
}

.contractor-flow__number {
  align-items: center;
  background: var(--contractor-navy);
  border-radius: 10px;
  color: #fff;
  display: flex;
  font-size: 0.75rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.06em;
  margin-bottom: 1.8rem;
  width: 42px;
}

.contractor-flow__list h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.contractor-flow__list p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.contractor-onboarding {
  background: #fff;
}

.contractor-onboarding__list {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.contractor-onboarding__list li {
  position: relative;
  text-align: center;
}

.contractor-onboarding__list li:not(:last-child)::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20'%3E%3Cpath d='M2 10h25M20 3l7 7-7 7' fill='none' stroke='%23c9b9be' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
  height: 20px;
  position: absolute;
  right: -1.8rem;
  top: 1.05rem;
  width: 32px;
}

.contractor-onboarding__list li > span {
  align-items: center;
  background: var(--brand-red);
  border: 7px solid #f4e9ed;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 1.55rem;
  font-weight: 800;
  height: 72px;
  justify-content: center;
  margin: 0 auto 1.5rem;
  width: 72px;
}

.contractor-onboarding__list h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.contractor-onboarding__list p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 390px;
}

.contractor-onboarding__close {
  align-items: center;
  background: #f3eff0;
  border-radius: 16px;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 3.5rem;
  padding: 1.5rem 1.75rem;
}

.contractor-onboarding__close p {
  color: var(--contractor-navy);
  font-weight: 650;
  line-height: 1.6;
  margin-bottom: 0;
}

.contractor-onboarding__close .btn {
  flex: 0 0 auto;
}

.contractor-fit {
  background: #f1eff0;
}

.contractor-fit__grid {
  align-items: stretch;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
}

.contractor-fit__profile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  padding: 0 2rem 2rem;
}

.contractor-fit__image {
  height: 210px;
  margin: 0 -2rem 2rem;
  overflow: hidden;
  position: relative;
}

.contractor-fit__image::after {
  background: linear-gradient(180deg, transparent 45%, rgba(23, 35, 43, 0.45));
  content: "";
  inset: 0;
  position: absolute;
}

.contractor-fit__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.contractor-fit__profile h3,
.contractor-requirements h3 {
  font-size: 1.55rem;
  margin-bottom: 1.3rem;
}

.contractor-checklist,
.contractor-requirements ul {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contractor-checklist li {
  color: var(--contractor-navy);
  line-height: 1.55;
  padding-left: 1.7rem;
  position: relative;
}

.contractor-checklist li::before {
  color: var(--brand-red);
  content: "✓";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.contractor-requirements {
  background:
    radial-gradient(circle at 100% 0, rgba(108, 15, 43, 0.45), transparent 20rem),
    var(--contractor-navy);
  border-radius: 20px;
  color: #fff;
  padding: clamp(2rem, 4vw, 2.75rem);
}

.contractor-requirements__eyebrow {
  color: var(--contractor-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.contractor-requirements h3 {
  color: #fff;
}

.contractor-requirements li {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 24px 1fr;
  line-height: 1.55;
  padding-bottom: 0.9rem;
}

.contractor-requirements li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contractor-requirements li span {
  align-items: center;
  background: rgba(239, 197, 111, 0.15);
  border-radius: 50%;
  color: var(--contractor-gold);
  display: flex;
  font-size: 0.68rem;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.contractor-fit__closing {
  color: var(--contractor-navy);
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.65;
  margin: 2rem auto 0;
  max-width: 920px;
  text-align: center;
}

.contractor-final-cta {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 100% 100%, rgba(239, 197, 111, 0.26), transparent 26rem),
    var(--brand-red);
  background-size: 54px 54px, auto, auto;
  color: #fff;
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.contractor-final-cta__inner {
  align-items: center;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
}

.contractor-final-cta h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.65rem);
  margin-bottom: 0.8rem;
  max-width: 13ch;
}

.contractor-final-cta p:not(.home-kicker) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 680px;
}

.contractor-button--light {
  background: #fff;
  border: 1px solid #fff;
  color: var(--brand-red);
  flex: 0 0 auto;
}

.contractor-button--light:hover {
  background: #f5eff1;
  border-color: #f5eff1;
  color: #4e091f;
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .contractor-hero__grid {
    grid-template-columns: 1fr;
  }

  .contractor-hero__copy {
    max-width: 780px;
  }

  .contractor-hero__visual {
    margin: 0 auto;
    max-width: 650px;
    width: 100%;
  }

  .contractor-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contractor-benefit-card:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .contractor-flow__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contractor-flow__list li:not(:nth-child(3n))::after {
    display: none;
  }

  .contractor-onboarding__list {
    gap: 1.5rem;
  }

  .contractor-onboarding__list li:not(:last-child)::after {
    display: none;
  }

  .contractor-fit__grid {
    grid-template-columns: 1fr;
  }

  .contractor-final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .contractor-hero {
    padding: 4.25rem 0;
  }

  .contractor-hero h1 {
    font-size: clamp(2.75rem, 11vw, 4rem);
  }

  .contractor-hero__copy .btn,
  .contractor-onboarding__close .btn,
  .contractor-final-cta .btn {
    width: 100%;
  }

  .contractor-benefit-grid,
  .contractor-onboarding__list {
    grid-template-columns: 1fr;
  }

  .contractor-benefit-card:last-child {
    grid-column: auto;
  }

  .contractor-benefit-card {
    min-height: 0;
  }

  .contractor-benefit-card:hover {
    transform: none;
  }

  .contractor-flow__list {
    gap: 0;
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .contractor-flow__list li {
    border-radius: 14px;
    display: grid;
    gap: 1rem;
    grid-template-columns: 48px 1fr;
    min-height: 0;
    padding: 1.25rem;
  }

  .contractor-flow__list li:not(:last-child) {
    margin-bottom: 1.7rem;
  }

  .contractor-flow__list li:not(:last-child)::after {
    background: var(--brand-red);
    border: 0;
    border-radius: 0;
    bottom: -1.72rem;
    content: "";
    display: block;
    height: 1.72rem;
    left: 2.7rem;
    position: absolute;
    right: auto;
    top: auto;
    transform: none;
    width: 2px;
  }

  .contractor-flow__number {
    height: 44px;
    margin-bottom: 0;
    width: 44px;
  }

  .contractor-onboarding__list {
    gap: 2.25rem;
  }

  .contractor-onboarding__close {
    align-items: stretch;
    flex-direction: column;
  }

  .contractor-final-cta__inner {
    gap: 2rem;
  }
}

@media (max-width: 575.98px) {
  .contractor-page h2 {
    font-size: 2.15rem;
  }

  .contractor-hero h1 {
    font-size: 2.65rem;
  }

  .contractor-hero__visual {
    min-height: 450px;
  }

  .contractor-hero__image {
    height: 255px;
    width: 94%;
  }

  .contractor-project-card {
    width: 96%;
  }

  .contractor-project-card__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .contractor-benefit-card,
  .contractor-fit__profile {
    padding: 1.5rem;
  }

  .contractor-fit__image {
    margin: -1.5rem -1.5rem 1.5rem;
  }

  .contractor-flow__list li {
    gap: 0.8rem;
    grid-template-columns: 42px 1fr;
    padding: 1rem;
  }

  .contractor-flow__number {
    height: 40px;
    width: 40px;
  }

  .contractor-flow__list li:not(:last-child)::after {
    left: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contractor-page *,
  .contractor-page *::before,
  .contractor-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Learn */
.learn-page,
.learn-detail-page,
.faq-page {
  --learn-navy: #17232b;
  --learn-slate: #344650;
  --learn-gold: #efc56f;
  color: var(--ink);
  overflow: hidden;
}

.learn-page h1,
.learn-page h2,
.learn-page h3,
.learn-page p,
.learn-detail-page h1,
.learn-detail-page h2,
.learn-detail-page h3,
.learn-detail-page p {
  margin-top: 0;
}

.learn-page h2,
.learn-detail-page h2 {
  color: var(--learn-navy);
  letter-spacing: -0.035em;
}

.learn-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, rgba(108, 15, 43, 0.62), transparent 35rem),
    linear-gradient(145deg, #111b22, #263640);
  background-size: 58px 58px, 58px 58px, auto, auto;
  color: #fff;
  overflow: visible;
  padding: clamp(4.75rem, 8vw, 7.25rem) 0 clamp(5.5rem, 9vw, 8rem);
  position: relative;
  z-index: 5;
}

.learn-hero__inner {
  margin: 0 auto;
  max-width: 1050px;
  text-align: center;
}

.learn-hero .home-kicker,
.learn-final-cta .home-kicker {
  color: var(--learn-gold);
}

.learn-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-bottom: 1.25rem;
}

.learn-hero__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.65;
  margin: 0 auto 2.25rem;
  max-width: 720px;
}

.learn-search {
  margin: 0 auto;
  max-width: 900px;
  position: relative;
  text-align: left;
}

.learn-search__field {
  align-items: stretch;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 16px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  min-height: 70px;
  overflow: hidden;
}

.learn-search__field:focus-within {
  border-color: var(--learn-gold);
  box-shadow: 0 0 0 4px rgba(239, 197, 111, 0.2), 0 24px 55px rgba(0, 0, 0, 0.3);
}

.learn-search__icon {
  align-self: center;
  border: 3px solid var(--brand-red);
  border-radius: 50%;
  height: 20px;
  justify-self: end;
  margin-right: 0.5rem;
  position: relative;
  width: 20px;
}

.learn-search__icon::after {
  background: var(--brand-red);
  border-radius: 2px;
  bottom: -6px;
  content: "";
  height: 8px;
  position: absolute;
  right: -4px;
  transform: rotate(-45deg);
  width: 3px;
}

.learn-search__field input {
  background: transparent;
  border: 0;
  color: var(--learn-navy);
  font-size: clamp(1rem, 2vw, 1.17rem);
  min-width: 0;
  outline: 0;
  padding: 0 0.9rem;
}

.learn-search__field input::placeholder {
  color: #737c82;
  opacity: 1;
}

.learn-search__field button {
  background: var(--brand-red);
  border: 0;
  color: #fff;
  font-weight: 800;
  min-width: 118px;
  padding: 0.75rem 1.4rem;
  transition: background-color 180ms ease;
}

.learn-search__field button:hover {
  background: #520b20;
}

.learn-search__field button:focus-visible,
.learn-level-card:focus-visible,
.learn-page a:focus-visible,
.learn-detail-page a:focus-visible,
.faq-page a:focus-visible {
  outline: 3px solid var(--learn-gold);
  outline-offset: 3px;
}

.learn-search__types {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: center;
  margin-top: 1.1rem;
}

.learn-search__types span {
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 750;
  gap: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.learn-search__types i {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  display: flex;
  font-size: 0.58rem;
  font-style: normal;
  height: 19px;
  justify-content: center;
  width: 19px;
}

.learn-search__panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  left: 0;
  max-height: min(520px, calc(100vh - 180px));
  overflow-x: hidden;
  overflow-y: auto;
  position: absolute;
  right: 0;
  top: calc(70px + 0.55rem);
  z-index: 20;
}

.learn-search__panel[hidden],
.learn-search__featured[hidden] {
  display: none;
}

.learn-search__featured > p {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  padding: 1rem 1.15rem 0.65rem;
  text-transform: uppercase;
}

.learn-search__featured > a,
.learn-category-card__items > a {
  align-items: center;
  color: inherit;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 38px 1fr;
  padding: 0.85rem 1.15rem;
  text-decoration: none;
}

.learn-search__featured > a {
  border-top: 1px solid var(--line);
}

.learn-search__featured > a:hover,
.learn-search__featured > a:focus-visible,
.learn-category-card__items > a:hover,
.learn-category-card__items > a:focus-visible {
  background: #f7f3f4;
}

.learn-search__featured strong,
.learn-search__featured small,
.learn-category-card__items strong,
.learn-category-card__items small {
  display: block;
}

.learn-search__featured strong,
.learn-category-card__items strong {
  color: var(--learn-navy);
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

.learn-search__featured small,
.learn-category-card__items small {
  color: var(--muted);
  font-size: 0.77rem;
}

.learn-type-icon {
  align-items: center;
  background: #f3e9ed;
  border-radius: 9px;
  color: var(--brand-red);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.learn-type-icon::before {
  content: "A";
}

.learn-type-icon--faq::before {
  content: "?";
}

.learn-type-icon--video::before {
  content: "▶";
}

.learn-type-icon--document::before {
  content: "D";
}

.learn-search-result {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: inherit;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 0.9rem 1rem;
  text-decoration: none;
}

.learn-search-result:hover,
.learn-search-result.is-active {
  background: #f7f3f4;
}

.learn-search-result img {
  border-radius: 9px;
  height: 58px;
  object-fit: cover;
  width: 72px;
}

.learn-search-result__meta,
.learn-result-card__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.22rem;
}

.learn-search-result__meta strong,
.learn-result-card__meta strong {
  background: #f3e9ed;
  border-radius: 999px;
  color: var(--brand-red);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.48rem;
  text-transform: uppercase;
}

.learn-search-result__meta span,
.learn-result-card__meta span {
  color: var(--muted);
  font-size: 0.72rem;
}

.learn-search-result__title,
.learn-search-result__excerpt,
.learn-result-card__title,
.learn-result-card__summary {
  display: block;
}

.learn-search-result__title {
  color: var(--learn-navy);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.learn-search-result__excerpt {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.learn-search__view-all {
  color: var(--brand-red);
  display: block;
  font-weight: 800;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
}

.learn-search__view-all:hover {
  background: #f7f3f4;
  color: #520b20;
}

.learn-search-message {
  display: grid;
  gap: 0.3rem;
  padding: 1.5rem;
  text-align: center;
}

.learn-search-message strong {
  color: var(--learn-navy);
}

.learn-search-message span {
  color: var(--muted);
  font-size: 0.9rem;
}

.learn-results-section,
.learn-category-results {
  background: #f1eff0;
  border-bottom: 1px solid var(--line);
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.learn-levels,
.learn-categories {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.learn-section-heading {
  margin-bottom: clamp(2.3rem, 5vw, 3.75rem);
  max-width: 780px;
}

.learn-section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.learn-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.07;
  margin-bottom: 0.9rem;
}

.learn-section-heading > p:not(.home-kicker) {
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.learn-result-list {
  display: grid;
  gap: 0.8rem;
}

.learn-result-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 116px minmax(0, 1fr);
  padding: 0.8rem;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.learn-result-card:hover {
  border-color: rgba(108, 15, 43, 0.35);
  box-shadow: 0 14px 34px rgba(23, 35, 43, 0.1);
  color: inherit;
  transform: translateY(-2px);
}

.learn-result-card img {
  border-radius: 10px;
  height: 88px;
  object-fit: cover;
  width: 116px;
}

.learn-result-card__title {
  color: var(--learn-navy);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.learn-result-card__summary {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.learn-empty-state {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 0 auto;
  max-width: 700px;
  padding: 2.5rem;
  text-align: center;
}

.learn-empty-state > span {
  align-items: center;
  background: #f3e9ed;
  border-radius: 50%;
  color: var(--brand-red);
  display: flex;
  font-size: 1.35rem;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  margin: 0 auto 1rem;
  width: 52px;
}

.learn-empty-state h3 {
  color: var(--learn-navy);
  margin-bottom: 0.6rem;
}

.learn-empty-state p {
  color: var(--muted);
  margin-bottom: 0;
}

.learn-levels {
  background: #fff;
}

.learn-level-picker {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.learn-level-card {
  align-items: center;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 18px;
  color: inherit;
  display: grid;
  gap: 1rem;
  grid-template-columns: 54px minmax(0, 1fr) 32px;
  min-height: 145px;
  padding: 1.5rem;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 100%;
}

.learn-level-card:hover {
  border-color: rgba(108, 15, 43, 0.4);
  box-shadow: 0 15px 35px rgba(23, 35, 43, 0.09);
  transform: translateY(-3px);
}

.learn-level-card.is-active {
  background: #f9f5f6;
  border-color: var(--brand-red);
  box-shadow: inset 0 0 0 1px var(--brand-red);
}

.learn-level-card__number {
  align-items: center;
  background: var(--learn-navy);
  border-radius: 12px;
  color: #fff;
  display: flex;
  font-size: 0.78rem;
  font-weight: 850;
  height: 54px;
  justify-content: center;
  letter-spacing: 0.07em;
  width: 54px;
}

.learn-level-card.is-active .learn-level-card__number {
  background: var(--brand-red);
}

.learn-level-card strong,
.learn-level-card small {
  display: block;
}

.learn-level-card strong {
  color: var(--learn-navy);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.learn-level-card small {
  color: var(--muted);
  font-size: 0.95rem;
}

.learn-level-card__check {
  align-items: center;
  background: #e5e7e9;
  border-radius: 50%;
  color: transparent;
  display: flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.learn-level-card.is-active .learn-level-card__check {
  background: var(--brand-red);
  color: #fff;
}

.learn-category-results {
  background: #f8f6f7;
}

.learn-categories {
  background: #f1eff0;
}

.learn-category-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.learn-category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(23, 35, 43, 0.06);
  overflow: hidden;
}

.learn-category-card__header {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 42px 1fr;
  padding: 1.5rem;
}

.learn-category-card__header > span {
  align-items: center;
  background: #f3e9ed;
  border-radius: 10px;
  color: var(--brand-red);
  display: flex;
  font-size: 0.72rem;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.05em;
  width: 42px;
}

.learn-category-card h3 {
  color: var(--learn-navy);
  font-size: 1.28rem;
  margin-bottom: 0.5rem;
}

.learn-category-card__header p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.learn-category-card__items > a + a {
  border-top: 1px solid var(--line);
}

.learn-category-card__all {
  border-top: 1px solid var(--line);
  color: var(--brand-red);
  display: block;
  font-size: 0.87rem;
  font-weight: 800;
  padding: 1rem 1.5rem;
  text-decoration: none;
}

.learn-category-card__all:hover {
  background: #f7f3f4;
  color: #520b20;
}

.learn-disclaimer {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 2rem auto 0;
  max-width: 900px;
  text-align: center;
}

.learn-final-cta {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 100% 100%, rgba(239, 197, 111, 0.26), transparent 26rem),
    var(--brand-red);
  background-size: 54px 54px, auto, auto;
  color: #fff;
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.learn-final-cta__inner {
  align-items: center;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
}

.learn-final-cta h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.65rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 0.8rem;
  max-width: 13ch;
}

.learn-final-cta p:not(.home-kicker) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 680px;
}

.learn-final-cta__actions {
  display: flex;
  flex: 0 0 330px;
  flex-direction: column;
  gap: 0.7rem;
}

.learn-final-cta .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 50px;
  text-align: center;
}

.learn-button--light {
  background: #fff;
  border: 1px solid #fff;
  color: var(--brand-red);
}

.learn-button--light:hover {
  background: #f5eff1;
  color: #4e091f;
}

.learn-button--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: #fff;
}

.learn-button--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* Learn detail pages */
.learn-detail-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 90% 0, rgba(108, 15, 43, 0.4), transparent 25rem),
    var(--learn-navy);
  background-size: 58px 58px, auto, auto;
  color: #fff;
  padding: clamp(3rem, 6vw, 5.25rem) 0;
}

.learn-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.learn-breadcrumbs li {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
}

.learn-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
}

.learn-breadcrumbs a {
  color: rgba(255, 255, 255, 0.82);
}

.learn-detail-hero__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-bottom: 1rem;
}

.learn-detail-hero__meta > span:not(.learn-content-badge) {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.learn-content-badge {
  background: #f3e9ed;
  border-radius: 999px;
  color: var(--brand-red);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  text-transform: uppercase;
}

.learn-detail-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.75rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.learn-detail-hero > .container > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.16rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 780px;
}

.learn-detail-hero small {
  color: rgba(255, 255, 255, 0.54);
}

.learn-detail-content {
  background: #f5f3f4;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.learn-detail-layout {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) 330px;
}

.learn-detail-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(23, 35, 43, 0.07);
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 3.2rem);
}

.learn-table-of-contents {
  background: #f7f3f4;
  border-left: 4px solid var(--brand-red);
  border-radius: 0 10px 10px 0;
  margin-bottom: 2.5rem;
  padding: 1.2rem 1.4rem;
}

.learn-table-of-contents strong {
  color: var(--learn-navy);
  display: block;
  margin-bottom: 0.65rem;
}

.learn-table-of-contents ol {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.15rem;
}

.learn-table-of-contents a {
  color: var(--brand-red);
  font-size: 0.9rem;
}

.learn-prose {
  max-width: 760px;
}

.learn-prose > section + section {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 2rem;
}

.learn-prose h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  scroll-margin-top: 100px;
}

.learn-prose p,
.learn-prose li {
  color: #444f57;
  font-size: 1.02rem;
  line-height: 1.78;
}

.learn-prose p:last-child {
  margin-bottom: 0;
}

.learn-video-player {
  aspect-ratio: 16 / 9;
  background: #0c1115;
  border-radius: 14px;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.learn-video-player video {
  display: block;
  height: 100%;
  width: 100%;
}

.learn-document-panel {
  align-items: center;
  background: #f7f3f4;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 86px minmax(0, 1fr);
  margin-bottom: 2.5rem;
  padding: 1.5rem;
}

.learn-document-panel__icon {
  align-items: center;
  background: var(--brand-red);
  border-radius: 12px;
  color: #fff;
  display: flex;
  font-size: 0.8rem;
  font-weight: 900;
  height: 86px;
  justify-content: center;
  width: 86px;
}

.learn-document-panel > div > p:first-child {
  color: var(--brand-red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.learn-document-panel h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.learn-document-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.learn-education-note {
  background: #f1eff0;
  border-radius: 12px;
  color: var(--muted);
  margin-top: 2.5rem;
  padding: 1.25rem;
}

.learn-education-note strong {
  color: var(--learn-navy);
  display: block;
  margin-bottom: 0.35rem;
}

.learn-education-note p {
  font-size: 0.84rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.learn-back-link {
  color: var(--brand-red);
  display: inline-block;
  font-weight: 800;
  margin-top: 2rem;
}

.learn-related {
  position: sticky;
  top: 100px;
}

.learn-related > h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.learn-related__list {
  display: grid;
  gap: 0.85rem;
  max-height: calc(100vh - 170px);
  overflow-y: auto;
  padding: 0.1rem 0.15rem 0.1rem 0;
}

.learn-related-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: inherit;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 76px minmax(0, 1fr);
  overflow: hidden;
  padding: 0.65rem;
  text-decoration: none;
}

.learn-related-card:hover {
  border-color: rgba(108, 15, 43, 0.4);
  color: inherit;
}

.learn-related-card img {
  border-radius: 8px;
  height: 64px;
  object-fit: cover;
  width: 76px;
}

.learn-related-card small,
.learn-related-card strong {
  display: block;
}

.learn-related-card small {
  color: var(--brand-red);
  font-size: 0.68rem;
  font-weight: 750;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.learn-related-card strong {
  color: var(--learn-navy);
  font-size: 0.9rem;
  line-height: 1.35;
}

.faq-library {
  max-width: 960px;
}

.faq-page .learn-final-cta {
  margin-top: 0;
}

@media (max-width: 991.98px) {
  .learn-final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .learn-final-cta__actions {
    flex: auto;
    width: min(100%, 420px);
  }

  .learn-detail-layout {
    grid-template-columns: 1fr;
  }

  .learn-related {
    position: static;
  }

  .learn-related__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 767.98px) {
  .learn-hero {
    padding: 4.25rem 0 5.25rem;
  }

  .learn-level-picker,
  .learn-category-grid {
    grid-template-columns: 1fr;
  }

  .learn-level-card:hover,
  .learn-result-card:hover {
    transform: none;
  }

  .learn-result-card {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .learn-result-card img {
    height: 76px;
    width: 90px;
  }

  .learn-related__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .learn-hero h1 {
    font-size: 2.75rem;
  }

  .learn-search__field {
    grid-template-columns: 45px minmax(0, 1fr);
    min-height: 62px;
    overflow: visible;
  }

  .learn-search__field button {
    border-radius: 10px;
    grid-column: 1 / -1;
    min-height: 48px;
    margin-top: 0.65rem;
    width: 100%;
  }

  .learn-search__panel {
    max-height: min(470px, calc(100vh - 140px));
    top: calc(62px + 48px + 1.15rem);
  }

  .learn-search__types {
    margin-top: calc(48px + 1.45rem);
  }

  .learn-search-result {
    align-items: start;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .learn-search-result img {
    height: 44px;
    width: 48px;
  }

  .learn-search-result__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
  }

  .learn-level-card {
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    min-height: 125px;
    padding: 1.15rem;
  }

  .learn-level-card__number {
    height: 48px;
    width: 48px;
  }

  .learn-result-card {
    align-items: start;
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .learn-result-card img {
    height: 64px;
    width: 70px;
  }

  .learn-category-card__header {
    padding: 1.25rem;
  }

  .learn-detail-hero h1 {
    font-size: 2.55rem;
  }

  .learn-detail-main {
    padding: 1.25rem;
  }

  .learn-document-panel {
    align-items: start;
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 1rem;
  }

  .learn-document-panel__icon {
    border-radius: 9px;
    height: 62px;
    width: 62px;
  }

  .learn-document-panel .btn {
    width: 100%;
  }

  .learn-final-cta__actions,
  .learn-final-cta__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .learn-page *,
  .learn-page *::before,
  .learn-page *::after,
  .learn-detail-page *,
  .learn-detail-page *::before,
  .learn-detail-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* Find a HUD Consultant */
.hud-finder {
  background: #fff;
  color: var(--ink);
  overflow: clip;
}

.hud-finder__hero {
  background:
    radial-gradient(circle at 78% 14%, rgba(111, 141, 61, 0.16), transparent 27rem),
    linear-gradient(135deg, #faf7f8 0%, #fff 48%, #f4f7ee 100%);
  border-bottom: 1px solid rgba(108, 15, 43, 0.1);
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  position: relative;
}

.hud-finder__hero::before {
  background-image: linear-gradient(rgba(108, 15, 43, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 15, 43, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, #000, transparent 65%);
  pointer-events: none;
  position: absolute;
}

.hud-finder__hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  position: relative;
}

.hud-finder__intro {
  max-width: 720px;
}

.hud-finder__eyebrow {
  color: var(--brand-green);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hud-finder h1 {
  color: var(--brand-red-dark);
  font-size: clamp(3rem, 6vw, 5.4rem);
  letter-spacing: -0.058em;
  line-height: 0.98;
  margin: 0 0 1.5rem;
  max-width: 11ch;
}

.hud-finder__lead {
  color: #414a55;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.65;
  margin: 0;
  max-width: 650px;
}

.hud-finder__trust {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 590px;
}

.hud-finder__trust span {
  align-items: center;
  background: var(--brand-green);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 1.6rem;
  font-size: 0.9rem;
  height: 1.6rem;
  justify-content: center;
}

.hud-finder__trust p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.hud-search-card {
  background: #fff;
  border: 1px solid rgba(108, 15, 43, 0.12);
  border-radius: 1.25rem;
  box-shadow: 0 28px 70px rgba(45, 24, 31, 0.15);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.hud-search-card__heading {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.4rem;
}

.hud-search-card__heading > span {
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding-top: 0.3rem;
}

.hud-search-card h2 {
  color: var(--brand-red-dark);
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  margin: 0 0 0.35rem;
}

.hud-search-card__heading p,
.hud-search-card__note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.hud-field {
  margin-bottom: 1.25rem;
}

.hud-field label {
  color: #252a30;
  display: block;
  font-size: 0.9rem;
  font-weight: 750;
  margin-bottom: 0.55rem;
}

.hud-field label span {
  color: var(--muted);
  font-weight: 500;
}

.hud-field input,
.hud-autocomplete > gmp-place-autocomplete {
  background: #fff;
  border: 1px solid #cbd3dc;
  border-radius: 0.62rem;
  box-sizing: border-box;
  color: var(--ink);
  display: block;
  min-height: 3.25rem;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

.hud-field input:focus,
.hud-autocomplete > gmp-place-autocomplete:focus-within {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(111, 141, 61, 0.18);
  outline: 0;
}

.hud-autocomplete__loading,
.hud-autocomplete.is-unavailable {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  color: var(--muted);
  display: flex;
  min-height: 3.25rem;
  padding: 0 0.9rem;
}

.hud-field__hint {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0.4rem 0 0;
}

.hud-search-button {
  align-items: center;
  background: var(--brand-red);
  border: 1px solid var(--brand-red);
  border-radius: 0.55rem;
  color: #fff;
  display: flex;
  font-weight: 750;
  gap: 0.65rem;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.75rem 1.2rem;
  transition: background-color 160ms ease, transform 160ms ease;
  width: 100%;
}

.hud-search-button:not(:disabled):hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
}

.hud-search-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.hud-search-button:focus-visible,
.hud-result a:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: 3px;
}

.hud-search-button__spinner {
  animation: hud-spin 700ms linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border-top-color: #fff;
  display: none;
  height: 1rem;
  width: 1rem;
}

.hud-search-button.is-loading .hud-search-button__spinner {
  display: inline-block;
}

.hud-search-card__note {
  margin-top: 0.85rem;
  text-align: center;
}

.hud-result-shell {
  background: #f7f8f5;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.hud-result-shell[hidden] {
  display: none;
}

.hud-result {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand-green);
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.25rem;
  margin: 0 auto;
  max-width: 1050px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.hud-result--invalid,
.hud-result--temporary,
.hud-result--not-found {
  border-left-color: var(--brand-red);
}

.hud-result--loading {
  color: var(--muted);
  display: block;
  font-weight: 650;
  text-align: center;
}

.hud-result__marker {
  align-items: center;
  background: var(--brand-green);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 2.7rem;
  font-size: 1.25rem;
  font-weight: 800;
  height: 2.7rem;
  justify-content: center;
}

.hud-result--invalid .hud-result__marker,
.hud-result--temporary .hud-result__marker,
.hud-result--not-found .hud-result__marker {
  background: var(--brand-red);
}

.hud-result__body {
  flex: 1;
  min-width: 0;
}

.hud-result h2 {
  color: var(--brand-red-dark);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
  margin: 0 0 0.5rem;
}

.hud-result__body > p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.hud-consultant-card {
  align-items: center;
  background: #f7f8f5;
  border-radius: 0.75rem;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 1.25rem;
}

.hud-consultant-card h3 {
  color: var(--ink);
  font-size: 1.3rem;
  margin: 0 0 0.2rem;
}

.hud-consultant-card p {
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.hud-consultant-card strong {
  color: var(--brand-green);
  font-size: 0.9rem;
}

.hud-result__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.hud-consultant-card .hud-result__actions {
  justify-content: flex-end;
  margin-top: 0;
}

.hud-btn-secondary {
  background: #fff;
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
}

.hud-btn-secondary:hover {
  background: #f8f1f3;
  color: var(--brand-red-dark);
}

.hud-education {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.hud-education__grid {
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.hud-education h2 {
  color: var(--brand-red-dark);
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  letter-spacing: -0.048em;
  line-height: 1.05;
  margin: 0 0 1.2rem;
}

.hud-education__grid > div > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hud-education__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hud-education__list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 2rem 1fr;
  padding: 1.2rem 0;
}

.hud-education__list li:first-child {
  border-top: 1px solid var(--line);
}

.hud-education__list span {
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 800;
}

.hud-education__list p {
  font-size: 1.06rem;
  font-weight: 680;
  margin: 0;
}

.hud-finder__support {
  background: var(--brand-red-dark);
  color: #fff;
  padding: 1.6rem 0;
  text-align: center;
}

.hud-finder__support p {
  margin: 0 auto;
  max-width: 960px;
}

.consultant-feature__find {
  color: #fff;
  display: inline-block;
  font-weight: 700;
  margin-top: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@keyframes hud-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  .hud-finder__hero-grid {
    gap: 3rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  }

  .hud-finder h1 {
    font-size: clamp(3rem, 6vw, 4.4rem);
  }

  .hud-consultant-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .hud-consultant-card .hud-result__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .hud-finder__hero {
    padding: 3.5rem 0;
  }

  .hud-finder__hero-grid,
  .hud-education__grid {
    grid-template-columns: 1fr;
  }

  .hud-finder h1 {
    max-width: 12ch;
  }

  .hud-result {
    display: block;
  }

  .hud-result__marker {
    margin-bottom: 1rem;
  }
}

@media (max-width: 390px) {
  .hud-search-card {
    border-radius: 0.8rem;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding: 1.2rem;
  }

  .hud-finder h1 {
    font-size: 2.75rem;
  }

  .hud-result__actions,
  .hud-result__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hud-search-button,
  .hud-search-button__spinner {
    animation: none;
    scroll-behavior: auto;
    transition: none;
  }
}
