:root { --paper: #f7f8fb; --ink: #142033; --line: #2457c5; --muted: #5c6774; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Atkinson Hyperlegible", sans-serif; font-size: 1.05rem; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--line); }
.top { display: flex; align-items: center; gap: 16px; padding: 14px 4vw; background: #fff; border-bottom: 2px solid var(--line); position: sticky; top: 0; z-index: 5; }
.logo { margin-right: auto; color: var(--ink); text-decoration: none; font-family: "Roboto Slab", serif; font-weight: 600; }
.top nav { display: flex; gap: 16px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 700; }
.top nav a[aria-current="page"] { color: var(--line); }
.nav-btn { display: none; flex-shrink: 0; background: var(--line); color: #fff; border: 0; font: inherit; font-weight: 700; padding: 8px 12px; cursor: pointer; }
.book { max-width: 920px; margin: 0 auto; padding: 10px 4vw 30px; }
.row { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid #d5dbe3; }
.row h1, .row h2 { font-family: "Roboto Slab", serif; font-weight: 500; font-size: 1.35rem; line-height: 1.25; margin: 0; }
.row p { margin: 0 0 10px; }
.row p:last-child { margin: 0; }
.shot { padding: 18px 0; border-bottom: 1px solid #d5dbe3; }
.shot figcaption { margin-top: 8px; color: var(--muted); }
.foot { max-width: 920px; margin: 0 auto; padding: 8px 4vw 28px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.copy { margin: 10px 0 0; color: var(--muted); font-size: 0.92rem; }
.form { display: grid; gap: 8px; max-width: 460px; }
.form input, .form textarea { font: inherit; border: 0; border-bottom: 2px solid var(--line); background: transparent; padding: 10px 0; color: var(--ink); }
.form button { justify-self: start; margin-top: 8px; background: var(--line); color: #fff; border: 0; font: inherit; font-weight: 700; padding: 10px 16px; cursor: pointer; }
.modal { position: fixed; inset: 0; background: rgba(20,32,51,.55); display: grid; place-items: center; z-index: 30; padding: 20px; }
.modal[hidden] { display: none; }
.modal__card { background: #fff; width: min(420px, 100%); padding: 22px; border-top: 6px solid var(--line); }
.modal__card h2 { font-family: "Roboto Slab", serif; font-size: 1.6rem; margin: 0 0 8px; }
.modal__card button { margin-top: 10px; background: var(--ink); color: #fff; border: 0; font: inherit; padding: 8px 14px; cursor: pointer; }
@media (max-width: 840px) {
  .nav-btn { display: inline-block; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; padding: 8px 4vw 12px; border-bottom: 2px solid var(--line); }
  .top nav.is-open { display: flex; }
  .row { grid-template-columns: 1fr; gap: 8px; }
}
