/* Heart Disease Code: "site" family (about, experts, works, faqs, references, contact,
   health opt-in, thank-you and download pages). Loaded with 'css' => ['site']. */

/* Page head with a picture */
.s-head { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 100%); color: #E7F0F8; padding: 64px 0; position: relative; overflow: hidden; }
.s-head::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(192,227,255,.18), transparent 70%); pointer-events: none; }
.s-head h1 { color: #fff; margin: 0 0 14px; }
.s-head p { color: #D7E7F5; font-size: 20px; margin: 0; }
.s-head .hdc-kicker { color: var(--sky-l); }
.s-head__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.s-head__pic { border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.28); border: 6px solid rgba(255,255,255,.12); }
.s-head__pic img { width: 100%; }

/* About: founder letter */
.s-about-hero .s-portrait { width: 300px; height: 300px; margin: 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px rgba(255,255,255,.14), 0 18px 40px rgba(0,0,0,.3); }
.s-about-hero .s-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.s-about-hero h1 { font-size: clamp(32px, 4vw, 48px); }
.s-letter { max-width: 760px; margin: 0 auto; }
.s-letter p { font-size: 19px; }
.s-letter .hdc-quote { margin: 36px 0; }
.s-fig { margin: 40px 0; }
.s-fig img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.s-fig--right { float: right; width: 280px; margin: 6px 0 22px 32px; }
.s-fig--wide { margin-left: -90px; margin-right: -90px; }
.s-fig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 40px 0; }
.s-fig-pair img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; }
.s-sign { margin-top: 36px; display: flex; align-items: center; gap: 18px; clear: both; }
.s-sign img { width: 200px; }
.s-sign span { font-family: var(--serif); font-size: 22px; color: var(--navy); font-weight: 700; }
.s-clear { clear: both; }
.s-cta-band { text-align: center; }
.s-cta-band .s-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* Experts grid */
.s-experts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.s-expert { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px 20px; text-align: center; box-shadow: var(--shadow-s); transition: transform .15s ease, box-shadow .15s ease; }
.s-expert:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.s-expert img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; box-shadow: 0 0 0 5px var(--mist); }
.s-expert h3 { font-size: 19px; margin: 0 0 4px; line-height: 1.3; }
.s-expert p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.s-experts-more { text-align: center; margin-top: 34px; }
.s-experts.is-collapsed .s-expert:nth-child(n+11) { display: none; }

/* How it works */
.s-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.s-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px 28px; box-shadow: var(--shadow-s); }
.s-step__num { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--mist); color: var(--blue); margin-bottom: 18px; }
.s-step__num .hdc-ic { width: 28px; height: 28px; }
.s-step__n { position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--sky-l); line-height: 1; }
.s-step h2 { font-size: 22px; letter-spacing: .06em; font-family: var(--sans); font-weight: 800; color: var(--navy); margin: 0 0 10px; }
.s-step p { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.s-works-pic { max-width: 900px; margin: 56px auto 0; }

/* FAQ accordion */
.s-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }
.s-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.s-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--navy); line-height: 1.3; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); color: var(--blue); display: grid; place-items: center; font-family: var(--sans); font-size: 24px; font-weight: 600; line-height: 1; transition: transform .2s ease; }
.s-faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.s-faq summary:focus-visible { outline: 3px solid var(--sky-l); border-radius: var(--radius); }
.s-faq__a { padding: 0 26px 24px; }
.s-faq__a p:last-child { margin-bottom: 0; }
.s-faq-more { max-width: 860px; margin: 40px auto 0; text-align: center; }

/* References */
.s-refs { max-width: 900px; margin: 0 auto; counter-reset: ref; list-style: none; padding: 0; }
.s-refs li { counter-increment: ref; position: relative; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--line); margin: 0; font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.s-refs li:last-child { border-bottom: 0; }
.s-refs li::before { content: counter(ref); position: absolute; left: 0; top: 16px; width: 42px; height: 42px; border-radius: 50%; background: var(--mist); color: var(--blue); font-weight: 700; font-size: 16px; display: grid; place-items: center; }
.s-refs a { word-break: break-all; }

/* Contact */
.s-contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.s-contact .hdc-form textarea { min-height: 170px; resize: vertical; }
.s-contact .hdc-msg { margin-bottom: 18px; }
.s-contact__aside .hdc-pic { margin-bottom: 24px; }
.s-contact__aside p { font-size: 17px; }
.s-field { display: grid; gap: 6px; }
.s-field small { color: var(--muted); font-size: 16px; }
.s-captcha { min-height: 78px; max-width: 100%; overflow: hidden; }

/* Support panel (clickbank page) */
.s-support { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; }
.s-support .hdc-card { text-align: center; padding: 40px 30px; }
.s-support__ic { width: 72px; height: 72px; border-radius: 50%; background: var(--mist); color: var(--blue); display: grid; place-items: center; margin: 0 auto 18px; }
.s-support__ic .hdc-ic { width: 32px; height: 32px; }
.s-support h2 { font-size: 24px; }

/* Opt-in (health) */
.s-optin-hero { background: radial-gradient(circle at 85% 20%, rgba(192,227,255,.65), transparent 55%), linear-gradient(180deg, var(--mist) 0%, #fff 100%); padding: 56px 0 72px; }
.s-optin-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.s-optin-hero h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.s-optin-hero h1 q { quotes: "\201C" "\201D"; color: var(--blue); }
.s-optin-hero .hdc-lead { color: var(--ink); margin-bottom: 26px; }
.s-optin-card { background: #fff; border-radius: var(--radius-l); box-shadow: 0 18px 44px rgba(10,46,77,.16); padding: 30px; border: 1px solid var(--line); }
.s-optin-card__title { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 21px; line-height: 1.35; margin: 0 0 18px; }
.s-optin-form { display: grid; gap: 12px; }
.s-optin-form input[type=text], .s-optin-form input[type=email] { width: 100%; font: inherit; font-size: 18px; color: var(--ink); background: #fff; border: 1.5px solid #B9CCDF; border-radius: 12px; padding: 15px 18px; }
.s-optin-form input:focus { outline: 3px solid var(--sky-l); border-color: var(--sky); }
.s-optin-btn { flex-direction: column; gap: 4px; width: 100%; padding: 18px 22px; }
.s-optin-btn small { font-size: 16px; font-weight: 600; opacity: .9; line-height: 1.35; }
.s-privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.s-privacy .hdc-ic { margin-top: 3px; color: var(--blue); }
.s-gift { position: relative; }
.s-gift__mock { max-width: 520px; margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(10,46,77,.22)); }
.s-gift-band .hdc-grid-2 { align-items: center; }
.s-gift-band h2 { font-size: clamp(26px, 3vw, 34px); }
.s-cta-center { text-align: center; max-width: 640px; margin: 0 auto; }
.s-cta-center .s-privacy { justify-content: center; }
.s-optin-hero .s-logo-line { display: flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }

/* Thank-you and download pages */
.s-ty-hero { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); padding: 56px 0 40px; }
.s-ty-hero .s-head__grid { grid-template-columns: 1.2fr 1fr; }
.s-ty-hero h1 { margin-bottom: 10px; }
.s-ty-hero .hdc-lead { color: var(--ink); }
.s-ty-hero .hdc-pic { max-width: 460px; margin-left: auto; }
.s-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.s-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.s-ep { max-width: 900px; margin: 0 auto; }
.s-ep__label { font-family: var(--sans); font-weight: 700; color: var(--sky); text-transform: uppercase; letter-spacing: .08em; font-size: 16px; margin: 0 0 6px; }
.s-ep h2 { margin-bottom: 24px; }
.s-ep__text { margin-top: 28px; }
.s-dl { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.s-dl__img { filter: drop-shadow(0 18px 24px rgba(10,46,77,.2)); }
.s-dl h2 { font-size: clamp(26px, 3vw, 34px); }
.s-ty-countdown { font-family: var(--serif); font-size: 26px; color: var(--navy); font-weight: 700; margin: 6px 0 0; }
.s-ty-countdown span { display: inline-grid; place-items: center; min-width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--sans); font-size: 20px; margin-left: 6px; }

@media (max-width: 1080px) {
  .s-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-fig--wide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 860px) {
  .s-head { padding: 48px 0; }
  .s-head__grid, .s-ty-hero .s-head__grid, .s-optin-grid, .s-contact, .s-support { grid-template-columns: 1fr; gap: 30px; }
  .s-about-hero .s-portrait { width: 220px; height: 220px; }
  .s-about-hero .s-head__grid > div:first-child { order: 2; }
  .s-ty-hero .hdc-pic { margin: 0 auto; }
  .s-dl { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .s-dl__img { max-width: 240px; margin: 0 auto; }
  .s-dl p:not(.hdc-kicker):not(.s-ep__label) { text-align: left; }
  .s-optin-hero { padding: 36px 0 56px; }
  .s-gift__mock { max-width: 360px; }
  .s-optin-grid { gap: 22px; }
  .s-optin-grid > div:first-child { display: contents; }
  .s-optin-grid .s-logo-line, .s-optin-grid h1, .s-optin-grid .hdc-lead { margin-bottom: 0; }
  .s-optin-card { order: 1; }
  .s-optin-grid .s-gift { order: 2; }
}
@media (max-width: 600px) {
  .s-steps { grid-template-columns: 1fr; }
  .s-fig--right { float: none; width: 100%; max-width: 320px; margin: 24px auto; }
  .s-fig-pair { grid-template-columns: 1fr; }
  .s-letter p { font-size: 17px; }
  .s-experts { grid-template-columns: 1fr 1fr; gap: 14px; }
  .s-expert { padding: 18px 10px 16px; }
  .s-expert img { width: 104px; height: 104px; }
  .s-expert h3 { font-size: 17px; }
  .s-faq summary { font-size: 19px; padding: 18px 18px; }
  .s-faq__a { padding: 0 18px 20px; }
  .s-refs li { padding-left: 54px; font-size: 16px; }
  .s-refs li::before { width: 38px; height: 38px; }
  .s-optin-card { padding: 22px 18px; }
  .s-head p { font-size: 18px; }
  .s-sign { flex-direction: column; align-items: flex-start; }
}

/* Opt-in: what's inside, author, card sub line (CRO pass 2026-11-07) */
.s-optin-card__sub { font-size: 17px; color: var(--muted); margin: -10px 0 16px; }
.s-optin-inside { margin-top: 26px; }
.s-optin-inside__h { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 22px; margin: 0 0 10px; }
.s-optin-inside .hdc-checks { margin: 0 0 18px; }
.s-optin-author { display: flex; gap: 14px; align-items: center; }
.s-optin-author img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.s-optin-author p { margin: 0; font-size: 17px; color: var(--ink); line-height: 1.5; }
/* Thank-you steps and next step */
.s-ty-steps { margin: 6px 0 22px; padding-left: 1.3em; font-size: 18px; }
.s-ty-steps li { margin: 0 0 8px; }
.s-ty-hero .hdc-btn--gold { margin-top: 6px; }
.s-ty-hero .s-ty-countdown { font-size: 18px; font-family: var(--sans); font-weight: 600; color: var(--muted); margin-top: 14px; }
.s-ty-hero .s-ty-countdown span { min-width: 34px; height: 34px; font-size: 16px; }
.s-ty-list { margin: 0 0 20px; }
.s-dl__top { margin: 6px 0 18px; }
@media (max-width: 860px) {
  .s-optin-inside { order: 3; margin-top: 4px; }
  .s-ty-hero .hdc-btn--gold { width: 100%; }
}
@media (min-width: 861px) {
  .s-optin-grid { align-items: start; }
  .s-optin-card { position: sticky; top: 24px; margin-top: 56px; }
}
