:root {
  --bg: #0b0907;
  --bg-2: #120e0a;
  --panel: #17120d;
  --panel-2: #1e1710;
  --border: #3e2d1b;
  --border-strong: #7a5a2c;
  --gold: #e2b45e;
  --gold-light: #f6dc9a;
  --gold-dark: #8a6630;
  --text: #ddd3c2;
  --muted: #9c9080;
  --unique: #d08a4a;
  --magic: #8f8fff;
  --rare: #f2e66b;
  --corrupt: #d2443a;
  --ok: #7fbf6a;

  --font-head: "Alegreya SC", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Alegreya Sans", "Segoe UI", Tahoma, sans-serif;

  --radius: 4px;
  --container: 1140px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(226, 180, 94, 0.10), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--gold-light);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.2;
  color: var(--gold-light);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.35rem;
  color: var(--gold);
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.35em;
}

li::marker {
  color: var(--gold-dark);
}

code,
kbd {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.88em;
}

code {
  background: #000;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.1em 0.4em;
  color: var(--gold-light);
  word-break: break-all;
}

kbd {
  display: inline-block;
  padding: 0.05em 0.5em;
  border: 1px solid var(--border-strong);
  border-bottom-width: 3px;
  border-radius: 4px;
  background: linear-gradient(#2a2016, #17120d);
  color: var(--gold-light);
  white-space: nowrap;
}

strong {
  color: #f0e6d4;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.muted {
  color: var(--muted);
}

.c-unique { color: var(--unique); }
.c-magic { color: var(--magic); }
.c-rare { color: var(--rare); }
.c-corrupt { color: var(--corrupt); }

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--gold);
  color: #000;
}

.skip-link:focus {
  left: 8px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(11, 9, 7, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--gold-light);
  white-space: nowrap;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo:hover {
  color: #fff;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--text);
  padding: 6px 12px;
  border-radius: var(--radius);
}

.nav a:hover {
  color: var(--gold-light);
}

.nav a[aria-current="page"] {
  color: var(--gold);
}

.nav .btn {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--gold);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
  transition: transform 0.2s, background 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
  }

  .nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav .btn {
    margin: 16px 0 0;
    border-bottom: 1px solid var(--gold-dark);
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid var(--gold-dark);
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, #5a3f1d 0%, #3a2812 100%);
  color: var(--gold-light);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px #000, 0 0 24px rgba(226, 180, 94, 0.18);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.18);
  box-shadow: 0 0 0 1px #000, 0 0 32px rgba(226, 180, 94, 0.35);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.btn-secondary:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 1rem;
}

.btn small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
}

.btn-stack {
  flex-direction: column;
  gap: 2px;
}

.btn.is-placeholder {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Ornaments ---------- */

.ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-dark);
  margin: 0 auto 18px;
  max-width: 340px;
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}

.ornament::after {
  background: linear-gradient(90deg, var(--gold-dark), transparent);
}

.ornament.left {
  margin-left: 0;
}

.ornament span {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(226, 180, 94, 0.6);
}

/* ---------- Sections ---------- */

.section {
  padding: 80px 0;
}

.section-tight {
  padding-top: 32px;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(30, 23, 16, 0.55) 15%, rgba(30, 23, 16, 0.55) 85%, transparent);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}

.page-head {
  padding: 64px 0 24px;
  text-align: center;
}

.page-head p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.15rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 56px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.3);
}

.hero h1 {
  margin-bottom: 0.4em;
}

.hero .lead {
  font-size: 1.2rem;
  color: #cfc4b2;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  list-style: none;
  padding: 0;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.hero-meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle, rgba(226, 180, 94, 0.16), transparent 65%);
  z-index: -1;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ---------- Framed screenshots ---------- */

.frame {
  position: relative;
  margin: 0;
  padding: 6px;
  background: linear-gradient(135deg, var(--gold-dark), #2a1d10 40%, #2a1d10 60%, var(--gold-dark));
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
}

.frame img {
  width: 100%;
  border-radius: 2px;
  background: #000;
}

.frame.zoomable img {
  cursor: zoom-in;
}

.frame.thumb img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}

.nowrap {
  white-space: nowrap;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(226, 180, 94, 0.6);
  z-index: 1;
}

.frame::before {
  top: -6px;
  left: calc(50% - 6px);
}

.frame::after {
  bottom: -6px;
  left: calc(50% - 6px);
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.shot {
  display: flex;
  flex-direction: column;
}

.shot-wide {
  max-width: 720px;
  margin: 48px auto 0;
}

.shot-tall {
  max-width: 400px;
  width: 100%;
  justify-self: center;
}

/* ---------- Tooltip panels (game style) ---------- */

.panel {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px #000, 0 10px 30px rgba(0, 0, 0, 0.45);
}

.panel-head {
  position: relative;
  padding: 14px 40px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--gold-light);
  background: linear-gradient(180deg, #3a2812, #1f160d);
  border-bottom: 1px solid var(--gold-dark);
}

.panel-head::before,
.panel-head::after {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.panel-head::before { left: 16px; }
.panel-head::after { right: 16px; }

.panel-body {
  padding: 22px 26px;
}

.panel-body > :last-child {
  margin-bottom: 0;
}

/* ---------- Problem / solution ---------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.duo.top {
  align-items: start;
}

@media (max-width: 800px) {
  .duo {
    grid-template-columns: 1fr;
  }
}

/* ---------- Feature cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(30, 23, 16, 0.9), rgba(18, 14, 10, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

.card h3::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(226, 180, 94, 0.5);
}

.card p {
  color: #c6bba9;
  margin: 0;
  font-size: 1rem;
}

/* ---------- Audience list ---------- */

.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
}

.audience li {
  margin: 0;
  padding: 18px 20px;
  border-left: 2px solid var(--gold-dark);
  background: rgba(0, 0, 0, 0.25);
  font-size: 1rem;
  color: #c6bba9;
}

.audience strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 4px;
}

/* ---------- Modes ---------- */

.mode {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.mode:first-of-type {
  border-top: 0;
}

.mode.reverse .mode-text {
  order: 2;
}

.mode-num {
  font-family: var(--font-head);
  color: var(--gold-dark);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mode-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.mode-tags li {
  margin: 0;
  padding: 3px 12px;
  font-size: 0.88rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.3);
}

.mode-shots {
  display: grid;
  gap: 22px;
}

.mode-shots.two {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

@media (max-width: 900px) {
  .mode {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mode.reverse .mode-text {
    order: 0;
  }
}

@media (max-width: 560px) {
  .mode-shots.two {
    grid-template-columns: 1fr;
  }
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: start;
}

.gallery.two {
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

@media (max-width: 700px) {
  .gallery.two {
    grid-template-columns: 1fr;
  }
}

/* ---------- Before / after ---------- */

.compare {
  display: grid;
  grid-template-columns: 1.15fr auto 1fr;
  gap: 22px;
  align-items: center;
}

.compare.narrow {
  max-width: 860px;
  margin: 0 auto;
}

.compare-arrow {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(226, 180, 94, 0.5);
}

@media (max-width: 800px) {
  .compare {
    grid-template-columns: 1fr;
  }

  .compare-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

/* ---------- Steps ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
}

.steps > li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 20px 24px 20px 76px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  background: #2a1d10;
  border-radius: 50%;
}

.steps h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3em;
}

.steps p:last-child,
.steps ul:last-child {
  margin-bottom: 0;
}

/* ---------- Notices ---------- */

.notice {
  position: relative;
  padding: 20px 24px 20px 60px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: rgba(58, 40, 18, 0.35);
}

.notice::before {
  content: "!";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #000;
  background: var(--gold);
  border-radius: 50%;
}

.notice.info::before {
  content: "i";
}

.notice > :last-child {
  margin-bottom: 0;
}

.notice + .notice {
  margin-top: 16px;
}

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

th {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--gold);
  background: #1f160d;
  font-size: 1.05rem;
}

tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  color: #f0e6d4;
  width: 32%;
}

tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

/* ---------- Check list ---------- */

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

.checklist.no li::before {
  background: transparent;
  border: 1px solid var(--corrupt);
}

/* ---------- Download ---------- */

.downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

@media (max-width: 800px) {
  .downloads {
    grid-template-columns: 1fr;
  }
}

.download-card .panel-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: calc(100% - 56px);
}

.download-card .btn {
  margin-top: auto;
}

.file-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.file-meta li {
  margin-bottom: 4px;
}

.hash {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
}

.version-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.9rem;
  border: 1px solid var(--gold-dark);
  border-radius: 999px;
  color: var(--gold);
}

.support-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 30px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 0% 50%, rgba(226, 180, 94, 0.12), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}

.support-band h3 {
  margin-bottom: 0.3em;
}

.support-band p {
  margin: 0;
  color: #c6bba9;
  font-size: 1rem;
}

.merch {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--gold-light);
}

.merch-left {
  justify-content: flex-start;
  margin-top: 24px;
}

.merch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.merch-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.15s, color 0.15s;
}

.merch-link:hover {
  color: #fff;
  border-color: var(--gold);
}

.merch-link img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

@media (max-width: 800px) {
  .support-band {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.faq details[open] {
  border-color: var(--border-strong);
  background: rgba(30, 23, 16, 0.6);
}

.faq summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--gold-light);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: calc(50% - 6px);
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: calc(50% - 2px);
}

.faq .answer {
  padding: 0 22px 18px;
  color: #cfc4b2;
}

.faq .answer > :last-child {
  margin-bottom: 0;
}

.faq-group-title {
  max-width: 860px;
  margin: 48px auto 18px;
}

.faq-group-title:first-child {
  margin-top: 0;
}

/* ---------- CTA ---------- */

.cta {
  text-align: center;
  padding: 64px 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(226, 180, 94, 0.16), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}

.cta img {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
}

.cta p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

.cta .btn-row {
  justify-content: center;
}

/* ---------- Prose pages ---------- */

.prose {
  max-width: 860px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 1.8em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.5em;
}

.quote {
  margin: 1.4em 0;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  background: rgba(0, 0, 0, 0.3);
  color: #e6dccb;
}

.quote > :last-child {
  margin-bottom: 0;
}

.en {
  font-style: italic;
  color: var(--muted);
}

/* ---------- Contacts ---------- */

.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  transition: border-color 0.2s;
}

.contact:hover {
  border-color: var(--gold);
  color: var(--text);
}

.contact strong {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--gold-light);
}

.contact span {
  font-size: 0.95rem;
  color: var(--muted);
}

.contact.is-placeholder {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 40px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: #080605;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid a {
  color: var(--text);
}

.footer-grid a:hover {
  color: var(--gold-light);
}

.footer-legal {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.footer-legal p {
  margin-bottom: 0.5em;
}

.footer-legal .disclaimer {
  color: var(--text);
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border: 1px solid var(--gold-dark);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

/* ---------- Utilities ---------- */

.center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }

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

  .section {
    padding: 56px 0;
  }

  .container {
    padding: 0 18px;
  }

  .panel-body {
    padding: 18px;
  }

  .steps > li {
    padding: 18px 18px 18px 66px;
  }

  .steps > li::before {
    left: 16px;
  }

  th,
  td {
    padding: 12px;
  }
}

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

  * {
    transition: none !important;
  }
}
