/* Lead magnet flows: white opt-in and access pages (4 November 2026).
   Built by companies/mhi-media/projects/mhigrowthengine-rebrand/tools/build-lead-magnet.py. Kamal asked for every lead
   magnet flow to sit on a white background so it reads easily, laid out like Jeremy Haynes' Client Retention Playbook. */
@font-face { font-family: Helveticaneue; src: url("/brand/fonts/HelveticaNeue.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Helveticaneue; src: url("/brand/fonts/HelveticaNeue-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Abcwhytemonotrial; src: url("/brand/fonts/ABCWhyteMono-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --blue: #0057ff;
  --white: #fff;
  --ink: #0b0b0f;
  --ink-2: #4a4f5c;
  --soft: #f3f6ff;
  --line: #dfe5f2;
  --red: #d64545;
  --focus: #4d65ff;
  --white-10: #f3f6ff;
  --font-mono: Abcwhytemonotrial, ui-monospace, Menlo, monospace;
  --font-sans: Helveticaneue, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --notch-button: polygon(0 0, 100% 0, 100% 37%, calc(100% - .55em) 50%, 100% 63%, 100% 100%, 0 100%, 0 63%, .55em 50%, 0 37%);
  --notch-card: polygon(0 0, 100% 0, 100% calc(50% - 8px), calc(100% - 9px) 50%, 100% calc(50% + 8px), 100% 100%, 0 100%, 0 calc(50% + 8px), 9px 50%, 0 calc(50% - 8px));
  --notch-tag: polygon(0 0, 100% 0, 100% calc(50% - 5px), calc(100% - 6px) 50%, 100% calc(50% + 5px), 100% 100%, 0 100%, 0 calc(50% + 5px), 6px 50%, 0 calc(50% - 5px));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.lm { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.5; }
body.lm a { color: var(--blue); }
body.lm img, body.lm svg { max-width: 100%; }

.lm-top { display: flex; justify-content: center; padding: 1.25rem 1rem; border-bottom: 1px solid var(--line); color: var(--blue); }
.lm-top svg { display: block; width: auto; height: 26px; }

.lm-main { max-width: 46rem; margin: 0 auto; padding: 2.75rem 1.25rem 4rem; }
.lm-main.lm-wide { max-width: 64rem; }

.lm-eyebrow { margin: 0 0 1rem; color: var(--blue); font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.lm-h1 { margin: 0 0 1.25rem; font-size: clamp(2rem, 6.2vw, 3.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; text-align: center; text-transform: uppercase; }
.lm-h1 .hl, .lm-h1-in .hl { color: var(--blue); }
.lm-sub { max-width: 38rem; margin: 0 auto 2.25rem; color: var(--ink); font-size: clamp(1.125rem, 2.6vw, 1.375rem); line-height: 1.4; text-align: center; }
.lm-sub strong, .lm-list strong { font-weight: 500; }

.lm-card { position: relative; margin: 0 auto 3rem; padding: 2.25rem 1.75rem 1.75rem; max-width: 34rem; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--blue); }
.lm-card-label { position: absolute; top: -1rem; left: 50%; transform: translateX(-50%); padding: .5rem 1.1rem; background: var(--blue); color: var(--white); clip-path: var(--notch-tag); font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.lm-field { display: block; margin-bottom: 1rem; }
.lm-field span { display: block; margin-bottom: .4rem; font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.lm-field input { width: 100%; padding: .9rem 1rem; border: 1.5px solid #b9c4dc; border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; }
.lm-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #0057ff33; }
.lm-btn { display: inline-flex; justify-content: center; align-items: center; width: 100%; padding: 1.15em 2em; border: 0; border-radius: 0; background: var(--blue); color: var(--white) !important; clip-path: var(--notch-button); font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .02em; line-height: 1; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: opacity .2s; }
.lm-btn:hover { opacity: .88; }
.lm-btn[disabled] { opacity: .6; cursor: wait; }
.lm-btn.lm-btn-inline { width: auto; }
.lm-err { margin: .75rem 0 0; color: var(--red); font-size: .9375rem; }
.lm-fine { margin: 1rem 0 0; color: var(--ink-2); font-size: .8125rem; line-height: 1.45; text-align: center; }

.lm-list { margin: 0 0 2.75rem; }
.lm-list h2 { margin: 0 0 1.25rem; font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 500; line-height: 1.1; }
.lm-list ul { margin: 0; padding: 0; list-style: none; }
.lm-list li { display: grid; grid-template-columns: 1.75rem 1fr; gap: .5rem; margin-bottom: 1.1rem; font-size: 1.0625rem; line-height: 1.45; }
.lm-ico { font-weight: 500; font-size: 1.125rem; line-height: 1.35; }
.lm-fixes .lm-ico { color: var(--red); }
.lm-gets .lm-ico { color: var(--blue); }
.lm-again { margin: 0 auto 1rem; max-width: 34rem; text-align: center; }

.lm-foot { padding: 2rem 1rem 2.5rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .8125rem; text-align: center; }

/* access page */
.lm-ok { display: flex; justify-content: center; align-items: center; gap: .6rem; margin: 0 0 1rem; color: var(--blue); font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.lm-ok-ico { display: inline-flex; justify-content: center; align-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--blue); color: var(--white); }
.lm-h1-in { margin: 0 0 1rem; font-size: clamp(2rem, 5.6vw, 3rem); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; text-align: center; }
.lm-lede { max-width: 38rem; margin: 0 auto 2.25rem; font-size: 1.1875rem; line-height: 1.45; text-align: center; }
.lm-deliver { margin: 0 auto 3rem; max-width: 34rem; padding: 1.75rem; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--blue); }
.lm-file { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.lm-file-ico { display: inline-flex; flex: none; justify-content: center; align-items: center; width: 2.75rem; height: 2.75rem; border-radius: 10px; background: var(--soft); color: var(--blue); }
.lm-file-name { font-weight: 500; line-height: 1.25; }
.lm-file-meta { color: var(--ink-2); font-size: .875rem; }
.lm-note { margin: .85rem 0 0; color: var(--ink-2); font-size: .875rem; text-align: center; }
.lm-steps { margin: 0 0 3rem; padding: 0; list-style: none; counter-reset: s; }
.lm-steps li { position: relative; margin-bottom: 1rem; padding-left: 2.5rem; counter-increment: s; }
.lm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: inline-flex; justify-content: center; align-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--font-mono); font-size: .75rem; }
.lm-steps b { display: block; font-weight: 500; }
.lm-steps span { color: var(--ink-2); font-size: .9375rem; }
.lm-steps-h { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 500; }
.lm-vsl { margin: 0 auto; max-width: 46rem; padding-top: 2.75rem; border-top: 2px solid var(--ink); text-align: center; }
.lm-vsl h2 { margin: 0 0 .75rem; font-size: clamp(1.625rem, 4vw, 2.25rem); font-weight: 500; line-height: 1.1; }
.lm-vsl p { max-width: 38rem; margin: 0 auto; font-size: 1.0625rem; }
.lm-vid { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 1.5rem 0; overflow: hidden; background: #0b1f5c; border: 2px solid var(--ink); border-radius: 10px; }
.lm-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lm-vsl .lm-btn { max-width: 24rem; }

/* winner checker inside the access page: white versions of the tool's blue-page rules */
body.lm-tool .lm-tool-wrap { margin: 0 0 3.5rem; }
body.lm-tool .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
body.lm-tool .calc-inputs { padding: 1.75rem; background: var(--soft); border-radius: 12px; }
body.lm-tool .calc-outputs { padding: 1.75rem; border: 2px solid var(--blue); border-radius: 12px; }
body.lm-tool .input-group label { display: block; margin-bottom: .5rem; font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
body.lm-tool .input-group select, body.lm-tool .input-group input { width: 100%; padding: .8rem 1rem; border: 1.5px solid #b9c4dc; border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; }
body.lm-tool h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 500; line-height: 1.1; color: var(--ink); }
body.lm-tool .calc-inputs .wc-label, body.lm-tool .wc-steps, body.lm-tool .wc-small,
body.lm-tool .wc-gate .wc-label, body.lm-tool .wc-teaser, body.lm-tool .wc-gate-sub, body.lm-tool .wc-fine,
body.lm-tool .wc-summary, body.lm-tool .wc-note, body.lm-tool .wc-todo { color: var(--ink); }
body.lm-tool .wc-gate { background: var(--soft); clip-path: none; border-radius: 12px; }
body.lm-tool .wc-btn-light { background: var(--blue); color: var(--white); }
body.lm-tool .wc-flag { background: var(--soft); }
body.lm-tool .wc-card { border: 2px solid var(--line); clip-path: none; border-radius: 12px; }
body.lm-tool .wc-stat, body.lm-tool .wc-shortlist, body.lm-tool .wc-table-wrap { background: var(--soft); clip-path: none; border-radius: 12px; }
body.lm-tool .wc-error { clip-path: none; border-radius: 8px; }
@media (max-width: 767px) {
  body.lm-tool .calc-grid { grid-template-columns: 1fr; }
  .lm-card, .lm-deliver { padding: 2rem 1.25rem 1.5rem; box-shadow: 4px 4px 0 var(--blue); }
}
