:root {
  --bg: #f7f1e8;
  --paper: #fffaf3;
  --ink: #2b1d16;
  --muted: #6e5a4c;
  --brand: #4a2e22;
  --accent: #b9875a;
  --line: #e6d9c8;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 var(--serif); color: var(--brand); }
.brand img { width: 36px; height: 36px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { text-decoration: none; font-weight: 600; font-size: 15px; }

h1, h2, h3 { font-family: var(--serif); color: var(--brand); line-height: 1.25; }
h1 { font-size: clamp(30px, 5vw, 42px); margin: 8px 0 12px; }
h2 { font-size: 26px; margin: 36px 0 10px; }
h3 { font-size: 20px; margin: 26px 0 8px; }

.hero-home { padding: 48px 0 24px; max-width: 720px; }
.hero-home p { font-size: 19px; color: var(--muted); }
.intro { max-width: 720px; padding: 24px 0 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 20px 0 48px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s ease; }
.card:hover { transform: translateY(-2px); color: var(--ink); }
.card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.card-title { font: 700 18px/1.3 var(--serif); color: var(--brand); }
.card-desc { font-size: 14.5px; color: var(--muted); }

.article { max-width: 720px; margin: 0 auto; padding: 16px 0 24px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.byline { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.disclosure { background: var(--paper); border-left: 4px solid var(--accent); padding: 10px 14px; font-size: 14.5px; color: var(--muted); border-radius: 0 6px 6px 0; }
.hero { margin: 22px auto; max-width: 480px; }
.hero img { border-radius: 10px; }
figure { margin: 22px 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; text-align: center; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin: 6px 0; }
.tip { background: #f1e6d6; border-radius: 8px; padding: 12px 16px; margin: 20px 0; }
.tip strong { color: var(--brand); }
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px; }
th, td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { font-family: var(--serif); color: var(--brand); background: var(--paper); }
.table-wrap { overflow-x: auto; }

.product { display: grid; grid-template-columns: 180px 1fr; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin: 20px 0; }
.product img { border-radius: 6px; }
.product h3 { margin-top: 0; }
.btn { display: inline-block; background: var(--brand); color: #fff; padding: 9px 16px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn:hover { background: var(--accent); color: #fff; }

.related { max-width: 1080px; margin: 0 auto; }
.related h2 { margin-top: 12px; }

.site-footer { background: var(--brand); color: #efe3d3; margin-top: 40px; padding: 28px 0; font-size: 14px; }
.site-footer a { color: #fff; }

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .product { grid-template-columns: 1fr; }
  .product img { max-width: 260px; }
  .hero-home { padding-top: 28px; }
}
