@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Roboto+Slab:wght@300;400;600&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --paper: #e9e4d7;
  --ink: #20231f;
  --green: #3d5141;
  --orange: #cf5d32;
  --line: rgba(32, 35, 31, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
}

header {
  padding: 20px clamp(20px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 2px solid var(--ink);
}

.guide-mark {
  color: inherit;
  font-family: 'Fjalla One', sans-serif;
  font-size: 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
}

header ul,
footer ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}

header a,
footer a {
  color: inherit;
}

header nav a {
  text-decoration: none;
}

header nav a[aria-current='page'],
header nav a:hover {
  color: var(--orange);
}

.cover {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-bottom: 2px solid var(--ink);
}

.cover-copy {
  padding: clamp(38px, 7vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--green);
  color: #f5f0e4;
}

.index-label {
  margin: 0 0 16px;
  color: var(--orange);
  font-family: 'Fjalla One', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: 'Roboto Slab', serif;
}

h1 {
  margin: 0 0 26px;
  font-size: clamp(3.8rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.cover-copy > p:last-child {
  font-size: 1.08rem;
  line-height: 1.75;
}

.cover img {
  width: 100%;
  height: 760px;
  object-fit: cover;
}

.chapter-grid {
  width: min(1240px, calc(100% - 40px));
  margin: 100px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.chapter-grid article {
  padding: clamp(30px, 5vw, 58px);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.chapter-grid span {
  color: var(--orange);
  font-family: 'Fjalla One', sans-serif;
  font-size: 2rem;
}

.chapter-grid h2,
.checklist h2,
.final-note h2 {
  margin: 55px 0 24px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
}

.chapter-grid p,
.final-note p {
  font-family: 'Roboto Slab', serif;
  font-size: 1.03rem;
  line-height: 1.85;
}

.checklist {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 100px;
  padding: clamp(30px, 6vw, 70px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  background: var(--ink);
  color: var(--paper);
}

.checklist h2 {
  margin-top: 0;
}

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

.checklist li {
  padding: 17px 0;
  border-bottom: 1px solid rgba(233, 228, 215, 0.25);
  line-height: 1.55;
}

.final-note {
  max-width: 900px;
  margin: 0 auto 110px;
  padding: 0 20px;
  text-align: center;
}

.final-note h2 {
  margin-top: 0;
}

footer {
  padding: 35px;
  border-top: 2px solid var(--ink);
}

footer ul {
  justify-content: center;
}

@media (max-width: 850px) {
  header {
    align-items: flex-start;
    flex-direction: column;
  }

  .cover,
  .chapter-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  .cover img {
    height: 520px;
  }
}
