/* Spidery Creators — Spidery Web brand: deep red on warm paper, ink sections, Manrope */
:root {
  --pink: #c4161c;
  --blue: #7a0b10;
  --grad: linear-gradient(90deg, #c4161c, #7a0b10);
  --grad-d: linear-gradient(135deg, #c4161c, #7a0b10);
  --navy: #16110f;
  --navy-2: #221b19;
  --ink: #16110f;
  --text: #2b2321;
  --muted: #6f6562;
  --line: #e8e1de;
  --soft: #fcfbfa;
  --card: #fff;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --violet: #a30e0e;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(40,10,10, 0.04), 0 8px 24px rgba(40,10,10, 0.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--soft); font-size: 15px; line-height: 1.6; }
h1, h2, h3, h4 { font-family: Manrope, sans-serif; color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(26px, 4.4vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(21px, 3vw, 30px); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 16px; font-weight: 600; }
a { color: #a30e0e; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.right { text-align: right; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.split { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) 340px; } .split.wide-left { grid-template-columns: minmax(0, 1fr) 380px; } }

/* Header */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo img { width: 34px; height: 34px; }
.logo .sub { display: block; font-size: 9px; letter-spacing: 0.18em; font-weight: 600; color: var(--muted); margin-top: -4px; }
.nav-links { display: none; gap: 4px; margin-left: 12px; }
.nav-links a { color: var(--text); padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 14px; }
.nav-links a:hover, .nav-links a.on { background: var(--soft); text-decoration: none; color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 8px 16px 16px; background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu button.linkish { display: block; padding: 11px 4px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--soft); }
.nav-right .hide-sm { display: none; }
@media (min-width: 960px) { .nav-links { display: flex; } .nav-toggle { display: none; } .mobile-menu { display: none !important; } .nav-right .hide-sm { display: inline-flex; } }
.bell { position: relative; display: inline-flex; padding: 8px; border-radius: 10px; color: var(--ink); }
.bell .dot { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--grad); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-family: inherit; line-height: 1.2; white-space: nowrap; transition: transform 0.12s, box-shadow 0.12s, opacity 0.12s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-grad { background: var(--grad); color: #fff; border: 0; }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ghost { background: transparent; }
.btn-light { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.btn-danger { color: var(--red); border-color: #fecaca; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
button.linkish { background: none; border: 0; padding: 0; color: #a30e0e; font: inherit; cursor: pointer; text-align: left; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card h3 { margin-bottom: 4px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h3 { margin: 0; }
.page { padding: 28px 0 60px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(24px, 3.6vw, 32px); margin: 0; }
.page-head p { margin: 4px 0 0; }
.eyebrow { font-size: 14px; font-weight: 600; color: #a21caf; }

/* Stats */
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stat .k { font-size: 13px; color: var(--muted); font-weight: 500; }
.stat .v { font-family: Manrope, sans-serif; font-size: 24px; font-weight: 700; color: var(--ink); margin-top: 2px; }
.stat .s { font-size: 12px; color: var(--muted); }

/* Badges & chips */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--text); border: 1px solid var(--line); white-space: nowrap; }
.badge.green { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.badge.amber { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.badge.red { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.badge.blue { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.badge.violet { background: #f8e9e8; color: #8a0c0f; border-color: #e6cfcc; }
.badge.grey { background: #f5f2f0; color: #475569; }
.badge.grad { background: var(--grad); color: #fff; border: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #f8e9e8; color: #8a0c0f; font-weight: 500; }

/* Forms */
label { display: block; font-weight: 600; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 4px; }
input[type='text'], input[type='email'], input[type='password'], input[type='tel'], input[type='number'], input[type='url'], input[type='date'], input[type='search'], select, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #d9cfcb; border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus { border-color: #a30e0e; box-shadow: 0 0 0 3px rgba(163,14,14, 0.15); }
textarea { min-height: 110px; resize: vertical; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { padding: 11px 12px; border: 1px solid #d9cfcb; border-right: 0; border-radius: 12px 0 0 12px; background: var(--soft); color: var(--muted); }
.input-prefix input { border-radius: 0 12px 12px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; user-select: none; color: var(--text); }
.chip input:checked + span { background: var(--grad); color: #fff; border-color: transparent; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(163,14,14, 0.3); }
.chip.suggested span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #c4161c; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--text); }
.check input { margin-top: 4px; width: 16px; height: 16px; accent-color: #a30e0e; }
.errors { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }
.errors ul { margin: 0; padding-left: 18px; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-family: Manrope, sans-serif; font-weight: 600; color: var(--ink); font-size: 16px; margin-bottom: 10px; padding: 0; }

/* Flash */
.flash { padding: 12px 16px; border-radius: 12px; margin: 16px 0 0; font-size: 14px; font-weight: 500; display: flex; gap: 8px; align-items: center; }
.flash.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash.info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.notice { background: linear-gradient(90deg, rgba(196,22,28, 0.08), rgba(122,11,16, 0.08)); border: 1px solid #f0d6d4; border-radius: 14px; padding: 14px 16px; font-size: 14px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; background: #fcfbfa; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td form { display: inline; }

/* Avatar */
.av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--grad-d); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d9534f; color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-family: Manrope, sans-serif; flex: none; overflow: hidden; }
.av.lg { width: 96px; height: 96px; font-size: 30px; }
.av.sm { width: 32px; height: 32px; font-size: 12px; }
.av-ring { padding: 3px; border-radius: 50%; background: var(--grad-d); display: inline-flex; }
.av-ring .av { border: 3px solid #fff; }

/* Score ring */
.score { --v: 0; --c: #a30e0e; position: relative; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--v) * 1%), #f0edeb 0); display: grid; place-items: center; flex: none; }
.score::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.score b { position: relative; font-family: Manrope, sans-serif; font-size: 18px; color: var(--ink); }
.score.lg { width: 120px; height: 120px; }
.score.lg::before { inset: 10px; }
.score.lg b { font-size: 34px; }
.score.sm { width: 44px; height: 44px; }
.score.sm::before { inset: 4px; }
.score.sm b { font-size: 13px; }
.score.excellent { --c: #16a34a; } .score.good { --c: #7a0b10; } .score.average { --c: #d97706; } .score.risky, .score.poor { --c: #dc2626; }
.bar { height: 8px; border-radius: 6px; background: #f0edeb; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 6px; }

/* Creator card */
.ccard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.15s, box-shadow 0.15s; position: relative; color: inherit; }
.ccard:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.ccard .top { display: flex; gap: 12px; align-items: center; }
.ccard .name { font-weight: 700; color: var(--ink); font-family: Manrope, sans-serif; font-size: 15px; line-height: 1.25; }
.ccard .handle { font-size: 13px; color: var(--muted); }
.ccard .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; background: var(--soft); border-radius: 12px; padding: 10px 4px; }
.ccard .metrics b { display: block; font-family: Manrope, sans-serif; color: var(--ink); font-size: 15px; }
.ccard .metrics span { font-size: 11px; color: var(--muted); }
.ccard .score { position: absolute; top: 14px; right: 14px; }
.verified { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 10px; vertical-align: 1px; margin-left: 3px; }
.locked { position: relative; }
.locked .blur { filter: blur(6px); pointer-events: none; user-select: none; }
.locked .lock { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; }
.lock-box { background: rgba(255, 255, 255, 0.95); border: 1px solid #f0d6d4; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); max-width: 320px; }

/* Hero / dark sections */
.hero { background: radial-gradient(1200px 500px at 15% -10%, rgba(196,22,28, 0.35), transparent 60%), radial-gradient(900px 500px at 100% 20%, rgba(122,11,16, 0.35), transparent 60%), radial-gradient(#16110f, #221b19); color: #d9cfcb; padding: 64px 0 72px; overflow: hidden; }
.hero h1 { color: #fff; max-width: 820px; }
.hero p.lead { font-size: clamp(16px, 2vw, 19px); max-width: 640px; color: #d9cfcb; }
.hero .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; max-width: 760px; }
@media (min-width: 700px) { .hero .stats { grid-template-columns: repeat(4, 1fr); } }
.hero .stats div { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; padding: 14px 16px; background: rgba(255, 255, 255, 0.04); }
.hero .stats b { display: block; color: #fff; font-family: Manrope, sans-serif; font-size: 26px; }
.hero .stats span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero-card { background: #fff; border-radius: 22px; padding: 20px; color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); transform: rotate(1.5deg); }
.dark { background: var(--navy); color: #d9cfcb; }
.dark h2, .dark h3 { color: #fff; }
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 36px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-d); display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; }
.steps { counter-reset: s; display: grid; gap: 14px; }
.steps li { list-style: none; position: relative; padding-left: 48px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; font-family: Manrope, sans-serif; }
.steps { padding: 0; margin: 0; }
.niche-tile { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--ink); font-weight: 500; font-size: 14px; }
.niche-tile:hover { border-color: #e2a8a5; text-decoration: none; }
.niche-tile .em { font-size: 20px; }
.niche-tile small { margin-left: auto; color: var(--muted); }
.price { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; }
.price.pop { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.price .amt { font-family: Manrope, sans-serif; font-size: 36px; font-weight: 800; color: var(--ink); }
.price ul { padding: 0; list-style: none; margin: 16px 0 22px; flex: 1; }
.price li { padding: 6px 0 6px 26px; position: relative; font-size: 14px; }
.price li::before { content: '✓'; position: absolute; left: 0; color: #a30e0e; font-weight: 800; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
details.faq + details.faq { margin-top: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details.faq p { margin: 10px 0 0; }

/* Profile */
.pf-head { background: radial-gradient(800px 300px at 0% 0%, rgba(196,22,28, 0.25), transparent 60%), radial-gradient(700px 300px at 100% 0%, rgba(122,11,16, 0.25), transparent 60%), #16110f; color: #d9cfcb; padding: 36px 0 30px; }
.pf-head h1 { color: #fff; font-size: clamp(24px, 4vw, 34px); margin: 0; }
.pf-top { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pf-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
@media (min-width: 720px) { .pf-metrics { grid-template-columns: repeat(5, 1fr); } }
.pf-metrics div { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; padding: 12px 14px; }
.pf-metrics b { color: #fff; font-family: Manrope, sans-serif; font-size: 20px; display: block; }
.pf-metrics span { font-size: 12px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.post { aspect-ratio: 1; border-radius: 10px; overflow: hidden; position: relative; background: var(--grad-d); display: grid; place-items: center; color: #fff; }
.post img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.post .ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; font-size: 11px; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, 0.65)); display: flex; gap: 8px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv b { color: var(--ink); }
.flag { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 13px; margin-top: 8px; }
.flag.risk { background: #fef2f2; color: #991b1b; }
.flag.watch { background: #fffbeb; color: #92400e; }
.flag.info { background: #eff6ff; color: #1e40af; }
.flag.ok { background: #ecfdf5; color: #065f46; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--ink); border-bottom-color: #a30e0e; text-decoration: none; }

/* App layout (dashboards) */
.app-nav { background: #fff; border-bottom: 1px solid var(--line); }
.app-nav .wrap { display: flex; gap: 2px; overflow-x: auto; }
.app-nav a { padding: 12px 14px; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; }
.app-nav a.on { color: var(--ink); border-bottom-color: #a30e0e; text-decoration: none; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--soft); font-size: 14px; }
.checklist li .tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 2px solid #d9cfcb; flex: none; }
.checklist li.done .tick { background: var(--grad); border: 0; color: #fff; }
.checklist li.done span { color: var(--muted); text-decoration: line-through; }
.timeline { display: flex; gap: 0; margin: 6px 0 4px; overflow-x: auto; }
.timeline div { flex: 1; min-width: 92px; text-align: center; font-size: 12px; color: var(--muted); position: relative; padding-top: 28px; }
.timeline div::before { content: ''; position: absolute; top: 8px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #e8e1de; z-index: 1; }
.timeline div::after { content: ''; position: absolute; top: 14px; left: -50%; right: 50%; height: 2px; background: #e8e1de; }
.timeline div:first-child::after { display: none; }
.timeline div.on { color: var(--ink); font-weight: 600; }
.timeline div.on::before, .timeline div.on::after { background: #a30e0e; }
.chat { max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14px; background: var(--soft); align-self: flex-start; }
.msg.me { align-self: flex-end; background: linear-gradient(90deg, rgba(196,22,28, 0.12), rgba(122,11,16, 0.12)); }
.msg .who { font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.empty { text-align: center; padding: 34px 16px; color: var(--muted); }
.empty .em { font-size: 34px; margin-bottom: 6px; }
.filters { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .filters { grid-template-columns: repeat(6, 1fr); } }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }
.pager a, .pager span { padding: 8px 13px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--ink); }
.pager span { background: var(--grad); color: #fff; border: 0; }

/* Auth */
.auth { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(700px 400px at 0% 0%, rgba(196,22,28, 0.12), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(122,11,16, 0.12), transparent 60%), var(--soft); }
.auth .card { width: 100%; max-width: 460px; padding: 28px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.seg a { text-align: center; padding: 9px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--muted); }
.seg a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); text-decoration: none; }

/* Footer */
.footer { background: var(--navy); color: #94a3b8; padding: 48px 0 28px; font-size: 14px; }
.footer a { color: #d9cfcb; }
.footer .cols { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .footer .cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 7px 0; }
.footer .logo { color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin: 6px 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }


/* ================= v2: creative layer ================= */
html, body { overflow-x: clip; }
:root { --sun: #e8b04a; --lilac: #f5f2f0; --story: conic-gradient(from 200deg, #e8b04a, #c4161c, #c4161c, #7a0b10, #e8b04a); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #d9534f; outline-offset: 2px; border-radius: 8px; }
.h-xl { font-size: clamp(24px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.narrowish { max-width: 640px; margin-left: auto; margin-right: auto; }
.btn { font-family: Manrope, sans-serif; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-light-solid { background: #fff; color: var(--navy); border: 0; }
.logo { font-family: Manrope, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }

/* Hero */
.hero2 { position: relative; overflow: hidden; background: var(--navy); color: #d6d1f5; padding: 56px 0 72px; }
.hero2-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.o1 { width: 460px; height: 460px; background: #c4161c; left: -120px; top: -160px; }
.o2 { width: 420px; height: 420px; background: #7a0b10; right: -100px; top: 80px; animation-delay: -6s; }
.o3 { width: 260px; height: 260px; background: #e8b04a; left: 38%; bottom: -180px; opacity: 0.25; animation-delay: -11s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero2-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero2-grid { grid-template-columns: 1.05fr 0.95fr; } }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #f3c9c6; margin: 0 0 18px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,0.6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.display { color: #fff; font-size: clamp(32px, 5.6vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 20px; max-width: 14ch; }
.display .real { position: relative; display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display .real::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.12em; border-radius: 4px; background: var(--sun); transform-origin: left; transform: scaleX(0); animation: underline 0.9s 0.5s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes underline { to { transform: scaleX(1); } }
.hero2 .lead { font-size: clamp(16px, 1.9vw, 19px); max-width: 52ch; color: #d9cfcb; margin-bottom: 0; }
.promises { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.promises li { position: relative; padding-left: 30px; font-size: 15px; color: #efe4e2; }
.promises li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(74,222,128,0.18); color: #4ade80; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.proof { display: flex; flex-wrap: wrap; gap: 28px; margin: 32px 0 0; }
.proof dt { font-size: 13px; color: #b7aaa7; }
.proof dd { margin: 2px 0 0; font-family: Manrope, sans-serif; font-size: 26px; font-weight: 700; color: #fff; }

/* Phone demo */
.stage { position: relative; display: grid; place-items: center; min-height: 680px; }
.phone { position: relative; width: min(330px, 86vw); height: 600px; border-radius: 42px; padding: 12px; background: linear-gradient(160deg, #2e2523, #0d0a26); box-shadow: 0 40px 90px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.08); transform: rotate(-2.5deg); }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 92px; height: 22px; margin-left: -46px; border-radius: 12px; background: #050314; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: #fcfbfa; padding: 48px 14px 14px; color: var(--ink); }
.brief { background: #fff; border: 1px solid #ede5e2; border-radius: 18px; padding: 12px; box-shadow: 0 6px 18px rgba(40,10,10,0.06); }
.brief-top { display: flex; gap: 10px; align-items: center; }
.brief-top b { display: block; font-size: 14px; }
.brief-top small { color: var(--muted); font-size: 12px; }
.brand-dot { width: 34px; height: 34px; border-radius: 10px; background: #fde68a; color: #92400e; font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.brief p { margin: 10px 0 8px; font-size: 13px; font-weight: 600; }
.brief-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.brief-tags span { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: #f6e4e2; color: #8a0c0f; font-weight: 600; }
.scan { position: relative; margin: 14px 4px 10px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.scan span { position: relative; width: 56px; height: 4px; border-radius: 4px; background: #ede5e2; overflow: hidden; }
.scan span::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--grad); border-radius: 4px; animation: scan 1.1s linear infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.matches { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.m { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #ede5e2; border-radius: 16px; padding: 9px 10px; transition: opacity .5s, transform .5s, filter .5s, border-color .5s; }
.ring { flex: none; width: 40px; height: 40px; border-radius: 50%; padding: 2.5px; background: var(--story); display: grid; place-items: center; }
.ring.lg { width: 54px; height: 54px; padding: 3px; }
.ring .ini { width: 100%; height: 100%; border-radius: 50%; background: var(--grad-d); border: 2.5px solid #fff; color: #fff; font-family: Manrope, sans-serif; font-weight: 700; font-size: 11px; display: grid; place-items: center; }
.ring.lg .ini { font-size: 14px; }
.who { flex: 1; min-width: 0; }
.who b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { font-size: 11px; color: var(--muted); }
.dial { --v: 0; --c: #16a34a; position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--v) * 1%), #efe8e5 0); display: grid; place-items: center; }
.dial::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.dial i { position: relative; font-style: normal; font-family: Manrope, sans-serif; font-weight: 700; font-size: 12px; }
.dial.big { width: 62px; height: 62px; margin-left: auto; }
.dial.big::before { inset: 6px; }
.dial.big i { font-size: 18px; }
.m.bad .dial { --c: #dc2626; }
.flagtag, .stamp { position: absolute; font-size: 10px; font-weight: 700; border-radius: 999px; padding: 3px 8px; opacity: 0; transform: scale(0.6); transition: opacity .35s, transform .35s cubic-bezier(.2,1.6,.4,1); }
.flagtag { right: 56px; top: -8px; background: #fee2e2; color: #b91c1c; }
.stamp { right: 52px; top: -9px; background: var(--sun); color: #713f12; transform: scale(0.6) rotate(-8deg); }
.toast { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s cubic-bezier(.2,.9,.3,1.2); }
.toast::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; background: #4ade80; color: var(--navy); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
/* sequence states, driven by JS adding .s1…s5 to #match-demo */
.phone .brief, .phone .scan, .phone .m { opacity: 0; transform: translateY(14px); }
.phone.s1 .brief { opacity: 1; transform: none; transition: opacity .5s, transform .5s cubic-bezier(.2,.9,.3,1.2); }
.phone.s2 .scan { opacity: 1; transform: none; transition: opacity .4s, transform .4s; }
.phone.s3 .m0 { opacity: 1; transform: none; transition-delay: 0s; }
.phone.s3 .m1 { opacity: 1; transform: none; transition-delay: .25s; }
.phone.s3 .m2 { opacity: 1; transform: none; transition-delay: .5s; }
.phone.s4 .m2 { opacity: .45; filter: grayscale(.6); border-color: #fecaca; }
.phone.s4 .m2 .flagtag { opacity: 1; transform: scale(1); }
.phone.s4 .m0 { border-color: #f2a9a6; box-shadow: 0 8px 22px rgba(196,22,28,0.18); }
.phone.s4 .m0 .stamp { opacity: 1; transform: scale(1) rotate(-8deg); transition-delay: .35s; }
.phone.s5 .toast { opacity: 1; transform: none; }
.phone.s5 .scan { opacity: 0; }
.float-chip { position: absolute; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(8px); animation: bob 6s ease-in-out infinite; }
.float-chip.c1 { left: 2%; top: 4px; }
.float-chip.c2 { right: 2%; bottom: 4px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 560px) { .float-chip { display: none; } .stage { min-height: 610px; } .phone { height: 590px; } }

/* Niche ribbon */
.ribbon { background: var(--grad); overflow: hidden; padding: 14px 0; transform: rotate(-1deg); margin: -18px -10px 0; position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(120,40,200,0.25); }
.ribbon-track { display: flex; gap: 10px; width: max-content; animation: marquee 60s linear infinite; }
.ribbon:hover .ribbon-track, .ribbon:focus-within .ribbon-track { animation-play-state: paused; }
.ribbon-item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.16); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; }
.ribbon-item:hover { background: #fff; color: #8a0c0f; text-decoration: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Score board */
.split-intro { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split-intro { grid-template-columns: 1fr 1fr; } }
.score-board { background: #fff; border-radius: 28px; padding: 24px; border: 1px solid #ede5e2; box-shadow: 0 30px 60px -30px rgba(40,10,10,0.35); }
.sb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sb-head b { display: block; color: var(--ink); }
.sb-head small { color: var(--muted); }
.sb-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14px; padding: 8px 0; }
.sb-row b { color: var(--ink); }
.sb-row .bar { grid-column: 1 / -1; }
.sb-row .bar i { width: 0; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.score-board.in .sb-row .bar i { width: var(--w); }
.score-board.in .sb-row:nth-of-type(3) .bar i { transition-delay: .1s; }
.score-board.in .sb-row:nth-of-type(4) .bar i { transition-delay: .2s; }
.score-board.in .sb-row:nth-of-type(5) .bar i { transition-delay: .3s; }
.score-board.in .sb-row:nth-of-type(6) .bar i { transition-delay: .4s; }

/* Brands / creators */
.section.tint { background: #fff; border-top: 1px solid #ede5e2; border-bottom: 1px solid #ede5e2; }
.duo { display: grid; gap: 20px; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.side { border-radius: 28px; padding: 28px; }
.brand-side { background: var(--lilac); }
.creator-side { background: linear-gradient(160deg, #fbf1f0, #eff6ff); }
.side h3 { font-size: 20px; margin-bottom: 16px; }
.flow { list-style: none; counter-reset: f; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.flow li { counter-increment: f; position: relative; padding-left: 46px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px; background: #fff; border: 1px solid #f0d6d4; color: #8a0c0f; font-family: Manrope, sans-serif; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.flow b { display: block; color: var(--ink); }
.flow span { font-size: 14px; color: var(--muted); }

/* Money rail */
.section.night { background: var(--navy); color: #d9cfcb; }
.section.night h2 { color: #fff; }
.night-sub { max-width: 60ch; margin-bottom: 40px; }
.rail { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; position: relative; }
@media (min-width: 860px) { .rail { grid-template-columns: repeat(5, 1fr); gap: 12px; } .rail::before { content: ''; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: rgba(255,255,255,0.12); } .rail::after { content: ''; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: linear-gradient(90deg, #c4161c, #7a0b10, #4ade80); transform-origin: left; transform: scaleX(0); transition: transform 2.2s cubic-bezier(.4,.1,.2,1); } .rail.in::after { transform: scaleX(1); } }
.rail li { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.rail .node { width: 56px; height: 56px; border-radius: 18px; background: #2e2523; border: 1px solid rgba(255,255,255,0.12); display: grid; place-items: center; font-size: 24px; margin-bottom: 8px; transition: background .4s, transform .4s; }
.rail.in li .node { background: #2f2672; }
.rail.in li:nth-child(1) .node { transition-delay: .0s; } .rail.in li:nth-child(2) .node { transition-delay: .5s; } .rail.in li:nth-child(3) .node { transition-delay: 1s; } .rail.in li:nth-child(4) .node { transition-delay: 1.5s; } .rail.in li:nth-child(5) .node { transition-delay: 2s; background: #166534; }
.rail b { color: #fff; font-family: Manrope, sans-serif; font-size: 15px; }
.rail small { color: #b7aaa7; font-size: 13px; }

/* Closing band */
.cta-band { background: var(--grad); color: #fff; padding: 56px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0; max-width: 20ch; font-size: clamp(22px, 3.2vw, 34px); }

/* Reduced motion: show the finished state, no ambient movement */
@media (prefers-reduced-motion: reduce) {
  .orb, .kicker .dot, .float-chip, .ribbon-track, .scan span::after { animation: none !important; }
  .display .real::after { animation: none; transform: scaleX(1); }
  .ribbon-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ribbon-item[aria-hidden] { display: none; }
  .phone .brief, .phone .m, .toast { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sb-row .bar i, .rail::after { transition: none !important; }
}

/* v3: professional icon system (replaces emoji) */
.ic { display: inline-block; vertical-align: -0.18em; flex: none; }
.empty .em, .page .em { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; color: #a30e0e; background: linear-gradient(135deg, rgba(196,22,28,0.12), rgba(122,11,16,0.12)); border: 1px solid #f3e6e4; font-size: 0; }
.flag { align-items: flex-start; }
.flag .ic { margin-top: 1px; }
.notice .ic { color: #a30e0e; margin-right: 2px; }
.post { color: rgba(255,255,255,0.85); }
.post .ov span { display: inline-flex; align-items: center; gap: 3px; }
.rail .node { font-family: Manrope, sans-serif; font-size: 18px; font-weight: 700; color: #f0d6d4; }
.rail.in li:nth-child(5) .node { color: #fff; }
.btn .ic { margin-right: -2px; }

/* v4: stacked campaign cards */
.stack-grid { display: grid; gap: 40px; margin-top: 40px; }
.stack-cards { display: grid; gap: 28px; }
.scard { background: #fff; border: 1px solid #ede5e2; border-radius: 26px; padding: 22px; box-shadow: 0 24px 50px -28px rgba(40,10,10,0.35); }
.mobile-copy { margin-bottom: 18px; }
.mobile-copy h3, .stack-text h3 { font-size: 20px; margin: 6px 0 6px; }
.mobile-copy p, .stack-text p { color: var(--muted); margin: 0; }
.stack-num { font-size: 13px; font-weight: 600; color: #a30e0e; }
.stack-copy { display: none; }
@media (min-width: 900px) {
  .stack-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 64px; }
  .stack-copy { display: block; position: sticky; top: 140px; min-height: 260px; }
  .mobile-copy { display: none; }
  .stack-text { position: absolute; inset: 40px 0 auto 0; opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .45s; pointer-events: none; }
  .stack-text.on { opacity: 1; transform: none; pointer-events: auto; }
  .stack-text h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; }
  .stack-text p { font-size: 17px; max-width: 40ch; }
  .stack-dots { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; }
  .stack-dots li { width: 28px; height: 4px; border-radius: 4px; background: #ede3e0; transition: background .4s, width .4s; }
  .stack-dots li.on { background: var(--grad); width: 48px; }
  .stack-cards { gap: 0; padding-bottom: 8vh; }
  .scard { position: sticky; top: calc(120px + var(--i) * 22px); margin-bottom: 34vh; transform-origin: 50% 0; transition: transform .25s ease-out, filter .25s; will-change: transform; }
  .scard:last-child { margin-bottom: 0; }
}
.sc-head { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 16px; }
.sc-head > div { flex: 1; }
.sc-head b { display: block; color: var(--ink); font-size: 16px; }
.sc-head small { color: var(--muted); font-size: 13px; }
.sc-field { margin-bottom: 12px; }
.sc-field label { font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.fake-input { border: 1px solid #e6cfcc; border-radius: 12px; padding: 10px 12px; font-size: 14px; color: var(--ink); background: #fcfbfa; }
.fake-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fake-chips span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.fake-chips span.on { background: var(--grad); color: #fff; border-color: transparent; }
.sc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fake-btn { margin-top: 8px; text-align: center; padding: 12px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600; font-size: 14px; }
.sc-creator { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1ebe9; }
.sc-creator:last-child { border-bottom: 0; }
.sc-creator.dim { opacity: 0.55; }
.sc-creator .badge { font-size: 11px; }
.dial.bad { --c: #dc2626; }
.scard .kv.total { border-top: 1px solid var(--line); border-bottom: 0; margin-top: 4px; padding-top: 12px; font-size: 16px; }
.held, .released { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px; border-radius: 16px; font-size: 14px; }
.held { background: #f8e9e8; color: #5b21b6; }
.released { background: #ecfdf5; color: #065f46; }
.reel-preview { height: 150px; border-radius: 18px; background: linear-gradient(135deg, #2e2523, #8a0c0f 60%, #7a0b10); color: rgba(255,255,255,0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 13px; margin-bottom: 4px; }

/* v4: money trail drawn on scroll */
.trail { position: relative; }
.trail-svg { display: none; }
.trail-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.trail-steps li { display: flex; flex-direction: column; gap: 3px; padding-left: 52px; position: relative; }
.trail-steps .tnode { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 12px; background: #2e2523; border: 1px solid rgba(255,255,255,0.14); color: #f0d6d4; font-family: Manrope, sans-serif; font-weight: 700; font-size: 14px; display: grid; place-items: center; transition: background .4s, transform .4s, color .4s; }
.trail-steps li.on .tnode { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.08); }
.trail-steps li:last-child.on .tnode { background: #16a34a; }
.trail-steps b { color: #fff; font-family: Manrope, sans-serif; font-size: 15px; }
.trail-steps small { color: #b7aaa7; font-size: 13px; }
@media (min-width: 900px) {
  .trail { height: 330px; }
  .trail-svg { display: block; position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 240px; overflow: visible; }
  .trail-base, .trail-line { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; }
  .trail-base { stroke: rgba(255,255,255,0.12); }
  .trail-line { stroke: url(#trailGrad); stroke-linecap: round; }
  .trail-steps { display: block; position: absolute; inset: 0 0 auto 0; height: 240px; }
  .trail-steps li { position: absolute; left: var(--x); top: var(--y); transform: translate(-19px, -19px); padding: 52px 0 0; width: 170px; }
  .trail-steps .tnode { left: 0; top: 0; }
  .trail-steps li:last-child { transform: translate(calc(-100% + 19px), -19px); text-align: right; align-items: flex-end; }
  .trail-steps li:last-child .tnode { left: auto; right: 0; }
}
@media (max-width: 640px) {
  .compare th, .compare td { padding: 12px 10px; font-size: 13px; }
  .compare tbody th { position: sticky; left: 0; z-index: 1; box-shadow: 6px 0 10px -8px rgba(40,10,10,0.25); }
}

/* v4: comparison */
.compare-wrap { overflow-x: auto; border-radius: 24px; border: 1px solid #ede5e2; background: #fff; box-shadow: 0 24px 50px -32px rgba(40,10,10,0.3); }
.compare { min-width: 640px; }
.compare th, .compare td { padding: 16px 18px; text-align: center; font-size: 14px; border-bottom: 1px solid #f1ebe9; }
.compare thead th { background: #fff; font-size: 14px; color: var(--ink); font-weight: 600; vertical-align: bottom; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--ink); background: #fff; }
.compare .us { background: #fbf1f0; }
.compare thead .us { border-radius: 18px 18px 0 0; }
.logo-sm { font-family: Manrope, sans-serif; font-weight: 800; font-size: 18px; }
.compare .yes { color: #16a34a; display: inline-flex; }
.compare .no { color: #c4bfd6; font-size: 18px; }
.compare .part { color: var(--amber); font-size: 13px; font-weight: 600; }
.compare .txt { font-size: 13px; font-weight: 600; color: var(--ink); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .scard { transform: none !important; transition: none !important; }
  .stack-text { transition: none !important; }
}
.swipe-hint { display: none; }
@media (max-width: 640px) { .swipe-hint { display: block; text-align: center; margin: 14px 0 -6px; font-size: 13px; color: var(--muted, #6b6790); } }

/* v5: creator rate calculator */
.rc-hero { background: var(--navy); color: #fff; padding: 64px 0 120px; position: relative; overflow: hidden; }
.rc-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; background: radial-gradient(closest-side, rgba(196,22,28,0.35), transparent); pointer-events: none; }
.rc-hero h1 { font-family: Manrope, sans-serif; font-size: clamp(28px, 4.6vw, 48px); line-height: 1.1; margin: 0 0 14px; max-width: 760px; color: #fff; }
.rc-hero .lead { color: #c4bde9; max-width: 640px; margin: 0; font-size: 17px; }
.eyebrow-l { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: #f2a9a6; margin: 0 0 12px; }
.rc-grid { display: grid; gap: 22px; margin-top: -80px; position: relative; z-index: 1; padding-bottom: 64px; }
@media (min-width: 980px) { .rc-grid { grid-template-columns: 440px 1fr; align-items: start; } .rc-out { position: sticky; top: 88px; } }
.rc-form { padding: 26px; }
.rc-h { font-family: Manrope, sans-serif; font-size: 16px; margin: 6px 0 16px; color: var(--ink); }
.rc-h + .grid { margin-bottom: 8px; }
.rc-note { display: flex; gap: 8px; align-items: flex-start; background: #ecfdf5; color: #047857; border-radius: 12px; padding: 10px 12px; font-size: 13px; margin-bottom: 16px; }
.rc-note svg { flex: none; margin-top: 1px; }
.rc-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rc-seg label { margin: 0; cursor: pointer; }
.rc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.rc-seg span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; transition: border-color .2s, background .2s; }
.rc-seg small { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.3; }
.rc-seg input:checked + span { border-color: #c9504d; background: #fbf1f0; box-shadow: 0 0 0 3px rgba(192,132,252,0.18); }
.rc-seg input:focus-visible + span { outline: 2px solid #a30e0e; outline-offset: 2px; }
.rc-form .check { margin-bottom: 10px; }
.rc-result { padding: 28px; min-height: 320px; }
.rc-empty { display: grid; place-items: center; text-align: center; color: var(--muted); min-height: 260px; align-content: center; gap: 10px; }
.rc-empty svg { color: #c9504d; }
.rc-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rc-label { margin: 18px 0 2px; color: var(--muted); font-size: 14px; }
.rc-big { font-family: Manrope, sans-serif; font-size: clamp(34px, 5vw, 52px); font-weight: 700; margin: 0; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rc-range { margin: 18px 0 26px; }
.rc-bar { height: 10px; border-radius: 99px; background: linear-gradient(90deg, #fde68a, #c9504d 50%, #60a5fa); position: relative; }
.rc-pin { position: absolute; top: 50%; left: 40%; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid #a30e0e; transform: translate(-50%, -50%); box-shadow: 0 4px 10px rgba(124,58,237,0.35); }
.rc-ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--muted); }
.rc-ends b { display: block; color: var(--ink); font-size: 15px; }
.rc-ends .r { text-align: right; }
.rc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rc-table th, .rc-table td { padding: 11px 8px; border-bottom: 1px solid #f1ebe9; text-align: right; white-space: nowrap; }
.rc-table th:first-child, .rc-table td:first-child { text-align: left; white-space: normal; }
.rc-table thead th { font-size: 12px; color: var(--muted); font-weight: 600; }
.rc-table .hl { background: #fbf1f0; color: var(--ink); font-weight: 700; }
.rc-table tbody td { color: var(--text); }
.rc-table tbody tr:last-child td { border-bottom: 0; }
.rc-cols { display: grid; gap: 22px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .rc-cols { grid-template-columns: 1fr 1fr; } }
.rc-cols h3 { font-size: 15px; margin: 0 0 10px; color: var(--ink); }
.rc-factors, .rc-tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.rc-factors li { display: flex; gap: 8px; align-items: baseline; }
.rc-factors .pct { flex: none; font-weight: 700; font-size: 12px; padding: 2px 7px; border-radius: 99px; }
.rc-factors .up .pct { background: #ecfdf5; color: #047857; }
.rc-factors .down .pct { background: #fef2f2; color: #b91c1c; }
.rc-tips li { padding-left: 16px; position: relative; }
.rc-tips li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.rc-cta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.rc-cta .small { flex: 1 1 240px; }
.rc-pop { animation: rcpop .35s ease; }
@keyframes rcpop { from { opacity: .4; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .rc-seg { grid-template-columns: 1fr; } .rc-table th, .rc-table td { padding: 10px 4px; font-size: 13px; } .rc-result, .rc-form { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .rc-pop { animation: none; } }
.rc-promo { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.flex-btns { display: flex; flex-wrap: wrap; gap: 10px; }
[hidden] { display: none !important; }

/* v6: masked creator identity */
.post.masked { cursor: default; background: linear-gradient(135deg, #2a1f5e, #4c1d95 55%, #1e3a8a); }
.post.masked::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 8px, transparent 8px 16px); }

/* v7: highlighted rate calculator link + in-form rate suggestions */
.nav-links .nav-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 8px 7px 12px; border-radius: 999px; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 1.5px solid transparent; color: var(--ink); font-weight: 600; box-shadow: 0 6px 18px -8px rgba(163,14,14,0.6); }
.nav-links .nav-pill svg { color: #a30e0e; }
.nav-links .nav-pill:hover, .nav-links .nav-pill.on { background: linear-gradient(#fbf1f0, #fbf1f0) padding-box, var(--grad) border-box; text-decoration: none; }
.nav-pill .free, .mm-pill .free { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: var(--grad); color: #fff; }
.mobile-menu .mm-pill { font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.rate-suggest { border: 1px solid #f0d6d4; background: linear-gradient(135deg, #fbf1f0, #eff6ff); border-radius: 16px; padding: 16px; margin: 4px 0 18px; }
.rs-head { display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap; }
.rs-head > div:first-child { flex: 1 1 300px; }
.rs-head b { display: inline-flex; gap: 6px; align-items: center; color: var(--ink); }
.rs-head b svg { color: #a30e0e; }
.rs-head p { margin-top: 4px; }
.rs-prod { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; align-self: flex-start; }
.rs-prod label { margin: 0; cursor: pointer; }
.rs-prod input { position: absolute; opacity: 0; pointer-events: none; }
.rs-prod span { display: block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.rs-prod input:checked + span { background: var(--navy); color: #fff; }
.rs-prod input:focus-visible + span { outline: 2px solid #a30e0e; }
.rs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 14px 0; }
.rs-item { background: #fff; border-radius: 12px; padding: 10px 12px; border: 1px solid #f1ebe9; display: flex; flex-direction: column; gap: 2px; }
.rs-item span { font-size: 12px; color: var(--muted); }
.rs-item b { font-family: Manrope, sans-serif; font-size: 17px; color: var(--ink); }
.rs-item small { font-size: 11px; color: var(--muted); }
.rs-foot { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; }
.rs-flash { animation: rsflash 1.2s ease; }
@keyframes rsflash { 0% { box-shadow: 0 0 0 0 rgba(163,14,14,0.6); background: #fbf1f0; } 100% { box-shadow: 0 0 0 8px rgba(163,14,14,0); } }
@media (prefers-reduced-motion: reduce) { .rs-flash { animation: none; } }
.nav-links a { white-space: nowrap; padding: 8px 10px; }
@media (max-width: 1340px) { .nav-links .nl-lg { display: none; } .nav-links .nav-pill .free { display: none; } }
@media (max-width: 1140px) { .nav-links .nl-md { display: none; } }

/* v8: Spidery Web lockup */
.sw-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.sw-lockup:hover { text-decoration: none; }
.sw-logo { height: 46px; width: auto; display: block; }
.sw-product { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-size: 26px; letter-spacing: 0; color: var(--ink); padding-left: 10px; border-left: 1px solid var(--line); line-height: 1; }
.footer .sw-logo { height: 54px; }
.footer .sw-product { color: #f3ece9; border-left-color: rgba(255,255,255,0.18); }
.logo-sm em { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; color: #a30e0e; font-size: 1.15em; }
.logo-sm { font-weight: 800; color: var(--ink); }
@media (max-width: 520px) { .sw-logo { height: 38px; } .sw-product { font-size: 21px; padding-left: 8px; } }
h1, h2, .display { font-weight: 800; letter-spacing: -0.025em; }
.logo.sw-lockup img.sw-logo { width: auto; height: 46px; }
.footer .logo.sw-lockup img.sw-logo { height: 58px; }
.nav .sw-lockup { margin-right: 10px; }
.display .real { background: linear-gradient(90deg, #ff7a6b, #ff4d4d); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 520px) { .logo.sw-lockup img.sw-logo { height: 36px; } }
.nav .sw-lockup { flex: none; }
.nav-links { margin-left: 18px; }
@media (max-width: 1460px) { .nav-links .nl-lg { display: none; } .nav-links .nav-pill .free { display: none; } }
@media (max-width: 1260px) { .nav-links .nl-md { display: none; } }
@media (max-width: 1080px) and (min-width: 960px) { .nav-right .hide-sm.btn-dark { display: none; } }
.logo.sw-lockup img.sw-logo { height: 54px; }
.footer .logo.sw-lockup img.sw-logo { height: 84px; }
@media (max-width: 520px) { .logo.sw-lockup img.sw-logo { height: 44px; } }
.nav .logo.sw-lockup img.sw-wordmark { height: 38px; }
@media (max-width: 520px) { .nav .logo.sw-lockup img.sw-wordmark { height: 30px; } }
/* v10: Connect-style lockup (badge + name) */
.nav .sw-lockup { gap: 10px; }
.sw-badge { width: 40px; height: 40px; border-radius: 50%; display: block; flex: none; box-shadow: 0 1px 3px rgba(40,10,10,0.18); }
.sw-name { display: flex; flex-direction: column; line-height: 1.15; }
.sw-name b { font-family: Manrope, sans-serif; font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.sw-name small { font-size: 12px; color: var(--muted); font-weight: 500; }
@media (max-width: 520px) { .sw-badge { width: 34px; height: 34px; } .sw-name b { font-size: 15px; } .sw-name small { font-size: 11px; } }
.footer .sw-badge { width: 48px; height: 48px; }
.footer .sw-name b { color: #fff; font-size: 19px; }
.footer .sw-name small { color: #b7aaa7; }
