/* ============================================================
   GlitzBee v3 — Dark landing page
   Design tokens sourced from the Figma prototype export.
   ============================================================ */

:root {
  /* ---------- SURFACES ---------- */
  --page-bg:            #FFF8F0;
  --hero-bg:            radial-gradient(140% 100% at 67.5% 0%, #9B5B3A 0%, #120E0C 78%);
  --dark-bg:            radial-gradient(120% 120% at 70% 0%, #9B5B3A 0%, #120E0C 72%);
  --footer-bg:          #302418;

  /* ---------- TEXT ---------- */
  --ink:                #1A0F09;
  --cream:              #F5EDE0;
  --cream-soft:         #FFF8F0;
  --muted-cream:        #C4B8A4;
  --muted-brown:        #5A4838;
  --muted-brown-2:      #8A7860;
  --muted-dark:         #9A8E80;
  --gold:               #D4A54F;
  --amber:              #C88A3E;
  --terracotta:         #C86830;
  --bronze:             #906828;
  --eyebrow:            #5D2A47;
  --plum:               #C08AA6;
  --live:               #2D8659;
  --hairline:           #D2BFA9;

  /* ---------- MONK SKIN TONE SCALE ---------- */
  --mst-1:  #F6EDE4; --mst-2:  #F3E7DB; --mst-3:  #F7EAD0; --mst-4:  #EADABA; --mst-5:  #D7BD96;
  --mst-6:  #A07E56; --mst-7:  #825C43; --mst-8:  #604134; --mst-9:  #3A312A; --mst-10: #292420;

  /* ---------- TYPE ---------- */
  --font-sans:  'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bebas Neue', 'Mukta', sans-serif;

  /* ---------- LAYOUT ---------- */
  --container:  1340px;
  --gutter:     40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--amber); color: #fff; }

.container { width: 76%; max-width: 1040px; margin-inline: auto; }

/* Offset anchor jumps so section tops aren't hidden behind the fixed nav */
#how, #users, #creators, #download, #contact { scroll-margin-top: 100px; }

/* Shared section chrome */
.section { padding-block: clamp(44px, 5vw, 84px); }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--eyebrow);
}
.eyebrow.on-dark { color: #FFFFFF; }
.s-title {
  font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.14; letter-spacing: -0.045em;
  color: var(--ink);
}
.s-title.on-dark { color: #fff; }
.s-sub { font-size: 14px; line-height: 1.5; color: var(--muted-brown); max-width: 640px; }
.s-sub.on-dark { color: var(--cream); }
.s-head { display: flex; flex-direction: column; gap: 20px; }

/* App-store badge images (shared) */
.store-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-badge { display: inline-flex; transition: transform .2s, filter .2s; }
.store-badge img { height: 46px; width: auto; display: block; }
.store-badge:hover { transform: translateY(-3px); filter: drop-shadow(0 12px 24px rgba(0,0,0,0.35)); }

/* ============================================================
   HERO + STATS  (dark block)
   ============================================================ */
.hero-block { position: relative; isolation: isolate; background: var(--hero-bg); overflow: hidden; padding-top: 86px; }
.hero-portrait {
  position: absolute; z-index: 1; pointer-events: none;
  top: 50px;
  right: 4%;
  width: min(37vw, 540px);
  display: grid;               /* stack all portraits in one cell for crossfade */
}
.hero-portrait img {
  grid-area: 1 / 1;            /* every portrait occupies the same cell */
  width: 100%; height: auto; display: block;
  -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.30));
  opacity: 0; transition: opacity 1.1s ease-in-out;
}
.hero-portrait img.active { opacity: 1; }

.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: 14px; transition: padding-top .3s ease; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: 62px; padding: 9px 9px 9px 22px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 77px;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
/* On scroll: solidify into a dark frosted pill so it stays readable over light sections */
.nav-wrap.scrolled { padding-top: 10px; }
.nav-wrap.scrolled .nav {
  background: rgba(18, 14, 12, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.30);
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.nav-brand img { width: 37px; height: 37px; border-radius: 7px; }
.nav-brand span { font-weight: 700; font-size: 19px; letter-spacing: 0.03em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14px; letter-spacing: -0.46px; color: var(--cream); transition: opacity .2s; }
.nav-links a:hover { opacity: .7; }
.nav-cta {
  display: inline-flex; align-items: center; padding: 13px 18px;
  background: var(--cream-soft); border-radius: 62px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.46px; text-transform: uppercase; color: var(--ink);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.nav-toggle { display: none; color: #fff; font-size: 26px; padding: 8px; line-height: 1; background: none; border: 0; cursor: pointer; }

/* Mobile dropdown menu — hidden until toggled open at ≤880px */
.mobile-menu { display: none; }

.hero { position: relative; z-index: 2; display: flex; align-items: center; min-height: 0; }
.hero-copy { display: flex; flex-direction: column; gap: 14px; max-width: 460px; padding-block: 14px; }
.hero-badge {
  display: inline-flex; align-items: center; align-self: flex-start; padding: 7px 13px;
  background: rgba(0, 0, 0, 0.14); border: 1px solid rgba(253, 243, 224, 0.5); border-radius: 24px;
  font-size: 11px; letter-spacing: -0.04px; color: var(--gold);
}
.hero h1 { font-weight: 600; font-size: clamp(1.4rem, 2.9vw, 2.6rem); line-height: 1.08; letter-spacing: -0.05em; color: #fff; overflow-wrap: break-word; max-width: 8.5em; }
/* Gold italic serif accent motif (brand) */
.accent { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: var(--amber); }
.hero h1 .accent, .cta h2 .accent, .on-dark .accent { color: var(--gold); }
.hero p.lead { font-size: 14px; line-height: 1.5; color: var(--cream); max-width: 430px; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; }
.hero-note { font-size: 11px; line-height: 1.4; color: var(--muted-cream); }

.stats { position: relative; z-index: 3; padding-bottom: 18px; }
.stats-grid { display: grid; grid-template-columns: minmax(0, 852fr) minmax(0, 564fr); gap: 24px; align-items: stretch; }
.stats-card {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(253, 232, 220, 0.12);
  box-shadow: inset 273px -165px 200px rgba(200, 104, 48, 0.2);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border-radius: 24px;
}
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 16px 18px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.stat .num { font-size: 36px; line-height: 1.1; color: var(--cream); }
.stat .lbl { font-size: 15px; line-height: 1.4; color: var(--muted-cream); }

.tone-panel { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 16px; }
.tone-nav { display: flex; gap: 12px; }
.tone-nav button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 60px; color: var(--ink); transition: transform .2s, background .2s; }
.tone-nav .prev { background: rgba(255, 255, 255, 0.24); color: #fff; backdrop-filter: blur(9px); }
.tone-nav .next { background: #fff; }
.tone-nav button:hover { transform: scale(1.06); }
.tone-nav svg { width: 18px; height: 18px; }
.tone-strip { display: flex; align-items: stretch; gap: 0; height: 52px; }
.tone-strip .chip { flex: 1 1 0; min-width: 0; display: grid; place-items: center; height: 52px; border-radius: 8px; }
.tone-strip .chip.wide { flex: 0 0 auto; width: 62px; }
.tone-strip .chip span { font-size: 9px; letter-spacing: 1.4px; color: #2D2A26; }

/* ============================================================
   PAIN POINT
   ============================================================ */
.pain .s-head { margin-bottom: 20px; }
.pain-title { font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.16; letter-spacing: -0.05em; color: var(--ink); max-width: 420px; }
.pain-title .accent { display: block; }
.pain-eyebrow { font-size: 14px; letter-spacing: -0.04em; color: var(--muted-brown); }
.pain-grid { display: grid; grid-template-columns: 1fr minmax(180px, 220px) 1fr; gap: 16px; align-items: stretch; }
.pain-col { display: flex; flex-direction: column; gap: 16px; }
.pain-col .pain-card { flex: 1; }
.pain-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  padding: 18px; min-height: 150px;
  background: radial-gradient(124% 143% at 0% 0%, #FDE8DC 0%, #FFFFFF 100%);
  border: 1px solid rgba(200, 104, 48, 0.22);
  border-radius: 14px;
}
.pain-card .idx {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: -1;
  font-family: var(--font-display); font-size: 116px; line-height: 1; letter-spacing: -0.05em;
  background: linear-gradient(206deg, rgba(200, 104, 48, 0.16) 12%, rgba(255,255,255,0) 72%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.pain-card .pico { display: grid; place-items: center; width: 34px; height: 34px; background: var(--terracotta); border-radius: 6px; color: #fff; }
.pain-card .pico svg { width: 17px; height: 17px; }
.pain-card h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.pain-card p { font-size: 13px; line-height: 1.5; color: var(--muted-brown-2); margin-top: 6px; }
.pain-card.summary { background: radial-gradient(124% 143% at 0% 0%, #FDE8DC 0%, #FFFFFF 100%); }
.pain-phone {
  display: grid; place-items: end center; padding: 18px 14px 0;
  background: radial-gradient(126% 143% at 0% 0%, #FDE8DC 0%, #FFFFFF 100%);
  border-radius: 16px; overflow: hidden;
}
.pain-phone img { width: 100%; max-width: 200px; border-radius: 20px 20px 0 0; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
/* Gold CTA button */
.btn-gold {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 16px 13px 20px;
  background: linear-gradient(180deg, #EBCB8C 0%, #C88A3E 100%);
  color: var(--ink); border-radius: 12px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  align-self: flex-start; transition: transform .2s, filter .2s;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-gold .dl { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(26, 15, 9, 0.16); }
.btn-gold .dl svg { width: 18px; height: 18px; }

.how-header { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.how-header .eyebrow { display: block; margin-bottom: 12px; }
.how-header .s-sub { padding-bottom: 4px; font-size: 14px; }
.how-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.how-col {
  display: flex; flex-direction: column; align-items: stretch; gap: 6px;
  padding: 7px;
  background: radial-gradient(142% 86% at 100% 0%, #C08AA6 0%, #FFFFFF 72%);
  border: 1px solid rgba(192, 138, 166, 0.4);
  border-radius: 18px;
}
.how-phone { border-radius: 12px; overflow: hidden; }
.how-phone img { width: 100%; display: block; }
.how-text { display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 14px; }
.how-col h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); }
.how-col p { font-size: 12.5px; line-height: 1.52; color: var(--muted-brown-2); }
.how-cta { display: flex; flex-direction: column; gap: 8px; }
.how-note { font-size: 11px; color: var(--ink); }
.how-appbtn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 4px 4px 12px; align-self: flex-start;
  background: radial-gradient(120% 120% at 100% 0%, #906828 0%, #6E5020 100%);
  border: 1px solid #FFF8F0; border-radius: 12px;
  transition: transform .2s, filter .2s;
}
.how-appbtn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.how-appbtn .txt { font-size: 14px; font-weight: 400; color: #fff; }
.how-appbtn .ic { display: grid; place-items: center; width: 34px; height: 34px; background: rgba(255,255,255,0.24); border-radius: 8px; color: #fff; }
.how-appbtn .ic svg { width: 20px; height: 20px; }

/* ============================================================
   DARK SHOWCASE
   ============================================================ */
.showcase { background: var(--dark-bg); padding-block: clamp(30px, 3.6vw, 58px); }
.showcase-grid { display: grid; grid-template-columns: 0.9fr 1.7fr; gap: 36px; align-items: center; }
.showcase-left { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.showcase-left .eyebrow { margin-bottom: 0; }
.showcase .s-title { font-size: clamp(1.3rem, 2.1vw, 1.8rem); }
.showcase-steps { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-template-columns: 1fr 1fr; gap: 7px 16px; margin-top: 4px; width: 100%; }
.showcase-steps .sc-step {
  display: block; width: 100%; text-align: left; background: none; border: none; font: inherit; cursor: pointer;
  font-size: 13px; color: var(--muted-dark); padding: 2px 0 2px 12px; border-left: 2px solid transparent; transition: color .2s, border-color .2s;
}
.showcase-steps .sc-step:hover { color: var(--cream); }
.showcase-steps .sc-step.active { color: var(--gold); border-left-color: var(--gold); font-weight: 500; }
.sc-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  aspect-ratio: 776 / 490; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px dashed rgba(253,232,220,0.28);
  color: var(--cream); text-align: center;
}
.sc-placeholder strong { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
.sc-placeholder span { font-size: 12px; color: var(--muted-dark); font-weight: 400; }
.showcase-right {
  position: relative;
  background: radial-gradient(120% 130% at 72% 0%, #6B3F27 0%, #241610 82%);
  border: 1px solid rgba(253, 232, 220, 0.12);
  border-radius: 18px; padding: 42px 34px 26px;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.showcase-right img { width: 100%; display: block; }
.sc-tag { position: absolute; top: 18px; left: 26px; z-index: 2; font-size: 12px; letter-spacing: 0.02em; color: var(--muted-cream); }
.showcase .tone-nav { margin-top: 10px; }

/* ============================================================
   FOR EVERYONE / USERS / CREATORS
   ============================================================ */
.everyone { padding-block: clamp(40px, 5vw, 68px) 16px; }
.everyone .s-head { align-items: center; text-align: center; margin-inline: auto; max-width: 820px; gap: 14px; }
.everyone .s-sub { margin-inline: auto; max-width: 780px; }
.everyone .eyebrow {
  border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 14px; color: var(--muted-brown);
}

.uc { padding-block: 22px clamp(36px, 4vw, 60px); }
.uc-cardwrap {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F0 100%);
  border: 1px solid var(--hairline); border-radius: 24px;
  padding: 22px; overflow: hidden;
}
.uc-label {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 13px; letter-spacing: 0; color: var(--bronze);
  background: #FDF3E0; border: 1px solid var(--amber); border-radius: 8px; padding: 5px 12px 5px 6px;
}
.uc-label .ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--bronze); color: #fff; }
.uc-label .ico svg { width: 15px; height: 15px; }
.uc-title { font-weight: 500; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.2; letter-spacing: -0.03em; color: var(--ink); }
.uc-title .accent { white-space: nowrap; }

.uc-header { display: grid; grid-template-columns: 0.85fr 1fr; gap: 40px; align-items: stretch; margin-bottom: 28px; }
.uc-header-left { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-content: flex-start; }
.uc-header-right { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: space-between; }
.uc-header-right .s-sub { font-size: 15px; margin: 0; }

.uc-cards { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.uc-cards::-webkit-scrollbar { display: none; }
.uc-fcard { flex: 0 0 clamp(215px, 27%, 270px); scroll-snap-align: start; border-radius: 20px; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; }
.uc-fcard.img-only { flex: 0 0 clamp(270px, 33%, 340px); padding: 0; }
.uc-fcard.img-only img { width: 100%; height: 100%; object-fit: cover; }
.uc-fcard.tinted { padding: 26px 26px 0; color: #fff; }
.uc-fcard.gold  { background: linear-gradient(165deg, #D4A54F 0%, #C88A3E 100%); }
.uc-fcard.terra { background: linear-gradient(165deg, #C86830 0%, #9B5B3A 100%); }
.uc-fcard.plum  { background: linear-gradient(165deg, #C08AA6 0%, #A66E8A 100%); }
.uc-fcard h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.uc-fcard p { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.88); }
.uc-fcard .shot { margin-top: 20px; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 -6px 30px rgba(0,0,0,0.15); }
.uc-fcard .shot img { width: 100%; display: block; }
.uc-nav { margin-top: 28px; justify-content: center; }
.badge-live { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; background: var(--live); padding: 3px 8px; border-radius: 999px; }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder { background: #fff; padding-block: clamp(36px, 4vw, 64px) clamp(56px, 7vw, 104px); }
.founder-grid { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center; }
.founder-img { border-radius: 16px; overflow: hidden; align-self: center; }
.founder-img img { width: 100%; height: auto; display: block; }
.founder-copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.founder-copy .eyebrow { border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 14px; color: var(--muted-brown); }
.founder-copy .s-title { margin-bottom: 2px; }
.founder-copy .quote { font-size: 13px; line-height: 1.6; color: var(--muted-brown); margin: 0; }
.founder-copy .sign { font-weight: 600; color: var(--ink); }
.marquee { overflow: hidden; padding-block: 10px; white-space: nowrap; }
.marquee-track { display: inline-block; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee-track span { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 300; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bronze); padding-right: 24px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   CTA
   ============================================================ */
.cta { background: var(--page-bg); padding-top: 0; padding-bottom: clamp(36px, 4vw, 60px); }
.cta .marquee { margin-bottom: clamp(24px, 3vw, 44px); }
.cta-women { max-width: 460px; margin: 0 auto; position: relative; z-index: 1; }
.cta-women img {
  width: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%);
          mask-image: linear-gradient(180deg, #000 62%, transparent 96%);
}
.cta-head { text-align: center; max-width: 760px; margin: -70px auto 0; position: relative; z-index: 2; }
.cta h2 { font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -0.055em; color: var(--ink); overflow-wrap: break-word; }
.cta-sub { color: var(--muted-brown); font-size: 15px; line-height: 1.45; margin: 12px auto 0; max-width: 500px; }
.cta-card {
  position: relative; z-index: 2; margin-top: 24px;
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
  padding: 22px 36px;
  background: linear-gradient(110deg, #F8EEDD 0%, #EFDCC0 100%);
  border: 1px solid #fff; border-radius: 20px;
  box-shadow: 0 30px 80px rgba(120, 80, 40, 0.14);
}
.cta-card .cc-phone { width: 300px; }
.cta-card .cc-phone img { width: 100%; }
.cta-card .cc-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-card h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; line-height: 1.3; color: var(--ink); }
.cta-card .note { font-size: 12px; color: var(--muted-brown); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; background: var(--footer-bg); overflow: hidden; padding-top: 64px; padding-bottom: 22px; }
.footer-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 280px; }
.footer-brand .fb-top { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: 0.03em; }
.footer-brand .fb-top img { width: 36px; height: 36px; border-radius: 8px; }
.footer-brand p { font-size: 13px; line-height: 1.6; color: var(--muted-cream); }
.footer-social { display: flex; gap: 12px; margin-top: 2px; }
.footer-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.14); color: #fff; transition: transform .2s, background .2s; }
.footer-social a:hover { transform: translateY(-2px); background: rgba(255,255,255,0.24); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h5 { font-size: 14px; font-weight: 600; color: var(--amber); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; letter-spacing: -0.46px; color: var(--muted-dark); padding-block: 5px; transition: color .2s; }
.footer-col a:hover { color: var(--cream); }
.footer-wordmark {
  position: relative; z-index: 1; text-align: center; margin: 20px 0 0;
  font-weight: 800; font-size: clamp(3rem, 15.5vw, 12rem); line-height: 0.86; letter-spacing: -0.04em;
  background: linear-gradient(180deg, #CC9445 0%, #8A6430 55%, #4A3620 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  user-select: none; pointer-events: none;
}
.footer-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--cream); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Container widens as the viewport narrows, so side margins stay sensible */
@media (max-width: 1200px) { .container { width: 82%; } }
@media (max-width: 1000px) { .container { width: 86%; } }
@media (max-width: 780px)  { .container { width: 90%; } }
@media (max-width: 520px)  { .container { width: 93%; } }

/* ~1024: pain grid drops the middle phone below the cards (still 2 columns) */
@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .pain-phone { grid-column: 1 / -1; order: 3; max-height: 460px; max-width: 320px; margin-inline: auto; }
}

/* ~880: two-column content collapses to a single column; hero stacks too.
   Hero order becomes: nav (header) -> copy -> portrait -> tone panel -> stats card */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  /* CTA card stacks + centers alongside the rest of the mobile layout */
  .cta-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-card .cc-phone { width: 220px; }
  .cta-card .cc-copy { align-items: center; }
  /* keep "Get the app" CTA permanently in the bar; tighten spacing to fit alongside the toggle */
  .nav { gap: 8px; padding-right: 8px; }
  .nav > .nav-cta { margin-left: auto; }
  .mobile-menu {
    display: flex; flex-direction: column; gap: 4px;
    overflow: hidden; max-height: 0; opacity: 0;
    background: rgba(18, 14, 12, 0.94);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
    padding-inline: 20px;
    transition: max-height .28s ease, opacity .2s ease, margin .28s ease, padding .28s ease;
    margin-top: 0;
  }
  .mobile-menu.open { max-height: 360px; opacity: 1; margin-top: 12px; padding-block: 8px; }
  .mobile-menu a {
    color: var(--cream); font-size: 15px; padding: 12px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu .nav-cta {
    align-self: flex-start; margin-top: 10px; border-bottom: 0; color: var(--ink);
  }
  .hero-block { display: flex; flex-direction: column; }
  .nav-wrap { order: 1; }
  .hero-block > .container:not(.stats) { order: 2; }
  .hero-portrait { order: 3; }
  .hero-block > .container.stats { order: 4; padding-top: 8px; }
  .stats-grid { display: flex; flex-direction: column; gap: 14px; }
  .tone-panel { order: 1; padding-top: 0; }
  .tone-nav { justify-content: center; }
  .stats-card { order: 2; }
  .hero { min-height: auto; justify-content: center; }
  .hero-copy { padding-block: 16px 20px; max-width: 100%; margin-inline: auto; align-items: center; text-align: center; }
  .hero-copy .hero-actions { align-items: center; }
  .hero-copy .hero-badge { align-self: center; }
  .hero h1 { max-width: 100%; }
  .hero-portrait { position: relative; top: auto; right: auto; bottom: auto; width: 52%; margin: 4px auto 0; }
  .how-header { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .how-cols { grid-template-columns: 1fr; gap: 22px; max-width: 400px; margin-inline: auto; }
  .showcase-grid { grid-template-columns: 1fr; gap: 28px; }
  .uc-header { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .founder-grid { grid-template-columns: 1fr; gap: 28px; }
  .founder-img { max-width: 440px; margin-inline: auto; }
}

/* ~780: footer stacks */
@media (max-width: 780px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }
}

/* ~600: everything single column + tighten small bits */
@media (max-width: 600px) {
  .pain-grid { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .store-row { flex-direction: column; align-items: center; }
  .store-badge { justify-content: center; }
  .store-badge img { height: 50px; }
  .uc-fcard { flex-basis: 86%; }
  .hero-portrait { width: 72%; }
  .nav-cta { padding: 11px 15px; font-size: 13px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ~400: narrow phones — shrink brand + CTA so logo, "Get the app" and the
   toggle all fit on one row without crowding */
@media (max-width: 400px) {
  .nav { gap: 6px; padding: 8px 8px 8px 14px; }
  .nav-brand { gap: 8px; }
  .nav-brand img { width: 30px; height: 30px; }
  .nav-brand span { font-size: 15px; }
  .nav-cta { padding: 9px 12px; font-size: 12px; }
  .nav-toggle { font-size: 22px; padding: 6px; }
}

/* ============================================================
   FOR BRANDS PAGE (v3 restyle)
   ============================================================ */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; align-self: flex-start; }
.pill.on-light { border: 1px solid var(--hairline); color: var(--eyebrow); }
.pill.on-dark  { border: 1px solid rgba(253,232,220,0.3); color: var(--gold); }

.fb-hero { min-height: auto; }
.fb-insight { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px,4vw,52px) 0 clamp(36px,4vw,60px); max-width: 900px; }
.fb-insight h1 { font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.03em; color: #fff; text-transform: uppercase; }
.fb-insight h1 .accent { text-transform: none; }
.fb-insight p { font-size: 15px; line-height: 1.6; color: var(--cream); max-width: 720px; margin: 0; }
.fb-insight .fb-emph { font-weight: 600; color: #fff; }
.fb-stats { grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.fb-stats .stat { align-items: flex-start; text-align: left; gap: 8px; padding: 22px 20px; }
.fb-stats .stat + .stat { border-left: 1px solid rgba(255,255,255,0.08); }
.fb-stats .num { font-size: 30px; }
.fb-stats .lbl { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.fb-stats .sub { font-size: 12px; line-height: 1.4; color: var(--muted-cream); }

.fb-section .s-head { margin-bottom: 32px; max-width: 720px; }
.fb-reach h2, .fb-why h2, .fb-talk h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.12; letter-spacing: -0.03em; color: var(--ink); }
.fb-reach h2 { text-transform: uppercase; }
.fb-reach.on-dark h2, .fb-why.on-dark h2 { color: #fff; }

.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.brand-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 14px;
  padding: 22px; border-radius: 16px; background: radial-gradient(124% 143% at 0% 0%, #FDE8DC 0%, #FFFFFF 100%);
  border: 1px solid rgba(200,104,48,0.22); }
.brand-card .idx { position: absolute; right: 12px; top: -20px; z-index: -1; font-family: var(--font-display);
  font-size: 120px; line-height: 1; letter-spacing: -0.05em; color: transparent;
  background: linear-gradient(206deg, rgba(200,104,48,0.16) 12%, rgba(255,255,255,0) 72%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-card .pico { display: grid; place-items: center; width: 36px; height: 36px; background: var(--terracotta); border-radius: 8px; color: #fff; }
.brand-card .pico svg { width: 19px; height: 19px; }
.brand-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.brand-card p { font-size: 13px; line-height: 1.55; color: var(--muted-brown-2); flex: 1; }
.brand-card .tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bronze); }

.fb-why.on-dark { background: var(--dark-bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.why-grid h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.why-grid p { font-size: 13.5px; line-height: 1.6; color: var(--cream); }

.fb-talk-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.fb-talk-left { display: flex; flex-direction: column; gap: 16px; }
.fb-talk-left p { font-size: 15px; line-height: 1.6; color: var(--muted-brown); }
.fb-talk-left a.email { font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bronze); font-size: 14px; }
.brand-form { background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F0 100%); border: 1px solid var(--hairline); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.brand-form label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-brown); }
.brand-form input, .brand-form select, .brand-form textarea { font-family: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--hairline); border-radius: 10px; padding: 11px 13px; width: 100%; }
.brand-form textarea { resize: vertical; min-height: 96px; }
.brand-form input:focus, .brand-form select:focus, .brand-form textarea:focus { outline: none; border-color: var(--amber); }
.brand-form .send { margin-top: 6px; justify-content: center; padding: 13px; font-size: 14px; }

/* For Brands page — responsive (placed after brands base styles for correct cascade) */
@media (max-width: 880px) {
  .fb-stats { grid-template-columns: 1fr 1fr; }
  .fb-stats .stat:nth-child(3) { border-left: none; }
  .why-grid { grid-template-columns: 1fr; gap: 22px; }
  .fb-talk-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand-cards { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .fb-stats { grid-template-columns: 1fr; }
  .fb-stats .stat + .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
}
