@font-face {
  font-family: 'Minecraft';
  src: url('../fonts/Minecraft-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Minecraft';
  src: url('../fonts/Minecraft-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Share Tech';
  src: url('../fonts/ShareTech-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --footer-height: 96px;
  color-scheme: dark;
  --bg: #14160f;
  --bg-soft: #1b1e16;
  --surface: rgba(31, 34, 25, 0.90);
  --surface-solid: #24271d;
  --surface-2: #303428;
  --text: #f1eedf;
  --muted: #b9b49f;
  --border: rgba(205, 195, 151, 0.18);
  --border-strong: rgba(184, 165, 91, 0.44);
  --blue: #739a4b;
  --cyan: #a4c774;
  --green: #79a85b;
  --purple: #9270aa;
  --gold: #d7a34b;
  --header-bg: rgba(16, 18, 13, 0.86);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.40);
  --max-width: 1180px;
}

html[data-theme='light'] {
  color-scheme: light;
  --bg: #e7e2d4;
  --bg-soft: #f4f0e5;
  --surface: rgba(250, 247, 237, 0.90);
  --surface-solid: #f8f4e8;
  --surface-2: #ddd7c5;
  --text: #292b21;
  --muted: #696957;
  --border: rgba(92, 83, 50, 0.18);
  --border-strong: rgba(126, 105, 48, 0.38);
  --blue: #58783a;
  --cyan: #688d49;
  --green: #5f8748;
  --purple: #74568a;
  --gold: #97691f;
  --header-bg: rgba(239, 234, 220, 0.90);
  --shadow: 0 24px 70px rgba(59, 49, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  padding-bottom: calc(var(--footer-height) + 1rem);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 4%, rgba(115, 154, 75, 0.13), transparent 32rem),
    radial-gradient(circle at 90% 18%, rgba(215, 163, 75, 0.09), transparent 28rem),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 48%, var(--bg) 100%);
  color: var(--text);
  font-family: 'Share Tech', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

/* Desktop-only Minecraft-style cursors. Touch/mobile devices keep their native UI. */
@media (hover: hover) and (pointer: fine) {
  html,
  body,
  body * {
    cursor: url('../cursors/maincursor.cur'), auto !important;
  }

  a[href],
  a[href] *,
  button:not(:disabled),
  button:not(:disabled) *,
  summary,
  summary *,
  [role='button']:not([aria-disabled='true']),
  [role='button']:not([aria-disabled='true']) * {
    cursor: url('../cursors/link.cur'), pointer !important;
  }

  button:disabled,
  [aria-disabled='true'] {
    cursor: url('../cursors/maincursor.cur'), not-allowed !important;
  }
}

::selection {
  background: rgba(115, 154, 75, 0.32);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(135%);
}

.nav-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  image-rendering: pixelated;
}

.brand-text {
  font-family: 'Minecraft', monospace;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link,
.theme-toggle,
.mobile-menu-toggle {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: 160ms ease;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  font-family: 'Minecraft', monospace;
  font-size: 0.78rem;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current='page'] {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.theme-toggle,
.mobile-menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.theme-toggle:hover,
.mobile-menu-toggle:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.theme-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.mobile-menu-toggle {
  display: none;
}

main {
  width: 100%;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100svh - 72px));
  display: grid;
  place-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.72;
  pointer-events: none;
}

.hero::before {
  width: min(58vw, 700px);
  aspect-ratio: 1;
  left: -15%;
  top: 3%;
  background: radial-gradient(circle, rgba(115, 154, 75, 0.18), transparent 66%);
}

.hero::after {
  width: min(52vw, 620px);
  aspect-ratio: 1;
  right: -12%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(215, 163, 75, 0.12), transparent 66%);
}

.hero-inner {
  width: min(calc(100% - 2rem), 920px);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--cyan);
  font-family: 'Minecraft', monospace;
  font-size: clamp(0.68rem, 1.5vw, 0.82rem);
  letter-spacing: 0.03em;
}

.eyebrow::before {
  content: '';
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.hero-logo {
  width: min(500px, 78vw);
  max-height: min(48svh, 430px);
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.24));
}

.hero-tagline {
  margin: 0.7rem auto 0;
  font-family: 'Minecraft', monospace;
  font-size: clamp(1.2rem, 2.7vw, 1.8rem);
  line-height: 1.4;
}

.hero-copy {
  max-width: 700px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.05rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.85rem;
  background: linear-gradient(180deg, rgba(115, 154, 75, 0.22), rgba(115, 154, 75, 0.09));
  color: var(--text);
  font-family: 'Minecraft', monospace;
  font-size: 0.83rem;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(115, 154, 75, 0.32), rgba(115, 154, 75, 0.14));
}

.button.secondary {
  border-color: var(--border);
  background: var(--surface);
}

.button.discord {
  border-color: rgba(88, 101, 242, 0.58);
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.28), rgba(88, 101, 242, 0.14));
}

.microcopy {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(3.4rem, 7vw, 6.3rem) 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--cyan);
  font-family: 'Minecraft', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title,
.page-title,
.prose h2,
.prose h3 {
  font-family: 'Minecraft', monospace;
  letter-spacing: -0.02em;
}

.section-title {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.2;
}

.section-intro {
  max-width: 760px;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-card {
  position: relative;
  min-height: 240px;
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  overflow: hidden;
  background: linear-gradient(150deg, var(--surface), rgba(115, 154, 75, 0.045));
  box-shadow: var(--shadow);
}

.feature-card::after {
  content: '';
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-glow, rgba(115, 154, 75, 0.18)), transparent 65%);
  pointer-events: none;
}

.feature-card:nth-child(2) {
  --card-glow: rgba(215, 163, 75, 0.17);
}

.feature-card:nth-child(3) {
  --card-glow: rgba(146, 112, 170, 0.18);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  background: rgba(115, 154, 75, 0.10);
  font-size: 1.2rem;
}

.feature-card h3 {
  margin: 1rem 0 0.5rem;
  font-family: 'Minecraft', monospace;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.gallery-wrap {
  margin-top: 2.2rem;
}

.gallery-frame {
  position: relative;
  padding: clamp(7px, 1vw, 11px);
  border: 1px solid var(--border-strong);
  border-radius: 1.3rem;
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    linear-gradient(115deg, rgba(115, 154, 75, 0.72), rgba(215, 163, 75, 0.38), rgba(146, 112, 170, 0.52)) border-box;
  box-shadow: var(--shadow);
}

.gallery-frame::before,
.gallery-frame::after {
  content: '';
  position: absolute;
  z-index: 3;
  width: 72px;
  height: 72px;
  pointer-events: none;
}

.gallery-frame::before {
  left: -1px;
  top: -1px;
  border-left: 3px solid var(--cyan);
  border-top: 3px solid var(--cyan);
  border-radius: 1.3rem 0 0 0;
}

.gallery-frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 3px solid var(--purple);
  border-bottom: 3px solid var(--purple);
  border-radius: 0 0 1.3rem 0;
}

.slideshow {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.9rem;
  background: #05090d;
}

 .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.slide.is-leaving {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
}

/*
 * The image itself performs the camera push; the slide never moves.
 * Keeping the exact same animation on an outgoing slide lets the zoom
 * continue smoothly throughout the crossfade instead of snapping back.
 */
.slide.is-active img,
.slide.is-leaving img {
  animation: cinematic-zoom 20s linear both;
  will-change: transform;
}

@keyframes cinematic-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.22);
  }
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.gallery-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.gallery-dot:hover,
.gallery-dot:focus-visible {
  transform: scale(1.28);
  border-color: var(--cyan);
}

.gallery-dot.is-active {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 14px rgba(115, 154, 75, 0.58);
}

.split-callout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
  margin-top: 2rem;
}

.callout-panel {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: var(--surface);
}

.callout-panel h3 {
  margin: 0 0 0.6rem;
  font-family: 'Minecraft', monospace;
  font-size: 1rem;
}

.callout-panel p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2.8rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--border);
}

.page-title {
  margin: 0.4rem 0 0;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 1.08;
}

.page-lede {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.prose-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.prose {
  max-width: 860px;
}

.prose section {
  padding: 0 0 2.8rem;
}

.prose section + section {
  padding-top: 2.8rem;
  border-top: 1px solid var(--border);
}

.prose h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.3;
}

.prose h3 {
  margin: 1.7rem 0 0.6rem;
  font-size: 1rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--text);
}

.prose a:not(.button) {
  color: var(--cyan);
  text-underline-offset: 0.2em;
}

.edit-note {
  margin-bottom: 2rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--border-strong);
  border-radius: 0.9rem;
  background: rgba(115, 154, 75, 0.07);
  color: var(--muted);
}

.edit-note strong {
  color: var(--text);
}

.video-placeholder,
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.2rem 0 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(115, 154, 75, 0.10), rgba(146, 112, 170, 0.08)),
    var(--surface-solid);
}

.video-placeholder {
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

.video-placeholder span {
  font-family: 'Minecraft', monospace;
  color: var(--text);
}

.video-embed iframe,
.video-embed video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.code-hint {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: #11130e;
  color: #d9ddc7;
  font: 0.82rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
}

html[data-theme='light'] .code-hint {
  background: #eee9da;
  color: #343527;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  margin-top: 0;
  border-top: 1px solid var(--border);
  background: var(--header-bg);
  box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.footer-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 0.72rem 0 0.78rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-shell p {
  margin: 0;
  text-align: right;
  line-height: 1.35;
}

.footer-mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0;
}

.footer-mini-nav a {
  color: var(--text);
  text-decoration: none;
}

.footer-mini-nav a:hover {
  color: var(--cyan);
}

.not-found {
  min-height: calc(100svh - 72px);
  display: grid;
  place-items: center;
  padding: 4rem 1rem;
  text-align: center;
}

.not-found img {
  width: min(320px, 66vw);
  height: auto;
  max-height: min(32svh, 260px);
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.22));
}

.not-found h1 {
  margin: 1rem 0 0;
  font-family: 'Minecraft', monospace;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.not-found p {
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid rgba(164, 199, 116, 0.72);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .mobile-menu-toggle {
    display: inline-grid;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--header-bg);
    backdrop-filter: blur(18px) saturate(135%);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .nav-link {
    width: 100%;
    justify-content: center;
  }

  .theme-toggle {
    margin-left: 0.2rem;
  }

  .hero {
    min-height: auto;
    padding-top: 4.1rem;
  }

  .feature-grid,
  .split-callout {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .gallery-frame::before,
  .gallery-frame::after {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 760px) {
  .footer-shell {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.58rem 0 0.66rem;
    font-size: 0.76rem;
  }

  .footer-mini-nav {
    justify-content: center;
    gap: 0.75rem;
  }

  .footer-shell p {
    text-align: center;
    line-height: 1.3;
  }
}

@media (max-width: 520px) {
  .page-shell,
  .nav-shell,
  .footer-shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .brand-text {
    display: none;
  }

  .hero-inner {
    width: min(calc(100% - 1.1rem), 920px);
  }

  .hero-logo {
    width: min(360px, 84vw);
    max-height: 42svh;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .slideshow {
    border-radius: 0.65rem;
  }

  .gallery-frame {
    border-radius: 0.9rem;
  }

  .gallery-frame::before,
  .gallery-frame::after {
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Guide page ------------------------------------------------------------- */
.guide-prose {
  max-width: 940px;
}

.launcher-note {
  border-color: rgba(164, 199, 116, 0.40);
  background:
    linear-gradient(90deg, rgba(115, 154, 75, 0.10), rgba(215, 163, 75, 0.04)),
    var(--surface);
}

.guide-video-section {
  padding-top: 0 !important;
}

.guide-section-heading,
.guide-step {
  scroll-margin-top: 96px;
}

.guide-step-label {
  margin: 0 0 0.35rem !important;
  color: var(--cyan) !important;
  font-family: 'Minecraft', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.guide-step > h2,
.guide-section-heading h2 {
  margin-top: 0;
}

.guide-shot {
  width: 100%;
  margin: 1.5rem 0 0.45rem;
}

.guide-shot--compact {
  width: min(100%, 520px);
}

.guide-shot--portrait {
  width: min(100%, 760px);
}

.guide-shot--wide {
  width: min(100%, 940px);
}

.guide-shot a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  background: #11130e;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.20);
  text-decoration: none;
}

.guide-shot img {
  width: 100%;
  height: auto;
}

.guide-shot figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.guide-shot figcaption strong {
  color: var(--text);
}

.guide-tip,
.guide-warning,
.guide-coming-soon {
  margin: 1.3rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--surface);
  color: var(--muted);
}

.guide-tip strong,
.guide-warning strong,
.guide-coming-soon strong {
  color: var(--text);
}

.guide-warning {
  border-color: rgba(215, 163, 75, 0.43);
  background: rgba(215, 163, 75, 0.07);
}

.guide-coming-soon {
  border-style: dashed;
  border-color: var(--border-strong);
  background: rgba(115, 154, 75, 0.06);
}

.copy-code-block {
  margin: 1.25rem 0 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 0.95rem;
  background: #11130e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.copy-code-toolbar {
  min-height: 48px;
  padding: 0.45rem 0.55rem 0.45rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(205, 195, 151, 0.14);
  color: #b9b49f;
  font: 0.82rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.copy-code-button {
  min-width: 76px;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(164, 199, 116, 0.32);
  border-radius: 0.62rem;
  background: rgba(115, 154, 75, 0.13);
  color: #e9ecd9;
  cursor: pointer;
  font-family: 'Share Tech', system-ui, sans-serif;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.copy-code-button:hover {
  border-color: rgba(164, 199, 116, 0.62);
  background: rgba(115, 154, 75, 0.24);
}

.copy-code-button:active {
  transform: translateY(1px);
}

.copy-code-block pre {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
  color: #d9ddc7;
  font: 0.84rem/1.62 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.copy-code-block code {
  font: inherit;
}

.copy-code-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html[data-theme='light'] .guide-shot a,
html[data-theme='light'] .copy-code-block {
  background: #eee9da;
}

html[data-theme='light'] .copy-code-toolbar {
  color: #696957;
  border-bottom-color: rgba(92, 83, 50, 0.14);
}

html[data-theme='light'] .copy-code-button {
  border-color: rgba(88, 120, 58, 0.35);
  background: rgba(88, 120, 58, 0.10);
  color: #292b21;
}

html[data-theme='light'] .copy-code-block pre {
  color: #343527;
}

@media (max-width: 520px) {
  .guide-shot,
  .guide-shot--compact,
  .guide-shot--portrait,
  .guide-shot--wide {
    width: 100%;
  }

  .copy-code-toolbar {
    padding-left: 0.8rem;
  }

  .copy-code-block pre {
    padding: 0.85rem;
    font-size: 0.76rem;
  }
}


/* Request Access page ---------------------------------------------------- */
.access-page-hero {
  padding-bottom: clamp(2.4rem, 4vw, 3.5rem);
}

.access-shell {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.access-card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border-strong);
  border-radius: 1.15rem;
  background:
    linear-gradient(145deg, rgba(115, 154, 75, 0.07), rgba(215, 163, 75, 0.025)),
    var(--surface);
  box-shadow: var(--shadow);
}

.access-card-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.4rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.access-card-heading img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  image-rendering: pixelated;
}

.access-card-heading h2 {
  margin: 0;
  font-family: 'Minecraft', monospace;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  line-height: 1.2;
}

.access-card-heading p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.access-form {
  display: grid;
  gap: 1.35rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field label {
  color: var(--text);
  font-family: 'Minecraft', monospace;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-field input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.82rem;
  background: rgba(12, 14, 10, 0.48);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.form-field input::placeholder {
  color: color-mix(in srgb, var(--muted) 62%, transparent);
}

.form-field input:hover {
  border-color: var(--border-strong);
}

.form-field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(164, 199, 116, 0.14);
}

.form-field input[aria-invalid='true'] {
  border-color: #d77b65;
  box-shadow: 0 0 0 3px rgba(215, 123, 101, 0.12);
}

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.field-help {
  width: fit-content;
  color: var(--muted);
  font-size: 0.88rem;
}

.field-help summary {
  color: var(--cyan);
  cursor: pointer;
}

.field-help p {
  max-width: 650px;
  margin: 0.55rem 0 0;
  line-height: 1.5;
}

.access-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.access-actions {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.35rem;
}

.access-submit {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(164, 199, 116, 0.42);
  background: linear-gradient(180deg, rgba(121, 168, 91, 0.30), rgba(115, 154, 75, 0.20));
  color: var(--text);
}

.access-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.access-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.access-status {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--surface-solid);
  color: var(--muted);
  line-height: 1.45;
}

.access-status.is-success {
  border-color: rgba(121, 168, 91, 0.54);
  background: rgba(121, 168, 91, 0.10);
  color: var(--text);
}

.access-status.is-error {
  border-color: rgba(215, 123, 101, 0.48);
  background: rgba(215, 123, 101, 0.08);
  color: var(--text);
}

html[data-theme='light'] .form-field input {
  background: rgba(255, 255, 255, 0.52);
}

@media (max-width: 520px) {
  .access-card {
    border-radius: 0.9rem;
  }

  .access-card-heading {
    align-items: flex-start;
  }

  .access-card-heading img {
    width: 48px;
    height: 48px;
  }
}
