:root {
  --paper: #f6f1e7; --card: #fffdf8; --ink: #1f1b16; --muted: #6b6257; --line: #e3d9c8;
  --seal: #b23a2b; --seal-ink: #fff8ee; --accent-bg: #efe4d0;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Songti SC", "Noto Serif SC", serif;
  --sans: -apple-system, "Segoe UI", Roboto, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #171411; --card: #211d19; --ink: #efe7da; --muted: #a89c8c; --line: #3a332b; --seal: #d0563f; --accent-bg: #2a231c; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
a { color: var(--seal); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; }
h1 { font-size: clamp(30px, 5vw, 46px); margin: 8px 0 12px; }
h2 { font-size: 24px; margin: 44px 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.muted { color: var(--muted); }
.lede { font-size: 19px; max-width: 720px; }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; color: var(--ink); text-decoration: none; font: 700 19px var(--serif); }
.lang { font-size: 15px; text-decoration: none; border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; }

.hero { padding: 40px 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 0 16px; color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.card > :not(.cover) { margin-left: 16px; margin-right: 16px; }
.card h3 { margin-top: 14px; }
.card p { margin: 4px 16px; font-size: 15px; }
.card .more { margin-top: auto; padding-top: 10px; color: var(--seal); font-size: 15px; }
.cover { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: var(--accent-bg); }
.textcover { display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center;
  background: radial-gradient(circle at 30% 20%, #c4553f, var(--seal) 60%, #7d241a); color: var(--seal-ink); }
.textcover span { font: 700 clamp(22px, 3vw, 30px)/1.3 var(--serif); }

.crumbs { margin-top: 24px; font-size: 15px; }
.book { max-width: 760px; }
.hero-cover { border-radius: 10px; margin: 20px 0; }
.ideas { padding-left: 0; list-style: none; counter-reset: i; }
.ideas li { counter-increment: i; position: relative; padding: 14px 0 14px 52px; border-top: 1px solid var(--line); }
.ideas li::before { content: counter(i); position: absolute; left: 0; top: 14px; width: 36px; height: 36px; border-radius: 6px;
  background: var(--seal); color: var(--seal-ink); font: 700 18px/36px var(--serif); text-align: center; }
.ideas p { margin: 0; }
.try { background: var(--accent-bg); border-left: 4px solid var(--seal); padding: 14px 18px; border-radius: 0 8px 8px 0; }
.video { aspect-ratio: 16 / 9; margin: 20px 0; }
.video iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; }

.btn { display: inline-block; background: var(--seal); color: var(--seal-ink); border: 0; border-radius: 8px; padding: 12px 20px;
  font: 600 16px var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--seal); outline-offset: 2px; }
.cta { margin: 48px 0; padding: 28px; border-radius: 12px; background: var(--accent-bg); }
.cta h2 { margin-top: 0; }

.lists { padding-left: 20px; }
.booklist { list-style: none; padding: 0; display: grid; gap: 28px; max-width: 760px; }
.booklist .note { font-family: var(--serif); font-size: 18px; margin: 0 0 10px; }

.feats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feats li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.feats p { margin: 0; }
.join { margin: 40px 0; padding: 28px; border-radius: 12px; background: var(--accent-bg); max-width: 640px; }
.join h2 { margin-top: 0; }
.join label { display: block; font-weight: 600; margin-bottom: 6px; }
.join .row { display: flex; gap: 10px; flex-wrap: wrap; }
.join input[type=email] { flex: 1 1 240px; min-width: 0; padding: 12px 14px; font: 16px var(--sans); border: 1px solid var(--line);
  border-radius: 8px; background: var(--card); color: var(--ink); }
.hp { position: absolute; left: -9999px; }

.foot { margin-top: 64px; padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot p { margin: 4px 0; }
.watch { font-size: 15px; }
.langs { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: flex-end; font-size: 14px; }
.langs a { text-decoration: none; color: var(--muted); }
.langs a[aria-current] { color: var(--seal); font-weight: 600; }
