:root {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #14352d;
  background: #f4f1e8;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid #a66b0e;
  outline-offset: 5px;
}
header,
main,
footer {
  max-width: 1200px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 104px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-underline-offset: 4px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 27px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -1px;
}
.nav-app {
  font-weight: 650;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0 100px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.6;
}
h1 {
  font-size: clamp(42px, 6.3vw, 80px);
  line-height: 1.03;
  letter-spacing: -3px;
  margin: 22px 0 28px;
  max-width: 680px;
}
h2 {
  font-size: clamp(29px, 3.7vw, 44px);
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin: 18px 0 30px;
}
h3 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.intro {
  font-size: 21px;
  line-height: 1.6;
  max-width: 490px;
  color: #405a50;
}
.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  background: #14352d;
  color: #fff;
  padding: 17px 26px;
  min-height: 56px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 650;
  margin-top: 16px;
}
.note {
  font-size: 13px;
  color: #52675c;
  line-height: 1.6;
  max-width: 340px;
}
.word-card {
  background: #fffdf7;
  border: 1px solid #d5d9c9;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 12px 18px 0 #dedfcf;
  transform: rotate(3deg);
  min-width: 0;
}
.word {
  font-size: clamp(32px, 4vw, 49px);
  font-weight: 700;
  letter-spacing: -2px;
  margin: 30px 0 8px;
  overflow-wrap: anywhere;
}
.meaning {
  font-size: 23px;
  margin: 0 0 30px;
  color: #667461;
}
.example {
  font-size: 16px;
  line-height: 1.6;
  border-top: 1px solid #dfe2d6;
  padding-top: 22px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  font-size: 12px;
  font-weight: 650;
  color: #53644e;
}
.card-bottom span:last-child {
  font-size: 34px;
  color: #ad6b0b;
}
.process {
  padding: 48px 0 72px;
  border-top: 1px solid #cdd4c5;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 45px;
}
.steps p,
.family > p,
.availability > p {
  font-size: 17px;
  line-height: 1.7;
  color: #405a50;
}
.number {
  font-size: 13px;
  font-weight: 750;
  color: #6a5633;
}
.family {
  background: #e6e9d9;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px;
}
.family h2 {
  margin-bottom: 0;
}
.family > p {
  align-self: center;
}
.availability {
  padding: 75px 0 85px;
  max-width: 650px;
}
.availability h2 {
  margin-bottom: 15px;
}
footer {
  border-top: 1px solid #cdd4c5;
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer .brand {
  font-size: 21px;
}
footer nav {
  gap: 20px;
  font-size: 13px;
}
footer p {
  font-size: 12px;
  color: #52675c;
  width: 100%;
}
.document {
  max-width: 760px;
  min-height: 65vh;
  padding: 55px 0 80px;
}
.document h1 {
  font-size: clamp(37px, 5vw, 58px);
  letter-spacing: -2px;
}
.document > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.8;
  color: #405a50;
}
@media (max-width: 760px) {
  header,
  main,
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }
  header {
    min-height: 88px;
    gap: 12px;
  }
  .brand {
    font-size: 23px;
    gap: 8px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  nav {
    gap: 15px;
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 35px 0 65px;
  }
  h1 {
    letter-spacing: -2px;
  }
  .intro {
    font-size: 19px;
  }
  .word-card {
    max-width: 440px;
    width: calc(100% - 12px);
    padding: 28px;
    transform: rotate(1deg);
    justify-self: center;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  .steps h3 {
    margin: 8px 0;
  }
  .steps p {
    margin-top: 10px;
  }
  .family {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px;
  }
  .family > p {
    margin: 0;
  }
  .availability {
    padding: 55px 0;
  }
  .process {
    padding-top: 35px;
    padding-bottom: 45px;
  }
  footer {
    align-items: flex-start;
  }
  footer nav {
    gap: 6px 20px;
  }
  .document {
    padding-top: 30px;
  }
}
