:root {
  color-scheme: light;
  color: #1e211d;
  background: #fcfbf8;
  font: 100%/1.55 "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body, h1, h2, p, figure { margin: 0; }
.page { width: min(100% - 3rem, 75rem); margin-inline: auto; }
header, nav, .brand { display: flex; align-items: center; }
header { min-height: 5rem; justify-content: space-between; border-bottom: 1px solid #dcdcd3; }
a { color: inherit; text-underline-offset: .21em; }
a:focus-visible { outline: 2px solid #465e49; outline-offset: 4px; }
nav { gap: clamp(.75rem, 3vw, 2.4rem); }
header a { text-decoration: none; }
header a:hover { text-decoration: underline; }
nav a { padding-block: .65rem; }
.brand { gap: .65rem; font-weight: 650; font-size: 1.16rem; letter-spacing: -.035em; }
.brand img { border-radius: 25%; }
.intro, .library { display: grid; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.intro { grid-template-columns: .86fr 1.14fr; padding-block: clamp(2.5rem, 7vw, 6.3rem); }
.platform { font-size: .94rem; color: #535b4e; margin-bottom: 1.1rem; }
h1, main h2 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.03; }
main h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.12; }
main p { max-width: 40ch; }
.intro h1 + p, .library h2 + p { margin-top: 1.3rem; }
.library p + p { margin-top: .7rem; }
figure { padding: clamp(.75rem, 2.5vw, 2rem); border-radius: .8rem; background: #e5e7dc; }
figure img { width: 100%; display: block; height: auto; border-radius: .3rem; }
.library { padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid #dcdcd3; grid-template-columns: 1fr 1fr; }
.library figure { order: -1; background: #ede9e1; }
footer { border-top: 1px solid #dcdcd3; padding-block: 2rem 3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.6rem; }
footer h2 { font-size: 1.1rem; letter-spacing: -.025em; }
footer p { color: #51554e; }
.legal { display: grid; align-content: start; gap: .3rem; }
@media (max-width: 45rem) {
  .page { width: min(100% - 2rem, 36rem); }
  header { min-height: 4.25rem; }
  .intro, .library { grid-template-columns: 1fr; gap: 1.4rem; }
  .library figure { order: 0; }
  .intro-copy p { max-width: 45ch; }
  footer { flex-direction: column; }
}
@media (max-width: 22rem) {
  .page { width: calc(100% - 1.5rem); }
  .brand { gap: .4rem; font-size: 1rem; }
  .brand img { width: 1.75rem; height: 1.75rem; }
  nav { font-size: .9rem; }
}
