
/* Retail Intelligence Framework — Homepage Intelligence v12.1 */
.ref-hp{
  --hp-space:clamp(54px,7vw,96px);
  display:grid;
  gap:var(--hp-space);
  width:min(1440px,100%);
  margin:0 auto;
  padding:18px clamp(16px,3vw,36px) var(--hp-space);
  color:var(--ref-dark);
}
.ref-hp *{box-sizing:border-box}
.ref-hp a{text-decoration:none}
.ref-hp-eyebrow{display:block;margin-bottom:12px;color:var(--ref-primary);font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.ref-hp-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.03fr) minmax(420px,.97fr);min-height:620px;overflow:hidden;border-radius:38px;background:linear-gradient(135deg,color-mix(in srgb,var(--ref-primary) 8%,#fff),#fff 54%,color-mix(in srgb,var(--ref-secondary) 9%,#fff));box-shadow:0 28px 80px rgba(38,20,31,.1)}
.ref-hp-hero::before{content:"";position:absolute;inset:auto auto -180px -140px;width:430px;height:430px;border-radius:50%;background:color-mix(in srgb,var(--ref-primary) 10%,transparent);filter:blur(2px)}
.ref-hp-hero-copy{position:relative;z-index:2;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:clamp(42px,7vw,94px)}
.ref-hp-hero h1{max-width:780px;margin:0;color:var(--ref-dark);font-size:clamp(50px,6.4vw,92px);font-weight:720;letter-spacing:-.055em;line-height:.94;text-transform:none}
.ref-hp-hero-copy>p{max-width:650px;margin:26px 0 0;color:#655861;font-size:clamp(16px,1.45vw,20px);line-height:1.65}
.ref-hp-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.ref-hp-button{display:inline-flex;min-height:52px;align-items:center;justify-content:center;padding:14px 24px;border-radius:999px;font-weight:800;transition:transform .2s ease,box-shadow .2s ease}
.ref-hp-button:hover{transform:translateY(-2px)}
.ref-hp-button-primary{background:var(--ref-gradient);color:#fff;box-shadow:0 14px 32px color-mix(in srgb,var(--ref-primary) 25%,transparent)}
.ref-hp-button-secondary{border:1px solid color-mix(in srgb,var(--ref-dark) 15%,transparent);background:rgba(255,255,255,.82);color:var(--ref-dark)}
.ref-hp-microproof{display:flex;flex-wrap:wrap;gap:16px;margin-top:26px;color:#6a6066;font-size:12px;font-weight:700}
.ref-hp-microproof span::before{content:"✓";margin-right:6px;color:var(--ref-primary)}
.ref-hp-hero-visual{position:relative;min-height:620px;padding:40px}
.ref-hp-hero-visual a{position:absolute;display:flex;overflow:hidden;border:10px solid rgba(255,255,255,.9);border-radius:28px;background:#fff;box-shadow:0 24px 50px rgba(40,24,34,.14);transition:transform .25s ease}
.ref-hp-hero-visual a:hover{transform:translateY(-6px) rotate(0)}
.ref-hp-hero-visual img{width:100%;height:100%;object-fit:contain;background:#fff}
.ref-hp-visual-1{inset:7% 8% 38% 34%;transform:rotate(3deg)}
.ref-hp-visual-2{inset:45% 45% 8% 8%;transform:rotate(-4deg)}
.ref-hp-visual-3{inset:52% 6% 6% 58%;transform:rotate(3deg)}
.ref-hp-visual-4{inset:14% 60% 56% 7%;transform:rotate(-5deg)}
.ref-hp-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;overflow:hidden;border:1px solid var(--ref-border);border-radius:22px;background:var(--ref-border)}
.ref-hp-trust article{padding:22px;background:#fff}
.ref-hp-trust strong,.ref-hp-trust span{display:block}
.ref-hp-trust strong{font-size:13px}
.ref-hp-trust span{margin-top:6px;color:#756b71;font-size:11px;line-height:1.45}
.ref-hp-section{display:grid;gap:28px}
.ref-hp-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.ref-hp-heading h2,.ref-hp-editorial h2,.ref-hp-proof h2,.ref-hp-newsletter h2{max-width:820px;margin:0;color:var(--ref-dark);font-size:clamp(32px,4vw,54px);font-weight:700;letter-spacing:-.04em;line-height:1.03;text-transform:none}
.ref-hp-heading>a{color:var(--ref-primary);font-size:13px;font-weight:800}
.ref-hp-journey-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ref-hp-journey-grid>a{position:relative;min-height:430px;overflow:hidden;border-radius:28px;background:#171216;color:#fff;box-shadow:0 18px 45px rgba(35,20,29,.09)}
.ref-hp-journey-grid img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.ref-hp-journey-grid>a:hover img{transform:scale(1.045)}
.ref-hp-journey-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 26%,rgba(16,10,14,.84) 100%)}
.ref-hp-journey-grid>a>div{position:absolute;z-index:2;right:0;bottom:0;left:0;padding:28px}
.ref-hp-journey-grid strong{display:block;font-size:26px;letter-spacing:-.03em}
.ref-hp-journey-grid p{min-height:44px;margin:9px 0;color:rgba(255,255,255,.78);font-size:13px;line-height:1.45}
.ref-hp-journey-grid small{font-weight:800}
.ref-hp-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ref-hp-product-grid article{display:flex;overflow:hidden;flex-direction:column;border:1px solid var(--ref-border);border-radius:24px;background:#fff;box-shadow:0 14px 34px rgba(32,20,27,.05);transition:transform .2s ease,box-shadow .2s ease}
.ref-hp-product-grid article:hover{transform:translateY(-4px);box-shadow:0 22px 44px rgba(32,20,27,.1)}
.ref-hp-product-image{display:flex;aspect-ratio:1/1;align-items:center;justify-content:center;padding:18px;background:linear-gradient(180deg,var(--ref-light),#fff)}
.ref-hp-product-image img{width:100%;height:100%;object-fit:contain}
.ref-hp-product-copy{display:flex;flex:1;flex-direction:column;padding:20px}
.ref-hp-stars{color:var(--ref-primary);font-size:11px;font-weight:800}
.ref-hp-product-copy h3{margin:9px 0 12px;font-size:14px;line-height:1.4;text-transform:none}
.ref-hp-product-copy h3 a{color:var(--ref-dark)}
.ref-hp-price{margin-top:auto;color:var(--ref-primary);font-size:16px;font-weight:800}
.ref-hp-product-button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;margin-top:15px;padding:10px 16px;border-radius:999px;background:var(--ref-gradient);color:#fff;font-size:12px;font-weight:800}
.ref-hp-editorial{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.68fr);overflow:hidden;border-radius:34px;background:var(--ref-dark);color:#fff}
.ref-hp-editorial>div{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:clamp(38px,6vw,82px)}
.ref-hp-editorial h2{color:#fff}
.ref-hp-editorial p{max-width:700px;color:rgba(255,255,255,.7);font-size:16px;line-height:1.65}
.ref-hp-editorial-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:16px}
.ref-hp-editorial-links a{color:#fff;font-weight:800}
.ref-hp-editorial-image{min-height:460px;background:#fff}
.ref-hp-editorial-image img{width:100%;height:100%;object-fit:cover}
.ref-hp-proof{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(180px,.5fr));gap:18px;align-items:stretch}
.ref-hp-proof>div{padding:30px;border:1px solid var(--ref-border);border-radius:24px;background:#fff}
.ref-hp-proof p{color:#70666c;line-height:1.65}
.ref-hp-proof-stat{display:flex;align-items:flex-start;justify-content:center;flex-direction:column}
.ref-hp-proof-stat strong{font-size:44px;color:var(--ref-primary);line-height:1}
.ref-hp-proof-stat span{margin-top:10px;color:#70666c;font-size:12px;line-height:1.45}
.ref-hp-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.ref-hp-guide-grid a{padding:28px;border:1px solid var(--ref-border);border-radius:22px;background:#fff;color:var(--ref-dark);transition:transform .2s ease,border-color .2s ease}
.ref-hp-guide-grid a:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--ref-primary) 35%,var(--ref-border))}
.ref-hp-guide-grid span{color:var(--ref-primary);font-size:11px;font-weight:800}
.ref-hp-guide-grid strong{display:block;margin:14px 0 7px;font-size:20px}
.ref-hp-guide-grid p{margin:0;color:#746a70;line-height:1.55}
.ref-hp-newsletter{padding:clamp(44px,7vw,84px);border-radius:32px;background:linear-gradient(135deg,color-mix(in srgb,var(--ref-primary) 12%,#fff),#fff);text-align:center}
.ref-hp-newsletter>div{max-width:840px;margin:auto}
.ref-hp-newsletter p{color:#6f646b}

@media(max-width:1100px){
  .ref-hp-hero{grid-template-columns:1fr;min-height:auto}
  .ref-hp-hero-visual{min-height:480px}
  .ref-hp-journey-grid,.ref-hp-product-grid{grid-template-columns:repeat(2,1fr)}
  .ref-hp-editorial{grid-template-columns:1fr}
  .ref-hp-editorial-image{min-height:380px}
}
@media(max-width:760px){
  .ref-hp{gap:58px;padding-inline:12px}
  .ref-hp-hero{border-radius:26px}
  .ref-hp-hero-copy{padding:42px 24px}
  .ref-hp-hero h1{font-size:48px}
  .ref-hp-hero-visual{min-height:390px;padding:20px}
  .ref-hp-trust{grid-template-columns:repeat(2,1fr)}
  .ref-hp-heading{align-items:flex-start;flex-direction:column}
  .ref-hp-journey-grid>a{min-height:350px}
  .ref-hp-proof{grid-template-columns:1fr}
  .ref-hp-guide-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .ref-hp-hero-visual{min-height:330px}
  .ref-hp-visual-1{inset:6% 5% 44% 38%}
  .ref-hp-visual-2{inset:48% 48% 5% 5%}
  .ref-hp-visual-3{inset:54% 4% 4% 57%}
  .ref-hp-visual-4{inset:12% 62% 58% 5%}
  .ref-hp-actions{flex-direction:column}
  .ref-hp-button{width:100%}
  .ref-hp-trust{grid-template-columns:1fr}
  .ref-hp-journey-grid,.ref-hp-product-grid{grid-template-columns:1fr}
}


/* v13.4.7 — Homepage depth and newsletter conversion */
.ref-hp{
  --ref-hp-shadow-soft:0 14px 38px rgba(28,22,31,.075);
  --ref-hp-shadow-lift:0 22px 54px rgba(28,22,31,.12);
  --ref-hp-border-strong:color-mix(in srgb,var(--ref-primary) 15%,#d9dde3);
}

.ref-hp-guide-grid{gap:18px!important}

.ref-hp-guide-grid>a{
  position:relative;
  min-height:190px;
  overflow:hidden;
  padding:30px 26px!important;
  border:1px solid var(--ref-hp-border-strong)!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 88% 8%,color-mix(in srgb,var(--ref-secondary) 10%,transparent),transparent 34%),
    linear-gradient(145deg,#fff 0%,color-mix(in srgb,var(--ref-primary) 3.5%,#fff) 100%)!important;
  box-shadow:var(--ref-hp-shadow-soft)!important;
  transform:translateY(0);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease!important;
}

.ref-hp-guide-grid>a::before{
  position:absolute;inset:0 auto 0 0;width:5px;
  background:linear-gradient(180deg,var(--ref-primary),var(--ref-secondary));
  content:"";
}

.ref-hp-guide-grid>a::after{
  position:absolute;right:-42px;bottom:-52px;width:140px;height:140px;
  border-radius:50%;background:color-mix(in srgb,var(--ref-primary) 7%,transparent);
  content:"";transition:transform .28s ease;
}

.ref-hp-guide-grid>a:hover{
  border-color:color-mix(in srgb,var(--ref-primary) 32%,#d9dde3)!important;
  box-shadow:var(--ref-hp-shadow-lift)!important;
  transform:translateY(-7px);
}

.ref-hp-guide-grid>a:hover::after{transform:scale(1.18)}

.ref-hp-guide-grid>a>span{
  position:relative;z-index:1;display:inline-flex!important;width:34px;height:34px;
  margin-bottom:22px!important;align-items:center;justify-content:center;border-radius:50%;
  background:linear-gradient(135deg,var(--ref-primary),var(--ref-secondary));
  color:#fff!important;font-size:10px!important;font-weight:850!important;
  box-shadow:0 8px 18px color-mix(in srgb,var(--ref-primary) 20%,transparent);
}

.ref-hp-guide-grid>a>strong{
  position:relative;z-index:1;display:block;margin-bottom:10px;
  color:var(--ref-dark,#17233c);font-size:20px!important;letter-spacing:-.025em;
}

.ref-hp-guide-grid>a>p{
  position:relative;z-index:1;max-width:300px;margin:0!important;
  color:#667085!important;font-size:14px!important;line-height:1.65!important;
}

.ref-hp-newsletter{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr)!important;
  gap:36px!important;align-items:center!important;overflow:hidden;
  padding:clamp(34px,5vw,64px)!important;
  border:1px solid var(--ref-hp-border-strong)!important;
  border-radius:30px!important;
  background:
    radial-gradient(circle at 8% 12%,color-mix(in srgb,var(--ref-primary) 10%,transparent),transparent 34%),
    radial-gradient(circle at 92% 82%,color-mix(in srgb,var(--ref-secondary) 12%,transparent),transparent 36%),
    linear-gradient(135deg,#fff 0%,color-mix(in srgb,var(--ref-primary) 5%,#fff) 52%,color-mix(in srgb,var(--ref-secondary) 6%,#fff) 100%)!important;
  box-shadow:0 24px 64px rgba(28,22,31,.10)!important;
}

.ref-hp-newsletter::before{
  position:absolute;top:-90px;right:-70px;width:240px;height:240px;
  border:1px solid color-mix(in srgb,var(--ref-primary) 15%,transparent);
  border-radius:50%;content:"";
}

.ref-hp-newsletter-copy,.ref-hp-newsletter-action{position:relative;z-index:1}

.ref-hp-newsletter h2{
  max-width:760px!important;margin:8px 0 14px!important;
  font-size:clamp(34px,4.7vw,58px)!important;
  letter-spacing:-.05em!important;line-height:1.02!important;
}

.ref-hp-newsletter p{
  max-width:650px!important;margin:0!important;color:#667085!important;
  font-size:15px!important;line-height:1.7!important;
}

.ref-hp-newsletter-fallback{
  display:flex!important;min-height:58px!important;align-items:center!important;
  justify-content:space-between!important;gap:20px!important;padding:0 10px 0 24px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,var(--ref-primary),var(--ref-secondary))!important;
  color:#fff!important;font-weight:800!important;
  box-shadow:0 14px 32px color-mix(in srgb,var(--ref-primary) 25%,transparent)!important;
  transition:transform .22s ease,box-shadow .22s ease!important;
}

.ref-hp-newsletter-fallback b{
  display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;
  border-radius:50%;background:rgba(255,255,255,.18);font-size:20px;
}

.ref-hp-newsletter-fallback:hover{
  color:#fff!important;
  box-shadow:0 19px 42px color-mix(in srgb,var(--ref-primary) 32%,transparent)!important;
  transform:translateY(-3px);
}

.ref-hp-newsletter-form{
  padding:18px!important;border:1px solid rgba(255,255,255,.8)!important;
  border-radius:22px!important;background:rgba(255,255,255,.82)!important;
  box-shadow:0 16px 38px rgba(28,22,31,.09)!important;backdrop-filter:blur(12px);
}

.ref-hp-newsletter-form input[type=email],
.ref-hp-newsletter-form input[type=text]{
  min-height:50px!important;border:1px solid #dfe3e8!important;
  border-radius:999px!important;background:#fff!important;
}

.ref-hp-newsletter-form input[type=submit],
.ref-hp-newsletter-form button{
  min-height:50px!important;border:0!important;border-radius:999px!important;
  background:linear-gradient(135deg,var(--ref-primary),var(--ref-secondary))!important;
  color:#fff!important;font-weight:800!important;
}

.ref-hp-proof-card,.ref-hp-proof-stat,.ref-hp-editorial-copy,.ref-hp-editorial-image{
  border-color:var(--ref-hp-border-strong)!important;
  box-shadow:var(--ref-hp-shadow-soft)!important;
}

@media(max-width:850px){
  .ref-hp-newsletter{grid-template-columns:1fr!important;gap:26px!important}
}

@media(max-width:600px){
  .ref-hp-guide-grid>a{min-height:0;padding:25px 22px!important}
  .ref-hp-newsletter{padding:30px 22px!important;border-radius:24px!important}
  .ref-hp-newsletter h2{font-size:36px!important}
}
