:root {
  --bg: #f7f3ed;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #1f2523;
  --muted: #5d6761;
  --line: rgba(31, 37, 35, 0.12);
  --accent: #0f766e;
  --accent-strong: #0b5f58;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --shadow: 0 18px 40px rgba(31, 37, 35, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.07), transparent 28%),
    linear-gradient(180deg, #efe8dc 0%, var(--bg) 42%, #fbf8f3 100%);
}

a {
  color: var(--accent-strong);
}

.page {
  width: min(940px, calc(100% - 24px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.brand,
.back-link {
  text-decoration: none;
  font: 700 0.92rem/1.2 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand {
  color: var(--ink);
}

.back-link {
  color: var(--muted);
}

.hero,
.section {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 36px;
  margin-bottom: 18px;
}

.section {
  padding: 24px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: 700 0.8rem/1.2 Arial, sans-serif;
}

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

h1 {
  font-size: clamp(2.25rem, 4vw, 4rem);
}

h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

p,
li,
td,
th {
  font: 400 1rem/1.6 Arial, sans-serif;
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

.lede {
  max-width: 65ch;
  color: var(--muted);
}

.meta {
  margin-top: 18px;
  color: var(--muted);
  font: 400 0.95rem/1.5 Arial, sans-serif;
}

.cheat-grid,
.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cheat-item,
.decision-card {
  padding: 16px;
  border-radius: 16px;
  background: var(--accent-soft);
}

.cheat-item strong,
.decision-card strong {
  display: block;
  margin-bottom: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid var(--line);
  padding: 12px;
  vertical-align: top;
  text-align: left;
}

th {
  background: #eef6f3;
}

.section ul {
  padding-left: 18px;
}

.source-list li + li {
  margin-top: 10px;
}

.disclaimer {
  color: var(--muted);
}

@media (max-width: 760px) {
  .cheat-grid,
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px;
  }

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