:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --ink: #212f29;
  --green: #295d49;
  --line: #c9cec1;
  --muted: #536053;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, Georgia, serif;
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b65d33; outline-offset: 4px; }
::selection { background: #d4e4c7; color: #19332c; }
.wrap { width: min(1200px, calc(100% - clamp(36px, 9vw, 144px))); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 1; padding: .7em; background: white; }
.skip:focus { top: 1rem; }
.mast, .mast nav, .brand, .foot { display: flex; align-items: center; }
.mast { min-height: 86px; justify-content: space-between; border-bottom: 2px solid var(--ink); }
.brand { gap: 12px; font: 700 clamp(23px, 2vw, 30px)/1 var(--serif); letter-spacing: .055em; }
.book { display: inline-block; width: 31px; height: 36px; background: url(/journal/book.svg) center / contain no-repeat; transform: rotate(-5deg); }
.mast nav { gap: clamp(16px, 3vw, 42px); font-weight: 550; }
.mast nav a { padding-block: .7em; }
.mast nav .product { padding-left: clamp(14px, 2.5vw, 32px); border-left: 1px solid var(--line); }
.product span { color: var(--green); }
.mast nav a:hover, .foot a:hover { text-decoration: underline; text-underline-offset: .25em; }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; }
#articles { padding-block: clamp(56px, 12vh, 144px); }
#articles h1 { font: 700 clamp(40px, 6vw, 80px)/1.2 var(--serif); }
#articles p { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 24px; font-size: 18px; color: var(--muted); }
.foot { gap: 12px; flex-wrap: wrap; justify-content: space-between; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 590px) {
  .mast { min-height: 65px; }
  .brand { gap: 6px; }
  .book { width: 24px; height: 29px; }
  .mast nav { font-size: 15px; }
  .foot { font-size: 13px; }
}
