@font-face {
  font-family: RobotoLocal;
  src: url("/material/leseschrift.woff2") format("woff2");
  font-display: swap;
}
:root {
  --ink: #263d32;
  --forest: #203d2f;
  --muted: #4f6256;
  --rust: #943f32;
  --paper: #fffcf5;
  --sage: #edf0e3;
  --peach: #f9e9d8;
  --rule: #d7d9c8;
  --serif: "STIX Two Text", Georgia, "Times New Roman", serif;
  --sans: RobotoLocal, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.58 var(--sans);
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--rust); }
:focus { outline: 3px solid #a85824; outline-offset: 4px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid #a85824; outline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; }
.skip { position: absolute; z-index: 20; left: 1rem; top: -5rem; background: white; padding: 8px; }
.skip:focus { top: .4rem; }
.wrap { max-width: 1184px; width: calc(100% - 88px); margin: 0 auto; }
.masthead { border-bottom: 1px solid var(--rule); background: #fffcf4; }
.top, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top { min-height: 82px; }
.brand { display: inline-flex; gap: 12px; align-items: center; font: 600 1.48rem/1.05 var(--serif); color: #382f2a; white-space: nowrap; text-decoration: none; }
.brand img { width: 42px; }
nav { display: flex; gap: 1.8rem; align-items: center; }
nav a { font-size: .96rem; text-decoration: none; padding: 8px 0; }
nav a[aria-current="page"] { color: var(--rust); text-decoration: underline; }
nav a:hover, footer a:hover { text-decoration: underline; }
.hero { background: linear-gradient(110deg, #f8ebd9 0%, #fff4dc 54%, #f0f0d7 100%); border-bottom: 1px solid #e1dcc5; }
.hero-inner, .split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(32px,5vw,76px); }
.hero-inner { grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); min-height: 508px; padding: 62px 0; gap: 18px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; mix-blend-mode: multiply; }
.kicker { font: 600 .78rem/1.5 var(--sans); letter-spacing: .13em; color: var(--rust); text-transform: uppercase; margin: 0 0 13px; }
h1, h2, h3, .opening { color: var(--forest); font-family: var(--serif); font-weight: 500; text-wrap: pretty; }
h1 { font-size: clamp(2.7rem,5.1vw,4.75rem); line-height: 1.03; letter-spacing: -.042em; }
h1 em { font-weight: 400; color: var(--rust); }
h2 { font-size: clamp(2rem,3.55vw,3.2rem); line-height: 1.09; letter-spacing: -.034em; }
h3 { font-size: 1.55rem; line-height: 1.16; }
p + p { margin-top: .75rem; }
.lead { font-size: 1.13rem; max-width: 47ch; margin-top: 20px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.3rem; margin-top: 23px; }
.btn { min-height: 46px; border: 1px solid var(--forest); border-radius: 999px; padding: 10px 21px; display: inline-flex; align-items: center; justify-content: center; background: var(--forest); color: white; text-decoration: none; cursor: pointer; font-weight: 600; text-align: center; line-height: 1.32; }
.btn:hover { background: #385a43; color: white; }
.textlink { font-weight: 600; }
.section { padding: clamp(42px,5.7vw,80px) 0; }
.tinted { background: var(--sage); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.rose { background: #fbefdf; border-bottom: 1px solid #ded9c8; }
.banner { padding: clamp(42px,4.8vw,66px) 0; }
.banner .split { grid-template-columns: minmax(0,1.22fr) minmax(0,.78fr); }
.banner .body { max-width: 620px; }
.scene { max-width: 418px; width: 100%; margin: 0 auto; }
.scene img { width: 100%; }
.scene.paper img { border-radius: 12px; }
.bookscene { display: flex; justify-content: center; }
.bookscene img { width: min(250px,82%); transform: rotate(3deg); box-shadow: 5px 9px 16px #493b2433; border-radius: 1px 5px 5px 1px; }
.shelf { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); }
.shelf .bookscene { background: #f4e7d0; border-radius: 18px; padding: 31px; }
.shelf .bookscene img { width: min(168px,74%); }
.shelf .lead { max-width: 52ch; }
.sectionhead { max-width: 52rem; margin-bottom: 24px; }
.sectionhead p, .prose > p { margin-top: .8rem; }
.pair, .traits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.card { display: flex; align-items: center; gap: 21px; background: #fffaf0; border: 1px solid #d5dac5; border-radius: 16px; padding: 27px; text-decoration: none; }
.card:hover { background: #fffdf6; border-color: #9eac91; }
.card img { flex: 0 0 auto; width: 66px; }
.card p { font-size: .99rem; color: var(--muted); margin-top: 7px; }
.card .action { display: inline-block; font-size: .94rem; font-weight: 600; text-decoration: underline; margin-top: 12px; }
.traits { grid-template-columns: repeat(3,minmax(0,1fr)); }
.trait img { width: 52px; margin-bottom: 14px; }
.trait p { margin-top: 7px; max-width: 32ch; }
.reader { max-width: 924px; }
.spread { margin: 0 0 48px; }
.spread:last-child { margin-bottom: 0; }
.spread h2 { font-size: clamp(1.7rem,3vw,2.4rem); margin: 0 0 12px; }
.spread figure > a { display: block; border-radius: 5px; }
.spread img { width: 100%; border: 1px solid #d9cebb; border-radius: 5px; }
.caption { color: var(--muted); font-size: .9rem; margin-top: 8px; }
details { margin-top: .8rem; }
summary { color: var(--forest); font-weight: 600; cursor: pointer; }
details p { max-width: 62ch; margin-top: .55rem; }
.prose { max-width: 66ch; }
.prose h2, .prose h3 { margin-top: 2rem; }
.bookway { color: var(--muted); font-size: .94rem; margin-top: .65rem; }
.codeform { max-width: 32rem; margin-top: 24px; }
.codeform label, .market label { display: block; font-size: .99rem; font-weight: 600; margin-bottom: .35rem; }
.controls { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.codeform input, .market select { background: #fffefa; border: 1px solid #788a78; border-radius: 8px; padding: 9px 12px; min-height: 46px; }
.codeform input { width: 6.4rem; font-size: 1.18rem; letter-spacing: .15em; }
.codeform [role="alert"] { color: #8c2826; font-weight: 600; margin: .55rem 0; }
.hint { color: var(--muted); font-size: .93rem; margin-top: 11px; }
.pathlist { margin: 1rem 0 0; padding-left: 1.35rem; }
.pathlist li { margin: .4rem 0; }
.outline { background: #fffcf5; border: 1px solid var(--rule); border-radius: 12px; padding: clamp(20px,3vw,34px); }
.outline h3 { margin-bottom: 8px; }
.market { margin-top: 1rem; }
.wish { background: #f6f1e7; border-left: 3px solid #bb9276; margin: 13px 0; padding: 13px 17px; max-width: 55ch; overflow-wrap: anywhere; }
.copy-note { color: var(--muted); font-size: .94rem; }
.paper-preview { width: min(220px,76%); margin: auto; transform: rotate(2deg); box-shadow: 4px 8px 13px #65492a35; }
.foot { padding: 27px 0; align-items: flex-start; }
.foot .brand { font-size: 1.1rem; margin-bottom: 9px; }
.foot .brand img { width: 29px; }
.legal { font-size: .82rem; color: var(--muted); }
.foot nav { gap: 18px; }
.foot nav a { font-size: .92rem; }
[hidden] { display: none !important; }
@media (max-width: 820px) {
  .wrap { width: calc(100% - 48px); }
  .hero-inner { min-height: 425px; }
  .top nav { gap: 18px; }
  .pair { gap: 12px; }
  .card { padding: 20px; gap: 15px; }
  .card img { width: 48px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .top { align-items: flex-start; padding: 14px 0 8px; flex-direction: column; gap: 4px; }
  .brand { font-size: 1.25rem; gap: 9px; }
  .brand img { width: 33px; }
  .top nav { width: 100%; gap: 10px 23px; flex-wrap: wrap; }
  nav a { padding: 5px 0; font-size: .9rem; }
  .hero-inner, .split, .banner .split, .shelf { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .hero-inner { min-height: 0; padding: 35px 0 20px; gap: 8px; }
  .hero-art { max-width: 460px; width: 100%; margin: 0 auto; }
  .banner { padding: 34px 0; }
  .banner .scene { max-width: 305px; }
  .bookscene img { width: 165px; }
  .lead { font-size: 1.04rem; margin-top: 14px; }
  .actions { margin-top: 19px; }
  .shelf .bookscene { padding: 22px; }
  .shelf .bookscene img { width: 131px; }
  .pair, .traits { grid-template-columns: minmax(0,1fr); }
  .trait { display: grid; grid-template-columns: 45px minmax(0,1fr); gap: 0 16px; }
  .trait img { width: 45px; grid-row: span 2; }
  .trait p { margin: 3px 0 11px; }
  .paper-preview { width: 165px; }
  .foot { flex-wrap: wrap; padding: 22px 0; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 28px); }
  .top nav { gap: 10px 16px; }
  h1 { font-size: 2.43rem; }
}
@media print {
  .skip, .masthead, .foot nav, .actions, .codeform { display: none; }
  :root, body, .section, .hero { background: white; }
  .wrap { width: 100%; }
  .spread { break-inside: avoid; }
}
/* Use explicit spacing for older mobile WebKit and embedded book browsers. */
.brand, nav, .actions, .controls, .card, .foot nav { gap: 0; }
.brand img { margin-right: 12px; }
.top nav a + a { margin-left: 1.8rem; }
.foot nav a + a { margin-left: 18px; }
.actions > * { margin: 0 1.25rem .4rem 0; }
.controls > * { margin: 0 .65rem .3rem 0; }
.card > img { margin-right: 21px; }
.hero-art img { filter: brightness(1.02); }
.outline h2 + p { margin-top: .75rem; }
.prose > h2:first-child { margin-top: 0; }
@media (max-width: 820px) {
  .top nav a + a { margin-left: 18px; }
  .card > img { margin-right: 15px; }
}
@media (max-width: 650px) {
  .top nav { gap: 0; margin-top: 5px; }
  .top nav a + a { margin-left: 18px; }
  .brand img { margin-right: 9px; }
}
@media (max-width: 350px) {
  .top nav a + a { margin-left: 13px; }
}

.direct-download {
  min-height: 44px;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: .22em;
}
.direct-download:hover { color: var(--rust); }
