@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap");

:root {
  --cream: #f7f2e5;
  --paper: #fffdf7;
  --sand: #eadfc9;
  --blush: #f0d8cb;
  --terra: #744834;
  --sage: #4f6b52;
  --ink: #2f3b30;
  --muted: #667166;
  --line: #d9d8c6;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 5% 2%, rgba(229, 176, 90, 0.08), transparent 25%),
    var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 4px; }

.shell { width: min(calc(100% - 40px), 1080px); margin-inline: auto; }
.header {
  border-bottom: 1px solid rgba(79, 107, 82, 0.16);
  background: rgba(247, 242, 229, 0.95);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 205px; height: auto; }
.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { background: #dce8d3; color: var(--ink); }

.page-hero {
  padding: clamp(68px, 9vw, 116px) 0 clamp(55px, 7vw, 86px);
  background:
    radial-gradient(circle at 88% 12%, rgba(229, 176, 90, 0.25), transparent 24%),
    radial-gradient(circle at 10% 48%, rgba(126, 155, 104, 0.18), transparent 28%),
    linear-gradient(135deg, #f7f2e5 0%, #edf1df 100%);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--terra);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
h1 { max-width: 850px; margin-bottom: 20px; font-size: clamp(3rem, 7vw, 5.4rem); }
h2 { margin-bottom: 16px; font-size: clamp(1.65rem, 3vw, 2.2rem); }
h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }
p { margin-top: 0; }
.lead { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }

.content { padding: 70px 0 100px; }
.article-body { width: min(100%, 820px); margin-inline: auto; }
.article-body section { margin-bottom: 42px; }
.article-body p, .article-body li { color: var(--muted); }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--terra); font-weight: 600; text-underline-offset: 3px; }
.article-body ul { padding-left: 1.3rem; }
.article-body li { margin-bottom: 10px; }
.notice {
  margin: 30px 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.notice p:last-child { margin-bottom: 0; }

.category-grid, .review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.category-card, .review-card {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover, .review-card:hover {
  box-shadow: 0 18px 40px rgba(58, 75, 56, 0.12);
  transform: translateY(-5px) rotate(-0.4deg);
}
.category-grid .category-card:nth-child(3n + 1),
.review-grid .review-card:nth-child(3n + 1) { background: #e3ecd9; }
.category-grid .category-card:nth-child(3n + 2),
.review-grid .review-card:nth-child(3n + 2) { background: #e2eeea; }
.category-grid .category-card:nth-child(3n),
.review-grid .review-card:nth-child(3n) { background: #f4e4d2; }
.category-card span, .review-card span {
  color: var(--terra);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.category-card p, .review-card p { margin: 8px 0 0; color: var(--muted); font-size: 0.86rem; }
.review-card { min-height: 230px; }

.footer {
  background: linear-gradient(105deg, #2f4635, #3c5440);
  color: rgba(255, 255, 255, 0.72);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding: 52px 0 40px;
}
.footer-logo {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--paper);
}
.footer-logo img { width: 180px; }
.footer-copy { max-width: 430px; margin: 18px 0 0; font-size: 0.86rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }
.footer-links a { display: inline-flex; min-height: 38px; align-items: center; color: rgba(255, 255, 255, 0.8); font-size: 0.8rem; font-weight: 600; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
}

@media (max-width: 820px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 10px; padding: 17px 0 14px; }
  .nav-list { justify-content: flex-start; }
  .category-grid, .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), 1080px); }
  .brand img, .footer-logo img { width: 170px; }
  .nav-list { gap: 1px 3px; }
  .nav-list a { min-height: 40px; padding: 7px 9px; font-size: 0.78rem; }
  .category-grid, .review-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 54px; }
}
