:root {
  --bg: #0d0e10;
  --bg-soft: #13151a;
  --surface: #191b21;
  --surface-2: #222631;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: #f7f2e8;
  --muted: #b9b2a6;
  --muted-2: #858895;
  --studio: #f3b94f;
  --studio-2: #e9604d;
  --bolt: #4f8cff;
  --bolt-2: #7d63ff;
  --bard: #b8e64b;
  --bard-2: #ffb23e;
  --map: #f6c25f;
  --map-2: #d4772d;
  --char: #ff6b7c;
  --char-2: #f0b35a;
  --note: #78d77c;
  --note-2: #d9c56b;
  --ok: #42d47a;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.26);
  --premium-line: rgba(243, 185, 79, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(243, 185, 79, 0.08), transparent 30rem),
    radial-gradient(circle at 86% 12%, rgba(79, 140, 255, 0.055), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--studio);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(16, 17, 19, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand small {
  display: block;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-links a {
  color: rgba(247, 242, 232, 0.78);
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.bolt.active,
.nav-links a.bolt:hover {
  color: #dfeaff;
  background: rgba(79, 140, 255, 0.18);
}

.nav-links a.bard.active,
.nav-links a.bard:hover {
  color: #f3ffd0;
  background: rgba(184, 230, 75, 0.16);
}

.nav-links a.map.active,
.nav-links a.map:hover {
  color: #fff0c9;
  background: rgba(246, 194, 95, 0.16);
}

.nav-links a.char.active,
.nav-links a.char:hover {
  color: #ffe0e4;
  background: rgba(255, 107, 124, 0.16);
}

.nav-links a.note.active,
.nav-links a.note:hover {
  color: #dcffdc;
  background: rgba(120, 215, 124, 0.16);
}

.nav-cta {
  border: 1px solid rgba(243, 185, 79, 0.45);
  color: var(--studio) !important;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-button span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  display: none;
}

.hero {
  --hero-image-avif: var(--hero-image);
  --hero-image-webp: var(--hero-image);
  --hero-image-mobile-avif: var(--hero-image-avif);
  --hero-image-mobile-webp: var(--hero-image-webp);
  --hero-image-mobile: var(--hero-image);
  min-height: min(760px, calc(100svh - 44px));
  padding: 122px 0 72px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background-color: #111113;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-image: image-set(
    var(--hero-image-avif) type("image/avif"),
    var(--hero-image-webp) type("image/webp"),
    var(--hero-image) type("image/png")
  );
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  opacity: 0.74;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin-top: 32px;
}

@media (max-width: 700px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.feature-group-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--studio);
}

.feature-group {
  margin: 0;
}

.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-checklist li {
  position: relative;
  padding: 4px 0 4px 20px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(247, 242, 232, 0.84);
}

.feature-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--studio);
  font-weight: 700;
  font-size: 0.875rem;
}

.feature-checklist li strong {
  color: #f7f2e8;
}

.feature-group.map .feature-group-title { color: var(--map); }
.feature-checklist.map li::before { color: var(--map); }

.feature-group.bard .feature-group-title { color: var(--bard); }
.feature-checklist.bard li::before { color: var(--bard); }

.feature-group.quest .feature-group-title { color: var(--quest); }
.feature-checklist.quest li::before { color: var(--quest); }

.feature-group.bolt .feature-group-title { color: var(--bolt); }
.feature-checklist.bolt li::before { color: var(--bolt); }

/* === Comparison Table === */
.compare-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 24px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  padding: 10px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(247, 242, 232, 0.1);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: rgba(247, 242, 232, 0.84);
  white-space: nowrap;
}

.compare-table thead th {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 16px;
  color: #f7f2e8;
}

.compare-table thead th span {
  display: block;
}

.compare-map { color: #5b9cf6; }
.compare-bard { color: #f3b94f; }
.compare-quest { color: #6ee7b7; }
.compare-bolt { color: #9ec2ff; }

.compare-table td {
  color: rgba(247, 242, 232, 0.7);
  font-size: 1rem;
}

.compare-legend {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: rgba(247, 242, 232, 0.5);
  text-align: center;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.release-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.024));
  padding: 24px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset, var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.release-card.map { border-top: 3px solid #5b9cf6; }
.release-card.bard { border-top: 3px solid #f3b94f; }
.release-card.quest { border-top: 3px solid #6ee7b7; }
.release-card.bolt { border-top: 3px solid #4f8cff; }

.release-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.release-header .release-badge {
  flex-shrink: 0;
}

.release-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.86);
  background: rgba(255, 255, 255, 0.065);
}

.release-badge.map {
  border-color: rgba(91, 156, 246, 0.34);
  color: #a5c8ff;
  background: rgba(91, 156, 246, 0.12);
}

.release-badge.bard {
  border-color: rgba(243, 185, 79, 0.34);
  color: #fde68a;
  background: rgba(243, 185, 79, 0.12);
}

.release-badge.note,
.release-badge.quest {
  border-color: rgba(110, 231, 183, 0.34);
  color: #a7f3d0;
  background: rgba(110, 231, 183, 0.12);
}

.release-badge.bolt {
  border-color: rgba(79, 140, 255, 0.36);
  color: #cfe0ff;
  background: rgba(79, 140, 255, 0.12);
}

.release-changes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9375rem;
  color: rgba(247, 242, 232, 0.7);
}

.release-changes li {
  padding-left: 1.1em;
  position: relative;
}

.release-changes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(247, 242, 232, 0.25);
}

.release-changes li strong {
  color: rgba(247, 242, 232, 0.92);
}

.release-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.release-footer .muted {
  display: block;
  margin-bottom: 12px;
  font-size: 0.8125rem;
}

.release-footer .actions {
  flex-wrap: wrap;
  gap: 8px;
}

.release-footer .actions .button {
  font-size: 0.875rem;
  padding: 8px 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: rgba(247, 242, 232, 0.92);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: '+';
  font-size: 1.2em;
  font-weight: 700;
  color: var(--studio);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(79, 140, 255, 0.1);
}

.faq-item[open] summary::before {
  content: '−';
}

.faq-item summary:hover {
  background: rgba(255,255,255,0.04);
}

.faq-item summary h3 {
  margin: 0;
  font-size: 1rem;
}

.faq-answer {
  padding: 0 20px 20px;
  color: rgba(247, 242, 232, 0.7);
  line-height: 1.6;
}

.faq-answer p + p {
  margin-top: 8px;
}

@media (max-width: 700px) {
  .compare-table th,
  .compare-table td {
    padding: 8px 10px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 700px) {
  .hero::before {
    background-image: var(--hero-image-mobile);
    background-image: image-set(
      var(--hero-image-mobile-avif) type("image/avif"),
      var(--hero-image-mobile-webp) type("image/webp"),
      var(--hero-image-mobile) type("image/png")
    );
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 42%, rgba(243, 185, 79, 0.11), transparent 27rem),
    linear-gradient(90deg, rgba(13,14,16,0.96) 0%, rgba(13,14,16,0.78) 42%, rgba(13,14,16,0.26) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(13,14,16,0.32) 26%, rgba(13,14,16,0) 62%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy::before {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, var(--studio), transparent);
}

.eyebrow {
  color: var(--studio);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow.bolt {
  color: #9ec2ff;
}

.eyebrow.bard {
  color: var(--bard);
}

.eyebrow.map {
  color: var(--map);
}

.eyebrow.char {
  color: var(--char);
}

.eyebrow.note {
  color: var(--note);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 5.85vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.product-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.product-title img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.hero-lede {
  max-width: 690px;
  color: rgba(247, 242, 232, 0.84);
  font-size: clamp(1.12rem, 1.75vw, 1.38rem);
  line-height: 1.55;
  margin-bottom: 32px;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 24px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(247, 242, 232, 0.9);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-badge.bolt {
  border-color: rgba(79, 140, 255, 0.42);
  color: #cfe0ff;
  background: rgba(79, 140, 255, 0.14);
}

.status-badge.bard {
  border-color: rgba(184, 230, 75, 0.42);
  color: #efffbc;
  background: rgba(184, 230, 75, 0.14);
}

.status-badge.map {
  border-color: rgba(246, 194, 95, 0.42);
  color: #ffe4aa;
  background: rgba(246, 194, 95, 0.14);
}

.status-badge.char {
  border-color: rgba(255, 107, 124, 0.42);
  color: #ffd0d6;
  background: rgba(255, 107, 124, 0.14);
}

.status-badge.note {
  border-color: rgba(120, 215, 124, 0.42);
  color: #d2ffd4;
  background: rgba(120, 215, 124, 0.14);
}

.status-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.038));
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 14px 36px rgba(0,0,0,0.24);
}

.button.primary {
  border-color: rgba(243, 185, 79, 0.28);
  background: linear-gradient(135deg, var(--studio-2), var(--studio));
  color: #16110c;
}

.button.bolt {
  border-color: rgba(79, 140, 255, 0.45);
  background: linear-gradient(135deg, var(--bolt), var(--bolt-2));
  color: #ffffff;
}

.button.bard {
  border-color: rgba(184, 230, 75, 0.45);
  background: linear-gradient(135deg, var(--bard), var(--bard-2));
  color: #14140c;
}

.button.map {
  border-color: rgba(246, 194, 95, 0.45);
  background: linear-gradient(135deg, var(--map), var(--map-2));
  color: #171007;
}

.button.char {
  border-color: rgba(255, 107, 124, 0.45);
  background: linear-gradient(135deg, var(--char), var(--char-2));
  color: #18080b;
}

.button.note {
  border-color: rgba(120, 215, 124, 0.45);
  background: linear-gradient(135deg, var(--note), var(--note-2));
  color: #0b150c;
}

.button.ghost {
  color: rgba(247, 242, 232, 0.88);
}

.button.secondary {
  color: rgba(247, 242, 232, 0.92);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 92px 0;
  scroll-margin-top: 92px;
}

.section.tight {
  padding: 54px 0;
}

.band {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0)),
    var(--bg-soft);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 42px;
}

.section-head.full {
  display: block;
  max-width: 820px;
}

.kicker {
  color: var(--studio);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.kicker.bolt {
  color: #9ec2ff;
}

.kicker.bard {
  color: var(--bard);
}

.kicker.map {
  color: var(--map);
}

.kicker.char {
  color: var(--char);
}

.kicker.note {
  color: var(--note);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.05rem, 4.1vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.muted {
  color: var(--muted);
}

.section-lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
  max-width: 620px;
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.finder-table {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.55fr) minmax(200px, 0.6fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.028);
}

.finder-list {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finder-list > li {
  display: contents;
}

.finder-row {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  align-items: center;
  color: rgba(247, 242, 232, 0.88);
  transition: background 0.18s ease, color 0.18s ease;
}

.finder-row > * {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.finder-row:first-child > * {
  border-top: 0;
}

a.finder-row:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.finder-head {
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.finder-row strong {
  color: var(--text);
  font-size: 17px;
}

.finder-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  font-style: normal;
}

.finder-status::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.finder-status.available {
  color: #6ee7a0;
}

.finder-status.available::before {
  background: rgba(110, 231, 160, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236ee7a0'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.finder-status.developing {
  color: #fbbf24;
}

.finder-status.developing::before {
  background: rgba(251, 191, 36, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fbbf24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.finder-status.closed {
  color: #f87171;
}

.finder-status.closed::before {
  background: rgba(248, 113, 113, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f87171'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.product-group {
  display: grid;
  gap: 18px;
}

.product-group + .product-group {
  margin-top: 46px;
}

.product-group-head {
  max-width: 760px;
}

.product-group-head h3 {
  max-width: 680px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.product-group-developing > .grid.cols-3 {
  max-width: 820px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-group-flagship > .grid.cols-3 {
  grid-template-columns: 1fr;
}

.product-group-flagship .product-card {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.95fr);
  min-height: 0;
}

.product-group-flagship .product-card .media {
  min-height: 100%;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.product-group-flagship .product-card .body {
  min-height: 100%;
}

.card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.024)),
    radial-gradient(circle at 18% 0%, rgba(243,185,79,0.055), transparent 46%);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset, var(--shadow-soft);
  min-width: 0;
}

.card.link-card {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  text-decoration: none;
  color: inherit;
}

.card.link-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
}

.card.link-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card .status-badge {
  margin: 0 0 14px;
}

.tool-directory {
  align-items: stretch;
}

.tool-directory .card {
  min-height: 188px;
}

.tool-meta {
  display: block;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  padding: 0;
}

.product-card .media {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border);
  background: #06070a;
  overflow: hidden;
  flex: 0 0 auto;
}

.product-card .media picture,
.product-card .media img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card .media img {
  object-fit: contain;
  object-position: center;
  background: #06070a;
}

.product-card .body {
  display: grid;
  flex: 1;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
  padding: 24px;
}

.product-card .tag-row {
  align-self: end;
  margin-top: 0;
  padding-top: 18px;
}

.product-card .kicker {
  min-height: 1em;
}

.product-card h3 {
  margin-bottom: 12px;
}

.product-card .muted {
  margin-bottom: 0;
}

.product-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 5px 10px;
  margin: 0 0 14px;
  color: rgba(247, 242, 232, 0.86);
  background: rgba(255, 255, 255, 0.065);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-status.available {
  border-color: rgba(120, 215, 124, 0.34);
  color: #d2ffd4;
  background: rgba(120, 215, 124, 0.12);
}

.product-status.alpha {
  border-color: rgba(255, 107, 124, 0.34);
  color: #ffd0d6;
  background: rgba(255, 107, 124, 0.12);
}

.product-status.browser {
  border-color: rgba(180, 153, 255, 0.34);
  color: #ded5ff;
  background: rgba(180, 153, 255, 0.12);
}

.product-status.closed {
  border-color: rgba(79, 140, 255, 0.36);
  color: #cfe0ff;
  background: rgba(79, 140, 255, 0.12);
}

.product-card.bolt {
  border-color: rgba(79, 140, 255, 0.26);
}

.product-card.bard {
  border-color: rgba(184, 230, 75, 0.22);
}

.product-card.map {
  border-color: rgba(246, 194, 95, 0.24);
}

.product-card.char {
  border-color: rgba(255, 107, 124, 0.24);
}

.product-card.note {
  border-color: rgba(120, 215, 124, 0.24);
}

.studio-status-strip {
  margin-top: -42px;
  padding: 0 0 42px;
  position: relative;
  z-index: 2;
}

.studio-status-strip .download-note {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  backdrop-filter: blur(14px);
}

.premium-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.premium-product-grid .product-card {
  min-height: 460px;
}

.premium-product-grid .product-card.flagship {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(0, 0.95fr);
  min-height: 440px;
}

.premium-product-grid .product-card.flagship .media {
  aspect-ratio: auto;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.premium-product-grid .product-card.flagship .body {
  align-content: center;
}

.product-card .text-link {
  align-self: end;
  margin-top: 20px;
}

.product-card {
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.card-stretch-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
}

.product-card .asset-attribution a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.studio-principles .card {
  min-height: 210px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 9px;
  color: rgba(247, 242, 232, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.tag.bolt {
  border-color: rgba(79, 140, 255, 0.34);
  color: #b9d2ff;
}

.tag.bard {
  border-color: rgba(184, 230, 75, 0.34);
  color: #e2fca4;
}

.tag.map {
  border-color: rgba(246, 194, 95, 0.34);
  color: #ffe0a1;
}

.tag.char {
  border-color: rgba(255, 107, 124, 0.34);
  color: #ffc0c8;
}

.tag.note {
  border-color: rgba(120, 215, 124, 0.34);
  color: #baf5bd;
}

.download-panel {
  display: grid;
  gap: 20px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.028)),
    radial-gradient(circle at 16% 0%, rgba(255,255,255,0.08), transparent 38%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.download-card.primary-download {
  border-color: rgba(158, 212, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(158,212,255,0.13), rgba(255,255,255,0.032)),
    radial-gradient(circle at 16% 0%, rgba(158,212,255,0.17), transparent 42%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 18px 48px rgba(30, 111, 180, 0.12);
}

.download-card.primary-download .platform-mark {
  border-color: rgba(158, 212, 255, 0.34);
  background: rgba(158, 212, 255, 0.1);
}

.download-card-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  align-items: start;
}

.download-card-head .platform-mark {
  display: none;
}

.platform-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(9, 10, 12, 0.48);
  color: rgba(247, 242, 232, 0.92);
}

.platform-mark svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.platform-mark.windows {
  color: #9ed4ff;
}

.platform-mark.apple {
  color: #f4f1ea;
}

.platform-mark.linux {
  color: #c6f68d;
}

.download-card h3 {
  margin: 2px 0 0;
  font-size: 20px;
}

.download-card .muted {
  margin: 0;
}

.download-card .button {
  width: 100%;
  margin-top: auto;
}

.download-meta {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
}

.platform-button {
  gap: 10px;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  min-height: 50px;
  padding: 13px 16px;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.platform-button svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.platform-button span {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.download-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 0;
  border-left: 2px solid rgba(243, 185, 79, 0.36);
  border-radius: 0;
  padding: 2px 0 2px 14px;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

.download-note strong {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0;
}

.download-note span {
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.update-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.024));
  box-shadow: 0 1px 0 rgba(255,255,255,0.035) inset;
}

.update-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
}

.update-card p {
  margin: 0;
}

.update-card.map {
  border-color: rgba(246, 194, 95, 0.2);
}

.update-card.bard {
  border-color: rgba(184, 230, 75, 0.2);
}

.update-card.quest,
.update-card.note {
  border-color: rgba(120, 215, 124, 0.2);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.trust-list span {
  min-height: 54px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 12px;
  color: rgba(247, 242, 232, 0.82);
  background: rgba(255,255,255,0.035);
  font-size: 0.86rem;
  line-height: 1.35;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.help-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.help-card h3 {
  font-size: 20px;
}

.help-card p:last-child {
  margin-bottom: 0;
}

.metric {
  border-left: 2px solid var(--studio);
  padding-left: 16px;
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: 44px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  color: rgba(247, 242, 232, 0.84);
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--studio);
}

.feature-list.bolt li::before {
  background: var(--bolt);
}

.feature-list.bard li::before {
  background: var(--bard);
}

.feature-list.map li::before {
  background: var(--map);
}

.feature-list.char li::before {
  background: var(--char);
}

.feature-list.note li::before {
  background: var(--note);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.journey-step {
  position: relative;
  min-height: 300px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    radial-gradient(circle at 18% 14%, rgba(243,185,79,0.14), transparent 34%);
}

.journey-step:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    radial-gradient(circle at 18% 14%, rgba(79,140,255,0.16), transparent 34%);
}

.journey-step:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    radial-gradient(circle at 18% 14%, rgba(184,230,75,0.14), transparent 34%);
}

.journey-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(247, 242, 232, 0.12);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.showcase.reverse {
  grid-template-columns: minmax(360px, 1.1fr) minmax(0, 0.9fr);
}

.showcase.reverse .image-frame {
  order: -1;
}

.image-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #07080b;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-frame picture,
.image-frame img {
  display: block;
  width: 100%;
}

.image-frame img {
  height: auto;
  cursor: zoom-in;
}

.asset-attribution {
  margin: 8px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.45;
}

.asset-attribution a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.image-frame + .asset-attribution {
  margin-top: 10px;
}

.setup-flow {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.setup-flow span {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px 12px 42px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 242, 232, 0.86);
  font-weight: 800;
}

.setup-flow span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--studio);
  transform: translateY(-50%);
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  align-items: start;
}

.screenshot-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.screenshot-card picture,
.screenshot-lightbox-trigger,
.screenshot-card img {
  display: block;
  width: 100%;
}

.screenshot-card picture,
.screenshot-lightbox-trigger {
  aspect-ratio: 16 / 9;
  background: #07080b;
}

.screenshot-lightbox-trigger {
  border: 0;
  padding: 0;
  color: inherit;
  cursor: zoom-in;
}

.screenshot-card img {
  height: 100%;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center top;
  background: #07080b;
  border-bottom: 1px solid var(--border);
  cursor: zoom-in;
}

.screenshot-card figcaption {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  padding: 16px 18px 18px;
}

.screenshot-card figcaption .asset-attribution {
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vw, 28px);
  background: rgba(3, 4, 7, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  display: block;
  max-width: min(98vw, 1900px);
  max-height: 94vh;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  background: #07080b;
  box-shadow: 0 28px 90px rgba(0,0,0,0.7);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100001;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(16,17,19,0.92);
  color: var(--text);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  box-shadow: var(--shadow);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: rgba(255,255,255,0.42);
  outline: none;
  background: rgba(35,37,43,0.96);
}

.split-line {
  height: 1px;
  margin: 28px 0;
  background: var(--border);
}

.spellcard-downloads {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.spellcard-version-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.download-panel.compact {
  padding: 24px;
}

.spellcard-download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.spellcard-download-row .button {
  min-width: 112px;
  justify-content: center;
}

.spellcard-print-note {
  margin-top: 18px;
}

.spellcard-language-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.spellcard-version-strip .spellcard-language-tabs {
  margin: 0;
}

.spellcard-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}

.spellcard-card {
  margin: 0;
}

.spellcard-preview {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.spellcard-preview:focus-visible {
  outline: 3px solid rgba(112, 180, 255, 0.85);
  outline-offset: 4px;
  border-radius: 10px;
}

.spellcard-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #111216;
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
}

.spellcard-card figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.spellcard-dialog[hidden] {
  display: none;
}

.spellcard-dialog {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.spellcard-dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.spellcard-dialog-panel {
  position: relative;
  width: min(92vw, 760px);
  max-height: calc(100vh - 48px);
  display: grid;
  place-items: center;
}

.spellcard-dialog figure {
  margin: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.spellcard-dialog img {
  display: block;
  max-width: min(86vw, 620px);
  max-height: calc(100vh - 116px);
  width: auto;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #111216;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.68);
}

.spellcard-dialog figcaption {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.gallery-close,
.gallery-nav {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(16, 17, 19, 0.82);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}

.gallery-nav {
  position: fixed;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  font-size: 42px;
  line-height: 0.9;
}

.gallery-nav-prev {
  left: max(18px, calc((100vw - 760px) / 2 - 76px));
}

.gallery-nav-next {
  right: max(18px, calc((100vw - 760px) / 2 - 76px));
}

.gallery-close:hover,
.gallery-close:focus-visible,
.gallery-nav:hover,
.gallery-nav:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(35, 37, 43, 0.94);
}

@media (max-width: 760px) {
  .spellcard-download-row .button {
    flex: 1 1 calc(50% - 10px);
  }

  .spellcard-version-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-nav {
    top: auto;
    bottom: 22px;
    transform: none;
  }

  .gallery-nav-prev {
    left: 22px;
  }

  .gallery-nav-next {
    right: 22px;
  }
}

.tool-card {
  display: grid;
  min-height: 230px;
}

.tool-card .count {
  align-self: end;
  color: var(--studio);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 22px;
  align-items: start;
}

.contact-form,
.contact-option {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.contact-form > label {
  display: grid;
  gap: 8px;
  color: rgba(247, 242, 232, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.contact-form > label input,
.contact-form > label textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(8, 9, 11, 0.78);
  color: var(--text);
  padding: 13px 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.contact-form > label textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form > label input:focus,
.contact-form > label textarea:focus {
  border-color: rgba(243, 185, 79, 0.58);
  background: rgba(8, 9, 11, 0.94);
  box-shadow: 0 0 0 3px rgba(243, 185, 79, 0.12);
  outline: none;
}

.contact-form input[name="_gotcha"] {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: rgba(247, 242, 232, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(13, 14, 16, 0.72);
  color: var(--text);
  padding: 12px 13px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(185, 178, 166, 0.62);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(243, 185, 79, 0.56);
  background: rgba(13, 14, 16, 0.92);
  box-shadow: 0 0 0 3px rgba(243, 185, 79, 0.12);
  outline: none;
}

.form-note,
.form-privacy,
.form-status {
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
}

.form-note span {
  color: var(--studio);
  font-weight: 900;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  min-height: 20px;
}

.form-status.success {
  color: var(--ok);
}

.form-status.error {
  color: #ffb0a6;
}

.contact-aside {
  display: grid;
  gap: 14px;
}

.contact-option {
  padding: 22px;
}

.contact-option .kicker {
  margin-bottom: 8px;
}

.contact-option p:last-child {
  margin-bottom: 0;
}

.support-shop-frame,
.portrait-card {
  box-shadow: var(--shadow-soft);
}

.support-consent-box {
  min-height: 320px;
  place-content: center;
  text-align: left;
  background:
    radial-gradient(circle at 14% 0%, rgba(243,185,79,0.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.024));
}

.merch-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 0;
}

.merch-preview-card {
  min-height: 180px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 22px;
  background:
    radial-gradient(circle at 70% 0%, rgba(243,185,79,0.12), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.026));
  box-shadow: var(--shadow-soft);
}

.merch-preview-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.merch-preview-card span {
  color: var(--muted);
}

.about-layout .card h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
}

.portrait-card {
  position: sticky;
  top: 104px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 46px 0 32px;
  background: #0d0e10;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(auto-fit, minmax(138px, 1fr));
  gap: 28px 34px;
  align-items: start;
}

.footer h3,
.footer h4 {
  margin-bottom: 12px;
}

.footer p,
.footer a {
  color: var(--muted-2);
  font-size: 14px;
}

.footer a:hover {
  color: var(--text);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.fineprint {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 12px;
}

.rb-footer-copyright-trigger {
  appearance: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

.rb-footer-copyright-trigger:hover,
.rb-footer-copyright-trigger:focus-visible {
  color: var(--text);
}

.legal-page {
  padding-top: 112px;
}

.legal-prose {
  max-width: 920px;
}

.legal-prose a,
.text-link {
  color: var(--studio);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-prose a:hover,
.text-link:hover {
  color: var(--text);
}

.legal-prose h2 {
  margin-top: 34px;
  margin-bottom: 12px;
}

.legal-prose h3 {
  margin-top: 22px;
  margin-bottom: 8px;
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
}

.legal-prose ul {
  padding-left: 20px;
}

.legal-prose code,
.card code {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0.1rem 0.35rem;
  font-size: 0.92em;
}

.note-box {
  border: 1px solid rgba(243, 185, 79, 0.26);
  border-radius: var(--radius);
  background: rgba(243, 185, 79, 0.08);
  padding: 18px;
}

.source-list {
  display: grid;
  gap: 16px;
}

.source-meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-panel {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 49;
    display: none;
    padding: 20px 16px 28px;
    border-bottom: 1px solid var(--border);
    background: rgba(16, 17, 19, 0.98);
  }

  .menu-open .mobile-panel {
    display: block;
  }

  .mobile-panel a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-weight: 800;
  }

  .section-head,
  .finder-table,
  .finder-row,
  .showcase,
  .showcase.reverse,
  .screenshot-gallery,
  .download-grid,
  .help-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 14px;
  }

  .screenshot-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finder-table {
    grid-template-columns: 1fr;
  }

  .finder-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .finder-head {
    display: none;
  }

  .finder-list > li:first-child .finder-row > * {
    border-top: 0;
  }

  .journey-grid,
  .comparison-matrix {
    grid-template-columns: 1fr;
  }

  .showcase .image-frame {
    order: -1;
  }

  .showcase.reverse .image-frame {
    order: -1;
  }

  .journey-step {
    min-height: 240px;
  }

  .comparison-option-main {
    grid-row: auto;
  }

  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .update-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-group-developing > .grid.cols-3 {
    max-width: none;
  }

  .product-group-flagship .product-card {
    display: flex;
    min-height: 390px;
  }

  .product-group-flagship .product-card .media {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  h1 {
    font-size: clamp(3.25rem, 7.6vw, 4.15rem);
  }

  h2 {
    font-size: clamp(2rem, 5vw, 2.625rem);
  }

  .hero-lede {
    font-size: 20px;
  }

  .product-title img {
    width: 78px;
    height: 78px;
  }

}

.comparison-matrix {
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) repeat(2, minmax(0, 0.72fr));
  gap: 16px;
  margin-top: 2rem;
}

.comparison-option {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 230px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255,255,255,0.035);
}

.comparison-option-main {
  grid-row: span 3;
  min-height: 100%;
  border-color: rgba(79, 140, 255, 0.32);
  background: linear-gradient(180deg, rgba(79,140,255,0.13), rgba(255,255,255,0.035));
}

.comparison-option-tools {
  grid-column: 2 / span 2;
}

.comparison-option h3 {
  margin-bottom: 2px;
}

.comparison-option .button {
  align-self: flex-start;
  margin-top: auto;
}

.comparison-footnote {
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.comparison-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.05rem;
  color: rgba(255,255,255,0.76);
  font-size: 0.9rem;
  line-height: 1.45;
}

.comparison-points-strong {
  color: rgba(255,255,255,0.82);
}

.comparison-detail {
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
}

.comparison-detail h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.comparison-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-next {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
}

.cheatsheet-hero .hero-copy {
  max-width: 720px;
}

.cheatsheet-gallery-section .section-head {
  margin-bottom: 30px;
}

.cheatsheet-gallery-section .section-head h2 {
  max-width: 760px;
  font-size: clamp(2.15rem, 4vw, 3.05rem);
}

.cheatsheet-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}

.cheatsheet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.cheatsheet-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  min-height: 100%;
  padding: 18px;
  overflow: hidden;
}

.cheatsheet-card.selected {
  border-color: rgba(243, 185, 79, 0.56);
  box-shadow: 0 0 0 1px rgba(243, 185, 79, 0.22), var(--shadow);
}

.cheatsheet-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 242, 232, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
}

.cheatsheet-select input {
  width: 18px;
  height: 18px;
  accent-color: var(--studio);
}

.cheatsheet-preview {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0;
  background: rgba(0, 0, 0, 0.18);
  cursor: zoom-in;
  overflow: hidden;
}

.cheatsheet-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 2480 / 3508;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.cheatsheet-preview:hover img {
  transform: scale(1.025);
}

.cheatsheet-card-copy {
  display: grid;
  gap: 6px;
}

.cheatsheet-card-copy h3 {
  margin: 0;
  font-size: 1.22rem;
}

.cheatsheet-card-copy p {
  margin: 0;
  font-size: 0.92rem;
}

.cheatsheet-download-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.cheatsheet-download-chip {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 242, 232, 0.86);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.cheatsheet-download-chip.primary {
  border-color: rgba(243, 185, 79, 0.52);
  background: linear-gradient(180deg, rgba(243, 185, 79, 0.18), rgba(243, 185, 79, 0.08));
  color: var(--text);
}

.cheatsheet-download-chip:hover,
.cheatsheet-download-chip:focus-visible {
  border-color: rgba(247, 242, 232, 0.35);
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  transform: translateY(-1px);
}

.cheatsheet-selection {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1001;
  width: min(920px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(16, 17, 19, 0.96);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.cheatsheet-selection[hidden] {
  display: none;
}

.cheatsheet-selection strong {
  display: block;
}

.cheatsheet-selection span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cheatsheet-selection-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cheatsheet-dialog[hidden] {
  display: none;
}

.cheatsheet-dialog {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 28px;
}

.cheatsheet-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
}

.cheatsheet-dialog-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 56px);
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: rgba(16, 17, 19, 0.98);
  box-shadow: var(--shadow);
  overflow: auto;
}

.cheatsheet-dialog-head,
.cheatsheet-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cheatsheet-dialog-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.cheatsheet-dialog picture {
  display: block;
  width: min(100%, 760px);
  margin: 0 auto;
}

.cheatsheet-dialog img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2480 / 3508;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.cheatsheet-dialog-actions {
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .comparison-matrix {
    grid-template-columns: 1fr;
  }

  .cheatsheet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comparison-option-main {
    grid-row: auto;
  }

  .comparison-option-tools {
    grid-column: auto;
  }

  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-product-grid,
  .premium-product-grid .product-card.flagship {
    grid-template-columns: 1fr;
  }

  .premium-product-grid .product-card.flagship {
    grid-column: auto;
  }

  .premium-product-grid .product-card.flagship .media {
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .merch-preview-grid {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: min(660px, calc(100svh - 28px));
    padding: 104px 0 54px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(16,17,19,0.94) 0%, rgba(16,17,19,0.78) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(16,17,19,0) 38%);
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.4rem);
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.25rem);
  }

  .hero-lede {
    font-size: 18px;
  }

  .metric strong {
    font-size: 30px;
  }

  .product-title img {
    width: 62px;
    height: 62px;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

  .product-group-developing > .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .update-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .download-note {
    flex-direction: column;
    gap: 4px;
  }

  .studio-status-strip {
    margin-top: 0;
    padding: 18px 0 0;
  }

  .studio-status-strip .download-note {
    width: min(var(--max), calc(100% - 24px));
  }

  .product-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .comparison-option {
    min-height: auto;
  }

  .cheatsheet-grid {
    grid-template-columns: 1fr;
  }

  .cheatsheet-card {
    padding: 16px;
  }

  .cheatsheet-selection {
    align-items: stretch;
    flex-direction: column;
  }

  .cheatsheet-selection-actions {
    flex-direction: column;
  }

  .cheatsheet-dialog {
    padding: 10px;
  }

  .cheatsheet-dialog-panel {
    max-height: calc(100vh - 20px);
  }

  .cheatsheet-dialog-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ── Formspree consent checkbox ── */
.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #94a3b8);
  cursor: pointer;
  margin-bottom: 16px;
}

.consent-checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--bolt, #4f8cff);
  width: 16px;
  height: 16px;
}

.consent-checkbox a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Changelog Page ─── */
.changelog {
  margin-top: 2rem;
}

.changelog-entry {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.changelog-entry:last-child {
  border-bottom: none;
}

.changelog-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.changelog-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.changelog-head time {
  font-size: 0.85rem;
  color: var(--muted, #94a3b8);
}

.changelog-body h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #94a3b8);
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.changelog-body h3:first-child {
  margin-top: 0;
}

.changelog-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.changelog-body li {
  padding: 0.25rem 0 0.25rem 1.25rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
}

.changelog-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.changelog-body h3:first-of-type + ul li::before,
.changelog-entry:first-child .changelog-body h3:first-of-type + ul li::before {
  background: var(--bolt, #4f8cff);
}

.changelog-body li::before {
  background: var(--muted, #94a3b8);
  opacity: 0.5;
}

/* Changelog badges: RollBerry vs BoltBerry legacy */
.changelog-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.5rem;
  background: var(--bolt, #4f8cff);
  color: #fff;
}

.changelog-badge.legacy {
  background: rgba(255,255,255,0.1);
  color: var(--muted, #94a3b8);
  border: 1px solid rgba(255,255,255,0.15);
}

/* Legacy entries slightly muted */
.changelog-entry.legacy .changelog-body h2 {
  color: var(--muted, #94a3b8);
}
