/* Heart Disease Code: shared look ("Clear Heart").
   Brand from the site itself: logo blue #0B5AA5, navy #004066, sky #2886CC, pale sky #C0E3FF, Montserrat;
   serif headings echo the serif logo. Page families add their own file in css/. */
:root {
  --navy: #0A2E4D;
  --navy-2: #004066;
  --blue: #0B5AA5;
  --blue-d: #08487F;
  --sky: #2886CC;
  --sky-l: #C0E3FF;
  --mist: #EEF6FD;
  --mist-2: #F6FAFE;
  --cream: #FFF9EF;
  --gold: #F6C33B;
  --gold-l: #FFF3C9;
  --heart: #D6443F;
  --green: #2E8B57;
  --ink: #16263A;
  --muted: #4E5F73;
  --line: #D9E5F0;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-l: 26px;
  --shadow: 0 10px 30px rgba(10, 46, 77, .10);
  --shadow-s: 0 4px 14px rgba(10, 46, 77, .08);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Montserrat, "Segoe UI", Arial, sans-serif;
  --wrap: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.7; font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.18; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 4.6vw, 54px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(22px, 2.3vw, 27px); }
h4 { font-size: 20px; }
p { margin: 0 0 1.05em; }
strong, b { font-weight: 700; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.hdc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hdc-skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.hdc-skip:focus { left: 12px; }
.hdc-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hdc-narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.hdc-ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

/* Header */
.hdc-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdc-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.hdc-header--slim .hdc-header__in { justify-content: center; min-height: 70px; }
.hdc-logo img { width: 210px; height: auto; }
.hdc-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.hdc-nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; padding: 8px 9px; border-radius: 999px; }
.hdc-nav a:hover, .hdc-nav a[aria-current="page"] { background: var(--mist); color: var(--blue); }
.hdc-nav a.hdc-nav__login { background: var(--blue); color: #fff; margin-left: 8px; padding: 9px 18px; }
.hdc-nav a.hdc-nav__login:hover { background: var(--blue-d); color: #fff; }
.hdc-menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.hdc-menu-btn span:not(.hdc-sr) { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; }

/* Buttons */
.hdc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--blue); color: #fff !important; text-decoration: none; font-family: var(--sans);
  font-weight: 700; font-size: 19px; letter-spacing: .01em; line-height: 1.25;
  padding: 18px 34px; border-radius: 999px; border: 0; cursor: pointer; text-align: center;
  box-shadow: 0 8px 22px rgba(11, 90, 165, .28); transition: transform .15s ease, background .15s ease;
}
.hdc-btn:hover { background: var(--blue-d); transform: translateY(-1px); }
.hdc-btn--gold { background: var(--gold); color: var(--navy) !important; box-shadow: 0 8px 22px rgba(246, 195, 59, .38); }
.hdc-btn--gold:hover { background: #EDB322; }
.hdc-btn--big { font-size: 22px; padding: 22px 44px; }
.hdc-btn--ghost { background: transparent; color: var(--blue) !important; border: 2px solid var(--blue); box-shadow: none; }
.hdc-btn--ghost:hover { background: var(--mist); }
.hdc-btn--block { display: flex; width: 100%; }
.hdc-nothanks { display: inline-block; margin-top: 14px; color: var(--muted); font-size: 16px; }

/* Sections */
.hdc-section { padding: 84px 0; }
.hdc-section--tight { padding: 56px 0; }
.hdc-band-mist { background: var(--mist); }
.hdc-band-soft { background: linear-gradient(180deg, var(--mist-2), #fff); }
.hdc-band-cream { background: var(--cream); }
.hdc-band-navy { background: var(--navy); color: #E7F0F8; }
.hdc-band-navy h1, .hdc-band-navy h2, .hdc-band-navy h3 { color: #fff; }
.hdc-band-navy a:not(.hdc-btn) { color: var(--sky-l); }
.hdc-kicker { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.hdc-band-navy .hdc-kicker { color: var(--gold); }
.hdc-lead { font-size: 21px; color: var(--muted); }
.hdc-center { text-align: center; }
.hdc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hdc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hdc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 32px; }
.hdc-pic { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.hdc-pic img { width: 100%; }
.hdc-round { border-radius: 50%; box-shadow: 0 0 0 6px #fff, var(--shadow); }
.hdc-checks { list-style: none; padding: 0; }
.hdc-checks li { position: relative; padding-left: 36px; margin-bottom: .7em; }
.hdc-checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 22px; height: 22px; 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }
.hdc-quote { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.45; color: var(--navy); border-left: 5px solid var(--sky); padding: 6px 0 6px 26px; margin: 28px 0; }
.hdc-hl { background: linear-gradient(transparent 58%, var(--gold-l) 58%); padding: 0 .1em; }
.hdc-note { background: var(--gold-l); border-radius: 14px; padding: 18px 22px; font-weight: 600; }
.hdc-price-old { text-decoration: line-through; color: var(--muted); }
.hdc-price { font-family: var(--serif); font-weight: 700; color: var(--navy); }
.hdc-guarantee { display: flex; gap: 22px; align-items: center; }
.hdc-badge-seal { flex: none; width: 110px; height: 110px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 16px; line-height: 1.15; box-shadow: 0 0 0 6px var(--gold-l); }

/* Page head (simple pages) */
.hdc-pagehead { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 100%); color: #fff; padding: 64px 0 56px; }
.hdc-pagehead h1 { color: #fff; margin: 0; }
.hdc-pagehead p { color: #D7E7F5; margin: 12px 0 0; font-size: 20px; }
.hdc-prose-wrap { padding: 48px 0 84px; background: var(--mist-2); }
.hdc-prose { max-width: 860px; }
.hdc-prose h2 { font-size: 28px; margin-top: 1.4em; }
.hdc-prose h3 { font-size: 23px; margin-top: 1.2em; }

/* Forms */
.hdc-form { display: grid; gap: 14px; }
.hdc-form label { font-weight: 600; font-size: 16px; color: var(--navy); }
.hdc-input, .hdc-form input[type=text], .hdc-form input[type=email], .hdc-form input[type=password], .hdc-form textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink); background: #fff;
  border: 1.5px solid #B9CCDF; border-radius: 12px; padding: 15px 18px;
}
.hdc-form input:focus, .hdc-form textarea:focus { outline: 3px solid var(--sky-l); border-color: var(--sky); }
.hdc-msg { border-radius: 12px; padding: 14px 18px; font-weight: 600; }
.hdc-msg--ok { background: #E3F4EA; color: #1D5F3A; }
.hdc-msg--err { background: #FCE8E6; color: #8A231E; }
.hdc-hp { position: absolute; left: -5000px; }

/* Next step block (hdc_next in hdc.php) */
.hdc-next { background: var(--navy); color: #E7F0F8; padding: 64px 0; text-align: center; }
.hdc-next h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.hdc-next p { max-width: 640px; margin: 0 auto 26px; }
.hdc-next__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hdc-next .hdc-btn--ghost { color: #fff !important; border-color: #fff; }
.hdc-next .hdc-btn--ghost:hover { background: rgba(255,255,255,.12); }

/* Footer */
.hdc-footer { background: var(--navy); color: #BFD3E6; padding: 56px 0 40px; font-size: 16px; }
.hdc-footer a { color: #fff; text-decoration: none; }
.hdc-footer a:hover { text-decoration: underline; }
.hdc-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: 26px; }
.hdc-footer__logo img { width: 190px; }
.hdc-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hdc-footer__small { font-size: 16px; line-height: 1.6; color: #9FB7CD; }
.hdc-footer__copy { margin: 18px 0 0; color: #fff; font-weight: 600; }

/* Phone */
@media (max-width: 1080px) {
  .hdc-menu-btn { display: block; }
  .hdc-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; box-shadow: var(--shadow); }
  .hdc-nav.is-open { display: flex; }
  .hdc-nav a { font-size: 18px; padding: 12px 14px; }
  .hdc-nav a.hdc-nav__login { margin: 8px 0 0; text-align: center; }
  .hdc-header__in { position: relative; }
}
@media (max-width: 860px) {
  .hdc-grid-2, .hdc-grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .hdc-section { padding: 60px 0; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .hdc-wrap { padding: 0 16px; }
  .hdc-logo img { width: 170px; }
  .hdc-card { padding: 22px; }
  .hdc-btn, .hdc-btn--big { font-size: 18px; padding: 17px 24px; width: 100%; }
  .hdc-next { padding: 48px 0; }
  .hdc-nav a, .hdc-footer__nav a { display: inline-block; padding-top: 10px; padding-bottom: 10px; }
  .hdc-footer__nav { gap: 2px 20px; }
  .hdc-lead { font-size: 19px; }
  .hdc-guarantee { flex-direction: column; text-align: center; }
  .hdc-pagehead { padding: 44px 0 40px; }
}

/* Exit pop (hdc_exitpop) */
.hdc-xp[hidden] { display: none; }
.hdc-xp { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.hdc-xp__bg { position: absolute; inset: 0; background: rgba(8, 24, 48, .72); }
.hdc-xp__box { position: relative; display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; max-width: 780px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; padding: 34px; box-shadow: 0 24px 70px rgba(0, 0, 0, .45); outline: none; }
.hdc-xp__pic { width: 100%; height: auto; border-radius: 12px; }
.hdc-xp__txt h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; }
.hdc-xp__txt p { margin: 0 0 20px; font-size: 18px; }
.hdc-xp__x { position: absolute; top: 6px; right: 8px; width: 48px; height: 48px; border: 0; background: none; font-size: 34px; line-height: 1; color: var(--navy); cursor: pointer; }
.hdc-xp__no { display: block; margin: 14px 0 0; padding: 12px 0; min-height: 44px; border: 0; background: none; font: inherit; font-size: 16px; color: var(--muted); text-decoration: underline; cursor: pointer; }
html.hdc-xp-open { overflow: hidden; }
@media (max-width: 600px) {
  .hdc-xp__box { grid-template-columns: 1fr; padding: 24px 20px; gap: 16px; }
  .hdc-xp__pic { max-width: 150px; margin: 0 auto; }
}
