/* ============================================================
   HOMEPAGE — 2026 reshape sections
   Loaded on the front page only, after theme-light.css.
   Proof band · Upload band · Sticky CTA · bento and type polish

   Built on the /home-2/ preview page, promoted to the homepage
   on 2026-09-20 when that layout replaced the original.
   ============================================================ */

/* ── Shared scroll reveal (CSS only, progressive) ───────────── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .proof__item, .how__step, .upload__panel {
      animation: h2-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
    @keyframes h2-rise {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
  }
}

/* ============================================================
   1 · PROOF BAND
   ============================================================ */
.proof {
  background: var(--az-dark-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.proof__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}
.proof__item {
  flex: 1 1 160px;
  text-align: center;
  min-width: 140px;
}
.proof__stars {
  color: var(--az-orange);
  letter-spacing: 3px;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.proof__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 2.4vw + 1rem, 2.8rem);
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.proof__unit {
  font-size: 0.5em;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 1px;
}
.proof__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.proof__divider {
  width: 1px;
  align-self: stretch;
  min-height: 46px;
  background: var(--border-medium);
  flex: 0 0 1px;
}
@media (max-width: 720px) {
  .proof__divider { display: none; }
  .proof__item    { flex: 1 1 42%; }
}

/* ============================================================
   2 · HOW IT WORKS
   ============================================================ */
.how {
  padding: var(--space-2xl) 0;
  background: var(--az-dark-1);
}
.how__header {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.how__title {
  font-size: var(--fs-h2);
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}
.how__subtitle {
  color: var(--text-secondary);
  font-size: var(--fs-body-lg);
  max-width: 54ch;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
}
@media (max-width: 860px) { .how__steps { grid-template-columns: 1fr; } }

.how__step {
  position: relative;
  padding-top: 1.75rem;
  border-top: 2px solid var(--border-orange);
}
.how__step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent-ink, var(--az-orange));
  margin-bottom: 0.85rem;
}
.how__step-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.2vw + 0.9rem, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.how__step-text {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: 1.7;
}

/* ============================================================
   3 · UPLOAD BAND  (the conversion lever)
   ============================================================ */
.upload {
  padding: var(--space-2xl) 0;
  background: var(--az-dark-2);
}
.upload__panel {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background: var(--az-dark-1);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-orange-lg);
}
@media (max-width: 860px) {
  .upload__panel { grid-template-columns: 1fr; }
  .upload__visual { order: -1; }
}
.upload__title {
  font-size: var(--fs-h2);
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}
.upload__text {
  color: var(--text-secondary);
  font-size: var(--fs-body-lg);
  line-height: 1.7;
  max-width: 56ch;
}
.upload__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.upload__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 1rem;
}
.upload__visual { display: flex; justify-content: center; }
.upload__dropzone {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  border: 2px dashed var(--border-orange);
  border-radius: var(--radius-lg);
  background: var(--az-orange-dim);
  color: var(--az-orange);
  transition: transform var(--trans-base), border-color var(--trans-base);
}
.upload__panel:hover .upload__dropzone {
  transform: translateY(-3px);
  border-color: var(--az-orange);
}
.upload__dropzone-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink, var(--az-orange));
}

/* ============================================================
   4 · STICKY QUOTE CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-full);
  background: var(--az-orange);
  color: var(--text-on-orange);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(244,131,46,0.35), 0 2px 8px rgba(75,55,30,0.18);
  /* hidden until scrolled past the hero */
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.96);
  transition: opacity var(--trans-base), transform var(--trans-base), visibility var(--trans-base);
}
.sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.sticky-cta:hover { background: var(--az-orange-light); transform: translateY(-2px) scale(1.02); }
.sticky-cta:focus-visible { outline: 3px solid var(--text-primary); outline-offset: 3px; }
@media (max-width: 560px) {
  .sticky-cta { right: 50%; transform: translate(50%, 14px) scale(0.96); }
  .sticky-cta.is-visible { transform: translate(50%, 0) scale(1); }
  .sticky-cta:hover { transform: translate(50%, -2px) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: opacity 0.01ms; }
}

/* ============================================================
   5 · BENTO + TYPE POLISH
   ============================================================ */
:root {
  /* Slightly bolder headline scale — reads more current */
  --fs-h2: clamp(2.1rem, 3.3vw + 0.55rem, 3.4rem);
}
/* Calmer, more even grid rhythm + rounder cards */
.products__grid { gap: clamp(1rem, 2vw, 1.5rem); }
.products__card { border-radius: var(--radius-lg); }
.categories__tile { border-radius: var(--radius-lg); }
.reviews__card { border-radius: var(--radius-lg); }

/* The theme toggle styling moved to css/nav-hero.css when the toggle went
   site-wide. It is a control that lives in the nav, and nav-hero.css is the
   stylesheet that loads on every page. */
