:root {
  color-scheme: light;
  --navy: #0b1b32;
  --ink: #102640;
  --gold: #ffc04a;
  --cyan: #61dcf6;
  --mint: #e8f8f5;
  --teal: #086857;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fafcfd;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid #168eac; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.top, .hero, footer { background: var(--navy); color: white; }
.top { border-bottom: 1px solid #283b53; }
.nav { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: .7rem; align-items: center; font-weight: 800; text-decoration: none; }
.brand span { width: 14px; height: 14px; border: 4px solid var(--gold); border-radius: 50%; }
nav { display: flex; gap: 1.5rem; }
nav a { font-size: .94rem; text-decoration: none; }
nav a:hover, .brand:hover { color: var(--cyan); }
.hero {
  background-image: radial-gradient(ellipse at 84% 58%, #153e64 0%, transparent 53%), radial-gradient(circle, #95d9fa33 1px, transparent 1.5px);
  background-size: auto, 25px 25px;
}
.hero-grid, .sample-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.hero-grid { padding-block: clamp(52px, 7vw, 92px); }
.eyebrow { color: var(--teal); margin: 0 0 .8rem; font-size: .88rem; font-weight: 800; letter-spacing: .055em; }
.hero .eyebrow { color: #c3d6e7; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; line-height: 1.05; }
h1 { font-size: clamp(2.85rem, 5.2vw, 4.8rem); font-weight: 850; }
h1 em { color: var(--cyan); font-style: normal; }
h2 { font-size: clamp(2.15rem, 3.7vw, 3.35rem); }
h3 { font-size: clamp(1.38rem, 2.5vw, 2rem); }
p { font-size: 1.05rem; line-height: 1.65; }
.lede { color: #dce8f1; max-width: 27rem; margin: 1.5rem 0 1.7rem; font-size: 1.15rem; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; font-weight: 800; padding: .7rem 1.1rem; text-decoration: none; border-radius: .45rem; border: 1px solid transparent; }
.button:hover { filter: brightness(1.13); }
.yellow { background: var(--gold); color: var(--navy); }
.outline { border-color: #adc1d5; color: white; background: #0b1b3299; }
.dark { background: var(--ink); color: white; }
.hero-art { justify-self: center; width: min(100%, 345px); }
.hero-art img { width: 100%; border-radius: 3px 9px 9px 3px; box-shadow: -5px 4px 0 #7191ab, 0 24px 60px #050c1aab; }
.sample { background: var(--mint); overflow: hidden; }
.sample-grid { padding-block: clamp(48px, 7vw, 86px); }
.sample p:not(.eyebrow) { max-width: 32rem; }
.sample img { width: min(100%, 265px); justify-self: center; border: 1px solid #bad6d1; border-radius: 4px; transform: rotate(3deg); box-shadow: 0 16px 32px #142b3b2d; }
.detail { font-size: .9rem; margin: .8rem 0 0; }
.books { padding-block: clamp(48px, 7vw, 84px); }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 27px; }
.series-link, .book a { font-size: .95rem; font-weight: 800; color: var(--teal); }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.book { display: grid; grid-template-columns: minmax(85px, .46fr) 1fr; gap: 1.3rem; align-items: center; padding: 1.35rem; background: #eef3f8; border-radius: 10px; }
.book img { width: 100%; max-width: 153px; border-radius: 4px; }
.book p:not(.eyebrow) { margin: .8rem 0; font-size: 1rem; }
.about { background: #eaf0f6; padding-block: 3.2rem; }
.about h2 { font-size: 1.85rem; }
.about p { max-width: 46rem; margin-bottom: 0; }
footer { padding-block: 1.2rem; font-size: .9rem; }
@media (max-width: 800px) {
  .wrap { width: min(100% - 40px, 640px); }
  .hero-grid, .sample-grid, .book-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(70%, 310px); }
  .sample img { width: min(60%, 240px); }
}
@media (max-width: 430px) {
  .wrap { width: calc(100% - 32px); }
  .nav { gap: .7rem; flex-wrap: wrap; padding-block: .8rem; }
  nav { gap: .95rem; }
  .section-header { align-items: start; flex-direction: column; }
  .book { padding: .85rem; gap: .8rem; }
}
