/* =========================================================================
   Oleaf — Landing A/B variant "B"  (activated by ?variant=b)
   -------------------------------------------------------------------------
   Fully additive. Every rule is scoped under html[data-variant="b"], so the
   default experience (variant A) is never touched. Variant B swaps the dark
   photo-collage intro + hero for a light, centered editorial hero with a
   distinct headline, layout, and call-to-action.
   ========================================================================= */

/* Hide the original landing blocks only while variant B is active. */
html[data-variant="b"] main > section.intro,
html[data-variant="b"] main > section.hero#process {
  display: none !important;
}

.vb-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header, 78px));
  display: grid;
  place-items: center;
  padding: clamp(56px, 12vh, 140px) 24px;
  text-align: center;
  color: var(--ink, #050505);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(32, 61, 29, 0.10), transparent 60%),
    linear-gradient(180deg, var(--paper, #f7f6f2), var(--sand, #ddd9cd));
  overflow: hidden;
}

/* Oversized ghost word echoing the brand's "PURE" motif, variant-B flavour. */
.vb-hero::before {
  content: "SLOW";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(9rem, 34vw, 30rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.8;
  color: rgba(32, 61, 29, 0.06);
  pointer-events: none;
  white-space: nowrap;
}

.vb-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  display: grid;
  gap: 26px;
  justify-items: center;
}

.vb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--line, rgba(5, 5, 5, 0.18));
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive, #203d1d);
  background: var(--cream-card, rgba(250, 247, 240, 0.9));
}

.vb-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange, #ff8500);
}

.vb-headline {
  margin: 0;
  font-size: clamp(2.9rem, 8vw, 6rem);
  line-height: 0.94;
  font-weight: 620;
  letter-spacing: -0.02em;
  color: var(--deep, #071707);
}

.vb-headline em {
  font-style: italic;
  color: var(--olive, #203d1d);
}

.vb-sub {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.45;
  font-weight: 520;
  color: var(--muted, #77736a);
}

.vb-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
}

.vb-cta {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--deep, #071707);
  border-radius: 999px;
  padding: 16px 30px;
  font-size: 1.02rem;
  font-weight: 680;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.vb-cta-primary {
  background: var(--olive, #203d1d);
  color: #fff;
  box-shadow: 0 14px 34px rgba(32, 61, 29, 0.28);
}

.vb-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(32, 61, 29, 0.34);
}

.vb-cta-primary svg {
  transition: transform 0.16s ease;
}

.vb-cta-primary:hover svg {
  transform: translateX(3px);
}

.vb-cta-secondary {
  background: transparent;
  color: var(--deep, #071707);
}

.vb-cta-secondary:hover {
  background: rgba(7, 23, 7, 0.06);
  transform: translateY(-2px);
}

.vb-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 640;
  color: var(--olive, #203d1d);
}

.vb-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vb-proof span::before {
  content: "✓";
  font-weight: 800;
  color: var(--orange, #ff8500);
}

/* Small floating pill to flip back to variant A. */
.vb-switch {
  position: fixed;
  z-index: 60;
  right: 16px;
  bottom: 16px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line, rgba(5, 5, 5, 0.18));
  background: var(--cream-card, rgba(250, 247, 240, 0.94));
  color: var(--ink, #050505);
  font-size: 0.8rem;
  font-weight: 680;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(5, 5, 5, 0.14);
  backdrop-filter: blur(6px);
}

.vb-switch:hover {
  background: #fff;
}

@media (max-width: 560px) {
  .vb-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vb-cta,
  .vb-cta svg {
    transition: none;
  }
}
