@font-face {
  font-family: "ss geo bro regular";
  src: local("ss geo bro regular"), local("SS Geo Bro");
  font-display: swap;
}

:root {
  --font-primary: "ss geo bro regular", Georgia, serif, system-ui;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --navy: #0a0944;
  --ivory: #fffae9;
  --gold: #b3864b;
  --gold-light: #d6b27b;
  --charisma: #c9755d;
  --intellect: #7196bb;
  --vitality: #6c9b76;
  --culture: #a27db4;
  --radius: 4px;
  --header-height: 76px;
  --container: 1240px;
  color-scheme: dark;
}

html[data-theme="dark"] {
  --bg: #0a0944;
  --bg-elevated: #111051;
  --bg-soft: #15145b;
  --text: #fffae9;
  --text-muted: rgba(255, 250, 233, 0.65);
  --text-faint: rgba(255, 250, 233, 0.42);
  --line: rgba(255, 250, 233, 0.16);
  --line-strong: rgba(179, 134, 75, 0.48);
  --grid: rgba(255, 250, 233, 0.07);
  --header-bg: rgba(10, 9, 68, 0.82);
  --button-text: #0a0944;
  --selection: rgba(179, 134, 75, 0.38);
  --map-bg: #0d0c49;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #fffae9;
  --bg-elevated: #fffdf5;
  --bg-soft: #f4ecd8;
  --text: #0a0944;
  --text-muted: rgba(10, 9, 68, 0.7);
  --text-faint: rgba(10, 9, 68, 0.46);
  --line: rgba(10, 9, 68, 0.16);
  --line-strong: rgba(179, 134, 75, 0.62);
  --grid: rgba(10, 9, 68, 0.07);
  --header-bg: rgba(255, 250, 233, 0.82);
  --button-text: #fffae9;
  --selection: rgba(179, 134, 75, 0.26);
  --map-bg: #f7f0dc;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 240ms ease,
    color 240ms ease;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--selection);
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
blockquote {
  margin-top: 0;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--navy);
  transition: transform 180ms ease;
}

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

.section-grid {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
}

.section {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(50px, 9vw, 140px);
  align-items: end;
  margin-bottom: 64px;
}

.section-heading.compact {
  grid-template-columns: 0.8fr;
}

.section-index,
.card-label,
.console-kicker,
.pricing-season {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading > p {
  max-width: 510px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition:
    border-color 180ms ease,
    background 240ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-shell {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  width: min(calc(100% - 48px), var(--container));
  height: var(--header-height);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  width: 132px;
  overflow: hidden;
  border-radius: 2px;
  line-height: 0;
}

.brand-logo {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 537;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.3vw, 38px);
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  color: var(--text-muted);
  font-size: 13px;
  transition: color 180ms ease;
}

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

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-current {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-current::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-switch {
  display: flex;
  align-items: center;
  height: 34px;
  border: 1px solid var(--line);
}

.language-switch span {
  width: 1px;
  height: 14px;
  background: var(--line);
}

.language-option {
  min-width: 39px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.language-option.is-active {
  color: var(--text);
}

.icon-button,
.menu-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.icon-button:hover,
.menu-toggle:hover {
  border-color: var(--gold);
  background: rgba(179, 134, 75, 0.08);
}

.theme-icon {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

html[data-theme="dark"] .theme-icon-sun,
html[data-theme="light"] .theme-icon-moon {
  display: none;
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 15px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span + span {
  margin-top: -9px;
}

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

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

.mobile-nav {
  padding: 10px 24px 28px;
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.hero {
  position: relative;
  min-height: 850px;
  padding-top: var(--header-height);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 12%;
  left: -9vw;
  width: 32vw;
  height: 32vw;
  min-width: 400px;
  min-height: 400px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow:
    0 0 0 64px rgba(179, 134, 75, 0.03),
    0 0 0 128px rgba(179, 134, 75, 0.02);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
  min-height: calc(850px - var(--header-height));
  padding: 92px 0 78px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vitality);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--vitality), transparent 80%);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 32px;
  font-size: clamp(56px, 6.8vw, 96px);
  font-weight: 500;
  letter-spacing: -0.066em;
  line-height: 0.91;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  margin-top: 10px;
  color: var(--gold-light);
  font-style: italic;
  font-weight: 400;
}

.hero-description {
  max-width: 670px;
  margin-bottom: 38px;
  color: var(--text-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

html[data-theme="light"] .button-primary {
  color: var(--ivory);
}

.button-primary:hover {
  border-color: var(--gold-light);
  background: var(--gold-light);
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--gold);
  background: rgba(179, 134, 75, 0.08);
}

.button-arrow {
  font-family: var(--font-mono);
  font-size: 15px;
}

.button-full {
  width: 100%;
}

.hero-proof {
  display: flex;
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.hero-proof > div {
  flex: 1;
  padding: 20px 22px 0 0;
  border-right: 1px solid var(--line);
}

.hero-proof > div + div {
  padding-left: 22px;
}

.hero-proof > div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  margin-bottom: 2px;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 20px;
}

.hero-proof span {
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: -27px 27px 27px -27px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  content: "";
}

.player-console {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--bg-elevated), transparent 5%);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.console-header .console-kicker {
  margin-bottom: 5px;
  color: var(--text-faint);
}

.console-header strong {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vitality);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--vitality), transparent 82%);
  }
}

.level-overview {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 38px 30px;
  border-bottom: 1px solid var(--line);
}

.level-orbit {
  position: relative;
  width: 160px;
  aspect-ratio: 1;
}

.level-orbit svg {
  transform: rotate(-90deg);
}

.level-orbit circle {
  fill: none;
  stroke-width: 4;
}

.orbit-base {
  stroke: var(--line);
}

.orbit-progress {
  stroke: var(--gold);
  stroke-dasharray: 427;
  stroke-dashoffset: 120;
  stroke-linecap: square;
}

.level-number {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
}

.level-number span {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.level-number strong {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}

.level-number small {
  margin-top: 6px;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 9px;
}

.next-reward > span {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.next-reward strong {
  display: block;
  margin: 5px 0 7px;
  font-size: 20px;
  font-weight: 500;
}

.next-reward p {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.progress-track,
.micro-track {
  height: 3px;
  overflow: hidden;
  background: var(--line);
}

.progress-track span,
.micro-track span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.attribute-list {
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
}

.attribute-row {
  display: grid;
  grid-template-columns: 120px 1fr 34px;
  gap: 14px;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid var(--line);
}

.attribute-row:last-child {
  border-bottom: 0;
}

.attribute-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.attribute-label i,
.attribute-card li i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.charisma {
  background: var(--charisma) !important;
}

.intellect {
  background: var(--intellect) !important;
}

.vitality {
  background: var(--vitality) !important;
}

.culture {
  background: var(--culture) !important;
}

.attribute-row:nth-child(1) .micro-track span {
  background: var(--charisma);
}

.attribute-row:nth-child(2) .micro-track span {
  background: var(--intellect);
}

.attribute-row:nth-child(3) .micro-track span {
  background: var(--vitality);
}

.attribute-row:nth-child(4) .micro-track span {
  background: var(--culture);
}

.attribute-row > strong {
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: right;
}

.console-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  padding: 16px 22px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.console-footer span,
.console-footer time {
  color: var(--text-faint);
}

.console-footer strong {
  font-weight: 600;
}

.hero-note {
  position: absolute;
  right: -30px;
  bottom: -58px;
  z-index: 2;
  width: 230px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
}

.hero-note span {
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 9px;
}

.hero-note p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 12px;
}

.signal-strip {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--gold);
  color: var(--navy);
}

.signal-track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.signal-track > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 43px;
  padding-inline: 28px;
  border-right: 1px solid rgba(10, 9, 68, 0.3);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.signal-track i {
  opacity: 0.72;
  font-style: normal;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.mission-bento {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.bento-card {
  min-height: 310px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg), transparent 14%);
}

.bento-main {
  display: grid;
  grid-row: span 2;
  min-height: 620px;
  align-content: space-between;
  overflow: hidden;
}

.bento-main .card-number {
  color: var(--line-strong);
  font-family: var(--font-mono);
  font-size: clamp(110px, 13vw, 190px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.72;
}

.bento-main h3 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 55px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.bento-card > p,
.bento-main > p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.big-stat {
  margin: 18px 0 0;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 100px;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.mini-coordinates {
  margin-top: 25px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.attribute-card ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.attribute-card li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.attribute-card li small {
  color: var(--text-faint);
  font-size: 8px;
}

.xp-flow {
  display: grid;
  grid-template-columns: 0.78fr 1.62fr;
  gap: 70px;
  margin-top: 72px;
  padding: 46px 0 0;
  border-top: 1px solid var(--line);
}

.flow-intro h3 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

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

.flow-steps li {
  position: relative;
  min-width: 0;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.flow-steps li::after {
  position: absolute;
  top: 47px;
  right: -7px;
  z-index: 2;
  color: var(--gold);
  content: "→";
  font-family: var(--font-mono);
  font-size: 12px;
}

.flow-steps li:last-child::after {
  display: none;
}

.flow-number {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.flow-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin: 18px 0 24px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 18px;
}

.flow-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.flow-steps p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.55;
}

.map-section {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  transition: background 240ms ease;
}

.map-shell {
  display: grid;
  grid-template-columns: 1.48fr 0.52fr;
  min-height: 620px;
  border: 1px solid var(--line-strong);
}

.map-canvas {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-right: 1px solid var(--line-strong);
  background-color: var(--map-bg);
  background-image: radial-gradient(var(--grid) 1px, transparent 1px);
  background-size: 18px 18px;
}

.map-toolbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}

.map-filter {
  display: flex;
  border: 1px solid var(--line);
  background: var(--bg);
}

.map-filter button {
  padding: 8px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.map-filter button:last-child {
  border-right: 0;
}

.map-filter button.is-active {
  background: var(--gold);
  color: var(--navy);
}

.city-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.city-lines path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.city-lines .river {
  stroke: color-mix(in srgb, var(--intellect), transparent 35%);
  stroke-width: 22;
}

.map-pin {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--bg);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 9px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.map-pin::after {
  position: absolute;
  inset: -7px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transition: opacity 160ms ease;
}

.map-pin:hover,
.map-pin.is-active {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--gold);
  color: var(--navy);
}

.map-pin.is-active::after {
  opacity: 1;
}

.pin-one {
  top: 31%;
  left: 21%;
}

.pin-two {
  top: 48%;
  left: 48%;
}

.pin-three {
  top: 65%;
  left: 70%;
}

.pin-four {
  top: 25%;
  left: 78%;
}

.map-label,
.map-scale {
  position: absolute;
  z-index: 2;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.label-vake {
  top: 39%;
  left: 13%;
}

.label-vera {
  top: 42%;
  left: 57%;
}

.label-old {
  top: 76%;
  left: 64%;
}

.map-scale {
  bottom: 18px;
  left: 18px;
}

.map-detail {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--bg-elevated);
}

.detail-topline {
  display: flex;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.detail-visual {
  position: relative;
  display: grid;
  min-height: 180px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(
      45deg,
      transparent 49.5%,
      var(--grid) 49.5%,
      var(--grid) 50.5%,
      transparent 50.5%
    ),
    linear-gradient(
      -45deg,
      transparent 49.5%,
      var(--grid) 49.5%,
      var(--grid) 50.5%,
      transparent 50.5%
    );
  background-size: 28px 28px;
}

.detail-glyph {
  color: var(--gold-light);
  font-size: 64px;
}

.detail-xp {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 8px;
  background: var(--vitality);
  color: #071b10;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.detail-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 24px;
}

.detail-content .card-label {
  margin-bottom: 9px;
}

.detail-content h3 {
  margin-bottom: 15px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.detail-content > p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.detail-content dl {
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
}

.detail-content dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
}

.detail-content dt {
  color: var(--text-faint);
}

.detail-content dd {
  margin: 0;
  text-align: right;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 12px;
}

.detail-content .text-link {
  margin-top: auto;
}

.quest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.quest-card {
  display: flex;
  min-width: 0;
  min-height: 500px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg), transparent 12%);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.quest-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  background: var(--bg-elevated);
}

.quest-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.quest-type,
.quest-code {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quest-type {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent !important;
}

.quest-type::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.quest-type.intellect {
  color: var(--intellect);
}

.quest-type.charisma {
  color: var(--charisma);
}

.quest-type.culture {
  color: var(--culture);
}

.quest-symbol {
  display: grid;
  min-height: 150px;
  place-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 56px;
  background-image: radial-gradient(var(--grid) 1px, transparent 1px);
  background-size: 14px 14px;
}

.quest-body {
  flex: 1;
  padding: 26px 22px;
}

.organizer {
  display: block;
  margin-bottom: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.quest-body h3 {
  min-height: 65px;
  margin-bottom: 27px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.quest-meta {
  display: grid;
  gap: 7px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.quest-reward {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
}

.quest-reward span {
  color: var(--text-faint);
}

.quest-reward strong {
  color: var(--gold-light);
  font-size: 9px;
}

.board-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 0;
}

.board-footer p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.pipeline {
  margin-top: 105px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.pipeline-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 32px 32px 0;
  border-bottom: 1px solid var(--line);
}

.pipeline-header h3 {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.pipeline-tabs {
  display: flex;
  align-self: stretch;
}

.pipeline-tabs button {
  display: flex;
  min-width: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 15px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  cursor: pointer;
}

.pipeline-tabs button b {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8px;
}

.pipeline-tabs button.is-active {
  background: var(--gold);
  color: var(--navy);
}

.pipeline-tabs button.is-active b {
  color: rgba(10, 9, 68, 0.65);
}

.pipeline-panel article {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 30px;
  align-items: center;
  min-height: 92px;
  padding: 18px 30px;
  border-bottom: 1px solid var(--line);
}

.pipeline-panel article:last-child {
  border-bottom: 0;
}

.pipeline-panel time,
.pipeline-panel article div span,
.pipeline-state {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.pipeline-panel article div {
  display: grid;
  gap: 4px;
}

.pipeline-panel article strong {
  font-size: 15px;
  font-weight: 500;
}

.pipeline-state {
  padding: 7px 9px;
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
}

.pipeline-state.completed {
  border-color: color-mix(in srgb, var(--vitality), transparent 50%);
  color: var(--vitality);
}

.subscription-section {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.pricing-intro,
.tier-card {
  min-height: 590px;
  padding: 30px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.pricing-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-mark {
  display: grid;
  width: min(180px, 80%);
  aspect-ratio: 1;
  margin: auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px color-mix(in srgb, var(--gold), transparent 94%),
    0 0 0 36px color-mix(in srgb, var(--gold), transparent 96%);
}

.pricing-mark span {
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 70px;
}

.pricing-intro p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}

.tier-card {
  display: flex;
  position: relative;
  flex-direction: column;
  background: var(--bg-elevated);
}

.premium-tier {
  background: var(--bg);
}

.tier-flag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 12px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-header {
  display: flex;
  min-height: 150px;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.tier-header > div:first-child > span {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tier-header h3 {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: -0.04em;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding-top: 16px;
}

.price strong {
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1;
}

.price span {
  padding-bottom: 3px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
}

.price i {
  color: var(--text-faint);
  font-style: normal;
}

.tier-card ul {
  flex: 1;
  padding: 18px 0;
  margin: 0 0 24px;
  list-style: none;
}

.tier-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 12px;
}

.tier-card li b {
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 10px;
}

.tier-card li.is-muted {
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-color: var(--line);
}

.partners-section {
  padding-bottom: 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.partner-cell {
  display: grid;
  min-height: 180px;
  align-content: center;
  justify-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  text-align: center;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.partner-cell:hover {
  background: var(--bg-elevated);
  color: var(--text);
}

.partner-cell strong,
.partner-cell > span {
  font-family: var(--font-mono);
  font-size: 23px;
  letter-spacing: -0.05em;
}

.partner-cell small {
  margin-top: 10px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.helping-hand span {
  font-size: 11px;
  letter-spacing: 0.24em;
}

.helping-hand strong {
  color: var(--gold-light);
  font-size: 28px;
}

.magti strong {
  letter-spacing: 0.1em;
}

.biblusi strong,
.wendys strong {
  font-family: Georgia, serif;
  font-size: 31px;
  font-style: italic;
  font-weight: 500;
}

.mcd strong {
  color: var(--gold-light);
  font-size: 40px;
}

.mcd span {
  margin-top: -6px;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.reviews-block {
  margin-top: 130px;
}

.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.reviews-head .section-index {
  margin-bottom: 0;
}

.review-controls {
  display: flex;
}

.review-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-right: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.review-controls button:last-child {
  border-right: 1px solid var(--line);
}

.review-controls button:hover {
  background: var(--gold);
  color: var(--navy);
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.review-card {
  display: flex;
  min-width: 100%;
  min-height: 410px;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 0;
}

.review-meta,
.review-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.review-meta strong,
.review-card footer span:last-child {
  color: var(--gold-light);
}

.review-card blockquote {
  max-width: 1060px;
  margin: 50px auto;
  padding: 0 40px;
  font-size: clamp(31px, 4vw, 56px);
  font-style: italic;
  letter-spacing: -0.045em;
  line-height: 1.15;
  text-align: center;
}

.review-card footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.join-section {
  padding: 130px 0;
  border-top: 1px solid var(--line-strong);
  background: var(--bg-soft);
}

.join-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(60px, 8vw, 120px);
}

.join-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.join-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(47px, 5vw, 75px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.join-copy > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.join-capacity {
  margin-top: 50px;
}

.join-capacity > div {
  height: 4px;
  background: var(--line);
}

.join-capacity > div span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.join-capacity p {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 0;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.join-capacity strong {
  color: var(--gold-light);
}

.character-form {
  padding: 38px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
}

.form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-header small {
  color: var(--text-faint);
  font-size: 9px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.field > span,
.interest-fieldset legend {
  font-size: 12px;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  transition: border-color 180ms ease;
}

.field input::placeholder {
  color: var(--text-faint);
}

.field input:focus {
  border-color: var(--gold);
}

.field input:user-invalid {
  border-color: var(--charisma);
}

.interest-fieldset {
  padding: 24px 0 0;
  margin: 5px 0 30px;
  border: 0;
  border-top: 1px solid var(--line);
}

.interest-fieldset legend {
  float: left;
  width: 100%;
  margin-bottom: 3px;
  padding: 0;
}

.interest-fieldset > p {
  clear: both;
  margin-bottom: 16px;
  color: var(--text-faint);
  font-size: 11px;
}

.interest-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.interest-grid label {
  cursor: pointer;
}

.interest-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.interest-grid span {
  display: block;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 10px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.interest-grid input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.interest-grid input:checked + span {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.other-interest {
  margin-top: 15px;
}

.field-error {
  display: block;
  margin-top: 11px;
  color: var(--charisma);
  font-size: 11px;
}

.form-submit-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.form-submit-row p {
  margin-bottom: 0;
  color: var(--text-faint);
  font-size: 10px;
  line-height: 1.5;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--vitality), transparent 35%);
  background: color-mix(in srgb, var(--vitality), transparent 90%);
}

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

.form-success > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--vitality);
  color: #06170a;
}

.form-success strong {
  display: block;
  font-size: 13px;
}

.form-success p {
  margin: 3px 0 0;
  color: var(--text-muted);
  font-size: 11px;
}

.site-footer {
  padding: 72px 0 22px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.65fr 0.65fr 0.8fr;
  gap: 50px;
  padding-bottom: 70px;
}

.footer-logo {
  width: 150px;
}

.footer-brand p {
  max-width: 300px;
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column > span,
.footer-coordinate > span {
  margin-bottom: 6px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--text-muted);
  font-size: 12px;
}

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

.footer-coordinate {
  text-align: right;
}

.footer-coordinate strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.footer-bottom a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
}

.character-modal {
  width: min(calc(100% - 36px), 1020px);
  max-height: min(90vh, 820px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--bg-elevated);
  color: var(--text);
}

.character-modal::backdrop {
  background: rgba(3, 3, 25, 0.78);
  backdrop-filter: blur(8px);
}

.modal-shell {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  min-height: 700px;
}

.modal-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border-right: 1px solid var(--line-strong);
  background: var(--bg);
  background-image: radial-gradient(var(--grid) 1px, transparent 1px);
  background-size: 18px 18px;
}

.modal-orbit {
  display: grid;
  width: 180px;
  max-width: 75%;
  aspect-ratio: 1;
  margin: auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(179, 134, 75, 0.05);
}

.modal-orbit span {
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 78px;
}

.modal-aside > div:last-child p {
  margin-bottom: 8px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.modal-aside > div:last-child strong {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.modal-content {
  position: relative;
  padding: 42px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 19px;
  cursor: pointer;
}

.modal-heading > span {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.modal-heading h2 {
  margin: 14px 0 9px;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.modal-heading p {
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 13px;
}

.modal-form {
  padding: 0;
  border: 0;
  background: transparent;
}

.modal-form .interest-grid span {
  font-size: 9px;
}

.form-response-frame {
  position: fixed;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .header-shell {
    grid-template-columns: 150px 1fr auto;
  }

  .desktop-nav {
    gap: 15px;
  }

  .desktop-nav a {
    font-size: 11px;
  }

  .hero-grid {
    grid-template-columns: 1fr 440px;
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(56px, 7vw, 78px);
  }

  .xp-flow {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .map-shell {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .pricing-layout {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-intro {
    grid-column: span 2;
    min-height: 330px;
  }

  .pricing-mark {
    width: 110px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .header-shell {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 100px 0;
  }

  .desktop-nav {
    display: none;
  }

  .header-shell {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 115px 0 130px;
  }

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

  .hero-visual {
    width: min(100%, 610px);
    margin-inline: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mission-bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-main {
    grid-column: span 2;
    grid-row: auto;
    min-height: 500px;
  }

  .map-shell {
    grid-template-columns: 1fr;
  }

  .map-canvas {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .map-detail {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
  }

  .detail-topline {
    grid-column: span 2;
  }

  .detail-visual {
    min-height: 100%;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

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

  .quest-card {
    display: grid;
    grid-template-columns: 0.45fr 1fr;
    min-height: 0;
  }

  .quest-card-top,
  .quest-reward {
    grid-column: span 2;
  }

  .quest-symbol {
    min-height: 230px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .quest-body h3 {
    min-height: 0;
  }

  .pipeline-header {
    grid-template-columns: 1fr;
    padding-right: 0;
    padding-left: 0;
  }

  .pipeline-header > div:first-child {
    padding-inline: 28px;
  }

  .pipeline-tabs {
    border-top: 1px solid var(--line);
  }

  .pipeline-tabs button {
    min-height: 58px;
    flex: 1;
    border-left: 0;
    border-right: 1px solid var(--line);
  }

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

  .join-copy {
    position: static;
  }

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

  .modal-shell {
    grid-template-columns: 1fr;
  }

  .modal-aside {
    display: none;
  }
}

@media (max-width: 680px) {
  .container,
  .header-shell {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 80px 0;
  }

  .brand {
    width: 112px;
  }

  .hero-grid {
    padding-top: 90px;
  }

  .hero h1 {
    font-size: clamp(49px, 15vw, 70px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .hero-proof {
    flex-wrap: wrap;
  }

  .hero-proof > div {
    min-width: 33.33%;
    padding: 15px 10px 0;
  }

  .hero-proof > div + div {
    padding-left: 10px;
  }

  .player-console {
    margin-inline: 0;
  }

  .hero-visual::before,
  .hero-note {
    display: none;
  }

  .console-header {
    padding: 16px;
  }

  .level-overview {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 27px 20px;
    text-align: center;
  }

  .next-reward {
    width: 100%;
  }

  .attribute-list {
    padding-inline: 14px;
  }

  .attribute-row {
    grid-template-columns: 105px 1fr 30px;
    gap: 9px;
  }

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

  .console-footer strong {
    grid-row: 2;
    grid-column: span 2;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2 {
    font-size: clamp(39px, 12vw, 55px);
  }

  .section-heading > p {
    font-size: 15px;
  }

  .mission-bento {
    grid-template-columns: 1fr;
  }

  .bento-main {
    grid-column: auto;
    min-height: 490px;
  }

  .bento-card {
    min-height: 290px;
    padding: 25px;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 35px 0;
  }

  .flow-steps li:nth-child(2)::after {
    display: none;
  }

  .map-canvas {
    min-height: 500px;
  }

  .map-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .map-detail {
    display: flex;
  }

  .detail-topline {
    display: flex;
  }

  .detail-visual {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quest-card {
    display: flex;
  }

  .quest-card-top,
  .quest-reward {
    grid-column: auto;
  }

  .quest-symbol {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .board-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .pipeline {
    margin-top: 75px;
  }

  .pipeline-tabs {
    overflow-x: auto;
  }

  .pipeline-tabs button {
    min-width: 112px;
  }

  .pipeline-panel article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 21px;
  }

  .pipeline-state {
    justify-self: start;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .pricing-intro {
    grid-column: auto;
    min-height: 300px;
  }

  .tier-card {
    min-height: 550px;
    padding: 24px;
  }

  .tier-header {
    min-height: 130px;
  }

  .price strong {
    font-size: 32px;
  }

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

  .partner-cell {
    min-height: 145px;
  }

  .review-card {
    min-height: 450px;
  }

  .review-card blockquote {
    padding-inline: 8px;
    font-size: 30px;
  }

  .join-section {
    padding: 85px 0;
  }

  .character-form {
    padding: 23px;
  }

  .field-row,
  .form-submit-row {
    grid-template-columns: 1fr;
  }

  .form-submit-row .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }

  .footer-brand,
  .footer-coordinate {
    grid-column: span 2;
  }

  .footer-coordinate {
    text-align: left;
  }

  .footer-bottom span:nth-child(2) {
    display: none;
  }

  .character-modal {
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    border: 0;
  }

  .modal-content {
    padding: 68px 20px 35px;
  }

  .modal-heading h2 {
    font-size: 37px;
  }
}

@media (max-width: 390px) {
  .language-switch {
    display: none;
  }

  .flow-steps,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps li::after {
    display: none;
  }

  .partner-cell {
    min-height: 125px;
  }

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

  .footer-brand,
  .footer-coordinate {
    grid-column: auto;
  }
}

@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;
  }
}
