:root {
  color-scheme: light;
  --paper: #fff8e8;
  --cream: #fffdf6;
  --ink: #1c1c1c;
  --muted: #665f51;
  --coin: #ffd33d;
  --line: #1c1c1c;
  --shadow: rgba(28, 28, 28, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero,
.card {
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: 4px 4px 0 var(--shadow);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
  color: var(--muted);
}

.coin {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--coin);
  font-weight: 900;
}

h1 {
  margin: 12px 0 8px;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 28px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

p,
li {
  font-size: 16px;
}

a {
  color: var(--ink);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--coin);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.card {
  padding: 24px;
  margin: 18px 0;
}

.muted {
  color: var(--muted);
  font-weight: 700;
}

.meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 920px);
    padding-top: 18px;
  }

  .hero,
  .card {
    border-radius: 16px;
    box-shadow: 3px 3px 0 var(--shadow);
  }

  .hero,
  .card {
    padding: 18px;
  }
}
