/* AI Influencer Network — draft sales landing page
   Palette from the brand kit, with burgundy used only as a fine accent.
   Display: Playfair Display. Body: Montserrat. */

:root {
  --rose-gold: #B77868;
  --blush: #EBD4D0;
  --ivory: #FAF5F1;
  --ivory-deep: #F3EAE4;
  --paper: #FFFCF9;
  --taupe: #B79B94;
  --ink: #251A1D;
  --muted: #5E4A47;
  --burgundy: #70283A;
  --line: rgba(183, 155, 148, 0.38);
  --line-strong: rgba(183, 120, 104, 0.45);
  --shadow: 0 18px 40px rgba(37, 26, 29, 0.08);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
  --radius: 0.85rem;
  --sticky-h: 5.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; }

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 245, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 2.85rem;
  height: 2.8rem;
  object-fit: cover;
  border-radius: 0.45rem;
  box-shadow: 0 0 0 1px var(--line);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.nav {
  display: none;
  margin-left: auto;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover { color: var(--ink); }

.btn-header { margin-left: auto; }

@media (min-width: 800px) {
  .nav { display: flex; }
  .btn-header { margin-left: 1.75rem; }
  .brand-name { font-size: 1.08rem; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: #3A2A2E;
  box-shadow: 0 8px 22px rgba(37, 26, 29, 0.18);
}

.btn-primary:active { transform: translateY(1px); }

.btn-header {
  padding: 0.55rem 1rem;
  font-size: 0.68rem;
}

.btn-lg {
  padding: 0.95rem 1.7rem;
  font-size: 0.78rem;
}

.btn:focus-visible,
.nav a:focus-visible,
.footer-social a:focus-visible,
.brand:focus-visible,
.poster-link:focus-visible,
.sticky-join a:focus-visible {
  outline: 2px solid var(--rose-gold);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(235, 212, 208, 0.7) 0%, rgba(250, 245, 241, 0) 58%),
    var(--ivory);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3.25rem;
  text-align: center;
}

.hero-logo {
  width: min(15.5rem, 68vw);
  height: auto;
  margin: 0 auto 1.35rem;
  border-radius: 1.1rem;
  box-shadow:
    0 0 0 1px rgba(183, 155, 148, 0.28),
    var(--shadow);
}

.overline {
  margin: 0 0 0.7rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-gold);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 5.4vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lede {
  margin: 0 auto 1.6rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-note {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- Sections ---------- */

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.25rem 1.25rem;
}

.section.narrow { max-width: 46rem; }

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.1rem;
}

.section-head h2,
.join-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  line-height: 1.2;
  color: var(--ink);
}

.section-intro,
.join-copy {
  margin: 0.85rem auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 36rem;
}

.prose {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--muted);
}

.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

.band-blush {
  background:
    linear-gradient(180deg, rgba(235, 212, 208, 0.55), rgba(235, 212, 208, 0.88));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-soft {
  background: var(--ivory-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 36rem;
  display: grid;
  gap: 1.1rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.15rem;
}

.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--rose-gold);
  color: var(--rose-gold);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.steps h3 {
  margin: 0.15rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- Card grid (5 cards: 3+2 centred on desktop, 2+2+1 on tablet) ---------- */

.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }

  .card-grid > li:last-child {
    grid-column: 1 / -1;
    max-width: calc((100% - 1.4rem) / 2);
    justify-self: center;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem 1.35rem;
  }

  .card-grid > li,
  .card-grid > li:last-child {
    grid-column: span 2;
    max-width: none;
    justify-self: stretch;
    width: auto;
  }

  .card-grid > li:nth-child(4) { grid-column: 2 / span 2; }
  .card-grid > li:nth-child(5) { grid-column: 4 / span 2; }
}

.poster-card {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(37, 26, 29, 0.04);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.poster-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.poster-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.poster {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blush);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poster-card h3 {
  margin: 1.05rem 1.15rem 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--ink);
}

.poster-card p {
  margin: 0 1.15rem 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  flex: 1;
}

/* ---------- Who it's for ---------- */

.split {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.split-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
}

.split-card h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}

.split-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.split-card li {
  position: relative;
  padding: 0 0 0.75rem 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.split-card li:last-child { padding-bottom: 0; }

.split-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--rose-gold);
}

/* ---------- Proof ---------- */

.proof-stats {
  list-style: none;
  margin: 0 auto 1.25rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 36rem;
}

@media (min-width: 640px) {
  .proof-stats { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.proof-stats li {
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.1rem 1.2rem;
}

.proof-figure {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.proof-stats p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.proof-stats .proof-figure {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.proof-note {
  margin: 0 auto;
  max-width: 34rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Join panel ---------- */

.join-panel {
  text-align: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.join-panel h2 { margin: 0 0 0.2rem; }

.join-copy { margin-bottom: 1.6rem; }

/* ---------- FAQ ---------- */

.faq {
  max-width: 40rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.8rem 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid var(--rose-gold);
  border-bottom: 1.5px solid var(--rose-gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq details p {
  padding: 0 0 1.2rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.faq summary:hover { color: var(--burgundy); }

/* Burgundy is reserved for this small hover accent, and nowhere as a fill. */

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 3rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--ivory-deep);
}

.footer-brand {
  display: inline-block;
  text-decoration: none;
}

.footer-brand img {
  width: 5.5rem;
  height: auto;
  margin: 0 auto 0.9rem;
  border-radius: 0.8rem;
  box-shadow: 0 0 0 1px var(--line);
}

.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}

.footer-tag {
  margin: 0.4rem 0 0;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-gold);
}

.footer-social { margin-top: 1.15rem; }

.footer-social a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.footer-social a:hover { color: var(--ink); }

.footer-social .handle {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
  font-size: 1.15em;
}

.copyright {
  margin-top: 1.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Sticky mobile CTA ---------- */

.sticky-join { display: none; }

@media (max-width: 799px) {
  .btn-header { display: none; }

  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px)); }

  .sticky-join {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(250, 245, 241, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px rgba(37, 26, 29, 0.06);
    text-align: center;
  }

  .sticky-join .btn {
    width: 100%;
    max-width: 28rem;
    font-size: 0.72rem;
    padding: 0.9rem 1rem;
    letter-spacing: 0.06em;
  }
}

@media (min-width: 800px) {
  .hero-inner { padding: 3rem 1.5rem 4.25rem; }
  .section { padding: 4.25rem 2rem; }
  .join-panel { padding: 4.5rem 2rem; }
  .hero-logo { width: 17.5rem; }
}
