:root {
  --bg: #fbf8f3; --surface: #ffffff; --text: #26302a; --muted: #5f6b63;
  --green: #2f6b4a; --green-soft: #e4efe7; --terra: #c2603c; --line: #e3ddd2;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.65 Georgia, "Times New Roman", serif; }
h1, h2, h3, nav, .kicker, .card, .site-footer, .disclosure, .toc, table, .logo {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.wrap.wide, .site-header .wrap, .site-footer .wrap { max-width: 1080px; }
a { color: var(--green); }
img, svg { max-width: 100%; display: block; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { font-weight: 800; font-size: 1.35rem; color: var(--green); text-decoration: none; letter-spacing: -0.02em; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.95rem; }
.site-header nav a { color: var(--text); text-decoration: none; padding: 4px 0; }
.site-header nav a:hover { color: var(--green); text-decoration: underline; }

main { padding-top: 32px; padding-bottom: 56px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0.2em 0 0.4em; }
h2 { font-size: 1.5rem; line-height: 1.25; margin: 2em 0 0.5em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 0.4em; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 0; }
.kicker { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--terra); font-weight: 700; margin: 0; }
.kicker a { color: inherit; text-decoration: none; }
.disclosure { font-size: 0.85rem; background: var(--green-soft); border-radius: 8px; padding: 10px 14px; color: var(--text); }
.hero-art { border-radius: var(--radius); overflow: hidden; margin: 20px 0 28px; aspect-ratio: 16 / 8; }
.hero-art svg { width: 100%; height: 100%; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; font-size: 0.95rem; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.tipp { background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 1.4em 0; }
article li { margin-bottom: 0.35em; }
.amz { font-weight: 600; }
.amz-star { color: var(--terra); font-weight: 700; margin-left: 1px; }

.table-wrap { overflow-x: auto; margin: 1.4em 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; background: var(--surface); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--green-soft); }

.intro { max-width: 720px; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(38, 48, 42, .1); }
.card-art { aspect-ratio: 16 / 9; }
.card-art svg { width: 100%; height: 100%; }
.card-body { padding: 16px 18px 20px; }
.card h3 { margin: 6px 0 6px; font-size: 1.1rem; line-height: 1.3; }
.card p { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.related { margin-top: 56px; border-top: 1px solid var(--line); }

.site-footer { background: var(--surface); border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); padding: 24px 0 32px; }
.site-footer p { margin: 0 0 8px; }
