/* MadLeadz landing — "Lead Radar": dark terminal hero + glass-box, paper
   body. Everything is scoped under .lp; the shared layout nav is suppressed
   on this page (content_for :hide_chrome). Reuses the app's font + color
   tokens; adds --lp-* tokens for the dark surfaces only. */

:root {
  --lp-term: #191234;
  --lp-term-2: #201938;
  --lp-term-3: #2a2048;
  --lp-ink-hi: #f5f2fa;
  --lp-ink-lo: #bcb4cd;
  --lp-ink-dim: #837a97;
  --lp-green-hi: #a6e05a;
  --lp-purple-hi: #a76fd6;
  --lp-line-d: rgba(255, 255, 255, 0.09);
  --lp-line-d2: rgba(255, 255, 255, 0.16);
}

.lp { background: var(--lp-term); color: var(--lp-ink-hi); font-family: var(--font-body); }
.lp a { color: inherit; text-decoration: none; }
.lp :focus-visible { outline: 2px solid var(--lp-green-hi); outline-offset: 3px; border-radius: 4px; }

/* --- Nav --- */
.lp-nav { position: relative; z-index: 5; }
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.lp-brand { display: inline-flex; align-items: center; gap: 11px; }
.lp-mark { width: 30px; height: 30px; display: block; flex: none; }
.lp-mark.sm { width: 22px; height: 22px; }
.lp-word { font-family: var(--font-display); font-weight: 800; font-size: 1.65rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; color: #fff; }
.lp-word-accent { color: var(--green); }
.lp-navlinks { display: flex; align-items: center; gap: 26px; }
.lp-navlinks a { font-family: var(--font-body); font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lp-ink-lo); }
.lp-navlinks a:hover { color: #fff; }

/* --- Buttons --- */
.lp-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; border: none; border-radius: 7px; padding: 11px 20px; cursor: pointer; transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.lp-btn-fill { background: var(--green); color: #14210a; box-shadow: 0 0 0 1px rgba(140, 198, 63, 0.4), 0 8px 22px -8px rgba(140, 198, 63, 0.6); }
.lp-btn-fill:hover { transform: translateY(-1px); background: var(--lp-green-hi); }
.lp-btn-primary { background: var(--green); color: #13200a; font-size: 0.92rem; padding: 15px 26px; box-shadow: 0 0 0 1px rgba(140, 198, 63, 0.35), 0 14px 34px -10px rgba(140, 198, 63, 0.7); }
.lp-btn-primary:hover { transform: translateY(-2px); background: var(--lp-green-hi); box-shadow: 0 0 0 1px rgba(166, 224, 90, 0.6), 0 18px 40px -10px rgba(140, 198, 63, 0.85); }
.lp-ghost { font-family: var(--font-body); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lp-ink-lo); border-bottom: 1px solid var(--lp-line-d2); padding-bottom: 3px; }
.lp-ghost:hover { color: #fff; border-color: var(--green); }

/* Green fill/primary buttons keep dark text on every surface. Must beat the
   broad `.lp a { color: inherit }` and `.lp-navlinks a` colour rules (both
   element+class, higher specificity than the plain button classes), else
   buttons on the dark sections inherit light text and fail WCAG contrast. */
.lp .lp-btn-fill, .lp .lp-btn-primary { color: #14210a; }

/* Launch-sale price treatment: regular price struck through, sale tag pill. */
.lp-was { color: var(--lp-ink-lo); text-decoration: line-through; font-size: 0.5em; font-weight: 700; opacity: 0.6; margin-right: 8px; vertical-align: middle; }
.lp-sale-tag { display: inline-block; font-family: var(--font-body); font-size: 0.56rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #14210a; background: var(--green); padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 8px; box-shadow: 0 0 14px -4px rgba(140, 198, 63, 0.7); }

/* --- Hero --- */
.lp-hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 82% 8%, rgba(123, 74, 160, 0.40), transparent 58%), linear-gradient(180deg, #241b44, var(--lp-term)); }
.lp-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(150, 124, 205, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 124, 205, 0.13) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 85%); mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 85%); }

.lp-radar { position: absolute; top: -140px; right: -160px; width: 660px; height: 660px; border-radius: 50%; pointer-events: none; }
.lp-ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(140, 198, 63, 0.16); }
.lp-ring.r2 { width: 68%; height: 68%; }
.lp-ring.r3 { width: 38%; height: 38%; }
.lp-ring.r4 { width: 13%; height: 13%; border-color: rgba(140, 198, 63, 0.35); }
.lp-cross { position: absolute; inset: 0; margin: auto; background: rgba(140, 198, 63, 0.12); }
.lp-cross.h { width: 100%; height: 1px; }
.lp-cross.v { width: 1px; height: 100%; }
.lp-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(140, 198, 63, 0.30), rgba(140, 198, 63, 0.05) 26deg, transparent 46deg); animation: lp-sweep 6s linear infinite; }
@keyframes lp-sweep { to { transform: rotate(360deg); } }
.lp-blip { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--lp-green-hi); box-shadow: 0 0 10px 2px rgba(166, 224, 90, 0.7); opacity: 0; animation: lp-blip 6s linear infinite; }
.lp-blip.b1 { top: 30%; left: 58%; animation-delay: 0.6s; }
.lp-blip.b2 { top: 46%; left: 30%; animation-delay: 2.2s; }
.lp-blip.b3 { top: 66%; left: 62%; animation-delay: 3.6s; }
.lp-blip.b4 { top: 22%; left: 40%; animation-delay: 5s; }
@keyframes lp-blip { 0% { opacity: 0; transform: scale(0.6); } 6% { opacity: 1; transform: scale(1); } 30% { opacity: 0.35; } 55%, 100% { opacity: 0; } }

.lp-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(400px, 0.94fr); gap: 56px; align-items: center; padding: 58px 0 78px; }
.lp-eyebrow { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.02em; display: inline-block; margin-bottom: 22px; }
.lp-eyebrow-g { color: var(--green); }
.lp-eyebrow-p { color: var(--purple); }
.lp-headline { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6.6vw, 5.6rem); line-height: 0.9; letter-spacing: 0.005em; text-transform: uppercase; text-wrap: balance; margin: 0; color: #fff; }
.lp-glow { color: var(--green); text-shadow: 0 0 32px rgba(140, 198, 63, 0.55); }
.lp-lede { margin: 26px 0 0; max-width: 33em; font-size: 1.08rem; line-height: 1.6; color: var(--lp-ink-lo); }
.lp-lede strong { color: #fff; font-weight: 700; }
.lp-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.lp-micro { margin-top: 26px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--lp-ink-dim); }
.lp-proof { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--lp-line-d); display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-family: var(--font-mono); font-size: 0.76rem; color: var(--lp-ink-dim); }
.lp-proof strong { color: var(--lp-ink-lo); font-weight: 500; }
.lp-dot { color: var(--green); }

/* --- Brief card --- */
.lp-brief { position: relative; border-radius: 14px; background: linear-gradient(180deg, var(--lp-term-3), var(--lp-term-2)); border: 1px solid var(--lp-line-d2); box-shadow: 0 0 0 1px rgba(140, 198, 63, 0.10), 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 60px -20px rgba(140, 198, 63, 0.25); overflow: hidden; animation: lp-lockin 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes lp-lockin { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
.lp-brief::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--lp-green-hi), var(--green-deep)); box-shadow: 0 0 18px 1px rgba(140, 198, 63, 0.6); }
.lp-brief-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--lp-line-d); font-family: var(--font-mono); font-size: 0.72rem; color: var(--lp-ink-dim); }
.lp-lock { display: inline-flex; align-items: center; gap: 6px; color: var(--lp-green-hi); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.66rem; }
.lp-led { width: 7px; height: 7px; border-radius: 50%; background: var(--lp-green-hi); box-shadow: 0 0 8px 1px rgba(166, 224, 90, 0.8); animation: lp-pulse 1.8s ease-in-out infinite; }
@keyframes lp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.lp-brief-body { padding: 20px 20px 22px; }
.lp-brief-name { font-family: var(--font-display); font-weight: 800; font-size: 1.85rem; text-transform: uppercase; line-height: 1; color: #fff; letter-spacing: 0.01em; }
.lp-brief-role { margin-top: 6px; color: var(--lp-ink-lo); font-size: 0.95rem; }
.lp-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 18px 0; font-size: 0.9rem; }
.lp-k { font-family: var(--font-mono); font-size: 0.74rem; color: var(--lp-ink-dim); padding-top: 2px; }
.lp-v { color: var(--lp-ink-lo); }
.lp-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; }
.lp-tag-ok { color: #cbe48f; border: 1px solid rgba(140, 198, 63, 0.5); }
.lp-tag-signal { color: #e8d4ff; background: rgba(123, 74, 160, 0.35); border: 1px solid rgba(167, 111, 214, 0.4); margin-bottom: 10px; }
.lp-why { border-top: 1px dashed var(--lp-line-d2); padding-top: 16px; }
.lp-why p { margin: 0 0 10px; font-size: 0.95rem; color: var(--lp-ink-lo); line-height: 1.5; }
.lp-src { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--lp-ink-dim); }
.lp-src-link { color: var(--green); }
.lp-illus { margin-left: auto; }
.lp-meter { margin-top: 18px; }
.lp-meter-top { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-mono); font-size: 0.72rem; color: var(--lp-ink-dim); margin-bottom: 7px; }
.lp-meter-top b { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--lp-green-hi); letter-spacing: 0.02em; }
.lp-meter-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.lp-meter-fill { height: 100%; width: 92%; border-radius: 999px; background: linear-gradient(90deg, var(--green-deep), var(--lp-green-hi)); box-shadow: 0 0 12px rgba(140, 198, 63, 0.6); transform-origin: left; animation: lp-fill 1.4s 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes lp-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- Shared section heads --- */
.lp-h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 0.98; letter-spacing: 0.01em; margin: 0; max-width: 18em; color: var(--ink-deep); }
.lp-h2-light { color: #fff; }
.lp-section-lede { color: var(--muted); max-width: 42em; margin: 16px 0 0; font-size: 1.02rem; line-height: 1.55; }

/* --- Pricing (paper) --- */
.lp-pricing { position: relative; z-index: 2; background: var(--paper); color: var(--ink); border-top: 1px solid rgba(140, 198, 63, 0.3); padding: 62px 0 70px; }
.lp-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; align-items: stretch; }
.lp-tier { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.lp-tier.featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 26px 54px -26px rgba(140, 198, 63, 0.55); }
.lp-badge { position: absolute; top: -12px; left: 24px; background: var(--green); color: #14210a; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 11px; border-radius: 999px; }
.lp-tier-name { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.lp-tier.featured .lp-tier-name { color: var(--green-deep); }
.lp-price { font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 0.9; color: var(--purple-deep); margin: 8px 0 2px; letter-spacing: 0.01em; }
.lp-per { font-family: var(--font-body); font-size: 0.85rem; font-weight: 800; color: var(--muted); }
.lp-who { color: var(--muted); font-size: 0.92rem; margin: 6px 0 20px; min-height: 2.6em; line-height: 1.45; }
.lp-feats { display: flex; flex-direction: column; gap: 11px; font-size: 0.92rem; color: var(--ink); flex: 1; }
.lp-feat { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.lp-ck { color: var(--green-deep); font-weight: 800; }
.lp-btn-tier { display: block; width: 100%; text-align: center; border-radius: 8px; padding: 13px; font-family: var(--font-body); font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 24px; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.lp-btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: #fff; }
.lp-btn-ghost:hover { border-color: var(--green-deep); transform: translateY(-1px); }

/* --- How it works (paper-soft) --- */
.lp-how { position: relative; z-index: 2; background: var(--paper-soft); color: var(--ink); padding: 62px 0 70px; }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.lp-step { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: #fff; }
.lp-step-n { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; color: var(--green-deep); }
.lp-step-h { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; margin: 12px 0 8px; letter-spacing: 0.01em; color: var(--ink); }
.lp-step p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

/* --- Glass-box (dark) --- */
.lp-glassbox { position: relative; overflow: hidden; color: var(--lp-ink-hi); background: linear-gradient(180deg, #201748, var(--lp-term)); border-top: 1px solid rgba(140, 198, 63, 0.25); padding: 66px 0 72px; }
.lp-gb-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 46px; align-items: center; }
.lp-gb-copy p { margin: 18px 0 0; color: var(--lp-ink-lo); font-size: 1.05rem; line-height: 1.6; max-width: 34em; }
.lp-term-win { border-radius: 12px; overflow: hidden; border: 1px solid var(--lp-line-d2); background: #0e0a1a; box-shadow: 0 34px 74px -30px rgba(0, 0, 0, 0.85), 0 0 54px -18px rgba(140, 198, 63, 0.22); }
.lp-term-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--lp-line-d); font-family: var(--font-mono); font-size: 0.72rem; color: var(--lp-ink-dim); }
.lp-dots { display: inline-flex; gap: 6px; }
.lp-dots i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lp-term-code { margin: 0; padding: 18px; font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.75; color: var(--lp-ink-lo); overflow-x: auto; white-space: pre; }
.lp-term-code .kw { color: var(--lp-purple-hi); }
.lp-term-code .st { color: var(--lp-green-hi); }
.lp-term-code .cm { color: var(--lp-ink-dim); }
.lp-term-code .ok { color: var(--lp-green-hi); font-weight: 700; }

/* --- Closing CTA (dark) --- */
.lp-cta { position: relative; overflow: hidden; text-align: center; color: var(--lp-ink-hi); background: radial-gradient(90% 130% at 50% 130%, rgba(140, 198, 63, 0.18), transparent 60%), linear-gradient(180deg, var(--lp-term), #140f2c); border-top: 1px solid var(--lp-line-d); padding: 76px 0 86px; }
.lp-cta-h { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 0.96; margin: 0 auto; color: #fff; max-width: 13em; }
.lp-cta-sub { margin: 20px auto 0; color: var(--lp-ink-dim); font-family: var(--font-mono); font-size: 0.82rem; }
.lp-cta .lp-btn-primary { margin-top: 30px; }

/* --- Footer (dark) --- */
.lp-foot { background: #140f2c; color: var(--lp-ink-dim); padding: 26px 0 38px; border-top: 1px solid var(--lp-line-d); }
.lp-foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.lp-foot-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.02em; color: var(--lp-ink-lo); }
.lp-foot-tag { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--lp-ink-dim); }
.lp-foot-links { display: flex; gap: 18px; font-family: var(--font-mono); font-size: 0.8rem; }
.lp-foot-links a:hover { color: var(--lp-ink-hi); }
.lp-foot-glass { margin: 0 0 0 auto; font-family: var(--font-mono); font-size: 0.78rem; color: var(--lp-ink-dim); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 56px; }
  .lp-radar { top: -220px; right: -240px; }
  .lp-navlinks a:not(.lp-btn):not(.lp-signin) { display: none; }
  .lp-tiers, .lp-steps, .lp-gb-grid { grid-template-columns: 1fr; }
  .lp-who { min-height: 0; }
  .lp-foot-glass { margin-left: 0; }
}
@media (max-width: 520px) {
  .lp-brief-name { font-size: 1.55rem; }
  .lp-proof { font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-sweep { animation: none; opacity: 0.5; }
  .lp-blip { animation: none; opacity: 0.55; }
  .lp-brief, .lp-meter-fill, .lp-led { animation: none; }
}
