:root {
  color-scheme: dark;
  --ink: #090807;
  --ink-soft: #11100e;
  --panel: #171512;
  --paper: #ece7dc;
  --paper-strong: #f8f5ed;
  --muted: #aaa398;
  --line: rgba(255, 255, 255, 0.12);
  --red: #b62525;
  --red-bright: #df3b2f;
  --gold: #c9a465;
  --gold-soft: #ecd298;
  --green: #72c190;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, Helvetica, sans-serif;
  --container: min(1180px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--red);
  color: white;
}

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

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

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--paper-strong);
  color: var(--ink);
  transition: transform 180ms ease;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 120px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.25em;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin: 0;
  color: #1c1813;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 22px 0 0;
  color: #6e675e;
  font-size: 1.05rem;
}

.section-heading-light h2 {
  color: var(--paper-strong);
}

.section-heading-light > p:last-child {
  color: var(--muted);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(5, 5, 4, 0.92), rgba(5, 5, 4, 0.58));
  backdrop-filter: blur(14px);
  transition: height 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(8, 7, 6, 0.94);
}

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

.brand img {
  width: 116px;
  height: auto;
}

.brand > span {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--gold-soft);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.29em;
}

.main-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  position: relative;
  color: #d5d0c6;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.main-nav a:not(.nav-download)::after {
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 1px;
  background: var(--red-bright);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover {
  color: white;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-download {
  padding: 11px 20px;
  border: 1px solid rgba(236, 210, 152, 0.48);
  color: var(--gold-soft) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: white;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 900px;
  align-items: center;
  isolation: isolate;
  background-image: url("/assets/images/hero-bg.jpg");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.94) 0%, rgba(8, 6, 5, 0.72) 38%, rgba(8, 6, 5, 0.08) 72%),
    linear-gradient(0deg, var(--ink) 0%, transparent 23%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -60px;
  bottom: 18px;
  width: min(58vw, 820px);
  height: min(62vw, 820px);
  background: url("/assets/images/hero-characters.png") right bottom / contain no-repeat;
  content: "";
  filter: drop-shadow(-20px 20px 50px rgba(0, 0, 0, 0.45));
  opacity: 0.77;
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255, 255, 255, 0.025) 25%);
  mask-image: linear-gradient(90deg, black, transparent 78%);
}

.hero-grid {
  display: grid;
  align-items: end;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) 280px;
  padding-top: 90px;
}

.hero-copy {
  max-width: 760px;
}

.server-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 4, 0.46);
  color: #d7d2c9;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9f998f;
  box-shadow: 0 0 0 4px rgba(159, 153, 143, 0.12);
}

.server-state.is-online .state-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(114, 193, 144, 0.14), 0 0 14px rgba(114, 193, 144, 0.65);
}

.server-state.is-offline .state-dot {
  background: var(--red-bright);
}

.hero h1 {
  margin: 0;
  color: var(--paper-strong);
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7vw, 7.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.93;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 210, 152, 0.9);
}

.hero-lead {
  max-width: 600px;
  margin: 30px 0 0;
  color: #c7c0b5;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 25px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--red-bright), #851515);
  color: white;
  box-shadow: 0 14px 34px rgba(145, 18, 18, 0.24);
}

.button-primary:hover {
  background: linear-gradient(135deg, #ec4638, #a41e1e);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(8, 7, 6, 0.32);
  color: white;
}

.button-ghost:hover {
  border-color: var(--gold-soft);
  background: rgba(8, 7, 6, 0.6);
}

.realm-card {
  position: relative;
  margin-bottom: 36px;
  padding: 30px;
  border: 1px solid rgba(236, 210, 152, 0.25);
  background: rgba(10, 9, 8, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.realm-card::before,
.realm-card::after {
  position: absolute;
  width: 28px;
  height: 28px;
  content: "";
}

.realm-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.realm-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.realm-kicker,
.download-body > span,
.card-heading > span {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.realm-card > strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.realm-card dl {
  margin: 24px 0;
}

.realm-card dl div,
.download-body dl div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}

.realm-card dt,
.download-body dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.realm-card dd,
.download-body dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.realm-card > a {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  display: grid;
  width: 28px;
  height: 46px;
  place-items: start center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 3px;
  height: 8px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--gold-soft);
  animation: scroll-cue 1.8s ease infinite;
}

@keyframes scroll-cue {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(16px); opacity: 1; }
}

.world,
.guides,
.faq {
  background: var(--paper);
  color: #28231e;
}

.world::before,
.guides::before,
.faq::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(66, 52, 36, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 52, 36, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

.world-metrics {
  display: grid;
  margin: 40px 0 58px;
  border-top: 1px solid rgba(45, 37, 28, 0.16);
  border-bottom: 1px solid rgba(45, 37, 28, 0.16);
  grid-template-columns: repeat(3, 1fr);
}

.world-metrics article {
  display: flex;
  align-items: baseline;
  gap: 13px;
  padding: 28px 36px;
  border-right: 1px solid rgba(45, 37, 28, 0.16);
}

.world-metrics article:first-child {
  padding-left: 0;
}

.world-metrics article:last-child {
  border-right: 0;
}

.world-metrics strong {
  color: var(--red);
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 400;
}

.world-metrics span {
  color: #6f675e;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 18px 46px rgba(54, 40, 25, 0.16);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
  transform: scale(1.01);
  transition: filter 500ms ease, transform 700ms ease;
}

.feature-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 6, 5, 0.97), rgba(7, 6, 5, 0.04) 70%);
  content: "";
}

.feature-card > div {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px;
}

.feature-card span {
  color: var(--gold);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.feature-card h3 {
  margin: 7px 0 9px;
  color: white;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.feature-card p {
  margin: 0;
  color: #aaa49b;
  font-size: 0.87rem;
}

.feature-card:hover img {
  filter: saturate(1) contrast(1.05);
  transform: scale(1.08);
}

.classes {
  min-height: 920px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 50%, rgba(126, 23, 20, 0.24), transparent 32%),
    linear-gradient(130deg, #13100e, #070706 70%);
}

.classes::before {
  position: absolute;
  right: -20vw;
  bottom: -56vw;
  width: 96vw;
  height: 96vw;
  border: 1px solid rgba(201, 164, 101, 0.09);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 80px rgba(201, 164, 101, 0.02),
    0 0 0 160px rgba(201, 164, 101, 0.015);
}

.classes-noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(135deg, transparent 0 7px, rgba(255,255,255,.025) 7px 8px);
}

.class-tabs {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.class-tabs button {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: #8f8980;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  transition: color 180ms ease, border 180ms ease, background 180ms ease;
}

.class-tabs button:hover,
.class-tabs button[aria-selected="true"] {
  border-color: rgba(201, 164, 101, 0.7);
  background: rgba(201, 164, 101, 0.09);
  color: var(--gold-soft);
}

.class-stage {
  position: relative;
  display: grid;
  min-height: 570px;
  align-items: center;
  grid-template-columns: 0.84fr 1.16fr;
}

.class-copy {
  position: relative;
  z-index: 3;
  max-width: 480px;
  padding-top: 56px;
}

.class-number {
  margin: 0 0 9px;
  color: var(--red-bright);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.class-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.class-role {
  margin: 20px 0 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.class-description {
  max-width: 440px;
  margin: 20px 0 0;
  color: #aaa49b;
}

.class-signature {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 34px;
  padding: 15px 0 15px 18px;
  border-left: 2px solid var(--red);
}

.class-signature span {
  color: #777168;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.class-signature strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.class-art {
  position: absolute;
  z-index: 1;
  right: -50px;
  bottom: -120px;
  display: grid;
  width: 66%;
  height: 760px;
  place-items: end center;
  pointer-events: none;
}

.class-art::after {
  position: absolute;
  right: 8%;
  bottom: 80px;
  left: 8%;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  content: "";
  filter: blur(20px);
}

.class-art img {
  position: relative;
  z-index: 2;
  max-width: min(100%, 740px);
  max-height: 750px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(-30px 16px 40px rgba(0, 0, 0, 0.65));
  animation: class-in 420ms ease both;
}

.class-sigil {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(201, 164, 101, 0.13);
  border-radius: 50%;
  transform: translateX(-50%);
}

.class-sigil::before,
.class-sigil::after {
  position: absolute;
  inset: 38px;
  border: 1px dashed rgba(201, 164, 101, 0.12);
  border-radius: inherit;
  content: "";
}

.class-sigil::after {
  inset: 100px;
  border-style: solid;
}

@keyframes class-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.guides {
  padding-bottom: 140px;
}

.start-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, 1fr);
}

.start-steps li {
  display: grid;
  min-height: 230px;
  padding: 30px 36px;
  border-top: 1px solid rgba(45, 37, 28, 0.18);
  border-right: 1px solid rgba(45, 37, 28, 0.18);
  grid-template-columns: 42px 1fr;
  gap: 20px;
}

.start-steps li:last-child {
  border-right: 0;
}

.start-steps li > span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.start-steps h3 {
  margin: 0 0 11px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.start-steps p {
  margin: 0;
  color: #6f675e;
  font-size: 0.9rem;
}

.guide-panels {
  display: grid;
  gap: 1px;
  margin-top: 48px;
  background: rgba(45, 37, 28, 0.16);
  grid-template-columns: repeat(3, 1fr);
}

.guide-detail {
  background: #f7f3e9;
}

.guide-detail summary,
.faq-item summary {
  position: relative;
  padding: 24px 54px 24px 25px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
}

.guide-detail summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker,
.checksum summary::-webkit-details-marker {
  display: none;
}

.guide-detail summary::after,
.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--red);
  content: "+";
  font-family: var(--sans);
  font-weight: 400;
  transform: translateY(-50%);
}

.guide-detail[open] summary::after,
.faq-item[open] summary::after {
  content: "−";
}

.guide-detail > div {
  padding: 0 25px 25px;
  color: #6d665d;
  font-size: 0.88rem;
}

.guide-detail p {
  margin-top: 0;
}

.guide-detail ul {
  padding-left: 18px;
}

.join {
  overflow: hidden;
  background: #0c0b09;
}

.join-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.95), rgba(9, 8, 7, 0.72)),
    url("/assets/images/hero-bg.jpg") center / cover;
  filter: grayscale(0.4);
  opacity: 0.42;
}

.join-grid {
  position: relative;
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr 1fr;
}

.register-card,
.download-card {
  min-height: 650px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 16, 14, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.register-card {
  padding: 46px;
}

.card-heading h3,
.download-body h3 {
  margin: 6px 0 8px;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.1;
}

.card-heading p,
.download-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.register-form {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.register-form label > span:first-child {
  display: block;
  margin-bottom: 7px;
  color: #d9d4cb;
  font-size: 0.76rem;
  font-weight: 700;
}

.register-form input[type="text"],
.register-form input[type="password"] {
  width: 100%;
  height: 51px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.24);
  color: white;
  transition: border-color 180ms ease, background 180ms ease;
}

.register-form input:hover,
.register-form input:focus {
  border-color: rgba(201, 164, 101, 0.68);
  background: rgba(0, 0, 0, 0.36);
  outline: none;
}

.register-form input[aria-invalid="true"] {
  border-color: var(--red-bright);
}

.register-form small {
  display: block;
  margin-top: 5px;
  color: #777168;
  font-size: 0.7rem;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 82px !important;
}

.password-field button {
  position: absolute;
  top: 0;
  right: 0;
  height: 51px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--gold-soft);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.check-field {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: #918b82;
  cursor: pointer;
  font-size: 0.76rem;
}

.check-field input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: var(--red);
}

.check-field span {
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-button {
  width: 100%;
  margin-top: 2px;
}

.google-register-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 51px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #f7f7f5;
  color: #24211e;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.google-register-button:hover,
.google-register-button:focus-visible {
  background: #fff;
  outline: 2px solid rgba(201, 164, 101, 0.75);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.google-register-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.google-transfer-start {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--gold-soft);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.google-transfer-start:hover,
.google-transfer-start:focus-visible {
  color: #fff3d7;
  outline: 0;
}

.google-transfer-start:disabled {
  cursor: wait;
  opacity: 0.72;
}

.google-register-icon {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 220deg, #34a853 0 25%, #fbbc05 0 47%, #ea4335 0 70%, #4285f4 0);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.register-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #777168;
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.register-divider::before,
.register-divider::after {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.google-transfer-form {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.google-transfer-form[hidden] {
  display: none;
}

.transfer-heading h4 {
  margin: 4px 0 8px;
  color: #fff5e6;
  font-family: var(--font-display);
  font-size: 1.32rem;
}

.transfer-heading p {
  margin: 0 0 18px;
  color: #a69f95;
  font-size: 0.78rem;
  line-height: 1.5;
}

.transfer-heading > span {
  color: var(--gold-soft);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.submit-button:disabled {
  cursor: wait;
  filter: grayscale(0.6);
  opacity: 0.72;
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-size: 0.8rem;
}

.form-message.is-error {
  color: #ef8e85;
}

.form-message.is-success {
  padding: 11px 13px;
  border: 1px solid rgba(114, 193, 144, 0.3);
  background: rgba(114, 193, 144, 0.08);
  color: #9bd6b1;
}

.download-card {
  display: grid;
  overflow: hidden;
  grid-template-rows: 250px 1fr;
}

.download-visual {
  position: relative;
  overflow: hidden;
}

.download-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.1);
}

.download-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #171512, transparent 65%);
  content: "";
}

.download-visual > span {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.45);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.download-body {
  padding: 36px 44px 40px;
}

.download-body dl {
  margin: 24px 0;
}

.button-download {
  width: 100%;
  border-color: var(--gold);
  background: var(--gold);
  color: #18120b;
}

.button-download:hover {
  background: var(--gold-soft);
}

.button-download span {
  font-size: 1.25rem;
}

.checksum {
  margin-top: 18px;
  color: #777168;
  font-size: 0.68rem;
}

.checksum summary {
  cursor: pointer;
}

.checksum code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 8px;
  color: #aaa49b;
  font-size: 0.62rem;
  line-height: 1.5;
}

.faq {
  padding: 100px 0 120px;
}

.faq-grid {
  position: relative;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.7fr 1.3fr;
}

.faq-grid .section-heading {
  margin-bottom: 0;
}

.faq-item {
  border-top: 1px solid rgba(45, 37, 28, 0.18);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(45, 37, 28, 0.18);
}

.faq-item p {
  margin: -4px 0 25px;
  padding: 0 54px 0 25px;
  color: #6f675e;
  font-size: 0.9rem;
}

.site-footer {
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #070706;
}

.footer-grid {
  display: grid;
  align-items: center;
  gap: 36px;
  grid-template-columns: auto 1fr auto;
}

.brand-footer img {
  width: 94px;
}

.footer-grid p {
  max-width: 600px;
  margin: 0;
  color: #777168;
  font-size: 0.74rem;
}

.footer-grid > span {
  color: #635e57;
  font-size: 0.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-delay {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

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

@media (max-width: 980px) {
  :root {
    --container: min(100% - 36px, 760px);
  }

  .site-header {
    padding-inline: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    height: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    background: rgba(8, 7, 6, 0.98);
    gap: 0;
    transition: max-height 260ms ease, padding 260ms ease;
  }

  .main-nav.is-open {
    max-height: 460px;
    padding-block: 14px 24px;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-download {
    margin-top: 10px;
    text-align: center;
  }

  .hero {
    min-height: 820px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5, 4, 3, 0.94), rgba(8, 6, 5, 0.36)),
      linear-gradient(0deg, var(--ink), transparent 35%);
  }

  .hero::after {
    right: -18%;
    width: 85vw;
    height: 80vw;
    opacity: 0.44;
  }

  .hero-grid {
    display: block;
  }

  .realm-card {
    display: none;
  }

  .feature-grid,
  .start-steps,
  .guide-panels {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 420px;
  }

  .start-steps li,
  .start-steps li:last-child {
    min-height: 0;
    border-right: 0;
  }

  .guide-panels {
    gap: 1px;
  }

  .class-stage {
    min-height: 760px;
    grid-template-columns: 1fr;
  }

  .class-art {
    right: -10%;
    bottom: -140px;
    width: 90%;
    height: 680px;
    opacity: 0.7;
  }

  .class-copy {
    align-self: start;
  }

  .class-description {
    max-width: 380px;
  }

  .join-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .register-card,
  .download-card {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 28px);
  }

  .section {
    padding: 82px 0;
  }

  .brand img {
    width: 94px;
  }

  .brand > span {
    display: none;
  }

  .hero {
    min-height: 760px;
    background-position: 62% center;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5.3rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .world-metrics {
    grid-template-columns: 1fr;
  }

  .world-metrics article,
  .world-metrics article:first-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(45, 37, 28, 0.12);
  }

  .world-metrics article:last-child {
    border-bottom: 0;
  }

  .feature-card {
    min-height: 390px;
  }

  .feature-card > div {
    padding: 26px;
  }

  .classes {
    padding-bottom: 0;
  }

  .class-stage {
    min-height: 720px;
  }

  .class-copy h3 {
    font-size: 3.6rem;
  }

  .class-art {
    right: -40%;
    bottom: -130px;
    width: 140%;
    opacity: 0.58;
  }

  .class-sigil {
    width: 300px;
    height: 300px;
  }

  .start-steps li {
    padding-inline: 8px;
  }

  .register-card {
    padding: 30px 22px;
  }

  .download-body {
    padding: 30px 22px;
  }

  .card-heading h3,
  .download-body h3 {
    font-size: 2rem;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
