:root {
    --blue: #00aff0;
    --blue-dark: #0091ea;
    --text: #000;
    --muted: #8a96a3;
    --line: #eaeaea;
    --bg: #fff;
    --soft: #f4f6f8;
    --radius: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 15px; margin: 18px 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.icon { width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; margin-right: 4px; flex: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.top__in { max-width: 1080px; margin: 0 auto; padding: 0 16px; height: 56px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 4px; color: var(--text); font-size: 20px; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo b { color: var(--blue); }
.logo__pin { width: 24px; height: 24px; fill: var(--blue); }
.top__nav { margin-left: auto; display: flex; gap: 16px; font-size: 14px; font-weight: 600; }
.top__nav a { color: var(--muted); }
.top__nav a:hover { color: var(--blue); text-decoration: none; }

/* hero */
.hero { padding: 28px 0 8px; }
.hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.hero__lead { margin: 10px 0 0; color: #333; max-width: 760px; }
.hero__where { display: inline-flex; align-items: center; margin: 14px 0 0; padding: 7px 14px;
    background: var(--soft); border-radius: 999px; color: #333; font-size: 14px; }
.hero__where .icon { fill: var(--blue); }

.crumbs { padding-top: 16px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }

/* sections */
.section { padding: 24px 0 4px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section__head a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.section > h2 { margin-bottom: 12px; }
.meta { color: var(--muted); font-size: 14px; margin: 16px 0 12px; }

/* creator cards */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--soft); color: #fff; }
.card:hover { text-decoration: none; }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.card:hover img { transform: scale(1.03); }
.card__body { position: absolute; inset: auto 0 0 0; padding: 40px 10px 10px; display: flex; flex-direction: column;
    background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)); }
.card__name { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__handle { font-size: 12px; opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__loc { display: block; font-size: 12px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.tag--free { background: var(--blue); color: #fff; }

/* chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
    color: var(--text); font-size: 14px; background: #fff; }
.chips a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.chips span { color: var(--muted); font-size: 12px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 20px 0; font-size: 14px; color: var(--muted); }
.pager a { font-weight: 600; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: #333; }

/* profile page, like a creator's page on a fan platform */
.profile { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.profile__cover { position: relative; height: 190px; background: var(--soft) center / cover no-repeat; }
.profile__cover::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(18px) brightness(.75); -webkit-backdrop-filter: blur(18px) brightness(.75); }
.profile__stats { position: absolute; left: 172px; bottom: 12px; display: flex; gap: 16px; color: #fff; font-weight: 600; font-size: 14px; }
.profile__stats span { display: inline-flex; align-items: center; }
.profile__head { position: relative; padding: 12px 16px 0 172px; min-height: 76px; }
.profile__avatar { position: absolute; left: 24px; top: -64px; width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; background: var(--soft); }
.profile__name { font-size: 22px; font-weight: 800; }
.profile__name span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.profile__handle { margin: 2px 0 0; color: var(--muted); }
.profile__loc { display: flex; align-items: center; margin: 6px 0 0; color: #333; }
.profile__loc .icon { fill: var(--muted); }
.profile__sub { padding: 16px; border-top: 1px solid var(--line); margin-top: 16px; }
.profile__label { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.btn { display: flex; justify-content: space-between; align-items: center; max-width: 420px; padding: 12px 22px; border-radius: 999px;
    background: var(--blue); color: #fff; font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; }
.btn:hover { background: var(--blue-dark); text-decoration: none; }
.profile__about { padding: 0 16px 8px; color: #222; }

@media (max-width: 640px) {
    .hero h1 { font-size: 24px; }
    .top__nav { gap: 12px; font-size: 13px; }
    .top__nav a:nth-child(n+3) { display: none; }
    .profile__cover { height: 140px; }
    .profile__stats { left: auto; right: 12px; }
    .profile__head { padding: 56px 16px 0; }
    .profile__avatar { left: 16px; top: -52px; width: 104px; height: 104px; }
}

.foot { margin-top: 40px; padding: 20px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot p { margin: 0 0 6px; }
