* {
  box-sizing: border-box;
}

html {
  background: #101015;
  font-size: 90%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #101015;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: #109beb;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline dotted;
  outline: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #111;
  z-index: 20;
}

.skip-link:focus {
  left: 0;
}

@keyframes supportFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.top-links {
  display: flex;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em 0.7em;
  width: min(94ch, 100%);
  margin: 0 auto;
  padding: clamp(10px, 2vw, 20px) 0 0;
  font-size: 0.78em;
}

.top-links a {
  display: inline-block;
  padding: 0.08em 0.28em;
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  text-decoration-thickness: 0.08em;
}

.books-wrap {
  width: min(100%, 62rem);
  margin: 0 auto;
  padding: clamp(0.3rem, 1vw, 0.9rem) clamp(1rem, 3vw, 2rem) 1.2rem;
  text-align: center;
}

.books-header {
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
}

.books-logo {
  width: min(100%, 16rem);
  margin: 0 auto 0.45rem;
}

.books-tagline {
  margin: 0 0 0.45rem;
  color: #f2f2f2;
  font-size: 0.85rem;
  font-style: italic;
}

.books-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.books-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.books-col {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.6rem;
  background: rgba(0, 0, 0, 0.26);
  padding: 1.35rem 1.35rem 1.5rem;
  text-align: left;
}

.books-col h2 {
  margin: 0 0 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: uppercase;
}

.books-col h2 span {
  background: #ea6a00;
  color: #fff;
  padding: 0 0.14em;
}

.books-col h2.updates-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.updates-email-btn {
  flex: none;
  padding: 0.22em 0.75em;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.3rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.updates-email-btn:hover,
.updates-email-btn:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.book-card {
  display: flex;
  gap: 1.05rem;
  align-items: flex-start;
}

.book-card + .book-card {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
}

.book-cover {
  width: 8.2rem;
  flex: none;
  border-radius: 0.4rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
}

.book-info h3 {
  margin: 0 0 0.32rem;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.book-subtitle {
  margin: 0 0 0.55rem;
  color: #f2b37d;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.book-info p {
  margin: 0 0 0.6rem;
  color: #fff;
  font-size: 0.94em;
  line-height: 1.5;
}

.book-links {
  margin: 0.15rem 0 0 !important;
}

.book-links a {
  display: inline-block;
  margin: 0 0.45rem 0.35rem 0;
  padding: 0.22em 0.75em;
  border: 1px solid #ea6a00;
  border-radius: 0.3rem;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.book-links a:hover,
.book-links a:focus-visible {
  background: #ea6a00;
  text-decoration: none;
}

.books-note {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.5;
}

.updates-list {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.updates-list li {
  padding-left: 1rem;
  border-left: 2px solid #ea6a00;
}

.updates-list time {
  display: block;
  margin-bottom: 0.15rem;
  color: #f2f2f2;
  font-size: 0.78rem;
}

.updates-list p {
  margin: 0 0 0.45rem;
}

.updates-list p:last-child {
  margin-bottom: 0;
}

.update-excerpt {
  margin-top: 0.5rem !important;
  padding: 0.55rem 0.7rem;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: #e6e6f5 !important;
  font-size: 0.9em !important;
  font-style: italic;
}

.update-more {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
}

.books-footer {
  margin-top: clamp(1rem, 2vw, 1.6rem);
  padding-top: 0.8rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em 0.7em;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 0.45em;
  padding: 0.14em 0.45em;
  background: rgba(0, 0, 0, 0.76);
  font-size: 0.78em;
  color: rgba(255, 255, 255, 0.75);
}

.footer-row:last-child {
  margin-bottom: 0;
}

.footer-row a,
.footer-row span {
  display: inline;
  padding: 0;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  text-decoration-thickness: 0.08em;
}

.footer-row a:hover,
.footer-row a:focus-visible {
  background: none;
  color: #fff;
}

@media (max-width: 820px) {
  .books-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-links {
    font-size: 0.68em;
    gap: 0.3em 0.55em;
    padding-top: 10px;
  }
}

@media (max-width: 560px) {
  .book-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .book-cover {
    width: 10.5rem;
  }
}
