/* ALFARI 6.38.35 – homepage visitor journey and acceptance contract; presentation only. */
.alfari-home-visitor-journey{overflow-x:clip}
.alfari-home-visitor-journey .wrap{width:min(100% - 2rem,72rem);margin-inline:auto}
.alfari-home-visitor-journey .alfari-ux-hero-final{max-width:72rem}
.alfari-home-visitor-journey .alfari-ux-hero-final h1{max-width:15ch;margin:.35rem 0 .9rem;font-size:clamp(2.25rem,10vw,4.8rem);line-height:1.02;letter-spacing:-.045em}
.alfari-home-visitor-journey .alfari-ux-hero-lead{max-width:46rem;font-size:clamp(1.05rem,2.4vw,1.25rem);line-height:1.55}
.alfari-home-hero-actions{display:flex;flex-direction:column;gap:.75rem;align-items:stretch;margin-top:1.2rem}
.alfari-home-hero-actions .alfari-product-cta{margin-top:0}
.alfari-home-visitor-journey .alfari-product-cta--secondary{border:2px solid #d8f247;background:transparent;color:#fff!important;box-shadow:none}
.alfari-home-login-note{margin:.7rem 0 0;color:#eef2ef!important;font-size:.95rem;font-weight:700;line-height:1.45}
.alfari-home-login-note a{display:inline-flex;min-height:48px;align-items:center;color:#d8f247!important;font-weight:900;text-underline-offset:.2em}

.alfari-home-goal-grid,.alfari-home-problem-grid,.alfari-home-question-grid{display:grid;gap:.8rem}
.alfari-home-goal-grid a,.alfari-home-question-grid a{display:flex;min-width:0;min-height:3.75rem;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border-radius:.9rem;color:#20252a!important;font-weight:850;line-height:1.3;text-decoration:none}
.alfari-home-entry-choice{border:2px solid #82b72b;background:#fff;box-shadow:0 7px 18px rgba(37,52,28,.08)}
.alfari-home-info-link{border:1px solid #d7ddd0;background:#f7f8f5;box-shadow:none}
.alfari-home-goal-grid a span:first-child,.alfari-home-question-grid a{overflow-wrap:anywhere}
.alfari-home-goal-grid a span:last-child,.alfari-home-question-grid a span{flex:0 0 auto;color:#568016}
.alfari-home-visitor-journey .alfari-home-product-demo__why summary{cursor:pointer;color:#d8f247!important;-webkit-text-fill-color:#d8f247!important;font-size:.86rem;font-weight:900;line-height:1.4}
.alfari-home-visitor-journey .alfari-home-product-demo__why summary:focus-visible{outline:3px solid #82b72b;outline-offset:3px}
.alfari-home-product-demo__source{margin:.55rem 0 0!important;padding-top:.55rem;border-top:1px solid #465056;color:#cfd6d2!important;-webkit-text-fill-color:#cfd6d2!important;font-size:.76rem!important;line-height:1.4!important}
.alfari-home-product-demo__source strong{color:#d8f247!important;-webkit-text-fill-color:#d8f247!important}

.alfari-home-problem-grid article{padding:1rem;border:1px solid #d7ddd0;border-radius:1rem;background:#fff}
.alfari-home-problem-grid h3{margin:0 0 .5rem;color:#20252a;font-size:1.08rem;line-height:1.35}
.alfari-home-problem-grid p{margin:0;color:#596169;line-height:1.55}
.alfari-home-info-card{cursor:default;box-shadow:none}
.alfari-home-authority-note{max-width:44rem;margin:.8rem 0!important;padding:.7rem .8rem;border-left:3px solid #82b72b;background:#f1f5eb;color:#475148!important;font-size:.84rem!important;line-height:1.45!important}
.alfari-home-authority-note--dark{border-left-color:#d8f247;background:#2b3337;color:#e4e9e5!important;-webkit-text-fill-color:#e4e9e5!important}
.alfari-home-authority-note--dark strong{color:#d8f247!important;-webkit-text-fill-color:#d8f247!important}
.alfari-home-trainer-lead{font-size:1.15rem;font-weight:750;line-height:1.5}
.alfari-home-trainer-steps{display:grid;gap:.65rem;margin:1.1rem 0;padding:0;list-style:none;counter-reset:trainer-step}
.alfari-home-trainer-steps li{position:relative;padding:.8rem .85rem .8rem 3rem;border:1px solid #d7ddd0;border-radius:.8rem;background:#f7f9f4;line-height:1.4;counter-increment:trainer-step}
.alfari-home-trainer-steps li::before{position:absolute;top:.67rem;left:.75rem;display:grid;width:1.7rem;height:1.7rem;place-items:center;border-radius:999px;background:#d8f247;color:#182014;font-weight:900;content:counter(trainer-step)}

.alfari-home-how-grid{display:grid;gap:.85rem;margin:1.4rem 0;padding:0;list-style:none}
.alfari-home-how-grid li{display:grid;grid-template-columns:2.25rem 1fr;gap:.75rem;align-items:center;padding:1rem;border:1px solid #4b555a;border-radius:1rem;background:#293035;line-height:1.4}
.alfari-home-how-grid li>span{display:grid;width:2.25rem;height:2.25rem;place-items:center;border-radius:999px;background:#d8f247;color:#182014!important;-webkit-text-fill-color:#182014!important;font-weight:900}
.alfari-home-link-light{display:inline-flex;min-height:2.75rem;align-items:center;color:#d8f247!important;font-weight:850}

.alfari-home-question-grid{margin-bottom:1.25rem}
.alfari-home-question-grid a{align-items:flex-start;font-size:1rem}
.alfari-home-trust-list{display:grid;gap:.7rem;margin:0;padding:0;list-style:none}
.alfari-home-trust-list li{position:relative;padding:.85rem .9rem .85rem 2.75rem;border:1px solid #d3d9cb;border-radius:.85rem;background:#fff;color:#283027;font-weight:800;line-height:1.4}
.alfari-home-trust-list li::before{position:absolute;left:.9rem;color:#568016;font-weight:950;content:'✓'}
.alfari-home-final-cta{text-align:center}
.alfari-home-final-cta .wrap{max-width:48rem}
.alfari-home-final-cta h2{margin:.25rem auto .75rem;max-width:19ch;font-size:clamp(2rem,7vw,3.5rem);line-height:1.08}
.alfari-home-final-cta p:not(.alfari-product-kicker){max-width:38rem;margin-inline:auto}
.alfari-home-final-cta .alfari-product-cta{justify-content:center}
.alfari-home-visitor-journey [id]{scroll-margin-top:7rem}

@media (hover:hover){
  .alfari-home-goal-grid a:hover,.alfari-home-question-grid a:hover{border-color:#82b72b;background:#f0f5e7;transform:translateY(-2px)}
  .alfari-home-goal-grid a,.alfari-home-question-grid a{transition:transform .18s ease,background-color .18s ease,border-color .18s ease}
}
@media (min-width:760px){
  .alfari-home-hero-actions{flex-direction:row;align-items:center}
  .alfari-home-goal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .alfari-home-problem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .alfari-home-how-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .alfari-home-how-grid li{grid-template-columns:1fr;align-content:start;min-height:8.5rem}
  .alfari-home-question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .alfari-home-trust-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:759px){
  .alfari-home-visitor-journey .wrap{width:min(100% - 1.5rem,72rem)}
  .alfari-home-visitor-journey .alfari-product-section{padding-block:2.5rem}
  .alfari-home-visitor-journey .alfari-product-hero{padding-block:2rem 2.4rem}
  .alfari-home-visitor-journey .alfari-ux-hero-final h1{font-size:clamp(2.25rem,10.5vw,3.25rem)!important;overflow-wrap:normal;word-break:normal}
  .alfari-home-hero-actions .alfari-product-cta{width:100%;min-height:3.5rem;justify-content:center;text-align:center}
  .alfari-home-hero-actions .alfari-home-registration-cta{min-height:3.75rem;font-size:1.05rem}
  .alfari-home-visitor-journey .alfari-product-heading h2{font-size:clamp(1.85rem,8vw,2.35rem)}
  .alfari-home-goal-grid a,.alfari-home-question-grid a{min-height:3.65rem}
  .alfari-home-problem-grid article{padding:.95rem}
  .alfari-home-trainer .alfari-product-trainer__visual{order:-1}
  .alfari-home-trainer .alfari-product-trainer__visual img{max-height:20rem;object-position:center 18%}
  .alfari-home-visitor-journey .alfari-product-motion__visual{order:0}
  .alfari-home-final-cta .alfari-product-cta{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .alfari-home-goal-grid a,.alfari-home-question-grid a{transition:none}
}

/* 6.38.42 – Fast-scan homepage: conversion hierarchy, readable contrast and stable Motion preview. */
.alfari-home-fast-scan .alfari-product-hero{background:#121816;color:#fff}
.alfari-home-fast-scan .alfari-product-hero h1{color:#fff!important;-webkit-text-fill-color:#fff!important}
.alfari-home-fast-scan .alfari-ux-hero-lead{color:#eef2ef!important;-webkit-text-fill-color:#eef2ef!important}
.alfari-home-fast-scan .alfari-home-benefit-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;max-width:46rem;margin:1rem 0 0;padding:0;list-style:none}
.alfari-home-fast-scan .alfari-home-benefit-flow li{display:grid;grid-template-columns:1.8rem minmax(0,1fr);gap:.45rem;align-items:center;min-width:0;padding:.65rem;border:1px solid #66716c;border-radius:.75rem;background:#202825;color:#fff}
.alfari-home-fast-scan .alfari-home-benefit-flow span{display:grid;width:1.8rem;height:1.8rem;place-items:center;border-radius:999px;background:#d8f247;color:#15191c!important;-webkit-text-fill-color:#15191c!important;font-weight:950}
.alfari-home-fast-scan .alfari-home-benefit-flow strong{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:.92rem;line-height:1.2}
.alfari-home-fast-scan .alfari-home-registration-cta{border:2px solid #d8f247!important;background:#d8f247!important;color:#15191c!important;-webkit-text-fill-color:#15191c!important;box-shadow:0 12px 28px rgba(0,0,0,.2)!important}
.alfari-home-fast-scan .alfari-product-cta--secondary{border:2px solid #a9b4ae!important;background:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important}
.alfari-home-fast-scan .alfari-home-login-note,.alfari-home-fast-scan .alfari-home-login-note a{opacity:1!important}
.alfari-home-fast-scan .alfari-home-planfinder-slot{margin-top:2rem;padding-top:2rem;border-top:2px solid #d7ddd0;scroll-margin-top:7rem}
.alfari-home-fast-scan .alfari-product-demo-section{background:#151b19;color:#fff}
.alfari-home-fast-scan .alfari-product-demo-copy :is(h2,p){color:#f5f7f5!important;-webkit-text-fill-color:#f5f7f5!important}
.alfari-home-fast-scan .alfari-home-product-demo__example-note{margin:.65rem 0!important;padding:.6rem .7rem;border-radius:.55rem;background:#e9f1df;color:#27461a!important;-webkit-text-fill-color:#27461a!important;font-weight:850}
.alfari-home-fast-scan .alfari-home-product-demo__why{margin-top:.75rem;padding:.8rem;border-left:4px solid #82b72b;border-radius:.45rem;background:#eef5e7}
.alfari-home-fast-scan .alfari-home-product-demo__why strong{color:#315b16!important;-webkit-text-fill-color:#315b16!important}
.alfari-home-fast-scan .alfari-home-product-demo__why p{margin:.25rem 0 0;color:#29322d!important;-webkit-text-fill-color:#29322d!important}
.alfari-home-fast-scan .alfari-home-product-demo__source{margin-top:.75rem!important;padding:.15rem 0 0;border:0;color:#46514b!important;-webkit-text-fill-color:#46514b!important}
.alfari-home-fast-scan .alfari-home-product-demo__source summary{min-height:48px;padding:.7rem 0;color:#315b16!important;-webkit-text-fill-color:#315b16!important;font-weight:850;cursor:pointer}
.alfari-home-fast-scan .alfari-home-product-demo__source p{margin:.2rem 0 0;color:#46514b!important;-webkit-text-fill-color:#46514b!important;line-height:1.5}
.alfari-home-fast-scan .alfari-home-detail{max-width:44rem;margin:1rem 0;color:#46514b}
.alfari-home-fast-scan .alfari-home-detail summary{display:flex;min-height:48px;align-items:center;color:#315b16;font-weight:850;cursor:pointer}
.alfari-home-fast-scan .alfari-home-detail p{margin:.3rem 0 0;line-height:1.5}
.alfari-home-fast-scan .alfari-home-detail--dark summary{color:#d8f247!important;-webkit-text-fill-color:#d8f247!important}
.alfari-home-fast-scan .alfari-home-detail--dark p{color:#eef2ef!important;-webkit-text-fill-color:#eef2ef!important}
.alfari-home-fast-scan .alfari-product-cta--supporting{background:#edf3e8!important;color:#234b17!important;-webkit-text-fill-color:#234b17!important;border:2px solid #568016!important;box-shadow:none!important}
.alfari-home-fast-scan .alfari-home-motion-preview{position:relative;overflow:hidden;border:1px solid #69736e;border-radius:1rem;background:#090b0a;box-shadow:0 18px 42px rgba(0,0,0,.28)}
.alfari-home-fast-scan .alfari-home-motion-preview video{display:block;width:100%;aspect-ratio:9/16;max-height:42rem;object-fit:cover;background:#090b0a}
.alfari-home-fast-scan .alfari-home-trust-list{margin-bottom:1rem}
.alfari-home-fast-scan .alfari-home-trust .alfari-entry-link{display:inline-flex;min-height:48px;align-items:center;color:#315b16!important;-webkit-text-fill-color:#315b16!important;font-weight:900}
.alfari-home-fast-scan .alfari-home-access .alfari-product-access article{display:flex;flex-direction:column;align-items:flex-start}
.alfari-home-fast-scan .alfari-home-access .alfari-product-access article>p{color:#46514b!important;-webkit-text-fill-color:#46514b!important}
.alfari-home-fast-scan .alfari-home-access .alfari-product-cta{margin-top:auto}
.alfari-home-fast-scan .alfari-home-access .alfari-entry-link{display:inline-flex;min-height:48px;align-items:center;color:#315b16!important;-webkit-text-fill-color:#315b16!important;font-weight:900}
.alfari-home-fast-scan .alfari-home-final-actions{display:grid;gap:.75rem;max-width:34rem;margin:1.2rem auto 0}
.alfari-home-fast-scan .alfari-home-final-actions .alfari-product-cta{width:100%;min-height:60px;margin:0;justify-content:center;text-align:center}
.alfari-home-fast-scan :is(a,button,summary):focus-visible{outline:3px solid #d8f247!important;outline-offset:3px!important}

@media(min-width:760px){
  .alfari-home-fast-scan .alfari-home-final-actions{grid-template-columns:1fr 1fr;max-width:46rem}
}
@media(max-width:759px){
  .alfari-home-fast-scan .alfari-product-hero{padding-block:1rem 1.25rem!important}
  .alfari-home-fast-scan .alfari-ux-hero-final h1{margin:.2rem 0 .6rem;font-size:clamp(2rem,9.2vw,2.75rem)!important;line-height:1.02!important}
  .alfari-home-fast-scan .alfari-ux-hero-lead{font-size:1rem!important;line-height:1.45!important}
  .alfari-home-fast-scan .alfari-home-benefit-flow{gap:.35rem;margin-top:.75rem}
  .alfari-home-fast-scan .alfari-home-benefit-flow li{grid-template-columns:1fr;gap:.3rem;padding:.5rem .35rem;text-align:center}
  .alfari-home-fast-scan .alfari-home-benefit-flow span{margin:auto}
  .alfari-home-fast-scan .alfari-home-benefit-flow strong{font-size:.76rem;overflow-wrap:normal;word-break:normal}
  .alfari-home-fast-scan .alfari-home-hero-actions{gap:.55rem;margin-top:.8rem}
  .alfari-home-fast-scan .alfari-home-hero-actions .alfari-product-cta{min-height:56px;padding:.7rem 1rem}
  .alfari-home-fast-scan .alfari-home-hero-actions .alfari-home-registration-cta{min-height:60px}
  .alfari-home-fast-scan .alfari-home-login-note{margin-top:.25rem;font-size:.9rem}
  .alfari-home-fast-scan .alfari-product-section{padding-block:2rem}
  .alfari-home-fast-scan .alfari-product-trainer__visual{order:0}
  .alfari-home-fast-scan .alfari-home-motion-preview video{max-height:none}
}

/* 6.38.44 – Live contrast closure after global color authority. */
.alfari-home-fast-scan .alfari-home-access .alfari-product-cta,
.alfari-home-fast-scan .alfari-home-final-actions .alfari-product-cta:not(.alfari-product-cta--secondary){
  background:#d8f247!important;
  border-color:#d8f247!important;
  color:#15191c!important;
  -webkit-text-fill-color:#15191c!important;
}
.alfari-home-fast-scan .alfari-product-cta--supporting{
  background:#edf3e8!important;
  border-color:#568016!important;
  color:#234b17!important;
  -webkit-text-fill-color:#234b17!important;
}
.alfari-home-fast-scan .alfari-home-product-demo__example-note{
  background:#e9f1df!important;
  color:#27461a!important;
  -webkit-text-fill-color:#27461a!important;
}

/* 6.38.46 – Hero paragraph authority must not whiten the light example notice. */
body:not(.alfari-app-mode) .alfari-home-fast-scan .alfari-product-hero .alfari-home-product-demo__example-note{
  background:#e9f1df!important;
  color:#27461a!important;
  -webkit-text-fill-color:#27461a!important;
  opacity:1!important;
}

/* 6.38.47 – Supporting trainer CTA on a light section keeps dark readable text. */
body:not(.alfari-app-mode) .alfari-home-fast-scan .alfari-product-section--white .alfari-product-cta--supporting{
  background:#edf3e8!important;
  border-color:#568016!important;
  color:#234b17!important;
  -webkit-text-fill-color:#234b17!important;
  opacity:1!important;
}

/* 6.38.48 – Homepage final closure: neutral secondary CTAs and readable provenance details. */
body:not(.alfari-app-mode) .alfari-home-fast-scan .alfari-product-hero .alfari-product-cta--secondary,
body:not(.alfari-app-mode) .alfari-home-fast-scan .alfari-home-final-cta .alfari-product-cta--secondary{
  background:transparent!important;
  border-color:#a9b4ae!important;
  color:#eef2ef!important;
  -webkit-text-fill-color:#eef2ef!important;
  box-shadow:none!important;
}
body:not(.alfari-app-mode) .alfari-home-fast-scan .alfari-product-hero .alfari-product-cta--secondary:hover,
body:not(.alfari-app-mode) .alfari-home-fast-scan .alfari-product-hero .alfari-product-cta--secondary:active,
body:not(.alfari-app-mode) .alfari-home-fast-scan .alfari-home-final-cta .alfari-product-cta--secondary:hover,
body:not(.alfari-app-mode) .alfari-home-fast-scan .alfari-home-final-cta .alfari-product-cta--secondary:active{
  background:#27302c!important;
  border-color:#c7d0cb!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body:not(.alfari-app-mode) .alfari-home-fast-scan .alfari-product-hero .alfari-home-product-demo__source summary{
  color:#d8f247!important;
  -webkit-text-fill-color:#d8f247!important;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:.22em;
}
body:not(.alfari-app-mode) .alfari-home-fast-scan .alfari-product-hero .alfari-home-product-demo__source p{
  color:#eef2ef!important;
  -webkit-text-fill-color:#eef2ef!important;
}

/* 6.38.45 – One hero sequence, immediate product proof and complete dark-surface contrast closure. */
.alfari-home-fast-scan .alfari-home-hero-proof-grid{display:grid;gap:1.25rem;align-items:center}
.alfari-home-fast-scan .alfari-home-hero-proof{min-width:0}
.alfari-home-fast-scan .alfari-home-hero-proof .alfari-home-product-demo{margin:0;background:#f9faf7!important;color:#20252a!important}
.alfari-home-fast-scan .alfari-home-hero-proof .alfari-home-product-demo :is(h2,strong,span,p){opacity:1!important;filter:none!important}
.alfari-home-fast-scan .alfari-home-product-demo__why{
  background:#eef5e7!important;
  border-left-color:#82b72b!important;
}
.alfari-home-fast-scan .alfari-home-product-demo__why strong{
  color:#315b16!important;
  -webkit-text-fill-color:#315b16!important;
}
.alfari-home-fast-scan .alfari-home-product-demo__why p{
  color:#29322d!important;
  -webkit-text-fill-color:#29322d!important;
}
.alfari-home-fast-scan .alfari-home-motion-section .alfari-home-link-light{
  color:#d8f247!important;
  -webkit-text-fill-color:#d8f247!important;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:.22em;
}
.alfari-home-fast-scan .alfari-product-cta--secondary{
  background:transparent!important;
  border-color:#d8f247!important;
  color:#d8f247!important;
  -webkit-text-fill-color:#d8f247!important;
}
.alfari-home-fast-scan .alfari-product-cta--secondary:hover,
.alfari-home-fast-scan .alfari-product-cta--secondary:active{
  background:#edf3e8!important;
  border-color:#edf3e8!important;
  color:#15191c!important;
  -webkit-text-fill-color:#15191c!important;
}
@media(min-width:900px){
  .alfari-home-fast-scan .alfari-home-hero-proof-grid{grid-template-columns:minmax(0,1.08fr) minmax(20rem,.72fr);gap:clamp(1.5rem,4vw,3.5rem)}
}
@media(max-width:899px){
  .alfari-home-fast-scan .alfari-home-hero-proof{margin-top:.35rem}
}
