:root {
  --ink: #10264c;
  --muted: #52688c;
  --paper: #f7fbff;
  --line: rgba(16, 38, 76, .14);
  --blue: #5a93f8;
  --navy: #0b1933;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: linear-gradient(180deg, #f8fcff 0, #eef5ff 100%); color: var(--ink); font-family: Manrope, Arial, sans-serif; }
a { color: inherit; }
.site-header { align-items: center; background: rgba(248, 252, 255, .94); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 14px max(24px, calc((100vw - 1120px) / 2)); position: sticky; top: 0; z-index: 10; }
.brand { align-items: center; display: flex; font-weight: 800; gap: 12px; text-decoration: none; }
.brand img { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.site-header nav { display: flex; gap: 24px; }
.site-header nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-header nav a[aria-current=page] { color: var(--ink); font-weight: 700; }
main { margin: auto; max-width: 1120px; padding: 0 24px; }
.hero { align-items: center; background: radial-gradient(circle at 90% 10%, rgba(90, 147, 248, .32), transparent 34%), var(--navy); border-radius: 32px; color: #fff; display: grid; gap: 48px; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); margin: 48px 0 64px; padding: 64px; }
.hero-copy { min-width: 0; }
.hero-covers { align-items: center; display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); perspective: 900px; }
.hero-covers a { border-radius: 5px; box-shadow: 0 18px 38px rgba(0, 0, 0, .38); display: block; overflow: hidden; transform: rotate(-3deg); transition: transform .2s ease; }
.hero-covers a:nth-child(2) { transform: translateY(-14px); }
.hero-covers a:nth-child(3) { transform: rotate(3deg); }
.hero-covers a:hover { transform: translateY(-8px) scale(1.04); }
.hero-covers img { aspect-ratio: 2 / 3; display: block; height: auto; object-fit: cover; width: 100%; }
.eyebrow { color: #80aefc; font-size: 12px; font-weight: 800; letter-spacing: .16em; margin: 0 0 14px; text-transform: uppercase; }
h1, h2, h3 { font-family: "Space Grotesk", Manrope, sans-serif; letter-spacing: -.03em; }
h1 { font-size: clamp(42px, 7vw, 74px); line-height: 1.03; margin: 0; max-width: 900px; }
.lead { color: #d6e5ff; font-size: 20px; line-height: 1.65; max-width: 830px; }
.byline { color: #b9cdf1; }
.byline a { font-weight: 700; }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { font-size: 38px; margin: 0; }
.book-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.book-card { background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 55px rgba(16, 38, 76, .08); display: flex; flex-direction: column; overflow: hidden; padding: 0 28px 28px; }
.cover-link { background: #dbe7f8; display: block; margin: 0 -28px 22px; overflow: hidden; }
.book-cover { aspect-ratio: 2 / 3; display: block; height: auto; object-fit: cover; transition: transform .25s ease; width: 100%; }
.cover-link:hover .book-cover { transform: scale(1.015); }
.sequence { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.book-card h3 { font-size: 27px; line-height: 1.12; margin: 8px 0; }
.subtitle { color: var(--muted); font-weight: 700; min-height: 48px; }
.book-card > p:not(.sequence):not(.subtitle) { color: #3e557a; line-height: 1.65; }
.book-card dl { border-top: 1px solid var(--line); margin-top: auto; padding-top: 16px; }
.book-card dl div { display: flex; font-size: 13px; justify-content: space-between; margin: 8px 0; }
.book-card dt { color: var(--muted); }
.book-card dd { font-weight: 700; margin: 0; }
.actions { display: flex; gap: 10px; margin-top: 18px; }
.actions a, .primary { border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 800; padding: 11px 15px; text-decoration: none; }
.actions .primary, .publisher-note .primary { background: var(--ink); color: #fff; }
.publisher-note { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; display: flex; justify-content: space-between; margin: 64px 0; padding: 36px; }
.publisher-note h2 { font-size: 32px; margin: 0; }
.publisher-note p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 14px; justify-content: space-between; margin-top: 48px; padding: 28px max(24px, calc((100vw - 1120px) / 2)); }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .hero-covers { margin: 10px auto 0; max-width: 520px; width: 100%; }
  .book-grid { grid-template-columns: 1fr; }
  .book-card { margin: auto; max-width: 430px; width: 100%; }
  .subtitle { min-height: 0; }
  .hero { padding: 38px 28px; }
  .publisher-note { align-items: flex-start; flex-direction: column; gap: 22px; }
  .site-header nav { gap: 12px; }
  .site-header nav a:first-child { display: none; }
}

@media (max-width: 520px) {
  .brand span { display: none; }
  .site-header { align-items: flex-start; padding: 12px 18px; }
  .site-header nav { flex-wrap: wrap; font-size: 12px; gap: 8px 12px; justify-content: flex-end; max-width: 250px; }
  main { padding: 0 16px; }
  .hero { border-radius: 22px; margin-top: 24px; }
  .actions { flex-wrap: wrap; }
  footer { flex-direction: column; gap: 14px; }
}
