/* Palette from the MICELIA design */
:root {
  --purple: #9524A9;
  --purple-dark: #6E1A80;
  --coral: #F9604F;
  --blue: #2F56C2;
  --blue-bright: #4A78EC;
  --ink: #2D2235;
  --text: #4A4050;
  --muted: #5E5566;
  --grey: #F4F4F5;
  --line: #E6DFEA;
  --pink-light: #FBE3F8;
  --pink-note: #F3D6F7;
  --gradient: linear-gradient(90deg, #F4E4F8 0%, #FDE6E2 55%, #E4EAFD 100%);
  --gradient-diag: linear-gradient(135deg, #F4E4F8 0%, #FDE6E2 55%, #E4EAFD 100%);
  --header-h: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
}
p, h1, h2, h3, ul, figure { margin: 0; }
img { max-width: 100%; }
a { color: var(--purple); }
a:hover { color: var(--purple-dark); }
strong { color: var(--ink); }

/* Anchor targets land below the sticky header */
section[id], [id="estudio"] { scroll-margin-top: calc(var(--header-h) + 12px); }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.stack-6, .stack-8, .stack-14, .stack-22, .stack-28, .stack-32, .stack-36 { display: flex; flex-direction: column; }
.stack-6 { gap: 6px; } .stack-8 { gap: 8px; } .stack-14 { gap: 14px; } .stack-22 { gap: 22px; }
.stack-28 { gap: 28px; } .stack-32 { gap: 32px; } .stack-36 { gap: 36px; }
.maxw-820 { max-width: 820px; }
.self-start { align-self: flex-start; }

/* Colour helpers */
.c-purple { color: var(--purple); } .c-blue { color: var(--blue); } .c-coral { color: var(--coral); } .c-rust { color: #A8321F; }
.bg-purple { background: var(--purple); } .bg-blue { background: var(--blue-bright); } .bg-coral { background: var(--coral); }

/* Text styles */
.eyebrow { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--text); }
.eyebrow-light { color: var(--pink-light); font-weight: 700; }
.kicker { font-size: 14px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.kicker-sm { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.label { font-size: 14px; font-weight: 700; color: var(--muted); }
.label-dark { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--ink); }
.muted { color: var(--text); }
.small { font-size: 15px; }
.tiny { font-size: 12px; color: var(--muted); }
.intro { font-size: 19px; color: var(--text); max-width: 820px; }
.note { font-size: 15px; color: var(--muted); }
.source { font-size: 13px; color: var(--pink-note); }
.stat { font-weight: 800; font-size: 46px; line-height: 1.2; }
h2 { font-weight: 800; font-size: 46px; line-height: 1.1; color: var(--purple); }
.h2-sm { font-size: 40px; line-height: 1.15; max-width: 900px; }
h3 { font-size: 28px; line-height: 1.2; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 16px 26px; border-radius: 999px; line-height: 1.3;
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(.92); }
.btn-sm { padding: 14px 24px; margin-top: 6px; }
.btn-xs { padding: 12px 22px; }
.btn-lg { padding: 16px 36px; font-weight: 800; font-size: 17px; }
.btn-purple, .btn-purple:hover { background: var(--purple); color: #fff; }
.btn-blue, .btn-blue:hover { background: var(--blue); color: #fff; }
.btn-coral, .btn-coral:hover { background: var(--coral); color: #fff; }
.btn-dark, .btn-dark:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--gradient); }
.header-inner { min-height: var(--header-h); padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; }
.brand img { display: block; height: 56px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; font-size: 15px; font-weight: 600; }
.main-nav a { text-decoration: none; color: var(--purple); }
.main-nav .btn { padding: 12px 24px; color: #fff; }

/* Hero */
.hero-inner { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-bottom: 72px; }
.hero h1 { font-weight: 800; font-size: 56px; line-height: 1.06; color: var(--purple); letter-spacing: -.01em; }
.lead { font-size: 20px; color: var(--text); max-width: 540px; }
.powered { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-style: italic; }
.powered img { height: 22px; width: auto; display: block; }
.hero-img { flex: 1 1 440px; min-width: 0; width: 100%; max-width: 600px; height: auto; display: block; margin-left: auto; }

/* Dark bands */
.band-survey { background: var(--muted); color: #fff; }
.band-survey .wrap { padding-top: 44px; padding-bottom: 44px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.band-grey { background: var(--grey); }

/* Section titles */
.title-row { display: flex; align-items: center; gap: 16px; }
.title-row-wrap { flex-wrap: wrap; gap: 8px 20px; }
.mark { flex: 0 0 56px; width: 56px; height: 56px; display: block; }
.title-tail { font-size: 28px; font-weight: 700; color: var(--purple); }

/* Audiences */
.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.card { background: var(--grey); border-radius: 28px; padding: 36px; }
.audience { display: flex; flex-direction: column; gap: 18px; }
.list { padding-left: 20px; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.problem { background: var(--text); color: #fff; border-radius: 28px; padding: 36px 40px; display: flex; flex-direction: column; gap: 20px; }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.problem-item { display: flex; gap: 18px; align-items: flex-start; }
.problem-item .stat { line-height: 1; }

/* Pillars */
.pillar { background: var(--grey); border-radius: 32px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.pillar-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pillar-head { display: flex; align-items: center; gap: 14px; }
.num { flex: 0 0 52px; height: 52px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 26px; display: flex; align-items: center; justify-content: center; }
.tag { font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--muted); }
.tag.c-blue { color: var(--blue); }
.pillar-title { font-size: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.chip-plain { background: transparent; color: var(--muted); padding: 8px 4px; }
.seal { background: #fff; border: 1px solid var(--line); color: var(--blue); font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

.feature { flex: 1 1 400px; min-width: 0; background: #fff; border-radius: 24px; padding: 24px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.feature-img { flex: 0 0 240px; width: 240px; height: auto; border-radius: 14px; display: block; }
.feature-img-shadow { box-shadow: 0 10px 28px rgba(45,34,53,.18); }
.feature-copy { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.feature-title { font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--ink); }

.course { background: #fff; border-radius: 20px; padding: 18px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; border: 1px solid var(--line); }
.course-img { flex-basis: 210px; width: 210px; }
.course .feature-copy { flex-basis: 240px; gap: 6px; }
.course .btn { margin-top: 4px; padding: 11px 20px; }
.course-title { font-size: 19px; font-weight: 800; color: var(--ink); }

.photo-grid { flex: 1 1 400px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.photo { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: 50% 50%; border-radius: 22px; display: block; }
.photo-wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

/* Marketplace mock-up */
.mock { flex: 1 1 480px; min-width: 0; background: #fff; border-radius: 26px; box-shadow: 0 20px 48px rgba(45,34,53,.16); overflow: hidden; display: flex; flex-direction: column; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: var(--gradient); }
.mock-brand { display: flex; align-items: center; gap: 8px; }
.mock-brand img { display: block; }
.mock-name { font-weight: 800; font-size: 16px; color: var(--purple); }
.mock-sub { font-size: 13px; font-weight: 600; color: var(--ink); }
.mock-tabs { display: flex; gap: 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.mock-tabs .active { color: var(--ink); border-bottom: 2px solid var(--ink); }
.mock-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mock-agent { background: var(--gradient); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.mock-agent-head { display: flex; align-items: center; gap: 8px; }
.mock-agent-head img { display: block; background: #fff; border-radius: 50%; padding: 2px; }
.mock-agent-head p { font-size: 13px; font-weight: 800; color: var(--ink); }
.bubble { font-size: 13px; padding: 8px 12px; }
.bubble-me { align-self: flex-end; max-width: 85%; background: var(--ink); color: #fff; border-radius: 14px 14px 4px 14px; }
.bubble-bot { max-width: 90%; background: #fff; color: var(--ink); border-radius: 14px 14px 14px 4px; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-chip { background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.mini-chip.c-rust { color: #A8321F; }
.mock-search { display: flex; align-items: center; gap: 10px; background: var(--grey); border-radius: 999px; padding: 11px 16px; color: var(--muted); font-size: 14px; }
.filter { background: var(--grey); color: var(--ink); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.filter.active { background: var(--ink); color: #fff; }
.profile { display: flex; gap: 12px; align-items: center; border-radius: 18px; padding: 10px 12px; background: #fff; border: 1px solid #ECEAF2; }
.profile img { flex: 0 0 58px; width: 58px; height: 58px; object-fit: contain; display: block; }
.profile-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.profile-name { font-size: 14px; font-weight: 800; color: var(--ink); }
.profile-meta { font-size: 12px; color: var(--muted); }
.profile-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.profile-tags span { background: var(--grey); color: var(--muted); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.profile-btn { flex: 0 0 auto; border: 1px solid var(--ink); color: var(--ink); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

/* What we're doing */
.activities { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.activity { background: var(--grey); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.activity.gradient { background: var(--gradient-diag); }
.icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; }
.icon svg { fill: none; stroke: var(--purple); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.activity-title { font-weight: 800; font-size: 19px; color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 20px; display: block; }

/* Join */
.join { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.join-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.join-copy h2 { font-size: 44px; }
.join-copy .list { gap: 8px; }
.join-card { flex: 1 1 420px; min-width: 0; background: #fff; border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 16px 40px rgba(45,34,53,.08); }
.join-card-title { font-size: 22px; font-weight: 800; color: var(--ink); }
.join-card .btn { margin-top: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: #D9CFE0; }
.footer-inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer-col { display: flex; flex-direction: column; gap: 6px; flex: 1 1 280px; }
.footer-col a { color: #F7B9AE; }
.footer-brand { display: flex; align-items: baseline; gap: 8px; color: #fff; }
.footer-name { font-weight: 700; font-size: 24px; }
.footer-sub { font-style: italic; }
.disclaimer { flex: 1 1 100%; font-size: 13px; border-top: 1px solid #4A3E54; padding-top: 18px; }

/* Small screens */
@media (max-width: 760px) {
  :root { --header-h: 108px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .main-nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; font-size: 14px; white-space: nowrap; scrollbar-width: none; }
  .main-nav .btn { padding: 8px 16px; }
  .brand img { height: 44px; }
  .hero h1 { font-size: 38px; }
  .hero-copy { padding-bottom: 24px; }
  h2, .join-copy h2 { font-size: 32px; }
  .h2-sm { font-size: 28px; }
  .title-tail { font-size: 22px; }
  .mark { flex-basis: 40px; width: 40px; height: 40px; }
  .stat { font-size: 38px; }
  .card, .pillar, .problem, .join-card { padding: 24px; border-radius: 22px; }
  .audiences, .gallery, .activities, .problem-grid { grid-template-columns: 1fr; }
  .feature-img, .course-img { flex-basis: 100%; width: 100%; max-width: 260px; }
}
