/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 7. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*
  9. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

@font-face {
  font-family: "Lora";
  src: url("/fonts/Lora-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/fonts/NunitoSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
/* * */
[aria-hidden=true] {
  display: none;
}

/* A */
/* B */
body {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
body > section {
  padding: 1.5rem;
}

/* C */
/* D */
.day-00 {
  background: linear-gradient(180deg, #FFF 0%, #F7EFE6 100%);
}

.day-01 {
  background-color: #FFFCF8;
}

.day-02 {
  background-color: #F7EFE6;
}

.dead {
  text-decoration: line-through;
  opacity: 0.4;
}

/* E */
/* F */
.footnote {
  font-size: 0.75rem;
}

/* G */
/* H */
h1, h2, h3,
h4, h5, h6 {
  font-family: "Lora", serif;
}

h1 {
  display: inline-block;
}

.h3 {
  font-size: 1.125rem;
  font-weight: normal;
}

.h2 {
  font-size: 1.5rem;
}

header {
  text-align: center;
  margin: 2rem 0;
}

#hero {
  padding-top: 60px;
}

.horizontal-array {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}
.horizontal-array li {
  display: inline-block;
  margin: 10px 0;
  padding: 0 25px;
  vertical-align: middle;
}
.horizontal-array li > img {
  filter: grayscale(100%);
  opacity: 0.5;
}

/* I */
img[src*="/img/my-face"] {
  border-radius: 240px 120px 240px 120px;
  margin: 0 auto;
  max-width: 115px;
}

/* J */
/* K */
/* L */
.lead {
  font-size: 1.125rem;
}

/* M */
/* N */
nav {
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  left: 1rem;
  position: fixed;
  right: 1rem;
  top: 1.5rem;
}
nav a {
  display: block;
  color: #000;
  text-decoration: none;
}
nav li a {
  display: block;
  padding: 4px 0;
  text-align: center;
}
nav .toggle {
  background-image: url("/img/close.svg");
  background-position: 16px center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  padding: 4px 16px 4px 16px;
  text-align: center;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.closed ul {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
nav.closed .toggle {
  background-image: url("/img/menu.svg");
}

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

/* O */
/* P */
p {
  margin: 1.5rem 0;
}

/* Q */
/* R */
/* S */
.sm-hide {
  display: none;
}

.stat {
  font-size: 0.75rem;
  text-align: center;
}
.stat > span {
  color: #D48A36;
  font-family: "Lora", serif;
  font-size: 2.5rem;
  font-weight: 900;
}
.stat > span span {
  font-size: 1rem;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5rem;
}

sup {
  font-size: 0.75rem;
}

/* T */
.testimonial {
  text-align: center;
}

.top-img {
  margin: 0 auto;
  max-height: 255px;
}

/* U */
/* V */
.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* W */
.wrapper {
  margin: 0 auto;
  max-width: 992px;
}
.wrapper.thin {
  max-width: 768px;
}

/* X */
/* Y */
/* Z */
@media (min-width: 393px) {
  /* I */
  img[src*="/img/my-face"] {
    max-width: 10.875rem;
  }
  /* L */
  .lead {
    font-size: 1.25rem;
  }
}
@media (min-width: 576px) {
  /* N */
  nav {
    right: initial;
  }
  nav .toggle {
    padding-left: 44px;
  }
  nav li a {
    text-align: left;
    padding: 4px 0 4px 44px;
  }
  /* S */
  .sm-hide {
    display: block;
  }
}
@media (min-width: 768px) {
  /* C */
  .cols {
    columns: 2 auto;
  }
  .cols p:first-of-type {
    margin-top: 0;
  }
}
