:root {
  --bg: #eef0e8;
  --card: #f8f6ef;
  --card2: #eee7d7;
  --border: #c4b99f;
  --ink: #232a25;
  --soft: #667065;
  --green: #678b69;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  width: min(1040px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 14px 26px;
  position: relative;
}

.card {
  background: rgba(248, 246, 239, 0.94);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(37, 43, 39, 0.08);
}

.headerCard {
  padding: 18px 20px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 0.98;
}

.headerCard p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 10px;
  color: var(--soft);
  line-height: 1.55;
}

.contentCard {
  padding: clamp(18px, 3vw, 28px);
}

.contentCard > h2 {
  margin-bottom: 18px;
  font-size: clamp(22px, 3vw, 30px);
}

.sectionItem,
.faqItem {
  border-top: 1px solid rgba(196, 185, 159, 0.78);
  padding-top: 16px;
  margin-top: 16px;
}

.sectionItem:first-of-type,
.faqItem:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.sectionItem h2,
.faqItem h2,
.sectionItem h3 {
  margin-bottom: 8px;
  font-size: clamp(18px, 2vw, 23px);
}

.sectionItem p,
.faqItem p,
.sectionItem li {
  color: var(--soft);
  line-height: 1.58;
}

.inlineList,
.stepList {
  margin: 10px 0 0;
  padding-left: 20px;
}

.inlineList li,
.stepList li {
  margin: 7px 0;
}

.calloutGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 4px;
}

.calloutGrid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.callout {
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card2);
}

.callout strong {
  display: block;
  margin-bottom: 6px;
}

.callout span {
  color: var(--soft);
  line-height: 1.45;
  font-size: 14px;
}

.gameCard {
  color: var(--ink);
  text-decoration: none;
}

.gameCardTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.gameCardTitle strong {
  margin-bottom: 0;
}

.gameIcon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(37, 43, 39, 0.12);
}

.gameCard:hover {
  border-color: var(--green);
}

.noteBox {
  margin: 14px 0 4px;
  padding: 14px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #edf2e9;
}

.noteBox strong {
  display: block;
  margin-bottom: 5px;
}

.noteBox p {
  color: var(--soft);
  line-height: 1.55;
}

.miniTable {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.miniTable th,
.miniTable td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(196, 185, 159, 0.7);
  vertical-align: top;
}

.miniTable tr:last-child th,
.miniTable tr:last-child td {
  border-bottom: 0;
}

.miniTable th {
  width: 30%;
  background: var(--card2);
}

.relatedGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.relatedGrid a {
  display: block;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f4efe4;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.relatedGrid a span {
  display: block;
  margin-top: 4px;
  color: var(--soft);
  font-weight: 500;
  line-height: 1.4;
  font-size: 14px;
}

.relatedGrid a:hover {
  border-color: var(--green);
}

.siteFooter {
  margin-top: 12px;
  padding: 8px 4px 0;
}

.footerNav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  color: var(--soft);
  font-size: 12px;
}

.footerNav a {
  color: var(--soft);
  text-decoration: none;
  line-height: 1.45;
}

.footerNav a + a::before {
  content: "|";
  margin: 0 8px;
  color: var(--border);
}

.footerNav a:hover,
.footerNav a[aria-current='page'] {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 720px) {
  .page {
    padding-top: 18px;
  }

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

  .calloutGrid.two,
  .relatedGrid {
    grid-template-columns: 1fr;
  }

  .miniTable th,
  .miniTable td {
    display: block;
    width: 100%;
  }
}
