:root {
  --ink: #171819;
  --muted: #50514c;
  --paper: #f6f3e9;
  --accent: #e5ef86;
  --rule: #d9d6cb;
  --white: #fffdf8;
  --display: Georgia,"Times New Roman",serif;
  --sans: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.65 var(--sans);
}

a {
  color: inherit;
}

button,input,select {
  font: inherit;
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline: 3px solid #668127;
  outline-offset: 4px;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2 {
  font: 400 clamp(2.15rem,4.2vw,4rem)/1.04 var(--display);
  letter-spacing: -.055em;
  text-wrap: balance;
}

h3 {
  font: 400 1.85rem/1.12 var(--display);
  letter-spacing: -.035em;
}

p+p {
  margin-top: 1rem;
}

.shell {
  width: min(100% - 3rem,70rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  background: #fff;
  color: #161616;
  padding: .65rem 1rem;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.masthead,.hero,footer {
  background: var(--ink);
  color: var(--paper);
}

.masthead {
  border-bottom: 1px solid #383932;
}

.topbar {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  font-weight: 670;
  letter-spacing: -.025em;
}

.brand-mark {
  border: 1px solid #818472;
  padding: .04rem .32rem;
  font: 400 1.39rem/1.4 var(--display);
  color: var(--accent);
}

.brand-sub {
  font-size: .7rem;
  letter-spacing: .08em;
  margin-left: .43rem;
  color: #d5d7c4;
}

.navlink,.underlined {
  text-underline-offset: .27em;
  text-decoration-thickness: 1px;
  font-weight: 650;
}

.navlink {
  font-size: .9rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 37rem;
  align-items: center;
  gap: 3.5rem;
  padding-block: 4rem;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem,6.45vw,6.35rem);
  line-height: .99;
  letter-spacing: -.065em;
}

.hero h1 em {
  font-weight: 400;
  color: var(--accent);
}

.label {
  font-weight: 680;
  letter-spacing: .125em;
  text-transform: uppercase;
  font-size: .76rem;
  color: #dcdfc6;
  margin-bottom: 1.15rem;
}

.label span {
  display: inline-block;
  background: currentColor;
  width: .25rem;
  height: .25rem;
  margin: 0 .35rem .18rem;
  border-radius: 50%;
}

.label-dark {
  color: #485324;
}

.lede {
  font-size: 1.13rem;
  color: #d6d6c8;
  max-width: 34rem;
  margin-top: 1.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 3.35rem;
  padding: .7rem 1.3rem;
  font-weight: 720;
  line-height: 1.35;
  border: 1px solid transparent;
  border-radius: .26rem;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #f2f9bc;
}

.hero .button {
  margin-top: 1.65rem;
}

.availability {
  margin-top: .85rem;
  color: #cbccbc;
  font-size: .87rem;
}

.hero-art {
  position: relative;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: #262820;
  overflow: hidden;
  border: 1px solid #38392e;
}

.art-disc {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  left: 7%;
  top: 7%;
  border: 1px solid #62634a;
  border-radius: 50%;
  box-shadow: 0 0 0 1.75rem #303224,0 0 0 1.82rem #52543e;
}

.book {
  position: relative;
  width: 55%;
  aspect-ratio:  .72;
  padding: 8% 6% 5%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #e8ecae;
  color: #22251a;
  transform: rotate(-9deg);
  box-shadow: 6px 6px 0 #d2d38f,12px 13px 0 #3e4429,22px 29px 33px #13150d99;
  border-left: 6px solid #bfc37c;
}

.book-top {
  display: flex;
  justify-content: space-between;
  gap: .3rem;
  border-bottom: 1px solid #747a49;
  padding-bottom: 7%;
  font-size: clamp(.41rem,.9vw,.67rem);
  font-weight: 750;
  letter-spacing: .07em;
}

.book-title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: .83;
  margin-top: 17%;
}

.book-title small {
  font-size: clamp(.53rem,1.1vw,.8rem);
  font-weight: 760;
  letter-spacing: .18em;
  margin-bottom: .45rem;
}

.book-title strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.05rem,5.3vw,5.25rem);
  letter-spacing: -.09em;
}

.book-title strong span {
  color: #727c2d;
}

.book-bottom {
  position: relative;
  z-index: 1;
  font-size: clamp(.52rem,1.2vw,.88rem);
  font-weight: 640;
  line-height: 1.15;
  margin-top: auto;
}

.book-diagram {
  position: absolute;
  right: -25%;
  bottom: -16%;
  width: 79%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #8f9850;
  box-shadow: 0 0 0 .7rem #e8ecae,0 0 0 .75rem #8f9850,0 0 0 1.35rem #e8ecae,0 0 0 1.42rem #8f9850;
}

.section {
  padding-block: clamp(3.5rem,8vw,7rem);
}

.capture {
  scroll-margin-top: 1rem;
}

.capture-grid,.proof-grid,.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,6vw,6.25rem);
  align-items: start;
}

.sample h2,.proof h2 {
  max-width: 19ch;
  text-wrap: initial;
}

.sample>p:not(.label) {
  margin-top: 1.3rem;
  color: var(--muted);
}

.checklist {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  border-bottom: 1px solid var(--rule);
  padding: .65rem 0 .65rem 1.55rem;
  font-weight: 630;
}

.checklist li::before {
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: .48rem;
  height: .72rem;
  border: solid #566323;
  border-width: 0 2px 2px 0;
  transform: rotate(38deg);
  content: "";
}

.card {
  padding: clamp(1.4rem,4vw,2.75rem);
  border: 1px solid var(--rule);
  background: var(--white);
  box-shadow: 0 1rem 2.7rem #2527100a;
}

.card h2 {
  font-size: clamp(1.85rem,3.3vw,3rem);
  text-wrap: initial;
}

.card p {
  color: var(--muted);
  margin-top: .75rem;
}

form {
  display: grid;
  margin-top: 1.15rem;
}

label {
  font-weight: 660;
  font-size: .92rem;
  margin: .8rem 0 .27rem;
}

.optional {
  color: #61625a;
  font-weight: 440;
}

input,select {
  border: 1px solid #b3b3a8;
  border-radius: .22rem;
  min-height: 2.95rem;
  width: 100%;
  background: #fff;
  color: var(--ink);
  padding: .57rem .65rem;
}

select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg,transparent 50%,#41423c 50%),linear-gradient(135deg,#41423c 50%,transparent 50%);
  background-position: calc(100% - 18px) 52%,calc(100% - 13px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

form .button,.card>.button {
  margin-top: 1.25rem;
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-dark:hover {
  background: #37382e;
}

.card .fineprint {
  font-size: .84rem;
  line-height: 1.48;
  margin-top: .9rem;
}

.errors {
  padding: .55rem .8rem;
  border-left: 3px solid #993d26;
  background: #f8e6e0;
  color: #752813;
  margin-top: 1rem;
}

.errors ul {
  padding-left: 1rem;
  margin: .2rem 0;
}

.reading {
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  margin-block: 1.5rem 1rem;
}

.reading p {
  margin-top: .2rem;
}

.chapters {
  background: #e9ebcf;
}

.chapters h2 {
  max-width: 24ch;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 2.4rem;
  margin-top: 2.35rem;
}

.chapter-grid article {
  border-top: 1px solid #a3a77b;
  padding-top: 1rem;
}

.chapter-grid p,.proof-grid div>p:not(.label) {
  margin-top: .8rem;
  color: #444638;
}

.proof {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.proof-grid {
  align-items: center;
}

.proof .underlined {
  display: inline-block;
  margin-top: 1.05rem;
}

.faq-grid {
  grid-template-columns: .8fr 1.2fr;
}

details {
  border-bottom: 1px solid var(--rule);
  padding: .85rem 0;
}

details:first-child {
  border-top: 1px solid var(--rule);
}

summary {
  font-weight: 650;
  cursor: pointer;
}

details p {
  margin: .65rem 0 .3rem;
  color: var(--muted);
}

footer {
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: #dedeca;
  font-size: .9rem;
}

.footer-inner>div {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap;
}

@media(max-width:850px) {
  .hero-grid {
    gap: 2rem;
    min-height: unset;
  }
  .book-title strong {
    font-size: clamp(2.1rem,5.1vw,4rem);
  }
}

@media(max-width:680px) {
  .shell {
    width: calc(100% - 2.1rem);
  }
  .topbar {
    min-height: 4.15rem;
  }
  .hero-grid,.capture-grid,.proof-grid,.faq-grid {
    grid-template-columns: 1fr;
    gap: 2.35rem;
  }
  .hero-grid {
    padding-block: 3.1rem 2rem;
  }
  .hero h1 {
    max-width: 13ch;
  }
  .hero-art {
    width: min(100%,27rem);
    margin-inline: auto;
  }
  .book-title strong {
    font-size: clamp(2.6rem,11vw,4.65rem);
  }
  .book-top {
    font-size: .55rem;
  }
  .book-bottom {
    font-size: .73rem;
  }
  .chapter-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .proof-grid,.faq-grid {
    gap: 1.1rem;
  }
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}
