/* Recreated from the original Carrd design of thissagelife.com */
:root {
  --sage: #9caf88;
  --grey: #a1a1a1;
  --rule: #ebebeb;
  --panel: #fbfbfb;
}

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

html, body { margin: 0; padding: 0; }

body {
  background: #fff;
  min-height: 100vh;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: var(--grey);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  width: 50rem;
  max-width: 100%;
  padding: 9rem 6rem;
}

/* Full-width grey band behind the definition */
.hero {
  background: var(--panel);
  margin: -9rem calc(50% - 50vw) 0;
  padding: 9rem 1.5rem;
}
.hero-inner { max-width: 50rem; margin: 0 auto; }

h1 {
  margin: 0 0 2.5rem;
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 4.5rem;
  line-height: 1.25;
  letter-spacing: 0.025rem;
  color: var(--sage);
}

.pos {
  margin: 2.5rem 0;
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  line-height: 1.25;
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  color: var(--sage);
}

.defs {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: def;
  font-size: 1rem;
  line-height: 2;
}
.defs li { counter-increment: def; }
.defs li::before { content: counter(def) ": "; }

hr {
  border: 0;
  height: 1rem;
  margin: 4.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
hr::before {
  content: "";
  width: 5rem;
  border-top: 1px solid var(--rule);
}

.icons {
  list-style: none;
  margin: 2.5rem 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.icons a {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 2rem;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.icons a:hover { transform: scale(1.1); opacity: 0.8; }
.icons svg { width: 100%; height: 100%; fill: var(--sage); display: block; }

.footer {
  margin: 2.5rem 0 0;
  font-size: 1rem;
  line-height: 2;
}

@media (max-width: 736px) {
  main { padding: 6rem 2rem; }
  .hero { margin-top: -6rem; padding: 6rem 1.5rem; }
  h1 { font-size: 3.5rem; }
  .defs, .footer { font-size: 0.9375rem; }
}

@media (max-width: 360px) {
  main { padding: 5rem 1.5rem; }
  .hero { margin-top: -5rem; }
  .icons { gap: 1.5rem; }
}
