@font-face {
  font-family: JostReading;
  src: url('./support-assets/JostReading-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Lexend;
  src: url('./support-assets/Lexend-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Lexend;
  src: url('./support-assets/Lexend-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fcfcfa;
  --ink: #1c1b19;
  --muted: #5f5d58;
  --wash: #ebe0f8;
  --deep: #36204d;
  --line: #1c1b1920;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 16px/1.65 Lexend,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
  border-radius: 3px;
}
.skip {
  position: absolute;
  left: 20px;
  top: -80px;
  background: var(--paper);
  padding: 10px;
  z-index: 2;
}
.skip:focus {
  top: 8px;
}
.site-head {
  max-width: 1280px;
  margin: auto;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  font:
    500 25px/1.2 JostReading,
    sans-serif;
  text-decoration: none;
  letter-spacing: -0.4px;
}
.back {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}
.back:hover,
.later:hover {
  text-decoration: underline;
}
.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1184px;
  min-height: 580px;
  margin: 12px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.book-page {
  background: var(--wash);
  color: var(--deep);
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.65;
  margin: 0 0 22px;
}
.specimen {
  flex: 1;
  align-content: center;
  padding-bottom: 48px;
  font:
    500 clamp(44px, 4.9vw, 68px)/1.25 JostReading,
    sans-serif;
  letter-spacing: -0.035em;
  display: grid;
  gap: 12px;
}
.specimen span {
  display: block;
  padding-bottom: 8px;
  border-bottom: 1px solid #36204d45;
}
.book-page > p {
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}
.support-page {
  padding: 48px clamp(28px, 4vw, 54px);
  display: flex;
  align-items: center;
}
.support-page section {
  width: 100%;
}
h1 {
  font:
    500 clamp(32px, 3.2vw, 44px)/1.13 JostReading,
    sans-serif;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
  text-wrap: balance;
}
h1 span {
  white-space: nowrap;
}
.support-page p:not(.eyebrow) {
  max-width: 440px;
  color: var(--ink);
  margin: 0 0 18px;
}
.support-page p.free {
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 28px;
}
.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 54px;
  padding: 12px 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary:hover {
  background: var(--muted);
  transform: translateY(-1px);
}
.support-page p.checkout-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  margin: 16px 0 14px;
}
.later {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
footer {
  max-width: 1184px;
  margin: auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
footer span {
  align-self: center;
}
details {
  max-width: 1184px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
summary {
  cursor: pointer;
  min-height: 44px;
  display: list-item;
  align-content: center;
}
details p {
  max-width: 800px;
}
#thanks {
  display: none;
}
#thanks:target {
  display: block;
}
#thanks:target + .tip-intro {
  display: none;
}
@media (max-width: 1232px) {
  .spread {
    margin-inline: 24px;
  }
  footer,
  details {
    margin-inline: 24px;
  }
  .site-head {
    padding-inline: 24px;
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .specimen {
    font-size: 34px;
  }
}
@media (max-width: 760px) {
  .spread {
    grid-template-columns: 1fr;
    min-height: 0;
    max-width: 560px;
    margin: 8px auto 0;
  }
  .site-head {
    padding: 16px 22px;
  }
  .brand {
    font-size: 22px;
  }
  .back {
    font-size: 12px;
    max-width: 100px;
    line-height: 1.5;
  }
  .book-page {
    padding: 26px 28px;
    gap: 16px;
  }
  .book-page .eyebrow {
    margin-bottom: 0;
    font-size: 10px;
  }
  .specimen {
    font-size: 42px;
    padding-bottom: 0;
    line-height: 1.15;
    gap: 4px;
  }
  .book-page > p {
    display: none;
  }
  .support-page {
    padding: 32px 28px;
  }
  .support-page .eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }
  h1 {
    font-size: 36px;
    margin-bottom: 22px;
  }
  footer,
  details {
    max-width: 560px;
    margin-inline: auto;
    padding-inline: 24px;
  }
  .spread {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  h1 span {
    white-space: normal;
  }
  .wide-only {
    display: none;
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 20px;
  }
  .support-page,
  .book-page {
    padding-inline: 24px;
  }
  h1 {
    font-size: 33px;
  }
  .specimen {
    font-size: 38px;
  }
  footer {
    flex-wrap: wrap;
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .primary {
    transition: none;
  }
  .primary:hover {
    transform: none;
  }
}
