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

:root {
  --bg: #0a0a0a;
  --bg-end: #4a4540;
  --card: #000;
  --card-hover: #141312;
  --line: rgba(255, 255, 255, 0.07);
  --text: #f4f2ef;
  --muted: #a39d95;
  --soft: #6d665c;
  --pill: #6b6358;
  --pill-hover: #7a7266;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg) linear-gradient(180deg, var(--bg) 0%, var(--bg) 45%, var(--bg-end) 100%) fixed;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid #d9d2c7; outline-offset: 3px; border-radius: 6px; }

/* ---------- links page ---------- */
.wrap { max-width: 560px; margin: 0 auto; padding: 48px 16px 64px; }

.profile { text-align: center; }
.avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.handle { font-size: 19px; font-weight: 400; letter-spacing: 0.01em; }
.tagline { font-size: 13px; color: var(--muted); font-weight: 300; margin-top: 4px; }

.socials { display: flex; justify-content: center; gap: 18px; margin-top: 14px; }
.socials a { display: grid; place-items: center; width: 28px; height: 28px; color: var(--text); opacity: 0.92; }
.socials a:hover { opacity: 1; }
.socials svg { width: 22px; height: 22px; }

.links { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }

.btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 62px; padding: 10px 64px;
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  font-size: 14.5px; font-weight: 400; text-align: center;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--card-hover); }
.btn:active { transform: scale(0.99); }
.btn .thumb { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.btn .sub { display: block; font-size: 11.5px; color: var(--muted); font-weight: 300; margin-top: 2px; }
.btn-featured { background: #1b1916; border-color: rgba(217, 210, 199, 0.18); }
.btn-featured:hover { background: #24211d; }

.section-title { text-align: center; font-size: 15px; font-weight: 600; margin: 40px 0 14px; }

.product { background: #26231f; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.product-cover {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #efebe5 0%, #dcd6ce 70%);
}
.tracker-mock {
  width: 44%; aspect-ratio: 210 / 297; background: #fff; border-radius: 3px;
  box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.12);
  padding: 9% 8%; display: flex; flex-direction: column; gap: 6%;
  color: #1c1a17; transform: rotate(-3deg);
}
.tracker-mock .t { font-size: clamp(9px, 2.4vw, 13px); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.tracker-mock .row { display: grid; grid-template-columns: 1fr repeat(7, 1fr); gap: 3px; align-items: center; }
.tracker-mock .row span { height: 6px; border: 1px solid #cfc8bf; border-radius: 2px; }
.tracker-mock .row span:first-child { border: none; height: 3px; background: #d8d1c7; border-radius: 2px; }
.tracker-mock .row span.on { background: #1c1a17; border-color: #1c1a17; }

.product-body { padding: 16px 16px 18px; }
.product-title { text-align: center; text-wrap: balance; font-size: 15px; font-weight: 700; }
.product-price { text-align: center; font-size: 14px; font-weight: 700; margin-top: 4px; }
.product-text { text-align: center; text-wrap: pretty; font-size: 13px; color: var(--muted); font-weight: 300; margin-top: 6px; }

.signup { display: grid; gap: 10px; margin-top: 14px; }
.signup input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,.14); background: #141210; color: var(--text);
  font: inherit; font-size: 14px;
}
.signup input::placeholder { color: #8a837a; }
.signup button {
  height: 46px; border: 0; border-radius: 4px; background: #fff; color: #000;
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.signup button:hover { background: #ece8e2; }
.signup-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; font-weight: 300; }
.signup-msg { font-size: 13.5px; text-align: center; margin-top: 10px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px);
  background: #fff; color: #000; font-size: 13px; font-weight: 500; padding: 10px 16px; border-radius: 30px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.foot { text-align: center; font-size: 11px; color: rgba(255,255,255,.4); margin-top: 48px; font-weight: 300; }

/* ---------- media kit ---------- */
.mk { max-width: 1100px; margin: 0 auto; padding: 56px 20px 72px; }
.mk-top { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.mk-photo { width: 100%; max-width: 340px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.mk-work h2 { font-size: 20px; font-weight: 600; margin-top: 26px; }
.mk-work p { font-size: 14px; font-weight: 300; margin-top: 6px; color: #e6e2dc; }
.pill-btn {
  display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 18px;
  background: var(--pill); border-radius: 30px; font-size: 14px; font-weight: 400; max-width: 340px;
}
.pill-btn:hover { background: var(--pill-hover); }

.mk-handle { font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -0.01em; margin-top: 8px; }
.mk-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.mk-total { margin-top: 28px; }
.mk-total .num { font-size: 40px; font-weight: 700; line-height: 1.1; margin-top: 4px; }
.mk-platforms { display: flex; gap: 18px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.mk-platforms span { display: inline-flex; align-items: center; gap: 7px; }
.mk-platforms svg { width: 18px; height: 18px; }
.mk-bio { font-size: 15px; font-weight: 300; color: #e6e2dc; margin-top: 26px; max-width: 58ch; line-height: 1.7; }
.mk-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mk-topics span { font-size: 12.5px; border: 1px solid rgba(255,255,255,.18); border-radius: 30px; padding: 6px 13px; }

.mk-section { margin-top: 64px; }
.mk-section > .mk-label { display: block; margin-bottom: 18px; }
.mk-h3 { font-size: 26px; font-weight: 700; }
.mk-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 22px; }
.partner { text-align: center; font-size: 11px; }
.partner .logo { width: 120px; height: 120px; max-width: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center; margin: 0 auto 8px; padding: 22px; }
.partner .logo img { width: 100%; height: 100%; object-fit: contain; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.stat { background: #161514; border-radius: 6px; padding: 18px 16px 20px; }
.stat .mk-label { display: flex; align-items: center; gap: 8px; font-size: 10.5px; }
.stat .val { font-size: 32px; font-weight: 700; margin-top: 12px; font-variant-numeric: tabular-nums; }
.stat .note { font-size: 11.5px; color: var(--muted); margin-top: 4px; font-weight: 300; }

.top-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.top-post { background: #161514; border-radius: 6px; overflow: hidden; }
.top-post img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.top-post .meta { display: flex; gap: 16px; padding: 12px 14px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.top-post .meta span { display: inline-flex; align-items: center; gap: 6px; }
.top-post svg { width: 15px; height: 15px; }

.collabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.collab { background: #161514; border-radius: 6px; padding: 18px 16px; }
.collab h4 { font-size: 15px; font-weight: 600; }
.collab p { font-size: 13px; color: var(--muted); font-weight: 300; margin-top: 6px; }

.back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.back:hover { color: var(--text); }

@media (max-width: 820px) {
  .mk-top { grid-template-columns: 1fr; gap: 20px; }
  .mk-photo { max-width: 260px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .top-posts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .top-post .meta { flex-direction: column; gap: 2px; padding: 8px 10px; font-size: 12px; }
  .collabs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.partner .logo.fill { padding: 0; overflow: hidden; }
.partner .logo.fill img { object-fit: cover; }
@media (max-width: 820px) {
  .partners { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  .partner .logo { width: 84px; height: 84px; padding: 15px; }
  .partner .logo.fill { padding: 0; }
}
a.partner .logo { transition: transform .15s ease; }
a.partner:hover .logo { transform: scale(1.04); }

/* buttons v2: dark brown, uppercase titles, icons */
.btn, .btn-featured { background: #2a2420; border-color: rgba(255, 255, 255, 0.06); }
.btn:hover, .btn-featured:hover { background: #342d28; }
.btn .title { text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 500; }
.btn .sub { margin-top: 3px; }
.btn .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; color: #e8e1d7; display: grid; place-items: center; }
.btn .icon svg { width: 26px; height: 26px; }
.btn .icon-logo { width: 38px; height: 30px; left: 12px; }
.btn .icon-logo img { width: 100%; height: 100%; object-fit: contain; }
.product-photo { aspect-ratio: 4 / 5; background: #26231f; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo { aspect-ratio: auto; padding: 20px 16px 4px; background: transparent; }
.product-photo img { width: 44%; max-width: 220px; height: auto; margin: 0; border-radius: 4px; object-fit: cover; }

/* UGC portfolio */
.ugc-intro { font-size: 14px; color: var(--muted); margin: -6px 0 18px; }
.ugc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ugc-item { margin: 0; background: #161514; border-radius: 6px; overflow: hidden; }
.ugc-item video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #0e0d0c; }
.ugc-item figcaption { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--muted); }
.ugc-item figcaption strong { color: inherit; font-size: 13.5px; font-weight: 600; color: #fff; }
a.collab { color: inherit; text-decoration: none; display: block; }
@media (max-width: 640px) {
  .ugc-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
