/* =========================================================
   Lead Gain — Public site (editorial / Home-2 inspired)
   ========================================================= */

.site-body{
  margin:0;
  font-family:var(--site-font-b);
  background:var(--site-bg,#F7F9FC);
  color:var(--site-heading,#0B1220);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  position:relative;
}
.site-body::before{
  content:"";
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:
    linear-gradient(to right,
      transparent calc(20% - .5px), rgba(15,23,42,.045) calc(20% - .5px), rgba(15,23,42,.045) calc(20% + .5px), transparent calc(20% + .5px),
      transparent calc(40% - .5px), rgba(15,23,42,.045) calc(40% - .5px), rgba(15,23,42,.045) calc(40% + .5px), transparent calc(40% + .5px),
      transparent calc(60% - .5px), rgba(15,23,42,.045) calc(60% - .5px), rgba(15,23,42,.045) calc(60% + .5px), transparent calc(60% + .5px),
      transparent calc(80% - .5px), rgba(15,23,42,.045) calc(80% - .5px), rgba(15,23,42,.045) calc(80% + .5px), transparent calc(80% + .5px)
    );
}
.site-shell,.site-header,.site-footer,main{position:relative;z-index:1}
.site-wrap{width:min(100% - 2.5rem, var(--site-max, 1240px));margin-inline:auto}
img{max-width:100%;display:block}

/* Buttons — public only (pill) */
.site-body .btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.35rem;
  min-height:30px;padding:.35rem .65rem;font-size:.76rem;line-height:1.15;
  font-weight:600;border-radius:999px;border:1px solid transparent;
  text-decoration:none;cursor:pointer;
  transition:transform .15s, filter .15s, background .15s, color .15s, border-color .15s;
}
.site-body .btn:hover{transform:translateY(-1px)}
.site-body .btn-primary{background:var(--site-blue,#2563EB);color:#fff}
.site-body .btn-primary:hover{filter:brightness(.96);color:#fff}
.site-body .btn-secondary{background:#fff;border-color:rgba(15,23,42,.12);color:var(--site-heading)}
.site-body .btn-ghost{background:transparent;color:var(--site-body)}
.site-body .btn-outline{background:transparent;border-color:rgba(255,255,255,.55);color:#fff}
.site-body .btn-outline:hover{background:rgba(255,255,255,.1);color:#fff}
.site-body .btn-outline-dark{background:transparent;border-color:rgba(15,23,42,.18);color:var(--site-heading)}
.site-body .btn-lg{min-height:34px;padding:.42rem .76rem;font-size:.8rem}
.site-body .btn-sm{min-height:26px;padding:.25rem .5rem;font-size:.7rem}

/* Floating header */
.site-header-outer{padding:1rem 0 .25rem;position:sticky;top:0;z-index:70}
.site-header{
  width:min(100% - 2rem, var(--site-max, 1240px));
  margin:0 auto;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  border:1px solid rgba(15,23,42,.06);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(15,23,42,.04);
  transition:box-shadow .2s, background .2s;
}
.site-header.is-scrolled{
  background:rgba(255,255,255,.96);
  box-shadow:0 14px 40px rgba(15,23,42,.08);
}
.site-header-inner{
  display:flex;align-items:center;gap:1rem;
  height:58px;padding:0 1rem 0 1.15rem;
}
.site-logo{text-decoration:none;flex-shrink:0;display:inline-flex;align-items:center}
.site-logo-img,.site-footer-logo{height:32px;width:auto;max-width:180px;object-fit:contain}
.lg-wordmark{
  font-family:var(--site-font-h);font-weight:700;letter-spacing:-.03em;
  color:var(--site-navy,#07111F);font-size:1.15rem;
}
.lg-wordmark span{color:var(--site-blue)}
.lg-wordmark--light{color:#fff}.lg-wordmark--light span{color:#93C5FD}
.site-nav{display:flex;gap:1.2rem;flex:1;justify-content:center}
.site-nav a{color:var(--site-body);text-decoration:none;font-size:.84rem;font-weight:500}
.site-nav a:hover{color:var(--site-heading)}
.site-header-actions{display:flex;align-items:center;gap:.4rem}
.site-menu-toggle{display:none;border:0;background:transparent;font-size:1.2rem;cursor:pointer}

/* Typography */
.site-section{padding:100px 0;position:relative}
.site-kicker{
  display:inline-block;font-size:.78rem;font-weight:500;letter-spacing:.04em;
  color:var(--site-body);margin-bottom:.85rem;
}
.site-section h2,.section-title{
  font-family:var(--site-font-h);
  font-size:clamp(2rem, 4vw, 3.2rem);
  font-weight:500;letter-spacing:-.04em;line-height:1.08;
  margin:0 0 1rem;color:var(--site-heading);max-width:14ch;
}
.site-lead{color:var(--site-body);font-size:1.05rem;max-width:46ch;margin:0;font-weight:400}
.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}
.text-sm{font-size:.85rem}.muted{color:var(--site-body)}

/* Hero — full bleed image */
.hero-editorial{padding:1.25rem 0 2rem}
.hero-frame{
  position:relative;border-radius:24px;overflow:hidden;
  min-height:640px;isolation:isolate;
  box-shadow:0 30px 80px rgba(7,17,31,.18);
}
.hero-frame img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.hero-frame::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(7,17,31,.25) 0%, rgba(7,17,31,.55) 45%, rgba(7,17,31,.72) 100%);
}
.hero-content{
  position:relative;z-index:1;color:#fff;
  padding:clamp(2.5rem,6vw,5rem);
  max-width:920px;display:flex;flex-direction:column;justify-content:flex-end;
  min-height:640px;
}
.hero-content h1{
  font-family:var(--site-font-h);
  font-size:clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight:500;letter-spacing:-.045em;line-height:1.02;
  margin:0 0 .85rem;max-width:16ch;
}
.hero-content .hero-sub{
  font-size:clamp(1.2rem,2vw,1.65rem);font-weight:500;opacity:.95;margin:0 0 1rem;
}
.hero-content .hero-copy{font-size:1.02rem;line-height:1.6;opacity:.88;max-width:48ch;margin:0}
.hero-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.75rem}

/* Bento mosaic */
.bento{
  display:grid;grid-template-columns:1.2fr 1fr 1fr;grid-template-rows:auto;
  gap:1rem;margin-top:.5rem;
}
.bento-card{
  border-radius:22px;overflow:hidden;position:relative;min-height:280px;
  border:1px solid rgba(15,23,42,.06);background:#fff;
  box-shadow:0 12px 36px rgba(15,23,42,.05);
}
.bento-card.tall{grid-row:span 1;min-height:360px}
.bento-card img{width:100%;height:100%;object-fit:cover;min-height:280px}
.bento-card .overlay-copy{
  position:absolute;left:0;right:0;bottom:0;padding:1.35rem;
  background:linear-gradient(180deg,transparent,rgba(7,17,31,.72));color:#fff;
}
.bento-card .overlay-copy h3{margin:0 0 .35rem;font-family:var(--site-font-h);font-weight:600;font-size:1.25rem;letter-spacing:-.02em}
.bento-card .overlay-copy p{margin:0;font-size:.88rem;opacity:.9}
.bento-dark{
  background:linear-gradient(160deg,#07111F,#122033);color:#E8EEF7;padding:1.5rem;
  display:flex;flex-direction:column;justify-content:space-between;
}
.bento-dark h3{font-family:var(--site-font-h);font-weight:500;font-size:1.55rem;letter-spacing:-.03em;margin:0 0 1rem;line-height:1.15}
.bento-dark .meta{font-size:.9rem;color:#94A3B8;margin:.35rem 0}
.bento-dark strong{color:#fff}
.bento-light{padding:1.5rem;display:flex;flex-direction:column;justify-content:center;background:#fff}
.bento-light .big{
  font-family:var(--site-font-h);font-size:4.5rem;font-weight:500;letter-spacing:-.05em;line-height:1;color:var(--site-blue);
}
.bento-light .label{margin-top:.5rem;color:var(--site-body);font-size:.9rem}
.bento-light .mini{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--site-border)}
.bento-light .mini strong{font-size:1.5rem;font-family:var(--site-font-h);font-weight:600}
.demo-tag{display:inline-block;font-size:.68rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--site-body);margin-bottom:.75rem}

/* Resources list */
.resources-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:3rem;align-items:start}
.resource-list{border-top:1px solid rgba(15,23,42,.1)}
.resource-item{
  display:grid;grid-template-columns:48px 1fr;gap:1rem;align-items:start;
  padding:1.25rem 0;border-bottom:1px solid rgba(15,23,42,.1);
}
.resource-ico{
  width:40px;height:40px;border-radius:12px;border:1px solid rgba(15,23,42,.1);
  display:grid;place-items:center;color:var(--site-blue);font-weight:600;
}
.resource-item h3{margin:0 0 .3rem;font-family:var(--site-font-h);font-weight:600;font-size:1.1rem;letter-spacing:-.02em}
.resource-item p{margin:0;color:var(--site-body);font-size:.92rem}

/* Editorial phrase */
.phrase-band{padding:90px 0;overflow:hidden}
.phrase-band p{
  font-family:var(--site-font-h);font-weight:500;
  font-size:clamp(2rem,5vw,4rem);letter-spacing:-.045em;line-height:1.05;
  margin:0;color:var(--site-heading);max-width:18ch;
}
.phrase-band .slash{color:var(--site-blue)}

/* About / WhatsApp split */
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(1.5rem,3vw,2.75rem);align-items:center}
.media-cut{border-radius:24px;overflow:hidden;position:relative;min-height:460px}
.media-cut img{width:100%;height:100%;min-height:460px;object-fit:cover}
.about-card{
  background:#fff;border:1px solid rgba(15,23,42,.06);border-radius:22px;
  padding:clamp(1.5rem,3vw,2.25rem);box-shadow:0 16px 40px rgba(15,23,42,.05);
}
.about-card .path{font-size:.85rem;color:var(--site-body);margin-bottom:.75rem}
.about-card h2{max-width:12ch}
.about-points{margin:1.25rem 0 0;padding:0;list-style:none}
.about-points li{
  padding:.55rem 0;border-bottom:1px solid rgba(15,23,42,.08);
  font-size:.92rem;color:var(--site-body);
}
.about-points strong{color:var(--site-heading);font-weight:600}
.mock-pills{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.mock-pill{
  background:#F7F9FC;border:1px solid rgba(15,23,42,.08);border-radius:14px;
  padding:.65rem .85rem;min-width:110px;
}
.mock-pill strong{display:block;font-family:var(--site-font-h);font-size:1.25rem;font-weight:600}
.mock-pill span{font-size:.72rem;color:var(--site-body)}

/* How it works — big numbers */
.steps-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:2.5rem}
.step-big{padding:1.25rem 0}
.step-big .n{
  font-family:var(--site-font-h);font-size:4rem;font-weight:500;letter-spacing:-.05em;line-height:1;
  color:transparent;-webkit-text-stroke:1.5px var(--site-blue);margin-bottom:.85rem;
}
.step-big h3{margin:0 0 .4rem;font-family:var(--site-font-h);font-weight:600;font-size:1.2rem}
.step-big p{margin:0;color:var(--site-body);font-size:.9rem}

/* Proposal editorial */
.proposal-shell{
  display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center;
}
.proposal-visual{
  background:linear-gradient(155deg,#171717,#242424);color:#F5F5F5;
  border-radius:24px;padding:1.75rem;min-height:360px;
}
.proposal-visual .label{font-size:.8rem;opacity:.7}
.proposal-visual .amount{font-family:var(--site-font-h);font-size:2.4rem;font-weight:500;letter-spacing:-.04em;margin:.4rem 0 1rem}
.proposal-rows{display:grid;gap:.65rem}
.proposal-rows div{
  display:flex;justify-content:space-between;gap:1rem;
  padding:.7rem 0;border-top:1px solid rgba(255,255,255,.1);font-size:.9rem;
}
.proposal-badge{
  margin-top:1.15rem;display:inline-flex;padding:.4rem .75rem;border-radius:999px;
  background:rgba(19,195,139,.15);color:#6EE7B7;font-size:.78rem;font-weight:600;
}

/* Recovery overlay card */
.recovery-stage{position:relative;border-radius:24px;overflow:hidden;min-height:520px}
.recovery-stage > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.recovery-stage::after{content:"";position:absolute;inset:0;background:rgba(7,17,31,.35)}
.recovery-panel{
  position:relative;z-index:1;margin:clamp(1.5rem,4vw,3rem);
  max-width:480px;background:rgba(23,23,23,.88);color:#F5F5F5;
  border-radius:20px;padding:1.75rem;backdrop-filter:blur(10px);
}
.recovery-panel h2{color:#fff;max-width:12ch;font-size:clamp(1.8rem,3vw,2.4rem)}
.recovery-stats{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-top:1.25rem}
.recovery-stats div{background:rgba(255,255,255,.06);border-radius:14px;padding:.85rem}
.recovery-stats span{display:block;font-size:.75rem;opacity:.7;margin-bottom:.25rem}
.recovery-stats strong{font-family:var(--site-font-h);font-size:1.35rem;font-weight:500}

/* Roles */
.roles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2rem}
.role-card{border-radius:22px;overflow:hidden;background:#fff;border:1px solid rgba(15,23,42,.06)}
.role-card img{width:100%;height:220px;object-fit:cover}
.role-card .body{padding:1.15rem}
.role-card h3{margin:0 0 .35rem;font-family:var(--site-font-h);font-weight:600;font-size:1.15rem}
.role-card p{margin:0;color:var(--site-body);font-size:.9rem}

/* Plans */
.trial-line{text-align:center;margin:0 0 2rem;color:var(--site-body);font-weight:500}
.plan-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.plan-card{
  background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:20px;padding:1.35rem;
  transition:transform .2s, box-shadow .2s;
}
.plan-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(15,23,42,.06)}
.plan-card.featured{border-color:rgba(37,99,235,.45);box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.plan-card h3{margin:0;font-family:var(--site-font-h);font-weight:600;font-size:1.15rem}
.plan-price{font-family:var(--site-font-h);font-size:1.8rem;font-weight:500;letter-spacing:-.03em;margin:.55rem 0}
.plan-price small{font-size:.8rem;color:var(--site-body);font-weight:500}
.plan-card ul{margin:.75rem 0 0;padding-left:1.05rem;color:var(--site-body);font-size:.85rem}
.plan-badge{display:inline-block;font-size:.68rem;font-weight:700;color:var(--site-blue);margin-bottom:.5rem}

/* FAQ */
.faq-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:2.5rem}
.faq-item{border-bottom:1px solid rgba(15,23,42,.1)}
.faq-item summary{
  cursor:pointer;padding:1.15rem 0;font-family:var(--site-font-h);font-weight:600;
  font-size:1.05rem;list-style:none;letter-spacing:-.01em;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-a{padding:0 0 1.15rem;color:var(--site-body);font-size:.95rem}

/* CTA */
.cta-stage{position:relative;border-radius:24px;overflow:hidden;min-height:420px}
.cta-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cta-stage::after{content:"";position:absolute;inset:0;background:rgba(7,17,31,.62)}
.cta-inner{position:relative;z-index:1;padding:clamp(2rem,5vw,4rem);color:#fff;max-width:720px}
.cta-inner h2{color:#fff;font-size:clamp(2rem,4vw,3rem);max-width:16ch;font-weight:500}

/* Footer */
.site-footer-outer{padding:2rem 0 1.5rem}
.site-footer{
  width:min(100% - 2rem, var(--site-max, 1240px));
  margin:0 auto;background:#171717;color:#A3A3A3;
  border-radius:24px 24px 0 0;padding:3rem 1.75rem 1.5rem;
}
.site-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2rem}
.site-footer h4{color:#F5F5F5;margin:0 0 .9rem;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;font-weight:600}
.site-footer a{display:block;color:#A3A3A3;text-decoration:none;margin:.4rem 0;font-size:.88rem}
.site-footer a:hover{color:#fff}
.site-footer p{margin:0 0 .65rem;font-size:.9rem;max-width:34ch}
.site-copy{margin-top:2rem;padding-top:1.15rem;border-top:1px solid rgba(255,255,255,.08);font-size:.8rem}

/* Cookies */
.cookie-banner{
  position:fixed;left:50%;bottom:1.15rem;transform:translateX(-50%);z-index:90;
  display:flex;gap:.85rem;align-items:center;width:min(92vw,480px);
  background:#171717;color:#F5F5F5;border-radius:16px;padding:.85rem 1rem;
  box-shadow:0 18px 44px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.08);
}
.cookie-banner[hidden],.cookie-banner.is-hidden{display:none !important}
.cookie-banner p{margin:0;font-size:.8rem;line-height:1.4;flex:1}
.cookie-banner a{color:#93C5FD}
.cookie-actions{display:flex;gap:.4rem;flex-shrink:0}

.reveal{opacity:0;transform:translateY(18px);transition:opacity .65s ease,transform .65s ease}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

@media (max-width:1100px){
  .bento,.resources-grid,.split,.proposal-shell,.faq-layout,.plan-grid,.steps-4,.roles-grid,.site-footer-grid{grid-template-columns:1fr 1fr}
  .bento{grid-template-columns:1fr}
  .hero-frame,.hero-content{min-height:520px}
}
@media (max-width:820px){
  .site-section{padding:72px 0}
  .site-nav{display:none;position:absolute;top:64px;left:0;right:0;background:#fff;flex-direction:column;padding:1rem;border-radius:0 0 16px 16px;border:1px solid rgba(15,23,42,.06);gap:.75rem}
  .site-nav.open{display:flex}
  .site-menu-toggle{display:inline-flex}
  .site-header-inner{position:relative}
  .resources-grid,.split,.proposal-shell,.faq-layout,.plan-grid,.steps-4,.roles-grid,.site-footer-grid,.recovery-stats{grid-template-columns:1fr}
  .hero-frame,.hero-content{min-height:460px}
  .hero-content h1{max-width:none}
  .section-title,.site-section h2{max-width:none}
  .cookie-banner{flex-direction:column;align-items:stretch}
}
@media (max-width:430px){
  .site-wrap{width:min(100% - 1.25rem, var(--site-max))}
  .hero-content{padding:1.5rem}
  .hero-actions .btn{width:100%}
}

/* Legal / institutional pages */
.legal-page{padding:72px 0 96px}
.legal-wrap{max-width:760px}
.legal-header{margin-bottom:2rem}
.legal-header h1{
  font-family:var(--site-font-h);font-weight:500;letter-spacing:-.04em;
  font-size:clamp(1.9rem,4vw,2.8rem);line-height:1.1;margin:0 0 .75rem;max-width:18ch;
}
.legal-deck{color:var(--site-body);font-size:1.05rem;margin:0;max-width:46ch}
.legal-content{
  color:var(--site-heading);font-size:1rem;line-height:1.7;
}
.legal-content h2{
  font-family:var(--site-font-h);font-weight:600;letter-spacing:-.02em;
  font-size:1.25rem;margin:2.25rem 0 .75rem;line-height:1.25;
}
.legal-content p{margin:0 0 1rem;color:#334155}
.legal-content ul,.legal-content ol{margin:0 0 1.15rem;padding-left:1.25rem;color:#334155}
.legal-content li{margin:.35rem 0}
.legal-content a{color:var(--site-blue);text-decoration:underline;text-underline-offset:2px}
.legal-nav{
  display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;margin-top:3rem;padding-top:1.5rem;
  border-top:1px solid rgba(15,23,42,.08);
}
.legal-nav a{color:var(--site-body);text-decoration:none;font-size:.9rem;font-weight:500}
.legal-nav a:hover{color:var(--site-heading)}
