:root {
  color-scheme: dark;
  --home-ink: #f2e9d6;
  --home-muted: #bdb19c;
  --home-gold: #d8b96e;
  --home-gold-light: #f4dca2;
  --home-green: #829c73;
  --home-panel: #201e1a;
  --home-line: rgba(216, 185, 110, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  background: #0d0f0e;
  scroll-behavior: smooth;
}

body.home-page {
  background: transparent;
  color: var(--home-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body.home-page::before,
body.home-page::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
}

body.home-page::before {
  background: #b7a78d url("/assets/backgrounds/natural-zero-sunny-marketplace-32bit-v3.png") center center / cover no-repeat;
  image-rendering: pixelated;
  z-index: -2;
}

body.home-page::after {
  background:
    linear-gradient(90deg, rgba(10, 12, 11, 0.58), rgba(10, 12, 11, 0.2) 50%, rgba(10, 12, 11, 0.34)),
    linear-gradient(0deg, rgba(10, 12, 11, 0.52), transparent 40%, rgba(10, 12, 11, 0.12));
  z-index: -1;
}

.home-page a {
  color: inherit;
}

.home-page img {
  display: block;
  max-width: 100%;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p {
  margin-top: 0;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.skip-link {
  background: var(--home-gold-light);
  color: #1b1813 !important;
  font-weight: 900;
  left: 12px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

.home-shell {
  margin: 0 auto;
  max-width: 1240px;
  padding-left: clamp(18px, 4vw, 48px);
  padding-right: clamp(18px, 4vw, 48px);
  width: 100%;
}

.home-hero {
  min-height: min(820px, calc(100vh - 66px));
  overflow: hidden;
  position: relative;
}

.home-hero::after {
  background: linear-gradient(90deg, rgba(217, 184, 108, 0.06), transparent 30%, transparent 70%, rgba(217, 184, 108, 0.06));
  border-bottom: 1px solid var(--home-line);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%;
}

.home-hero__backdrop {
  background:
    linear-gradient(90deg, rgba(12, 14, 13, 0.96) 0%, rgba(12, 14, 13, 0.88) 34%, rgba(12, 14, 13, 0.62) 58%, rgba(12, 14, 13, 0.28) 78%, transparent 100%),
    linear-gradient(0deg, rgba(13, 15, 14, 0.64) 0%, transparent 34%, rgba(10, 12, 11, 0.08) 100%);
  inset: 0;
  position: absolute;
}

.home-hero__backdrop::after {
  background-image: radial-gradient(rgba(246, 220, 157, 0.24) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  content: "";
  inset: 0;
  opacity: 0.12;
  position: absolute;
}

.home-hero__inner {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(820px, calc(100vh - 66px));
  padding-bottom: 72px;
  padding-top: 62px;
  position: relative;
  z-index: 1;
}

.home-hero__copy {
  background: transparent;
  max-width: 900px;
  padding: clamp(26px, 4vw, 46px) clamp(92px, 12vw, 170px) clamp(26px, 4vw, 46px) clamp(26px, 4vw, 46px);
}

.home-kicker {
  align-items: center;
  color: #c4aa6d;
  display: inline-flex;
  font-size: 0.67rem;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.17em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.home-kicker > span {
  background: linear-gradient(90deg, var(--home-gold), transparent);
  height: 1px;
  width: 34px;
}

.home-hero h1 {
  color: #fff5dd;
  font-size: clamp(3.45rem, 6.3vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.91;
  margin-bottom: 26px;
  text-shadow: 0 6px 32px rgba(0, 0, 0, 0.48);
}

.home-hero h1 em {
  color: var(--home-gold-light);
  font-weight: 400;
}

.home-hero__copy > p {
  color: #d3c8b6;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 620px;
}

.home-actions,
.inline-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.home-actions--center {
  justify-content: center;
}

.home-button {
  align-items: center;
  border: 1px solid var(--home-line);
  display: inline-flex;
  font-size: 0.73rem;
  font-weight: 900;
  gap: 12px;
  justify-content: center;
  letter-spacing: 0.09em;
  min-height: 48px;
  padding: 13px 19px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.home-button--primary {
  background: linear-gradient(180deg, #7b6337, #4b3a20);
  border-color: #b99a5d;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.15);
  color: #fff3d1;
}

.home-button--ghost {
  background: rgba(17, 18, 17, 0.46);
  border-color: rgba(228, 204, 147, 0.36);
  color: #e6dac3;
}

.home-button:hover,
.home-button:focus-visible {
  border-color: var(--home-gold-light);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36), 0 0 0 3px rgba(216, 185, 110, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.hero-proof {
  border-top: 1px solid rgba(226, 199, 137, 0.18);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  max-width: 620px;
  padding-top: 21px;
}

.hero-proof span {
  display: grid;
  gap: 4px;
}

.hero-proof strong {
  color: #ead39d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-proof small {
  color: #a99e8c;
  font-size: 0.69rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-party {
  align-self: end;
  height: min(650px, 72vw);
  min-height: 490px;
  position: relative;
}

.hero-party__glow {
  background: radial-gradient(ellipse, rgba(213, 178, 102, 0.26), transparent 66%);
  bottom: 2%;
  filter: blur(10px);
  height: 34%;
  left: 4%;
  position: absolute;
  width: 92%;
}

.hero-party__character {
  bottom: 0;
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.6));
  image-rendering: pixelated;
  max-width: none;
  position: absolute;
  transform-origin: bottom center;
}

.hero-party__character--center {
  left: 50%;
  width: min(72%, 430px);
  z-index: 3;
  transform: translateX(-50%);
}

.hero-party__character--left {
  bottom: 0;
  left: -4%;
  opacity: 0.92;
  width: min(57%, 340px);
  z-index: 2;
}

.hero-party__character--right {
  bottom: -1%;
  opacity: 0.92;
  right: -7%;
  width: min(58%, 348px);
  z-index: 2;
}

.hero-loot {
  backdrop-filter: blur(10px);
  background: rgba(31, 30, 25, 0.76);
  border: 1px solid rgba(218, 187, 112, 0.35);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.38);
  display: grid;
  height: 58px;
  place-items: center;
  position: absolute;
  transform: rotate(4deg);
  width: 58px;
  z-index: 5;
}

.hero-loot img {
  image-rendering: pixelated;
  width: 44px;
}

.hero-loot--sword {
  left: 3%;
  top: 33%;
}

.hero-loot--shield {
  right: 2%;
  top: 23%;
  transform: rotate(-5deg);
}

.hero-party__caption {
  backdrop-filter: blur(12px);
  background: rgba(22, 24, 21, 0.88);
  border-left: 3px solid var(--home-gold);
  bottom: 6%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  display: grid;
  gap: 2px;
  left: 50%;
  min-width: 190px;
  padding: 12px 16px;
  position: absolute;
  transform: translateX(-50%);
  z-index: 6;
}

.hero-party__caption span,
.hero-party__caption strong {
  text-transform: uppercase;
}

.hero-party__caption span {
  color: #9dab8c;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hero-party__caption strong {
  color: #f2dfb2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.journey-band {
  background:
    linear-gradient(180deg, rgba(37, 35, 31, 0.87), rgba(24, 26, 24, 0.91)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 8px);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(216, 185, 110, 0.18);
  padding: clamp(74px, 9vw, 118px) 0;
}

.section-heading {
  max-width: 730px;
}

.section-heading--center {
  margin: 0 auto;
  text-align: center;
}

.section-heading--center .home-kicker {
  justify-content: center;
}

.section-heading h2,
.feature-copy h2,
.closing-cta h2 {
  color: var(--home-gold-light);
  font-size: clamp(2.25rem, 4.7vw, 4.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 20px;
}

.section-heading > p,
.closing-cta p {
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.journey-steps {
  counter-reset: journey;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 54px 0 0;
  padding: 0;
}

.journey-steps li {
  border-left: 1px solid var(--home-line);
  min-height: 300px;
  padding: 24px clamp(24px, 3.4vw, 45px);
  position: relative;
}

.journey-steps li:last-child {
  border-right: 1px solid var(--home-line);
}

.journey-steps__number {
  color: rgba(230, 207, 153, 0.3);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  position: absolute;
  right: 20px;
  top: 26px;
}

.journey-steps__icon {
  background: linear-gradient(145deg, #3a3428, #22241f);
  border: 1px solid rgba(216, 185, 110, 0.34);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  display: grid;
  height: 62px;
  margin-bottom: 27px;
  place-items: center;
  width: 62px;
}

.journey-steps__icon img {
  image-rendering: pixelated;
  width: 48px;
}

.journey-steps h3 {
  color: #ecddb8;
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.journey-steps p {
  color: #b9af9e;
  font-size: 0.91rem;
  line-height: 1.68;
  margin-bottom: 22px;
}

.journey-steps a,
.dm-flow a,
.text-link {
  color: #d8bc7b;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.journey-steps a:hover,
.journey-steps a:focus-visible,
.dm-flow a:hover,
.dm-flow a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: #fff0c6;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.feature-section {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 96px);
  grid-template-columns: minmax(360px, 0.94fr) minmax(0, 1.06fr);
  isolation: isolate;
  padding-bottom: clamp(86px, 11vw, 150px);
  padding-top: clamp(86px, 11vw, 150px);
  position: relative;
}

.feature-section--players::before,
.feature-section--combat::before {
  bottom: 0;
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  z-index: -1;
}

.feature-section--players::before {
  background: radial-gradient(ellipse 100% 100% at 100% 0%, rgba(14, 17, 15, 0.97) 0%, rgba(14, 17, 15, 0.92) 34%, rgba(14, 17, 15, 0.76) 54%, rgba(14, 17, 15, 0.42) 70%, rgba(14, 17, 15, 0) 100%);
  left: 40%;
  right: calc(50% - 50vw);
}

.feature-section--combat::before {
  background: radial-gradient(ellipse 100% 100% at 0% 100%, rgba(14, 17, 15, 0.97) 0%, rgba(14, 17, 15, 0.92) 34%, rgba(14, 17, 15, 0.76) 54%, rgba(14, 17, 15, 0.42) 70%, rgba(14, 17, 15, 0) 100%);
  left: calc(50% - 50vw);
  right: 40%;
}

.feature-section--reverse {
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  padding-top: 28px;
}

.feature-art {
  background: #20231f;
  border: 1px solid var(--home-line);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.35);
  min-height: 590px;
  overflow: hidden;
  position: relative;
}

.feature-art::after {
  background: linear-gradient(0deg, rgba(18, 19, 18, 0.84), transparent 56%);
  content: "";
  inset: 0;
  position: absolute;
}

.feature-art--character {
  aspect-ratio: 1080 / 1370;
  min-height: 0;
}

.feature-art--character::after {
  display: none;
}

.feature-art__screenshot {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.feature-art__background {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.feature-art__hero {
  bottom: 30px;
  filter: drop-shadow(0 24px 18px rgba(0, 0, 0, 0.6));
  image-rendering: pixelated;
  left: 50%;
  max-width: none;
  position: absolute;
  transform: translateX(-50%);
  width: min(88%, 490px);
  z-index: 2;
}

.feature-art__chip {
  backdrop-filter: blur(10px);
  background: rgba(25, 28, 24, 0.9);
  border: 1px solid rgba(216, 185, 110, 0.38);
  display: grid;
  gap: 2px;
  min-width: 108px;
  padding: 11px 14px;
  position: absolute;
  z-index: 4;
}

.feature-art__chip small {
  color: #a9a18f;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.feature-art__chip strong {
  color: #f2d58f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.feature-art__chip--top {
  right: 24px;
  top: 28px;
}

.feature-art__chip--bottom {
  bottom: 106px;
  left: 24px;
}

.feature-art__gear {
  bottom: 22px;
  display: flex;
  gap: 8px;
  position: absolute;
  right: 22px;
  z-index: 4;
}

.feature-art__gear img {
  background: rgba(27, 29, 26, 0.92);
  border: 1px solid rgba(216, 185, 110, 0.3);
  height: 58px;
  image-rendering: pixelated;
  object-fit: contain;
  padding: 5px;
  width: 58px;
}

.feature-copy {
  max-width: 650px;
  padding: clamp(24px, 4vw, 42px);
}

.feature-copy h2,
.feature-copy p,
.feature-copy li,
.feature-copy small,
.feature-copy strong {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.54);
}

.feature-lead {
  color: #d8d0c2;
  font-size: 1.02rem;
  line-height: 1.77;
  margin-bottom: 30px;
}

.check-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.check-list li {
  border-top: 1px solid rgba(216, 185, 110, 0.17);
  color: #cbc3b5;
  font-size: 0.9rem;
  line-height: 1.65;
  padding: 15px 0 15px 30px;
  position: relative;
}

.check-list li::before {
  color: #bfa765;
  content: "✦";
  left: 2px;
  position: absolute;
  top: 16px;
}

.check-list li:last-child {
  border-bottom: 1px solid rgba(216, 185, 110, 0.17);
}

.check-list strong {
  color: #e6d7b6;
}

.inline-actions {
  align-items: center;
}

.detail-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 32px 0;
}

.detail-grid span {
  background: rgba(38, 37, 32, 0.72);
  border: 1px solid rgba(216, 185, 110, 0.16);
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 18px;
}

.detail-grid strong {
  color: #e5d5b0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
}

.detail-grid small {
  color: #cbc4b5;
  font-size: 0.75rem;
  line-height: 1.45;
}

.price-note {
  border-left: 2px solid #84956f;
  color: #cec6b8;
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 28px;
  padding-left: 14px;
}

.price-note strong {
  color: #d7dfb9;
}

.combat-board {
  background:
    linear-gradient(160deg, rgba(48, 43, 36, 0.98), rgba(25, 30, 27, 0.99)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 6px);
  border: 1px solid rgba(216, 185, 110, 0.35);
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.06);
  padding: clamp(18px, 3vw, 28px);
  position: relative;
  transform: rotate(1deg);
}

.combat-board::before,
.combat-board::after {
  border: 1px solid rgba(216, 185, 110, 0.18);
  content: "";
  height: 22px;
  position: absolute;
  width: 22px;
}

.combat-board::before {
  border-bottom: 0;
  border-right: 0;
  left: 8px;
  top: 8px;
}

.combat-board::after {
  border-left: 0;
  border-top: 0;
  bottom: 8px;
  right: 8px;
}

.combat-board__top,
.combat-board__hp,
.combat-board__footer,
.combat-board__footer > div {
  align-items: center;
  display: flex;
}

.combat-board__top {
  border-bottom: 1px solid rgba(216, 185, 110, 0.18);
  justify-content: space-between;
  padding-bottom: 18px;
}

.combat-board__top > div,
.combat-board__footer span {
  display: grid;
  gap: 3px;
}

.combat-board small,
.combat-board__actions span {
  color: #a99d88;
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.combat-board__top strong {
  color: #f0ddb0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.status-pill {
  background: rgba(77, 104, 74, 0.43);
  border: 1px solid rgba(143, 177, 121, 0.38);
  color: #d7e5b5;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 8px 10px;
  text-transform: uppercase;
}

.combat-board__hp {
  display: grid;
  gap: 8px;
  padding: 20px 0;
}

.combat-board__hp span {
  color: #c9bda6;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.combat-board__hp span strong {
  color: #f0dfb5;
  font: 600 1.2rem Georgia, "Times New Roman", serif;
}

.combat-board__hp i {
  background: #151a17;
  border: 1px solid rgba(179, 152, 90, 0.22);
  display: block;
  height: 8px;
  overflow: hidden;
  width: 100%;
}

.combat-board__hp b {
  background: linear-gradient(90deg, #6d914f, #b2c877);
  display: block;
  height: 100%;
  width: 90%;
}

.combat-board__actions {
  display: grid;
  gap: 10px;
}

.combat-board__actions article {
  background: rgba(18, 21, 19, 0.62);
  border: 1px solid rgba(216, 185, 110, 0.15);
  display: grid;
  gap: 5px;
  min-height: 88px;
  padding: 15px 17px;
}

.combat-board__actions strong {
  color: #ead8ae;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.combat-board__actions small {
  color: #a79f90;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.combat-board__footer {
  border-top: 1px solid rgba(216, 185, 110, 0.18);
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
}

.combat-board__footer > div {
  background: rgba(20, 23, 21, 0.6);
  flex: 1 1 0;
  gap: 9px;
  min-height: 56px;
  padding: 8px 10px;
}

.combat-board__footer img {
  height: 40px;
  image-rendering: pixelated;
  object-fit: contain;
  width: 40px;
}

.combat-board__footer strong {
  color: #ddd0b1;
  font-size: 0.7rem;
}

.dm-section {
  background:
    linear-gradient(90deg, rgba(19, 21, 20, 0.94), rgba(27, 27, 23, 0.84), rgba(18, 22, 20, 0.94));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--home-line);
  border-top: 1px solid var(--home-line);
  overflow: hidden;
  padding: clamp(82px, 10vw, 126px) 0;
  position: relative;
}

.dm-section__backdrop {
  background: radial-gradient(circle at 50% 0, rgba(206, 169, 91, 0.16), transparent 48%);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.dm-section .home-shell {
  position: relative;
}

.dm-flow {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin-top: 50px;
}

.dm-flow article {
  backdrop-filter: blur(8px);
  background: rgba(30, 31, 27, 0.88);
  border: 1px solid rgba(216, 185, 110, 0.27);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.31);
  min-height: 280px;
  padding: clamp(24px, 4vw, 38px);
}

.dm-flow__step {
  color: #9e8e6c;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dm-flow__heading {
  align-items: center;
  display: flex;
  gap: 14px;
  margin: 13px 0 16px;
}

.dm-flow__heading img {
  height: 55px;
  image-rendering: pixelated;
  object-fit: contain;
  width: 55px;
}

.dm-flow h3 {
  color: #ecddb9;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 500;
  margin: 0;
}

.dm-flow p {
  color: #b9ae9b;
  font-size: 0.9rem;
  line-height: 1.7;
}

.dm-flow__connector {
  align-content: center;
  color: #b8a36e;
  display: grid;
  gap: 9px;
  justify-items: center;
  min-width: 108px;
}

.dm-flow__connector span {
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  max-width: 88px;
  text-align: center;
  text-transform: uppercase;
}

.dm-flow__connector b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.dm-section__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.dm-section__cta a + a {
  background: rgba(17, 18, 17, 0.46);
  border-color: rgba(228, 204, 147, 0.36);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 3px 0 #11100e;
  color: #e6dac3;
}

.dm-section__cta a {
  align-items: center;
  background: linear-gradient(180deg, #755d34, #4b3a24);
  border: 1px solid #d7b76c;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 210, 0.12), inset 0 -3px 0 rgba(0, 0, 0, 0.28), 0 3px 0 #11100e;
  color: #fff0c7;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.08em;
  min-height: 42px;
  padding: 10px 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.dm-section__cta a:hover,
.dm-section__cta a:focus-visible {
  background: linear-gradient(180deg, #8a6d3b, #58442a);
  outline: 2px solid #f0d796;
  outline-offset: 3px;
}

.toolkit-section {
  padding-bottom: clamp(88px, 11vw, 148px);
  padding-top: clamp(88px, 11vw, 148px);
}

.tool-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 50px;
}

.tool-grid > a {
  align-items: center;
  background: linear-gradient(145deg, rgba(41, 39, 34, 0.96), rgba(26, 29, 26, 0.96));
  border: 1px solid rgba(216, 185, 110, 0.19);
  display: grid;
  gap: 15px;
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 150px;
  padding: 22px;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.tool-grid > a:hover,
.tool-grid > a:focus-visible {
  background: linear-gradient(145deg, rgba(53, 48, 38, 0.98), rgba(28, 34, 29, 0.98));
  border-color: rgba(232, 202, 133, 0.55);
  outline: none;
  transform: translateY(-3px);
}

.tool-grid img {
  height: 58px;
  image-rendering: pixelated;
  object-fit: contain;
  width: 58px;
}

.tool-grid span {
  display: grid;
  gap: 5px;
}

.tool-grid small {
  color: #9f8f6a;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-grid strong {
  color: #eadab6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.tool-grid em {
  color: #a9a08f;
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.45;
}

.closing-cta {
  align-items: center;
  background:
    radial-gradient(circle at 50% 100%, rgba(143, 104, 49, 0.19), transparent 56%),
    linear-gradient(145deg, #29251f, #1c211e);
  border: 1px solid rgba(216, 185, 110, 0.28);
  display: grid;
  gap: 18px;
  grid-template-columns: 140px minmax(0, 1fr) 140px;
  margin-bottom: clamp(80px, 10vw, 126px);
  min-height: 380px;
  overflow: hidden;
  padding-bottom: 46px;
  padding-top: 46px;
  text-align: center;
}

.closing-cta h2 {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
}

.closing-cta__weapon {
  filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.5));
  image-rendering: pixelated;
  opacity: 0.82;
  width: 140px;
}

.closing-cta__weapon--left {
  transform: rotate(-13deg) translateX(-16px);
}

.closing-cta__weapon--right {
  transform: rotate(10deg) translateX(18px);
}

.home-footer {
  background: #111311;
  border-top: 1px solid rgba(216, 185, 110, 0.17);
  padding: 46px 0;
}

.home-footer .home-shell {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: auto minmax(0, 1fr);
}

.home-footer__brand {
  align-items: center;
  display: flex;
  gap: 10px;
  text-decoration: none;
}

.home-footer__brand img {
  height: 48px;
  width: 48px;
}

.home-footer__brand span {
  display: grid;
  gap: 3px;
}

.home-footer__brand strong {
  color: #e6d29d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.home-footer__brand small {
  color: #837d71;
  font-size: 0.62rem;
}

.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  justify-content: flex-end;
}

.home-footer nav a {
  color: #b3a78f;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-footer nav a:hover,
.home-footer nav a:focus-visible {
  color: #f0dbac;
  outline: none;
}

.home-footer p {
  border-top: 1px solid rgba(216, 185, 110, 0.13);
  color: #777369;
  font-size: 0.69rem;
  grid-column: 1 / -1;
  line-height: 1.6;
  margin: 0;
  padding-top: 22px;
}

@media (max-width: 1060px) {
  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-party__character--left {
    left: -14%;
  }

  .hero-party__character--right {
    right: -15%;
  }

  .feature-section,
  .feature-section--reverse {
    gap: 48px;
    grid-template-columns: minmax(330px, 0.85fr) minmax(0, 1.15fr);
  }

  .feature-section--reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body.home-page::before {
    background-position: 57% center;
  }

  .home-hero,
  .home-hero__inner {
    min-height: auto;
  }

  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 30px;
    padding-top: 72px;
  }

  .home-hero__backdrop {
    background:
      linear-gradient(90deg, rgba(13, 16, 14, 0.92) 0%, rgba(13, 16, 14, 0.68) 64%, rgba(13, 16, 14, 0.12) 100%),
      linear-gradient(180deg, rgba(17, 18, 17, 0.16), rgba(17, 18, 17, 0.5) 58%, rgba(17, 18, 17, 0.8) 100%);
  }

  .home-hero__copy {
    background: transparent;
    padding: 32px 22px;
    text-align: center;
  }

  .home-hero__copy .home-kicker,
  .home-actions {
    justify-content: center;
  }

  .hero-proof {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-party {
    height: 580px;
    margin: -12px auto 0;
    max-width: 570px;
    width: 100%;
  }

  .journey-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .journey-steps li,
  .journey-steps li:last-child {
    border: 0;
    border-top: 1px solid var(--home-line);
    min-height: 0;
    padding: 30px 20px 32px 92px;
  }

  .journey-steps__icon {
    left: 12px;
    position: absolute;
    top: 30px;
  }

  .journey-steps__number {
    right: 10px;
    top: 33px;
  }

  .feature-section,
  .feature-section--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-section--players::before,
  .feature-section--combat::before {
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
  }

  .feature-section--players::before {
    background: radial-gradient(ellipse 100% 100% at 100% 0%, rgba(14, 17, 15, 0.97) 0%, rgba(14, 17, 15, 0.9) 38%, rgba(14, 17, 15, 0.62) 64%, rgba(14, 17, 15, 0) 100%);
  }

  .feature-section--combat::before {
    background: radial-gradient(ellipse 100% 100% at 0% 100%, rgba(14, 17, 15, 0.97) 0%, rgba(14, 17, 15, 0.9) 38%, rgba(14, 17, 15, 0.62) 64%, rgba(14, 17, 15, 0) 100%);
  }

  .feature-section--reverse .feature-copy {
    order: 2;
  }

  .feature-section--reverse .combat-board {
    order: 1;
  }

  .feature-art {
    min-height: 620px;
  }

  .feature-copy {
    max-width: none;
  }

  .dm-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .dm-flow__connector {
    grid-template-columns: 1fr auto 1fr;
    min-height: 54px;
  }

  .dm-flow__connector::before,
  .dm-flow__connector::after {
    background: var(--home-line);
    content: "";
    height: 1px;
    width: 100%;
  }

  .dm-flow__connector span {
    max-width: none;
  }

  .dm-flow__connector b {
    display: none;
  }

  .closing-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .closing-cta__weapon {
    display: none;
  }

  .home-footer .home-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .home-hero h1 {
    font-size: clamp(2.85rem, 15vw, 4.2rem);
  }

  .home-hero__inner {
    padding-top: 50px;
  }

  .home-actions,
  .inline-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-actions .home-button,
  .inline-actions .home-button {
    width: 100%;
  }

  .hero-proof {
    gap: 10px;
  }

  .hero-proof small {
    font-size: 0.6rem;
  }

  .hero-party {
    height: 410px;
    min-height: 410px;
  }

  .hero-party__character--center {
    width: 75%;
  }

  .hero-party__character--left,
  .hero-party__character--right {
    width: 61%;
  }

  .hero-loot {
    display: none;
  }

  .journey-steps li,
  .journey-steps li:last-child {
    padding-left: 82px;
  }

  .journey-steps__icon {
    height: 52px;
    width: 52px;
  }

  .journey-steps__icon img {
    width: 40px;
  }

  .feature-art {
    min-height: 490px;
  }

  .feature-art__chip--bottom {
    bottom: 88px;
  }

  .feature-art__gear img {
    height: 48px;
    width: 48px;
  }

  .detail-grid,
  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .combat-board {
    transform: none;
  }

  .combat-board__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .tool-grid > a {
    min-height: 128px;
  }

  .closing-cta {
    margin-left: 14px;
    margin-right: 14px;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-button,
  .tool-grid > a {
    transition: none;
  }
}
