/* ============================================================
   WorkBuddy site — cozy pixel look, palette pulled from the cat
   ============================================================ */
:root {
  --cream: #fffaf2;
  --paper: #fff4e6;
  --fur: #fdd5b5;
  --fur-2: #f8c29d;
  --stripe: #d78c77;
  --blush: #eb9486;
  --ink: #2a2320;
  --ink-2: #4a3f3a;
  --muted: #7d6b62;
  --line: #2a2320;

  --sky: #d7ebff;
  --mint: #d8f0dd;
  --lav: #e6defa;
  --sun: #ffe8a8;
  --blush-soft: #ffe0da;

  --radius: 18px;
  --shadow: 4px 4px 0 var(--line);
  --shadow-lg: 6px 6px 0 var(--line);
  --px: 3; /* sprite scale */

  --font-pixel: "Pixelify Sans", ui-monospace, monospace;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(42, 35, 32, .07) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; image-rendering: pixelated; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-pixel); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: .2px; }
h1 { font-size: clamp(38px, 4.4vw, 60px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; }
p { margin: 0; }
kbd {
  font: 700 13px var(--font-body); padding: 1px 6px; border: 2px solid var(--line);
  border-radius: 6px; background: #fff; box-shadow: 0 2px 0 var(--line);
}
::selection { background: var(--fur); }
:focus-visible { outline: 3px solid var(--stripe); outline-offset: 3px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 16px var(--font-body); text-decoration: none; color: var(--ink);
  background: var(--fur); border: 3px solid var(--line); border-radius: 14px;
  padding: 12px 20px; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); background: var(--fur-2); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-big { font-size: 18px; padding: 15px 26px; }
.btn-small { padding: 8px 14px; font-size: 14px; border-radius: 12px; box-shadow: 3px 3px 0 var(--line); }
.btn-ghost { background: #fff; }
.btn-ghost:hover { background: var(--paper); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 250, 242, .86); backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 24px var(--font-pixel); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--ink-2); position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: var(--blush); border-radius: 3px; transform: scaleX(0); transition: transform .2s;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- layout ---------- */
main > section { padding: 0 clamp(16px, 4vw, 48px); max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .sub { color: var(--muted); margin-top: 14px; font-size: 18px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 14px var(--font-pixel); text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--stripe); margin-bottom: 14px;
}
.eyebrow .dot { width: 9px; height: 9px; background: #6fcf7f; border: 2px solid var(--line); border-radius: 50%; }
.card {
  background: #fff; border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center;
  padding-top: clamp(40px, 7vw, 88px) !important; padding-bottom: 40px !important;
}
.hero-copy { min-width: 0; }
.hero h1 .swash { position: relative; white-space: nowrap; color: var(--ink); }
.hero h1 .swash::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 6%; height: 32%;
  background: var(--blush); opacity: .55; z-index: -1; border-radius: 4px; transform: rotate(-1deg);
}
.lede { font-size: 19px; color: var(--ink-2); margin: 22px 0 30px; max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* the little desktop */
.scene-wrap { position: relative; min-width: 0; }
.scene {
  position: relative; aspect-ratio: 16 / 11; width: 100%;
  background: linear-gradient(160deg, #cfe3f7 0%, #f6dcd0 100%);
  border: 3px solid var(--line); border-radius: 22px; box-shadow: 8px 8px 0 var(--line);
  overflow: hidden; user-select: none;
}
.browser {
  position: absolute; left: 6%; right: 6%; top: 7%; bottom: 17%;
  background: #fff; border: 3px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
}
.tabstrip {
  display: flex; align-items: flex-end; gap: 4px; padding: 7px 8px 0; height: 38px;
  background: #efe6dc; border-bottom: 2px solid var(--line);
}
.tab {
  display: flex; align-items: center; gap: 6px; min-width: 0; flex: 0 1 132px;
  height: 29px; padding: 0 10px; border: 2px solid var(--line); border-bottom: 0;
  border-radius: 9px 9px 0 0; background: #f7f0e8; font: 700 12px var(--font-body); color: var(--ink-2);
  transition: transform .25s, opacity .25s, flex-basis .3s;
}
.tab span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tab.active { background: #fff; height: 31px; margin-bottom: -2px; color: var(--ink); }
.tab.enter { animation: tabIn .35s cubic-bezier(.2, 1.4, .5, 1); }
.tab.poof { transform: scale(.4) translateY(-8px); opacity: 0; flex-basis: 0; padding: 0; border-width: 0; }
@keyframes tabIn { from { transform: translateY(12px); opacity: 0; } }
.fav { width: 12px; height: 12px; border-radius: 3px; flex: none; border: 1.5px solid var(--line); }
.fav-mail { background: #ff8a7a; }
.fav-crm { background: #ff9b52; }
.fav-doc { background: #7fb2ff; }
.fav-reels { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); border-radius: 4px; }
.tab-new { font: 700 18px var(--font-body); padding: 0 8px 4px; color: var(--muted); }
.toolbar { padding: 7px 10px; border-bottom: 2px solid #eee4d8; }
.url {
  display: block; font: 600 11.5px var(--font-body); color: var(--muted);
  background: #f5efe7; border-radius: 99px; padding: 3px 12px;
}
.page { position: relative; flex: 1; overflow: hidden; }
.work { padding: 14px; display: grid; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { border: 2px solid #eadfd2; border-radius: 10px; padding: 6px 10px; }
.kpi b { display: block; font: 700 17px var(--font-pixel); }
.kpi span { font-size: 11px; color: var(--muted); }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.col { background: #f8f3ed; border-radius: 10px; padding: 7px; display: grid; gap: 6px; align-content: start; min-height: 90px; }
.col em { font: 700 10.5px var(--font-body); color: var(--muted); font-style: normal; }
.col i { display: block; height: 17px; border-radius: 6px; background: #fff; border: 1.5px solid #e7dccf; }
.col i.s { width: 70%; }
.col i.w { background: #d8f0dd; }
.reels { position: absolute; inset: 0; background: linear-gradient(160deg, #ffe4ee, #e7e0ff); display: grid; place-items: center; }
.reels[hidden] { display: none; }
.reel {
  width: 30%; height: 88%; border-radius: 12px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #ff7eb3, #7a5cff 55%, #2ec5ff);
}
.reel-shine { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); animation: shine 1.6s linear infinite; }
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.reel-veil {
  position: absolute; inset: 0; display: grid; place-items: center;
  backdrop-filter: blur(9px); background: rgba(255, 244, 230, .45);
  font: 800 13px var(--font-body); color: var(--ink); text-align: center; padding: 0 10%;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 11%;
  background: rgba(42, 35, 32, .88); border-top: 3px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.tb-start, .tb-app { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.22); }
.tb-start { background: #7fb2ff; }
.tb-app.on { background: #ff9b52; box-shadow: 0 5px 0 -3px #fff; }
.tb-clock { position: absolute; right: 14px; color: #fff; font: 700 12px var(--font-body); opacity: .85; }
.scene-hint {
  position: absolute; right: 8px; bottom: -34px; font: 600 15px var(--font-pixel); color: var(--muted);
  transform: rotate(-2deg);
}

/* the cat actor */
.actor {
  position: absolute; left: 0; top: 0; z-index: 5;
  width: calc(32px * var(--px)); height: calc(32px * var(--px));
  cursor: grab; will-change: transform;
}
.actor .sprite { position: absolute; inset: 0; }
.say {
  position: absolute; z-index: 6; transform: translate(-50%, -100%);
  font: 800 13px var(--font-body); white-space: nowrap;
  background: var(--cream); border: 2.5px solid var(--line); border-radius: 12px; padding: 4px 11px;
  box-shadow: 3px 3px 0 var(--line); animation: pop .25s cubic-bezier(.3, 1.6, .5, 1);
}
.say::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; width: 9px; height: 9px;
  background: var(--cream); border-right: 2.5px solid var(--line); border-bottom: 2.5px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
@keyframes pop { from { transform: translate(-50%, -100%) scale(.5); opacity: 0; } }
.say.below { transform: translate(-50%, 0); animation-name: popDown; }
.say.below::after { bottom: auto; top: -7px; transform: translateX(-50%) rotate(225deg); }
@keyframes popDown { from { transform: translate(-50%, 0) scale(.5); opacity: 0; } }
.fx-layer { position: absolute; inset: 0; pointer-events: none; z-index: 7; }
.fx {
  position: absolute; width: calc(9px * var(--px)); height: calc(9px * var(--px));
  background: url(assets/sprites/fx.png) no-repeat; background-size: calc(45px * var(--px)) calc(9px * var(--px));
  image-rendering: pixelated; animation: floatUp 1.3s ease-out forwards;
}
@keyframes floatUp { from { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translateY(-6px) scale(1); } to { transform: translateY(-46px); opacity: 0; } }

/* ---------- sprites ---------- */
.sprite {
  --frames: 1; --dur: 1s; --size: calc(32px * var(--px));
  width: var(--size); height: var(--size);
  background-repeat: no-repeat;
  background-size: calc(var(--size) * var(--frames)) var(--size);
  image-rendering: pixelated;
  animation: sprite var(--dur) steps(var(--frames)) infinite;
  animation-delay: var(--delay, 0s);
}
.sprite.big { --size: calc(32px * var(--px) * 1.25); }
.sprite.flip { transform: scaleX(-1); }
.sprite.still { animation: none; }
@keyframes sprite { to { background-position-x: calc(var(--size) * var(--frames) * -1); } }

/* ---------- strip ---------- */
.strip { margin-top: 70px !important; }
.strip ul {
  list-style: none; margin: 0; padding: 16px 20px;
  display: flex; flex-wrap: wrap; justify-content: space-around; gap: 12px 28px;
  background: var(--ink); color: var(--cream); border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 3px solid var(--line);
}
.strip li { font-size: 15.5px; }
.strip b { font-family: var(--font-pixel); font-weight: 600; color: var(--fur); font-size: 18px; margin-right: 4px; }

/* ---------- features ---------- */
.features, .gallery, .how, .privacy, .faq, .download { padding-top: 110px !important; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.card-feature { padding: 18px 20px 24px; transition: transform .2s, box-shadow .2s; }
.card-feature:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 9px 9px 0 var(--line); }
.card-feature h3 { margin: 18px 0 8px; }
.card-feature p { color: var(--ink-2); font-size: 15.5px; }
.stage {
  position: relative; height: 170px; border-radius: 12px; border: 2.5px solid var(--line);
  display: grid; place-items: end center; padding-bottom: 12px; overflow: hidden;
}
.stage::after { /* floor line */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: rgba(42, 35, 32, .08); border-top: 2.5px dashed rgba(42, 35, 32, .25);
}
.stage .sprite { position: relative; z-index: 1; }
.tone-blush .stage { background: var(--blush-soft); }
.tone-sky .stage { background: var(--sky); }
.tone-mint .stage { background: var(--mint); }
.tone-lav .stage { background: var(--lav); }
.tone-sun .stage { background: var(--sun); }
.tone-ink .stage { background: #3b3230; }
.tone-ink .stage::after { background: rgba(255,255,255,.06); border-top-color: rgba(255,255,255,.2); }
.stage-tag {
  position: absolute; top: 18px; right: 22px; font: 700 18px var(--font-pixel);
  background: #fff; border: 2.5px solid var(--line); border-radius: 10px; padding: 1px 10px;
  transform: rotate(6deg); box-shadow: 2px 2px 0 var(--line);
}
.try { margin-top: 10px; font: 600 15px var(--font-pixel); color: var(--stripe) !important; }
.card-type.typing .stage { background: #c6ebcf; }
.zzz { position: absolute; left: 58%; bottom: 96px; }
.zzz i {
  position: absolute; width: 27px; height: 27px; background: url(assets/sprites/fx.png) calc(-27px) 0 / 135px 27px no-repeat;
  image-rendering: pixelated; opacity: 0; animation: zz 3s ease-out infinite;
}
.zzz i:nth-child(2) { animation-delay: 1s; }
.zzz i:nth-child(3) { animation-delay: 2s; }
@keyframes zz { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(34px, -60px) scale(1); opacity: 0; } }
.yarn {
  position: absolute; bottom: 14px; left: 66%; width: 27px; height: 27px; z-index: 1;
  background: url(assets/sprites/ball.png) 0 0 / 27px 27px; image-rendering: pixelated;
  animation: roll 2.6s ease-in-out infinite;
}
@keyframes roll { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(46px) rotate(360deg); } }
.shield {
  position: absolute; top: 16px; right: 16px; font: 600 13px/1.15 var(--font-pixel); color: var(--cream);
  text-align: center; border: 2px dashed rgba(255,255,255,.5); border-radius: 10px; padding: 6px 10px;
}
.stage-bubble { place-items: end center; }
.mini-bubble {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: max-content; max-width: 90%; text-align: center; background: var(--cream);
  border: 2.5px solid var(--line); border-radius: 14px; padding: 6px 12px 8px; box-shadow: 3px 3px 0 var(--line);
  transition: transform .25s, opacity .25s;
}
.mini-bubble b { display: block; font-size: 13px; }
.mini-bubble small { display: block; font-size: 11.5px; color: var(--muted); }
.mini-bubble::before, .mini-bubble::after {
  content: ""; position: absolute; border: 2.5px solid var(--line); border-radius: 50%; background: var(--cream); left: 46%;
}
.mini-bubble::before { width: 10px; height: 10px; bottom: -15px; }
.mini-bubble::after { width: 6px; height: 6px; bottom: -24px; left: 49%; }
.mini-btns { display: flex; gap: 5px; justify-content: center; margin-top: 5px; }
.mini-btns button {
  font: 800 11.5px var(--font-body); border: 2px solid var(--line); border-radius: 99px; padding: 1px 9px;
  background: #fff; box-shadow: 0 2px 0 var(--line); cursor: pointer;
}
.mini-btns button:first-child { background: var(--fur); }
.mini-btns button:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--line); }
.mini-bubble.gone { transform: translateX(-50%) scale(.6); opacity: 0; }
.stage-bubble .sprite { --size: calc(32px * var(--px) * .95); }

/* ---------- gallery ---------- */
.moods {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px;
}
@media (max-width: 980px) { .moods { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .moods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mood {
  display: grid; justify-items: center; gap: 6px; padding: 14px 6px 10px;
  background: #fff; border: 2.5px solid var(--line); border-radius: 14px; box-shadow: 3px 3px 0 var(--line);
  transition: transform .15s, background .2s;
}
.mood:hover { transform: translateY(-4px); background: var(--paper); }
.mood .sprite { --size: calc(32px * var(--px) * .85); }
.mood span { font: 600 13px var(--font-pixel); color: var(--muted); }

/* ---------- how ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.steps .card { padding: 28px 24px 26px; position: relative; }
.steps h3 { margin: 16px 0 8px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }
.num {
  display: grid; place-items: center; width: 46px; height: 46px; font: 700 24px var(--font-pixel);
  background: var(--fur); border: 3px solid var(--line); border-radius: 12px; box-shadow: 3px 3px 0 var(--line);
}
.steps li:nth-child(2) .num { background: var(--sky); }
.steps li:nth-child(3) .num { background: var(--mint); }

/* ---------- privacy ---------- */
.privacy-card {
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  padding: 40px clamp(22px, 4vw, 52px); background: var(--paper);
}
.privacy-cat {
  width: 200px; height: 200px; display: grid; place-items: center;
  background: var(--fur); border: 3px solid var(--line); border-radius: 50%; box-shadow: var(--shadow);
}
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; display: grid; place-items: center;
  font: 800 14px var(--font-body); background: var(--mint); border: 2px solid var(--line); border-radius: 7px;
}
.checks em { font-style: normal; font-weight: 800; color: var(--ink); }

/* ---------- faq ---------- */
.qa { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.qa details {
  background: #fff; border: 2.5px solid var(--line); border-radius: 14px; box-shadow: 3px 3px 0 var(--line);
  padding: 4px 22px;
}
.qa summary {
  cursor: pointer; list-style: none; font: 600 19px var(--font-pixel); padding: 14px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 700 24px var(--font-pixel); color: var(--stripe); transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 0 18px; color: var(--ink-2); }

/* ---------- community ---------- */
.community { padding-top: 110px !important; max-width: 860px !important; }
.composer { padding: 18px 20px; display: grid; gap: 12px; }
.composer-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.avatar {
  flex: none; border-radius: 12px; border: 2.5px solid var(--line); background: var(--paper);
  image-rendering: pixelated; padding: 3px;
}
.composer input, .composer textarea, .reply-form input, .reply-form textarea {
  font: 600 15.5px var(--font-body); color: var(--ink); background: var(--cream);
  border: 2.5px solid var(--line); border-radius: 12px; padding: 9px 12px; width: 100%;
  transition: box-shadow .15s, background .15s;
}
.composer input:focus, .composer textarea:focus, .reply-form input:focus, .reply-form textarea:focus {
  outline: none; background: #fff; box-shadow: 3px 3px 0 var(--stripe);
}
#c-name { flex: 1 1 160px; width: auto; min-width: 0; }
.composer textarea, .reply-form textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.kind { display: flex; gap: 6px; }
.kind input { position: absolute; opacity: 0; pointer-events: none; }
.kind span {
  display: inline-block; font: 800 13.5px var(--font-body); padding: 6px 12px; cursor: pointer;
  border: 2.5px solid var(--line); border-radius: 999px; background: #fff; transition: background .15s, transform .1s;
}
.kind input:checked + span { background: var(--fur); box-shadow: 2px 2px 0 var(--line); transform: translate(-1px, -1px); }
.kind input:focus-visible + span { outline: 3px solid var(--stripe); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.composer-bottom { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.status { font-size: 14px; color: var(--muted); margin-right: auto; }
.status.error { color: #c0392b; font-weight: 700; }
.status.ok { color: #2f8f4e; font-weight: 700; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.threads { display: grid; gap: 18px; margin-top: 28px; }
.threads-empty { text-align: center; color: var(--muted); padding: 20px; }
.thread { padding: 18px 20px 14px; box-shadow: var(--shadow); }
.comment { display: flex; gap: 12px; align-items: flex-start; }
.comment-body { min-width: 0; flex: 1; }
.meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.who { font-weight: 800; }
.when { font-size: 13px; color: var(--muted); }
.text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-2); font-size: 15.5px; }
.badge {
  font: 700 11.5px var(--font-pixel); text-transform: uppercase; letter-spacing: .6px;
  padding: 1px 8px; border-radius: 999px; border: 2px solid var(--line); background: #fff;
}
.badge-maker { background: var(--fur); }
.badge-team { background: var(--mint); }
.badge-faq { background: var(--sky); }
.badge-help { background: var(--sun); }
.badge-pin { background: var(--blush-soft); }
.role-maker .who, .role-team .who { color: var(--stripe); }
.role-faq .who { color: var(--muted); font-style: italic; }
.replies { margin: 12px 0 0 20px; padding-left: 18px; border-left: 3px dotted rgba(42, 35, 32, .28); display: grid; gap: 14px; }
.replies:empty { display: none; }
.reply .text { font-size: 15px; }
.reply-btn {
  margin: 10px 0 0 52px; font: 800 13.5px var(--font-body); color: var(--stripe);
  background: none; border: 0; padding: 2px 0; cursor: pointer;
}
.reply-btn:hover { text-decoration: underline; }
.reply-form { display: grid; gap: 8px; margin: 12px 0 2px 52px; }
@media (max-width: 560px) {
  .replies { margin-left: 6px; padding-left: 12px; }
  .reply-btn, .reply-form { margin-left: 0; }
}

/* ---------- download ---------- */
.download { padding-bottom: 110px !important; }
.download-card {
  text-align: center; padding: 50px 24px 44px;
  background: radial-gradient(circle at 50% 0%, #fff 0%, var(--fur) 130%);
}
.download-card h2 { margin: 18px 0 10px; }
.download-card > p:not(.fine) { color: var(--ink-2); margin-bottom: 26px; font-size: 18px; }
.dl-cats { display: flex; justify-content: center; gap: 6px; }
.download-card .fine { margin-top: 20px; }

.ext-card { margin-top: 26px; padding: 30px clamp(20px, 4vw, 44px); }
.ext-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ext-head .eyebrow { margin-bottom: 6px; }
.ext-head h3 { font-size: 26px; margin-bottom: 6px; }
.ext-head p { color: var(--ink-2); max-width: 520px; }
.ext-steps {
  list-style: none; counter-reset: e; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.ext-steps li {
  counter-increment: e; position: relative; padding: 14px 14px 14px 50px; font-size: 15px; color: var(--ink-2);
  background: var(--paper); border: 2.5px solid var(--line); border-radius: 14px;
}
.ext-steps li::before {
  content: counter(e); position: absolute; left: 12px; top: 12px; width: 26px; height: 26px;
  display: grid; place-items: center; font: 700 15px var(--font-pixel);
  background: var(--sky); border: 2px solid var(--line); border-radius: 8px;
}
.ext-steps code { font: 700 13px ui-monospace, Consolas, monospace; background: #fff; border-radius: 6px; padding: 1px 5px; }
.ext-card .fine { margin-top: 16px; }
@media (max-width: 980px) { .ext-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ext-steps { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 3px solid var(--line); background: var(--paper); }
.foot-inner {
  max-width: 1180px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 48px);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 15px;
}
.foot .brand { font-size: 20px; color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 34px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --px: 2; }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .grid, .steps { grid-template-columns: 1fr; }
  .privacy-card { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .privacy-cat { width: 150px; height: 150px; }
  .scene { aspect-ratio: 4 / 3.4; }
  .tab { flex-basis: 96px; padding: 0 7px; }
  .kpi span { display: none; }
  .features, .gallery, .how, .privacy, .faq, .download { padding-top: 80px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .sprite, .zzz i, .yarn, .reel-shine { animation: none !important; }
  html { scroll-behavior: auto; }
}
