:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #62717f;
  --soft: #eef1e7;
  --paper: #f7f3ea;
  --panel: #fffdf7;
  --line: #ddd6c4;
  --forest: #223523;
  --moss: #55724a;
  --leaf: #7fa05c;
  --amber: #d9a441;
  --clay: #a9573c;
  --blue: #476f7d;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.92), rgba(247, 243, 234, 1)),
    radial-gradient(circle at top left, rgba(217, 164, 65, 0.16), transparent 36%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 5vw;
  border-bottom: 1px solid rgba(34, 53, 35, 0.18);
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(34, 53, 35, 0.28);
  border-radius: 8px;
  background: #efe0b7;
  color: var(--forest);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #566472;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--forest);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 900px;
  font-size: clamp(42px, 7vw, 84px);
}

main {
  display: grid;
  gap: 54px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.58fr);
  gap: 34px;
  min-height: 78vh;
  padding: 84px 5vw 44px;
  align-items: end;
  background:
    linear-gradient(115deg, rgba(20, 31, 22, 0.92), rgba(32, 51, 34, 0.76) 44%, rgba(124, 87, 48, 0.38)),
    url("https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/4315040/22fe7e4e8f1d659912d4ec8942fc86c3370ba9ad/capsule_616x353.jpg") center / cover no-repeat;
}

.hero-inner {
  max-width: 880px;
  color: #fffdf5;
}

.eyebrow,
.section-kicker,
.card-kicker {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
}

.section-kicker {
  display: block;
  margin: 0 0 10px;
  color: var(--clay);
}

.lead {
  max-width: 780px;
  margin: 18px 0 0;
  color: inherit;
  font-size: 19px;
}

.hero .lead {
  color: rgba(255, 253, 245, 0.9);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: #fffdf5;
  color: var(--forest);
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fffdf5;
}

.hero-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: rgba(255, 253, 245, 0.12);
  box-shadow: var(--shadow);
  color: #fffdf5;
}

.hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-card-body {
  padding: 18px;
}

.hero-card-body span {
  color: #f5d58a;
  font-size: 13px;
  font-weight: 900;
}

.hero-card-body strong {
  display: block;
  margin-top: 4px;
  font-size: 21px;
}

.hero-card-body p {
  margin: 8px 0 0;
  color: rgba(255, 253, 245, 0.82);
}

.page-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  padding: 58px 5vw 34px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #eef4e8, var(--paper));
}

.page-title h1 {
  font-size: clamp(34px, 5vw, 62px);
}

.page-facts {
  align-self: end;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.82);
}

.page-facts span {
  color: #4d5f67;
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 0 5vw;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section h2 {
  font-size: 32px;
}

.section-band {
  padding-top: 46px;
  padding-bottom: 46px;
  background: #edf2e5;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.meta {
  min-height: 98px;
  padding: 18px;
  background: var(--panel);
}

.meta strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.meta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.guide-card {
  min-height: 188px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(35, 50, 44, 0.06);
  text-decoration: none;
}

.guide-card:hover {
  border-color: rgba(85, 114, 74, 0.56);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.guide-card h3 {
  margin-top: 8px;
  font-size: 21px;
}

.guide-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.card-kicker {
  color: var(--blue);
}

.systems-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.systems-board a {
  min-height: 64px;
  padding: 16px;
  border: 1px solid rgba(34, 53, 35, 0.15);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--forest);
  font-weight: 900;
  text-decoration: none;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--forest);
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 920px) minmax(260px, 320px);
  gap: 24px;
  width: min(1180px, 90vw);
  margin: 0 auto;
  align-items: start;
}

.content {
  max-width: 920px;
}

.article-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 12px 28px rgba(35, 50, 44, 0.07);
}

.answer-box {
  padding: 18px 20px;
  border: 1px solid rgba(85, 114, 74, 0.26);
  border-radius: 10px;
  background: #eef3e7;
}

.answer-box span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.answer-box p {
  margin: 6px 0 0;
  color: var(--forest);
  font-size: 18px;
  font-weight: 800;
}

.article-sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 14px;
}

.toc-panel {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.toc-panel strong,
.toc-panel a {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13px;
}

.toc-panel strong {
  color: var(--forest);
}

.toc-panel a {
  background: #eef3e7;
  color: #43583e;
  font-weight: 800;
  text-decoration: none;
}

.sidebar-panel {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.sidebar-panel strong {
  color: var(--forest);
  font-size: 14px;
}

.sidebar-panel a {
  padding: 9px 10px;
  border-radius: 8px;
  background: #f2eee2;
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.sidebar-panel a span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.content h2 {
  margin-top: 34px;
  font-size: 28px;
}

.content h3 {
  margin-top: 22px;
  font-size: 20px;
}

.content p,
.content li {
  color: #364656;
}

.content a {
  color: var(--forest);
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  border-radius: 0 8px 8px 0;
  background: #fffdf7;
}

.source-list {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf7;
}

.site-footer {
  margin-top: 24px;
  padding: 28px 5vw 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fffaf0;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }

  .hero,
  .page-title,
  .split-layout,
  .faq-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-card {
    max-width: 520px;
  }

  .meta-grid,
  .guide-grid,
  .systems-board {
    grid-template-columns: 1fr;
  }

  .article-layout {
    width: min(100% - 32px, 720px);
  }

  .article-card {
    padding: 18px;
  }

  .article-sidebar {
    position: static;
    order: -1;
  }
}
