* {
  box-sizing: border-box;
}

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

ul {
  padding-left: 20px;
}

body {
  font-family: Arial, sans-serif;
  background: #f6f2eb;
  color: #2f2a25;
  padding: 32px;
}

.page {
  max-width: 760px;
  margin: 0 auto;
}

.top-nav {
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  background: white;
  border: 1px solid #ddd0bf;
  border-radius: 16px;
}

.top-nav a {
  color: #7c3f00;
  text-decoration: none;
  font-weight: bold;
  margin-right: 16px;
}

.top-nav a:hover {
  text-decoration: underline;
}

h1 {
  margin-top: 0;
}

h2 {
  color: #7c3f00;
}

.page-intro {
  color: #6f6254;
  margin-top: 8px;
  margin-bottom: 24px;
}

.example-card {
  background: white;
  border: 1px solid #ddd0bf;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.example-label {
  font-size: 14px;
  font-weight: bold;
  color: #8a7363;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.code-block {
  margin-top: 16px;
  padding: 16px;
  background: #2a2622;
  color: #f8f4ee;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.5;
}

.highlight-text {
  color: #2a7f62;
  font-weight: bold;
}

#special-note {
  letter-spacing: 0.5px;
  color: #5b7cfa;
}

.ingredients-demo h3,
.ingredients-demo ul,
.child-demo ul,
.generated-text,
.selection-demo,
.combined-demo p,
.combined-demo ul {
  margin-top: 12px;
}

.ingredients-demo li {
  margin-bottom: 8px;
}

.demo-link {
  color: #7c3f00;
  text-decoration: none;
  font-weight: bold;
}

.demo-link:hover {
  text-decoration: underline;
  color: #a64b00;
}

.child-demo li:first-child {
  color: #7c3f00;
  font-weight: bold;
}

.child-demo li:last-child {
  color: #2a7f62;
  text-decoration: underline;
}

.generated-text::before {
  content: "Before: ";
  color: #2a7f62;
  font-weight: bold;
}

.generated-text::after {
  content: " <- After";
  color: #8a7363;
}

.selection-demo::selection {
  background: #111827;
  color: #ffffff;
}

.combined-demo:hover li:first-child::after {
  content: " <- hovered card + first item + after";
  color: #d96c6c;
  font-size: 14px;
}
