/* ============================================================
   TQL — Lean / Lead-Capture variant
   Stacks ON TOP of str-landing.css (reuses tokens, buttons, nav, faq)
   ============================================================ */

body.lean .nav { border-bottom: 1px solid rgba(255,255,255,.05); }

/* ============================================================
   HERO — address-first
   ============================================================ */
.hero-lean {
  padding: 84px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero-lean::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0, 123, 224, .18), transparent 60%);
  pointer-events: none;
}
.hero-lean::after {
  content: "";
  position: absolute;
  inset: auto auto -40% -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46, 139, 255, .10), transparent 65%);
  pointer-events: none;
}
.hero-lean-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hero-lean h1 {
  margin-top: 22px;
  font-size: clamp(40px, 6.6vw, 78px);
  text-wrap: balance;
}
.hero-lean h1 em {
  font-style: italic;
  color: var(--logo-blue);
  font-weight: 500;
}
.hero-lean-sub {
  margin: 26px auto 0;
  max-width: 640px;
  color: var(--text-2);
  font-size: 19px;
  text-wrap: pretty;
}
.hero-lean-sub b { color: var(--text); font-weight: 700; }

/* ----- Calculator card ----- */
.calc-card {
  margin: 40px auto 0;
  max-width: 760px;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    0 30px 70px -30px rgba(0,0,0,.7),
    0 0 0 1px rgba(0, 123, 224, .12),
    0 0 60px -20px rgba(0, 123, 224, .35);
  transition: box-shadow var(--t), border-color var(--t);
}
.calc-card:focus-within {
  border-color: rgba(0, 123, 224, .55);
  box-shadow:
    0 1px 0 rgba(255,255,255,.05) inset,
    0 30px 70px -30px rgba(0,0,0,.7),
    0 0 0 4px rgba(0, 123, 224, .14),
    0 0 80px -16px rgba(0, 123, 224, .55);
}

.calc-field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0a1730;
  border-radius: calc(var(--r-xl) - 6px);
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--line-soft);
}
.calc-field label {
  display: flex;
  align-items: center;
  color: var(--logo-blue);
  flex-shrink: 0;
}
.calc-field input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 18px 4px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}
.calc-field input::placeholder {
  color: var(--text-3);
  font-weight: 400;
}
.calc-submit {
  padding: 18px 28px;
  font-size: 16px;
  border-radius: calc(var(--r-xl) - 12px);
  flex-shrink: 0;
}
.calc-submit-short { display: none; }

.calc-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--text-2);
}
.calc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.calc-meta svg { color: var(--logo-blue); }

/* ----- Trust strip ----- */
.trust-strip {
  margin: 56px auto 0;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 8px;
}
.trust-cell {
  text-align: center;
  position: relative;
  padding: 4px 12px;
}
.trust-cell + .trust-cell::before {
  content: "";
  position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: var(--line);
}
.trust-num {
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.trust-unit {
  font-size: 0.55em;
  color: var(--logo-blue);
  margin-left: 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.trust-lbl {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* ============================================================
   SECTION SHELL (lean)
   ============================================================ */
.section-lean { padding: 72px 0; }
.section-head-lean {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-head-lean h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 12px;
}
.section-head-lean p {
  color: var(--text-2);
  font-size: 16.5px;
}

/* ============================================================
   STEPS (lean)
   ============================================================ */
.steps-lean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.step-lean {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.step-lean:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--sh-card-h);
}
.step-lean h3 { margin: 14px 0 6px; font-size: 17px; }
.step-lean p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.step-lean .step-num {
  position: static;
  width: 36px; height: 36px;
  font-size: 14px;
}

/* ============================================================
   MARKETS (lean) — chip cards
   ============================================================ */
.markets-lean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}
.market-chip {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.market-chip:hover {
  transform: translateY(-2px);
  border-color: var(--mint-line);
  box-shadow: var(--sh-card-h);
}
.market-chip-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.market-chip-flag {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(0, 123, 224, .14);
  border: 1px solid rgba(0, 123, 224, .35);
  color: var(--logo-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: grid; place-items: center;
}
.market-chip h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.market-chip p {
  color: var(--text-3);
  font-size: 14px;
  margin-top: 4px;
}

/* ============================================================
   PROOF (lean)
   ============================================================ */
.proof-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.proof-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
}
.proof-quote {
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  margin-top: 10px;
}
.proof-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.proof-partners {
  margin: 40px auto 0;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.proof-partners-lbl {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: 6px;
}

/* ============================================================
   FOOTER (lean)
   ============================================================ */
.footer-lean { padding: 56px 0 32px; }
.footer-lean-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 32px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.footer-lean-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 14.5px;
}
.footer-lean-links a {
  color: var(--text-2);
  transition: color var(--t-fast);
}
.footer-lean-links a:hover { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .steps-lean,
  .markets-lean,
  .proof-row {
    grid-template-columns: 1fr 1fr;
  }
  .trust-strip { padding: 18px 4px; }
}

@media (max-width: 640px) {
  .hero-lean { padding: 48px 0 56px; }
  .hero-lean h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero-lean-sub { font-size: 16.5px; margin-top: 20px; }

  /* Stack calculator: input on top, button below — full width */
  .calc-card { padding: 8px; border-radius: var(--r-lg); margin-top: 28px; }
  .calc-field {
    flex-wrap: wrap;
    padding: 6px;
    border-radius: calc(var(--r-lg) - 6px);
  }
  .calc-field label {
    padding-left: 12px;
  }
  .calc-field input {
    flex: 1;
    min-width: 0;
    padding: 14px 6px;
    font-size: 16px;
  }
  .calc-submit {
    width: 100%;
    margin-top: 6px;
    padding: 16px 18px;
    flex: 1 0 100%;
    font-size: 15.5px;
  }
  .calc-submit-full { display: none; }
  .calc-submit-short { display: inline; }
  /* Reuse arrow */
  .calc-submit-short::after { content: ' →'; }

  .calc-meta {
    margin-top: 22px;
    gap: 10px 18px;
    font-size: 13px;
  }

  .trust-strip {
    margin-top: 40px;
    grid-template-columns: 1fr 1fr;
    gap: 18px 4px;
    padding: 20px 6px;
  }
  .trust-cell + .trust-cell::before { display: none; }
  .trust-cell:nth-child(odd)::after,
  .trust-cell:nth-child(1)::after,
  .trust-cell:nth-child(2)::after {
    content: "";
  }
  .trust-cell:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .trust-cell:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }
  .trust-cell:nth-child(n+3) { padding-top: 18px; }

  .section-lean { padding: 56px 0; }
  .section-head-lean { margin-bottom: 32px; }

  .steps-lean,
  .markets-lean,
  .proof-row {
    grid-template-columns: 1fr;
  }

  .proof-partners {
    margin-top: 32px;
    padding-top: 24px;
  }
  .proof-partners-lbl {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 6px;
    margin-right: 0;
  }

  .footer-lean-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-lean-links {
    gap: 18px 22px;
  }

  /* Push content above sticky CTA */
  .footer-lean { padding-bottom: 110px; }
}
