:root { color-scheme: light; --paper: #fcf6e9; --ink: #2c4036; --muted: #5a6358; --line: #d8dccb; --orange: #ac491f; }
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.wrap { max-width: 76rem; margin: auto; padding-inline: clamp(1.2rem, 4vw, 3rem); }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 2; background: white; padding: .75rem; }
.skip-link:focus { top: 1rem; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; font-size: 1.15rem; font-weight: 850; letter-spacing: -.04em; }
.wordmark span { font-weight: 450; }
.site-header nav { font-size: .9rem; }
.book-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(2rem, 5vw, 5rem); padding-block: 3.5rem 4rem; }
.cover { margin: 0; }
.cover img { display: block; width: 100%; height: auto; box-shadow: 0 1.3rem 3rem #2c40361a; }
.cover figcaption { margin-top: 1.2rem; max-width: 40ch; color: var(--muted); font-size: .85rem; }
.eyebrow { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; font-size: .75rem; }
h1 { font-size: clamp(2.4rem, 4.1vw, 4.1rem); line-height: 1.05; letter-spacing: -.055em; margin: 0 0 1.3rem; }
h1 span { color: var(--orange); }
.intro { font-size: 1.1rem; max-width: 45ch; }
.ownership { color: var(--muted); font-size: .85rem; }
.format-nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-block: 1.5rem; font-weight: 650; font-size: .9rem; }
.formats { display: grid; gap: 1rem; }
.format-card { padding: clamp(1.25rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: .6rem; background: #fffdf7; scroll-margin-top: 1.5rem; }
.format-card:target { border-color: var(--orange); box-shadow: 0 0 0 2px #ac491f28; }
.format-label { text-transform: uppercase; font-size: .7rem; font-weight: 750; letter-spacing: .13em; color: var(--orange); margin: 0 0 .4rem; }
h2 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -.025em; margin: 0; }
.format-card p:not(.format-label) { font-size: .95rem; margin-block: .8rem 1.1rem; }
.button { display: inline-flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 2.8rem; padding: .75rem 1rem; border-radius: .25rem; background: var(--ink); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 650; }
.button:hover { background: #425a49; }
.purchase-note { font-size: .82rem; color: var(--muted); margin-top: 1.4rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 700px) {
  .book-layout { display: flex; flex-direction: column; gap: 2rem; padding-block: 2rem; }
  .book-copy { order: -1; width: 100%; }
  h1 { font-size: clamp(2.25rem, 9vw, 3.7rem); }
  .cover { max-width: 24rem; width: 100%; align-self: center; }
  .button { width: 100%; }
}
