
:root{
  --buy-red:#d22630;
  --buy-red-bright:#ee0000;
  --buy-ink:#26292d;
  --buy-muted:#5e646b;
  --buy-line:#dedede;
  --buy-soft:#f3f4f4;
  --buy-soft-2:#e9ebec;
}

/* Deliberately narrower marketing-page canvas.
   Matches the stronger side margins in the approved reference. */
.buy-canvas-v76,
.ser-section-nav .container{
  width:min(1240px,76vw);
  margin-inline:auto;
}

.buy-main-v76{
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  color:var(--buy-ink);
}
.buy-main-v76 h1,
.buy-main-v76 h2,
.buy-main-v76 h3,
.buy-main-v76 p,
.buy-main-v76 span,
.buy-main-v76 strong,
.buy-main-v76 label,
.buy-main-v76 input,
.buy-main-v76 select,
.buy-main-v76 a,
.buy-main-v76 button{
  font-family:Inter,"Segoe UI",Arial,sans-serif;
}

.ser-section-nav{
  background:#ced1d3;
  border-top:1px solid #c2c5c7;
  border-bottom:1px solid #b9bdc0;
}
.ser-section-nav .container{
  display:grid;
  grid-template-columns:repeat(5,1fr);
}
.ser-section-nav a{
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-right:1px solid #b9bdc0;
  text-decoration:none;
  color:#444a50;
  font-size:.76rem;
  font-weight:650;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.ser-section-nav a:first-child{border-left:1px solid #b9bdc0}
.ser-section-nav a:hover{background:#c3c6c8;color:#25282b}

.buy-main-v76 .eyebrow{
  color:var(--buy-red);
  font-size:.76rem;
  line-height:1.2;
  font-weight:750;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:14px;
}
.buy-main-v76 .btn{
  min-height:44px;
  padding:0 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:.76rem;
  font-weight:750;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.buy-main-v76 .btn.red{background:var(--buy-red);border:1px solid var(--buy-red);color:#fff}
.buy-outline-v76{border:1px solid #333;background:#fff;color:#222}
.buy-outline-v76.red-outline{border-color:var(--buy-red);color:var(--buy-red)}
.buy-red-rule-v76{display:block;width:58px;height:3px;background:var(--buy-red);margin:15px 0 18px}
.buy-red-rule-v76.small{width:50px;height:2px;margin:14px 0}

/* HERO — one integrated visual composition rather than separate boxes */
.buy-hero-v76{
  background:
    linear-gradient(135deg,rgba(0,0,0,.018) 0 14%,transparent 14% 100%),
    #fff;
  border-bottom:1px solid #e4e4e4;
  padding:28px 0 30px;
  overflow:hidden;
}
.buy-hero-grid-v76{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  align-items:center;
  gap:20px;
}
.buy-hero-copy-v76{
  position:relative;
  z-index:4;
  padding:18px 32px 18px 0;
}
.buy-hero-copy-v76 h1{
  margin:0;
  font-size:clamp(3rem,4.7vw,4.9rem);
  line-height:.98;
  letter-spacing:-.05em;
  font-weight:620;
  color:#27292b;
}
.buy-hero-copy-v76 p{
  margin:0 0 21px;
  max-width:560px;
  font-size:1.05rem;
  line-height:1.65;
  color:#4d535a;
}
.buy-actions-v76{display:flex;gap:11px;flex-wrap:wrap}

.buy-hero-visual-v76{
  min-height:360px;
  position:relative;
}
.buy-hero-house-v76{
  position:absolute;
  inset:0 23% 0 0;
  background:url('../images/buy-hero-house-v80.jpg') 54% 52%/cover no-repeat;
  clip-path:polygon(16% 0,100% 0,88% 100%,0 100%);
}
.buy-hero-red-v76{
  position:absolute;
  right:1%;
  top:0;
  bottom:0;
  width:22%;
  background:linear-gradient(180deg,#ed0000,#c90000);
  clip-path:polygon(34% 0,100% 0,100% 100%,0 100%);
}
.buy-hero-card-v76{
  position:absolute;
  right:2%;
  top:28px;
  width:38%;
  min-width:315px;
  background:#fff;
  border:1px solid #ddd;
  box-shadow:0 14px 34px rgba(0,0,0,.14);
  padding:28px 27px 25px;
  z-index:3;
}
.buy-hero-card-v76::after{
  content:"";
  position:absolute;
  right:-1px;
  top:-1px;
  width:90px;
  height:86px;
  background:var(--buy-red-bright);
  clip-path:polygon(100% 0,100% 100%,0 0);
}
.buy-card-kicker-v76{display:flex;align-items:center;gap:10px;font-size:.76rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.buy-cashback-big-v76{font-size:clamp(2.55rem,3.6vw,3.6rem);line-height:.95;color:var(--buy-red-bright);font-weight:820;letter-spacing:-.05em;margin-top:17px}
.buy-cashback-label-v76{font-size:1.95rem;line-height:1;font-weight:760;letter-spacing:-.03em}
.buy-hero-card-v76 p{font-size:.95rem;line-height:1.52;color:#4f555b;margin:0}
.buy-hero-card-v76 small{display:block;margin-top:12px;font-size:.76rem;line-height:1.5;color:#71767b}

/* shared line icons */
.buy-line-icon-v76{
  flex:0 0 auto;
  width:38px;height:38px;border:1px solid #e1e1e1;border-radius:50%;
  display:grid;place-items:center;color:var(--buy-red-bright);background:#fff;
}
.buy-line-icon-v76.large{width:52px;height:52px}
.buy-line-icon-v76.mortgage{width:64px;height:64px}
.buy-line-icon-v76 svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.buy-line-icon-v76.large svg{width:28px;height:28px}
.buy-line-icon-v76.mortgage svg{width:32px;height:32px}

/* CASH BACK FEATURE — copy + icons + warm room photo */
.buy-cashback-v76{padding:48px 0 0;background:#fff}
.buy-cashback-grid-v76{
  display:grid;
  grid-template-columns:.9fr .7fr 1.15fr;
  align-items:stretch;
}
.buy-cashback-copy-v76{padding:10px 34px 48px 0}
.buy-cashback-copy-v76 h2{
  margin:0 0 17px;
  font-size:clamp(2rem,2.8vw,3rem);
  line-height:1.08;
  font-weight:620;
  letter-spacing:-.035em;
}
.buy-cashback-copy-v76 p{
  margin:0 0 14px;
  font-size:1rem;
  line-height:1.63;
  color:#555b62;
}
.buy-cashback-copy-v76 .btn{margin-top:8px}
.buy-benefits-v76{
  padding:18px 26px 36px 12px;
  display:flex;flex-direction:column;justify-content:center;gap:19px;
  position:relative;z-index:2;background:#fff;
}
.buy-benefit-v76{display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:start}
.buy-benefit-v76 strong{display:block;font-size:.98rem;line-height:1.3;font-weight:680;margin-bottom:4px}
.buy-benefit-v76 span:not(.buy-line-icon-v76){display:block;font-size:.88rem;line-height:1.5;color:#626971}
.buy-living-v76{
  min-height:350px;
  background:url('../images/buy-living-warm-v76.jpg') center center/cover no-repeat;
  clip-path:polygon(12% 0,100% 0,100% 100%,0 100%);
}

/* COMMUNITY */
.buy-community-v76{background:#f1f2f2;padding:54px 0}
.buy-community-head-v76{display:grid;grid-template-columns:.92fr 1.08fr;gap:54px;align-items:end;margin-bottom:25px}
.buy-community-head-v76 h2{margin:0;font-size:clamp(2rem,2.75vw,2.9rem);line-height:1.08;font-weight:620;letter-spacing:-.035em}
.buy-community-head-v76>p{margin:0;font-size:1rem;line-height:1.62;color:#5b6269}
.buy-community-panel-v76{background:#fff;border:1px solid #ddd;padding:28px 30px;box-shadow:0 8px 22px rgba(0,0,0,.035)}
.buy-community-controls-v76{display:grid;grid-template-columns:1fr 1fr auto auto;gap:14px;align-items:end}
.buy-community-controls-v76 label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.055em;color:#4c5359}
.buy-community-controls-v76 select{margin-top:6px;width:100%;height:46px;border:1px solid #c9cccf;background:#fff;padding:0 12px;font-size:.94rem;color:#454a50}
.buy-community-message-v76{font-size:.82rem;color:#666;margin:10px 0 0}
.buy-community-insights-v76{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:24px;border-top:1px solid #e4e4e4;padding-top:20px}
.buy-community-insight-v76{display:grid;grid-template-columns:38px 1fr;gap:12px;padding:0 22px;border-right:1px solid #e4e4e4}
.buy-community-insight-v76:first-child{padding-left:0}
.buy-community-insight-v76:last-child{border-right:0;padding-right:0}
.buy-community-insight-v76 strong{display:block;font-size:.94rem;font-weight:680;margin-bottom:3px}
.buy-community-insight-v76 span:not(.buy-line-icon-v76){display:block;font-size:.84rem;line-height:1.5;color:#646b72}

/* MORTGAGE STRIP */
.buy-mortgage-v76{padding:32px 0 20px;background:#fff}
.buy-mortgage-panel-v76{
  background:#f3f3f3;
  border:1px solid #e0e0e0;
  display:grid;
  grid-template-columns:1.1fr 1.3fr .65fr auto;
  gap:22px;
  align-items:center;
  padding:22px 26px;
}
.buy-mortgage-title-v76{display:flex;align-items:center;gap:15px}
.buy-mortgage-title-v76 h2{font-size:1.55rem;line-height:1.1;margin:0 0 4px;font-weight:650}
.buy-mortgage-title-v76 p{font-size:.86rem;line-height:1.45;margin:0;color:#666c72}
.buy-mortgage-fields-v76{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.buy-mortgage-fields-v76 label{font-size:.7rem;font-weight:700;color:#555b61;text-transform:uppercase;letter-spacing:.04em}
.buy-mortgage-fields-v76 input{margin-top:5px;width:100%;height:42px;border:1px solid #c9cccf;background:#fff;padding:0 10px;font-size:.9rem}
.buy-mortgage-result-v76 span{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.045em;color:#6c7278}
.buy-mortgage-result-v76 strong{display:block;font-size:1.5rem;line-height:1.05;margin-top:4px}

/* RESOURCES */
.buy-resources-v76{padding:32px 0 44px}
.buy-resources-head-v76{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px}
.buy-resources-head-v76 h2{font-size:2rem;line-height:1.1;margin:0;font-weight:630}
.buy-resources-head-v76>a{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;font-weight:750;color:var(--buy-red);text-decoration:none}
.buy-resource-grid-v76{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.buy-resource-card-v76{display:grid;grid-template-columns:42% 58%;border:1px solid #dedede;background:#fff;min-height:170px}
.buy-resource-image-v76{background-size:cover;background-position:center}
.buy-resource-image-v76.financing{background-image:url('../images/buyer-financing-v76.jpg')}
.buy-resource-image-v76.first{background-image:url('../images/buyer-first-time-v76.jpg')}
.buy-resource-image-v76.moving{background-image:url('../images/buyer-moving-v76.jpg')}
.buy-resource-copy-v76{padding:18px 17px;display:flex;flex-direction:column}
.buy-resource-copy-v76 h3{font-size:1.05rem;line-height:1.2;margin:0 0 8px;font-weight:650}
.buy-resource-copy-v76 p{font-size:.84rem;line-height:1.5;color:#646a70;margin:0 0 12px}
.buy-resource-copy-v76 a{margin-top:auto;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:var(--buy-red);font-weight:750;text-decoration:none}

/* CONTACT STRIP */
.buy-contact-strip-v76{background:#f1f2f2;border-top:1px solid #ddd;padding:20px 0}
.buy-contact-strip-inner-v76{display:flex;align-items:center;justify-content:space-between;gap:28px}
.buy-contact-strip-inner-v76 strong{display:block;font-size:1rem}
.buy-contact-strip-inner-v76 span{display:block;font-size:.84rem;color:#62686e;margin-top:3px}
.buy-contact-actions-v76{display:flex;align-items:center;gap:18px}
.buy-contact-actions-v76>a:not(.btn){font-size:.84rem;font-weight:650;text-decoration:none;color:#34383c}

/* Tablet */
@media(max-width:1120px){
  .buy-canvas-v76,.ser-section-nav .container{width:calc(100% - 56px)}
  .buy-hero-grid-v76{grid-template-columns:1fr}
  .buy-hero-copy-v76{max-width:720px}
  .buy-hero-visual-v76{min-height:360px}
  .buy-cashback-grid-v76{grid-template-columns:1fr 1fr}
  .buy-living-v76{grid-column:1/-1;clip-path:none;min-height:360px}
  .buy-community-controls-v76{grid-template-columns:1fr 1fr}
  .buy-community-controls-v76 .btn{min-height:44px}
  .buy-mortgage-panel-v76{grid-template-columns:1fr 1fr}
  .buy-resource-grid-v76{grid-template-columns:1fr}
  .buy-resource-card-v76{grid-template-columns:240px 1fr}
}

/* Mobile */
@media(max-width:700px){
  .buy-canvas-v76,.ser-section-nav .container{width:calc(100% - 36px)}
  .ser-section-nav{overflow-x:auto}
  .ser-section-nav .container{width:max-content;min-width:100%;display:flex}
  .ser-section-nav a{padding:0 18px;white-space:nowrap;border-left:0}
  .buy-hero-v76{padding:22px 0 24px}
  .buy-hero-copy-v76{padding-right:0}
  .buy-hero-copy-v76 h1{font-size:2.8rem}
  .buy-hero-copy-v76 p{font-size:1rem}
  .buy-hero-visual-v76{min-height:520px}
  .buy-hero-house-v76{inset:0 0 190px 0;clip-path:polygon(10% 0,100% 0,100% 100%,0 100%)}
  .buy-hero-red-v76{display:none}
  .buy-hero-card-v76{left:18px;right:18px;top:auto;bottom:0;width:auto;min-width:0}
  .buy-cashback-v76{padding-top:40px}
  .buy-cashback-grid-v76{grid-template-columns:1fr}
  .buy-cashback-copy-v76{padding:0 0 24px}
  .buy-benefits-v76{padding:12px 0 28px}
  .buy-living-v76{grid-column:auto;min-height:255px}
  .buy-community-v76{padding:42px 0}
  .buy-community-head-v76{grid-template-columns:1fr;gap:14px}
  .buy-community-controls-v76{grid-template-columns:1fr}
  .buy-community-insights-v76{grid-template-columns:1fr;gap:16px}
  .buy-community-insight-v76{border-right:0;border-bottom:1px solid #e5e5e5;padding:0 0 16px}
  .buy-community-insight-v76:last-child{border-bottom:0}
  .buy-mortgage-panel-v76{grid-template-columns:1fr}
  .buy-mortgage-fields-v76{grid-template-columns:1fr}
  .buy-resource-card-v76{grid-template-columns:110px 1fr}
  .buy-contact-strip-inner-v76{align-items:flex-start;flex-direction:column}
  .buy-contact-actions-v76{flex-wrap:wrap}
}


/* V79 — BUY visual refinement */
.buy-hero-v76{
  padding:22px 0 24px;
}
.buy-hero-grid-v76{
  grid-template-columns:.72fr 1.28fr;
  gap:10px;
}
.buy-hero-copy-v76{
  padding:10px 30px 10px 0;
}
.buy-hero-visual-v76{
  min-height:350px;
}
.buy-hero-house-v76{
  inset:0 20% 0 0;
  clip-path:polygon(16% 0,100% 0,90% 100%,0 100%);
}
.buy-hero-red-v76{
  right:0;
  width:22%;
}
.buy-hero-card-v76{
  right:1%;
  top:25px;
  width:37%;
  min-width:315px;
}

/* Resource cards: use clean, full-resolution site imagery with crisp topic badges.
   All three image blocks are exactly the same height. */
.buy-resource-card-v76{
  grid-template-columns:42% 58%;
  min-height:168px;
  height:168px;
  overflow:hidden;
}
.buy-resource-image-v76{
  min-height:168px;
  height:168px;
  position:relative;
  background-size:cover;
  background-position:center;
}
.buy-resource-image-v76::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.16));
  pointer-events:none;
}
.buy-resource-image-v76::before{
  position:absolute;
  left:14px;
  bottom:13px;
  z-index:2;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#fff;
  border:1px solid rgba(210,38,48,.35);
  color:#d22630;
  display:grid;
  place-items:center;
  font-size:1.2rem;
  font-weight:800;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.buy-resource-image-v76.financing{
  background-image:url('../images/insight-feature.jpg');
  background-position:72% 46%;
}
.buy-resource-image-v76.financing::before{content:"$";}
.buy-resource-image-v76.first{
  background-image:url('../images/path-buy.jpg');
  background-position:54% 45%;
}
.buy-resource-image-v76.first::before{content:"⌂";}
.buy-resource-image-v76.moving{
  background-image:url('../images/community-edmonton.jpg');
  background-position:center;
}
.buy-resource-image-v76.moving::before{content:"◎";}

.buy-resource-copy-v76{
  min-height:168px;
  padding:18px 18px;
}
.buy-resource-copy-v76 h3{
  margin-bottom:7px;
}
.buy-resource-copy-v76 p{
  margin-bottom:9px;
}

/* Keep the existing buyer secondary menu as the single quick-navigation bar.
   It already contains the five useful options from the approved mockup,
   so a duplicate bar below the hero would add clutter. */


/* ===== V80 BUY PAGE — MOCKUP CLOSER MATCH ===== */
.buy-hero-v76{padding:18px 0 20px}
.buy-hero-grid-v76{grid-template-columns:.70fr 1.30fr;gap:4px}
.buy-hero-copy-v76{padding:10px 28px 10px 0}
.buy-hero-copy-v76 h1{font-size:clamp(3rem,4.4vw,4.65rem);line-height:.97}
.buy-hero-copy-v76>p{max-width:500px;font-size:1rem;line-height:1.58}
.buy-hero-visual-v76{min-height:352px}
.buy-hero-house-v76{inset:0 19% 0 0;clip-path:polygon(15% 0,100% 0,89% 100%,0 100%)}
.buy-hero-card-v76{top:24px;right:1%;width:38%;min-width:320px;padding:26px 26px 24px}
.buy-cashback-big-v76{margin-top:14px}
.buy-hero-red-v76{width:21%}

/* Second section proportions closer to approved mockup. */
.buy-cashback-v76{padding:38px 0 0}
.buy-cashback-copy-v76{padding:7px 30px 38px 0}
.buy-cashback-copy-v76 h2{font-size:clamp(1.85rem,2.3vw,2.45rem);line-height:1.08;margin-bottom:14px}
.buy-cashback-copy-v76 p{font-size:.95rem;line-height:1.58}
.buy-benefits-v76{padding:14px 22px 30px 10px;gap:16px}
.buy-benefit-v76 strong{font-size:.94rem}
.buy-benefit-v76 span:not(.buy-line-icon-v76){font-size:.84rem}

/* Restore the three buyer-resource concepts.
   All three photos have identical displayed height. */
.buy-resource-card-v76{grid-template-columns:42% 58%;height:168px;min-height:168px;overflow:hidden}
.buy-resource-image-v76{height:168px;min-height:168px;background-size:cover;background-position:center}
.buy-resource-image-v76::before,.buy-resource-image-v76::after{content:none!important;display:none!important}
.buy-resource-image-v76.financing{background-image:url('../images/buyer-financing-v80.jpg');background-position:center}
.buy-resource-image-v76.first{background-image:url('../images/buyer-first-time-v80.jpg');background-position:center}
.buy-resource-image-v76.moving{background-image:url('../images/buyer-moving-v80.jpg');background-position:center}
.buy-resource-copy-v76{min-height:168px;padding:17px}
.buy-resource-copy-v76 h3{font-size:1rem;line-height:1.18}
.buy-resource-copy-v76 p{font-size:.82rem;line-height:1.46}
.buy-resource-copy-v76 a{font-size:.7rem}


/* ===== V81 BUY — mockup graphic details + program bar ===== */

/* Strong, clearly delineated graduated greys on the left side of the hero. */
.buy-hero-v76{
  background:
    linear-gradient(121deg,
      #f7f7f7 0 14%,
      #e6e8ea 14% 20%,
      #f2f3f4 20% 27%,
      #d9dcdf 27% 31%,
      #f8f8f8 31% 38%,
      #ffffff 38% 100%);
}

/* Make the hero promo card match the approved graphic more closely. */
.buy-card-kicker-v76{
  font-size:.78rem;
  font-weight:750;
  letter-spacing:.045em;
}
.buy-cashback-big-v76{
  width:100%;
  font-size:clamp(2.8rem,3.6vw,3.65rem);
  line-height:.92;
  font-weight:850;
  letter-spacing:-.06em;
  color:#ee0000;
  white-space:nowrap;
}
.buy-cashback-label-v76{
  width:100%;
  font-size:clamp(2rem,2.75vw,2.8rem);
  line-height:.92;
  font-weight:850;
  letter-spacing:-.055em;
  color:#27292c;
  text-transform:uppercase;
  white-space:nowrap;
}
.buy-hero-card-v76 p{
  max-width:245px;
  font-size:.96rem;
  line-height:1.5;
  margin-top:4px;
}

/* Program choices bar between hero and detailed cash-back section. */
.buy-promo-bar-v81{
  background:#fff;
  border-top:1px solid #d9dcdf;
  border-bottom:1px solid #d4d7da;
}
.buy-promo-grid-v81{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.buy-promo-grid-v81>a{
  min-height:76px;
  padding:12px 20px;
  display:flex;
  gap:13px;
  align-items:center;
  color:#34393e;
  text-decoration:none;
  border-right:1px solid #dedfe1;
  background:#fff;
}
.buy-promo-grid-v81>a:first-child{border-left:1px solid #dedfe1}
.buy-promo-grid-v81>a:hover{background:#f5f5f5}
.buy-promo-percent-v81{
  color:#d22630;
  font-size:1.55rem;
  line-height:1;
  font-weight:850;
  letter-spacing:-.04em;
  min-width:48px;
}
.buy-promo-grid-v81 strong{
  display:block;
  font-size:.88rem;
  line-height:1.2;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.025em;
}
.buy-promo-grid-v81 small{
  display:block;
  margin-top:4px;
  font-size:.75rem;
  line-height:1.35;
  color:#686e74;
}
.buy-promo-doc-v81{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border:1px solid rgba(210,38,48,.35);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#d22630;
  font-size:1.35rem;
  font-weight:800;
}

/* Cash-back terms are available on-page, not cluttering the hero card. */
.buy-cashback-terms-v81{
  padding:42px 0 46px;
  background:#f2f3f3;
  border-top:1px solid #e0e1e2;
}
.buy-terms-head-v81{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:22px;
}
.buy-terms-head-v81 h2{
  margin:0;
  font-size:clamp(1.75rem,2.25vw,2.35rem);
  line-height:1.08;
  font-weight:700;
  letter-spacing:-.03em;
}
.buy-terms-head-v81>a{
  color:#d22630;
  text-decoration:none;
  font-size:.78rem;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.buy-terms-grid-v81{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.buy-terms-grid-v81>div{
  background:#fff;
  border:1px solid #dedfe1;
  padding:20px 19px;
}
.buy-terms-grid-v81 strong{
  display:block;
  margin-bottom:7px;
  font-size:.96rem;
  line-height:1.3;
  font-weight:750;
}
.buy-terms-grid-v81 p{
  margin:0;
  color:#5d646b;
  font-size:.86rem;
  line-height:1.55;
}
.buy-terms-note-v81{
  margin:16px 0 0;
  color:#676d73;
  font-size:.82rem;
  line-height:1.5;
}

@media(max-width:1050px){
  .buy-promo-grid-v81{grid-template-columns:1fr 1fr}
  .buy-promo-grid-v81>a:nth-child(3){border-left:1px solid #dedfe1;border-top:1px solid #dedfe1}
  .buy-promo-grid-v81>a:nth-child(4){border-top:1px solid #dedfe1}
  .buy-terms-grid-v81{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .buy-promo-grid-v81{grid-template-columns:1fr}
  .buy-promo-grid-v81>a{
    border-left:1px solid #dedfe1;
    border-top:1px solid #dedfe1;
  }
  .buy-promo-grid-v81>a:first-child{border-top:0}
  .buy-terms-head-v81{align-items:flex-start;flex-direction:column}
  .buy-terms-grid-v81{grid-template-columns:1fr}
}


/* ===== V82 — DIRECT MOCKUP GEOMETRY REBUILD =====
   Stop treating hero as three columns. Compose it as one integrated canvas. */

.buy-hero-v76{
  padding:0;
  min-height:318px;
  background:#fff;
  overflow:hidden;
  border-bottom:1px solid #dedede;
}
.buy-hero-grid-v76{
  width:min(1240px,76vw);
  min-height:318px;
  display:block;
  position:relative;
  margin-inline:auto;
}

/* Left copy occupies roughly one-third of the composition. */
.buy-hero-copy-v76{
  position:relative;
  z-index:5;
  width:34%;
  padding:42px 0 34px 0;
}
.buy-hero-copy-v76 h1{
  margin:0;
  font-size:clamp(2.7rem,3.25vw,3.55rem);
  line-height:.96;
  font-weight:750;
  letter-spacing:-.045em;
  color:#292b2d;
}
.buy-hero-copy-v76>p{
  margin:0 0 20px;
  max-width:350px;
  font-size:1rem;
  line-height:1.42;
  color:#44494f;
}
.buy-hero-copy-v76 .buy-red-rule-v76{
  margin:14px 0 14px;
  width:50px;
}

/* Grey diagonal planes: distinct bands like the mockup, not a soft wash. */
.buy-hero-v76::before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:57%;
  height:318px;
  background:
    linear-gradient(120deg,
      #f8f8f8 0 28%,
      #e9eaeb 28% 34%,
      #f4f4f4 34% 42%,
      #d9dcde 42% 48%,
      #f7f7f7 48% 58%,
      transparent 58% 100%);
  z-index:0;
  pointer-events:none;
}

/* House begins much farther left and stretches under the promo card. */
.buy-hero-visual-v76{
  position:absolute;
  inset:0;
  min-height:318px;
  z-index:1;
}
.buy-hero-house-v76{
  position:absolute;
  left:31%;
  right:13%;
  top:0;
  bottom:0;
  background-position:52% 52%;
  background-size:cover;
  clip-path:polygon(18% 0,100% 0,88% 100%,0 100%);
}

/* Strong red wedge behind the cashback card, like the approved graphic. */
.buy-hero-red-v76{
  display:block;
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  width:20%;
  background:#e60000;
  clip-path:polygon(38% 0,100% 0,100% 100%,0 100%);
  z-index:1;
}

/* Promo card overlays the house, instead of occupying its own grid column. */
.buy-hero-card-v76{
  position:absolute;
  z-index:6;
  right:1.3%;
  top:28px;
  width:28.5%;
  min-width:0;
  padding:24px 24px 22px;
  background:#fff;
  border:1px solid #dadada;
  box-shadow:0 9px 22px rgba(0,0,0,.13);
}
.buy-card-kicker-v76{
  font-size:.69rem;
  font-weight:750;
  letter-spacing:.035em;
}
.buy-cashback-big-v76{
  margin-top:14px;
  font-size:clamp(2.25rem,2.9vw,3rem);
  font-weight:850;
  line-height:.92;
}
.buy-cashback-label-v76{
  font-size:clamp(1.78rem,2.3vw,2.35rem);
  font-weight:850;
  line-height:.92;
}
.buy-hero-card-v76 p{
  margin-top:13px;
  max-width:220px;
  font-size:.84rem;
  line-height:1.42;
}

/* Buttons more compact, like mockup. */
.buy-actions-v76{
  gap:10px;
}
.buy-main-v76 .buy-hero-copy-v76 .btn{
  min-height:40px;
  padding:0 16px;
  font-size:.68rem;
}

/* Keep the promotional options bar compact. */
.buy-promo-grid-v81>a{
  min-height:66px;
  padding:10px 18px;
}

/* Second section heading closer to approved mockup proportions. */
.buy-cashback-copy-v76 h2{
  font-size:clamp(1.8rem,2.05vw,2.25rem);
  line-height:1.06;
  font-weight:750;
  letter-spacing:-.035em;
}

/* Responsive fallback */
@media(max-width:1050px){
  .buy-hero-grid-v76{width:calc(100% - 56px)}
  .buy-hero-copy-v76{width:40%}
  .buy-hero-house-v76{left:36%;right:17%}
  .buy-hero-card-v76{width:31%}
}
@media(max-width:760px){
  .buy-hero-v76{min-height:auto;padding:22px 0}
  .buy-hero-v76::before{display:none}
  .buy-hero-grid-v76{
    width:calc(100% - 36px);
    min-height:auto;
    display:block;
  }
  .buy-hero-copy-v76{
    width:100%;
    padding:0 0 20px;
  }
  .buy-hero-copy-v76 h1{font-size:2.65rem}
  .buy-hero-visual-v76{
    position:relative;
    inset:auto;
    min-height:485px;
  }
  .buy-hero-house-v76{
    left:0;right:0;top:0;bottom:175px;
    clip-path:polygon(8% 0,100% 0,100% 100%,0 100%);
  }
  .buy-hero-red-v76{display:none}
  .buy-hero-card-v76{
    left:16px;right:16px;top:auto;bottom:0;width:auto;
  }
}

/* ===== V83 BUY PROMO POPOVERS ===== */
.buy-promo-grid-v81>button{
  appearance:none;border:0;border-right:1px solid #dedfe1;background:#fff;
  min-height:66px;padding:10px 18px;display:flex;gap:13px;align-items:center;
  text-align:left;color:#34393e;cursor:pointer;font:inherit;
}
.buy-promo-grid-v81>button:first-child{border-left:1px solid #dedfe1}
.buy-promo-grid-v81>button:hover,
.buy-promo-grid-v81>button:focus-visible{
  background:#f5f5f5;outline:none;box-shadow:inset 0 -3px 0 #d22630;
}
.buy-promo-popover-layer-v83[hidden]{display:none!important}
.buy-promo-popover-layer-v83{
  position:fixed;inset:0;z-index:9999;background:rgba(20,22,24,.46);
  display:grid;place-items:center;padding:24px;
}
.buy-promo-popover-v83{
  position:relative;width:min(620px,calc(100vw - 48px));max-height:min(78vh,720px);
  overflow:auto;background:#fff;border:1px solid #d8dadd;
  box-shadow:0 26px 70px rgba(0,0,0,.28);padding:34px 34px 30px;
}
.buy-promo-close-v83{
  position:absolute;top:12px;right:14px;width:38px;height:38px;border:0;
  background:transparent;color:#555;font-size:2rem;line-height:1;cursor:pointer;
}
.buy-promo-popover-kicker-v83{
  color:#d22630;font-size:.74rem;font-weight:800;letter-spacing:.12em;
  text-transform:uppercase;margin-bottom:9px;
}
.buy-promo-popover-v83 h2{
  margin:0 44px 14px 0;font-size:2rem;line-height:1.08;font-weight:750;letter-spacing:-.03em;
}
.buy-promo-popover-body-v83{color:#555d64;font-size:1rem;line-height:1.62}
.buy-promo-popover-body-v83 p{margin:0 0 12px}
.buy-promo-popover-body-v83 ul{margin:10px 0 0;padding-left:20px}
.buy-promo-popover-body-v83 li{margin:7px 0}
.buy-promo-popover-actions-v83{
  display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:1px solid #e2e3e4;
}
body.buy-promo-open-v83{overflow:hidden}
@media(max-width:700px){
  .buy-promo-grid-v81>button{border-left:1px solid #dedfe1;border-top:1px solid #dedfe1}
  .buy-promo-grid-v81>button:first-child{border-top:0}
  .buy-promo-popover-layer-v83{align-items:end;padding:12px}
  .buy-promo-popover-v83{width:100%;max-height:84vh;padding:28px 22px 24px}
  .buy-promo-popover-v83 h2{font-size:1.6rem}
}

/* V90 BUY hero softening and full-width bar isolation */
.buy-hero-v76{position:relative;isolation:isolate;overflow:hidden}
.buy-hero-v76::before{inset:0 auto 0 0;height:auto;width:55%;background:linear-gradient(122deg,rgba(248,248,248,.96) 0 31%,rgba(235,236,237,.72) 31% 37%,rgba(246,246,246,.93) 37% 45%,rgba(219,221,223,.50) 45% 51%,rgba(249,249,249,.88) 51% 60%,transparent 60% 100%)}
.utility-bar,.site-header,.ser-section-nav{position:relative;z-index:50;width:100%}
