/* https://hankchizljaw.com/wrote/a-modern-css-reset/ */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove _all_ animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-play-state: paused !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --body: "superior-title", serif;
  --text-color: #111111;
  --background: #ffffff;
  --highlight: #f7bac7;
  --focus: #F9DFE5;
  --light-color: #f1f1f1;
  --button: #6e6e6e;
  --button-hover: #4d4d4d;
  --light: 400;
  --normal: 500;
  --medium: 500;
  --bold: 700;
  --container-width: 70rem;
  --content-width: 46rem;
  --space-xs: clamp(0.75rem, 0.69rem + 0.29vw, 0.9375rem);
  --space-s: clamp(1rem, 0.92rem + 0.39vw, 1.25rem);
  --space-m: clamp(1.5rem, 1.38rem + 0.58vw, 1.875rem);
  --space-l: clamp(2rem, 1.84rem + 0.78vw, 2.5rem);
  --space-xl: clamp(3rem, 2.77rem + 1.17vw, 3.75rem);
  --space-2xl: clamp(4rem, 3.69rem + 1.55vw, 5rem);
  --space-3xl: clamp(6rem, 5.53rem + 2.33vw, 7.5rem);
  --space-xs-s: clamp(0.75rem, 0.59rem + 0.78vw, 1.25rem);
  --space-s-m: clamp(1rem, 0.73rem + 1.36vw, 1.875rem);
  --space-m-l: clamp(1.5rem, 1.19rem + 1.55vw, 2.5rem);
  --space-l-xl: clamp(2rem, 1.46rem + 2.72vw, 3.75rem);
  --space-l-2xl: clamp(2rem, 1.07rem + 4.66vw, 5rem);
  --space-xl-2xl: clamp(3rem, 2.38rem + 3.11vw, 5rem);
  --space-2xl-3xl: clamp(4rem, 2.91rem + 5.44vw, 7.5rem);
  --font-size-xs: clamp(0.8rem, 0.16vw + 0.76rem, 0.89rem);
  --font-size-sm: 1.15rem;
  --font-size-base: clamp(1.15rem, 0.34vw + 0.92rem, 1.25rem);
  --font-size-md: clamp(1.25rem, 0.6vw + 1.1rem, 1.58rem);
  --font-size-lg: clamp(1.56rem, 0.99vw + 1.31rem, 2.11rem);
  --font-size-xl: clamp(1.95rem, 1.56vw + 1.56rem, 2.81rem);
  --font-size-xxl: clamp(2.44rem, 2.38vw + 1.85rem, 3.75rem);
  --font-size-xxxl: clamp(3.05rem, 3.53vw + 2.17rem, 5rem);
  --font-size-xxxxl: clamp(3.81rem, 4.69vw + 2.5rem, 6.25rem);
  --font-size-xxxxxl: clamp(4.77rem, 5.84vw + 2.81rem, 7.5rem);
  --letter-spacing-base: 1rem * 0.02;
  --letter-spacing-small: -0.03em;
  --letter-spacing-large: 0.03em;
  --line-height-tiny: 1.05;
  --line-height-small: 1.2;
  --line-height-base: 1.5;
  --word-spacing-base: 1rem * 0.04;
  --border-radius: 0.5rem;
  --containerWidth: 70rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1;
  margin-inline: 0;
  margin-block: 1em 1rem;
  font-weight: var(--bold);
}

.heading {
  font-size: var(--font-size-md) !important;
  font-weight: var(--bold) !important;
}

a {
  color: var(--text-color);
  text-decoration: underline;
  text-decoration-thickness: max(1px, 0.0625rem) !important;
  text-underline-offset: 0.1em;
}
a:visited {
  color: var(--text-color);
}
a:hover {
  text-decoration-color: var(--button);
}
a:active {
  color: var(--text-color);
  text-decoration: none;
}
a:focus {
  color: #0b0c0c;
  background-color: var(--focus);
  outline: 3px solid transparent;
  box-shadow: 0 -2px var(--focus), 0 4px #0b0c0c;
  text-decoration: none;
}

html {
  font-family: var(--body);
}

html {
  font-size: 100%;
  height: 100%;
}

body {
  font-family: var(--body);
  font-weight: normal;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
  word-spacing: var(--word-spacing--base);
  text-align: left;
  background-color: var(--highlight);
  color: var(--text-color);
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.want-container {
  position: relative;
  width: 100%;
  max-width: clamp(16rem, var(--container-width, 70rem), 100vw);
  margin-inline-start: auto;
  margin-inline-end: auto;
  padding: var(--space-m);
  flex: 1;
}

body {
  height: 100%;
  width: 100%;
  position: absolute;
  right: 0;
}
@media (max-width: 64em) {
  body {
    background-size: 100vh;
    background-position: 5vw -10vh;
  }
}

.want-container hr {
  max-width: 12rem;
  border-color: var(--text-color);
  border-top-width: 4px;
}
.want-container blockquote {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}
.want-container blockquote p {
  margin-block-start: var(--space-m);
  font-size: var(--font-size-xxxl);
  line-height: var(--line-height-tiny);
}
.want-container blockquote cite {
  font-style: normal;
  margin-block-start: 0;
  font-size: var(--font-size-lg);
}
.want-container a:not(.want-button) {
  text-decoration: underline;
  text-decoration-thickness: max(0.0875em, .0625rem);
  text-underline-offset: 0.1em;
}
.want-container a:not(.want-button):hover {
  text-decoration-color: var(--button);
}

.want-footer h2 {
  font-size: var(--font-size-lg);
  font-weight: 700;
}
.want-footer__colophon {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1ch;
  flex-direction: column;
}
.want-footer__colophon ul li, .want-footer__colophon p {
  font-size: var(--font-size-xs);
}
.want-footer__colophon ul {
  list-style-type: none;
  display: flex;
  text-align: center;
  gap: 1ch;
}
.want-footer a {
  text-decoration: underline;
}
.want-footer a:hover {
  text-decoration-color: var(--text-color);
}
.want-footer__logo img {
  max-width: 20rem;
}

.button-group {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.want-button {
  display: inline-flex;
  color: var(--light-color);
  background-color: var(--button);
  line-height: 1;
  padding: 1rem !important;
}
.want-button:hover, .want-button:active, .want-button:focus {
  color: var(--light-color);
  background-color: var(--button-hover);
  cursor: pointer;
}
.want-button:visited {
  color: var(--light-color);
  background-color: var(--button);
}
.want-button:visited:hover {
  background-color: var(--button);
}
.want-button:disabled {
  opacity: 0.7;
}
.want-button:focus-visible {
  color: var(--light-color);
  background-color: var(--button);
  box-shadow: none;
  outline: max(2px, 0.0625rem) solid var(--highlight);
  outline-offset: -4px;
}
.want-button svg {
  height: 1em;
  width: 1em;
  fill: var(--light-color);
}
.want-button#reload {
  background-color: transparent;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1ch;
  line-height: 1em;
  margin: 0 auto;
}
.want-button#reload span {
  position: relative;
  top: 5px;
}
.want-button#reload svg {
  fill: var(--text-color);
}

.fade-out {
  opacity: 0;
  animation: fade-out 0.5s ease-in-out forwards;
}

@keyframes fade-out {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.title {
  font-size: var(--font-size-xxxxl);
  letter-spacing: var(--letter-spacing-large);
}

.author {
  font-size: var(--font-size-l);
  color: var(--text-color);
  margin-block-start: var(--space-xs) !important;
}
.author span {
  font-size: var(--font-size-xl);
  display: block;
  margin-block: var(--space-s) var(--space-m);
}

.intro {
  max-width: 40rem;
  margin-inline: auto;
  font-size: var(--font-size-md);
  text-wrap: balance;
}

.generator h3 {
  font-size: var(--font-size-xl);
  color: var(--highlight);
  margin-block-end: var(--space-xs);
}
.generator p {
  font-size: var(--font-size-lg);
}

.book {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: var(--space-m);
}
.book__cover {
  height: auto;
  max-width: 80%;
}
.book__cover img {
  height: auto;
  object-fit: cover;
}
.book__details {
  max-width: 44rem;
}
.book__details p + h3 {
  margin-block-start: var(--space-m);
}
.book__details h2, .book__details h3 {
  font-weight: 700;
}
.book__details h3 {
  font-size: var(--font-size-md);
}
.book__details p {
  font-size: var(--font-size-sm);
  font-weight: 300;
}
.book__details .want-button {
  text-decoration: none;
}

.grid {
  gap: var(--space-m);
}

.faqs {
  max-width: 50rem;
}
.faqs h3 + p,
.faqs p + p {
  margin-block-start: 1rem;
}
.faqs p {
  font-weight: 300;
}

.links {
  max-width: 90%;
}
.links__list {
  gap: 1ch;
  flex-wrap: wrap;
  margin-block-end: var(--space-l);
}
.links__list > a {
  display: flex;
  gap: 1ch;
  justify-content: space-between;
  text-decoration: none !important;
  border: 1px solid var(--text-color);
  padding: 0.5rem 1rem 0.25rem;
}
.links__list > a:hover {
  text-decoration: underline !important;
}
.links__list > a:after {
  content: "";
  display: inline-block;
  height: 0.5em;
  object-fit: contain;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1/1;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z" fill="%234d4d4d" /></svg>');
}

.visually-hidden {
  height: 1px;
  width: 1px;
  position: absolute !important;
  overflow: hidden;
  padding: 0;
  /* many screen reader and browser combinations announce broken words as they would appear visually */
  word-wrap: normal !important;
  white-space: nowrap;
  clip: rect(0, 0, 0, 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  border: 0;
}
.visually-hidden:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: var(--teal-dark);
  display: block;
  font-weight: 700;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.container {
  width: 100%;
  height: 100%;
  max-width: var(--containerWidth);
  position: relative;
  margin-block: auto;
  margin-inline: auto;
  padding: var(--space-m);
}

.stack > * + * {
  margin-block-start: var(--space-l);
}

.stack-sm > * + * {
  margin-block-start: var(--space-s);
}

.bold {
  font-weight: 700 !important;
}