/* Qlero lead magnet pages. Brand colour tokens (--brand etc.) are set per page in its <head>. */
:root {
  --yellow: #FFE94D;
  --ink: #17172B;
  --body: #3E3F55;
  --muted: #5B5C70;
  --white: #FFFFFF;
  --error: #B42318;
  --error-bg: #FEF3F2;
  --display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 6px; }

.band { width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { margin: 0 0 14px; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.btn { display: inline-block; text-decoration: none; font-family: var(--display); font-weight: 900; border-radius: 999px; padding: 16px 30px; font-size: 16px; border: 0; cursor: pointer; text-align: center; line-height: 1.3; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { color: var(--ink); filter: brightness(0.96); }
.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover { color: var(--white); background: var(--brand-deep); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
h2.title { margin: 0 0 14px; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; }
.lede { margin: 0; font-size: 18px; color: var(--body); max-width: 62ch; }

/* Hero */
.hero { background: var(--brand); color: var(--white); padding-top: 24px; padding-bottom: 88px; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 56px; }
.top img { height: 30px; width: auto; display: block; }
.top a { color: var(--white); font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 18px; border: 1.5px solid rgba(255,255,255,0.6); border-radius: 999px; }
.top a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 420px; height: auto; display: block; border-radius: 6px; transform: rotate(-3deg); box-shadow: 0 40px 80px var(--shadow); }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { margin: 0 0 18px; font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5.2vw, 62px); line-height: 1.03; letter-spacing: -0.01em; }
.hero h1 span { color: var(--yellow); }
.hero .sub { margin: 0 0 28px; font-size: 19px; max-width: 34em; }

/* Form */
.form-card { background: var(--white); color: var(--ink); border-radius: 18px; padding: 28px; max-width: 580px; box-shadow: 0 24px 60px var(--shadow); scroll-margin-top: 24px; }
.form-card h2 { margin: 0 0 18px; font-family: var(--display); font-weight: 800; font-size: 20px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: 10px; min-height: 48px; background: var(--white); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--focus-ring); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.phone-row { display: flex; gap: 8px; }
.phone-row select { flex: 0 0 104px; width: 104px; padding-left: 10px; padding-right: 6px; }
.phone-row input { flex: 1 1 auto; min-width: 0; }
.err { font-size: 13px; color: var(--error); }
.form-card .btn { display: block; width: 100%; margin-top: 20px; font-size: 17px; }
.form-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--error-bg); color: var(--error); font-size: 14px; }
.fine { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.fine a { color: var(--muted); }
.fine.left { text-align: left; }

/* Proof strip */
.proof { border-bottom: 1px solid var(--line); padding-top: 26px; padding-bottom: 26px; }
.proof .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; font-weight: 600; }
.proof div { display: flex; align-items: center; gap: 10px; }
.proof svg { flex: none; color: var(--brand); }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.tinted { background: var(--band); }
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.pain { background: var(--tint); border-radius: 18px; padding: 30px; }
.pain h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 800; font-size: 21px; }
.pain p { margin: 0; color: var(--body); }
.inside { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.inside-copy { flex: 1 1 320px; min-width: 0; }
.inside-copy .lede { margin-bottom: 28px; }
.steps { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; background: var(--white); border-radius: 16px; padding: 22px 24px; }
.steps .n { font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--brand); min-width: 40px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.steps strong { display: block; font-size: 18px; margin-bottom: 4px; }
.steps .d { color: var(--body); }
.steps .pg { color: var(--muted); font-size: 14px; white-space: nowrap; }
.about { display: flex; flex-wrap: wrap; gap: 56px; }
.about > div { flex: 1 1 420px; min-width: 0; }
.about .lede + .lede { margin-top: 14px; }
.faq { display: flex; flex-direction: column; gap: 22px; }
.faq h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.faq p { margin: 0; color: var(--body); }
.final { background: var(--brand); color: var(--white); text-align: center; padding-top: 88px; padding-bottom: 88px; }
.final h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4vw, 50px); line-height: 1.08; }
.final h2 span { color: var(--yellow); }
.final p { margin: 0 0 30px; font-size: 19px; }
footer { background: var(--ink); color: #C9C9D6; padding-top: 34px; padding-bottom: 34px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer img { height: 24px; width: auto; display: block; }
footer a { color: var(--white); }
footer a:hover { color: var(--yellow); }

/* Thank-you view */
.ty-hero { background: var(--ink); color: var(--white); padding-top: 24px; padding-bottom: 80px; }
.ty-hero .top { margin-bottom: 64px; }
.ty-center { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tick { width: 76px; height: 76px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.ty-hero .eyebrow { color: var(--yellow); }
.ty-hero h1 { margin: 0 0 16px; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; outline: none; }
.ty-hero h1 span { color: var(--yellow); }
.ty-hero p { margin: 0; font-size: 19px; color: #DCDCE6; max-width: 36em; }
.ty-download { margin-top: 28px; font-size: 17px; }
.ty-grid { display: flex; justify-content: center; }
.ty-copy { flex: 0 1 640px; min-width: 0; }
.ty-copy ul { list-style: none; margin: 22px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.ty-copy li { display: flex; gap: 12px; align-items: flex-start; }
.ty-copy li svg { flex: none; margin-top: 3px; color: var(--brand); }
.back { display: inline-block; margin-top: 18px; font-size: 14px; }

@media (max-width: 560px) {
  .fields { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 22px; }
  .hero { padding-top: 20px; padding-bottom: 64px; }
  .top { margin-bottom: 36px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .steps li { padding: 18px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
