:root {
  --ink: #09245c;
  --text: #182233;
  --muted: #5b6472;
  --teal: #067985;
  --orange: #d9782f;
  --purple: #5b4f93;
  --paper: #f4f8fb;
  --surface: #ffffff;
  --line: #d8e2ea;
  --shadow: 0 18px 50px rgba(9, 36, 92, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(6, 121, 133, 0.08), transparent 34%),
    linear-gradient(205deg, rgba(217, 120, 47, 0.1), transparent 36%),
    var(--paper);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 40px 20px 56px;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.copy {
  max-width: 690px;
}

.authors {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 700;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2.65rem, 7vw, 5.85rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.summary {
  max-width: 66ch;
  margin-bottom: 28px;
  color: #314054;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(9, 36, 92, 0.2);
}

.secondary {
  background: var(--surface);
  border-color: #c8d7df;
  color: var(--ink);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  max-width: 460px;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div {
  padding: 13px 0;
}

.facts div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.cover-frame {
  margin: 0;
  justify-self: center;
  width: min(100%, 380px);
}

.cover-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.details article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.details h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.2rem;
}

.details p,
.details ul {
  margin-bottom: 0;
  color: var(--muted);
}

.details ul {
  padding-left: 20px;
}

.details li + li {
  margin-top: 8px;
}

@media (max-width: 780px) {
  .page {
    padding-top: 28px;
  }

  .hero,
  .details {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cover-frame {
    width: min(78vw, 330px);
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }
}

@media (max-width: 460px) {
  .actions,
  .button {
    width: 100%;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .facts div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
  }
}
