/* Dream Life Tracks free-track funnel: hub, opt-in, confirm and thank-you pages. Tokens from /dlt-kit/css/dlt-base.css. */
body.ft { font-family: 'Montserrat', Arial, sans-serif; font-size: 18px; line-height: 1.6; color: var(--dlt-ink); background: #fff; overflow-x: hidden; }
.ft h1, .ft h2 { color: var(--dlt-navy); line-height: 1.2; }
.ft img { max-width: 100%; height: auto; }

.ft-pre { display: inline-block; margin: 0 0 14px; padding: 6px 16px; border-radius: 50px; background: var(--dlt-teal); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ft-by { margin: 0 0 18px; color: var(--dlt-teal); font-weight: 600; font-size: 18px; }

/* Gold pill button, the site's buy-button look */
.ft-btn, .ft .formkit-submit {
  display: inline-block; cursor: pointer; text-decoration: none; text-align: center;
  background: linear-gradient(to bottom, var(--dlt-gold-soft), var(--dlt-gold)) !important;
  border: 1px solid var(--dlt-gold-deep) !important; border-radius: 50px !important;
  color: var(--dlt-navy) !important; font-family: inherit; font-weight: 800 !important; font-size: 19px; line-height: 1.3;
  padding: 16px 34px; box-shadow: 0 6px 16px rgba(207,144,7,.28); transition: transform .15s, box-shadow .15s;
}
.ft-btn:hover, .ft .formkit-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(207,144,7,.36); }

/* ConvertKit form, restyled around its own markup (the form's bytes are the old page's) */
.ft form { margin: 0; }
.ft .formkit-alert { list-style: none; margin: 0; padding: 0; color: #b3261e; font-size: 16px; }
.ft .formkit-alert:empty { display: none; }
.ft .formkit-field { margin: 0 0 12px; }
.ft .formkit-input { box-sizing: border-box; width: 100%; font-family: inherit; font-size: 18px; color: var(--dlt-ink); padding: 15px 18px; border: 1px solid #c6d2df; border-radius: 10px; background: #fff; }
.ft .formkit-input:focus { outline: none; border-color: var(--dlt-aqua); box-shadow: 0 0 0 3px rgba(51,203,190,.25); }
.ft .formkit-submit { width: 100%; margin-top: 4px; padding: 17px 20px; }
.ft .formkit-spinner { display: none; }
.ft .formkit-powered-by-convertkit-container { display: none; }
.ft-privacy { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: #5b6775; text-align: center; }
.ft-privacy a, .ft-more a, .ft-alt a { color: var(--dlt-teal); font-weight: 600; }

/* Opt-in page hero */
.ft-hero { background-size: cover; background-position: center top; padding: 52px 0 60px; }
.ft-hero-in { display: grid; grid-template-columns: 240px minmax(0, 1fr) 400px; gap: 40px; align-items: center; }
.ft-art img { display: block; width: 100%; filter: drop-shadow(0 18px 30px rgba(17,42,79,.25)); }
.ft-words h1 { font-size: 46px; font-weight: 800; margin: 0 0 6px; }
.ft-promise { font-size: 21px; font-weight: 600; color: var(--dlt-navy); line-height: 1.45; margin: 0 0 14px; }
.ft-mech { margin: 0; }
.ft-formcard { background: #fff; border-radius: 16px; padding: 28px 28px 22px; box-shadow: 0 18px 44px rgba(17,42,79,.16); border-top: 5px solid var(--dlt-aqua); }
.ft-formcard h2 { font-size: 25px; text-align: center; margin: 0 0 18px; }

/* Dr. Steve G. Jones */
.ft-steve { padding: 56px 0; background: #fff; }
.ft-steve-in { display: flex; gap: 32px; align-items: flex-start; max-width: 900px; }
.ft-steve-in > img { flex: 0 0 150px; width: 150px; height: 150px; border-radius: 50%; box-shadow: 0 8px 22px rgba(17,42,79,.15); }
.ft-steve h2 { font-size: 27px; margin: 4px 0 12px; }
.ft-steve p { margin: 0 0 12px; }
.ft-mem { list-style: none; margin: 6px 0 0; padding: 0; }
.ft-mem li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.ft-mem li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--dlt-aqua); }

.ft-again { background: var(--dlt-sky); padding: 44px 0; text-align: center; }

/* Hub */
.ft-hub-hero { text-align: center; padding: 56px 0 48px; }
.ft-hub-hero h1 { font-size: 46px; font-weight: 800; max-width: 860px; margin: 0 auto 8px; }
.ft-hub-lead { font-size: 21px; font-weight: 600; color: var(--dlt-navy); max-width: 760px; margin: 0 auto 18px; }
.ft-one { display: inline-block; margin: 0; padding: 10px 22px; border-radius: 50px; background: var(--dlt-navy); color: #fff; font-weight: 700; font-size: 18px; }
.ft-one::before { content: '1'; display: inline-block; width: 26px; height: 26px; line-height: 26px; margin-right: 10px; border-radius: 50%; background: var(--dlt-gold); color: var(--dlt-navy); font-weight: 800; }
.ft-cards { background: var(--dlt-sky); padding: 48px 0 64px; }
.ft-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.ft-card { flex: 0 1 340px; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: 16px; padding: 26px 24px 28px; text-decoration: none; color: var(--dlt-ink); box-shadow: 0 10px 28px rgba(17,42,79,.08); border: 1px solid var(--dlt-line); transition: transform .15s, box-shadow .15s; }
.ft-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(17,42,79,.14); }
.ft-card img { width: 160px; margin-bottom: 14px; filter: drop-shadow(0 10px 16px rgba(17,42,79,.2)); }
.ft-card h2 { font-size: 24px; margin: 0 0 10px; }
.ft-card p { font-size: 17px; line-height: 1.55; margin: 0 0 20px; }
.ft-card .ft-btn { margin-top: auto; font-size: 17px; padding: 14px 22px; }

/* Hub pop-up forms: open on #id, close on # */
.ft-pop { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; padding: 18px; }
.ft-pop:target { display: flex; }
.ft-pop-bg { position: absolute; inset: 0; background: rgba(17,42,79,.75); }
.ft-pop-box { position: relative; box-sizing: border-box; width: 100%; max-width: 520px; max-height: calc(100vh - 36px); overflow: auto; background: #fff; border-radius: 16px; padding: 30px 28px 22px; border-top: 5px solid var(--dlt-aqua); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.ft-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; line-height: 38px; text-align: center; font-size: 30px; color: var(--dlt-navy); text-decoration: none; border-radius: 50%; }
.ft-x:hover { background: var(--dlt-sky); }
.ft-pop-head { display: flex; gap: 18px; align-items: center; margin: 0 0 18px; padding-right: 30px; }
.ft-pop-head img { flex: 0 0 84px; width: 84px; }
.ft-pop-head h2 { font-size: 24px; margin: 0 0 4px; }
.ft-pop-name { margin: 0; color: var(--dlt-teal); font-weight: 700; font-size: 20px; }

/* Confirm and thank-you pages */
.ft-step { background: var(--dlt-sky); padding: 48px 0 40px; }
.ft-step-card { box-sizing: border-box; max-width: 760px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 36px 36px 30px; text-align: center; box-shadow: 0 16px 40px rgba(17,42,79,.1); border-top: 5px solid var(--dlt-aqua); }
.ft-mail { color: var(--dlt-teal); margin-bottom: 8px; }
.ft-lead { font-size: 20px; font-weight: 600; max-width: 560px; margin: 0 auto 12px; }
.ft-step-card h1 { font-size: 42px; font-weight: 800; margin: 0; }
.ft-sub { font-size: 23px; font-weight: 600; color: var(--dlt-teal); margin: 2px 0 6px; }
.ft-step-art { display: block; width: 220px; margin: 8px auto 20px; filter: drop-shadow(0 14px 24px rgba(17,42,79,.22)); }
.ft-note { background: var(--dlt-sky); border-left: 5px solid var(--dlt-gold); border-radius: 10px; padding: 16px 20px; text-align: left; margin: 0; }
.ft-ty h1 { margin-bottom: 4px; }
.ft-ty-grid { display: flex; gap: 32px; align-items: center; justify-content: center; text-align: left; margin-top: 10px; }
.ft-ty-grid .ft-step-art { margin: 0; flex: 0 0 200px; width: 200px; }
.ft-ty-dl p { margin: 14px 0 0; font-size: 16px; color: #5b6775; }
.ft-promo { box-sizing: border-box; max-width: 960px; margin: 36px auto 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; align-items: center; background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 16px 40px rgba(17,42,79,.1); }
.ft-promo img { display: block; width: 100%; }
.ft-promo .ft-pre { background: var(--dlt-gold); color: var(--dlt-navy); }
.ft-promo h2 { font-size: 34px; font-weight: 800; margin: 0 0 10px; }
.ft-promo-sub { font-size: 19px; font-weight: 500; margin: 0 0 20px; }
.ft-alt { margin: 14px 0 0; font-size: 16px; }
.ft-step .ft-privacy { margin-top: 26px; }
.ft-more { text-align: center; margin: 14px 0 0; font-size: 17px; }

@media (max-width: 1040px) {
  .ft-hero-in { grid-template-columns: 220px minmax(0, 1fr); }
  .ft-formcard { grid-column: 1 / -1; max-width: 560px; width: 100%; box-sizing: border-box; margin: 0 auto; }
}
@media (max-width: 720px) {
  body.ft { font-size: 17px; }
  .ft-hero { padding: 32px 0 40px; }
  .ft-hero-in { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .ft-art img { width: 170px; margin: 0 auto; }
  .ft-words h1, .ft-hub-hero h1 { font-size: 32px; }
  .ft-promise, .ft-hub-lead { font-size: 19px; }
  .ft-formcard { padding: 24px 18px 18px; }
  .ft-formcard h2 { font-size: 22px; }
  .ft-hub-hero { padding: 34px 0 30px; }
  .ft-one { font-size: 17px; padding: 9px 18px; }
  .ft-cards { padding: 30px 0 44px; }
  .ft-card { flex-basis: 100%; }
  .ft-steve { padding: 40px 0; }
  .ft-steve-in { flex-direction: column; align-items: center; text-align: left; gap: 18px; }
  .ft-steve h2 { font-size: 23px; text-align: center; }
  .ft-btn { font-size: 18px; padding: 15px 24px; }
  .ft-pop { padding: 10px; }
  .ft-pop-box { padding: 26px 18px 18px; max-height: calc(100vh - 20px); }
  .ft-pop-head img { flex-basis: 64px; width: 64px; }
  .ft-pop-head h2 { font-size: 21px; }
  .ft-step { padding: 26px 0 30px; }
  .ft-step-card { padding: 26px 18px 22px; }
  .ft-step-card h1 { font-size: 32px; }
  .ft-lead { font-size: 18px; }
  .ft-ty-grid { flex-direction: column; text-align: center; gap: 18px; }
  .ft-ty-grid .ft-step-art { flex-basis: auto; width: 180px; }
  .ft-promo { grid-template-columns: 1fr; padding: 22px 18px; gap: 16px; text-align: center; }
  .ft-promo h2 { font-size: 27px; }
  .ft-promo-sub { font-size: 18px; }
}
