/* Heart Disease Code: after-purchase one-time-offer pages (family "offer").
   Loaded with 'css' => ['offer']. Uses the kit tokens from hdc.css. */

.ofr-page main { background: #fff; }
.ofr-col { max-width: 860px; margin: 0 auto; }

/* "Wait!" strip with a progress bar (only on pages whose old copy says so) */
.ofr-wait { background: var(--navy); color: #fff; padding: 18px 0 20px; text-align: center; }
.ofr-wait__text { margin: 0 auto 12px; max-width: 760px; font-weight: 700; font-size: 18px; line-height: 1.45; }
.ofr-wait__text strong { color: var(--gold); }
.ofr-progress { max-width: 520px; margin: 0 auto; display: flex; gap: 8px; }
.ofr-progress span { flex: 1; height: 10px; border-radius: 999px; background: rgba(255,255,255,.18); }
.ofr-progress span.is-done { background: var(--gold); }
.ofr-progress span.is-now { background: linear-gradient(90deg, var(--gold) 55%, rgba(255,255,255,.18) 55%); }

/* Notice line (do not close / do not hit back) */
.ofr-notice { display: flex; gap: 12px; align-items: flex-start; background: var(--mist); border: 1px solid var(--sky-l); border-radius: 14px; padding: 14px 18px; font-weight: 600; color: var(--navy); margin: 0 0 26px; }
.ofr-notice .hdc-ic { color: var(--blue); margin-top: .25em; }

/* Hero */
.ofr-hero { padding: 56px 0 46px; background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); text-align: center; }
.ofr-hero h1 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: .4em; }
.ofr-hero .hdc-lead { max-width: 760px; margin: 0 auto 1em; }
.ofr-hero__big { font-family: var(--serif); font-weight: 700; color: var(--blue); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.3; max-width: 820px; margin: 10px auto 22px; }
.ofr-kicker { display: inline-block; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 18px; }
/* A label, not a button: dashed edge and no shadow so nobody tries to click it. */
.ofr-save { display: inline-block; background: #fff8e1; color: var(--navy); font-weight: 800; font-size: clamp(19px, 2vw, 24px); padding: 8px 22px; border-radius: 10px; border: 2px dashed var(--gold); }
.ofr-sub { color: var(--muted); font-size: 18px; margin: 14px auto 0; max-width: 760px; }

/* Letter */
.ofr-letter { padding: 56px 0 30px; }
.ofr-letter p, .ofr-letter li { font-size: 18px; }
.ofr-matt { float: right; width: 170px; margin: 4px 0 18px 26px; }
.ofr-matt img { border-radius: 50%; box-shadow: 0 0 0 6px #fff, var(--shadow); }
.ofr-matt figcaption { text-align: center; font-weight: 700; color: var(--navy); font-size: 16px; margin-top: 10px; }
.ofr-letter ol { padding-left: 1.4em; }
.ofr-letter ol li { font-weight: 700; color: var(--navy); }
.ofr-clear { clear: both; }
.ofr-h { font-family: var(--serif); color: var(--navy); font-size: clamp(26px, 3vw, 34px); margin: 1.4em 0 .5em; }
.ofr-h--center { text-align: center; }
.ofr-big, .ofr-letter .ofr-big { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 27px); color: var(--navy); font-weight: 700; line-height: 1.35; }

/* Product: the main program heading block */
.ofr-program { margin: 34px 0 10px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, var(--blue) 100%); color: #E7F0F8; border-radius: var(--radius-l); padding: 38px 38px 30px; box-shadow: var(--shadow); }
.ofr-program h2 { color: #fff; text-align: center; font-size: clamp(26px, 3vw, 36px); }
.ofr-program h2 small { display: block; font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--gold); letter-spacing: .02em; margin-top: 8px; }
.ofr-program .ofr-fig { background: #fff; border-radius: var(--radius); padding: 18px; margin: 18px auto 22px; max-width: 640px; }
.ofr-program .ofr-fig figcaption { color: var(--muted); }
.ofr-program p { color: #E7F0F8; }
.ofr-program strong { color: #fff; }

/* Components */
.ofr-intro-h { text-align: center; margin: 54px 0 10px; }
.ofr-comp { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); padding: 40px 36px 30px; margin: 46px 0 0; }
.ofr-comp--mist { background: var(--mist-2); }
.ofr-label { position: absolute; top: -17px; left: 32px; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; box-shadow: 0 4px 12px rgba(11,90,165,.25); }
.ofr-label--gold { background: var(--gold); color: var(--navy); }
.ofr-comp h3 { font-size: clamp(25px, 2.7vw, 32px); margin-bottom: .5em; }
.ofr-comp h4 { font-family: var(--serif); font-size: 22px; margin: 1.1em 0 .5em; }
.ofr-comp__top { display: grid; grid-template-columns: 1fr 230px; gap: 30px; align-items: start; }
.ofr-comp__top--wide { grid-template-columns: 1fr 300px; }
.ofr-fig { margin: 0; text-align: center; }
.ofr-fig img { margin: 0 auto; filter: drop-shadow(0 12px 18px rgba(10,46,77,.16)); }
.ofr-fig figcaption { font-size: 16px; color: var(--muted); font-style: italic; margin-top: 8px; line-height: 1.4; }
.ofr-fig--center { max-width: 520px; margin: 10px auto 22px; }
.ofr-plan { margin: 26px 0 6px; }
.ofr-areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 6px 0 22px; }
.ofr-areas li { margin: 0; background: var(--mist); color: var(--navy); border: 1px solid var(--sky-l); font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.ofr-pages { list-style: none; padding: 0; margin: 10px 0 18px; border-top: 1px solid var(--line); }
.ofr-pages li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 11px 0; margin: 0; border-bottom: 1px solid var(--line); }
.ofr-pages li span { flex: 1; position: relative; padding-left: 30px; }
.ofr-pages li span::before { content: ""; position: absolute; left: 0; top: .38em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.ofr-pages li b { flex: none; font-size: 16px; color: var(--blue); background: var(--mist); border-radius: 999px; padding: 2px 12px; white-space: nowrap; }
.ofr-pages li.ofr-more span::before { display: none; }
.ofr-pages li.ofr-more span { padding-left: 0; font-style: italic; color: var(--muted); }

/* Bonuses heading */
.ofr-bonus-h { text-align: center; margin: 70px 0 0; }
.ofr-bonus-h span { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 800; font-family: var(--sans); font-size: clamp(20px, 2.4vw, 26px); padding: 10px 28px; border-radius: 999px; }
.ofr-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.ofr-course { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 34px 26px 22px; position: relative; }
.ofr-course .ofr-fig { max-width: 170px; margin: 0 auto 14px; }
.ofr-course h3 { font-size: 25px; text-align: center; margin-bottom: .2em; }
.ofr-course .ofr-course__sub { text-align: center; color: var(--muted); font-weight: 600; margin-bottom: .8em; }
.ofr-course .ofr-label { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.ofr-namelist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.ofr-namelist li { text-align: center; margin: 0; font-weight: 700; color: var(--navy); }
.ofr-namelist img { max-width: 150px; margin: 0 auto 10px; filter: drop-shadow(0 10px 14px rgba(10,46,77,.16)); }

/* Offer: value stack + price box */
.ofr-offer { background: var(--mist); padding: 70px 0 76px; margin-top: 60px; }
.ofr-offer .ofr-h { margin-top: 0; }
.ofr-stack { background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; margin: 26px 0 0; }
.ofr-stack__row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.ofr-stack__name { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.ofr-stack__name .hdc-ic { color: var(--green); margin-top: .3em; }
.ofr-stack__val { font-weight: 700; color: var(--muted); min-width: 70px; text-align: right; }
.ofr-stack__inc { font-size: 16px; font-weight: 800; letter-spacing: .04em; color: var(--green); background: #E3F4EA; border-radius: 999px; padding: 4px 12px; }
.ofr-stack__total { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; background: var(--navy); color: #fff; font-weight: 800; font-size: 20px; }
.ofr-pricebox { margin: 30px auto 0; max-width: 720px; text-align: center; background: var(--gold-l); border: 3px dashed var(--gold); border-radius: var(--radius-l); padding: 28px 26px; }
.ofr-pricebox p { margin: 0 0 .5em; font-weight: 600; color: var(--navy); }
.ofr-price-line { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.25; margin: 6px 0 0 !important; }
.ofr-price-line s { color: var(--muted); font-weight: 600; font-size: .7em; margin: 0 .2em; text-decoration-thickness: 2px; text-decoration-color: var(--heart); }
.ofr-price-line .ofr-now { background: var(--gold); padding: 0 .25em; border-radius: 8px; }

/* Call to action */
.ofr-cta { text-align: center; margin: 34px auto 0; max-width: 760px; }
.ofr-cta__lead { font-family: var(--serif); font-size: clamp(23px, 2.6vw, 30px); font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.ofr-cta .hdc-btn--gold { font-size: 24px; padding: 24px 54px; text-transform: none; min-width: 360px; }
.ofr-cta .hdc-btn--gold .hdc-ic { width: 1.2em; height: 1.2em; }
.ofr-cta__badge { display: block; width: 100%; max-width: 440px; margin: 20px auto 0; }
.ofr-cta__note { color: var(--muted); font-size: 16px; margin: 14px 0 0; }
.ofr-cta .hdc-nothanks { max-width: 640px; line-height: 1.5; }
.ofr-warn { margin: 22px auto 0; max-width: 680px; font-weight: 700; color: var(--muted); font-size: 16px; }
.ofr-warn--box { background: #fff; border-left: 5px solid var(--heart); border-radius: 12px; padding: 14px 18px; text-align: left; color: var(--ink); }
.ofr-cta__extra { font-weight: 700; color: var(--navy); }

/* Guarantee */
.ofr-guar { display: flex; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px 32px; margin: 36px 0 0; box-shadow: var(--shadow-s); }
.ofr-guar img { width: 150px; flex: none; }
.ofr-guar h3 { margin-bottom: .35em; }
.ofr-guar p:last-child { margin-bottom: 0; }
.ofr-guar-banner { max-width: 520px; margin: 22px auto; }

/* Reasons (downsell pages) */
.ofr-reasons { counter-reset: r; list-style: none; padding: 0; margin: 20px 0; }
.ofr-reason { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin: 0 0 16px; box-shadow: var(--shadow-s); }
.ofr-reason h3 { font-size: 23px; margin-bottom: .4em; }
.ofr-reason p:last-child { margin-bottom: 0; }

/* People (dontmissout) */
.ofr-person { display: flex; gap: 22px; align-items: flex-start; background: var(--mist-2); border-radius: var(--radius); padding: 22px; margin: 18px 0; }
.ofr-person img { width: 150px; flex: none; border-radius: 12px; }

/* Video */
.ofr-video { position: relative; padding-top: 56.25%; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); margin: 0 auto 30px; max-width: 860px; }
.ofr-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
  .ofr-comp__top, .ofr-comp__top--wide { grid-template-columns: 1fr; }
  .ofr-comp__top .ofr-fig { max-width: 240px; margin: 0 auto; order: -1; }
  .ofr-comp__top--wide .ofr-fig { max-width: 340px; }
  .ofr-courses { grid-template-columns: 1fr; }
  .ofr-namelist { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ofr-hero { padding: 38px 0 32px; }
  .ofr-matt { float: none; width: 150px; margin: 0 auto 20px; }
  .ofr-program { padding: 28px 18px 20px; border-radius: var(--radius); }
  .ofr-comp { padding: 34px 18px 20px; border-radius: var(--radius); }
  .ofr-label { left: 18px; }
  .ofr-pages li { display: block; }
  .ofr-pages li span { display: block; }
  .ofr-pages li b { display: inline-block; margin: 6px 0 0 30px; }
  .ofr-stack__row { grid-template-columns: 1fr auto; padding: 14px 16px; }
  .ofr-stack__val { grid-column: 1; grid-row: 2; text-align: left; padding-left: 32px; }
  .ofr-stack__inc { grid-column: 2; grid-row: 1 / span 2; }
  .ofr-stack__total { padding: 16px; font-size: 18px; }
  .ofr-cta .hdc-btn--gold { min-width: 0; font-size: 21px; padding: 20px 22px; }
  .ofr-guar { flex-direction: column; text-align: center; padding: 24px 18px; }
  .ofr-person { flex-direction: column; align-items: center; text-align: left; }
  .ofr-offer { padding: 50px 0 56px; }
  .ofr-wait__text { font-size: 17px; }
}

/* Long "YES ..." price sentence and helpers */
.ofr-price-line--text { font-size: clamp(21px, 2.3vw, 26px) !important; line-height: 1.45 !important; }
.ofr-after-price { margin-top: 18px; }
img.ofr-guar-banner { display: block; width: 100%; }

/* Short offer box: first screen and middle of the page */
.ofr-quick { max-width: 560px; margin: 28px auto 0; background: #fff; border: 2px solid var(--gold); border-radius: var(--radius-l); padding: 24px 26px 20px; box-shadow: var(--shadow-s); text-align: center; }
.ofr-quick--mid { margin: 44px auto 40px; }
.ofr-quick__title { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 22px; line-height: 1.3; margin: 0 0 8px; }
.ofr-quick__price { margin: 0 0 6px; color: var(--navy); }
.ofr-quick__price s { color: var(--muted); font-size: 22px; font-weight: 600; text-decoration-color: var(--heart); text-decoration-thickness: 2px; margin-right: 6px; }
.ofr-quick__now { font-family: var(--serif); font-weight: 800; font-size: 44px; line-height: 1.1; }
.ofr-quick__once { display: block; font-size: 16px; color: var(--muted); }
.ofr-quick__save { display: inline-block; background: #fff8e1; color: var(--navy); font-weight: 800; font-size: 17px; border-radius: 8px; padding: 4px 12px; margin: 4px 0 14px; }
.ofr-quick .hdc-btn--gold { width: 100%; font-size: 21px; padding: 18px 20px; text-transform: none; }
.ofr-quick__more { display: inline-block; margin-top: 12px; font-size: 17px; font-weight: 700; color: var(--blue); }
.ofr-guarline { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.ofr-guarline .hdc-ic { width: 20px; height: 20px; flex: none; color: var(--navy); }
.ofr-hero .ofr-save + .ofr-quick { margin-top: 22px; }
@media (max-width: 600px) {
  .ofr-quick { padding: 20px 16px 16px; }
  .ofr-quick__now { font-size: 38px; }
  .ofr-quick .hdc-btn--gold { font-size: 19px; padding: 16px 14px; }
  .ofr-guarline { font-size: 16px; text-align: left; }
}
