html {
  background: var(--memo-html-bg);
}

aside {
  color: var(--text-bright);
  font-weight: 500;
  z-index: 10;
}

/*h1 {
  font-size: 64px;
  font-weight: 500;
  margin-top: 5px;
  margin-bottom: 30px;
}

h2 {
  font-size: 44px;
  font-weight: 500;
  font-family: var(--typeface-serif);
}

h3 {
  font-size: 32px;
  font-weight: 500;
  margin-top: 8px;
}*/

aside .date {
  color: var(--text-dim);
}

aside a.link-to-list {
  display: inline-block;
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 5px 10px 5px 10px;
  border-radius: 6px;
  font-size: 18px;
  background-color: var(--bg-white);
  box-shadow: 0px 0px 4px var(--shadow-light);
}

article p,
article h1, article h2, article h3,
article ul, article ol, article table,
article figure, article blockquote {
  max-width: 100%;
  color: rgba(var(--black-rgb), 0.9);
}

article h2 {
  margin-top: 40px;
  font-family: var(--typeface-serif);
  font-weight: 500;
}

article figure {
  margin: 40px 0 40px 0;
}

.signup {
  max-width: 100%;
  margin-top: 2rem;
  border-top: 2px solid rgba(var(--black-rgb), 0.2);
}

article a {
  text-decoration: underline;
}

article p,
article ul li,
article ol li,
article table,
article blockquote {
  margin-bottom: 20px;
}

article ul li ul {
  margin-left: 1.2em;
  margin-top: 30px;
}

article img,
article video {
  max-width: 100%;
  margin-bottom: 30px;
  border-radius: 6px;
}

article table {
  margin: 20px 0 40px 0;
}
article table tr th,
article table tr td {
  padding-left: 40px;
}
article table tr th:first-child,
article table tr td:first-child {
  padding-left: 0;
  text-align: right;
}
article table tr th {
  font-family: var(--typeface-sans);
  font-weight: 600;
  text-align: left;
  color: var(--text-bright);
}

article table th {
  text-align: left;
  font-weight: normal;
}

article blockquote {
  border-left: 3px solid rgba(var(--black-rgb), 1);
  padding-left: 16px;
  margin: 40px 0 40px 0;
}

article blockquote p {
  font-size: 32px;
  font-style: italic;
  font-family: var(--typeface-serif);
}

article .quote-attribution {
  margin-top: -30px;
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(var(--black-rgb), 0.6);
}

article blockquote p:last-child {
  margin-bottom: 0;
}

.full-bleed {
  width: 900px;
  margin-left: -50px;
}

figure.two-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 12px;
}

figure.two-images img {
  width: 100%;
}

figure.two-images figcaption {
  grid-column: 1 / 3;
}

figcaption {
  font-size: 80%;
  margin-top: -25px;
  font-style: italic;
}

p.summary {
  font-weight: 600;
  color: var(--text-bright);
}

.cta {
  background-color: rgba(var(--white-rgb), 0.7);
  padding: 2vw 2.5vw 2vw 2.5vw;
  margin: 2vw 0px 2vw 0px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px var(--shadow-light);
}

.cta p, .cta li {
  font-family: var(--typeface-sans);
  font-size: var(--font-base);
}
.cta p, .cta ul {
  margin-bottom: 16px;
}

.youtube-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.signup input {
  font-size: 18px;
  font-weight: 500;
  padding: 12px 16px 12px 16px;
  border: none;
  border-radius: 6px;
  margin: 10px 0 10px 0;
}

.signup input[type="email"] {
  width: 300px;
  max-width: 95%;  /* just for super narrow phones */
}

.signup input[type="submit"] {
  -webkit-appearance: button;
  background: var(--text-highlight);
  color: var(--bg-white);
  margin-left: 5px;
  cursor: pointer;
  transition: 0.2s;
}

.signup input[type="submit"]:hover {
  background-image: linear-gradient(rgba(255,255,255,0.05),rgba(255,255,255,0.1))!important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.2s linear;
}

.signup input[type="submit"]:active {
  background-color: var(--bg-white);
}

.signup-success {
  color: var(--text-bright);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  display: none;
}

.signup-error {
  color: var(--error);
  font-size: 18px;
  font-weight: 500;
}

@media only screen and (max-width: 1080px) {
  main aside {
    margin-bottom: 40px;
  }
  .full-bleed {
    margin-left: 0;
    width: 100%;
  }
  article ul li::before {
    margin-left: 0;
  }
}
