:root {
  --red: #c8102e;
  --red-dark: #a50d26;
  --red-deep: #7a0619;
  --red-soft: #fdecef;
  --ink: #12163a;
  --ink-2: #3d4060;
  --muted: #74778f;
  --line: #eceaf0;
  --bg: #ffffff;
  --bg-2: #fbf7f8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(122, 6, 25, 0.08);
  --shadow-lg: 0 24px 60px rgba(122, 6, 25, 0.16);
  /* diamond lattice like the reference swatch */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 24 12 12 24 0 12Z' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='%23000' fill-opacity='.12'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select { font: inherit; color: inherit; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(200, 16, 46, .22); border-radius: 10px; }
.btn-red:hover { background: var(--red-dark); }
.btn-white { background: #fff; color: var(--red); border-radius: 10px; }
.btn-ghost { border: 1.5px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-outline-white { border: 1.5px solid var(--line); color: var(--ink); background: #fff; border-radius: 10px; }
.btn-outline-white:hover { border-color: var(--red); color: var(--red); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 32px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e0244a, var(--red)); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em;
}
.logo span b { color: var(--red); }
.nav { display: flex; gap: 30px; font-weight: 500; font-size: 16px; color: var(--ink); margin-left: auto; }
.nav a:hover, .nav a.active { color: var(--red); }
.header-cta { margin-left: 12px; display: flex; gap: 10px; align-items: center; }
.header-cta .login { font-weight: 600; font-size: 15px; padding: 0 10px; }
.menu-btn { display: none; margin-left: auto; font-size: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ink); text-align: center;
  background:
    radial-gradient(60% 50% at 15% 10%, #ffe4e8 0%, transparent 70%),
    radial-gradient(50% 45% at 90% 20%, #ffeef0 0%, transparent 70%),
    linear-gradient(#fff9fa, #fff);
}
.hero-inner { padding: 72px 0 40px; max-width: 900px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: 0 4px 14px rgba(200,16,46,.06);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.15); }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.1; letter-spacing: -.025em; margin: 22px 0 20px; font-weight: 700; }
.accent { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 600; color: var(--red); letter-spacing: -.01em; }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 720px; margin: 0 auto; line-height: 1.75; }

.hero-search {
  margin: 34px auto 0; display: flex; background: #fff; border-radius: 14px; padding: 6px; gap: 6px;
  box-shadow: 0 14px 40px rgba(18,22,58,.10); border: 1px solid var(--line); max-width: 620px;
}
.hero-search select, .hero-search input { border: 0; outline: 0; background: transparent; color: var(--ink); }
.hero-search select { padding: 0 12px 0 14px; border-right: 1px solid var(--line); font-weight: 600; }
.hero-search input { flex: 1; padding: 12px; min-width: 0; }
.hero-search .btn { border-radius: 10px; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero-tags a { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.hero-tags a:hover { border-color: var(--red); color: var(--red); }

/* curved creator reel */
.reel {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  perspective: 1400px; padding: 30px 0 70px; margin: 0 -60px;
}
.reel-card {
  position: relative; flex: none; width: 200px; border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(18,22,58,.18); background: var(--red-soft);
  transition: transform .4s;
}
.reel-card img { width: 100%; height: 100%; object-fit: cover; }
.reel-card .reel-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; text-align: left; color: #fff;
  background: linear-gradient(transparent, rgba(10,12,30,.75));
}
.reel-info b { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.reel-info .verified { color: #fff; }
.reel-info span { font-size: 12px; opacity: .85; }
.reel-card .reel-plat {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: var(--red);
}
.reel-card .reel-plat svg { width: 16px; height: 16px; }
.reel-card .reel-er {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--ink);
}

.fc-head { display: flex; gap: 12px; align-items: center; }
.fc-head img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--red-soft); }
.fc-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 4px; }
.fc-handle { color: var(--muted); font-size: 13px; }
.up { color: #12a150; font-size: 12px; font-weight: 700; }

.verified { width: 15px; height: 15px; color: var(--red); flex: none; }

/* ---------- Logos strip ---------- */
.logos { padding: 36px 0; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.logos-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; opacity: .55; font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--ink-2); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.kicker { color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.15; letter-spacing: -.025em; margin: 10px 0 14px; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 17px; }

.stats-band { background: var(--bg-2); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid b { display: block; font-size: 40px; font-weight: 800; color: var(--red); letter-spacing: -.03em; }
.stats-grid span { color: var(--ink-2); font-weight: 500; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.feature .ico {
  width: 50px; height: 50px; border-radius: 12px; background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse .split-media { order: 2; }
.split h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; line-height: 1.15; margin: 10px 0 16px; }
.split p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; font-weight: 500; }
.checks li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.split-media {
  border-radius: 24px; padding: 28px; min-height: 340px; border: 1px solid #f6dfe3;
  background: radial-gradient(70% 70% at 20% 10%, #ffe1e6, transparent 70%), linear-gradient(140deg, #fff5f6, #fdeef1);
  display: grid; place-items: center;
}
.panel { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px; width: 100%; max-width: 420px; }
.panel h4 { font-size: 14px; margin-bottom: 14px; display: flex; justify-content: space-between; }
.panel h4 span { color: var(--muted); font-weight: 500; }
.bar-row { display: grid; grid-template-columns: 90px 1fr 42px; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 10px; }
.bar { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--red); border-radius: inherit; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.mini-row:first-of-type { border-top: 0; }
.mini-row .avatar { width: 36px; height: 36px; }
.mini-row .grow { flex: 1; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--red-soft); color: var(--red); }
.tag.green { background: #e7f7ee; color: #12a150; }
.tag.amber { background: #fff4e0; color: #b7791f; }

/* top creators preview on home */
.creator-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-2); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.t-card .stars { color: #f5a524; letter-spacing: 2px; }
.t-card p { margin: 12px 0 20px; color: var(--ink-2); }
.t-card .who { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.t-card .who span { color: var(--muted); display: block; font-size: 13px; }

/* ---------- CTA ---------- */
.cta {
  border-radius: 28px; padding: 64px; text-align: center; color: var(--ink); border: 1px solid #f6dfe3;
  background: radial-gradient(60% 80% at 10% 0%, #ffe1e6, transparent 70%), radial-gradient(50% 80% at 100% 100%, #ffe9ec, transparent 70%), #fff7f8;
}
.cta h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.025em; line-height: 1.1; }
.cta p { color: var(--ink-2); margin: 14px auto 28px; max-width: 520px; font-size: 17px; }
.cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #0f1230; color: #b9bbd0; padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer h5 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   CREATORS PAGE
   ========================================================= */
.page-hero {
  color: var(--ink); padding: 48px 0 84px; text-align: center;
  background: radial-gradient(50% 80% at 15% 0%, #ffe4e8, transparent 70%), radial-gradient(40% 70% at 90% 10%, #ffeef0, transparent 70%), #fff9fa;
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.025em; font-weight: 700; }
.page-hero p { color: var(--ink-2); margin-top: 6px; font-size: 17px; }

.search-shell {
  margin-top: -52px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px;
  position: relative; z-index: 2;
}
.platform-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.platform-tabs button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px;
  font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.platform-tabs button svg { width: 18px; height: 18px; }
.platform-tabs button:hover { background: var(--bg-2); }
.platform-tabs button.active { background: var(--red-soft); color: var(--red); }
.search-row { display: flex; gap: 10px; }
.search-input {
  flex: 1; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px;
}
.search-input:focus-within { border-color: var(--red); }
.search-input input { border: 0; outline: 0; flex: 1; padding: 13px 0; min-width: 0; }
.search-input svg { width: 18px; color: var(--muted); flex: none; }

.creators-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding: 32px 0 80px; align-items: start; }

.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px 18px; position: sticky; top: 90px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 6px; }
.filters-head h3 { font-size: 16px; }
.filters-head button { color: var(--red); font-weight: 600; font-size: 13px; }
.f-group { padding: 14px 0; border-top: 1px solid var(--line); }
.f-group:first-of-type { border-top: 0; }
.f-group > label, .f-title { display: block; font-weight: 600; font-size: 13px; margin-bottom: 8px; color: var(--ink-2); }
.f-group select, .f-group input[type="number"] {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 10px; background: #fff; outline: 0;
}
.f-group select:focus, .f-group input:focus { border-color: var(--red); }
.range-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button {
  font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500;
}
.chips button:hover { border-color: var(--red); }
.chips button.on { background: var(--red); border-color: var(--red); color: #fff; }
.toggle { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; }
.switch { position: relative; width: 40px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #ddd; border-radius: 999px; transition: .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--red); }
.switch input:checked + span::after { transform: translateX(18px); }
input[type="range"] { width: 100%; accent-color: var(--red); }
.range-val { font-size: 13px; color: var(--red); font-weight: 700; float: right; }

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.results-bar h2 { font-size: 18px; }
.results-bar h2 span { color: var(--muted); font-weight: 500; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.results-tools select { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff; outline: 0; }
.view-toggle { display: flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.view-toggle button { padding: 7px 11px; color: var(--muted); }
.view-toggle button.on { background: var(--red-soft); color: var(--red); }
.view-toggle svg { width: 18px; height: 18px; display: block; }
.filter-toggle { display: none; }

.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.active-filters .tag { display: inline-flex; gap: 6px; align-items: center; }
.active-filters .tag button { font-weight: 800; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, transform .2s; cursor: pointer; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-cover { height: 78px; background: radial-gradient(80% 120% at 0% 0%, #ffdfe5, transparent 70%), linear-gradient(135deg, #fff4f6, #fde8ec); position: relative; }
.card-cover .plat {
  position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.95);
  display: grid; place-items: center; color: var(--red);
}
.card-cover .plat svg { width: 16px; height: 16px; }
.save-btn {
  position: absolute; left: 12px; top: 12px; width: 30px; height: 30px; border-radius: 8px; background: #fff;
  display: grid; place-items: center; color: var(--muted);
}
.save-btn svg { width: 16px; height: 16px; }
.save-btn.saved { color: var(--red); }
.save-btn:hover { color: var(--red); }
.card-body { padding: 0 16px 16px; flex: 1; display: flex; flex-direction: column; }
.card-body .avatar { width: 68px; height: 68px; border: 4px solid #fff; margin-top: -34px; box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.card-name { font-weight: 700; margin-top: 8px; display: flex; align-items: center; gap: 4px; }
.card-handle { color: var(--muted); font-size: 13px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; font-size: 12px; }
.card-meta span { background: var(--bg-2); padding: 3px 9px; border-radius: 999px; color: var(--ink-2); }
.card-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; text-align: center; }
.card-stats b { display: block; font-size: 16px; }
.card-stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.er-good { color: #12a150; }
.er-mid { color: #b7791f; }

/* list view */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table.creators { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
table.creators th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 14px; background: var(--bg-2); font-weight: 600; }
table.creators td { padding: 12px 14px; border-top: 1px solid var(--line); }
table.creators tr { cursor: pointer; }
table.creators tbody tr:hover { background: #fff8f9; }
.cell-creator { display: flex; gap: 10px; align-items: center; }
.cell-creator .avatar { width: 40px; height: 40px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination button { min-width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 600; background: #fff; }
.pagination button.on { background: var(--red); color: #fff; border-color: var(--red); }
.pagination button:disabled { opacity: .4; cursor: default; }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* ---------- Modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(22, 11, 13, .55); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal-bg.open { display: flex; }
.modal { background: #fff; border-radius: 20px; width: min(760px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-top { padding: 26px; color: var(--ink); position: relative; background: radial-gradient(70% 120% at 0% 0%, #ffdfe5, transparent 70%), #fff6f7; display: flex; gap: 18px; align-items: center; }
.modal-top .avatar { width: 84px; height: 84px; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.modal-top h3 { font-size: 22px; display: flex; gap: 6px; align-items: center; }
.modal-top p { color: var(--ink-2); font-size: 14px; }
.modal-close { position: absolute; right: 16px; top: 14px; font-size: 26px; color: var(--ink-2); line-height: 1; }
.modal-body { padding: 24px 26px 28px; }
.modal-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.modal-kpis div { background: var(--bg-2); border-radius: 12px; padding: 14px; }
.modal-kpis b { font-size: 20px; display: block; }
.modal-kpis span { font-size: 12px; color: var(--muted); }
.modal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.modal-cols h4 { font-size: 14px; margin-bottom: 12px; }
.modal-bio { color: var(--ink-2); font-size: 15px; margin-top: 20px; }
.modal-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .features, .t-grid { grid-template-columns: 1fr 1fr; }
  .creator-grid, .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .creators-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.show { display: block; }
  .filter-toggle { display: inline-flex; }
}
@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .header.open .nav { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 16px; border-bottom: 1px solid var(--line); }
  section { padding: 64px 0; }
  .features, .t-grid, .creator-grid, .cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .reel { justify-content: flex-start; overflow-x: auto; margin: 0; padding: 20px 16px 50px; perspective: none; }
  .reel-card { transform: none !important; height: 300px !important; width: 180px; }
  .cta { padding: 44px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-kpis { grid-template-columns: 1fr 1fr; }
  .modal-cols { grid-template-columns: 1fr; }
  .hero-search select { display: none; }
}

/* =========================================================
   ADD PROFILE (join) PAGE
   ========================================================= */
.join-wrap { max-width: 860px; padding-bottom: 80px; }
.join-or { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; color: var(--muted); font-size: 13px; }
.join-or::before, .join-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.connect-btn {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 18px; background: #fff;
  flex-wrap: wrap; font-size: 16px; color: var(--ink);
}
.connect-btn:hover { border-color: var(--red); }
.connect-btn small { width: 100%; text-align: center; color: var(--muted); font-weight: 500; font-size: 13px; }
.ig-grad {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(45deg, #f9b233, #e1306c 50%, #833ab4);
}
.ig-grad svg { width: 18px; height: 18px; }
.join-note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
.alert.error { background: var(--red-soft); color: var(--red-dark); }
.alert.warn { background: #fff6e5; color: #8a5a00; }
.alert.ok { background: #e7f7ee; color: #0e7a3c; }
.alert code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; }

.join-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-top: 24px; box-shadow: var(--shadow); }
.join-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.join-head .avatar { width: 88px; height: 88px; flex: none; }
.join-head h3 { font-size: 22px; display: flex; align-items: center; gap: 6px; }
.join-bio { color: var(--ink-2); font-size: 14px; margin-top: 6px; white-space: pre-line; }
.inline-ico { display: inline-flex; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; color: var(--red); }
.inline-ico svg { width: 14px; height: 14px; }
.recent-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 18px; }
.recent-grid a { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.recent-grid img { width: 100%; height: 100%; object-fit: cover; }
.recent-grid span {
  position: absolute; left: 0; right: 0; bottom: 0; font-size: 11px; color: #fff; padding: 14px 6px 5px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}
.join-step { font-size: 18px; margin: 28px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.join-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.join-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.join-form input, .join-form select {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; outline: 0; background: #fff; font-weight: 400;
}
.join-form input:focus, .join-form select:focus { border-color: var(--red); }
.join-form .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 720px) {
  .recent-grid { grid-template-columns: repeat(3, 1fr); }
  .join-form { grid-template-columns: 1fr; }
  .search-row { flex-wrap: wrap; }
  .search-row .search-input { flex-basis: 100%; }
}
.field-hint { font-weight: 500; font-size: 12px; }
.field-hint.ok { color: #0e7a3c; }
.field-hint.warn { color: #b7791f; }
.join-form select:invalid { border-color: #f2c48d; }
.saved-card { text-align: center; padding: 40px 24px; }
.saved-tick { width: 56px; height: 56px; border-radius: 50%; background: #e7f7ee; color: #12a150; font-size: 28px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 14px; }
.saved-card h3 { font-size: 24px; }
.saved-card p { color: var(--ink-2); margin: 6px 0 22px; }
.saved-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* quality colours for stats */
.q-good { color: #12a150 !important; }
.q-mid { color: #e07b00 !important; }
.q-bad { color: #d92d20 !important; }
.q-legend { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.q-legend span { font-size: 14px; margin-left: 8px; }
.q-legend span:first-child { margin-left: 0; }
.city-row { display: flex; gap: 8px; }
.city-row input { flex: 1; min-width: 0; }
.geo-btn { padding: 0 14px; font-size: 13px; border-radius: 10px; white-space: nowrap; }
.contact-note { grid-column: 1 / -1; margin-top: -4px; }
.phone-row { display: flex; gap: 8px; }
.phone-row select { flex: 0 0 auto; width: 175px; }
.phone-row input { flex: 1; min-width: 0; }

/* home: agency hero + contact form */
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-browse { margin-top: 16px; font-size: 14px; }
.hero-browse a { color: var(--ink-2); font-weight: 600; }
.hero-browse a:hover { color: var(--red); }
.contact-card { text-align: center; }
.lead-form { max-width: 760px; margin: 8px auto 0; text-align: left; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; outline: 0; font: inherit; resize: vertical; background: #fff; font-weight: 400; }
.lead-form textarea:focus { border-color: var(--red); }
#leadAlert { max-width: 760px; margin: 0 auto; text-align: left; }
