/* /free-practice-chart/ lead-magnet landing on the editorial shell. The opt-in form, ids and
   AJAX script are unchanged (inc/practice-chart-optin.php); this is the v5.40.81 two-column
   layout re-tokenised on the shell's night palette. Astra's global button CSS still loads on
   shell pages, so every control declares padding, box-shadow and hover background itself. */

.lp-main { background: var(--h2-night); color: var(--h2-on-night); padding: 140px 0 96px; }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.h2-page-chart .ico { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -.12em; }

.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 11px/1.5 var(--h2-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--h2-blue); background: rgba(76, 158, 243, .12); border: 1px solid rgba(76, 158, 243, .3); padding: 6px 12px; border-radius: 999px; margin: 0 0 22px; }
.h2-page-chart .lp-h1 { font: 400 clamp(38px, 5.4vw, 72px)/1.02 var(--h2-serif); letter-spacing: -.035em; color: var(--h2-on-night); margin: 0 0 18px; text-wrap: balance; }
.lp-h1 .accent { color: var(--h2-blue); font-style: italic; }
.h2-page-chart .lp-sub { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--h2-on-night-2); margin: 0 0 28px; max-width: 34em; }

.lp-benefits { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-benefit { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; }
.lp-benefit-ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(76, 158, 243, .12); border: 1px solid rgba(76, 158, 243, .3); display: grid; place-items: center; font-size: 18px; color: var(--h2-blue); }
.lp-benefit b { display: block; font-size: 15.5px; font-weight: 700; color: var(--h2-on-night); margin-bottom: 2px; }
.lp-benefit > span:last-child > span { font-size: 14.5px; line-height: 1.55; color: var(--h2-on-night-2); }

/* Opt-in card */
.lp-card { background: #16171B; border: 1px solid var(--h2-night-line); border-radius: 24px; padding: 28px; max-width: 460px; }
.lp-card-title { font-size: 18px; font-weight: 800; color: var(--h2-on-night); margin: 0 0 4px; letter-spacing: -.01em; }
.h2-page-chart .lp-card-note { font-size: 14px; color: var(--h2-on-night-2); margin: 0 0 20px; line-height: 1.5; }
.lp-field { margin-bottom: 14px; }
.lp-label { display: block; font-size: 13px; font-weight: 700; color: var(--h2-on-night); margin-bottom: 6px; }
.lp-label .opt { color: var(--h2-on-night-2); font-weight: 500; }
/* Astra's input[type] rules (0,1,1) outrank a lone class, hence the element + 2 classes. */
.h2-page-chart input.lp-input { width: 100%; height: 52px; padding: 0 16px; font-size: 16px; font-family: inherit; color: var(--h2-on-night); background: #111217; border: 1.5px solid rgba(255, 255, 255, .14); border-radius: 13px; outline: none; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.h2-page-chart input.lp-input::placeholder { color: rgba(242, 242, 246, .5); }
.h2-page-chart input.lp-input:focus { border-color: #7DB4F5; box-shadow: 0 0 0 3px rgba(76, 158, 243, .28); }
.lp-submit, .lp-dl { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 54px; padding: 0 24px; margin: 6px 0 0; border: 0; cursor: pointer; border-radius: 999px; font-family: var(--h2-sans); font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; color: #fff; background: linear-gradient(135deg, #2E76C7, #2563EB); box-shadow: 0 10px 30px rgba(37, 99, 235, .3); transition: transform .25s var(--h2-ease), box-shadow .25s var(--h2-ease); }
.lp-submit:hover, .lp-dl:hover { background: linear-gradient(135deg, #2563EB, #1D4ED8); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37, 99, 235, .4); }
.lp-submit:active { transform: none; }
.lp-submit:disabled { background: #3A3D46; color: #D7D9E0; cursor: default; transform: none; box-shadow: none; }
.lp-err { color: #FCA5A5; font-size: 13px; text-align: center; margin-top: 10px; min-height: 16px; }
.lp-trust { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; font-size: 13px; color: var(--h2-on-night-2); text-align: center; }
.lp-trust .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--h2-on-night-2); }
.lp-trust b { color: var(--h2-on-night); font-weight: 700; }

.lp-success { display: none; text-align: center; padding: 8px 4px; }
.lp-card.is-done .lp-form { display: none; }
.lp-card.is-done .lp-success { display: block; animation: lp-pop .45s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes lp-pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lp-check { width: 60px; height: 60px; border-radius: 999px; margin: 4px auto 16px; background: rgba(76, 158, 243, .12); border: 1px solid rgba(76, 158, 243, .3); display: grid; place-items: center; color: var(--h2-blue); font-size: 28px; }
.h2-page-chart .lp-success h3 { font: 400 26px/1.15 var(--h2-serif); letter-spacing: -.02em; color: var(--h2-on-night); margin: 0 0 8px; }
.h2-page-chart .lp-success p { font-size: 15px; line-height: 1.55; color: var(--h2-on-night-2); margin: 0 0 22px; }
.lp-success p b { color: var(--h2-on-night); }
.lp-try { display: inline-block; margin-top: 16px; font-size: 14.5px; font-weight: 700; color: var(--h2-blue); text-decoration: none; }
.lp-try:hover { text-decoration: underline; }

/* Chart preview (always paper, it's a picture of the printable) */
.lp-preview { display: flex; justify-content: center; }
.lp-preview-stage { position: relative; width: 100%; max-width: 420px; }
.lp-chart { background: #F7F4EE; color: #1B1C22; border-radius: 18px; padding: 26px 24px; box-shadow: 0 28px 70px rgba(0, 0, 0, .55); transform: rotate(-2.2deg); border: 1px solid #E2DED5; position: relative; }
.lp-chart::after { content: 'Preview'; position: absolute; top: 14px; right: -10px; background: #2563EB; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; transform: rotate(4deg); box-shadow: 0 6px 16px rgba(37, 99, 235, .4); }
.h2-page-chart .lp-chart-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #2E76C7; margin: 0 0 4px; }
.h2-page-chart .lp-chart-title { font: italic 500 28px/1 var(--h2-serif); color: #1B1C22; margin: 0 0 18px; }
.lp-chart-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; margin-bottom: 18px; }
.lp-chart-day { text-align: center; }
.lp-chart-dl { font-size: 10px; font-weight: 700; color: #6F6C64; margin-bottom: 6px; }
.lp-chart-star { aspect-ratio: 1; border-radius: 9px; display: grid; place-items: center; background: #F1EEE7; border: 1.5px solid #E2DED5; font-size: 15px; color: #D8D3C8; }
.lp-chart-star.on { background: #EAF2FD; border-color: #CFE2FB; color: #2563EB; }
.lp-chart-row { border-top: 1px dashed #D8D4CB; padding-top: 12px; margin-top: 4px; }
.lp-chart-row + .lp-chart-row { margin-top: 10px; }
.h2-page-chart .lp-chart-rl { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #2E76C7; margin: 0 0 5px; }
.lp-chart-line { height: 9px; border-radius: 4px; background: #ECE9E2; }
.lp-chart-line.short { width: 62%; margin-top: 7px; }

@media (max-width: 900px) {
  .lp-main { padding: 104px 0 72px; }
  .lp-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-preview { order: -1; }
  .lp-chart { transform: rotate(-1.5deg); max-width: 360px; margin: 0 auto; }
  .lp-card { max-width: none; }
}
@media (max-width: 480px) {
  .lp-card { padding: 22px 18px; }
  .lp-chart { padding: 20px 18px; }
}
