/* LeadForce tools. Tokens, buttons, nav, hero, footer and the booking
   questions are copied from leadforce.solutions (src/app/globals.css on
   main, 2026-09-27) so these pages read as the same site. */

:root {
  --bg-page: #101316;
  --bg-band: #14181d;
  --bg-card: #20252c;
  --bg-fit: #171c21;
  --accent: #357ee3;
  --accent-hover: #4a8de9;
  --accent-press: #2a6ac4;
  --fit-green: #7fb894;
  --fit-red: #d56a5d;
  --fg-4: #5c656f;
  --fg-kicker: #c9ced4;
  --hairline: rgba(255, 255, 255, 0.06);
  --hairline-strong: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.05);
  --radius: 10px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur: 220ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  background: var(--bg-page);
  color: #fff;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.blue { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: var(--radius);
  font-family: inherit; font-weight: 700; font-size: 13.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 28px; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease-out);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { background: var(--accent-press); transition-duration: var(--dur-fast); }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.3); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* ---------- nav (unlisted landing page: logo only) ---------- */
.nav {
  display: flex; align-items: center; justify-content: center;
  height: 76px; padding: 0 40px;
  border-bottom: 1px solid var(--card-border);
  background: var(--bg-page);
}
.nav img { height: 34px; width: auto; display: block; }

/* ---------- hero ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.hero { padding: 72px 24px 0; text-align: center; }
.hero > * { animation: rise 600ms var(--ease-out) backwards; }
.hero > :nth-child(2) { animation-delay: 90ms; }
.hero > :nth-child(3) { animation-delay: 180ms; }
.hero > :nth-child(4) { animation-delay: 270ms; }
.kicker { font-weight: 700; font-size: 17px; color: var(--fg-kicker); margin-bottom: 18px; }
.hero h1 {
  margin: 0 auto; max-width: 980px;
  font-weight: 600; font-size: 54px; line-height: 1.14; letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero .sub {
  margin: 26px auto 0; max-width: 760px;
  font-size: 19px; font-weight: 600; line-height: 1.6; text-wrap: pretty;
}
.source {
  display: inline-block; margin-top: 16px;
  font-size: 13px; font-weight: 600; color: var(--fg-kicker);
  text-decoration: underline; text-underline-offset: 3px;
}
.source:hover { color: #fff; }

/* ---------- page body ---------- */
.wrap { max-width: 800px; margin: 0 auto; padding: 56px 24px 0; }
.section-title {
  font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-kicker); margin: 8px 0 18px;
}

/* ---------- questions ---------- */
.q {
  background: var(--bg-band); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 24px 26px 26px; margin-bottom: 14px;
  transition: border-color var(--dur) var(--ease-out);
}
.q.done { border-color: rgba(53, 126, 227, 0.35); }
.q-head { display: flex; gap: 14px; align-items: baseline; margin-bottom: 18px; }
.q-num { flex: none; font-weight: 700; font-size: 15px; color: var(--accent); min-width: 22px; }
.q-text { font-weight: 600; font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; padding-left: 36px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: inline-block; padding: 10px 16px;
  border: 1px solid var(--hairline-strong); background: var(--bg-card);
  border-radius: 999px; color: var(--fg-kicker); font-size: 14.5px; font-weight: 500;
  cursor: pointer; user-select: none;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.opt span:hover { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.opt input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--accent-hover); outline-offset: 2px; }

/* ---------- report ---------- */
.report {
  margin: 34px 0 0; padding: 30px 30px 32px;
  background: var(--bg-fit); border: 1px solid rgba(53, 126, 227, 0.45);
  border-radius: var(--radius);
}
.report h2 { font-size: 26px; font-weight: 600; margin-bottom: 20px; }
.report .waiting { color: var(--fg-kicker); font-size: 16px; line-height: 1.6; }
.score { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.score .n { font-size: 64px; font-weight: 700; line-height: 1; color: var(--accent); }
.score .of { font-size: 20px; font-weight: 600; color: var(--fg-kicker); }
.report p.line { font-size: 18px; line-height: 1.6; margin-top: 12px; text-wrap: pretty; }
.report p.line:first-of-type { margin-top: 0; }
.report ul.gaps { margin: 18px 0 0; padding: 0; list-style: none; }
.report ul.gaps li {
  position: relative; padding: 10px 0 10px 22px; font-size: 16.5px; line-height: 1.55;
  border-top: 1px solid var(--hairline);
}
.report ul.gaps li::before {
  content: ""; position: absolute; left: 2px; top: 19px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--fit-red);
}
.footnote { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--fg-kicker); }
.footnote a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- booking (same questions as /consult) ---------- */
.booking { margin-top: 18px; border-top: 0; background: var(--bg-page); }
.booking-head { text-align: center; padding: 36px 24px 0; }
.booking-head h2 { font-size: 40px; font-weight: 600; line-height: 1.2; text-wrap: balance; }
.booking-head .red { color: var(--fit-red); }
/* two lines on desktop, never wider than the question cards (752px = .wrap minus its padding) */
.booking-head.fit h2 { max-width: 752px; margin: 0 auto; }
.cq { max-width: 760px; margin: 0 auto; padding: 28px 24px 80px; text-align: center; }
.cq-title { font-size: 22px; font-weight: 600; margin: 0 0 30px; color: var(--fg-kicker); }
.cq fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.cq legend, .cq-label { display: block; font-weight: 600; font-size: 17px; margin: 0 auto 14px; }
.cq-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cq-input {
  display: block; width: 100%; max-width: 420px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--hairline-strong); border-radius: var(--radius);
  color: #fff; font: inherit; font-size: 16px; padding: 13px 16px; text-align: center;
}
.cq-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.cq-trap { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.cq-err { color: var(--fit-red); font-size: 14px; min-height: 1.4em; margin: 0 0 12px; }
.cq-kicker { font-weight: 700; font-size: 17px; color: var(--fg-kicker); margin: 12px 0 16px; }
.cq-big { font-size: 22px; line-height: 1.5; max-width: 640px; margin: 0 auto 30px; text-wrap: pretty; }
.cq-lines { max-width: 720px; margin: 0 auto 32px; }
.cq-lines p { font-size: 20px; line-height: 1.5; margin: 0 0 12px; text-wrap: balance; }
.cq-lines a { color: var(--accent); text-decoration: underline; }
.cq-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cq-back {
  display: inline-block; margin: 26px auto 0; background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 8px 18px;
  color: var(--fg-kicker); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.cq-back:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.cal-wrap { max-width: 1200px; margin: 0 auto; padding: 8px 24px 80px; }
.cal-wrap > div { min-height: 640px; }

/* ---------- footer (landing variant) ---------- */
.footer {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding: 36px 40px 40px; border-top: 1px solid var(--hairline-strong);
}
.footer-id { display: flex; flex-direction: column; gap: 8px; }
.footer-id .name { font-weight: 700; font-size: 15px; }
.footer-id .legal { font-size: 12.5px; }
.footer-links { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.footer-links a { color: var(--accent); text-decoration: underline; }
.footer-links .sep { color: var(--fg-4); }

/* ---------- mobile ---------- */
@media (max-width: 880px) {
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 32px; line-height: 1.2; }
  .hero .sub { font-size: 17px; margin-top: 18px; }
  .kicker { font-size: 16px; margin-bottom: 12px; }
  .wrap { padding-top: 40px; }
  .booking-head h2 { font-size: 28px; }
  .footer { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}
@media (max-width: 640px) {
  .nav { height: 64px; }
  .nav img { height: 28px; }
  .q { padding: 20px 18px 22px; }
  .q-text { font-size: 17px; }
  .opts { padding-left: 0; }
  .opt span { font-size: 14px; padding: 10px 14px; }
  .report { padding: 24px 20px 26px; }
  .report h2 { font-size: 22px; }
  .score .n { font-size: 52px; }
  .report p.line { font-size: 17px; }
  .cq { padding: 20px 18px 64px; }
  .cq-big { font-size: 19px; }
  .cq-lines p { font-size: 18px; }
  .cq-actions .btn { width: 100%; }
}

/* ---------- report extras ---------- */
.q + .section-title { margin-top: 44px; }
.report h3.list-title {
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-kicker); margin: 26px 0 4px;
}
.report p.after-list { margin-top: 20px; }
.report p.line.strong { font-weight: 600; font-size: 19px; }
.score { flex-wrap: wrap; }
.score .of { flex: 1 1 240px; line-height: 1.4; }
br.desk { display: inline; }
@media (max-width: 880px) {
  br.desk { display: none; }
  .hero .sub { font-size: 16px; font-weight: 500; line-height: 1.6; }
  .score .of { font-size: 17px; }
}

/* ---------- See Example (a question's example, hidden until tapped) ---------- */
.q-ex { padding-left: 36px; margin: -10px 0 10px; }
.ex-toggle {
  background: none; border: 0; padding: 10px 0; min-height: 40px; cursor: pointer;
  color: var(--accent); font: inherit; font-size: 14px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.ex-toggle:hover { color: var(--accent-hover); }
.ex-text { font-size: 15px; line-height: 1.55; color: var(--fg-kicker); margin: 0 0 8px; max-width: 620px; }

/* ---------- report card ---------- */
.rc-top { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 6px; }
.rc-grade { font-size: 76px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.rc-grade.low { color: var(--fit-red); }
.rc-grade.ok { color: var(--accent); }
.rc-label { flex: 1 1 220px; font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--fg-kicker); }
.report p.rc-allpass { margin-top: 14px; }
.rc-sec {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-kicker); margin: 30px 0 4px;
}
.rc-row { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.rc-icon { font-size: 18px; font-weight: 700; line-height: 1.35; text-align: center; }
.rc-row.pass .rc-icon { color: var(--fit-green); }
.rc-row.miss .rc-icon { color: var(--fit-red); }
.rc-name { font-weight: 600; font-size: 17px; line-height: 1.4; }
.rc-row.pass .rc-name { color: var(--fg-kicker); }
.rc-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 10px; }
.rc-cap {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-kicker); margin-bottom: 4px;
}
.rc-ideal .rc-cap { color: var(--accent); }
.rc-text { display: block; font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
.rc-today .rc-text { color: var(--fg-kicker); }
@media (max-width: 640px) {
  .q-ex { padding-left: 0; }
  .rc-grade { font-size: 62px; }
  .rc-label { font-size: 17px; }
  .rc-cmp { grid-template-columns: 1fr; gap: 10px; }
}
