/* =====================================================================
   MUTATOOL — Page-specific components
   Depends on tokens.css + site.css. Shared with: pricing, mutatool (tool),
   download, license (controlcenter), legal.
   ===================================================================== */

/* ============================================================
   STUDIO HUB (/ — multi-tool home)
   ============================================================ */
.studio-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(36px, 5vw, 64px); }
.studio-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.studio-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-3xl); line-height: var(--lh-tight); letter-spacing: -0.02em; margin-top: 18px; text-wrap: balance; }
.studio-hero h1 .accent { color: var(--primary); }
.studio-hero__sub { margin-top: 22px; }
.studio-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; }
.studio-stat { display: flex; flex-direction: column; gap: 2px; }
.studio-stat .n { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); letter-spacing: -0.01em; }
.studio-stat .l { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint); }

/* workshop card (hero right) */
.workshop {
  position: relative; border: var(--border-w) solid var(--border-strong); border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--primary-soft), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-3); padding: clamp(26px, 3vw, 40px); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.workshop__pot { width: 96px; image-rendering: pixelated; filter: drop-shadow(0 10px 18px rgba(0,0,0,.4)); }
.workshop__cap { font-family: var(--font-pixel); font-size: 11px; color: var(--text-dim); letter-spacing: 0.03em; }
.workshop__line { font-size: var(--fs-sm); color: var(--text-dim); max-width: 34ch; }
.workshop__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px; }
.workshop__chips .module-chip b { color: var(--primary); }

/* tools gallery */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.toolcard {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  border: var(--border-w) solid var(--border); border-radius: var(--r); background: var(--surface);
  padding: var(--sp-5); transition: border-color var(--dur), transform var(--dur) var(--ease);
}
.toolcard:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.toolcard__top { display: flex; align-items: center; gap: 12px; }
.toolcard__mark { width: 44px; height: 44px; image-rendering: pixelated; flex: none; }
.toolcard__name { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); letter-spacing: -0.01em; }
.toolcard__role { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); margin-top: 2px; }
.toolcard__desc { color: var(--text-dim); font-size: var(--fs-sm); flex: 1; }
.toolcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.toolcard__tag { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); padding: 4px 8px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface-2); }
.toolcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.toolcard__go { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: var(--fs-sm); color: var(--primary); }
.toolcard__go svg { width: 15px; height: 15px; }

/* coming-soon / request variant */
.toolcard.is-soon {
  background: repeating-linear-gradient(135deg, var(--surface) 0 14px, var(--surface-2) 14px 28px);
  border-style: dashed; border-color: var(--border-strong);
}
.toolcard.is-soon .toolcard__mark { opacity: .5; filter: grayscale(.4); }
.toolcard.is-soon .toolcard__name { color: var(--text-dim); }

/* ============================================================
   LAUNCH BANNER + PRICE PSYCHOLOGY (anchor / decoy)
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.launch-banner {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 16px; background: var(--primary); color: var(--primary-ink);
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; text-align: center;
}
.launch-banner .px { font-family: var(--font-pixel); font-size: 10px; letter-spacing: .04em; }
.launch-banner s { opacity: .6; }
.anchor-strike { color: var(--text-faint); text-decoration: line-through; text-decoration-thickness: 2px; font-weight: 600; }
.decoy-callout {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px;
  border: 1px dashed var(--primary-line); border-radius: var(--r-sm); background: var(--primary-soft);
  font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-dim); line-height: 1.6;
}
.decoy-callout b { color: var(--primary); }

/* ============================================================
   FUNCTION REFERENCE (tool page)
   ============================================================ */
.ref { padding-block: clamp(36px, 5vw, 72px); border-top: 1px solid var(--border); }
.ref:first-of-type { border-top: 0; }
.ref__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ref__num { font-family: var(--font-pixel); font-size: 12px; color: var(--text-faint); }
.ref__head .eyebrow { margin: 0; }
.ref h3 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl); letter-spacing: -0.02em; line-height: var(--lh-snug); max-width: 26ch; text-wrap: balance; }
.ref__sub { color: var(--text-dim); font-size: var(--fs-md); margin-top: 12px; max-width: 62ch; }
.ref__cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 3.5vw, 56px); align-items: start; margin-top: 26px; }
.ref__cols.is-flip > .ref__media { order: -1; }

/* fact list — spec style */
.facts { display: grid; gap: 0; border: var(--border-w) solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.facts__row { display: grid; grid-template-columns: 132px 1fr; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.facts__row:last-child { border-bottom: 0; }
.facts__row dt { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); padding-top: 2px; text-transform: uppercase; letter-spacing: .04em; }
.facts__row dd { color: var(--text-dim); }
.facts__row dd b { color: var(--text); font-weight: 600; }
.facts__row dd code, .cli-line code { font-family: var(--font-mono); font-size: 0.85em; color: var(--primary); background: var(--surface-2); padding: 1px 6px; border-radius: var(--r-sm); border: 1px solid var(--border); white-space: nowrap; }

.cli-line { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 14px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint); }
.cli-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--yellow); background: var(--yellow-soft); border: 1px solid color-mix(in oklab, var(--yellow) 35%, var(--border)); border-radius: var(--r-sm); padding: 3px 8px; }

/* profile grid (ChromaKey's 9 profiles — one shot per function) */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: 26px; }
.pcard { display: flex; flex-direction: column; border: var(--border-w) solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden; transition: border-color var(--dur), transform var(--dur) var(--ease); }
.pcard:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.pcard__img { aspect-ratio: 16/9; background: var(--surface-2); overflow: hidden; border-bottom: 1px solid var(--border); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: auto; }
.pcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pcard__name { font-weight: 700; font-size: var(--fs-sm); font-family: var(--font-display); }
.pcard__desc { color: var(--text-dim); font-size: var(--fs-xs); line-height: 1.55; flex: 1; }
.pcard__cli { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }
.pcard__cli b { color: var(--primary); font-weight: 500; }

/* real screenshot in a .shot frame */
.shot__body.is-img { aspect-ratio: auto; display: block; padding: 0; background: var(--surface-2); }
.shot__body.is-img img { width: 100%; display: block; }

/* micro-FAQ inside a ref block */
.mfaq { display: grid; gap: 10px; margin-top: 18px; }
.mfaq__item { border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); padding: 12px 16px; font-size: var(--fs-sm); }
.mfaq__item b { display: block; color: var(--text); margin-bottom: 4px; font-weight: 600; }
.mfaq__item span { color: var(--text-dim); }

/* AI-angle quote */
.angle {
  border-left: 3px solid var(--primary); background: var(--primary-soft);
  padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--text-dim); font-size: var(--fs-sm); line-height: 1.65; margin-top: 18px; max-width: 58ch;
}
.angle b { color: var(--text); }
.roadmap-line { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint); max-width: 60ch; line-height: 1.6; }
.roadmap-line svg { flex: none; margin-top: 1px; }

/* ============================================================
   SECOND HERO (Pixelize flagship on landing)
   ============================================================ */
.hero2 {
  border: var(--border-w) solid var(--primary-line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--primary-soft), transparent 55%), var(--surface);
  box-shadow: var(--glow); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch;
}
.hero2__copy { padding: clamp(26px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 0; }
.hero2__copy h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); letter-spacing: -0.02em; line-height: var(--lh-tight); margin-top: 16px; text-wrap: balance; }
.hero2__copy .lead { margin-top: 16px; }
.hero2__media { position: relative; min-height: 320px; border-left: 1px solid var(--border); background: var(--surface-2); }
.hero2__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero2__media .shot-tag { position: absolute; left: 14px; bottom: 14px; font-family: var(--font-pixel); font-size: 10px; color: #fff; background: rgba(0,0,0,.55); padding: 5px 9px; border-radius: var(--r-sm); backdrop-filter: blur(4px); }
.hero2__bullets { display: grid; gap: 10px; margin-top: 20px; }
.hero2__bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-dim); list-style: none; }
.hero2__bullets li svg { width: 16px; height: 16px; color: var(--primary); flex: none; margin-top: 2px; }
.hero2__bullets li b { color: var(--text); font-weight: 600; }

/* ============================================================
   HELP PAGES
   ============================================================ */
.help-grid { display: grid; grid-template-columns: 250px 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.help-toc { position: sticky; top: 84px; display: grid; gap: 2px; font-size: var(--fs-sm); }
.help-toc .grp { font-family: var(--font-pixel); font-size: 10px; color: var(--text-faint); padding: 14px 14px 6px; letter-spacing: .04em; }
.help-toc a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; border-radius: var(--r-sm); color: var(--text-dim); transition: background var(--dur), color var(--dur); }
.help-toc a:hover { background: var(--surface-2); color: var(--text); }
.help-toc a.is-active { background: var(--surface-2); color: var(--text); border-left: 2px solid var(--primary); padding-left: 12px; }
.tier-pill { font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: var(--r-pill); flex: none; }
.tier-pill.is-free { color: var(--green); background: var(--green-soft); }
.tier-pill.is-paid { color: var(--primary); background: var(--primary-soft); }

.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-top: 14px; border: 1px solid var(--border); }
.prose table th { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); text-align: left; background: var(--surface-2); }
.prose table th, .prose table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose table td { color: var(--text-dim); }
.prose table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.prose pre { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px 16px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text); overflow-x: auto; margin-top: 12px; line-height: 1.6; }
.prose code { font-family: var(--font-mono); font-size: .88em; color: var(--primary); background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; }
.prose pre code { border: 0; background: transparent; padding: 0; color: inherit; }
.prose figure { margin-top: 16px; border: var(--border-w) solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.prose figure img { width: 100%; display: block; }
.prose figure figcaption { padding: 10px 14px; font-size: var(--fs-xs); color: var(--text-faint); border-top: 1px solid var(--border); font-family: var(--font-mono); }
.help-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 14px; }
.crumb { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint); display: flex; gap: 8px; align-items: center; }
.crumb a { color: var(--text-dim); }
.crumb a:hover { color: var(--primary); }

/* help index rows */
.hrow { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); margin-top: 8px; transition: border-color var(--dur); }
.hrow:hover { border-color: var(--border-strong); }
.hrow__name { font-weight: 600; font-size: var(--fs-sm); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hrow__tag { color: var(--text-dim); font-size: var(--fs-xs); margin-top: 2px; }
.hrow__cli { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }

/* ---------- Generic page header (sub-hero on inner pages) ---------- */
.page-head { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(20px, 3vw, 36px); }
.page-head__inner { max-width: 64ch; }
.page-head .eyebrow { margin-bottom: 16px; }
.page-head h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); line-height: var(--lh-snug); letter-spacing: -0.02em; text-wrap: balance; }
.page-head .lead { margin-top: 18px; font-size: var(--fs-md); }

/* breadcrumb-ish mono kicker */
.route-tag { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint); }
.route-tag b { color: var(--primary); font-weight: 600; }

/* ============================================================
   SCREENSHOT / GIF SLOT  (placeholder the user fills per spec)
   ============================================================ */
.shot {
  position: relative; border: var(--border-w) solid var(--border-strong);
  border-radius: var(--r); overflow: hidden; background: var(--surface-2);
  box-shadow: var(--shadow-2);
}
.shot__bar {
  display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px;
  background: var(--surface-3); border-bottom: 1px solid var(--border);
}
.shot__dots { display: flex; gap: 6px; }
.shot__dots i { width: 9px; height: 9px; border-radius: var(--r-pill); background: var(--text-faint); opacity: .5; display: block; }
.shot__title { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.shot__body {
  position: relative; aspect-ratio: 16/10; display: grid; place-items: center;
  background-color: var(--checker-b);
  background-image:
    linear-gradient(45deg, var(--checker-a) 25%, transparent 25%),
    linear-gradient(-45deg, var(--checker-a) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--checker-a) 75%),
    linear-gradient(-45deg, transparent 75%, var(--checker-a) 75%);
  background-size: 24px 24px; background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}
.shot__body.is-solid { background: var(--surface); }
.shot__slot {
  text-align: center; color: var(--text-faint); padding: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.shot__slot .pixel { font-family: var(--font-pixel); font-size: 11px; color: var(--text-dim); }
.shot__slot .mono { font-family: var(--font-mono); font-size: var(--fs-xs); }
.shot__spud { width: 60px; image-rendering: pixelated; opacity: .9; filter: drop-shadow(0 6px 12px rgba(0,0,0,.3)); }

/* ============================================================
   TOOL PAGE — alternating feature sections
   ============================================================ */
.featrow {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 64px);
  align-items: center; padding-block: clamp(28px, 4vw, 56px);
}
.featrow + .featrow { border-top: 1px solid var(--border); }
.featrow.is-flip .featrow__media { order: -1; }
.featrow__ey { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.featrow__num { font-family: var(--font-pixel); font-size: 11px; color: var(--text-faint); }
.featrow h3 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl); letter-spacing: -0.02em; line-height: var(--lh-snug); }
.featrow p { color: var(--text-dim); font-size: var(--fs-md); margin-top: 14px; max-width: 50ch; }
.featrow__list { display: grid; gap: 10px; margin-top: 20px; }
.featrow__list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-dim); list-style: none; }
.featrow__list svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 2px; }
.featrow__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-items: center; }

/* small inline price pill */
.pricetag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; padding: 5px 10px; border-radius: var(--r-sm); border: 1px solid var(--primary-line); background: var(--primary-soft); color: var(--primary); }
.pricetag.is-free { color: var(--green); border-color: color-mix(in oklab, var(--green) 40%, var(--border)); background: var(--green-soft); }

/* ============================================================
   PRICING — the parking-garage
   ============================================================ */
.garage { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--sp-5); align-items: stretch; margin-top: var(--sp-2); }
.garage__stack { display: grid; grid-template-rows: repeat(4, 1fr); gap: 10px; }

.floor {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 18px 20px; border: var(--border-w) solid var(--border); border-radius: var(--r);
  background: var(--surface); transition: border-color var(--dur), transform var(--dur) var(--ease);
}
.floor:hover { border-color: var(--border-strong); transform: translateX(3px); }
.floor__lvl {
  width: 42px; height: 42px; display: grid; place-items: center; flex: none;
  font-family: var(--font-pixel); font-size: 15px; color: var(--text-dim);
  border: var(--border-w) solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface-2);
}
.floor.is-free .floor__lvl { color: var(--green); border-color: color-mix(in oklab, var(--green) 45%, var(--border)); background: var(--green-soft); }
.floor__body { min-width: 0; }
.floor__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.floor__sku { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }
.floor__desc { color: var(--text-dim); font-size: var(--fs-sm); margin-top: 4px; }
.floor__right { display: flex; align-items: center; gap: 16px; flex: none; }
.floor__price { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); letter-spacing: -0.01em; white-space: nowrap; }
.floor__price small { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); font-weight: 500; }

/* Studio tower */
.tower {
  position: relative; border: var(--border-w) solid var(--primary-line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--primary-soft), transparent 55%), var(--surface);
  box-shadow: var(--glow); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px;
}
.tower__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tower__name { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl); letter-spacing: -0.02em; }
.tower__price { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-3xl); line-height: 1; letter-spacing: -0.03em; }
.tower__price small { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--text-dim); font-weight: 500; display: block; margin-top: 4px; }
.tower__save { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--green); }
.tower .price-list { margin-top: 2px; }
.tower__pot { position: absolute; top: 18px; right: 18px; width: 40px; image-rendering: pixelated; opacity: .85; }

/* comparison table */
.cmp-wrap { margin-top: var(--sp-7); border: var(--border-w) solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.cmp th, .cmp td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.cmp thead th { font-family: var(--font-pixel); font-size: 10px; letter-spacing: 0.03em; color: var(--text-dim); text-transform: uppercase; background: var(--surface-2); vertical-align: bottom; }
.cmp thead th .pp { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--primary); margin-top: 6px; letter-spacing: 0; text-transform: none; }
.cmp tbody th { text-align: left; font-weight: 600; color: var(--text); font-family: var(--font-body); font-size: var(--fs-sm); }
.cmp td.feat-on svg { width: 17px; height: 17px; color: var(--green); margin: 0 auto; }
.cmp td.feat-off { color: var(--text-faint); }
.cmp col.is-studio, .cmp th.is-studio { background: var(--primary-soft); }
.cmp .is-studio { background: var(--primary-soft); }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: 0; }
.cmp tr:hover td:not(.is-studio), .cmp tr:hover th { background: var(--surface-2); }

/* ============================================================
   DOWNLOAD + CHANGELOG
   ============================================================ */
.dl-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: clamp(24px, 3vw, 34px); border: var(--border-w) solid var(--primary-line);
  border-radius: var(--r-lg); background: linear-gradient(180deg, var(--primary-soft), transparent 60%), var(--surface);
  box-shadow: var(--glow);
}
.dl-card__pot { width: 72px; image-rendering: pixelated; }
.dl-card__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-dim); }
.dl-card__meta b { color: var(--text); font-weight: 600; }
.dl-secondary { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }

.changelog { display: grid; gap: 0; margin-top: var(--sp-3); }
.release { display: grid; grid-template-columns: 168px 1fr; gap: 28px; padding-block: var(--sp-5); border-top: 1px solid var(--border); }
.release:first-child { border-top: 0; }
.release__side { display: flex; flex-direction: column; gap: 8px; }
.release__ver { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); letter-spacing: -0.01em; }
.release__date { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint); }
.release__tag { align-self: flex-start; }
.release__body ul { display: grid; gap: 9px; }
.release__body li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-dim); list-style: none; }
.cl-kind { font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: var(--r-sm); flex: none; margin-top: 1px; letter-spacing: 0.02em; }
.cl-kind.add { color: var(--green); background: var(--green-soft); }
.cl-kind.fix { color: var(--cyan); background: var(--cyan-soft); }
.cl-kind.chg { color: var(--yellow); background: var(--yellow-soft); }
/* Changelog-Contract-Kinds (feat|fix|perf|chore|docs) — eigene Farben je Art. */
.cl-kind.feat  { color: var(--green);    background: var(--green-soft); }
.cl-kind.perf  { color: var(--primary);  background: var(--primary-soft); }
.cl-kind.chore { color: var(--text-dim); background: rgba(150,160,175,0.12); }
.cl-kind.docs  { color: var(--yellow);   background: var(--yellow-soft); }

/* Aufklappbarer aelterer Changelog-Verlauf (die letzten 4 Releases stehen offen darueber). */
.changelog-older { margin-top: var(--sp-4); }
.changelog-older > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); color: var(--text-dim); padding: 8px 14px; border: var(--border-w) solid var(--border);
  border-radius: var(--r); list-style: none; user-select: none; }
.changelog-older > summary::-webkit-details-marker { display: none; }
.changelog-older > summary::marker { content: ""; }
.changelog-older > summary:hover { color: var(--text); border-color: var(--primary-line); }
.changelog-older[open] > summary { margin-bottom: 4px; }

/* optional disclosure (redeem "existing key", merge keys) — shared summary look */
.opt-disclosure { margin-top: 14px; }
.opt-disclosure > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); color: var(--text-dim); padding: 8px 14px; border: var(--border-w) solid var(--border);
  border-radius: var(--r); list-style: none; user-select: none; transition: color var(--dur), border-color var(--dur); }
.opt-disclosure > summary::-webkit-details-marker { display: none; }
.opt-disclosure > summary::marker { content: ""; }
.opt-disclosure > summary:hover { color: var(--text); border-color: var(--primary-line); }
.opt-disclosure[open] > summary { margin-bottom: 12px; }
.merge-fields { display: flex; flex-direction: column; gap: 12px; }
.merge-fields .fld-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.merge-confirm { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: var(--fs-sm); color: var(--text-dim); cursor: pointer; }
.merge-confirm input { margin-top: 3px; flex: none; accent-color: var(--primary); }

/* ============================================================
   CONTROLCENTER (/license)
   ============================================================ */
.cc { max-width: 880px; margin-inline: auto; }

/* key lookup */
.keybox { border: var(--border-w) solid var(--border-strong); border-radius: var(--r-lg); background: var(--surface); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-2); }
.keybox__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.keybox__pot { width: 40px; image-rendering: pixelated; }
.keybox__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); }
.keybox__sub { color: var(--text-dim); font-size: var(--fs-sm); margin-top: 2px; }
.keyform { display: flex; gap: 12px; align-items: stretch; }
.field {
  flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0;
  border: var(--border-w) solid var(--border-strong); border-radius: var(--r-sm);
  background: var(--surface-2); padding: 0 14px; transition: border-color var(--dur), box-shadow var(--dur);
}
.field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field svg { width: 18px; height: 18px; color: var(--text-faint); flex: none; }
.field input {
  flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; outline: none;
  font-family: var(--font-mono); font-size: var(--fs-base); letter-spacing: 0.06em; color: var(--text);
  text-transform: uppercase;
}
.field input::placeholder { color: var(--text-faint); letter-spacing: 0.06em; text-transform: none; }
.field.is-error { border-color: var(--red); }
.keyform__hint { margin-top: 12px; font-size: var(--fs-xs); color: var(--text-faint); display: flex; align-items: center; gap: 8px; }
.keyform__demo { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.keyform__demo .lbl { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.demo-key { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); padding: 5px 10px; border: 1px dashed var(--border-strong); border-radius: var(--r-sm); background: transparent; cursor: pointer; transition: color var(--dur), border-color var(--dur); }
.demo-key:hover { color: var(--primary); border-color: var(--primary-line); }

/* alerts */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface-2); font-size: var(--fs-sm); color: var(--text-dim); }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.alert.is-error { border-color: color-mix(in oklab, var(--red) 45%, var(--border)); background: var(--red-soft); color: color-mix(in oklab, var(--red) 75%, var(--text)); }
.alert.is-error svg { color: var(--red); }
.alert.is-ok { border-color: color-mix(in oklab, var(--green) 45%, var(--border)); background: var(--green-soft); color: color-mix(in oklab, var(--green) 80%, var(--text)); }
.alert.is-ok svg { color: var(--green); }

/* license result */
.cc-state { margin-top: var(--sp-5); }
.cc-panel { border: var(--border-w) solid var(--border); border-radius: var(--r); background: var(--surface); }
.cc-panel + .cc-panel { margin-top: var(--sp-4); }
.cc-panel__hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.cc-panel__hd h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); display: flex; align-items: center; gap: 10px; }
.cc-panel__hd .pixel { font-family: var(--font-pixel); font-size: 10px; color: var(--text-faint); }
.cc-panel__body { padding: 8px 20px 16px; }

/* license summary strip */
.lic-summary { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding: 16px 20px; }
.lic-summary .kv { display: flex; flex-direction: column; gap: 3px; }
.lic-summary .kv .k { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.lic-summary .kv .v { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--text); }
.lic-summary .grow { flex: 1; }

/* entitlement / device rows */
.row-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.row-item:last-child { border-bottom: 0; }
.row-item__ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface-2); color: var(--text-dim); flex: none; }
.row-item__ic svg { width: 20px; height: 20px; }
.row-item__ic.is-on { color: var(--green); border-color: color-mix(in oklab, var(--green) 40%, var(--border)); background: var(--green-soft); }
.row-item__name { font-weight: 600; font-size: var(--fs-sm); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row-item__sub { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint); margin-top: 3px; }
.row-item__act { flex: none; }
.btn-danger { background: transparent; color: var(--red); border: 1px solid color-mix(in oklab, var(--red) 40%, var(--border)); }
.btn-danger:hover { background: var(--red-soft); border-color: var(--red); }
.btn-sm { padding: 9px 13px; font-size: var(--fs-xs); }

.device-deactivated { opacity: .5; }
.device-deactivated .row-item__name { text-decoration: line-through; }

/* segmented page state switch (demo helper, not shipped UI) */
.state-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface-2); }
.state-switch button { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); padding: 7px 12px; border-radius: calc(var(--r-sm) - 2px); background: transparent; transition: background var(--dur), color var(--dur); }
.state-switch button.is-on { background: var(--primary); color: var(--primary-ink); }
.demo-note { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

/* GEO/Entity-Definition (sichtbarer, crawlbarer „What is MutaSprite"-Absatz; spiegelt JSON-LD) */
.geo-blurb { color: var(--text-dim); font-size: var(--fs-sm); line-height: 1.65; max-width: 68ch; margin-top: 12px; }

/* dezenter „also on itch.io"-Link (shop-neutraler Hub; nur frei/Pixelize/Studio) */
.itch-link { margin-top: 7px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); text-decoration: none; transition: color var(--dur); }
.itch-link:hover { color: var(--primary); }

/* Home „Why"-3-up (offline · deterministisch · batch) + AI-Creators-Band (Lane B) */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { border: var(--border-w) solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: 22px 24px; }
.why-card h3 { font-family: var(--font-display); font-size: var(--fs-lg); margin: 0 0 8px; }
.why-card p { color: var(--text-dim); font-size: var(--fs-sm); line-height: 1.6; margin: 0; }
.ai-band { border: var(--border-w) solid var(--primary-line); border-radius: var(--r-lg); background: var(--surface); padding: clamp(26px, 4vw, 44px); text-align: center; max-width: 820px; margin-inline: auto; }
.ai-band .eyebrow { justify-content: center; }
.ai-band h2 { margin: 10px 0 12px; }
.ai-band p { color: var(--text-dim); max-width: 62ch; margin: 0 auto 20px; line-height: 1.65; }

/* confirm modal (device deactivation) */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(2px); }
.modal__box { position: relative; width: 100%; max-width: 460px; background: var(--surface); border: var(--border-w) solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: clamp(22px, 3vw, 30px); }
.modal__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.modal__ic { display: inline-flex; color: var(--red); }
.modal__ic svg { width: 24px; height: 24px; }
.modal__head h3 { font-family: var(--font-display); font-size: var(--fs-lg); margin: 0; }
.modal__body { color: var(--text-dim); font-size: var(--fs-sm); line-height: 1.55; margin: 0 0 20px; }
.modal__act { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ============================================================
   LEGAL
   ============================================================ */
.legal-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.legal-nav { position: sticky; top: 84px; display: grid; gap: 2px; }
.legal-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--r-sm); color: var(--text-dim); font-size: var(--fs-sm); font-weight: 500; transition: background var(--dur), color var(--dur); }
.legal-nav a:hover { background: var(--surface-2); color: var(--text); }
.legal-nav a.is-active { background: var(--surface-2); color: var(--text); border-left: 2px solid var(--primary); padding-left: 12px; }
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl); letter-spacing: -0.02em; margin-bottom: 8px; }
.prose h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); margin-top: 32px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--text-dim); font-size: var(--fs-sm); line-height: 1.7; }
.prose p { margin-top: 10px; }
.prose ul { margin-top: 10px; padding-left: 20px; display: grid; gap: 6px; }
.prose .placeholder { border: 1px dashed var(--border-strong); border-radius: var(--r-sm); padding: 14px 16px; background: var(--surface); color: var(--text-faint); font-family: var(--font-mono); font-size: var(--fs-xs); margin-top: 12px; }
.prose .updated { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-faint); margin-top: 4px; }

/* ---------- shared inner-page CTA band reuse already in site.css ---------- */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .featrow { grid-template-columns: 1fr; }
  .featrow.is-flip .featrow__media { order: 0; }
  .garage { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-nav { position: static; grid-auto-flow: column; overflow-x: auto; }
  .studio-hero__grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .ref__cols { grid-template-columns: 1fr; }
  .ref__cols.is-flip > .ref__media { order: 0; }
  .profiles { grid-template-columns: repeat(2, 1fr); }
  .hero2 { grid-template-columns: 1fr; }
  .hero2__media { min-height: 260px; border-left: 0; border-top: 1px solid var(--border); }
  .help-grid { grid-template-columns: 1fr; }
  .help-toc { position: static; }
}
@media (max-width: 600px) {
  .profiles { grid-template-columns: 1fr; }
  .facts__row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 720px) {
  .cmp-wrap { overflow-x: auto; }
  .cmp { min-width: 620px; }
  .release { grid-template-columns: 1fr; gap: 12px; }
  .dl-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 560px) {
  .floor { grid-template-columns: auto 1fr; }
  .floor__right { grid-column: 1 / -1; justify-content: space-between; margin-top: 4px; }
  .keyform { flex-direction: column; }
  .keyform .btn { width: 100%; }
  .row-item { grid-template-columns: auto 1fr; }
  .row-item__act { grid-column: 1 / -1; }
  .row-item__act .btn { width: 100%; }
  .tools-grid { grid-template-columns: 1fr; }
}
