:root{
  --bg:#0E1116; --panel:#171B22; --panel-2:#1E232C; --line:#2A313C;
  --ink:#EEF1F4; --muted:#9AA4B0; --accent:#C8F03C; --accent-ink:#161a08; --bad:#FF6B5B;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0}
body{
  font-family:'Inter Tight',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg); color:var(--ink); font-size:16px; line-height:1.5;
  -webkit-font-smoothing:antialiased;
  padding-bottom:env(safe-area-inset-bottom);
}
input,button{font-family:inherit}
button{cursor:pointer}

/* ---------- AUTH ---------- */
.auth-wrap{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px 18px}
.auth-card{width:100%;max-width:400px;background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:28px 22px}
.brand{font-weight:700;font-size:20px;letter-spacing:-.01em}
.brand.sm{font-size:18px}
.brand-sub{color:var(--muted);font-size:14px;margin:10px 0 20px}
.seg{display:flex;background:var(--panel-2);border-radius:12px;padding:4px;gap:4px;margin-bottom:18px}
.seg-btn{flex:1;border:none;background:transparent;color:var(--muted);padding:11px;border-radius:9px;font-weight:600;font-size:15px;min-height:44px}
.seg-btn.is-active{background:var(--ink);color:var(--bg)}
.form{display:flex;flex-direction:column;gap:12px}
.fld{background:var(--panel-2);border:1.5px solid var(--line);border-radius:12px;padding:14px;color:var(--ink);font-size:16px;width:100%}
.fld:focus{outline:none;border-color:var(--accent)}
.fld::placeholder{color:#6B7480}
.btn{background:var(--accent);color:var(--accent-ink);border:none;border-radius:12px;padding:14px;font-weight:700;font-size:16px;min-height:50px}
.btn:active{transform:translateY(1px)}
.btn:disabled{opacity:.6}
.btn-ghost{background:transparent;border:1.5px solid var(--line);color:var(--ink);border-radius:10px;padding:9px 14px;font-weight:600;min-height:44px}
.btn-ghost:active{background:var(--panel-2)}
.err{color:var(--bad);font-size:14px;text-align:center;min-height:1px}

/* ---------- HEADER ---------- */
.hdr{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;
  padding:14px 18px;padding-top:calc(14px + env(safe-area-inset-top));
  background:rgba(14,17,22,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.hdr-right{display:flex;align-items:center;gap:12px}
.hello{color:var(--muted);font-size:14px;max-width:38vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- MAIN ---------- */
.main{max-width:760px;margin:0 auto;padding:18px 16px 60px;display:flex;flex-direction:column;gap:16px}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:18px}
.panel-title{font-weight:700;font-size:15px;margin-bottom:14px}

.link-row{display:flex;gap:10px}
.link-fld{flex:1;min-width:0;background:var(--panel-2);border:1.5px solid var(--line);border-radius:12px;padding:13px;color:var(--accent);font-size:15px;font-weight:600}
.copy{flex:none;padding:0 18px;min-height:48px}
.copied{color:var(--accent);font-size:13px;margin-top:8px}
.qr-wrap{display:flex;justify-content:center;margin:18px 0 6px}
.qr-wrap img{width:180px;height:180px;background:#fff;border-radius:14px;padding:10px}
.hint{color:var(--muted);font-size:13px;margin-top:8px}

/* ---------- STATS ---------- */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.stat{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:16px 12px;text-align:center;min-width:0}
.stat.accent{background:linear-gradient(160deg,#1d2a05,#283a06);border-color:#3a5210}
.stat-num{font-weight:800;font-size:clamp(16px,4.8vw,22px);letter-spacing:-.03em;white-space:nowrap}
.stat.accent .stat-num{color:var(--accent)}
.stat-lbl{color:var(--muted);font-size:12px;margin-top:6px}

/* ---------- LEADS ---------- */
.lead{display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:var(--panel-2);border:1px solid var(--line);border-radius:13px;padding:13px 14px;margin-bottom:10px}
.lead:last-child{margin-bottom:0}
.lead-l{min-width:0}
.lead-when{font-weight:600;font-size:14px}
.lead-status{color:var(--muted);font-size:13px;margin-top:3px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.dot{width:8px;height:8px;border-radius:50%;flex:none;background:var(--muted)}
.dot.won{background:var(--accent)}
.dot.lost{background:var(--bad)}
.dot.work{background:#5b9cff}
.lead-r{text-align:right;flex:none}
.lead-cash{font-weight:700;font-size:15px}
.lead-cash.due{color:var(--accent)}
.badge{display:inline-block;font-size:11px;padding:2px 8px;border-radius:999px;background:var(--panel);border:1px solid var(--line);color:var(--muted);margin-top:4px}
.badge.paid{color:var(--accent);border-color:#3a5210}
.empty{color:var(--muted);font-size:14px;text-align:center;padding:18px 0}
.foot{color:#6B7480;font-size:12px;text-align:center;padding:0 8px}

@media(min-width:560px){
  .qr-wrap img{width:200px;height:200px}
}

/* ============================================================
   LANDING (logged-out view) — cold-traffic selling page
   ============================================================ */
#auth-view{max-width:1180px;margin:0 auto;padding:0 clamp(20px,5vw,48px) 60px}
.hl{color:var(--accent)}

.lp-nav{display:flex;align-items:center;justify-content:space-between;
  padding:18px 0;padding-top:calc(18px + env(safe-area-inset-top))}
.lp-nav .brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:13px;text-decoration:none;color:var(--ink);flex:none}
.lp-nav .brand-mark{color:var(--ink);font-size:20px;line-height:1}
.lp-nav .brand-text{font-size:13px;line-height:1.1;letter-spacing:.01em}
.lp-nav .brand-text b{font-weight:700}
.lp-nav-login{background:transparent;border:none;color:var(--muted);font-size:14px;font-weight:600;padding:8px 4px;min-height:44px}
.lp-nav-login:hover{color:var(--ink)}

/* hero */
.lp-hero{text-align:center;padding:24px 0 48px}
.lp-badge{display:inline-block;background:var(--panel-2);border:1px solid var(--line);color:var(--accent);
  font-size:13px;font-weight:600;padding:7px 14px;border-radius:999px;margin-bottom:20px}
.lp-hero h1{font-size:clamp(30px,7vw,52px);line-height:1.08;letter-spacing:-.02em;margin:0 0 18px;font-weight:800}
.lp-sub{color:var(--muted);font-size:clamp(15px,2.4vw,18px);max-width:620px;margin:0 auto 26px}
.lp-cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.lp-cta-row .btn,.lp-cta-row .btn-ghost{min-width:200px}
.lp-cta-center{display:flex;justify-content:center;margin-top:28px}
.lp-cta-center .btn{min-width:240px}

/* generic section */
.lp-sec{padding:44px 0;border-top:1px solid var(--line)}
.lp-sec h2{font-size:clamp(24px,4.4vw,34px);line-height:1.15;letter-spacing:-.02em;text-align:center;margin:0 0 12px;font-weight:800}
.lp-lead{color:var(--muted);font-size:clamp(15px,2.2vw,17px);text-align:center;max-width:640px;margin:0 auto 28px}
.lp-fineprint{color:#6B7480;font-size:12px;text-align:center;max-width:640px;margin:18px auto 0}
.lp-amp{margin:26px auto 0;max-width:640px;text-align:center;background:linear-gradient(160deg,#1d2a05,#283a06);
  border:1px solid #3a5210;color:var(--accent);font-weight:700;font-size:clamp(15px,2.4vw,18px);padding:16px 18px;border-radius:14px}

/* earnings — interactive cashback receipt */
.chk-toggles{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:24px}
.chk-tg{background:var(--panel);border:1.5px solid var(--line);color:var(--muted);border-radius:999px;
  padding:11px 16px;font-size:14px;font-weight:600;min-height:44px;cursor:pointer;transition:.15s}
.chk-tg:hover{color:var(--ink)}
.chk-tg.is-on{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}

.receipt{position:relative;max-width:430px;margin:0 auto;background:#12161d;border:1px solid var(--line);
  border-radius:18px;box-shadow:0 20px 50px rgba(0,0,0,.35);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.receipt-top{position:relative;padding:22px 22px 22px;text-align:center;
  background:linear-gradient(180deg,#181d26,#12161d);border-radius:18px 18px 0 0}
.receipt-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.receipt-head{font-size:clamp(11px,3vw,13px);color:var(--muted);font-weight:600;text-align:left;
  font-family:'Inter Tight',system-ui,sans-serif}
.receipt-total-lbl{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;
  font-family:'Inter Tight',system-ui,sans-serif}
.receipt-total{font-size:clamp(38px,10vw,56px);font-weight:800;color:var(--accent);letter-spacing:-.02em;
  line-height:1.05;margin-top:4px;white-space:nowrap}
.receipt-stamp{flex:none;transform:rotate(6deg);border:2px solid var(--accent);
  color:var(--accent);border-radius:8px;padding:4px 9px;font-size:11px;font-weight:800;text-transform:uppercase;
  letter-spacing:.04em;opacity:.9;font-family:'Inter Tight',system-ui,sans-serif;white-space:nowrap}
/* perforation line with side punch-holes */
.receipt-perf{position:relative;height:0;border-top:2px dashed var(--line)}
.receipt-perf::before,.receipt-perf::after{content:"";position:absolute;top:-11px;width:20px;height:20px;
  border-radius:50%;background:var(--bg)}
.receipt-perf::before{left:-11px}
.receipt-perf::after{right:-11px}
.receipt-rows{padding:18px 24px 6px}
.receipt-row{display:flex;justify-content:space-between;gap:14px;padding:10px 0;font-size:14px;color:var(--ink);
  border-bottom:1px dashed var(--line)}
.receipt-row span:first-child{color:var(--muted)}
.receipt-row-total{font-weight:800;font-size:17px;border-bottom:none;padding-top:14px}
.receipt-row-total span:last-child{color:var(--accent)}
.receipt-fine{padding:6px 24px 22px;font-size:11px;color:#6B7480;text-align:center;
  font-family:'Inter Tight',system-ui,sans-serif}

/* earnings list — all offers visible at once, inside the receipt */
.earn-list{padding:6px 24px 4px}
.earn-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;
  border-bottom:1px dashed var(--line)}
.earn-row:last-child{border-bottom:none}
.earn-info{min-width:0}
.earn-svc{font-size:15px;font-weight:700;color:var(--ink);font-family:'Inter Tight',system-ui,sans-serif}
.earn-deal{font-size:12.5px;color:var(--muted);margin-top:3px;font-family:'Inter Tight',system-ui,sans-serif}
.earn-cash{flex:none;font-size:clamp(22px,5.6vw,30px);font-weight:800;color:var(--accent);
  letter-spacing:-.02em;white-space:nowrap}

/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.step{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:24px 20px;text-align:center}
.step-ic{width:48px;height:48px;border-radius:50%;background:var(--accent);color:var(--accent-ink);
  font-weight:800;font-size:22px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.step-tx{font-size:15px;color:var(--ink)}

/* feature grids */
.feat-grid,.get-grid{display:grid;gap:14px}
.feat-grid{grid-template-columns:repeat(3,1fr)}
.get-grid{grid-template-columns:repeat(2,1fr)}
.feat,.get{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:22px 20px}
.feat-ic,.get-ic{font-size:30px;margin-bottom:12px}
.feat-tx,.get-tx{font-size:15px;color:var(--ink)}

/* who list */
.who-list{list-style:none;padding:0;margin:0 auto;max-width:620px;display:flex;flex-direction:column;gap:12px}
.who-list li{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:16px 18px;font-size:16px;
  position:relative;padding-left:46px}
.who-list li::before{content:"✓";position:absolute;left:18px;color:var(--accent);font-weight:800}

/* trust */
.lp-trust{text-align:center}
.brand-chips{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:6px}
.brand-chip{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 20px;font-weight:700;font-size:16px}
.brand-chip em{color:var(--muted);font-style:normal;font-weight:500;font-size:14px}

/* final registration */
.lp-reg{text-align:center}
.lp-form{max-width:420px;margin:0 auto;text-align:left}
.lp-form-alt,.lp-modal-alt{color:var(--muted);font-size:14px;text-align:center;margin-top:6px}
.lp-link{background:none;border:none;color:var(--accent);font-weight:600;cursor:pointer;font-size:14px;padding:6px;min-height:44px}

/* ===== Unified site footer — hardcoded to render identically to the homepage =====
   Same literal values as styles.css/article.css so the footer looks the same on
   the /lk landing as on the main site. Lives in #auth-view only (cabinet untouched). */
.site-footer{background:#F4F3EE;border-top:1px solid #E2E0D7;padding:clamp(44px,6vw,72px) 0 28px;color:#15181C}
/* The /lk landing wraps content in #auth-view (max-width:1060). Break the footer
   out to full viewport width so it spans edge-to-edge exactly like the homepage. */
#auth-view .site-footer{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.site-footer .wrap{max-width:1180px;margin-inline:auto;padding-inline:clamp(20px,5vw,48px);width:100%;box-sizing:border-box}
.site-footer .footer-inner{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px}
.site-footer .footer-col{display:flex;flex-direction:column;gap:10px;min-width:0}
.site-footer .footer-col .brand{display:flex;align-items:center;gap:10px;font-weight:600}
.site-footer .brand-mark{font-size:20px;line-height:1;color:#15181C}
.site-footer .brand-text{font-size:13px;line-height:1.1;letter-spacing:.01em}
.site-footer .brand-text b{font-weight:700}
.site-footer .footer-h{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-feature-settings:"tnum" 1;font-size:12px;color:#6A7178;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
.site-footer .footer-col a{color:#3A4048;font-size:15px;text-decoration:none;min-height:auto}
.site-footer .footer-col a:hover{color:#15181C}
.site-footer .footer-tag{color:#6A7178;font-size:14px;max-width:260px;margin:0}
.site-footer .footer-req p{color:#3A4048;font-size:14px;line-height:1.7;margin:0}
.site-footer .footer-projects a{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}
.site-footer .proj-desc{color:#6A7178;font-size:12px;line-height:1.4}
.site-footer a.footer-partner{display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:6px;margin-top:10px;align-self:flex-start;max-width:340px;background:#C8F03C;color:#161a08;border-radius:14px;padding:13px 20px;font-weight:700;font-size:14px;text-decoration:none;min-height:48px;line-height:1.35}
.site-footer a.footer-partner:hover{background:#d4f857;color:#161a08}
.site-footer .footer-sections{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:14px}
.site-footer .footer-sections a{color:#3A4048;font-size:15px;text-decoration:none}
.site-footer .footer-sections a:hover{color:#15181C}
.site-footer .footer-bottom{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;margin-top:40px;padding-top:22px;border-top:1px solid #E2E0D7;color:#6A7178;font-size:13px}
@media(max-width:1024px){.site-footer .footer-inner{grid-template-columns:1fr 1fr}}
@media(max-width:440px){.site-footer .footer-inner{grid-template-columns:1fr}.site-footer a.footer-partner{max-width:none;align-self:stretch}}

/* login modal */
.lp-modal{position:fixed;inset:0;z-index:50;background:rgba(8,10,14,.7);backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;padding:18px}
.lp-modal-box{position:relative;width:100%;max-width:400px;background:var(--panel);border:1px solid var(--line);
  border-radius:20px;padding:30px 24px}
.lp-modal-box .brand{margin-bottom:18px}
.lp-modal-x{position:absolute;top:14px;right:14px;background:none;border:none;color:var(--muted);font-size:18px;
  cursor:pointer;width:40px;height:40px;border-radius:10px}
.lp-modal-x:hover{background:var(--panel-2);color:var(--ink)}

@media(max-width:760px){
  .feat-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
}
@media(max-width:560px){
  .get-grid{grid-template-columns:1fr}
  .lp-cta-row .btn,.lp-cta-row .btn-ghost{width:100%}
  .chk-tg{flex:1 1 calc(50% - 5px)}
}

/* ============================================================
   LIGHT THEME — landing only (#auth-view). Cabinet (#app-view) stays dark.
   Palette + fonts mirror the main site (franch-royalty-marketing.ru).
   ============================================================ */
#auth-view{
  --bg:#F4F3EE; --panel:#FFFFFF; --panel-2:#FBFAF7; --line:#E2E0D7; --line-strong:#CFCDC2;
  --ink:#15181C; --ink-soft:#3A4048; --muted:#6A7178; --accent:#C8F03C; --accent-ink:#161a08;
  background:#F4F3EE; color:#15181C; min-height:100dvh;
}
#auth-view .brand{color:#15181C}
#auth-view .lp-nav-login{color:#6A7178}
#auth-view .lp-nav-login:hover{color:#15181C}
#auth-view .lp-badge{background:#fff;border:1px solid #CFCDC2;color:#6A7178}
#auth-view .lp-sub,#auth-view .lp-lead,#auth-view .lp-fineprint{color:#6A7178}
#auth-view .lp-sec{border-top-color:#E2E0D7}
#auth-view .lp-hero h1,#auth-view .lp-sec h2{color:#15181C}
/* accent as lime highlight (lime text on cream is low-contrast) */
#auth-view .hl{color:#15181C;background:linear-gradient(transparent 58%,var(--accent) 58%);padding:0 .06em;border-radius:2px}
#auth-view .lp-amp{background:linear-gradient(160deg,#f1f8da,#e7f3c4);border:1px solid #d6ea9c;color:#33480a}

/* receipt — light card */
#auth-view .receipt{background:#fff;border:1px solid #E2E0D7;box-shadow:0 18px 44px rgba(20,24,28,.08)}
#auth-view .receipt-top{background:#fff}
#auth-view .receipt-head{color:#6A7178}
#auth-view .receipt-perf{border-top-color:#E2E0D7}
#auth-view .earn-row{border-bottom-color:#E2E0D7}
#auth-view .earn-svc{color:#15181C}
#auth-view .earn-deal{color:#6A7178}
#auth-view .earn-deal b{color:#15181C;font-weight:700}
/* cashback sum: dark text with lime highlight (readable + lime accent) */
#auth-view .earn-cash{color:#15181C;background:linear-gradient(transparent 54%,var(--accent) 54%);padding:0 5px;border-radius:2px}
#auth-view .receipt-fine{color:#9aa0a8}

/* "what agency" card */
.lp-about-sec{padding-top:36px;padding-bottom:36px}
#auth-view .about-card{max-width:680px;margin:0 auto;text-align:left;background:#fff;border:1px solid #E2E0D7;
  border-left:4px solid var(--accent);border-radius:16px;padding:24px 24px}
.about-name{font-weight:800;font-size:clamp(20px,3.4vw,26px);letter-spacing:-.01em;margin-bottom:8px;color:#15181C}
.about-tx{color:#3A4048;font-size:clamp(15px,2.2vw,17px);line-height:1.55;margin:0 0 10px}
.about-tx:last-child{margin-bottom:0}
#auth-view .about-tx b{color:#15181C}

/* steps / features / lists / chips — light cards */
#auth-view .step,#auth-view .feat,#auth-view .get,#auth-view .who-list li,#auth-view .brand-chip{
  background:#fff;border-color:#E2E0D7}
#auth-view .step-tx,#auth-view .feat-tx,#auth-view .get-tx,#auth-view .who-list li{color:#15181C}
#auth-view .brand-chip{color:#15181C}
#auth-view .brand-chip em{color:#6A7178}

/* forms / login modal — light */
#auth-view .fld{background:#fff;border:1.5px solid #CFCDC2;color:#15181C}
#auth-view .fld:focus{border-color:#15181C}
#auth-view .fld::placeholder{color:#9aa0a8}
#auth-view .btn-ghost{border-color:#CFCDC2;color:#15181C}
#auth-view .btn-ghost:hover{border-color:#15181C}
#auth-view .lp-modal-box{background:#fff;border-color:#E2E0D7}
#auth-view .lp-modal-x{color:#6A7178}
#auth-view .lp-modal-x:hover{background:#F4F3EE;color:#15181C}

/* long brand name must not overflow narrow headers */
.lp-nav{gap:12px}
.lp-nav .brand{min-width:0}
.lp-nav-login{flex:none;white-space:nowrap}
.brand.sm{font-size:16px}
.hdr{gap:10px}
.hdr .brand{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}

/* Page background follows the active view: cream for the light landing,
   dark for the cabinet (which paints its own full-height dark surface). */
body{background:#F4F3EE}
#app-view{background:#0E1116;min-height:100dvh}

/* landing cases — mirrors the main site's кейсы, light cards */
.lk-cases{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:30px;text-align:left}
#auth-view .lk-case{background:#fff;border:1px solid #E2E0D7;border-radius:16px;padding:22px;
  display:flex;flex-direction:column;gap:10px}
#auth-view .lk-case-client{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12px;color:#6A7178;text-transform:uppercase;letter-spacing:.06em}
#auth-view .lk-case h3{font-size:18px;line-height:1.25;margin:0;color:#15181C;font-weight:700}
#auth-view .lk-case-result{color:#3A4048;font-size:14px;line-height:1.5;margin:0;flex:1}
#auth-view .lk-case-metrics{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12.5px;color:#15181C;background:#F4F3EE;border:1px solid #E2E0D7;border-radius:10px;padding:9px 12px}
@media(max-width:560px){.lk-cases{grid-template-columns:1fr}}
.lk-cases-more{grid-column:1/-1;justify-self:center;margin-top:6px;text-decoration:none;
  background:transparent;border:1.5px solid #C9C6BA;color:#15181C;border-radius:12px;
  padding:13px 26px;font-weight:700;font-size:15px;min-height:48px;display:inline-flex;align-items:center}
.lk-cases-more:hover{border-color:#15181C;background:#15181C;color:#fff}

/* ============================================================
   DESIGN POLISH — hierarchy, unified cards, icon system, motion, rhythm
   ============================================================ */
#auth-view{max-width:1180px}

/* consistent vertical rhythm (fluid) */
.lp-sec{padding:clamp(44px,6vw,72px) 0}
.lp-hero{padding:clamp(18px,3vw,34px) 0 clamp(40px,6vw,64px)}
.lp-about-sec{padding-top:clamp(34px,5vw,52px);padding-bottom:clamp(34px,5vw,52px)}
.lp-sec h2{margin-bottom:14px}
.lp-lead{margin-bottom:clamp(26px,3.4vw,36px)}

/* balanced, readable text wrapping */
.lp-hero h1,.lp-sec h2,.about-name{text-wrap:balance}
.lp-sub,.lp-lead,.about-tx,.feat-tx,.get-tx,.step-tx{text-wrap:pretty}

/* unified card system + motion */
.step,.feat,.get,#auth-view .lk-case,.about-card{
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.step,.feat,.get{padding:28px 24px}
.step:hover,.feat:hover,.get:hover,#auth-view .lk-case:hover{
  transform:translateY(-3px);border-color:#CFCDC2;box-shadow:0 14px 34px rgba(20,24,28,.08)}

/* icon badges — turn loose emojis into a designed icon system */
.feat-ic,.get-ic{display:inline-flex;align-items:center;justify-content:center;
  width:54px;height:54px;border-radius:15px;background:#eef7d6;border:1px solid #dcefb0;
  font-size:26px;line-height:1;margin-bottom:16px}

/* step number with a soft lime halo */
.step-ic{box-shadow:0 0 0 7px #eff7da}

/* "кого приводить" checks as lime circles */
.who-list li{padding:17px 18px 17px 58px}
.who-list li::before{content:"✓";left:18px;top:50%;transform:translateY(-50%);
  width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;
  background:var(--accent);color:#161a08;border-radius:50%;font-size:13px;font-weight:800}

/* buttons — subtle lift for perceived quality */
.btn{transition:transform .14s ease,background .15s ease,box-shadow .18s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(150,190,40,.4)}
#auth-view .btn-ghost{transition:transform .14s ease,border-color .15s ease}
#auth-view .btn-ghost:hover{transform:translateY(-2px)}

/* brand chips */
#auth-view .brand-chip{padding:12px 18px;border-radius:12px}

/* scroll target breathing room */
#reg{scroll-margin-top:20px}

/* visible keyboard focus (accessibility) */
#auth-view a:focus-visible,#auth-view button:focus-visible,#auth-view input:focus-visible{
  outline:2px solid #15181C;outline-offset:2px;border-radius:8px}

/* ============================================================
   ART-DIRECTION PASS — hero balance, vertical rhythm, card integrity
   (Rule: spacing inside a group < spacing between groups/sections)
   ============================================================ */

/* 1. HERO — compact, sits higher, textured anchor (subtle grid like main site) */
.lp-hero{padding:clamp(8px,1.6vw,18px) 0 clamp(30px,4.5vw,46px);position:relative;overflow:hidden}
.lp-badge{margin-bottom:14px}
.lp-hero h1{margin:0 0 16px}
.lp-sub{margin:0 auto 24px}
.lp-hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:linear-gradient(#E2E0D7 1px,transparent 1px),linear-gradient(90deg,#E2E0D7 1px,transparent 1px);
  background-size:46px 46px;opacity:.45;
  -webkit-mask-image:radial-gradient(115% 82% at 50% 0,#000,transparent 72%);
          mask-image:radial-gradient(115% 82% at 50% 0,#000,transparent 72%)}
.lp-hero>*{position:relative;z-index:1}

/* 2. VERTICAL RHYTHM — uniform section gaps, tighter intra-section grouping */
.lp-sec{padding:clamp(40px,5vw,60px) 0}
.lp-about-sec{padding-top:clamp(26px,3.4vw,38px);padding-bottom:clamp(26px,3.4vw,38px)}
.lp-sec h2{margin-bottom:10px}
.lp-lead{margin-bottom:clamp(18px,2.4vw,26px)}
/* earnings reads as ONE ribbon: title → receipt → amp → CTA, kept close */
.lp-amp{margin-top:18px}
.lp-cta-center{margin-top:18px}

/* 3. AGENCY CARD — solid single block, generous padding, never torn */
.about-card{padding:clamp(22px,3vw,28px);overflow:hidden}
.about-tx{overflow-wrap:break-word}

/* cabinet — referred lead identity (name + phone) */
.lead-name{font-weight:700;font-size:15px;line-height:1.3;color:var(--ink)}
.lead-phone{display:inline-block;color:var(--accent);font-size:13px;text-decoration:none;margin-top:3px}
.lead-phone:hover{text-decoration:underline}
.lead-l .lead-status{margin-top:4px}

/* /lk case cards: optional cover image */
#auth-view .lk-case.has-cover{padding:0;overflow:hidden}
#auth-view .lk-case-cover{aspect-ratio:16/9;background:#0E1116;overflow:hidden}
#auth-view .lk-case-cover img{width:100%;height:100%;object-fit:cover;display:block}
#auth-view .lk-case-body{display:flex;flex-direction:column;gap:10px}
#auth-view .lk-case.has-cover .lk-case-body{padding:20px 22px}

/* /lk case cards link to full case pages */
#auth-view a.lk-case{text-decoration:none;color:inherit;cursor:pointer}

/* ---------- PRODUCTS (per-product links + scripts) ---------- */
.panel-sub{color:var(--muted);font-size:13px;margin:-6px 0 14px;line-height:1.45}
.prod{background:var(--panel-2);border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:12px}
.prod.is-ext{border-style:dashed}
.prod-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px}
.prod-name{font-weight:700;font-size:15px}
.prod-pct{flex:none;font-size:12px;font-weight:700;color:var(--accent-ink);background:var(--accent);border-radius:999px;padding:3px 10px;white-space:nowrap}
.prod .link-fld{font-size:14px}
.prod-script{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}
.prod-script>summary{cursor:pointer;color:var(--muted);font-size:13px;font-weight:600;list-style:none}
.prod-script>summary::-webkit-details-marker{display:none}
.prod-script>summary::before{content:'▸ ';color:var(--accent)}
.prod-script[open]>summary::before{content:'▾ '}
.prod-script-tx{white-space:pre-wrap;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:12px;font-size:13.5px;line-height:1.55;color:var(--ink);margin:10px 0}
.copy-script{width:100%}

/* ---------- PAYOUT REQUISITES ---------- */
.pay-tabs{display:flex;background:var(--panel-2);border-radius:12px;padding:4px;gap:4px;margin-bottom:14px}
.pay-tab{flex:1;border:none;background:transparent;color:var(--muted);padding:11px;border-radius:9px;font-weight:600;font-size:14px;min-height:44px;cursor:pointer}
.pay-tab.is-active{background:var(--ink);color:var(--bg)}
.pay-fields{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
#payout-form{display:flex;flex-direction:column;gap:12px}

/* ---------- PWA INSTALL ---------- */
.pwa-os{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pwa-card{background:var(--panel-2);border:1px solid var(--line);border-radius:14px;padding:14px}
.pwa-os-name{font-weight:700;font-size:14px;margin-bottom:10px;color:var(--accent)}
.pwa-steps{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:8px}
.pwa-steps li{font-size:13.5px;line-height:1.45;color:var(--ink)}
.pwa-ic{display:inline-block;background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:0 6px;font-size:13px}
@media(max-width:560px){.pwa-os{grid-template-columns:1fr}}

/* ---------- PROFESSION LANDING extras (designers etc.) ---------- */
#auth-view .lp-pain{padding-top:40px;padding-bottom:8px}
#auth-view .lp-pain .lp-lead{max-width:680px;font-size:clamp(16px,2.4vw,19px);color:#3A4048;margin-bottom:0}
#auth-view .lp-second-note{max-width:640px;margin:18px auto 0;text-align:center;color:#6A7178;font-size:15px;
  background:#fff;border:1px dashed #CFCDC2;border-radius:13px;padding:14px 18px;line-height:1.5}

/* ---------- /lk/<profession>: clip-safe cashback sums + line-icons ---------- */
/* Guarantee the top of the cashback numbers is never clipped and the first row breathes. */
.receipt,.receipt-top,.earn-list,.earn-row,.earn-cash{overflow:visible}
.earn-list{padding-top:16px}
.earn-row{padding-top:16px}
.earn-cash{line-height:1.45;padding-top:1px}
/* digits sit fully inside the lime marker (not floating above it → no "cut top" look) */
#auth-view .earn-cash{background:linear-gradient(transparent 32%,var(--accent) 32%)}

/* emoji → unified thin line-icons in lime plaques (designer landing only) */
.lk-prof .feat-ic,.lk-prof .get-ic{display:inline-flex;align-items:center;justify-content:center;
  width:54px;height:54px;border-radius:15px;background:#eef7d6;border:1px solid #dcefb0;color:#3d5510;
  font-size:0;line-height:0;margin-bottom:16px}
.lk-prof .feat-ic svg,.lk-prof .get-ic svg{width:26px;height:26px;display:block}

/* ===== /lk/designers hero: audience trigger + «было→стало» scene + scannable pain ===== */
/* prominent audience label — the word ДИЗАЙНЕР hits first */
/* #auth-view.lk-prof needed to out-specify the base #auth-view .lp-badge (ID) rule */
#auth-view.lk-prof .lp-badge{background:var(--accent);border:none;color:#15181C;font-weight:800;
  font-size:13px;letter-spacing:.09em;text-transform:uppercase;padding:9px 18px;border-radius:999px;
  box-shadow:0 6px 18px rgba(170,210,40,.35)}

/* before → after scene (chat-style story) */
.lk-scene{display:flex;align-items:stretch;gap:14px;max-width:760px;margin:26px auto 0;text-align:left}
.lk-scene-card{flex:1;min-width:0;background:#fff;border:1px solid #E2E0D7;border-radius:18px;
  padding:16px 16px 14px;display:flex;flex-direction:column;gap:10px}
.lk-scene-card-now{border-color:#cfe89a;box-shadow:0 14px 34px rgba(120,170,20,.14)}
.lk-scene-tag{align-self:flex-start;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;
  color:#9aa0a8;background:#f1f0ea;border-radius:999px;padding:4px 11px}
.lk-scene-tag-now{color:#33480a;background:var(--accent)}
.lk-chat{display:flex;flex-direction:column;gap:8px}
.lk-bubble{font-size:13.5px;line-height:1.4;padding:9px 12px;border-radius:13px;max-width:90%}
.lk-bubble-in{align-self:flex-start;background:#f1f0ea;color:#15181C;border-bottom-left-radius:4px}
.lk-bubble-out{align-self:flex-end;background:#eaf6c8;color:#15181C;border-bottom-right-radius:4px}
.lk-scene-note{margin-top:auto;font-weight:700;font-size:14px;color:#6A7178}
.lk-scene-note-now{color:#15181C}
.lk-scene-note-now::before{content:"";display:inline-block;vertical-align:-2px;width:13px;height:13px;
  margin-right:7px;background:var(--accent);border-radius:50%}
.lk-scene-arrow{flex:none;align-self:center;display:flex;align-items:center;justify-content:center;color:#b7c98a}
.lk-scene-arrow svg{width:30px;height:30px;display:block}
@media(max-width:640px){
  .lk-scene{flex-direction:column;gap:10px;margin-top:20px}
  .lk-scene-arrow{transform:rotate(90deg)}
  .lk-scene-arrow svg{width:24px;height:24px}
}

/* scannable pain phrases */
.lk-prof .lp-pain .lk-pain-list{max-width:680px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.lk-pain-item{display:flex;align-items:flex-start;gap:14px;background:#fff;border:1px solid #E2E0D7;
  border-left:4px solid var(--accent);border-radius:14px;padding:15px 18px;text-align:left}
.lk-pain-n{flex:none;width:26px;height:26px;border-radius:50%;background:#eef7d6;color:#3d5510;
  font-weight:800;font-size:13px;display:inline-flex;align-items:center;justify-content:center}
.lk-pain-t{font-size:clamp(15px,2.4vw,18px);line-height:1.4;color:#15181C;font-weight:600;padding-top:2px}

/* breathing room between the «было→стало» scene and the hero CTA buttons (designer-scoped — .lk-scene exists only there) */
.lk-scene{margin-bottom:clamp(32px,4.5vw,46px)}
@media(max-width:640px){.lk-scene{margin-bottom:clamp(26px,6vw,34px)}}

/* ===== Content widths for BOTH logout landings (/lk и /lk/designers) =====
   Aligning edges ≠ stretching everything to 1180. Content-heavy blocks (grids, the
   hero scene) span the full container; text & light cards keep a compact, consistent
   width and are centered, so nothing floats in empty space. */
#auth-view{--lk-wide:1180px;--lk-text:660px}

/* full-width: grids + the hero before→after scene (lots of content) */
#auth-view .feat-grid,
#auth-view .get-grid,
#auth-view .steps,
#auth-view .lk-scene{max-width:var(--lk-wide);width:100%;margin-inline:auto;box-sizing:border-box}

/* compact cards — plump, no empty middle between label and value */
#auth-view .receipt{max-width:480px;margin-inline:auto}
#auth-view .about-card{max-width:680px;margin-inline:auto}

/* readable text / notes / lists */
#auth-view .lp-sub,
#auth-view .lp-lead,
#auth-view .lp-amp,
#auth-view .lp-second-note,
#auth-view .who-list{max-width:var(--lk-text);margin-inline:auto;width:100%;box-sizing:border-box}

/* signup form — narrow column, inputs fill the form */
#auth-view .lp-form{max-width:440px;margin-inline:auto;display:flex;flex-direction:column}
#auth-view .lp-form .fld,#auth-view .lp-form .btn{max-width:none;margin-inline:0}

/* pain — 2-column grid so short phrases fill compact cards instead of bare wide plaques */
#auth-view .lk-pain-list{max-width:820px;margin-inline:auto;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}
@media(max-width:640px){#auth-view .lk-pain-list{grid-template-columns:1fr}}
