:root {
  --bg: #faf6f0; --fg: #26231f; --muted: #6f675d; --card: #ffffff; --line: #e7ded2;
  --petrol: #1f5f66; --petrol-fg: #ffffff; --wood: #b07a4a; --note: #f1ebe2; --todo: #fde7c7;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #181614; --fg: #eee7dd; --muted: #a99f92; --card: #221f1c; --line: #34302b;
    --petrol: #6fb6bd; --petrol-fg: #10201f; --wood: #d39b67; --note: #26221e; --todo: #4a3a1f; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 18px/1.65 Charter, "Iowan Old Style", Georgia, serif; }
a { color: var(--petrol); }

header.site, main, footer.site { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.site { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; gap: 12px; flex-wrap: wrap; font-family: system-ui, sans-serif; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); text-decoration: none; }
nav a { margin-left: 16px; color: var(--fg); text-decoration: none; font-size: 15px; }
nav a:first-child { margin-left: 0; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 8px 0 18px; letter-spacing: -0.01em; }
h2 { font-size: 24px; margin: 36px 0 10px; }
article img { max-width: 100%; }
table { border-collapse: collapse; width: 100%; font: 15px/1.5 system-ui, sans-serif; margin: 16px 0; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.meta, .muted { color: var(--muted); font: 14px system-ui, sans-serif; }
.small { font-size: 13px; }
.fiction { background: var(--note); border-left: 4px solid var(--wood); padding: 10px 14px; font: 15px/1.5 system-ui, sans-serif; color: var(--muted); }
.todo { background: var(--todo); padding: 10px 14px; font: 600 15px system-ui, sans-serif; }
.lead { font-size: 21px; color: var(--muted); }
.btn { display: inline-block; background: var(--petrol); color: var(--petrol-fg); padding: 12px 22px; border-radius: 999px; font: 600 16px system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.ad { display: inline-block; font: 600 11px system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.hero { display: flex; gap: 28px; align-items: center; margin: 28px 0 12px; }
.hero img { flex: none; border-radius: 50%; background: var(--note); }
.hero p { color: var(--muted); }
.section { font-family: system-ui, sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cards { display: grid; gap: 14px; }
.card { display: grid; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--fg); text-decoration: none; }
.card strong { font-size: 20px; line-height: 1.3; }
.card span:last-child { color: var(--muted); font: 15px/1.5 system-ui, sans-serif; }
.promo, .buy { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 36px 0; }
.promo h2 { margin: 6px 0; font-size: 22px; }
.promo p { margin: 0; color: var(--muted); font: 15px/1.5 system-ui, sans-serif; }
.buy strong { font: 700 28px system-ui, sans-serif; }
.product-hint { background: var(--note); border-radius: 12px; padding: 14px 18px; font: 15px/1.55 system-ui, sans-serif; margin: 28px 0; }
footer.site { margin-top: 64px; padding-top: 18px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font: 14px/1.5 system-ui, sans-serif; }
footer.site a { color: var(--muted); }
@media (max-width: 640px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .hero img { width: 96px; height: 96px; }
  .promo, .buy { flex-direction: column; align-items: flex-start; }
}

footer.site .disclosure { font-size: .75rem; color: #746d64; }
