:root {
  --ink-980: #0a0907;
  --ink-950: #100e0b;
  --ink-925: #17130f;
  --ink-900: #1c1813;
  --ink-880: #221f18;
  --stone-820: #2a251f;
  --stone-780: #342d25;
  --stone-740: #3f372d;
  --stone-700: #4a4135;
  --line-soft: rgba(203, 177, 116, 0.16);
  --line-strong: rgba(213, 186, 129, 0.34);
  --text-strong: #f3ede0;
  --text-main: #ddd6c6;
  --text-muted: #a99f8d;
  --gold-300: #f0d8a7;
  --gold-400: #debd7a;
  --gold-500: #ba9250;
  --gold-700: #6b5128;
  --leaf-300: #bde9ab;
  --leaf-400: #87cf74;
  --leaf-500: #4e8f45;
  --sky-300: #b8d3ff;
  --sky-400: #7ea8ef;
  --ember-400: #d27f67;
  --panel-bg:
    linear-gradient(145deg, rgba(255, 235, 197, 0.03), rgba(255, 235, 197, 0) 38%),
    linear-gradient(180deg, rgba(56, 46, 35, 0.9), rgba(19, 21, 18, 0.96));
  --panel-bg-strong:
    linear-gradient(145deg, rgba(255, 233, 191, 0.05), rgba(255, 233, 191, 0) 42%),
    linear-gradient(180deg, rgba(65, 52, 38, 0.94), rgba(20, 22, 18, 0.99));
  --panel-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --panel-edge: inset 0 1px 0 rgba(255, 243, 215, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.44);
  --premium-focus: rgba(222, 189, 122, 0.28);
  --premium-lift: 0 28px 70px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;

}

* {
  box-sizing: border-box;

}

html {
  scroll-behavior: smooth;

}

[data-toc-section] {
  scroll-margin-top: 176px;

}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--text-main);
  font-family: "Barlow", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% -4%, rgba(186, 146, 80, 0.22), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(91, 126, 70, 0.18), transparent 24%),
    radial-gradient(circle at 52% 18%, rgba(164, 130, 81, 0.08), transparent 22%),
    linear-gradient(180deg, #0f0c09 0%, #15110d 20%, #161612 54%, #101719 100%);
  position: relative;

}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

}

body::before {
  opacity: 0.24;
  background:
    linear-gradient(45deg, rgba(255, 244, 214, 0.016) 25%, transparent 25%, transparent 50%, rgba(255, 244, 214, 0.016) 50%, rgba(255, 244, 214, 0.016) 75%, transparent 75%, transparent),
    linear-gradient(-45deg, rgba(255, 244, 214, 0.012) 25%, transparent 25%, transparent 50%, rgba(255, 244, 214, 0.012) 50%, rgba(255, 244, 214, 0.012) 75%, transparent 75%, transparent);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 92%);

}

body::after {
  opacity: 0.22;
  background:
    linear-gradient(130deg, transparent 0%, rgba(255, 214, 138, 0.08) 46%, transparent 100%),
    linear-gradient(310deg, transparent 0%, rgba(95, 137, 97, 0.08) 38%, transparent 100%),
    radial-gradient(circle at 50% 120%, rgba(183, 142, 84, 0.12), transparent 35%);

}

::selection {
  background: rgba(222, 189, 122, 0.28);
  color: var(--text-strong);

}

a {
  color: inherit;
  text-decoration: none;

}

a:hover {
  color: var(--text-strong);

}

img {
  max-width: 100%;
  display: block;

}

button,
input,
textarea,
select {
  font: inherit;

}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(208, 178, 116, 0.2);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text-strong);
  background: rgba(23, 20, 16, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 239, 205, 0.04);

}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(222, 189, 122, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 205, 0.04),
    0 0 0 3px rgba(222, 189, 122, 0.12);

}

main {
  padding-bottom: 72px;

}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;

}

.container--hero {
  width: min(calc(100% - 24px), 1480px);

}

.section {
  position: relative;
  padding: 72px 0;

}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;

}

.section-head > div:first-child {
  display: grid;
  gap: 10px;

}

.section-head::after {
  content: "";
  flex: 1 1 auto;
  min-width: 120px;
  height: 1px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, rgba(240, 216, 167, 0.22), rgba(240, 216, 167, 0));
  opacity: 0.7;

}

.section-head h2,
.section-head h3 {
  margin-bottom: 8px;

}

.section-head p {
  margin: 0;
  max-width: 62ch;
  color: var(--text-muted);

}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);

}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 216, 167, 0), rgba(240, 216, 167, 0.84));

}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--text-strong);
  font-family: "Cinzel", Georgia, serif;
  line-height: 1.08;
  font-weight: 500;

}

h1 {
  font-size: clamp(2.45rem, 4.2vw, 4.15rem);
  letter-spacing: 0.01em;

}

h2 {
  font-size: clamp(1.75rem, 2.65vw, 2.45rem);

}

h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.42rem);

}

p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.68;

}

.small-note {
  color: var(--text-muted);
  font-size: 0.95rem;

}

.asset-load-error {
  opacity: 0.38;
  filter: grayscale(1);

}

.asset-load-error-note {
  margin-top: 6px;
  color: #d1b17f;
  font-size: 0.72rem;
  line-height: 1.2;

}

.lead {
  color: var(--text-main);
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  max-width: 58ch;

}

.surface {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 244, 215, 0.025), rgba(255, 244, 215, 0) 34%),
    var(--panel-bg);
  box-shadow: var(--panel-edge), var(--panel-shadow);
  backdrop-filter: blur(10px);

}

.surface-strong {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 244, 215, 0.032), rgba(255, 244, 215, 0) 34%),
    var(--panel-bg-strong);
  box-shadow:
    var(--panel-edge),
    0 1px 0 rgba(255, 244, 215, 0.04),
    var(--premium-lift);

}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(197, 170, 112, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 239, 200, 0.025), transparent 44%),
    linear-gradient(180deg, rgba(16, 13, 10, 0.96), rgba(16, 13, 10, 0.84));
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;

}

.site-header.is-scrolled {
  border-color: rgba(197, 170, 112, 0.22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);

}

.page-toc__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(22, 19, 15, 0.2);
  color: var(--text-muted);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;

}

.page-toc__link:hover,
.page-toc__link:focus-visible {
  color: var(--text-strong);
  border-color: rgba(222, 189, 122, 0.16);
  background: rgba(45, 37, 28, 0.46);

}

.page-toc__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(222, 189, 122, 0.12);

}

.page-toc__label {
  position: static;
  min-height: 0;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  white-space: normal;
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: color 180ms ease;

}

.page-toc__link.is-active {
  color: var(--text-strong);
  border-color: rgba(222, 189, 122, 0.28);
  background: linear-gradient(180deg, rgba(62, 50, 37, 0.74), rgba(24, 24, 19, 0.52));
  box-shadow: inset 0 1px 0 rgba(255, 241, 208, 0.05), 0 0 0 1px rgba(222, 189, 122, 0.08);

}

.page-toc__link.is-active .page-toc__label {
  color: var(--gold-300);

}

.page-toc__link.is-ancestor {
  border-color: rgba(222, 189, 122, 0.12);
  background: rgba(45, 37, 28, 0.28);

}

.page-toc__link.is-ancestor .page-toc__label {
  color: var(--text-main);

}

.nav-wrap {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;

}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;

}

.brand-mark {
  width: 64px;
  height: 64px;
  display: inline-block;
  flex: 0 0 auto;
  background: center / contain no-repeat url("/assets/img/tibianexus-logo.webp");
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));

}

.brand-mark::after {
  display: none;

}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--text-strong);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.03em;

}

.brand-sub {
  color: var(--gold-400);

}

.nav-toggle {
  display: none;
  border: 1px solid rgba(198, 170, 108, 0.24);
  border-radius: 14px;
  padding: 10px 16px;
  background: rgba(25, 31, 37, 0.94);
  color: var(--text-strong);

}

.site-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;

}

.site-nav a {
  padding: 11px 14px;
  border-radius: 14px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;

}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text-strong);
  border-color: rgba(204, 175, 111, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 236, 194, 0.045), rgba(255, 236, 194, 0)),
    rgba(40, 50, 57, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 241, 208, 0.05);

}

.site-nav a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 208, 0.06),
    0 0 0 3px var(--premium-focus);

}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(216, 192, 141, 0.18);
  color: var(--text-strong);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 208, 0.06),
    0 14px 30px rgba(0, 0, 0, 0.2);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease,
    background 180ms ease;

}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 208, 0.1),
    0 18px 38px rgba(0, 0, 0, 0.26);

}

.btn:disabled {
  opacity: 0.56;
  pointer-events: none;
  filter: saturate(0.7);

}

.btn:disabled:hover {
  transform: none;
  filter: saturate(0.7);

}

.btn-primary {
  border-color: rgba(218, 190, 129, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 242, 204, 0.16), rgba(255, 242, 204, 0) 42%),
    linear-gradient(180deg, #735b34 0%, #4f371d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 192, 0.22),
    0 14px 30px rgba(86, 59, 18, 0.3);

}

.btn-cta {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-height: 52px;
  padding-top: 9px;
  padding-bottom: 8px;
  text-align: center;

}

.btn-cta__main {
  line-height: 1.02;

}

.btn-cta__sub {
  color: rgba(243, 237, 224, 0.8);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;

}

.btn-secondary {
  border-color: rgba(135, 207, 116, 0.36);
  background:
    linear-gradient(180deg, rgba(225, 255, 218, 0.12), rgba(225, 255, 218, 0) 44%),
    linear-gradient(180deg, #34563d 0%, #213729 100%);
  box-shadow:
    inset 0 1px 0 rgba(225, 255, 218, 0.16),
    0 14px 30px rgba(20, 44, 25, 0.26);

}

.btn-danger {
  border-color: rgba(226, 120, 102, 0.44);
  background:
    linear-gradient(180deg, rgba(255, 214, 208, 0.12), rgba(255, 214, 208, 0) 44%),
    linear-gradient(180deg, #6c352f 0%, #3d201e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 214, 0.14),
    0 14px 30px rgba(61, 24, 20, 0.28);

}

.btn-ghost {
  border-color: rgba(189, 203, 223, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(27, 35, 40, 0.88);

}

.btn.disabled,
.btn[aria-disabled="true"] {
  opacity: 0.56;
  pointer-events: none;

}

.section--tight {
  padding-top: 40px;

}

.card-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;

}

.inline-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;

}

.inline-list div {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(200, 172, 116, 0.12);
  background: rgba(18, 24, 29, 0.72);

}

.inline-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-strong);

}

.site-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;

}

.form-field {
  display: grid;
  gap: 8px;
  color: var(--text-main);

}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-main);

}

.form-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--gold-400);

}

.form-note,
.form-status {
  margin-top: 14px;

}

.form-status.is-error {
  color: #f3a7a7;

}

.form-status.is-success {
  color: var(--leaf-300);

}

.form-status.is-info {
  color: var(--gold-300);

}

.text-link {
  color: var(--gold-300);
  text-decoration: underline;
  text-decoration-color: rgba(240, 216, 167, 0.42);
  text-underline-offset: 0.18em;

}

.text-link:hover {
  color: var(--text-strong);
  text-decoration-color: rgba(243, 237, 224, 0.5);

}

.site-footer {
  border-top: 1px solid rgba(205, 177, 119, 0.1);
  background: linear-gradient(180deg, rgba(8, 11, 13, 0.2), rgba(8, 11, 13, 0.8));

}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 110px;

}

.footer-copy {
  display: grid;
  gap: 6px;

}

.footer-disclaimer {
  max-width: 46ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;

}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

}

.footer-links a {
  color: var(--text-muted);
  padding: 10px 12px;
  border-radius: 999px;

}

.footer-links a:hover {
  background: rgba(31, 40, 46, 0.76);

}

.has-motion .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;

}

.has-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);

}

@media (min-width: 1366px) {
:root {
    --container: 1240px;

}

.section {
    padding-block: 84px;

}
}

@media (max-width: 1120px) {
.page-toc__link {
    min-height: 36px;
    padding: 0 12px;

}

.page-toc__label {
    font-size: 0.78rem;

}

.section-head::after {
    display: none;

}
}

@media (max-width: 960px) {
.page-toc__link {
    min-height: 36px;
    padding: 0 12px;

}

.page-toc__label {
    font-size: 0.76rem;
    letter-spacing: 0.08em;

}

[data-toc-section] {
    scroll-margin-top: 168px;

}

.nav-wrap {
    grid-template-columns: auto 1fr auto;

}

.nav-toggle {
    display: inline-flex;
    justify-self: end;

}

.site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding-bottom: 10px;

}

.site-nav.is-open {
    display: flex;

}

.site-header .btn-cta {
    display: none;

}
}

@media (max-width: 760px) {
.section {
    padding: 56px 0;

}

.page-toc__link {
    min-height: 34px;
    padding: 0 11px;

}

.page-toc__label {
    font-size: 0.74rem;
    letter-spacing: 0.06em;

}

.section-head {
    flex-direction: column;
    align-items: flex-start;

}
}

@media (max-width: 560px) {
.page-toc__link {
    min-height: 34px;
    padding: 7px 8px;

}

.page-toc__marker {
    display: none;

}

.container {
    width: min(calc(100% - 24px), var(--container));

}

.footer-links {
    gap: 10px;

}

.btn {
    width: 100%;

}
}

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

}

.has-motion .reveal {
    opacity: 1;
    transform: none;
    transition: none;

}

.btn,
.site-header {
    transition: none;

}
}
