:root {
  --sky: #7ec8e8;
  --cream: #fff6e4;
  --wood: #c4956a;
  --ink: #5d3a1a;
  --leaf: #3e8c36;
  --card: #fffaf1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(#7ec8e8, #d4f1f9 38%, #8ed48a 100%);
  min-height: 100vh;
  line-height: 1.6;
}

.hero,
.card,
footer {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 20px;
}

.hero {
  padding-top: 48px;
}

.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--leaf);
  font-weight: 700;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 46px);
}

.meta,
.package {
  margin: 4px 0;
  color: #6e4324;
}

.card {
  background: var(--card);
  border: 3px solid var(--wood);
  border-radius: 24px;
  box-shadow: 0 12px 0 #6e4324;
  margin-bottom: 40px;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.toc button {
  border: 2px solid var(--wood);
  background: #ffe8c2;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.toc button:hover,
.toc button:focus {
  background: #ffd54f;
}

section {
  padding: 8px 0 16px;
  border-top: 1px dashed #e8c9a0;
}

section:first-of-type {
  border-top: 0;
}

a {
  color: var(--leaf);
  font-weight: 700;
}

footer {
  text-align: center;
  padding-bottom: 40px;
}

@media (max-width: 640px) {
  .card {
    box-shadow: 0 8px 0 #6e4324;
  }
}
