/* =========================================================================
   INLINE LEAD FORM  —  .axlf
   Deployed on the site's commercial pages. Until this shipped, the only way
   to raise your hand anywhere on the site was to book a call on /schedule/.

   Cascade rules, because four independent design systems are live
   (style.css, niches/funnel.css, for-agencies/partner.css, per-page inline):
     1. every custom property is --axlf-* — never --bg/--text/--red/--radius,
        which genuinely differ between style.css and partner.css
     2. every selector is :root or .axlf-prefixed; no element selectors, no *
     3. the reset is scoped to .axlf and self-sufficient, so the section also
        renders correctly on the 21 pages that link no stylesheet at all
     4. single-class specificity, zero !important — no page body uses .axlf,
        so load order is provably irrelevant
   ========================================================================= */

:root {
  --axlf-ink: #0A0A0A;
  --axlf-body: #6B6869;
  --axlf-red: #E51D2A;
  --axlf-cream: #F4F0E8;
  --axlf-surface: #FFFFFF;
  --axlf-line: rgba(10, 10, 10, .12);
  --axlf-radius: 14px;
  --axlf-container: 1140px;
  --axlf-font: "Plus Jakarta Sans", "DM Sans", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.axlf {
  box-sizing: border-box;
  display: block;
  padding: 4.5rem 1.25rem;
  background: var(--axlf-cream);
  color: var(--axlf-ink);
  font-family: var(--axlf-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.axlf *, .axlf *::before, .axlf *::after { box-sizing: border-box; }

.axlf__inner {
  max-width: var(--axlf-container);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .axlf__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; }
}

/* ----- left column: the copy ------------------------------------------ */
.axlf__eyebrow {
  margin: 0 0 .75rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--axlf-red);
}
.axlf__title {
  margin: 0 0 .9rem;
  font-family: var(--axlf-font);
  font-size: clamp(1.65rem, 1.1rem + 1.9vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--axlf-ink);
  text-wrap: balance;
}
.axlf__lede {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--axlf-body);
  max-width: 46ch;
}
.axlf__points { margin: 0 0 1.5rem; padding: 0; list-style: none; display: grid; gap: .7rem; }
.axlf__points li {
  position: relative;
  padding-left: 1.85rem;
  font-size: .97rem;
  color: var(--axlf-ink);
}
.axlf__points li::before {
  content: "";
  position: absolute;
  left: 0; top: .34em;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: var(--axlf-red);
  /* inline SVG tick — no Font Awesome dependency, which is print-deferred
     on most pages and would otherwise flash an empty box */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/72% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/72% no-repeat;
}
.axlf__alt { margin: 0; font-size: .93rem; color: var(--axlf-body); }
.axlf__alt a { color: var(--axlf-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.axlf__alt a:hover { color: var(--axlf-red); }
.axlf__alt a:focus-visible { outline: 2px solid var(--axlf-red); outline-offset: 3px; border-radius: 3px; }

/* ----- right column: the form ----------------------------------------- */
.axlf__form {
  background: var(--axlf-surface);
  border: 1px solid var(--axlf-line);
  border-radius: var(--axlf-radius);
  padding: .5rem;
  box-shadow: 0 18px 40px -24px rgba(10, 10, 10, .35);
}
.axlf__frame { position: relative; min-height: 560px; }
.axlf__frame iframe {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
  border-radius: calc(var(--axlf-radius) - 4px);
  background: transparent;
}

/* Skeleton, shown until the embed reports back. Removing it on load rather
   than on a timer means a slow form never leaves a blank white card. */
.axlf__skel {
  position: absolute; inset: 0;
  padding: 1.5rem 1.25rem;
  display: grid; gap: 1.1rem; align-content: start;
}
.axlf__skel i {
  display: block; height: 2.9rem; border-radius: 8px;
  background: linear-gradient(90deg, rgba(10,10,10,.05) 25%, rgba(10,10,10,.09) 37%, rgba(10,10,10,.05) 63%);
  background-size: 400% 100%;
  animation: axlf-shimmer 1.4s ease-in-out infinite;
}
.axlf__skel i:last-child { height: 3.2rem; background-color: rgba(229, 29, 42, .1); }
@keyframes axlf-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .axlf__skel i { animation: none; } }
.axlf__frame--ready .axlf__skel { display: none; }

.axlf__note { margin: .9rem .25rem 0; font-size: .82rem; color: var(--axlf-body); }
.axlf__note a { color: inherit; }

/* On a dark-sectioned page the cream ground would collide, so allow an
   opt-in dark variant driven by a class the page author sets. */
.axlf--dark { background: var(--axlf-ink); color: #fff; }
.axlf--dark .axlf__title { color: #fff; }
.axlf--dark .axlf__lede,
.axlf--dark .axlf__alt,
.axlf--dark .axlf__points li { color: rgba(255, 255, 255, .78); }
.axlf--dark .axlf__alt a { color: #fff; }
