/* =====================================================================
   Tool pages inside the mFunnel website: the tool's hero restyled like the website's dark hero.
   Loaded after the tools' own styles (tools/_core/lib/Page.php, siteStyles()). The chat, cards and
   lead form keep the tools' design; their colours already come from the same brand palette.
   ===================================================================== */
body{--header-h:64px}

.hero{isolation:isolate;background:var(--mf-ink);color:var(--mf-white);padding:clamp(48px,7vw,96px) 0 clamp(56px,8vw,104px)}
.hero::before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;
  background:
    radial-gradient(60% 55% at 78% 108%,rgba(0,128,85,.75),transparent 70%),
    radial-gradient(38% 30% at 82% 104%,rgba(176,202,32,.28),transparent 70%),
    radial-gradient(50% 40% at 8% 112%,rgba(0,128,85,.35),transparent 70%)}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:repeating-linear-gradient(121deg,transparent 0 46px,rgba(255,255,255,.045) 46px 47px);
  -webkit-mask-image:linear-gradient(100deg,transparent 35%,#000 95%);mask-image:linear-gradient(100deg,transparent 35%,#000 95%)}
.hero-shape{display:none}
.hero .hero-inner{max-width:1240px;padding-inline:clamp(20px,4vw,40px);text-align:left}
.hero .eyebrow{display:block;margin:0 0 22px;padding:0;background:none;border-radius:0;color:var(--mf-lime);
  font-family:"Arial Narrow","Archivo Narrow",Arial,sans-serif;font-size:.8rem;font-weight:600;letter-spacing:.16em}
.hero h1{max-width:18ch;margin:0 0 22px;color:var(--mf-white);font-size:clamp(2.2rem,5.6vw,4.25rem);line-height:1.02;letter-spacing:-.025em;text-wrap:balance}
.hero .hero-sub{max-width:62ch;margin:0 0 32px;color:#A8B7B2;font-size:clamp(1.05rem,1.5vw,1.25rem);line-height:1.5}
.hero .url-form{max-width:720px;margin:0}
.hero .url-field{padding:8px 8px 8px 18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.22);border-radius:10px;box-shadow:none;
  transition:border-color .25s,box-shadow .35s,background-color .25s}
.hero .url-field:focus-within{border-color:var(--mf-lime);background:rgba(255,255,255,.09);box-shadow:0 0 0 4px rgba(176,202,32,.16),0 18px 60px -18px rgba(176,202,32,.55)}
.hero .url-icon{fill:#A8B7B2}
.hero .url-field input{color:var(--mf-white);font-size:1.1rem;height:52px;padding:0 4px}
.hero .url-field input::placeholder{color:#7E8E89}
.hero .url-field .btn{min-height:52px;padding:0 1.5em;border-radius:6px}
.hero .form-error{color:var(--mf-yellow)}
.hero .hero-points{justify-content:flex-start;margin-top:26px;color:var(--mf-white);font-size:.98rem}
@media (max-width:560px){
  .hero .url-field{padding:8px}
  .hero .url-field input{height:48px}
  .hero .hero-points{align-items:flex-start}
}

/* The sections under the hero and the tools list line up with the navigation and hero */
.info-sec.wrap,.tool-grid,.tools-about{max-width:1240px;padding-inline:clamp(20px,4vw,40px)}
.tools-page .tool-grid{margin-top:clamp(40px,5vw,64px)}

/* "Start over" is not shown on tool pages (core.js still needs the element) */
#mfStartOver.mf-startover-off{display:none !important}

/* While a chat is open the page is the chat: the footer steps aside */
body.is-chat .end{display:none}
