/* The creator brief, in char.folk.com's look (2026-11-23, character only).
   Same tokens as src/components/creator-landing/char-home.module.css. */

@font-face { font-family: "Nunito"; src: url("/creator-char/fonts/Nunito-400.woff") format("woff"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/creator-char/fonts/Nunito-800.woff") format("woff"); font-weight: 700 900; font-display: swap; }

:root {
  --bg: #18181b;
  --s1: #202024;
  --s2: #26272b;
  --s3: #303136;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #f4f4f5;
  --mute: #a1a1aa;
  --faint: #71717a;
  --pop: #2b5cfd;
  --pop-hi: #4b75ff;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1080px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body { color: var(--ink); font-family: "Nunito", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img { display: block; }
:focus-visible { outline: 2px solid var(--pop); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--pop); color: #fff; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--pop); padding: 8px 14px; border-radius: 999px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { height: 20px; width: auto; }
.badge { font-size: 11px; font-weight: 700; color: var(--mute); padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 999px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { font-size: 14px; font-weight: 600; color: var(--mute); padding: 8px 12px; border-radius: 999px; transition: background 160ms var(--ease), color 160ms var(--ease); }
.nav a:hover { color: var(--ink); background: var(--s1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ghost { font-size: 14px; font-weight: 700; color: var(--mute); padding: 9px 14px; }
.ghost:hover { color: var(--ink); }
.cta { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--pop); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 6px 24px -6px rgba(43, 92, 253, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18); transition: transform 160ms var(--ease), background 160ms var(--ease); }
.cta:hover { background: var(--pop-hi); }
.cta:active { transform: scale(0.96); }
.cta-big { height: 54px; padding: 0 34px; font-size: 17px; }

/* "[name] is referring you!" (src/lib/brief-referral.ts) */
.referral { display: flex; align-items: center; gap: 10px; width: fit-content; margin: 12px auto 0; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 700; color: var(--mute); position: relative; z-index: 2; }
.referral .badge { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--pop); color: #fff; font-size: 13px; font-weight: 800; }
.referral .who { color: var(--ink); }

/* Hero with the drifting cast behind it */
.hero-wrap { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -40% -20%; z-index: -1; display: flex; flex-direction: column; gap: 18px; justify-content: center; transform: rotate(-12deg); opacity: 0.16; filter: grayscale(0.35); pointer-events: none; }
.hero-wrap::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 50% 55%, rgba(24, 24, 27, 0.9), rgba(24, 24, 27, 0.35) 70%), linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 70%, var(--bg) 100%); }
.bg-row { display: flex; gap: 18px; width: max-content; animation: drift var(--dur) linear infinite; }
.bg-row.rev { animation-direction: reverse; }
.bg-row img { width: 180px; height: 180px; object-fit: cover; border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.18); }
@keyframes drift { to { transform: translateX(calc(-50% - 9px)); } }
.hero { max-width: var(--wrap); margin: 0 auto; padding: 96px 24px 104px; text-align: center; }
.eyebrow { font-size: 14px; font-weight: 800; color: var(--mute); letter-spacing: 0.02em; }
.hero h1 { margin-top: 14px; font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; }
.pop { color: var(--pop-hi); }
.lede { max-width: 640px; margin: 22px auto 0; font-size: 19px; line-height: 1.55; color: var(--mute); }
.lede b { color: var(--ink); }

/* Sections */
.section { max-width: var(--wrap); margin: 0 auto; padding: 88px 24px 0; }
.head { max-width: 620px; margin-bottom: 26px; }
.head h2, .what h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.head p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--mute); }
.fine { margin-top: 16px; font-size: 13px; color: var(--faint); }

.what { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px; border-radius: 32px; background: var(--s1); border: 1px solid var(--line); }
.big { margin-top: 12px !important; max-width: 30em; font-size: 20px; line-height: 1.5; color: var(--mute); }
.link { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 800; color: var(--pop-hi); }
.link:hover { color: var(--ink); }
.faces { display: flex; flex-shrink: 0; }
.faces img, .final-faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--s1); margin-left: -14px; transition: transform 200ms var(--ease); }
.faces img:first-child, .final-faces img:first-child { margin-left: 0; }
.faces img:hover, .final-faces img:hover { transform: translateY(-4px); }

/* Reels: the video, the money, the views. */
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.reel { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; color: #fff; font: inherit; text-align: left; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--s1); box-shadow: 0 0 0 1px var(--line); transition: transform 300ms var(--ease); }
.reel:hover { transform: translateY(-3px); }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); pointer-events: none; }
.stat { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.stat b { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); }
.stat small { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.eye { width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.snd { position: absolute; right: 10px; top: 10px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, 0.4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z' fill='white'/%3E%3Cpath d='m16 9 6 6M22 9l-6 6'/%3E%3C/svg%3E") center / 14px no-repeat; backdrop-filter: blur(8px); opacity: 0; transition: opacity 200ms var(--ease); }
.reel.on .snd { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z' fill='white'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); }
.reel:hover .snd, .reel:focus-visible .snd, .reel.on .snd { opacity: 1; }
@media (hover: none) { .snd { opacity: 0.85; } }

/* Two-column sections: title on the left, content on the right. */
.split { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 48px; align-items: start; }
.side { position: sticky; top: 96px; }
.side h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.side p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--mute); }

/* How it works: a numbered timeline with a thin rail. */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.timeline > li { position: relative; counter-increment: step; padding: 0 0 34px 56px; }
.timeline > li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--s2); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 800; }
.timeline > li::after { content: ""; position: absolute; left: 17px; top: 38px; bottom: 6px; width: 1px; background: var(--line-strong); }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li:last-child::after { display: none; }
.timeline > li:last-child::before { background: var(--pop); border-color: var(--pop); }
.timeline h3 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.timeline p, .timeline ul { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--mute); }
.timeline ul { padding: 0; list-style: none; display: grid; gap: 6px; }
.timeline ul li { position: relative; padding-left: 16px; }
.timeline ul li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.timeline b { color: var(--ink); }
.tag { font-size: 12px; font-weight: 800; color: var(--pop-hi); padding: 3px 9px; border-radius: 999px; background: rgba(43, 92, 253, 0.14); }

/* What we expect: label / sentence rows. */
.rules { margin: 0; }
.rules > div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.rules > div:last-child { border-bottom: 1px solid var(--line); }
.rules dt { font-size: 16px; font-weight: 800; }
.rules dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--mute); }
.platform-stickers { display: inline-flex; gap: 4px; margin-top: 18px; }
.platform-stickers > * { transition: transform 200ms var(--ease); }
.platform-stickers > *:hover { transform: rotate(0deg) scale(1.12) !important; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 2px; font-size: 16.5px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mute); font-size: 22px; line-height: 1; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 18px; font-size: 15.5px; line-height: 1.6; color: var(--mute); }

/* Pay ladder: top three in gold, grows in once on screen. */
.pay { padding: 40px; border-radius: 32px; background: linear-gradient(180deg, var(--s1), var(--bg)); border: 1px solid var(--line); }
.ladder { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; align-items: end; height: 280px; }
.ladder li { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; }
.bar { display: block; height: var(--h); border-radius: 12px 12px 4px 4px; transform-origin: bottom; transform: scaleY(0); background: linear-gradient(180deg, var(--pop-hi), rgba(43, 92, 253, 0.22)); transition: transform 900ms var(--ease) calc(var(--i) * 70ms), filter 200ms var(--ease), box-shadow 200ms var(--ease); }
.ladder b { margin-top: 10px; font-size: 16px; font-weight: 800; opacity: 0; transform: translateY(6px); transition: opacity 500ms var(--ease) calc(var(--i) * 70ms + 300ms), transform 500ms var(--ease) calc(var(--i) * 70ms + 300ms); }
.ladder small { font-size: 12px; color: var(--faint); opacity: 0; transition: opacity 500ms var(--ease) calc(var(--i) * 70ms + 400ms); }
.ladder.in .bar { transform: scaleY(1); }
.ladder.in b { opacity: 1; transform: none; }
.ladder.in small { opacity: 1; }
.ladder li:hover .bar { filter: brightness(1.25); box-shadow: 0 0 28px rgba(75, 117, 255, 0.55); }
.ladder li:hover b { transform: translateY(-3px) scale(1.12); }
.ladder.in li:hover .bar, .ladder.in li:hover b { transition-delay: 0s; }
.gold .bar { background: linear-gradient(180deg, #ffd66b, #ff9f1c 55%, rgba(255, 140, 20, 0.25)); box-shadow: 0 0 26px rgba(255, 184, 64, 0.28); }
.gold b { color: #ffd66b; font-size: 18px; }
.gold:hover .bar { box-shadow: 0 0 40px rgba(255, 196, 80, 0.6) !important; }
.gold:last-child .bar { animation: glow 2.6s ease-in-out 1.6s infinite; }
@keyframes glow { 50% { box-shadow: 0 0 48px rgba(255, 196, 80, 0.55); } }

.pay-notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 28px; font-size: 14.5px; line-height: 1.5; color: var(--mute); }
.pay-notes b { color: var(--ink); }

/* Final */
.final { max-width: var(--wrap); margin: 96px auto 0; padding: 64px 24px 80px; text-align: center; position: relative; }
.final::before { content: ""; position: absolute; inset: 0 10%; background: radial-gradient(closest-side, rgba(43, 92, 253, 0.22), transparent 75%); pointer-events: none; }
.final > * { position: relative; }
.final-faces { display: flex; justify-content: center; margin-bottom: 22px; }
.final-faces img { border-color: var(--bg); width: 56px; height: 56px; }
.final h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -0.035em; }
.final > p:not(.fine) { margin: 12px 0 26px; color: var(--mute); font-size: 17px; }

/* Footer */
.site-footer { max-width: var(--wrap); margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer nav a { font-size: 14px; font-weight: 600; color: var(--mute); }
.site-footer nav a:hover { color: var(--ink); }
.site-footer > p { width: 100%; font-size: 13px; color: var(--faint); }

/* Tablet */
@media (max-width: 960px) {
  .nav { display: none; }
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 0 24px 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .reels > * { flex: 0 0 200px; scroll-snap-align: start; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .side { position: static; }
  .what { flex-direction: column; align-items: flex-start; }
}

/* Phone */
@media (max-width: 560px) {
  .site-header { padding: 10px 16px; gap: 8px; }
  .badge, .ghost { display: none; }
  .referral .badge { display: grid; }
  .hero { padding: 64px 16px 72px; }
  .bg-row img { width: 120px; height: 120px; border-radius: 22px; }
  .lede { font-size: 16px; }
  .section { padding: 64px 16px 0; }
  .what { padding: 24px; border-radius: 24px; }
  .big { font-size: 17px; }
  .faces img { width: 52px; height: 52px; }
  .reels { margin: 0 -16px; padding: 0 16px 4px; }
  .reels > * { flex-basis: 62%; }
  .timeline > li { padding-left: 48px; }
  .rules > div { grid-template-columns: 1fr; gap: 4px; }
  .pay { padding: 22px 16px; border-radius: 24px; }
  .ladder { gap: 4px; height: 200px; }
  .ladder b, .gold b { font-size: 12px; }
  .ladder small { font-size: 10px; }
  .final { padding: 48px 16px 56px; }
  .site-footer { padding: 24px 16px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-row, .gold:last-child .bar { animation: none; }
  .bar { transform: none; }
  .ladder b, .ladder small { opacity: 1; transform: none; }
  * { transition: none !important; }
}

/* Die-cut sticker styles, copied from the app by scripts/sync-brief-shared-art.cjs. */
/*setup-art:start*/
.brandSticker {
  display: inline-block;
  flex: none;
  overflow: hidden;
  border-radius: 28%;
  box-shadow:
    0 0 0 2.5px #fff,
    0 8px 14px -7px rgba(24, 61, 154, 0.55);
  transform: rotate(var(--tilt, 0deg));
  pointer-events: none;
}
.brandSticker svg {
  display: block;
}
/*setup-art:end*/
