@charset "UTF-8";
/* RC5 app identity: semantic palette from docs/website-style-guide.md in the app repository. */
/* Shared brown/gold tokens, public sections, community/admin forms, then responsive and popup overrides. */
.hero::before {
  max-width: 100%;
  left: 0 !important;
  right: 0 !important;
}

:root {
  color-scheme: dark;
  --vsm-bg: #100d0b;
  --vsm-panel-top: #30241a;
  --vsm-panel-mid: #211911;
  --vsm-panel-bottom: #18120e;
  --vsm-text: #eadcc2;
  --vsm-muted: #baa477;
  --vsm-heading: #f0c477;
  --vsm-button: #2c2116;
  --vsm-border: #594323;
  --vsm-focus: #ffd38a;
  --vsm-accent: #e9ad50;
  --vsm-accent-text: #271b0d;
  --vsm-input: #15100c;
  --vsm-selection: #473319;
  --vsm-text-selection: #986623;
  --vsm-danger: #f2b6ae;
  --vsm-error: #ffb1a7;

  --vsm-font-ui: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --vsm-font-heading: Constantia, 'Palatino Linotype', Georgia, serif;
  --vsm-radius-sm: 5px;
  --vsm-radius-button: 6px;
  --vsm-radius-panel: 8px;
  --vsm-shadow-panel: 0 4px 14px rgb(0 0 0 / 24%);
  --vsm-shadow-overlay: 0 16px 48px rgb(0 0 0 / 40%);

  --vsm-title-top: #ffe8a2;
  --vsm-title-gold: #ffda72;
  --vsm-title-highlight: #fff0b0;
  --vsm-title-mid: #eba63d;
  --vsm-title-orange: #cf602b;
  --vsm-title-bottom: #b83f2c;
  /* Existing layout aliases keep every page on the shared app palette. */
  --bg: var(--vsm-bg);
  --panel: var(--vsm-panel-mid);
  --text: var(--vsm-text);
  --muted: var(--vsm-muted);
  --gold: var(--vsm-accent);
  --line: var(--vsm-border);
  --soft: var(--vsm-selection);
  --serif: var(--vsm-font-heading);
  --vsm-control-border: #a38b63;
  --vsm-panel-face: linear-gradient(
    135deg,
    var(--vsm-panel-top),
    var(--vsm-panel-mid) 60%,
    var(--vsm-panel-bottom)
  );
  --vsm-button-face: linear-gradient(
    180deg,
    var(--vsm-panel-top),
    var(--vsm-button) 40%,
    var(--vsm-panel-bottom)
  );
  --vsm-button-light: linear-gradient(
    180deg,
    rgb(255 255 255 / 9%),
    transparent 48%,
    rgb(0 0 0 / 7%)
  );
  --vsm-swatch-default: #bf8f42;
  --vsm-swatch-dark: #526784;
  --vsm-swatch-purple: #ae81cf;
  --vsm-swatch-light: #f1e5d1;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--vsm-font-ui);
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--vsm-focus);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--vsm-text-selection);
  color: var(--vsm-text);
}
.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: var(--gold);
  color: var(--vsm-accent-text);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--vsm-bg);
}
.nav-row {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand strong {
  display: block;
  font: bold 21px/1.15 var(--serif);
  letter-spacing: 1px;
  background: linear-gradient(
    var(--vsm-title-top) 0%,
    var(--vsm-title-mid) 40%,
    var(--vsm-title-bottom) 100%
  );
  color: transparent;
  background-clip: text;
}
.brand small {
  display: block;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 2.7px;
  margin-top: 5px;
}
nav {
  display: flex;
  gap: 29px;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
nav a:hover {
  color: var(--gold);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--vsm-accent), var(--vsm-accent));
  border: 1px solid var(--vsm-accent);
  color: var(--vsm-accent-text);
  font-size: 14px;
  font-weight: 700;
  padding: 15px 24px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgb(0 0 0 / 13%);
  transition:
    filter 0.2s,
    transform 0.2s;
}
.button:hover {
  border-color: var(--vsm-focus);
}
.button span {
  font-size: 20px;
  line-height: 1;
}
.small {
  padding: 9px 16px;
  font-size: 12px;
  gap: 15px;
}
.menu-button {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 35px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 66px;
  position: relative;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0 -40px;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 50%, transparent, transparent 60%);
  z-index: -1;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 25px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px transparent;
  flex-shrink: 0;
}
.divider {
  color: var(--vsm-muted);
  margin-inline: 6px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font: 700 clamp(2rem, 4.5vw, 3.5rem)/1.12 var(--serif);
  letter-spacing: -2.3px;
  margin-bottom: 25px;
}
h1 em {
  font-style: normal;
  color: var(--gold);
}
.intro {
  max-width: 550px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
}
.text-link {
  font-size: 13px;
  border-bottom: 1px solid var(--vsm-muted);
  padding: 6px 0;
}
.text-link span {
  margin-left: 12px;
  color: var(--gold);
}
.hero-note {
  font-size: 11px;
  color: var(--vsm-muted);
  margin: 22px 0 0;
}
.hero-note span {
  margin: 0 10px;
  color: var(--vsm-muted);
}
.hero-art {
  position: relative;
  text-align: center;
  justify-self: center;
}
.hero-art > img {
  width: 330px;
  position: relative;
  filter: drop-shadow(0 25px 40px rgb(0 0 0 / 44%));
}
.hero-art p {
  font-size: 8px;
  letter-spacing: 2.8px;
  color: var(--vsm-muted);
  margin: 22px 0 0;
}
.orbit {
  position: absolute;
  inset: -22px -26px 7px;
  border: 1px solid var(--vsm-border);
  border-radius: 50%;
  transform: rotate(-20deg);
}
.orbit:before,
.orbit:after {
  content: '✦';
  position: absolute;
  color: var(--vsm-muted);
  font-size: 17px;
}
.orbit:before {
  left: 20px;
  top: 60px;
}
.orbit:after {
  right: 0;
  bottom: 55px;
}
.product-preview {
  border: 1px solid var(--vsm-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgb(0 0 0 / 33%);
  background: var(--vsm-panel-bottom);
}
.preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.preview-bar > span {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: var(--vsm-muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.segmented {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--vsm-bg);
}
.segmented button,
.theme-buttons button {
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  padding: 7px 13px;
  font-size: 12px;
}
.segmented button[aria-pressed='true'] {
  background: var(--vsm-selection);
  color: var(--vsm-heading);
}
.screenshot-button {
  padding: 0;
  border: 0;
  display: block;
  width: 100%;
  position: relative;
  background: var(--vsm-bg);
  color: var(--text);
}
.screenshot-button img {
  width: 100%;
}
.enlarge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 6px 12px;
  background: var(--vsm-bg);
  border: 1px solid var(--line);
  font-size: 11px;
  border-radius: 3px;
}
.preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 15px 20px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
}
.preview-caption > span:last-child {
  font-size: 9px;
  letter-spacing: 1.5px;
  flex-shrink: 0;
  color: var(--vsm-muted);
}
.capability-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.capability-strip b {
  font-size: 10px;
  color: var(--vsm-muted);
}
.section {
  padding-block: 95px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 42px;
}
.section-heading > .eyebrow {
  margin-bottom: 16px;
}
.section-heading > p {
  max-width: 370px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 5px;
}
h2 {
  font: 700 clamp(24px, 2.5vw, 32px)/1.25 var(--serif);
  letter-spacing: -0.8px;
  margin-bottom: 0;
}
h3 {
  font: 700 22px/1.3 var(--serif);
  margin-bottom: 12px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(125deg, var(--vsm-panel-top), var(--vsm-panel-bottom));
}
.features article {
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.features article:nth-child(3n) {
  border-right: 0;
}
.features article:nth-last-child(-n + 3) {
  border-bottom: 0;
}
.feature-number {
  display: flex;
  justify-content: space-between;
  color: var(--vsm-muted);
  font: 12px monospace;
  letter-spacing: 2px;
  margin-bottom: 26px;
}
.feature-number span {
  font-size: 23px;
}
.features p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.85;
}
.world-section {
  background: var(--vsm-panel-bottom);
  border-block: 1px solid var(--line);
}
.world-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 65px;
}
.section-copy {
  color: var(--muted);
  font-size: 14px;
  margin: 24px 0;
}
.check-list {
  padding: 0;
  list-style: none;
  color: var(--vsm-muted);
  font-size: 12px;
}
.check-list li {
  margin: 12px 0;
}
.check-list li:before {
  content: '✓';
  color: var(--gold);
  margin-right: 10px;
}
.fineprint {
  font-size: 11px;
  color: var(--vsm-muted);
  margin: 25px 0 0;
  line-height: 1.8;
}
.world-detail {
  margin: 0;
  border: 1px solid var(--vsm-border);
  background: var(--vsm-bg);
  border-radius: 5px;
  overflow: hidden;
}
.world-detail img {
  width: 100%;
}
.world-detail figcaption {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 17px;
  font-size: 11px;
  color: var(--muted);
}
.theme-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 22px;
}
.theme-buttons button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 10px 22px;
}
.theme-buttons button[aria-pressed='true'] {
  border-color: var(--gold);
  color: var(--vsm-heading);
  background: var(--vsm-button);
}
.swatch {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--vsm-control-border);
}
.swatch.default {
  background: var(--vsm-swatch-default);
}
.swatch.dark {
  background: var(--vsm-swatch-dark);
}
.swatch.purple {
  background: var(--vsm-swatch-purple);
}
.swatch.light {
  background: var(--vsm-swatch-light);
}
.theme-frame {
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  max-width: 1000px;
  margin: auto;
}
.theme-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0 0;
}
.start-section {
  border-top: 1px solid var(--line);
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  padding: 0;
  margin: 0;
}
.steps li {
  border-top: 1px solid var(--vsm-border);
  padding-top: 25px;
}
.steps li > span {
  width: 29px;
  height: 29px;
  border: 1px solid var(--vsm-border);
  color: var(--gold);
  display: grid;
  place-items: center;
  font: 14px var(--serif);
  margin-bottom: 22px;
}
.steps p {
  color: var(--muted);
  font-size: 13px;
}
code {
  font-family: Consolas, monospace;
  font-size: 0.9em;
  color: var(--vsm-heading);
}
.release-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 90px;
  border-top: 1px solid var(--line);
}
.release-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 30px;
  border-radius: 5px;
}
.release-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 22px;
}
.tag {
  color: var(--gold);
  background: var(--vsm-panel-mid);
  border: 1px solid var(--vsm-border);
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 1px;
}
.release-card ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}
.release-card li {
  padding: 5px 0;
}
.release-limit {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}
.release-limit strong {
  color: var(--gold);
  font-weight: 500;
}
.release-limit p {
  margin: 8px 0 0;
}
.faq-section {
  padding-top: 0;
}
.faq-section h2 {
  margin-bottom: 30px;
}
.faq {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
summary {
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  position: relative;
  padding-right: 35px;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: '+';
  position: absolute;
  right: 6px;
  color: var(--gold);
}
details[open] summary:after {
  content: '−';
}
details p {
  font-size: 13px;
  color: var(--muted);
  max-width: 850px;
  margin: 15px 0 0;
}
.download-section {
  border-block: 1px solid var(--vsm-border);
  background:
    radial-gradient(ellipse at 20% 50%, transparent, transparent 65%), var(--vsm-panel-bottom);
  padding: 65px 0 35px;
}
.download-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.download-inner h2 {
  font-size: 58px;
  margin-bottom: 17px;
}
.download-inner p:not(.eyebrow) {
  color: var(--vsm-muted);
  font-size: 14px;
}
.download-inner .download-spec {
  font-size: 11px !important;
  color: var(--muted) !important;
}
.download-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: var(--vsm-muted);
}
.download-actions > a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.download-actions > span {
  color: var(--muted);
  margin-bottom: 9px;
}
.checksum-row {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  flex-wrap: wrap;
}
.checksum-row code {
  overflow-wrap: anywhere;
  word-break: break-all;
  flex: 1;
  min-width: 160px;
  color: var(--vsm-muted);
}
.checksum-row button {
  background: transparent;
  border: 1px solid var(--vsm-border);
  border-radius: 3px;
  color: var(--gold);
  font-size: 11px;
  padding: 5px 14px;
}
.checksum-row button:disabled {
  opacity: 0.5;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding-block: 35px;
}
.footer p {
  font-size: 10px;
  color: var(--vsm-muted);
  margin: 0;
}
.footer > a:last-child {
  font-size: 11px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  padding: 45px 8px 8px;
  background: var(--bg);
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 6px;
}
dialog::backdrop {
  background: rgb(0 0 0 / 65%);
}
dialog > button {
  position: absolute;
  top: 7px;
  right: 8px;
}
dialog img {
  max-height: 82vh;
  object-fit: contain;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 95px;
    padding-bottom: 80px;
  }
}
@media (max-width: 1000px) {
  nav {
    gap: 15px;
  }
  .nav-row {
    gap: 20px;
  }
  .hero-art > img {
    width: 270px;
  }
  .hero {
    gap: 20px;
  }
  .actions {
    gap: 15px;
  }
  .world-layout,
  .release-layout {
    gap: 35px;
  }
  .section-heading {
    gap: 30px;
  }
  .features article {
    padding: 24px;
  }
  .steps {
    gap: 25px;
  }
  .preview-bar {
    padding-inline: 12px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }
  .nav-row {
    height: 76px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand img {
    width: 40px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .menu-button {
    display: block;
    margin-left: auto;
    color: var(--text);
    background: none;
    border: 1px solid var(--line);
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 12px;
  }
  .nav-download {
    display: none;
  }
  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    padding: 20px;
    background: var(--vsm-panel-bottom);
    border-bottom: 1px solid var(--line);
    margin: 0;
    flex-direction: column;
    gap: 18px;
  }
  nav.open {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 0 38px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero .eyebrow {
    justify-content: center;
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    letter-spacing: -1.5px;
  }
  .intro {
    font-size: 15px;
    margin-inline: auto;
  }
  .actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-art {
    display: none;
  }
  .hero-note {
    font-size: 10px;
  }
  .preview-bar {
    align-items: start;
    flex-direction: column;
  }
  .segmented {
    max-width: 100%;
  }
  .segmented button {
    font-size: 10px;
    padding: 7px 10px;
  }
  .preview-caption {
    padding: 12px;
    font-size: 10px;
  }
  .preview-caption > span:last-child {
    display: none;
  }
  .enlarge {
    font-size: 9px;
    right: 8px;
    bottom: 8px;
    padding: 3px 8px;
  }
  .capability-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: center;
    font-size: 10px;
  }
  .capability-strip b {
    display: none;
  }
  .section {
    padding-block: 60px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: none;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .features article {
    padding: 22px 18px;
  }
  .features article:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
  .features article:nth-child(2n) {
    border-right: 0;
  }
  .features article:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
  .features article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .features h3 {
    font-size: 18px;
  }
  .features p {
    font-size: 12px;
  }
  .world-layout,
  .release-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .theme-buttons {
    gap: 7px;
    flex-wrap: wrap;
  }
  .theme-buttons button {
    padding: 8px 13px;
    font-size: 11px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps li {
    padding-top: 18px;
  }
  .steps li > span {
    float: left;
    margin: 0 17px 55px 0;
  }
  .steps h3 {
    font-size: 20px;
    margin: 0 0 8px;
  }
  .steps p {
    margin: 0;
  }
  .start-section .segmented {
    display: inline-flex;
    margin-top: 25px;
  }
  .faq-section {
    padding-top: 10px;
  }
  .download-inner {
    display: block;
  }
  .download-inner h2 {
    font-size: 44px;
  }
  .download-actions {
    align-items: start;
    margin-top: 28px;
  }
  .download-actions .button {
    width: 100%;
    gap: 20px;
  }
  .download-section {
    padding-top: 45px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer > a:last-child {
    display: none;
  }
  .footer p {
    font-size: 9px;
  }
  .button {
    font-size: 12px;
    padding: 13px 18px;
  }
  .text-link {
    font-size: 12px;
  }
  h2 {
    font-size: 34px;
  }
  .release-card {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
.community-heading {
  padding: 65px 0 30px;
}
.community-heading h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}
.notice {
  border: 1px solid var(--vsm-border);
  background: var(--vsm-panel-mid);
  padding: 15px 20px;
  font-size: 13px;
  color: var(--vsm-muted);
  border-radius: 4px;
  margin-bottom: 30px;
}
.community-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
}
.account-card {
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-bottom: 20px;
}
.card-title {
  font: 24px/1.3 var(--serif);
  margin-bottom: 14px;
}
.account-card .fineprint {
  margin: 12px 0 20px;
}
.community-layout .segmented {
  margin-bottom: 18px;
}
.community-layout .button {
  width: 100%;
  margin-top: 8px;
}
.community-layout label,
.thread-content label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.community-layout input,
.community-layout textarea,
.community-layout select,
.thread-content textarea {
  display: block;
  width: 100%;
  background: var(--vsm-bg);
  border: 1px solid var(--vsm-control-border);
  color: var(--text);
  font:
    14px 'Segoe UI',
    sans-serif;
  border-radius: 3px;
  padding: 10px;
  margin-top: 6px;
}
.community-layout fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.community-layout fieldset:disabled {
  opacity: 0.45;
}
.plain-button {
  background: transparent;
  border: 0;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
  padding: 10px 0;
}
.danger {
  color: var(--vsm-danger);
}
.discussion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.discussion-header h2 {
  font-size: 32px;
}
.discussion-header select {
  width: auto;
  font-size: 12px;
  margin: 0;
}
.empty-state {
  padding: 65px 30px;
  text-align: center;
  border: 1px dashed var(--vsm-border);
  border-radius: 5px;
  color: var(--muted);
}
.empty-state > span {
  font-size: 40px;
  color: var(--gold);
}
.empty-state h3 {
  color: var(--text);
  margin-top: 18px;
}
.empty-state p {
  font-size: 13px;
}
.post-card {
  display: block;
  text-align: left;
  width: 100%;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  margin-bottom: 12px;
  border-radius: 4px;
}
.post-card .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
}
.post-card h3 {
  font-size: 22px;
}
.post-card:hover {
  border-color: var(--gold);
}
.community-rules {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 35px 0;
  color: var(--muted);
  font-size: 12px;
}
.community-callout {
  padding: 55px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.community-callout h2 {
  font-size: 35px;
}
.community-callout p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  max-width: 700px;
  margin: 18px 0 0;
}
.community-callout .button {
  flex-shrink: 0;
}
.community-nav {
  display: flex;
}
.thread-content {
  width: min(760px, 80vw);
  padding: 18px 25px;
}
.thread-content h2 {
  font-size: 30px;
}
.thread-content h3 {
  margin-top: 30px;
}
.user-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  color: var(--muted);
}
.reply {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.reply strong {
  font-size: 12px;
  color: var(--gold);
}
#compose {
  margin-bottom: 25px;
}
#thread-status {
  color: var(--gold);
  font-size: 12px;
}
@media (max-width: 1000px) {
  .nav-row {
    gap: 18px;
  }
  nav {
    gap: 16px;
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .community-heading {
    padding-top: 40px;
  }
  .community-heading h1 {
    font-size: 43px;
  }
  .community-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .community-layout aside {
    display: grid;
    gap: 16px;
  }
  .account-card {
    margin: 0;
    padding: 22px;
  }
  .community-callout {
    display: block;
  }
  .community-callout .button {
    margin-top: 25px;
  }
  .community-callout h2 {
    font-size: 30px;
  }
  .community-nav {
    position: static;
    width: auto;
    padding: 0;
    border: 0;
    background: none;
    flex-direction: row;
    margin-left: auto;
    font-size: 11px;
    gap: 10px;
  }
  .community-nav a:nth-child(2) {
    display: none;
  }
  .community-nav + .button {
    display: none;
  }
  .discussion-header h2 {
    font-size: 28px;
  }
  .thread-content {
    width: 85vw;
    padding: 15px 5px;
  }
  .thread-content h2 {
    font-size: 25px;
  }
}
.admin-main {
  max-width: 1240px;
  padding-block: 50px;
}
.admin-main h1 {
  font-size: 44px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.admin-sidebar {
  position: sticky;
  top: 100px;
  padding: 24px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
}
.admin-sidebar nav {
  position: static;
  width: auto;
  padding: 0;
  background: transparent;
  border: 0;
  display: grid;
  gap: 6px;
  margin: 18px 0 28px;
}
.admin-sidebar nav a {
  padding: 12px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a[aria-current] {
  background: var(--vsm-selection);
  color: var(--gold);
}
.admin-sidebar > .text-link {
  display: block;
  margin-top: 16px;
  font-size: 13px;
}
.admin-workspace {
  min-width: 0;
}
.admin-stats.personal-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-block: 30px;
}
.member-id {
  overflow-wrap: anywhere;
}
.post-entry {
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-block: 14px;
  overflow: hidden;
}
.post-entry .post-card {
  border: 0;
  margin: 0;
  border-radius: 0;
}
.post-engagement {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 22px 18px;
}
.upvote-button[aria-pressed='true'] {
  color: var(--gold);
  background: var(--soft);
  border-radius: 4px;
}
.upvote-button {
  padding: 8px 12px;
}
.plain-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: none;
}
#management-dialog {
  width: min(740px, calc(100vw - 24px));
}
[data-account-signout] {
  margin-left: 24px;
}
@media (max-width: 760px) {
  .account-settings-grid,
  .admin-stats.personal-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}
.admin-workspace .account-card {
  margin-top: 0;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.admin-stats > div {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 20px 14px;
}
.admin-stats span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.admin-stats strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.dashboard-shortcuts {
  display: grid;
  gap: 12px;
}
.dashboard-shortcuts a {
  display: block;
  color: var(--text);
  text-decoration: none;
  margin: 0;
}
.dashboard-shortcuts a:hover {
  border-color: var(--gold);
}
.dashboard-shortcuts h3 {
  margin-top: 0;
}
.role-list dt {
  color: var(--gold);
  margin-top: 20px;
}
.role-list dd {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.confirmation-card {
  border: 1px solid var(--gold);
  padding: 20px;
  border-radius: 5px;
  margin: 20px 0;
  line-height: 1.7;
}
.confirmation-card strong {
  overflow-wrap: anywhere;
}
#payment-fields {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
#payment-fields:disabled {
  opacity: 0.55;
}
@media (max-width: 760px) {
  .admin-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .admin-sidebar {
    position: static;
    padding: 16px;
  }
  .admin-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 16px;
  }
  .admin-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}
.admin-main label,
.thread-content label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0;
}
.admin-main input,
.admin-main select,
.thread-content input,
.thread-content select,
.thread-content textarea {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--vsm-control-border);
  border-radius: 3px;
  font:
    14px 'Segoe UI',
    sans-serif;
  margin-top: 7px;
}
.check-label {
  display: flex !important;
  align-items: center;
  gap: 12px;
}
.check-label input {
  width: auto !important;
  margin: 0 !important;
}
.tier-card {
  padding: 20px;
  border: 1px solid var(--line);
  margin: 15px 0;
  border-radius: 4px;
}
.tier-card p {
  font-size: 13px;
}
.tier-card .plain-button {
  margin-right: 25px;
}
.tier-card button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Donation choices share a compact row, wrapping as the viewport narrows. */
#donation-dialog {
  width: min(800px, calc(100vw - 32px));
}
#donation-dialog [data-donation-tiers] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 700px) {
  #donation-dialog [data-donation-tiers] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  #donation-dialog [data-donation-tiers] {
    grid-template-columns: minmax(0, 1fr);
  }
}
#donation-dialog .tier-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 16px;
  overflow-wrap: anywhere;
}
#donation-dialog .tier-card h3 {
  font-size: 20px;
}
#donation-dialog .tier-card button {
  width: 100%;
  margin-top: auto;
}
.admin-main .fineprint {
  margin: 12px 0 20px;
}
.admin-main .button {
  margin-top: 10px;
}
.admin-main #secret-state,
.admin-main #webhook-state {
  color: var(--gold);
  margin-left: 8px;
}

/* Community account entry points remain visible on desktop and mobile. */
#auth-dialog {
  width: min(480px, calc(100vw - 24px));
  max-height: 90dvh;
  overflow: auto;
}
#auth-dialog .account-card {
  border: 0;
  margin: 12px 0 0;
  padding: 20px;
}
#auth-message {
  font-size: 13px;
  color: var(--gold);
}
.account-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}
#start-discussion {
  margin-bottom: 20px;
}
#guest-reply {
  margin-top: 20px;
}
#admin-login {
  margin-bottom: 25px;
}
@media (min-width: 761px) and (max-width: 1150px) {
  #navigation {
    gap: 12px;
    font-size: 11px;
  }
  .nav-row {
    gap: 16px;
  }
  .brand {
    gap: 7px;
  }
  .nav-row > .button {
    padding: 9px 10px;
  }
}
@media (max-width: 760px) {
  .community-nav a:first-child {
    display: none;
  }
  .community-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  #auth-dialog .account-card {
    padding: 12px;
  }
  .community-nav #nav-account {
    display: block;
  }
}
#auth-dialog label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0;
}
#auth-dialog input {
  display: block;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--vsm-control-border);
  color: var(--text);
  font:
    14px Segoe UI,
    sans-serif;
  border-radius: 3px;
  padding: 12px;
  margin-top: 6px;
}
#auth-dialog fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
#auth-dialog fieldset:disabled {
  opacity: 0.45;
}
#auth-dialog #forgot-password {
  display: block;
  margin-top: 14px;
}
#auth-dialog input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.orbit {
  inset: 0;
  transform: none;
}
.hero > * {
  min-width: 0;
}
dialog {
  padding: 8px;
  max-height: 92dvh;
  color: var(--text);
}
dialog > button {
  position: sticky;
  top: 0;
  right: auto;
  display: flex;
  margin-left: auto;
  z-index: 2;
}
dialog .thread-content {
  max-width: 100%;
  overflow-wrap: anywhere;
}
#auth-dialog .account-card {
  margin-top: 8px;
}
@media (max-width: 760px) {
  dialog button,
  .account-actions button {
    min-height: 44px;
  }
  #auth-dialog input {
    font-size: 16px;
  }
  .discussion-header {
    flex-wrap: wrap;
  }
  .discussion-header select {
    max-width: 100%;
  }
}
dialog > .button {
  display: flex;
  width: max-content;
  margin-left: auto;
}
.community-layout .account-actions .button {
  width: auto;
  margin-top: 0;
}
.account-actions button {
  white-space: nowrap;
}
.account-actions {
  flex-wrap: wrap;
}
@media (min-width: 761px) and (max-width: 1000px) {
  .menu-button {
    display: block;
    margin-left: auto;
    color: var(--text);
    background: none;
    border: 1px solid var(--line);
    padding: 10px 14px;
    border-radius: 3px;
    font-size: 13px;
  }
  #navigation {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    width: 100%;
    padding: 20px 32px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    margin: 0;
    font-size: 14px;
    gap: 16px;
  }
  #navigation.open {
    display: flex;
    flex-wrap: wrap;
  }
  #navigation a {
    white-space: nowrap;
  }
}

#release-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
#release-form fieldset:disabled {
  opacity: 0.55;
}
#release-form textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--vsm-control-border);
  border-radius: 3px;
  padding: 12px;
  font:
    14px Segoe UI,
    sans-serif;
  resize: vertical;
}
.release-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 35px;
}
.release-hash {
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  color: var(--muted);
}
#release-list .plain-button {
  display: block;
  margin: 15px 0;
}
#release-list .button {
  width: auto;
}
#release-source {
  font-size: 12px;
  max-width: 320px;
}
#release-form input[type='file'] {
  max-width: 100%;
}
@media (max-width: 760px) {
  #release-form input,
  #release-form textarea {
    font-size: 16px;
  }
  .release-list-heading {
    flex-wrap: wrap;
  }
}

/* Shared app-inspired surfaces and controls. Layout rules above remain page-specific. */
h1,
h2,
h3,
.card-title {
  color: var(--vsm-heading);
}
.header {
  background: linear-gradient(
    180deg,
    var(--vsm-panel-mid),
    var(--vsm-panel-bottom) 65%,
    var(--vsm-bg)
  );
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
}
.brand strong {
  background: none;
  color: var(--vsm-heading);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .brand strong {
    background: linear-gradient(
      180deg,
      var(--vsm-title-top),
      var(--vsm-title-gold) 28%,
      var(--vsm-title-highlight) 38%,
      var(--vsm-title-mid) 52%,
      var(--vsm-title-orange) 80%,
      var(--vsm-title-bottom)
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}
:is(.account-card, .release-card, .features, .product-preview, .theme-frame, .admin-sidebar) {
  background: var(--vsm-panel-face);
  border-color: var(--vsm-border);
  border-radius: var(--vsm-radius-panel);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 5%),
    var(--vsm-shadow-panel);
}
.account-card {
  padding: 24px;
}
.account-card .account-card,
dialog .account-card {
  background: transparent;
  box-shadow: none;
  border: 0;
}
.post-card,
.post-entry,
.tier-card {
  background: var(--vsm-panel-mid);
  border-radius: var(--vsm-radius-panel);
  box-shadow: none;
}
:is(button, .button, .plain-button, .segmented button, .theme-buttons button, .menu-button) {
  min-height: 44px;
  border-radius: var(--vsm-radius-button);
  font-family: var(--vsm-font-ui);
  font-size: 14px;
  line-height: 1.35;
}
:is(
  .button,
  .plain-button,
  .segmented button,
  .theme-buttons button,
  .menu-button,
  dialog > button
) {
  padding: 10px 16px;
  border: 1px solid var(--vsm-control-border);
  background: var(--vsm-button-light), var(--vsm-button-face);
  color: var(--vsm-text);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 13%),
    0 2px 0 rgb(0 0 0 / 40%);
  text-decoration: none;
  font-weight: 600;
  white-space: normal;
  transition:
    border-color 120ms ease,
    transform 120ms ease,
    box-shadow 120ms ease;
}
.button:not(#donate-now) {
  background: var(--vsm-button-light), var(--vsm-accent);
  color: var(--vsm-accent-text);
  border-color: var(--vsm-accent);
}
:is(
    .button,
    .plain-button,
    .segmented button,
    .theme-buttons button,
    .menu-button,
    dialog > button
  ):hover:not(:disabled) {
  border-color: var(--vsm-focus);
  text-decoration: none;
}
:is(
    .button,
    .plain-button,
    .segmented button,
    .theme-buttons button,
    .menu-button,
    dialog > button
  ):active:not(:disabled) {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 2px rgb(0 0 0 / 20%),
    0 1px 0 rgb(0 0 0 / 40%);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.plain-button.danger {
  color: var(--vsm-danger);
}
:is(.segmented button, .theme-buttons button, .upvote-button)[aria-pressed='true'],
.admin-sidebar nav a[aria-current] {
  background: linear-gradient(var(--vsm-selection), var(--vsm-button));
  border: 1px solid var(--vsm-accent);
  color: var(--vsm-heading);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--vsm-accent);
}
:is(#auth-dialog, .account-card, .community-layout, .thread-content, #release-form)
  :is(input:not([type='checkbox']):not([type='radio']), select, textarea) {
  background: linear-gradient(180deg, var(--vsm-bg), var(--vsm-input) 30%);
  border: 1px solid var(--vsm-control-border);
  border-radius: var(--vsm-radius-sm);
  box-shadow: inset 0 2px 2px rgb(0 0 0 / 21%);
  color: var(--vsm-text);
  min-height: 44px;
  padding: 10px 12px;
  font: 400 16px/1.6 var(--vsm-font-ui);
}
input::placeholder,
textarea::placeholder {
  color: var(--vsm-muted);
  opacity: 1;
}
:is(input, textarea, select):hover {
  border-color: var(--vsm-muted);
}
input[type='checkbox'],
input[type='radio'] {
  accent-color: var(--vsm-accent);
}
.check-label {
  min-height: 44px;
}
:is(#auth-dialog, .account-card, .community-layout, .thread-content) label {
  font-size: 14px;
  font-weight: 600;
}
:is(input, textarea, select)[aria-invalid='true'] {
  border-color: var(--vsm-error);
}
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--vsm-focus);
  outline-offset: 3px;
}
dialog {
  background: var(--vsm-panel-face);
  border-radius: var(--vsm-radius-panel);
  box-shadow: var(--vsm-shadow-overlay);
  padding: 16px;
  max-height: calc(100dvh - 32px);
}
dialog > button {
  top: 0;
}
dialog .account-card {
  padding: 12px 8px;
}
.notice {
  background: var(--vsm-panel-mid);
  color: var(--vsm-text);
  border-radius: var(--vsm-radius-sm);
}
.user-content {
  color: var(--vsm-text);
  font-size: 16px;
  line-height: 1.6;
  max-width: 68ch;
}
.features p,
.steps p,
.community-callout p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.6;
}
.hero-note,
.fineprint,
.community-rules,
.preview-caption {
  font-size: 14px;
}
.hero .intro {
  font-size: 16px;
  line-height: 1.6;
}
.header nav {
  font-size: 14px;
}
.header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.admin-sidebar nav a {
  display: flex;
}
summary {
  min-height: 44px;
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }
  .segmented {
    flex-wrap: wrap;
  }
  .segmented button,
  .theme-buttons button {
    font-size: 14px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .features article {
    border-right: 0;
    border-bottom: 1px solid var(--vsm-border);
  }
  .features article:last-child {
    border-bottom: 0;
  }
  .community-nav {
    flex-wrap: wrap;
  }
  .community-nav a {
    font-size: 14px;
  }
}
@media (forced-colors: active) {
  .brand strong {
    background: none;
    color: CanvasText;
  }
  :is(.account-card, .button, .plain-button, input, select, textarea, dialog) {
    box-shadow: none;
    border-color: ButtonText;
  }
}
