/* The bntyful.com homepage (/).
   Near-black with the brand gradient (sky, orchid, blush, apricot), Archivo for display, Inter for text, Geist Mono for small labels.
   The centrepiece is a scroll story: one bounty card on a sticky stage that changes state as the four steps scroll past.
   Standalone: this file carries its own reset, so it does not load /styles.css. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }

.tp {
    --bg: #0a0a0a;
    --bg-2: #0e0e10;
    --surface: #141416;
    --surface-2: #1a1a1d;
    --surface-3: #212125;
    --line: rgba(255, 255, 255, 0.1);
    --line-2: rgba(255, 255, 255, 0.16);
    --text: #ffffff;
    --soft: #d4d6dd;
    --muted: #9ea2b0;
    --faint: #6b7080;
    --sky: #83d8f5;
    --orchid: #e89ad6;
    --blush: #f7b6b9;
    --apricot: #fbcb81;
    --green: #4ade80;
    --grad: linear-gradient(90deg, #83d8f5 0%, #e89ad6 32%, #f7b6b9 65%, #fbcb81 100%);
    --grad-135: linear-gradient(135deg, #83d8f5 0%, #e89ad6 32%, #f7b6b9 65%, #fbcb81 100%);
    --display: 'Archivo', 'Inter', system-ui, sans-serif;
    --sans: 'Inter', system-ui, sans-serif;
    --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --ease: cubic-bezier(.2, .7, .2, 1);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    background: var(--bg);
    color: var(--text);
    overflow-x: clip;
}
.tp main { overflow-x: clip; }
.tp p, .tp li { color: var(--soft); }
.tp b, .tp strong { color: var(--text); font-weight: 600; }
.tp h1, .tp h2, .tp h3 { font-weight: 800; }
.tp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

/* Gradient text: the brand gradient on an em inside a heading */
.tp-h2 em, .tp-title em, .tp-final-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Floating header ---------- */
.tp-top { position: sticky; top: 0.9rem; z-index: 30; display: flex; justify-content: center; padding: 0 1rem; pointer-events: none; }
.tp-pill {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 0.5rem 0.5rem 0.5rem 1.1rem;
    border-radius: 999px;
    background: rgba(20, 20, 22, 0.78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -20px rgba(0, 0, 0, 0.9);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.tp-top.is-scrolled .tp-pill { background: rgba(16, 16, 18, 0.92); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -16px rgba(0, 0, 0, 1); }
.tp-logo { display: block; border-radius: 4px; }
.tp-logo img { height: 22px; width: auto; }
.tp-logo:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }
.tp-nav { display: flex; gap: 0.2rem; }
.tp-nav a { padding: 0.45rem 0.7rem; border-radius: 999px; font-size: 0.86rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.15s ease, background 0.15s ease; }
.tp-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.tp-nav a:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.tp-pill-cta { display: inline-flex; align-items: center; padding: 0.55rem 1.05rem; border-radius: 999px; background: var(--grad); color: #0a0a0a; font-size: 0.85rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: filter 0.15s ease, transform 0.15s ease; }
.tp-pill-cta:hover { filter: brightness(1.08); }
.tp-pill-cta:active { transform: scale(0.97); }
.tp-pill-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- Buttons ---------- */
.tp-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 1rem 1.7rem; border-radius: 999px; background: var(--grad-135); color: #0a0a0a; font-weight: 700; text-decoration: none; box-shadow: 0 16px 34px -18px rgba(131, 216, 245, 0.7); transition: transform 0.2s var(--ease), box-shadow 0.2s ease, filter 0.15s ease; overflow: hidden; }
.tp-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%); translate: -120% 0; transition: translate 0.6s var(--ease); }
.tp-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -18px rgba(232, 154, 214, 0.75); }
.tp-btn:hover::after { translate: 120% 0; }
.tp-btn:active { transform: translateY(0) scale(0.98); }
.tp-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tp-btn-full { width: 100%; margin-top: 1.2rem; }
.tp-btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: calc(1rem - 1px) 1.5rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); color: var(--text); font-weight: 600; text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease, transform 0.2s var(--ease); }
.tp-btn-line:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.5); transform: translateY(-2px); }
.tp-btn-line:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.tp-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.tp-ctas-left { justify-content: flex-start; margin-top: 2rem; }
.tp-mail { margin-top: 0.9rem; font-size: 0.92rem; color: var(--muted); }
.tp-mail a, .tp-lead a, .tp-who-note a, .tp-a a, .tp-promise a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; border-radius: 3px; }
.tp-mail a:hover, .tp-lead a:hover, .tp-who-note a:hover, .tp-a a:hover, .tp-promise a:hover { text-decoration-color: var(--text); }
.tp-mail a:focus-visible, .tp-lead a:focus-visible, .tp-who-note a:focus-visible, .tp-a a:focus-visible, .tp-promise a:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* ---------- Section heads ---------- */
.tp-section { position: relative; padding: 7.5rem 0; }
.tp-eyebrow { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); }
.tp-h2 { margin-top: 0.9rem; max-width: 18ch; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--text); text-wrap: balance; }
.tp-lead { margin-top: 1.2rem; max-width: 38rem; font-size: 1.15rem; line-height: 1.6; color: var(--muted); }
.tp-head-center { text-align: center; }
.tp-head-center .tp-h2 { margin-left: auto; margin-right: auto; }
.tp-tag { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--muted); font-family: var(--mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.6; white-space: nowrap; }

/* ---------- The bounty card: one component, used in the hero, the story and the creator examples ---------- */
.tp-bounty {
    position: relative;
    padding: 1.25rem 1.3rem 1.1rem;
    border-radius: 22px;
    background: linear-gradient(160deg, #1b1b1f, #121214);
    box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.9), 0 20px 30px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: var(--text);
    container-type: inline-size;
    text-align: left;
}
/* Gradient hairline border, and a sheen that follows the pointer on the creator examples */
.tp-bounty::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-135); opacity: 0.55; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tp-bounty::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(70cqw circle at var(--mx, 25%) var(--my, 15%), rgba(255, 255, 255, 0.09), transparent 55%); pointer-events: none; }
.tp-bounty-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.tp-status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; font-weight: 600; color: var(--green); }
.tp-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2); }
.tp-bounty-title { margin-top: 0.9rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 6.2cqw, 1.6rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--text); }
.tp-bounty-for { margin-top: 0.3rem; font-size: 0.86rem; color: var(--muted); }
.tp-bounty-for b { color: var(--sky); }
.tp-bounty-terms { margin-top: 0.6rem; font-size: 0.9rem; line-height: 1.5; color: var(--soft); }
.tp-bounty-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.6rem; margin-top: 1.1rem; }
.tp-bounty-amt { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 10cqw, 2.4rem); line-height: 1; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tp-bounty-amt small { margin-left: 0.35rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; -webkit-text-fill-color: var(--muted); }
.tp-bounty-due { font-size: 0.8rem; color: var(--muted); white-space: nowrap; padding-bottom: 0.2rem; }
.tp-bounty-lock { display: flex; align-items: center; gap: 0.5rem; margin: 1rem -0.5rem -0.3rem; padding: 0.6rem 0.75rem; border-radius: 12px; background: rgba(131, 216, 245, 0.09); color: var(--sky); font-size: 0.8rem; font-weight: 600; }
.tp-bounty-lock svg { flex: none; }

/* ---------- Hero ---------- */
.tp-hero { position: relative; padding: 4.5rem 0 0; text-align: center; }
/* Starts above the hero so it runs under the floating header too, and fades out before the logo strip */
.tp-bg-video { position: absolute; left: 0; right: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.tp-bg-video video { width: 100%; height: 100%; object-fit: cover; opacity: 0.12; }
.tp-hero-video { top: -6rem; bottom: 0; -webkit-mask-image: linear-gradient(#000 45%, transparent 92%); mask-image: linear-gradient(#000 45%, transparent 92%); }
.tp-orbs { position: absolute; inset: -10rem 0 auto; height: 70rem; overflow: hidden; z-index: 0; pointer-events: none; }
.tp-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.tp-orb-1 { left: 8%; top: 8rem; width: 34rem; height: 34rem; background: rgba(131, 216, 245, 0.28); }
.tp-orb-2 { right: 4%; top: 16rem; width: 30rem; height: 30rem; background: rgba(232, 154, 214, 0.26); }
.tp-orb-3 { left: 38%; top: 34rem; width: 30rem; height: 30rem; background: rgba(251, 203, 129, 0.16); }
.tp-hero > .tp-wrap, .tp-hero-stage, .tp-marquee { position: relative; z-index: 1; }
/* The hero text sits over the top of the demo's gradient, which reaches up behind it */
.tp-hero > .tp-wrap { z-index: 2; }
.tp-kicker { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0.95rem 0.35rem 0.4rem; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.85rem; color: var(--soft); }
.tp-kicker b { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--grad); color: #0a0a0a; font-family: var(--mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.12em; }
.tp-title { margin: 1.6rem auto 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 6.6vw, 5.6rem); line-height: 0.98; letter-spacing: -0.045em; color: var(--text); }
/* Two lines, one per sentence, each kept whole; the size above is what lets the longer one fit */
.tp-title > * { display: block; white-space: nowrap; }
.tp-hero-lede { margin: 1.7rem auto 0; max-width: 38rem; font-size: 1.2rem; line-height: 1.6; color: var(--muted); }
.tp-hero .tp-ctas { margin-top: 2rem; }

/* The reach stage: the new bounty on the left, the post that tags the creator on the right */
.tp-hero-stage { position: relative; margin-top: 6rem; padding: 1rem 0 2.5rem; }
/* Behind the demo, the hero video gives way to the page's dark background */
.tp-hero-stage::before { content: ''; position: absolute; left: 0; right: 0; top: -14rem; bottom: 0; z-index: -1; background: linear-gradient(to bottom, rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.7) 40%, var(--bg) 78%); pointer-events: none; }
.tp-reach-grid { position: relative; display: grid; grid-template-columns: minmax(0, 23rem) clamp(2rem, 6vw, 5rem) minmax(0, 25rem); justify-content: center; align-items: center; padding: 0 1.5rem; text-align: left; transition: opacity 0.5s ease; }
.tp-reach-grid.is-out { opacity: 0; }
.tp-reach-app, .tp-post { position: relative; border-radius: 22px; background: linear-gradient(160deg, #1b1b1f, #121214); box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 80px -40px rgba(0, 0, 0, 0.9), 0 20px 30px -20px rgba(0, 0, 0, 0.8); }
.tp-reach-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.tp-reach-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.tp-reach-bar > span:not(.tp-tag) { margin-left: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--soft); }
.tp-reach-bar .tp-tag { margin-left: auto; }
.tp-reach-body { display: grid; gap: 0.6rem; padding: 1rem; }
.tp-rf { display: grid; gap: 0.25rem; padding: 0.6rem 0.8rem; border-radius: 12px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s ease; }
.tp-rf small { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.tp-rf-v { min-height: 1.45em; font-size: 0.95rem; line-height: 1.45; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-rf-at { color: var(--sky); font-weight: 600; }
.tp-rf-amt { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.1; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tp-rf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.tp-rf.is-typing { box-shadow: inset 0 0 0 1px rgba(131, 216, 245, 0.55); }
.tp-rf.is-typing .tp-rf-v::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -0.12em; background: var(--sky); animation: tp-caret 0.9s steps(1) infinite; }
@keyframes tp-caret { 50% { opacity: 0; } }
.tp-reach-btn { display: grid; margin-top: 0.3rem; border-radius: 999px; background: var(--grad); color: #0a0a0a; font-size: 0.9rem; font-weight: 700; transition: background-color 0.4s ease, color 0.4s ease, scale 0.2s var(--ease); }
.tp-reach-btn > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.75rem 1rem; transition: opacity 0.35s ease; }
.tp-reach-btn > span:last-child { opacity: 0; }
.tp-reach-btn.is-pressed { scale: 0.96; }
.tp-reach-btn.is-locked { background: rgba(131, 216, 245, 0.12); color: var(--sky); }
.tp-reach-btn.is-locked > span:first-child { opacity: 0; }
.tp-reach-btn.is-locked > span:last-child { opacity: 1; }

/* The wire: the bounty link travelling from the app to the post */
.tp-reach-wire { position: relative; height: 2px; margin: 0 0.5rem; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.tp-reach-wire i { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px rgba(232, 154, 214, 0.8); opacity: 0; }
.tp-reach-wire.is-on i { animation: tp-wire 0.9s var(--ease) forwards; }
@keyframes tp-wire { 0% { left: 0; opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* The post that tags the creator, and the replies under it */
.tp-reach-feed { display: grid; gap: 0.55rem; }
.tp-post { padding: 1rem 1.1rem 1.05rem; }
.tp-post-head { display: flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; }
.tp-post-head span:last-child { margin-left: auto; color: var(--faint); font-size: 0.78rem; }
.tp-post > p { margin-top: 0.6rem; font-size: 0.93rem; line-height: 1.5; color: var(--soft); }
.tp-at { color: var(--sky); font-weight: 600; }
.tp-post-link { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.8rem; padding: 0.65rem 0.75rem; border-radius: 14px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.tp-post-link img { flex: none; width: 28px; height: 28px; }
.tp-post-link small { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.tp-post-link b { display: block; font-size: 0.88rem; color: var(--text); }
.tp-av { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); }
.tp-av-brand { background: var(--grad-135); }
.tp-av-1 { background: linear-gradient(135deg, #3b4c63, #1f2733); }
.tp-av-2 { background: linear-gradient(135deg, #5b4060, #2a1f2e); }
.tp-av-c { background: linear-gradient(135deg, var(--sky), #3a7fa0); }
.tp-reply { display: flex; align-items: center; gap: 0.6rem; margin-left: 1.4rem; padding: 0.55rem 0.85rem 0.55rem 0.55rem; border-radius: 16px; background: rgba(26, 26, 29, 0.92); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.86rem; color: var(--soft); }
.tp-reply-creator { box-shadow: inset 0 0 0 1px rgba(131, 216, 245, 0.4); }
.tp-reply-creator b { color: var(--text); }

/* With JS, each piece waits for its moment; without it (or with reduced motion) everything above simply shows */
.tp-reach.is-live [data-step] { opacity: 0; translate: 0 10px; transition: opacity 0.45s ease, translate 0.55s var(--ease); }
.tp-reach.is-live .tp-reach-wire[data-step] { translate: none; }
.tp-reach.is-live [data-step].is-on { opacity: 1; translate: none; }

/* Logo marquee */
.tp-marquee { margin-top: 2.5rem; padding: 1.6rem 0 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.tp-marquee-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.tp-marquee-track { display: flex; width: max-content; margin-top: 1.2rem; animation: tp-marquee 46s linear infinite; }
.tp-marquee:hover .tp-marquee-track { animation-play-state: paused; }
.tp-marquee-row { display: flex; align-items: center; gap: 4rem; padding-right: 4rem; }
.tp-marquee-row img { height: 1.25rem; width: auto; opacity: 0.55; transition: opacity 0.2s ease; }
.tp-marquee-row img:hover { opacity: 1; }
@keyframes tp-marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.tp-statement { padding: 7rem 0 2rem; }
.tp-statement p { max-width: 52rem; margin: 0 auto; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 4.2vw, 3.2rem); line-height: 1.12; letter-spacing: -0.03em; color: var(--faint); text-wrap: balance; }
.tp-statement p span { color: var(--text); }
/* Scroll fill (home.js): the brand gradient sweeps across the words, through the letters, as the line scrolls up the screen.
   Each word is its own box: the background is the gradient up to --word-fill and grey after it, clipped to the letter shapes.
   The padding and matching negative margin give descenders and the last letter room, so nothing is cut off. */
.tp-statement p.is-split .tp-w {
    display: inline-block;
    padding: 0.06em 0.08em 0.2em; margin: -0.06em -0.08em -0.2em;
    /* Top layer: grey over the part not yet filled. Under it: the brand gradient, as wide as the whole statement (--pw) and shifted by the word's position (--wx) */
    background:
        linear-gradient(var(--faint), var(--faint)) 100% 0 / calc(100% - var(--word-fill, 0%)) 100% no-repeat,
        var(--grad) calc(-1 * var(--wx, 0px)) 0 / var(--pw, 100%) 100% no-repeat;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

/* ---------- The scroll story ---------- */
.tp-life { padding-top: 3rem; }
.tp-story { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; margin-top: 4rem; }
.tp-stage-wrap { position: relative; }
.tp-stage {
    position: sticky;
    top: 6.5rem;
    height: min(560px, calc(100vh - 8.5rem));
    border-radius: 32px;
    background:
        radial-gradient(520px 320px at 50% 62%, rgba(232, 154, 214, 0.2), transparent 70%),
        radial-gradient(400px 260px at 20% 20%, rgba(131, 216, 245, 0.16), transparent 70%),
        linear-gradient(160deg, #161618, #09090a);
    box-shadow: inset 0 0 0 1px var(--line), 0 50px 80px -50px rgba(0, 0, 0, 1);
    overflow: hidden;
    container-type: size;
}
.tp-stage-dots { position: absolute; left: 1.4rem; top: 1.3rem; z-index: 6; display: flex; gap: 0.4rem; }
.tp-stage-dots span { width: 26px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); transition: background 0.4s ease; }
.tp-stage[data-step="1"] .tp-stage-dots span:nth-child(-n+1),
.tp-stage[data-step="2"] .tp-stage-dots span:nth-child(-n+2),
.tp-stage[data-step="3"] .tp-stage-dots span:nth-child(-n+3),
.tp-stage[data-step="4"] .tp-stage-dots span:nth-child(-n+4) { background: var(--sky); }
.tp-stage-ex { position: absolute; right: 1.3rem; top: 1.1rem; z-index: 6; }
.tp-stage-status { position: absolute; left: 50%; bottom: 1.4rem; z-index: 6; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.5rem; max-width: calc(100% - 2rem); padding: 0.55rem 1rem; border-radius: 999px; background: rgba(10, 10, 10, 0.75); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.85rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.tp-stage-status::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(131, 216, 245, 0.25); }
.tp-stage-status span { display: none; overflow: hidden; text-overflow: ellipsis; }
.tp-stage[data-step="1"] .tp-stage-status span:nth-child(1),
.tp-stage[data-step="2"] .tp-stage-status span:nth-child(2),
.tp-stage[data-step="3"] .tp-stage-status span:nth-child(3),
.tp-stage[data-step="4"] .tp-stage-status span:nth-child(4) { display: inline; }

/* Actors on the stage. Sizes in cqw so the scene scales with the stage. */
.tp-actor { position: absolute; transition: transform 0.9s var(--ease), opacity 0.6s ease, left 0.9s var(--ease); }
.tp-s-card { left: 50%; top: 50%; width: min(62cqw, 340px); transform: translate(-50%, -50%) rotate(-2deg) scale(0.94); z-index: 3; opacity: 0.85; }
.tp-s-card .tp-bounty-title { font-size: clamp(1.05rem, 6cqw, 1.5rem); }
.tp-s-status { color: var(--muted); }
.tp-s-status span { display: none; }
.tp-s-status i { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1); }
.tp-stage[data-step="1"] .tp-s-status span:nth-of-type(1),
.tp-stage[data-step="2"] .tp-s-status span:nth-of-type(2),
.tp-stage[data-step="3"] .tp-s-status span:nth-of-type(3),
.tp-stage[data-step="4"] .tp-s-status span:nth-of-type(4) { display: inline; }
.tp-stage[data-step="2"] .tp-s-status, .tp-stage[data-step="3"] .tp-s-status { color: var(--green); }
.tp-stage[data-step="2"] .tp-s-status i, .tp-stage[data-step="3"] .tp-s-status i { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2); }
.tp-stage[data-step="4"] .tp-s-status { color: var(--apricot); }
.tp-stage[data-step="4"] .tp-s-status i { box-shadow: 0 0 0 3px rgba(251, 203, 129, 0.2); }
.tp-s-lockline { opacity: 0.4; transition: opacity 0.6s ease, background 0.6s ease; }
.tp-s-lockline span { display: none; }
.tp-stage[data-step="1"] .tp-s-lockline span:nth-of-type(1),
.tp-stage[data-step="2"] .tp-s-lockline span:nth-of-type(2),
.tp-stage[data-step="3"] .tp-s-lockline span:nth-of-type(2),
.tp-stage[data-step="4"] .tp-s-lockline span:nth-of-type(3) { display: inline; }
.tp-stage:not([data-step="1"]) .tp-s-lockline { opacity: 1; }
.tp-stage[data-step="4"] .tp-s-lockline { background: rgba(251, 203, 129, 0.1); color: var(--apricot); }

.tp-s-rings { left: 50%; top: 50%; width: 1px; height: 1px; z-index: 1; opacity: 0; }
.tp-s-rings i { position: absolute; left: 50%; top: 50%; width: 34cqw; height: 34cqw; border-radius: 50%; border: 1px solid rgba(131, 216, 245, 0.6); transform: translate(-50%, -50%); animation: tp-ring 2.4s ease-out infinite; }
.tp-s-rings i:nth-child(2) { animation-delay: 0.8s; }
.tp-s-rings i:nth-child(3) { animation-delay: 1.6s; }
@keyframes tp-ring { from { opacity: 0.9; transform: translate(-50%, -50%) scale(0.6); } to { opacity: 0; transform: translate(-50%, -50%) scale(2.4); } }

.tp-s-lock { left: 50%; top: 12%; z-index: 5; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.95rem; border-radius: 999px; background: var(--grad); color: #0a0a0a; font-weight: 700; font-size: 0.95rem; white-space: nowrap; box-shadow: 0 20px 40px -18px rgba(131, 216, 245, 0.8); transform: translate(-50%, -30px); opacity: 0; }

.tp-s-post { left: 50%; top: 50%; width: min(52cqw, 300px); padding: 1rem 1.1rem; border-radius: 18px; background: #fff; color: #0a0a0a; z-index: 4; transform: translate(60%, -40%) rotate(8deg); opacity: 0; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 1); }
.tp-s-post-head { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; }
.tp-s-post-head i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--grad-135); }
.tp-s-post-head b { color: #0a0a0a; }
.tp-s-post-head span { color: #6b7080; }
.tp-s-post p { margin-top: 0.6rem; font-size: 0.86rem; line-height: 1.45; color: #1f2330; }
.tp-s-post-link { display: inline-block; margin-top: 0.6rem; padding: 0.25rem 0.6rem; border-radius: 8px; background: #eef7fb; color: #0b6fa3; font-family: var(--mono); font-size: 0.7rem; }

.tp-s-timer { left: 50%; bottom: 17%; z-index: 5; width: min(44cqw, 240px); padding: 0.55rem 0.8rem; border-radius: 12px; background: rgba(26, 26, 29, 0.95); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.74rem; font-weight: 600; color: var(--text); transform: translate(-50%, 16px); opacity: 0; }
.tp-s-timer i { display: block; height: 4px; margin-top: 0.45rem; border-radius: 4px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.tp-s-timer i::before { content: ''; display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); }
.tp-stage[data-step="3"] .tp-s-timer i::before { animation: tp-fill 6s linear 0.6s forwards; }
@keyframes tp-fill { to { width: 100%; } }

.tp-s-pay { left: 50%; top: 9%; z-index: 5; padding: 0.8rem 1.1rem; border-radius: 16px; background: #fff; color: #0a0a0a; text-align: left; white-space: nowrap; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 1); transform: translate(-50%, -24px); opacity: 0; }
.tp-s-pay small { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6b7080; }
.tp-s-pay b { display: block; margin-top: 0.15rem; font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: -0.02em; color: #0a0a0a; }
.tp-s-pay b span { font-family: var(--mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.1em; color: #0b6fa3; }
.tp-s-pay em { display: block; margin-top: 0.3rem; font-style: normal; font-size: 0.74rem; color: #3b4150; }
.tp-s-refund { left: 50%; bottom: 13%; z-index: 5; padding: 0.45rem 0.85rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--soft); font-size: 0.78rem; font-weight: 600; white-space: nowrap; transform: translate(-50%, 12px); opacity: 0; }

/* Step 2, lock: the card straightens and brightens, the lock badge drops in, rings pulse */
.tp-stage[data-step="2"] .tp-s-card, .tp-stage[data-step="3"] .tp-s-card, .tp-stage[data-step="4"] .tp-s-card { opacity: 1; }
.tp-stage[data-step="2"] .tp-s-card { transform: translate(-50%, -44%) rotate(0deg) scale(1); }
.tp-stage[data-step="2"] .tp-s-lock { opacity: 1; transform: translate(-50%, 0); }
.tp-stage[data-step="2"] .tp-s-rings { opacity: 1; }
/* Step 3, deliver: the card slides left, the creator's post lands on the right, the window runs */
.tp-stage[data-step="3"] .tp-s-card { transform: translate(-90%, -54%) rotate(-5deg) scale(0.88); }
.tp-stage[data-step="3"] .tp-s-post { opacity: 1; transform: translate(6%, -42%) rotate(3deg); }
.tp-stage[data-step="3"] .tp-s-timer { opacity: 1; transform: translate(-50%, 0); }
/* Step 4, paid: the post leaves, the card returns, the receipt lands */
.tp-stage[data-step="4"] .tp-s-card { transform: translate(-50%, -42%) rotate(0deg) scale(0.9); }
.tp-stage[data-step="4"] .tp-s-post { opacity: 0; transform: translate(120%, -40%) rotate(14deg); }
.tp-stage[data-step="4"] .tp-s-pay { opacity: 1; transform: translate(-50%, 0); }
.tp-stage[data-step="4"] .tp-s-refund { opacity: 1; transform: translate(-50%, 0); }

/* The steps that scroll past the stage; dimmed only while the story is live, so without JS every step reads at full strength */
.tp-steps { list-style: none; }
.tp-step { min-height: min(74vh, 680px); display: flex; flex-direction: column; justify-content: center; padding: 2rem 0; transition: opacity 0.5s ease; }
.tp-story.is-live .tp-step { opacity: 0.3; }
.tp-story.is-live .tp-step.is-active { opacity: 1; }
.tp-step-num { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--sky); }
.tp-step h3 { margin-top: 0.6rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 0.95; letter-spacing: -0.03em; color: var(--text); }
.tp-step p { margin-top: 1rem; max-width: 27rem; font-size: 1.12rem; line-height: 1.6; color: var(--muted); }
.tp-aside { display: flex; align-items: center; gap: 0.9rem; max-width: 42rem; margin: 2rem auto 0; padding: 1rem 1.3rem; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.tp-aside-mark { flex-shrink: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--surface-3); color: var(--text); font-weight: 700; }
.tp-aside p { font-size: 0.97rem; line-height: 1.5; color: var(--muted); }

/* ---------- Who it's for: tabs on the left, a page preview on the right ---------- */
.tp-who { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 20%, var(--bg-2) 80%, var(--bg) 100%); }
.tp-who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-top: 3.5rem; }
.tp-who-tabs { display: grid; border-top: 1px solid var(--line); }
.tp-who-tab { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; width: 100%; padding: 1.6rem 0.75rem 1.6rem 0; border-bottom: 1px solid var(--line); text-align: left; transition: padding-left 0.35s var(--ease), background 0.3s ease; border-radius: 0; }
.tp-who-tab:hover { padding-left: 0.6rem; }
.tp-who-tab:focus-visible { outline: 2px solid var(--sky); outline-offset: -2px; border-radius: 8px; }
.tp-who-num { font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35); transition: color 0.35s ease, -webkit-text-stroke-color 0.35s ease; }
.tp-who-tab.is-active .tp-who-num { color: var(--sky); -webkit-text-stroke-color: var(--sky); }
.tp-who-body { display: block; }
.tp-who-h { display: block; font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.05; letter-spacing: -0.02em; color: var(--text); }
.tp-who-p { display: block; margin-top: 0.4rem; font-size: 0.98rem; line-height: 1.55; color: var(--muted); }
.tp-who-ex { display: block; margin-top: 0.55rem; font-size: 0.9rem; font-weight: 600; color: var(--soft); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s var(--ease), opacity 0.4s ease, margin-top 0.4s ease; margin-top: 0; }
.tp-who-tab.is-active .tp-who-ex { max-height: 4rem; opacity: 1; margin-top: 0.55rem; }
.tp-who-note { margin-top: 2rem; font-size: 0.97rem; color: var(--muted); }

.tp-who-preview { position: relative; perspective: 1400px; }
.tp-frame { position: relative; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 60px 80px -50px rgba(0, 0, 0, 1); overflow: hidden; transform: rotateY(-6deg) rotateX(2deg); transition: transform 0.9s var(--ease); }
.tp-who-preview:hover .tp-frame { transform: rotateY(-2deg) rotateX(1deg); }
.tp-frame-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.tp-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.tp-frame-bar .tp-tag { margin-left: auto; }
.tp-panel { padding: 1.4rem 1.4rem 1.2rem; }
.tp-panel[hidden] { display: none; }
.tp-panel.is-active { animation: tp-panel-in 0.55s var(--ease) both; }
@keyframes tp-panel-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: none; } }
.tp-panel-head { display: flex; align-items: center; gap: 0.8rem; }
.tp-panel-head b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--text); }
.tp-panel-head small { display: block; font-size: 0.78rem; color: var(--muted); }
.tp-avatar { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; }
.tp-avatar-a { background: var(--grad-135); }
.tp-avatar-b { border-radius: 12px; background: linear-gradient(135deg, var(--sky), #2b6fb3); }
.tp-avatar-c { border-radius: 12px; background: linear-gradient(135deg, var(--apricot), var(--orchid)); }
.tp-rows { list-style: none; margin-top: 1.2rem; border-top: 1px solid var(--line); }
.tp-rows li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); animation: tp-panel-in 0.55s var(--ease) both; }
.tp-rows li:nth-child(2) { animation-delay: 0.08s; }
.tp-rows li:nth-child(3) { animation-delay: 0.16s; }
.tp-rows b { display: block; font-size: 0.95rem; color: var(--text); }
.tp-rows small { display: block; font-size: 0.76rem; color: var(--muted); }
.tp-rows em { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.tp-panel-foot { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); }

/* ---------- For creators: copy on the left, three example bounties fanned on the right ---------- */
.tp-creators-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.tp-points { list-style: none; display: grid; gap: 0.75rem; margin-top: 1.8rem; }
.tp-points li { position: relative; padding-left: 1.6rem; color: var(--muted); line-height: 1.55; }
.tp-points li::before { content: ''; position: absolute; left: 0; top: 0.55rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--grad); }
.tp-examples { position: relative; height: 460px; perspective: 1200px; }
.tp-example { position: absolute; width: 74%; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) rotate(var(--rz, 0deg)); transition: transform 0.6s var(--ease), box-shadow 0.4s ease; cursor: default; }
.tp-example.is-tilting { transition-duration: 0.18s; }
.tp-example:nth-child(1) { --rz: -7deg; left: 0; top: 2%; z-index: 1; }
.tp-example:nth-child(2) { --rz: 3deg; right: 0; top: 24%; z-index: 2; }
.tp-example:nth-child(3) { --rz: -3deg; left: 8%; bottom: 0; z-index: 3; }
.tp-example:hover { z-index: 4; box-shadow: 0 60px 90px -40px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.tp-examples-tag { position: absolute; right: 2%; top: 0; z-index: 5; }

/* ---------- Why BNTYFUL: four ruled columns ---------- */
.tp-why-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-top: 3rem; }
.tp-why-grid li { position: relative; padding-top: 1.4rem; border-top: 1px solid var(--line-2); }
.tp-why-grid li::before { content: ''; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--grad); transition: width 0.6s var(--ease); }
.tp-why-grid li:hover::before, .tp-why-grid li.is-in::before { width: 100%; }
.tp-why-grid li.is-in::before { transition-delay: 0.3s; }
.tp-why-grid img { width: 2.6rem; height: 2.6rem; }
.tp-why-grid h3 { margin-top: 1rem; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.02em; color: var(--text); }
.tp-why-grid p { margin-top: 0.6rem; font-size: 0.97rem; line-height: 1.55; color: var(--muted); }

/* ---------- Pricing ---------- */
.tp-pricing { background: var(--bg-2); }
.tp-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; margin-top: 3rem; }
.tp-facts { list-style: none; counter-reset: n; }
.tp-facts li { counter-increment: n; display: grid; grid-template-columns: 4.2rem 1fr; gap: 0.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.tp-facts li:last-child { border-bottom: 1px solid var(--line); }
.tp-facts li::before { content: counter(n, decimal-leading-zero); font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.1em; line-height: 2; color: var(--sky); }
.tp-facts h3 { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.02em; color: var(--text); }
.tp-facts p { margin-top: 0.45rem; font-size: 1rem; line-height: 1.55; color: var(--muted); }
.tp-promise { display: flex; align-items: flex-start; gap: 1.2rem; margin-top: 2rem; padding: 1.5rem 1.7rem; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.tp-promise-mark { flex-shrink: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--grad); color: #0a0a0a; font-size: 1.1rem; font-weight: 800; }
.tp-promise h3 { font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1.05; letter-spacing: -0.02em; color: var(--text); }
.tp-promise p { margin-top: 0.4rem; font-size: 0.97rem; line-height: 1.55; color: var(--muted); }

.tp-calc { position: sticky; top: 6.5rem; padding: 2rem; border-radius: 30px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 50px 80px -50px rgba(0, 0, 0, 1); }
.tp-calc::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-135); opacity: 0.4; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tp-calc-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.tp-calc-title { font-family: var(--display); font-weight: 800; font-size: 1.8rem; letter-spacing: -0.02em; line-height: 1; color: var(--text); }
.tp-calc-rule { margin-top: 0.6rem; font-size: 0.97rem; line-height: 1.5; color: var(--muted); }
.tp-field { margin-top: 1.5rem; }
.tp-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.tp-field label { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.tp-field-value { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.tp-field-ends { display: flex; justify-content: space-between; margin-top: 0.35rem; font-size: 0.75rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.tp-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.tp-range:focus { outline: none; }
.tp-range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: var(--grad) 0 0 / var(--fill, 0%) 100% no-repeat, rgba(255, 255, 255, 0.1); }
.tp-range::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.tp-range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--grad); }
.tp-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 8px 16px -6px rgba(0, 0, 0, 0.9); }
.tp-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 8px 16px -6px rgba(0, 0, 0, 0.9); }
.tp-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--sky); }
.tp-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--sky); }

/* The 93 / 7 split: a conic ring that sweeps in when the calculator scrolls into view */
@property --tp-sweep { syntax: '<number>'; inherits: false; initial-value: 0; }
.tp-split { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; margin-top: 1.5rem; }
.tp-ring { --tp-sweep: 0; position: relative; display: grid; place-content: center; width: 8.2rem; height: 8.2rem; border-radius: 50%; text-align: center; background: conic-gradient(from 0deg, #83d8f5 0%, #e89ad6 40%, #fbcb81 calc(var(--tp-sweep) * var(--pct) * 1%), rgba(255, 255, 255, 0.1) 0); transition: --tp-sweep 1.4s var(--ease); }
.tp-ring.is-in { --tp-sweep: 1; }
.tp-ring::before { content: ''; position: absolute; inset: 0.7rem; border-radius: 50%; background: var(--surface); }
.tp-ring b, .tp-ring small { position: relative; }
.tp-ring b { font-family: var(--display); font-weight: 800; font-size: 1.8rem; line-height: 1; letter-spacing: -0.03em; color: var(--text); }
.tp-ring small { display: block; margin-top: 0.2rem; font-size: 0.66rem; color: var(--muted); }
.tp-rows-calc { list-style: none; }
.tp-rows-calc li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.tp-rows-calc li:first-child { border-top: 0; }
.tp-rows-calc span { font-size: 0.95rem; color: var(--soft); }
.tp-rows-calc small { display: block; font-size: 0.76rem; color: var(--faint); }
.tp-rows-calc b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tp-rows-calc li:nth-child(2) b { font-size: 1.7rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tp-calc-refund { margin-top: 1.1rem; padding: 0.8rem 1rem; border-radius: 12px; background: rgba(131, 216, 245, 0.08); font-size: 0.9rem; font-weight: 600; color: var(--sky); }
.tp-calc-refund b { color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.tp-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
.tp-faq-grid > div:first-child { position: sticky; top: 6.5rem; }
.tp-faq-list { border-top: 1px solid var(--line); }
.tp-q { border-bottom: 1px solid var(--line); }
.tp-q summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; list-style: none; cursor: pointer; font-weight: 600; font-size: 1.1rem; color: var(--text); transition: color 0.2s ease; }
.tp-q summary::-webkit-details-marker { display: none; }
.tp-q summary:hover { color: var(--sky); }
.tp-q summary:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 6px; }
.tp-q summary i { flex: none; position: relative; width: 1.8rem; height: 1.8rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background 0.3s ease, transform 0.4s var(--ease); }
.tp-q summary i::before, .tp-q summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 0.8rem; height: 2px; background: currentColor; translate: -50% -50%; transition: rotate 0.4s var(--ease); }
.tp-q summary i::after { rotate: 90deg; }
.tp-q[open] summary i { background: rgba(255, 255, 255, 0.08); transform: rotate(45deg); }
.tp-a { overflow: hidden; }
.tp-a > div { padding: 0 3rem 1.3rem 0; }
.tp-a p { font-size: 1rem; line-height: 1.6; color: var(--muted); }
.tp-a.is-animating { transition: height 0.4s var(--ease); }

/* ---------- Final ---------- */
.tp-final { position: relative; overflow: hidden; padding: 9rem 0 8rem; text-align: center; }
.tp-final::before { content: ''; position: absolute; left: 50%; top: 55%; width: 1000px; height: 1000px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(232, 154, 214, 0.22), rgba(131, 216, 245, 0.1) 35%, transparent 60%); pointer-events: none; }
.tp-final-inner { position: relative; z-index: 2; }
/* The video fades in from the section above and out into the footer; the glow sits over it */
.tp-final-video { top: 0; bottom: 0; -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.tp-final::before { z-index: 1; }
.tp-final-title { margin-top: 0.9rem; font-family: var(--display); font-weight: 900; font-size: clamp(3.4rem, 11vw, 9rem); line-height: 0.88; letter-spacing: -0.045em; color: var(--text); }
.tp-final-sub { max-width: 34rem; margin: 1.6rem auto 0; font-size: 1.15rem; line-height: 1.6; color: var(--muted); }
.tp-final .tp-ctas { margin-top: 2.4rem; }

/* ---------- Footer ---------- */
.tp-foot { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); background: #070708; }
.tp-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 2.5rem; align-items: start; }
.tp-foot-logo { display: inline-block; border-radius: 4px; }
.tp-foot-logo img { height: 26px; width: auto; }
.tp-foot-logo:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }
.tp-foot-tag { margin-top: 0.9rem; font-size: 0.95rem; color: var(--muted); }
.tp-foot-nav { display: grid; gap: 0.5rem; }
.tp-foot-nav a { width: max-content; font-size: 0.95rem; color: var(--muted); text-decoration: none; transition: color 0.15s ease; }
.tp-foot-nav a:hover { color: var(--text); }
.tp-foot-nav a:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 3px; }
/* Cookie settings: re-opens the banner, so it needs /site-prefs.js. The footer button only shows once that
   script has run (html.prefs-ready); content blockers that block the script would otherwise leave a dead button. */
.tp-foot-btn { width: max-content; padding: 0; font-size: 0.95rem; color: var(--muted); text-align: left; transition: color 0.15s ease; }
.tp-foot-btn:hover { color: var(--text); }
.tp-foot-btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 3px; }
html:not(.js) [data-cookie-settings] { display: none; }
html:not(.prefs-ready) .tp-foot-btn[data-cookie-settings] { display: none; }
.tp-social { display: flex; gap: 0.6rem; }
.tp-social a { display: block; border-radius: 10px; opacity: 0.75; transition: opacity 0.15s ease, transform 0.2s var(--ease); }
.tp-social a:hover { opacity: 1; transform: translateY(-2px); }
.tp-social a:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.tp-social img { width: 38px; height: 38px; }
/* Bottom line: copyright left, legal links right; wraps under each other on narrow screens */
.tp-foot-bottom { max-width: 1160px; margin: 2.5rem auto 0; padding: 1.5rem 1.5rem 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.tp-foot-copy { font-size: 0.8rem; color: var(--faint); }
.tp-foot-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.tp-foot-legal a, .tp-foot-legal .tp-foot-btn { font-size: 0.8rem; color: var(--muted); text-decoration: none; transition: color 0.15s ease; }
.tp-foot-legal a:hover { color: var(--text); }
.tp-foot-legal a:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 3px; }
.tp-foot-legal [aria-current="page"] { color: var(--text); }

/* ---------- Cookie banner (same ids as the live pages; /site-prefs.js adds .show) ---------- */
.tp-cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9999; display: none; align-items: center; gap: 1rem; max-width: 46rem; margin: 0 auto; padding: 1rem 1.2rem; border-radius: 18px; background: rgba(20, 20, 22, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -20px rgba(0, 0, 0, 1); }
.tp-cookie.show { display: flex; }
.tp-cookie-msg { flex: 1; font-size: 0.82rem; line-height: 1.5; color: var(--muted); }
.tp-cookie-msg a { color: var(--sky); }
.tp-cookie-btns { display: flex; gap: 0.5rem; }
.tp-cookie-decline { padding: 0 1.1rem; height: 2.5rem; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-weight: 700; }
.tp-cookie-decline:hover { box-shadow: inset 0 0 0 1px var(--text); }
.tp-cookie-decline:focus-visible, .tp-cookie-accept:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.tp-cookie-accept { padding: 0 1.1rem; height: 2.5rem; border-radius: 10px; background: var(--grad); color: #0a0a0a; font-weight: 700; }

/* ---------- Entrance and reveal (only with JS, so nothing starts hidden without it) ---------- */
.js .tp-hero > .tp-wrap > * { animation: tp-rise 0.9s var(--ease) both; }
.js .tp-hero > .tp-wrap > :nth-child(2) { animation-delay: 0.08s; }
.js .tp-hero > .tp-wrap > :nth-child(3) { animation-delay: 0.16s; }
.js .tp-hero > .tp-wrap > :nth-child(4) { animation-delay: 0.24s; }
.js .tp-hero > .tp-wrap > :nth-child(5) { animation-delay: 0.3s; }
.js .tp-hero-stage { animation: tp-rise 1.1s var(--ease) 0.3s both; }
.js .tp-marquee { animation: tp-rise 1s var(--ease) 0.5s both; }
@keyframes tp-rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: none; } }
.js .tp-reveal { opacity: 0; translate: 0 28px; transition: opacity 0.8s ease, translate 0.8s var(--ease); }
.js .tp-reveal.is-in { opacity: 1; translate: none; }

/* The hero orbs drift with the scroll, where the browser can drive an animation from it */
@supports (animation-timeline: scroll()) {
    .tp-orb { animation: tp-drift linear both; animation-timeline: scroll(root); animation-range: 0 120vh; }
    .tp-orb-2 { animation-name: tp-drift-2; }
}
@keyframes tp-drift { to { translate: 0 -14rem; } }
@keyframes tp-drift-2 { to { translate: 0 -22rem; } }

/* ---------- Tablet ---------- */
/* The reach stage stacks: the bounty, the wire running down, then the post */
@media (max-width: 760px) {
    .tp-reach-grid { grid-template-columns: minmax(0, 25rem); }
    .tp-reach-wire { width: 2px; height: 2.2rem; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
    .tp-reach-wire i { left: 50%; top: 0; margin: -5px 0 0 -5px; }
    .tp-reach-wire.is-on i { animation-name: tp-wire-down; }
}
@keyframes tp-wire-down { 0% { top: 0; opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

@media (max-width: 960px) {
    .tp-section { padding: 5rem 0; }
    .tp-nav { display: none; }
    .tp-story { grid-template-columns: 1fr; gap: 0; margin-top: 2.5rem; }
    .tp-stage { position: relative; top: auto; height: clamp(300px, 44vh, 400px); border-radius: 24px; }
    .tp-stage-wrap { position: sticky; top: 4.9rem; z-index: 3; }
    .tp-step { min-height: min(62vh, 560px); justify-content: flex-start; padding: 2.5rem 0 0; }
    /* The shorter stage: the card sits higher in step 3 so the window chip clears it */
    .tp-stage[data-step="3"] .tp-s-card { transform: translate(-90%, -62%) rotate(-5deg) scale(0.86); }
    .tp-stage[data-step="3"] .tp-s-post { transform: translate(6%, -50%) rotate(3deg); }
    .tp-s-timer { left: 66%; bottom: 15%; }
    .tp-who-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .tp-frame { transform: none; max-width: 34rem; }
    .tp-who-preview:hover .tp-frame { transform: none; }
    .tp-creators-grid { grid-template-columns: 1fr; gap: 3rem; }
    .tp-examples { height: 420px; max-width: 30rem; }
    .tp-why-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .tp-pricing-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .tp-calc { position: static; }
    .tp-faq-grid { grid-template-columns: 1fr; gap: 2rem; }
    .tp-faq-grid > div:first-child { position: static; }
    .tp-foot-grid { grid-template-columns: 1fr 1fr; }
    .tp-social { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
    .tp-wrap { padding: 0 1rem; }
    .tp-top { top: 0.6rem; }
    .tp-pill { gap: 0.7rem; padding: 0.45rem 0.45rem 0.45rem 0.9rem; }
    .tp-logo img { height: 17px; }
    .tp-pill-cta { padding: 0.45rem 0.8rem; font-size: 0.78rem; }
    .tp-hero { padding-top: 3.5rem; }
    .tp-kicker { max-width: calc(100vw - 2rem); white-space: normal; text-align: left; line-height: 1.3; font-size: 0.8rem; }
    .tp-kicker b { flex-shrink: 0; }
    .tp-title { font-size: 7.2vw; }
    .tp-hero-lede { font-size: 1.05rem; }
    .tp-btn, .tp-btn-line { flex: 1 1 9rem; }
    .tp-hero .tp-ctas > *, .tp-final .tp-ctas > * { flex-basis: 100%; }
    .tp-hero-stage { margin-top: 4rem; padding-bottom: 1.5rem; }
    .tp-reach-grid { padding: 0 1rem; }
    /* One reply is enough to make the point on a phone */
    .tp-reply:nth-child(3) { display: none; }
    .tp-marquee-row { gap: 2.4rem; padding-right: 2.4rem; }
    .tp-marquee-row img { height: 1rem; }
    .tp-statement { padding: 5rem 0 1rem; }
    .tp-stage { height: clamp(320px, 48vh, 400px); }
    .tp-stage-status { bottom: 0.9rem; font-size: 0.75rem; padding: 0.4rem 0.8rem; }
    .tp-s-card { width: min(70cqw, 300px); }
    .tp-s-card .tp-bounty-terms { display: none; }
    /* Step 3 on a phone: the card sits top-left, the post lands over its lower-right corner, the window runs bottom-left */
    .tp-s-post { width: min(60cqw, 240px); padding: 0.8rem 0.9rem; }
    .tp-s-post p { font-size: 0.78rem; }
    .tp-stage[data-step="3"] .tp-s-card { transform: translate(-64%, -68%) rotate(-5deg) scale(0.84); }
    .tp-stage[data-step="3"] .tp-s-post { transform: translate(-22%, -16%) rotate(3deg); }
    .tp-s-timer { left: 1rem; bottom: 14%; width: 38cqw; transform: translateY(10px); }
    .tp-stage[data-step="3"] .tp-s-timer { transform: none; }
    /* Step 4 on a phone: a smaller receipt above a smaller card; the status pill carries the refund line */
    .tp-s-pay { top: 7%; padding: 0.55rem 0.9rem; }
    .tp-s-pay b { font-size: 1.3rem; }
    .tp-s-pay em { font-size: 0.68rem; }
    .tp-stage[data-step="4"] .tp-s-card { transform: translate(-50%, -28%) scale(0.82); }
    .tp-s-refund { display: none; }
    .tp-step { min-height: min(58vh, 520px); }
    .tp-step h3 { font-size: 2.4rem; }
    .tp-aside { padding: 0.9rem 1rem; }
    .tp-who-tab { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.3rem 0; }
    .tp-who-tab:hover { padding-left: 0; }
    .tp-who-num { font-size: 2.4rem; }
    .tp-examples { height: 400px; }
    .tp-example { width: 80%; }
    .tp-why-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .tp-facts li { grid-template-columns: 3rem 1fr; }
    .tp-calc { padding: 1.5rem 1.2rem; border-radius: 24px; }
    .tp-split { grid-template-columns: 1fr; justify-items: center; }
    .tp-rows-calc { width: 100%; }
    .tp-promise { flex-direction: column; padding: 1.4rem; }
    .tp-q summary { font-size: 1rem; padding: 1.1rem 0; }
    .tp-a > div { padding-right: 1rem; }
    .tp-final { padding: 6rem 0 5rem; }
    .tp-final .tp-ctas > * { flex-basis: 100%; }
    .tp-foot-grid { grid-template-columns: 1fr; gap: 2rem; }
    .tp-cookie { flex-direction: column; align-items: stretch; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
    .tp-cookie-btns > * { flex: 1; }
}

@media (max-width: 380px) {
    .tp-logo img { height: 15px; }
    .tp-s-card { width: 76cqw; }
}

@media print {
    .tp { background: #fff; color: #000; }
    .tp-top, .tp-stage-wrap, .tp-calc, .tp-cookie { position: static; }
    .tp-stage { position: relative; top: auto; height: 420px; }
    .tp-step { min-height: 0; opacity: 1 !important; }
    .js .tp-reveal { opacity: 1; translate: none; transition: none; }
    .tp-marquee-track, .tp-s-rings i { animation: none; }
    .js .tp-hero > .tp-wrap > *, .js .tp-hero-stage, .js .tp-marquee { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .tp *, .tp *::before, .tp *::after { animation: none !important; transition: none !important; }
    .js .tp-reveal { opacity: 1; translate: none; }
    .tp-ring { --tp-sweep: 1; }
    .tp-why-grid li::before { width: 100%; }
    .tp-s-timer i::before { width: 100%; }
    .tp-orb { animation: none; translate: none; }
}
