:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #1f2329;
  --muted: #5c6570;
  --line: #e4e7ec;
  --nav: #eef6f4;
  --accent: #c4510a;
  --accent-deep: #9a3d06;
  --accent-soft: #fff1e6;
  --shadow: 0 10px 30px rgba(31, 35, 41, 0.08);
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --radius: 14px;
  --max: 1080px;
  --pad: clamp(1rem, 3.5vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-deep);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.4rem 0.8rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* —— Nav：浅色顶栏 —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem var(--pad);
  background: rgba(238, 246, 244, 0.92);
  border-bottom: 1px solid #d7e6e2;
  backdrop-filter: blur(12px);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

.nav__brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid #d5ddd9;
}

.nav__links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav__links a {
  color: var(--muted);
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
}

.nav__cta:hover {
  background: var(--accent-deep);
  color: #fff !important;
}

.nav__menu {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 38px;
  height: 34px;
  cursor: pointer;
  color: var(--ink);
}

/* —— Hero：居中图标 + 胶囊按钮 —— */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 3.5rem var(--pad) 2.5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 18%;
  filter: blur(2px) saturate(0.85);
  transform: scale(1.06);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246, 247, 249, 0.78) 0%, rgba(246, 247, 249, 0.88) 55%, rgba(246, 247, 249, 0.97) 100%),
    rgba(255, 255, 255, 0.45);
}

.hero__inner {
  width: min(420px, 100%);
}

.hero__icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.1rem;
  border-radius: 28px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #1a2a36;
}

.hero__tag {
  margin: 0.55rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2a3540;
}

.hero__lead {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero__btns {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.65rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink) !important;
  border: 1px solid rgba(31, 35, 41, 0.08);
  box-shadow: 0 4px 14px rgba(31, 35, 41, 0.05);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.pill:hover {
  transform: translateY(-1px);
  background: #fff;
  color: var(--ink) !important;
  box-shadow: 0 8px 20px rgba(31, 35, 41, 0.08);
}

.pill--primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(196, 81, 10, 0.28);
}

.pill--primary:hover {
  background: var(--accent-deep);
  color: #fff !important;
}

.pill--lg {
  min-height: 52px;
  padding-inline: 1.5rem;
  font-size: 1rem;
}

.pill__ico {
  display: inline-grid;
  place-items: center;
  width: 1.2em;
  font-weight: 700;
}

.hero__meta {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero__meta strong {
  color: var(--accent-deep);
  font-weight: 700;
}

.hero__contact {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero__dl-tip {
  margin: 0.55rem 0 0;
  color: #8a939e;
  font-size: 0.8rem;
}

.hero__more {
  display: inline-block;
  margin-top: 1.5rem;
  color: #8a939e;
  text-decoration: none;
  font-size: 1.4rem;
  line-height: 1;
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* —— Sections —— */
.section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 3rem var(--pad);
}

.section--alt {
  width: 100%;
  background: #fff;
  border-block: 1px solid var(--line);
}

.section--alt > * {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.section__title {
  margin: 0 0 0.4rem;
  text-align: center;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section__sub {
  margin: 0 0 1.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.section__title + .features,
.section__title + .steps,
.section__title + .changelog,
.section__title + .notice,
.section__title + .feedback-form {
  margin-top: 1.75rem;
}

.feedback-form {
  max-width: 36rem;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.feedback-form__field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.feedback-form__field textarea,
.feedback-form__field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

.feedback-form__field textarea:focus,
.feedback-form__field input:focus {
  outline: 2px solid rgba(196, 81, 10, 0.25);
  border-color: var(--accent);
}

.feedback-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.feedback-form__msg {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.9rem;
  color: var(--muted);
}

.feedback-form__msg.is-ok {
  color: #1f7a45;
}

.feedback-form__msg.is-err {
  color: #b42318;
}

.notice {
  max-width: 40rem;
  margin-inline: auto;
  padding: 1.25rem 1.4rem;
  background: var(--accent-soft);
  border: 1px solid #f0d4bc;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.95rem;
}

.notice p {
  margin: 0;
}

.notice p + p {
  margin-top: 0.75rem;
}

.notice__link {
  color: var(--muted);
  font-size: 0.88rem;
}

.notice__btn {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: inherit;
  text-underline-offset: 0.15em;
  text-decoration: underline;
  cursor: pointer;
}

.notice__btn:hover {
  color: var(--accent-deep);
}

/* —— Steam Key 申请方法弹窗 —— */
.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(31, 35, 41, 0.45);
  backdrop-filter: blur(4px);
}

.guide-modal[hidden] {
  display: none !important;
}

.guide-modal__panel {
  position: relative;
  width: min(720px, calc(100vw - 28px));
  max-height: min(90vh, 860px);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.guide-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.guide-modal__close:hover {
  background: var(--bg);
  color: var(--ink);
}

.guide-modal__title {
  margin: 0 1.5rem 0.85rem 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.guide-modal__scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  margin: 0 0 0.85rem;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.guide-modal__step {
  margin: 0;
  padding: 0.7rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.guide-modal__caption {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.guide-modal__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #0b1520;
  cursor: zoom-in;
}

.guide-modal__img:hover {
  outline: 1px solid rgba(196, 81, 10, 0.35);
}

.guide-modal__actions {
  display: flex;
  justify-content: flex-end;
}

.guide-modal__ok {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.guide-modal__ok:hover {
  background: var(--accent-deep);
}

.guide-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.guide-lightbox[hidden] {
  display: none !important;
}

.guide-lightbox__img {
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  cursor: default;
}

body.guide-open {
  overflow: hidden;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.feat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.2rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.feat:hover {
  border-color: #f0c29a;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feat__ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.feat h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.feat p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— App UI preview (interactive) —— */
.section--stage {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  width: min(1240px, 100%);
}

.stage {
  position: relative;
  border: 1px solid #2a3344;
  border-radius: 16px;
  overflow: hidden;
  background: #0e1116;
  box-shadow: 0 24px 60px rgba(15, 18, 24, 0.18);
  color: #e8eaed;
  min-height: min(78vh, 720px);
}

.stage__chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(180deg, #141922, #0e1116);
  border-bottom: 1px solid #2a3344;
  flex-wrap: wrap;
}

.stage__dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.stage__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a4558;
}

.stage__dots span:nth-child(1) {
  background: #e35d6a;
}
.stage__dots span:nth-child(2) {
  background: #e85d04;
}
.stage__dots span:nth-child(3) {
  background: #3d7eff;
}

.stage__title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #c9d0db;
  margin-right: 0.5rem;
}

.stage__tabs {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.stage__tab {
  border: 1px solid #2a3344;
  background: #161b22;
  color: #9aa3b2;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.stage__tab.is-on {
  background: rgba(232, 93, 4, 0.2);
  border-color: rgba(232, 93, 4, 0.45);
  color: #ffd7b5;
}

.stage__tab:hover:not(.is-on) {
  color: #e8eaed;
  border-color: #3a4558;
}

.stage__view[hidden] {
  display: none !important;
}

.stage__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: min(70vh, 640px);
}

.stage__side {
  padding: 0.9rem 0.75rem;
  border-right: 1px solid #2a3344;
  background: #12171f;
  font-size: 0.78rem;
}

.stage__label {
  color: #9aa3b2;
  margin: 0.35rem 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.stage__pills {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.stage__pills button,
.stage__tags button,
.stage__chip {
  border: 0;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #1c2330;
  color: #9aa3b2;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.stage__pills button.is-on,
.stage__tags button.is-on,
.stage__chip.is-on,
.stage__side li.is-on button {
  background: rgba(232, 93, 4, 0.22);
  color: #ffd7b5;
}

.stage__pills button:hover,
.stage__tags button:hover,
.stage__chip:hover {
  color: #e8eaed;
}

.stage__tags {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stage__tags li {
  margin-bottom: 0.2rem;
}

.stage__tags button {
  width: 100%;
  text-align: left;
  border-radius: 8px;
}

.stage__main,
.stage__servers,
.stage__mods {
  padding: 0.85rem;
  min-width: 0;
}

.stage__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  align-items: center;
}

.stage__search {
  flex: 1 1 140px;
  min-width: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #1c2330;
  border: 1px solid #2a3344;
  color: #e8eaed;
  font: inherit;
  font-size: 0.8rem;
  outline: none;
}

.stage__search::placeholder {
  color: #7a8494;
}

.stage__search:focus {
  border-color: rgba(232, 93, 4, 0.55);
}

.stage__select {
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  background: #1c2330;
  border: 1px solid #2a3344;
  color: #c9d0db;
  font: inherit;
  font-size: 0.75rem;
}

.stage__check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #9aa3b2;
  font-size: 0.78rem;
  user-select: none;
}

.stage__status {
  color: #9aa3b2;
  font-size: 0.75rem;
  margin-bottom: 0.55rem;
  min-height: 1.1em;
}

.stage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.stage__card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2a3344;
  background: #161b22;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.stage__card:hover,
.stage__card:focus-visible {
  border-color: rgba(232, 93, 4, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  outline: none;
}

.stage__card.is-active {
  border-color: #e85d04;
}

.stage__card-cover {
  display: block;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(232, 93, 4, 0.35), transparent 55%),
    linear-gradient(180deg, #243044, #151a22);
}

.stage__card[data-tone="1"] .stage__card-cover {
  background:
    linear-gradient(135deg, rgba(61, 126, 255, 0.35), transparent 55%),
    linear-gradient(180deg, #243044, #151a22);
}
.stage__card[data-tone="2"] .stage__card-cover {
  background:
    linear-gradient(135deg, rgba(227, 93, 106, 0.28), transparent 55%),
    linear-gradient(180deg, #243044, #151a22);
}
.stage__card[data-tone="3"] .stage__card-cover {
  background:
    linear-gradient(135deg, rgba(120, 90, 200, 0.3), transparent 55%),
    linear-gradient(180deg, #243044, #151a22);
}
.stage__card[data-tone="4"] .stage__card-cover {
  background:
    linear-gradient(135deg, rgba(46, 160, 120, 0.3), transparent 55%),
    linear-gradient(180deg, #243044, #151a22);
}

.stage__card-body {
  padding: 0.55rem 0.6rem 0.65rem;
}

.stage__card-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
  color: #e8eaed;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage__card-sub {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: #9aa3b2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #9aa3b2;
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
}

.stage__table-wrap {
  overflow: auto;
  border: 1px solid #2a3344;
  border-radius: 10px;
}

.stage__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.stage__table th,
.stage__table td {
  padding: 0.55rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid #2a3344;
}

.stage__table th {
  color: #9aa3b2;
  font-weight: 600;
  background: #12171f;
}

.stage__table tbody tr {
  cursor: pointer;
  transition: background 0.12s ease;
}

.stage__table tbody tr:hover,
.stage__table tbody tr.is-on {
  background: rgba(232, 93, 4, 0.1);
}

.stage__table td {
  color: #d5dae3;
}

.stage__mod-list {
  display: grid;
  gap: 0.5rem;
}

.stage__mod {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border: 1px solid #2a3344;
  border-radius: 10px;
  background: #161b22;
}

.stage__mod strong {
  display: block;
  font-size: 0.86rem;
}

.stage__mod small {
  color: #9aa3b2;
  font-size: 0.72rem;
}

.stage__mod-actions {
  display: flex;
  gap: 0.4rem;
}

.stage__btn {
  border: 1px solid #2a3344;
  background: #1c2330;
  color: #d5dae3;
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.stage__btn:hover {
  border-color: #3a4558;
  color: #fff;
}

.stage__btn--ok {
  background: #2e7d32;
  border-color: #246628;
  color: #fff;
}

.stage__btn--ok:hover {
  background: #3a9540;
}

.stage__btn--warn {
  background: rgba(227, 93, 106, 0.18);
  border-color: rgba(227, 93, 106, 0.35);
  color: #ffb4bc;
}

.stage__detail {
  position: absolute;
  inset: 42px 0 0;
  display: grid;
  grid-template-columns: minmax(140px, 34%) 1fr;
  background: #0e1116;
  z-index: 5;
  border-top: 1px solid #2a3344;
  animation: stageIn 0.2s ease;
}

.stage__detail[hidden] {
  display: none !important;
}

@keyframes stageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.stage__detail-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #1c2330;
  color: #e8eaed;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.stage__detail-cover {
  background:
    linear-gradient(135deg, rgba(232, 93, 4, 0.4), transparent 55%),
    linear-gradient(180deg, #2a3548, #12171f);
  min-height: 180px;
}

.stage__detail-cover[data-tone="1"] {
  background:
    linear-gradient(135deg, rgba(61, 126, 255, 0.4), transparent 55%),
    linear-gradient(180deg, #2a3548, #12171f);
}
.stage__detail-cover[data-tone="2"] {
  background:
    linear-gradient(135deg, rgba(227, 93, 106, 0.35), transparent 55%),
    linear-gradient(180deg, #2a3548, #12171f);
}
.stage__detail-cover[data-tone="3"] {
  background:
    linear-gradient(135deg, rgba(120, 90, 200, 0.35), transparent 55%),
    linear-gradient(180deg, #2a3548, #12171f);
}
.stage__detail-cover[data-tone="4"] {
  background:
    linear-gradient(135deg, rgba(46, 160, 120, 0.35), transparent 55%),
    linear-gradient(180deg, #2a3548, #12171f);
}

.stage__detail-body {
  padding: 1rem 1.1rem 1.2rem;
  overflow: auto;
}

.stage__detail-crumb {
  margin: 0 0 0.35rem;
  color: #9aa3b2;
  font-size: 0.75rem;
}

.stage__detail-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  padding-right: 2rem;
}

.stage__detail-meta {
  margin: 0 0 0.75rem;
  color: #ffd7b5;
  font-size: 0.8rem;
}

.stage__detail-desc {
  margin: 0 0 1rem;
  color: #9aa3b2;
  font-size: 0.88rem;
  line-height: 1.55;
}

.stage__detail-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stage__detail-tip {
  margin: 0.75rem 0 0;
  color: #7ddea0;
  font-size: 0.8rem;
}

.stage__caption {
  margin: 0.9rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

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

  .stage__side {
    border-right: 0;
    border-bottom: 1px solid #2a3344;
    display: block;
  }

  .stage__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .stage__tags li {
    margin: 0;
  }

  .stage__tags button {
    width: auto;
  }

  .stage__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stage__detail-cover {
    min-height: 120px;
  }

  .stage__tabs {
    margin-left: 0;
    width: 100%;
  }
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  margin-inline: auto;
}

.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps b {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.steps h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Changelog */
.changelog {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
}

.changelog li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}

.changelog li:last-child {
  border-bottom: 1px solid var(--line);
}

.changelog li > span:first-child {
  color: var(--accent-deep);
  font-weight: 700;
}

.changelog li > span:last-child {
  color: var(--muted);
}

/* Download block */
.dl {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}

.dl__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.9rem;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow);
}

.dl h2 {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dl > p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.dl > p strong {
  color: var(--accent-deep);
}

.dl .pill {
  width: min(320px, 100%);
}

.dl__note {
  margin: 1rem auto 0 !important;
  max-width: 36rem;
  font-size: 0.9rem;
}

.dl__contact {
  margin: 1.1rem 0 0 !important;
  font-size: 0.9rem;
}

.footer {
  padding: 2rem var(--pad) 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer p {
  margin: 0.2rem 0;
}

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

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

  .hero__icon {
    width: 104px;
    height: 104px;
    border-radius: 24px;
  }
}

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

  .hero__more,
  .pill,
  .feat {
    animation: none !important;
    transition: none !important;
  }
}

