/* ---------- Hero ---------- */
.hero { background: var(--blue); color: #fff; --focus: #fff; padding-block: clamp(8px, 2vw, 32px) clamp(48px, 6vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.04; letter-spacing: -0.035em; }
.hero__sub { margin-top: clamp(16px, 2vw, 28px); font-size: var(--fs-lead); max-width: 30ch; line-height: 1.4; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 28px); margin-top: clamp(24px, 3vw, 44px); }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 3.4vw, 56px); margin-top: clamp(28px, 4vw, 64px); }
.hero__stats dt { font-size: clamp(1.4rem, 1.4vw + 0.6rem, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; order: 1; }
.hero__stats dd { margin: 4px 0 0; font-size: clamp(0.85rem, 0.5vw + 0.5rem, 1rem); font-weight: 500; order: 2; }
.hero__stats > div { display: flex; flex-direction: column; }
.hero__demo { margin-top: var(--s4); font-size: var(--fs-xs); opacity: 0.75; font-weight: 600; }
.hero__media { position: relative; }
.hero__photo { position: relative; aspect-ratio: 16 / 9.4; border: var(--bw-hero) solid var(--black); border-radius: var(--r-img); box-shadow: var(--shadow-hero); overflow: hidden; background: #e9dfd0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .deco--thumb { width: 15%; right: -4%; top: -14%; rotate: 6deg; }
.hero__media .deco--emoji { width: 14%; left: -7%; top: 40%; }
.hero__media .deco--star { width: 5%; right: 6%; bottom: -5%; animation-duration: 4s; }
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__sub { max-width: 40ch; }
  .hero__media { margin-right: 10px; }
  .hero__media .deco--thumb { width: 17%; right: -2%; top: -9%; }
  .hero__media .deco--emoji { width: 16%; left: -3%; }
}
@media (max-width: 520px) { .hero__media .deco--star { display: none; } }

/* ---------- Featured + creators ---------- */
.feature { background: var(--paper); padding-block: clamp(36px, 5vw, 80px) var(--section-y); }
.feature__grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.eyebrow-title { font-size: var(--fs-h2); margin-bottom: clamp(16px, 2vw, 28px); line-height: 1; }
.feature__sample { margin-top: 14px; }
.creators { position: relative; }
.creators h2 { font-size: clamp(1.9rem, 1rem + 2.6vw, 3.1rem); line-height: 1.02; letter-spacing: -0.035em; }
.creators p { margin-top: clamp(16px, 2vw, 28px); font-size: var(--fs-lead); line-height: 1.5; max-width: 34ch; font-weight: 500; }
.creators__cta { margin-top: clamp(24px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.creators .deco--heart { width: clamp(56px, 6vw, 96px); right: 6%; top: 52%; rotate: -8deg; }
.creator-stack { display: flex; margin-top: clamp(24px, 3vw, 40px); align-items: center; gap: 16px; flex-wrap: wrap; }
.creator-stack__imgs { display: flex; }
.creator-stack__imgs a { margin-left: -14px; border-radius: 50%; transition: transform var(--t-fast); }
.creator-stack__imgs a:first-child { margin-left: 0; }
.creator-stack__imgs a:hover { transform: translateY(-4px); z-index: 2; }
.creator-stack__imgs img { width: 62px; height: 62px; border-radius: 50%; border: var(--bw-card) solid var(--black); object-fit: cover; background: var(--turq); }
.creator-stack span { font-weight: 700; font-size: var(--fs-small); max-width: 22ch; line-height: 1.3; }
@media (max-width: 1024px) { .feature__grid { grid-template-columns: 1fr; } .creators .deco--heart { right: 0; top: auto; bottom: -10px; } }

/* ---------- Explore block ---------- */
.explore-block { padding-block: var(--section-y); background: var(--paper); border-top: var(--bw) solid var(--black); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s5); margin-bottom: clamp(24px, 3vw, 44px); }
.section-head p { margin-top: 10px; max-width: 56ch; color: var(--gray); font-weight: 500; font-size: 1.1rem; }

/* ---------- How it works ---------- */
.how { background: #fff; border-block: var(--bw) solid var(--black); padding-block: var(--section-y); scroll-margin-top: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(28px, 4vw, 56px); counter-reset: step; list-style: none; }
.step { position: relative; padding: clamp(22px, 2.6vw, 36px); counter-increment: step; }
.step__num { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--turq); border: var(--bw-card) solid var(--black); font-weight: 800; font-size: 1.7rem; box-shadow: var(--shadow-btn); }
.step__art { height: 120px; display: grid; place-items: center; margin: 22px 0 10px; border-radius: 20px; background: var(--blue); }
.step__art .icon { width: 64px; height: 64px; color: #fff; stroke-width: 1.7; }
.step h3 { margin-top: 12px; }
.step p { margin-top: 10px; color: #333; }
@media (max-width: 1024px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Story cards ---------- */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(22px, 2.6vw, 40px); }
.story { display: flex; flex-direction: column; position: relative; overflow: hidden; height: 100%; }
.story__media { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: var(--bw-card) solid var(--black); position: relative; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__media .chip { position: absolute; left: 16px; top: 16px; }
.story__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.story__body h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); }
.story__body h3 a { text-decoration: none; }
.story__body h3 a::after { content: ""; position: absolute; inset: 0; }
.story__body p { color: #333; font-size: 0.96rem; }
.story__outcome { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #d9fff7; border: var(--bw) solid var(--black); font-weight: 700; font-size: var(--fs-small); }
.story__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: var(--fs-small); font-weight: 700; padding-top: 6px; }
.story__meta .who { display: inline-flex; gap: 8px; align-items: center; }
.story__meta img { width: 32px; height: 32px; border-radius: 50%; border: var(--bw) solid var(--black); }

/* ---------- Final CTA ---------- */
.cta { background: var(--blue); color: #fff; --focus: #fff; padding-block: var(--section-y); position: relative; overflow: hidden; }
.cta__inner { position: relative; display: grid; gap: clamp(20px, 2.4vw, 32px); max-width: 880px; }
.cta h2 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.035em; }
.cta p { font-size: var(--fs-lead); max-width: 40ch; font-weight: 500; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 20px; }
.cta .deco--heart { width: clamp(90px, 12vw, 190px); right: 6%; top: 14%; rotate: 10deg; }
.cta .deco--emoji { width: clamp(56px, 6vw, 100px); right: 22%; bottom: 8%; }
@media (max-width: 760px) { .cta .deco--emoji { display: none; } .cta .deco--heart { width: 90px; right: 4%; top: 6%; opacity: .9; } }


/* Mobile & tablet hero: photo first, then centred headline, two side-by-side buttons and large stats */
@media (max-width: 1024px) {
  .hero { padding-top: 8px; }
  .hero__grid { gap: clamp(36px, 8vw, 56px); }
  .hero__media { order: -1; margin: 10px 14px 0; }
  .hero__grid > div:first-child { text-align: center; }
  .hero h1 { font-size: clamp(2.3rem, 9.4vw, 4rem); line-height: 1.08; }
  .hero__sub { margin-inline: auto; max-width: 34ch; font-size: clamp(1.05rem, 3.6vw, 1.4rem); }
  .hero__actions { flex-wrap: nowrap; justify-content: center; gap: 14px; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; white-space: nowrap; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; margin-top: clamp(32px, 7vw, 52px); }
  .hero__stats dt { font-size: clamp(1.9rem, 8.6vw, 3.2rem); }
  .hero__stats dd { font-size: clamp(0.95rem, 3.4vw, 1.3rem); margin-top: 8px; }
  .hero__stats > div { align-items: center; }
  .hero__demo { text-align: center; }
}
/* Hero buttons: wider "Start a campaign", narrower "Explore" (as in the reference) */
@media (max-width: 1024px) {
  .hero__actions .btn-primary { flex: 1.55 1 0; padding-inline: 28px; }
  .hero__actions .btn-secondary { flex: 1 1 0; padding-inline: 8px; }
}
@media (max-width: 360px) { .hero__actions { gap: 10px; } .hero__actions .btn { font-size: 0.92rem; } .hero__actions .btn-secondary { padding-inline: 4px; } }
/* Mobile & tablet hero: only the full-width "Start a campaign" button */
@media (max-width: 1024px) {
  .hero__actions .btn-secondary { display: none; }
  .hero__actions .btn-primary { flex: 1 1 100%; width: 100%; padding-inline: 16px; }
}
/* Hero button: less inner padding and closer to the screen edges (mobile & tablet) */
@media (max-width: 1024px) {
  .hero__actions { margin-inline: calc(var(--gutter) * -0.5); }
  .hero__actions .btn-primary { padding-inline: 6px; }
}
/* Hero button (mobile & tablet): content-width, compact side padding, centred */
@media (max-width: 1024px) {
  .hero__actions { margin-inline: 0; justify-content: center; }
  .hero__actions .btn-primary { flex: 0 1 auto; width: auto; max-width: 100%; padding-inline: min(132px, calc((100vw - 32px - 170px) / 2)); }
}
/* Phones only: hero button side padding back to 66px */
@media (max-width: 600px) { .hero__actions .btn-primary { padding-inline: min(66px, calc((100vw - 32px - 170px) / 2)); } }
/* Hero headline: more generous line height */
.hero h1, .hero h1 { line-height: 1.22; }

/* Mobile & tablet hero: "Start a campaign" and "Explore" side by side */
@media (max-width: 1024px) {
  .hero__actions { flex-wrap: nowrap; justify-content: center; gap: 12px; margin-inline: 0; }
  .hero__actions .btn-secondary { display: inline-flex; flex: 1 1 0; min-width: 0; width: auto; padding-inline: 12px; }
  .hero__actions .btn-primary { flex: 1.4 1 0; min-width: 0; width: auto; max-width: none; padding-inline: 12px; }
}

/* Mobile & tablet: the two hero buttons (and the closing call to action) are stacked, full width, with a faint outline on the light one */
@media (max-width: 1024px) {
  .hero__actions, .cta__actions { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; }
  .hero__actions .btn, .cta__actions .btn { flex: none; width: 100%; max-width: none; }
  html .hero .btn-secondary, html .cta .btn-secondary { border: 1px solid rgba(0,0,51,.25); background: #fff; color: var(--black); }
}
/* Desktop: tighter gap between the hero and the Featured block */
@media (min-width: 1025px) {
  .hero { padding-bottom: clamp(24px, 2.6vw, 44px); }
  .feature { padding-top: clamp(20px, 2.4vw, 40px); }
}
@media (min-width: 1025px) { .hero__actions { gap: 14px; flex-wrap: nowrap; } html .hero__actions .btn-lg { padding-inline: 1.15em; } }

/* Desktop: tighter space between the hero and the Featured block */
@media (min-width: 1025px) {
  html .hero { padding-bottom: clamp(8px, 1.2vw, 20px); }
  html .feature { padding-top: clamp(8px, 1.2vw, 20px); }
  html .hero__stats { margin-bottom: 0; }
}
/* Phones and tablets: the two hero buttons stack, full width, with a faint outline on Explore */
@media (max-width: 1024px) {
  .hero__actions { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; margin-inline: 0; }
  .hero__actions .btn, .hero__actions .btn-primary, .hero__actions .btn-secondary { display: inline-flex; flex: none; width: 100%; max-width: none; padding-inline: 16px; }
  html .hero .btn-secondary, html .cta .btn-secondary { border: 1px solid rgba(0,0,51,.14); }
}
/* Creator avatars on the homepage: medium outline in the page background colour */
html .creator-stack__imgs img { box-sizing: content-box; width: 62px; height: 62px; border: 4px solid var(--paper); }
html .creator-stack__imgs a { margin-left: -18px; }
html .creator-stack__imgs a:first-child { margin-left: 0; }
