/* Hallmark · checked: 2026-11-08 · genre: playful (inferred: mascot-led creator tool) · theme: brand (FanSee mascot art)
 * floor: fixed 48, 7a, 34, 50, 54, 67, 63, 47a, 30a, 19, 10a, 40, 41, 26a, 27 · reflex fixed: 12, 11, 3, 66, 29, 64, 39b
 * waive 47c: the sunburst is the mascot's own material, static, behind the cat only
 * waive 84: the demo is built, not captured, because a real Fansly chat would show private fan data
 * waive 38iii: one accented word, in the hero only, as the brand signature (blue F/S lettering)
 * signature: the cat you can drag and throw; a hard throw changes its mood and repaints the hero
 * nav: floating solid pill, wordmark left, one action · footer: one line, wordmark, note, support
 * built: the project · redesign: polish+ (layout kept, routine switch and facts band added on request) · v2.0.0 */

:root {
  /* ink and paper */
  --ink: #121212;
  --ink-soft: #2b2a27;
  --paper: #FBF6EC;
  --paper-2: #F3ECDD;
  --surface: #FFFDF8;
  --muted: #5d5a54;
  --muted-2: #6f6a60;
  --on-dark: #FBF6EC;
  --on-dark-muted: #c9c2b4;

  /* mascot palette, taken from the six art backgrounds */
  --amber: #FDB515;
  --orange: #F4921F;
  --sun: #FDCB5A;
  --pink: #F7A1CB;
  --green: #A6DA84;
  --sky: #9CD9FB;
  --gray: #BBBBBB;
  --lilac: #D0D2E6;
  --blush: #F5737A;
  --ok: #18A35B;
  --sky-ink: #24414f;
  --amber-ink: #4d3b10;

  /* the F/S letters: light face for display, deep face for text-bearing fills */
  --blue: #5B84FF;
  --blue-deep: #2A44C8;
  --primary: #3554D9;
  --primary-hover: #2E4AC4;
  --on-primary: #FFFDF8;

  /* tinted card surfaces */
  --t-msg: #FFF0C7;
  --t-crm: #FFD9EA;
  --t-content: #E2F4D5;
  --t-analytics: #DBF0FD;
  --t-stream: #FFE1C2;

  --amber-2: #FFD466;
  --pink-2: #FBC6DF;
  --green-2: #C9EAB1;
  --sky-2: #D5EFFE;
  --gray-2: #D6D6D6;

  --mood: var(--orange);
  --mood-2: var(--sun);
  --ring: var(--ink);

  /* type */
  --font-display: "Dela Gothic One", "Arial Black", sans-serif;
  --font-body: "Onest", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;

  /* shape */
  --line: 3px;
  --r: 22px;
  --r-sm: 14px;
  --drop: 6px 6px 0 var(--ink);
  --drop-sm: 4px 4px 0 var(--ink);

  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* motion: critically damped by default (Apple: damping 1.0, response ~0.35s) */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-press: cubic-bezier(.3, 0, .5, 1);
  --dur-micro: 100ms;
  --dur-short: 280ms;
  --dur-med: 450ms;
  /* spring with overshoot: only the primary action and the cat (one character moment) */
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1);
  }
}

/* moods: a declared theme block per cat background */
body[data-mood="burst"] { --mood: var(--orange); --mood-2: var(--sun); }
body[data-mood="amber"] { --mood: var(--amber); --mood-2: var(--amber-2); }
body[data-mood="pink"]  { --mood: var(--pink);  --mood-2: var(--pink-2); }
body[data-mood="green"] { --mood: var(--green); --mood-2: var(--green-2); }
body[data-mood="sky"]   { --mood: var(--sky);   --mood-2: var(--sky-2); }
body[data-mood="gray"]  { --mood: var(--gray);  --mood-2: var(--gray-2); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--space-9); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; overflow-wrap: break-word; min-width: 0; }
p { margin: 0; }
code { font-family: var(--font-mono); font-size: .86em; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 8px; padding: .05em .4em; white-space: nowrap; }
svg.ic, .plan li svg, summary svg { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 10px; transition: none; }
.skip { position: absolute; left: var(--space-3); top: var(--space-3); z-index: 200; background: var(--ink); color: var(--on-dark); padding: 10px 14px; border-radius: 10px; text-decoration: none; transform: translateY(-160%); }
.skip:focus { transform: none; }

/* ---------- Buttons: feedback on pointer-down, critically damped release ---------- */
.btn {
  --bg: var(--surface); --fg: var(--ink); --sh: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px;
  padding: 0 1.4em;
  font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  color: var(--fg); background: var(--bg);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--sh);
  cursor: pointer;
  transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sh); }
.btn:active { transform: translate(3px, 3px) scale(.97); box-shadow: 1px 1px 0 var(--sh); transition-duration: var(--dur-micro); transition-timing-function: var(--ease-press); }
.btn-lg { min-height: 56px; font-size: 1.08rem; padding: 0 1.6em; }
.btn-sm { min-height: 44px; font-size: .95rem; padding: 0 1.1em; }
.btn-ink { --bg: var(--ink); --fg: var(--on-dark); --sh: var(--blue); }
.btn-paper { --bg: var(--paper); }
.btn-outline { --bg: transparent; box-shadow: none; }
.btn-outline:hover { --bg: var(--paper); box-shadow: 4px 4px 0 var(--sh); }
.btn-outline:active { box-shadow: none; }
.btn:disabled, .btn[aria-disabled="true"], button:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { --bg: var(--primary); --fg: var(--on-primary); transition-timing-function: var(--spring); transition-duration: var(--dur-med); }
.btn-primary:hover { --bg: var(--primary-hover); }
.btn.block { display: flex; width: 100%; }

/* ---------- Nav: floating solid pill ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px;
  padding: var(--space-2) var(--space-2) var(--space-2) 14px;
  border: var(--line) solid transparent;
  border-radius: 999px;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.nav.is-scrolled { background: var(--paper); border-color: var(--ink); box-shadow: var(--drop-sm); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 1.3rem; }
.brand img { border-radius: 11px; border: 2.5px solid var(--ink); }
.nav-links { display: flex; gap: var(--space-1); margin-left: auto; }
.nav-links a { padding: 10px var(--space-3); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav-links a:hover { background: var(--paper-2); }
.nav-links a.is-active { background: var(--ink); color: var(--on-dark); }
@media (max-width: 960px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px var(--space-5) var(--space-8);
  display: grid; place-items: center;
  background: var(--mood);
  border-bottom: var(--line) solid var(--ink);
  overflow: hidden;
  transition: background-color var(--dur-med) var(--ease-out);
}
.hero-burst {
  position: absolute; left: 50%; top: 50%; width: 220vmax; height: 220vmax;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg at 50% 50%, var(--mood-2) 0deg 9deg, transparent 9deg 18deg);
  opacity: .5;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, var(--ink) 0, var(--ink) 18%, transparent 40%);
          mask-image: radial-gradient(circle at 50% 50%, var(--ink) 0, var(--ink) 18%, transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  width: min(1180px, 100%);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-7); align-items: center;
}
.hero h1 {
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.mark {
  display: inline-block;
  color: var(--blue);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--blue-deep), 6px 7px 0 var(--ink);
  transform: rotate(-2deg);
}
.lede { max-width: 30ch; font-size: 1.22rem; line-height: 1.45; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--space-6); }
.hero-note { margin-top: var(--space-4); font-size: .95rem; font-weight: 600; }

/* Mascot: transforms are written by app.js (springs), never by CSS transitions */
.hero-cat { position: relative; justify-self: center; width: min(470px, 100%); }
.cat-stage {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: grab;
  perspective: 900px;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.cat-stage.is-dragging { cursor: grabbing; }
.cat-stage:focus-visible { outline: none; }
.cat-stage:focus-visible .cat-card { outline: 4px solid var(--ring); outline-offset: 6px; }
.cat-card {
  position: relative; display: block; aspect-ratio: 1;
  border: 4px solid var(--ink); border-radius: 36px;
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  transform: rotate(-3deg);
  will-change: transform;
}
.cat-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-med) var(--ease-out);
  pointer-events: none;
}
/* without scripting only the first mood shows; the rest wait under .js */
html:not(.js) .cat-img + .cat-img { display: none; }
.js .cat-img:not(.is-on) { opacity: 0; transform: scale(1.06); }
.bubble {
  position: absolute; z-index: 3; top: -30px; left: -30px;
  max-width: 240px;
  padding: var(--space-3) var(--space-4);
  font-weight: 700; font-size: 1rem; line-height: 1.25;
  background: var(--surface); border: var(--line) solid var(--ink); border-radius: 20px;
  box-shadow: var(--drop-sm);
  transform-origin: 80% 120%;
}
.bubble::after {
  content: ""; position: absolute; right: 36px; bottom: -14px; width: 22px; height: 22px;
  background: var(--surface); border-right: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink);
  transform: skewX(-25deg) rotate(45deg);
}
.bubble.pop { animation: pop var(--dur-med) var(--spring); }
@keyframes pop { from { transform: scale(.7) rotate(-5deg); opacity: .3; } }

.moods { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
.moods button {
  position: relative;
  width: 30px; height: 30px; padding: 0; border-radius: 50%;
  border: var(--line) solid var(--ink); cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.moods button::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.moods button:hover { transform: translateY(-3px); }
.moods button:active { transform: scale(.88); transition-duration: var(--dur-micro); }
.moods button[aria-checked="true"] { transform: scale(1.2); box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--ink); }
.moods [data-mood="burst"] { background: repeating-conic-gradient(var(--orange) 0 30deg, var(--sun) 30deg 60deg); }
.moods [data-mood="amber"] { background: var(--amber); }
.moods [data-mood="pink"]  { background: var(--pink); }
.moods [data-mood="green"] { background: var(--green); }
.moods [data-mood="sky"]   { background: linear-gradient(var(--sky), var(--surface)); }
.moods [data-mood="gray"]  { background: var(--gray); }

@media (max-width: 900px) {
  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .hero-cat { width: min(360px, 84%); order: -1; margin-top: var(--space-6); }
  .bubble { left: -10px; top: -40px; }
}

/* ---------- Facts band ---------- */
.facts { --ring: var(--amber); background: var(--ink); color: var(--on-dark); border-bottom: var(--line) solid var(--ink); padding: var(--space-7) var(--space-5); }
.facts-in { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.fact { margin: 0; padding-left: var(--space-4); border-left: var(--line) solid var(--amber); }
.fact dt { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.fact dd { margin: var(--space-2) 0 0; color: var(--on-dark-muted); font-weight: 500; max-width: 18ch; }
@media (max-width: 760px) { .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-6); } }

/* ---------- Sections ---------- */
.section { padding: var(--space-10) var(--space-5); }
.section > *, .install-grid { width: min(1180px, 100%); margin-inline: auto; }
.section-head { text-align: center; margin-bottom: var(--space-7); }
.section h2, .routine h2 { font-family: var(--font-display); font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.sub { max-width: 40ch; margin: var(--space-4) auto 0; color: var(--muted); font-size: 1.12rem; text-wrap: pretty; }

/* ---------- Routine switch (the selling section) ---------- */
.routine { background: var(--paper-2); border-bottom: var(--line) solid var(--ink); }
.routine-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-5) var(--space-7); margin-bottom: var(--space-7); }
.routine-head h2 { max-width: 14ch; }
.switch { display: flex; align-items: center; gap: 14px; padding: 10px var(--space-4); background: var(--surface); border: var(--line) solid var(--ink); border-radius: 999px; box-shadow: var(--drop-sm); }
.switch-label { font-weight: 800; font-size: 1.05rem; transition: color var(--dur-short) var(--ease-out); }
#sw-off { color: var(--ink); }
#sw-on { color: var(--muted-2); }
.routine.is-on #sw-off { color: var(--muted-2); }
.routine.is-on #sw-on { color: var(--primary); }
.switch-btn {
  position: relative; width: 76px; height: 44px; padding: 0; flex: none;
  border: var(--line) solid var(--ink); border-radius: 999px;
  background: var(--gray); cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out);
}
.switch-thumb {
  position: absolute; top: 4px; left: 4px; width: 30px; height: 30px;
  border: var(--line) solid var(--ink); border-radius: 50%; background: var(--surface);
  transition: transform var(--dur-short) var(--ease-out);
}
.switch-btn:active .switch-thumb { transform: scaleX(1.18); transform-origin: left; transition-duration: var(--dur-micro); }
.routine.is-on .switch-btn { background: var(--ok); }
.routine.is-on .switch-thumb { transform: translateX(32px); }
.routine.is-on .switch-btn:active .switch-thumb { transform: translateX(26px) scaleX(1.18); }

.chores { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.chore {
  display: grid; grid-template-rows: auto auto; gap: var(--space-3);
  padding: var(--space-5);
  background: var(--surface); border: var(--line) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--drop);
  transition: background-color var(--dur-med) var(--ease-out);
  transition-delay: calc(var(--n, 0) * 45ms);
}
.chore h3 { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.15; }
.chore .was, .chore .now { display: flex; gap: var(--space-2); align-items: flex-start; font-weight: 600; }
.chore .was { color: var(--muted); }
.chore .was svg { color: var(--blush); margin-top: 3px; }
.chore .now svg { color: var(--ok); margin-top: 3px; }
.js .chore .was, .js .chore .now {
  grid-area: 2 / 1;
  transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-med) var(--ease-out);
  transition-delay: calc(var(--n, 0) * 45ms);
}
.js .chore .now { opacity: 0; transform: translateX(24px); }
.js .routine.is-on .chore { background: var(--t-content); }
.js .routine.is-on .chore .was { opacity: 0; transform: translateX(-24px); }
.js .routine.is-on .chore .now { opacity: 1; transform: none; }
.routine-cta { margin-top: var(--space-7); display: flex; justify-content: center; }
@media (max-width: 1000px) { .chores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .chores { grid-template-columns: minmax(0, 1fr); } .switch { width: 100%; justify-content: center; } }

/* ---------- Segmented controls: a clip-path highlight, never animated width ---------- */
.filters, .seg {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1);
  width: fit-content; max-width: 100%; margin: 0 auto var(--space-6); padding: 5px;
  background: var(--surface); border: var(--line) solid var(--ink); border-radius: 26px; box-shadow: var(--drop-sm);
}
.filters-hl, .seg-hl {
  position: absolute; inset: 0; z-index: 0; border-radius: 22px;
  background: var(--ink);
  clip-path: inset(5px 100% 5px 5px round 999px);
  transition: clip-path var(--dur-med) var(--ease-out);
  pointer-events: none;
}
.filters button, .seg button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  min-height: 44px; padding: 0 var(--space-4); border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.filters button:active, .seg button:active { transform: scale(.95); transition-duration: var(--dur-micro); }
.filters button[aria-selected="true"], .seg button[aria-selected="true"] { color: var(--on-dark); }
html:not(.js) .filters button[aria-selected="true"], html:not(.js) .seg button[aria-selected="true"] { background: var(--ink); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); grid-auto-flow: dense; }
.card {
  --tint: var(--surface);
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-5);
  background: var(--tint);
  border: var(--line) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--drop);
  transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out), filter var(--dur-short) var(--ease-out);
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.card.wide { grid-column: span 2; }
.card.tall { grid-row: span 2; }
.card.is-dim { opacity: .3; filter: grayscale(1); transform: scale(.97); box-shadow: 2px 2px 0 var(--ink); }
.card-top { display: flex; align-items: flex-start; gap: 6px; }
.card h3 { display: flex; align-items: center; gap: 10px; margin-right: auto; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; }
.card h3 .ic { width: 1.05em; height: 1.05em; }
.card p { font-size: .98rem; color: var(--ink-soft); }
.tag { font-size: .78rem; font-weight: 800; padding: 3px var(--space-2); border: 2px solid var(--ink); border-radius: 7px; background: var(--surface); white-space: nowrap; }
.tag-crm { background: var(--ink); color: var(--amber); }
.tag-beta { background: var(--blush); }
.c-msg { --tint: var(--t-msg); }
.c-crm { --tint: var(--t-crm); }
.c-content { --tint: var(--t-content); }
.c-analytics { --tint: var(--t-analytics); }
.c-stream { --tint: var(--t-stream); }
.c-agency { --tint: var(--lilac); }

.crm-mini { display: grid; gap: var(--space-2); margin-top: auto; padding-top: var(--space-2); }
.crm-row { display: grid; grid-template-columns: 28px auto auto minmax(0, 1fr); align-items: center; gap: 10px; padding: var(--space-2) var(--space-3); background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; font-size: .9rem; }
.crm-row .av { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); }
.av-1 { background: var(--sun); } .av-2 { background: var(--sky); } .av-3 { background: var(--pink); }
.crm-row .note { color: var(--muted); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-size: .76rem; font-weight: 700; padding: 2px var(--space-2); border-radius: 99px; border: 2px solid var(--ink); }
.p-green { background: var(--green); } .p-amber { background: var(--amber); } .p-sky { background: var(--sky); }

.triggers { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: var(--space-2); }
.triggers li { font-size: .92rem; font-weight: 600; padding: 9px var(--space-3); background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; }
.triggers li.soon { background: transparent; border-style: dashed; color: var(--muted); }

.bars { display: flex; align-items: flex-end; gap: var(--space-2); height: 110px; margin-top: auto; padding-top: var(--space-3); }
.bars i { flex: 1; height: calc(var(--v) * 100%); background: var(--blue); border: 2.5px solid var(--ink); border-radius: 8px 8px 3px 3px; transform-origin: bottom; }
.js .bars i { transform: scaleY(.08); transition: transform 900ms var(--ease-out); }
.js .is-in .bars i { transform: none; }
.bars i:last-child { background: var(--amber); }
.bars i:nth-child(2) { transition-delay: 40ms } .bars i:nth-child(3) { transition-delay: 80ms } .bars i:nth-child(4) { transition-delay: 120ms } .bars i:nth-child(5) { transition-delay: 160ms } .bars i:nth-child(6) { transition-delay: 200ms } .bars i:nth-child(7) { transition-delay: 240ms } .bars i:nth-child(8) { transition-delay: 280ms }

.roles { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: auto; padding-top: var(--space-2); }
.roles span { font-size: .85rem; font-weight: 700; padding: 6px var(--space-3); background: var(--surface); border: 2px solid var(--ink); border-radius: 99px; }
.roles span:first-child { background: var(--ink); color: var(--on-dark); }

@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bento { grid-template-columns: minmax(0, 1fr); } .card.wide, .card.tall { grid-column: auto; grid-row: auto; } }

/* ---------- Demo ---------- */
.demo-sec { --ring: var(--amber); background: var(--ink); color: var(--on-dark); }
.demo-sec .sub { color: var(--on-dark-muted); }
.demo { width: min(1120px, 100%); margin-inline: auto; }
.demo .seg { color: var(--ink); --ring: var(--primary); }

/* A recreated Fansly messages screen (dark theme). Its own palette, scoped to .fx. */
.fx {
  --fx-bg: #101114; --fx-panel: #16181d; --fx-raise: #1d2027; --fx-line: #262a33;
  --fx-text: #e6e8ee; --fx-muted: #8a91a0; --fx-blue: #2699f7; --fx-out: #1b3a5c;
  --fx-net: #58d9ae; --fx-gross: #f5b64b; --fx-pill: #2b2f39;
  --fx-bronze: #c9803f; --fx-gold: #f5c542; --fx-platinum: #f2f2ee; --fx-diamond: #6fd6ff;
  position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr) 260px;
  height: 560px; overflow: hidden;
  background: var(--fx-bg); color: var(--fx-text);
  font: 500 14px/1.4 var(--font-body);
  border: var(--line) solid var(--paper); border-radius: var(--r);
  box-shadow: 10px 10px 0 var(--blue);
}
.fx b { font-weight: 700; }
.fx-list, .fx-profile { background: var(--fx-panel); min-width: 0; overflow: hidden; }
.fx-list { border-right: 1px solid var(--fx-line); display: flex; flex-direction: column; }
.fx-profile { border-left: 1px solid var(--fx-line); padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }

.fx-list-head { padding: 16px 16px 10px; display: grid; gap: 10px; }
.fx-list-head b { font-size: 1.1rem; }
.fx-search { padding: 9px 12px; border-radius: 10px; background: var(--fx-raise); color: var(--fx-muted); font-size: .86rem; }
.fx-folders { display: flex; gap: 6px; padding: 0 16px 12px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); flex-wrap: nowrap; border-bottom: 1px solid var(--fx-line); }
.fx-folder { flex: none; padding: 5px 11px; border-radius: 999px; background: var(--fx-raise); color: var(--fx-muted); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.fx-folder i { font-style: normal; margin-left: 3px; padding: 0 6px; border-radius: 999px; background: var(--fx-pill); color: var(--fx-text); font-size: .72rem; }
.fx-folder.is-active { background: var(--fx-blue); color: #fff; }
.fx-folder.is-active i { background: rgba(255, 255, 255, .25); color: #fff; }

.fx-rows { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.fx-row { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--fx-line); }
.fx-row.is-open { background: var(--fx-raise); }
.fx-row-main { display: grid; min-width: 0; }
.fx-row-main b, .fx-prev { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-prev { color: var(--fx-muted); font-size: .84rem; }
.fx-time { align-self: start; color: var(--fx-muted); font-size: .76rem; }
.fx-unread { position: absolute; right: 16px; bottom: 12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--fx-blue); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.fx-av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: hsl(var(--h) 45% 38%); color: #fff; font-weight: 800; flex: none; }
.fx-av.big { width: 64px; height: 64px; font-size: 1.4rem; }
.fx-pair { display: flex; gap: 6px; margin-top: 4px; }
.fx-pair em, .fx-earn b { font-style: normal; font-variant-numeric: tabular-nums; }
.fx-pair em { padding: 1px 7px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: color-mix(in srgb, currentColor 14%, transparent); }
.fx .net { color: var(--fx-net); }
.fx .gross { color: var(--fx-gross); }

/* The spend strip, the same glow the extension draws on chat rows. */
.fx-row[data-spend]::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); box-shadow: 0 0 10px 1px var(--c); }
.fx-row[data-spend="bronze"] { --c: var(--fx-bronze); }
.fx-row[data-spend="gold"] { --c: var(--fx-gold); }
.fx-row[data-spend="platinum"] { --c: var(--fx-platinum); }
.fx-row[data-spend="diamond"] { --c: var(--fx-diamond); }

.fx-chat { display: flex; flex-direction: column; min-width: 0; }
.fx-chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--fx-line); }
.fx-chat-head .fx-av { width: 36px; height: 36px; }
.fx-chat-head div { display: grid; }
.fx-chat-head div span { color: var(--fx-net); font-size: .78rem; }
.fx-chip { margin-left: auto; padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--fx-blue); color: var(--fx-blue); font-size: .74rem; font-weight: 800; }
.fx-msgs { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px; overflow: hidden; }
.fx-msg { max-width: 72%; display: grid; gap: 4px; }
.fx-msg p { padding: 9px 13px; border-radius: 16px; }
.fx-msg.in { align-self: flex-start; }
.fx-msg.in > p:first-child { background: var(--fx-raise); border-bottom-left-radius: 4px; }
.fx-msg.out { align-self: flex-end; justify-items: end; }
.fx-msg.out p { background: var(--fx-out); border-bottom-right-radius: 4px; }
.fx-msg.ppv p { border: 1.5px dashed var(--fx-blue); }
.fx-tr { font-size: .86rem; color: var(--fx-text); background: color-mix(in srgb, var(--fx-blue) 14%, transparent); border-left: 3px solid var(--fx-blue); border-radius: 4px 12px 12px 4px !important; }
.fx-tr span { display: block; color: var(--fx-blue); font-size: .68rem; font-weight: 800; letter-spacing: .04em; }
.fx-author { padding: 1px 8px; border-radius: 999px; background: #0c0d10; border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: .72rem; font-weight: 700; }
.fx-templates { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 0 18px 10px; font-size: .78rem; color: var(--fx-muted); }
.fx-templates em { font-style: normal; padding: 4px 10px; border-radius: 999px; background: var(--fx-raise); border: 1px solid var(--fx-line); color: var(--fx-text); font-weight: 600; }
.fx-composer { display: flex; align-items: center; gap: 10px; margin: 0 18px 16px; padding: 10px 10px 10px 14px; border-radius: 12px; background: var(--fx-raise); color: var(--fx-muted); }
.fx-send { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--fx-blue); }

.fx-profile-head { display: grid; justify-items: center; text-align: center; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--fx-line); }
.fx-profile-head span:last-child { color: var(--fx-muted); font-size: .82rem; }
.fx-earn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fx-earn div, .fx-box { padding: 10px; border-radius: 12px; background: var(--fx-raise); }
.fx-earn span { display: block; color: var(--fx-muted); font-size: .72rem; }
.fx-box p { margin-top: 4px; color: var(--fx-muted); font-size: .84rem; }
.fx-details { margin: 0; display: grid; }
.fx-details div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--fx-line); font-size: .82rem; }
.fx-details dt { color: var(--fx-muted); }
.fx-details dd { margin: 0; font-weight: 700; }
.fx-plain-note { color: var(--fx-muted); font-size: .86rem; }
.fx-shift { position: absolute; right: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--blue); font-weight: 800; font-size: .84rem; font-variant-numeric: tabular-nums; }

/* The switch: FanSee parts appear and leave; the Fansly parts never move. */
.fx .fs-only { transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); }
.fx[data-fansee="off"] .fs-only { display: none; }
.fx[data-fansee="on"] .fs-off { display: none; }
.fx[data-fansee="off"] .fx-row[data-spend]::before { opacity: 0; }
.fx-row[data-spend]::before { transition: opacity var(--dur-med) var(--ease-out); }
@starting-style { .fx[data-fansee="on"] .fs-only { opacity: 0; transform: translateY(6px); } }

.fx-legend { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: var(--on-dark-muted); font-size: .92rem; font-weight: 600; }
.fx-legend li { display: flex; align-items: center; gap: 8px; }
.fx-legend i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.lg-strip { background: linear-gradient(#6fd6ff, #f5c542); }
.lg-tr { background: #2699f7; }
.lg-author { background: #fff; border-radius: 999px !important; }
.lg-note { background: #58d9ae; }

@media (max-width: 1000px) { .fx { grid-template-columns: 280px minmax(0, 1fr); } .fx-profile { display: none; } }
@media (max-width: 680px) {
  .fx { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; height: auto; }
  .fx-list { border-right: 0; border-bottom: 1px solid var(--fx-line); }
  .fx-rows .fx-row:nth-child(n+4) { display: none; }
  .fx-msgs { min-height: 340px; }
  .fx-msg { max-width: 86%; }
  .fx-shift { position: static; justify-self: end; margin: 0 18px 16px; }
}

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 6px;
  padding: var(--space-6) 26px 26px; background: var(--surface);
  border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--drop);
  transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: 6px 12px 0 var(--ink); }
.plan h3 { font-family: var(--font-display); font-size: 2rem; }
.plan-title { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.plan-flag { font-weight: 800; font-size: .9rem; padding: 6px var(--space-3); background: var(--ink); color: var(--amber); border-radius: 10px; }
.price { font-family: var(--font-display); font-size: 1.25rem; color: var(--primary); }
.plan-sub { color: var(--muted); font-weight: 600; font-size: .98rem; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 var(--space-5); display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; font-weight: 500; }
.plan li svg { margin-top: 2px; padding: 2px; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 7px; background: var(--green); }
.plan li.no { color: var(--muted-2); }
.plan li.no svg { background: var(--paper-2); }
.plan-hot { background: var(--amber); transform: translateY(-14px); box-shadow: 8px 8px 0 var(--ink); }
.plan-hot:hover { transform: translateY(-20px); }
.plan-hot .price { color: var(--ink); }
.plan-hot .plan-sub, .plan-hot li.no { color: var(--amber-ink); }
.plan-crm { background: var(--lilac); }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 460px; } .plan-hot, .plan-hot:hover { transform: none; } }

/* ---------- Install ---------- */
.install-sec { background: var(--sky); border-block: var(--line) solid var(--ink); }
.install-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--space-5); align-items: start; }
.install-side { position: sticky; top: 110px; }
.install-side .sub { margin-inline: 0; color: var(--sky-ink); }
.install-cat { position: relative; margin: var(--space-7) 0 0; width: min(300px, 80%); }
.install-cat img { border: 4px solid var(--ink); border-radius: 28px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(3deg); }
.bubble-static { top: auto; bottom: -20px; left: auto; right: -40px; transform: rotate(-4deg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--drop-sm); }
.step .n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; font-family: var(--font-display); font-size: 1.3rem; background: var(--primary); color: var(--on-primary); border: var(--line) solid var(--ink); border-radius: 14px; transform: rotate(-5deg); }
.step:nth-child(even) .n { background: var(--amber); color: var(--ink); transform: rotate(4deg); }
.step h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: var(--space-1); }
.step p { font-size: .98rem; color: var(--ink-soft); }
.copy { font-family: var(--font-mono); font-size: .86em; padding: .1em .45em; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 8px; cursor: copy; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.copy:hover { background: var(--amber); }
.copy:active { transform: scale(.95); transition-duration: var(--dur-micro); }
.copy.copied { background: var(--green); }
.update-note { width: min(1180px, 100%); margin: var(--space-6) auto 0; padding: var(--space-4) 20px; background: var(--paper); border: var(--line) dashed var(--ink); border-radius: var(--r-sm); font-size: .98rem; }
@media (max-width: 900px) { .install-grid { grid-template-columns: minmax(0, 1fr); } .install-side { position: static; } .install-cat { display: none; } }

/* ---------- FAQ ---------- */
.faq { width: min(820px, 100%); display: grid; gap: 14px; }
.faq details { background: var(--surface); border: var(--line) solid var(--ink); border-radius: 18px; box-shadow: var(--drop-sm); overflow: hidden; transition: box-shadow var(--dur-short) var(--ease-out); }
.faq details[open] { box-shadow: 6px 6px 0 var(--amber), 6px 6px 0 2px var(--ink); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding: var(--space-4) 22px; font-weight: 700; font-size: 1.08rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 32px; height: 32px; padding: 5px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--amber); transition: transform var(--dur-med) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.faq details.is-expanded summary svg, html:not(.js) .faq details[open] summary svg { transform: rotate(135deg); background: var(--pink); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-med) var(--ease-out); }
.faq-a > p { overflow: hidden; padding: 0 22px; color: var(--ink-soft); }
.faq-a > p::after { content: ""; display: block; height: 20px; }
.faq details.is-expanded .faq-a, html:not(.js) .faq details[open] .faq-a { grid-template-rows: 1fr; }

/* ---------- Final CTA ---------- */
.final { padding: var(--space-7) var(--space-5) var(--space-10); }
.final-card {
  position: relative; width: min(1180px, 100%); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: var(--space-5);
  padding: 56px; background: var(--green);
  border: 4px solid var(--ink); border-radius: 36px; box-shadow: 12px 12px 0 var(--ink);
  overflow: hidden;
}
.final-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1.6px, transparent 1.8px) 0 0 / 18px 18px; pointer-events: none; }
.final-copy { position: relative; }
.final h2 { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.012em; }
.final p { margin: 14px 0 28px; font-size: 1.15rem; font-weight: 500; }
.final-cat { position: relative; width: 100%; max-width: 340px; justify-self: end; border: 4px solid var(--ink); border-radius: 30px; transform: rotate(4deg); box-shadow: 8px 8px 0 var(--ink); }
@media (max-width: 800px) { .final-card { grid-template-columns: minmax(0, 1fr); padding: 34px 26px; } .final-cat { justify-self: center; max-width: 240px; } }

/* ---------- Footer ---------- */
.footer { border-top: var(--line) solid var(--ink); background: var(--paper-2); }
.footer-in { width: min(1180px, calc(100% - 48px)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 28px 0; font-size: .95rem; }
.footer-in p { flex: 1; color: var(--muted); }
.footer-in a:not(.brand) { font-weight: 700; }

/* ---------- Peek cat (back to top), same path in and out ---------- */
.peek {
  position: fixed; right: 22px; bottom: -8px; z-index: 40;
  width: 92px; padding: 0; border: 0; background: none; cursor: pointer;
  transform: translateY(120%);
  transition: transform var(--dur-med) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.peek.is-on { transform: translateY(38%); }
.peek.is-on:hover, .peek.is-on:focus-visible { transform: translateY(8%); }
.peek.is-on.is-hidden { transform: translateY(120%); }
.peek img { border: 3px solid var(--ink); border-radius: 22px 22px 8px 8px; box-shadow: 4px 4px 0 var(--ink); transition: transform var(--dur-micro) var(--ease-out); }
.peek:active img { transform: scale(.93); }
.peek span { position: absolute; top: -36px; left: 50%; transform: translateX(-50%); font-weight: 800; font-size: .85rem; white-space: nowrap; padding: var(--space-1) 10px; background: var(--surface); border: 2.5px solid var(--ink); border-radius: 99px; transition: opacity var(--dur-short) var(--ease-out); }
.js .peek:not(:hover):not(:focus-visible) span { opacity: 0; }
.peek:hover span, .peek:focus-visible span { opacity: 1; }
@media (max-width: 600px) { .peek { width: 72px; right: 14px; } }

/* ---------- One reveal, hidden only when scripting runs ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}

/* ---------- Reduced motion: cross-fades instead of travel ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-property: opacity, background-color, color, border-color !important; transition-duration: 160ms !important; transition-delay: 0s !important; }
  .js .reveal { transform: none; }
  .js .chore .now, .js .routine.is-on .chore .was { transform: none; }
  .btn:hover, .btn:active, .card:hover, .plan:hover, .plan-hot, .plan-hot:hover, .moods button:hover { transform: none; }
}
