:root {
  --page: #fff;
  --ink: #030303;
  --quiet: #606060;
  --soft: #7a7a7a;
  --faint: #969696;
  --line: #e7e7e7;
  --measure: 820px;
  --wide: 1120px;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.scroll-progress {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  opacity: .22;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: border-color 420ms ease, background 420ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, .92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--wide));
  min-height: 68px;
  margin: 0 auto;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 620;
  line-height: 1;
}

.wordmark span {
  font-weight: 360;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--quiet);
  font-size: .82rem;
  font-weight: 460;
}

.nav a {
  position: relative;
  padding: 10px 0;
  transition: color 260ms ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 460ms var(--ease);
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.home-main,
.blog-main,
.article-main {
  width: min(calc(100% - 40px), var(--measure));
  margin: 0 auto;
  padding: 23vh 0 12vh;
  animation: page-settle 820ms var(--ease) both;
}

.home-main {
  padding-top: max(176px, 29vh);
}

.blog-main {
  --measure: 920px;
}

@keyframes page-settle {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero {
  padding-bottom: 7vh;
}

h1,
h2,
h3,
p,
ol,
.eyebrow,
.meta,
.footer-line {
  margin: 0;
}

h1 {
  max-width: 12ch;
  color: var(--ink);
  font-size: 3.55rem;
  line-height: .96;
  font-weight: 650;
  letter-spacing: 0;
}

.blog-main h1,
.article-main h1 {
  max-width: 850px;
  margin-top: 4vh;
}

.content {
  padding-top: 8vh;
}

.content p {
  position: relative;
  color: var(--quiet);
  font-size: 1.26rem;
  font-weight: 380;
  transition: color 720ms var(--ease), opacity 720ms var(--ease);
}

.content p + p {
  margin-top: 1.12rem;
}

.content .lead,
.content .statement,
.content .plain-list,
.content .closing,
.content .goal {
  color: var(--ink);
}

.content .lead,
.content .statement,
.content .closing {
  margin-top: 12vh;
  font-size: 1.7rem;
  line-height: 1.22;
  font-weight: 560;
}

.content .plain-list {
  font-weight: 500;
}

.content .goal {
  margin-top: 6vh;
  font-size: 2.25rem;
  line-height: 1.08;
  font-weight: 650;
}

.eyebrow,
.kicker {
  color: var(--quiet);
  font-size: .84rem;
  font-weight: 520;
}

.intro,
.lede {
  max-width: 720px;
  margin-top: 5vh;
  color: var(--quiet);
  font-size: 1.26rem;
  line-height: 1.42;
  font-weight: 380;
}

.research {
  display: grid;
  gap: 18px;
  margin-top: 10vh;
  padding-top: 6vh;
  border-top: 1px solid var(--line);
}

.research p {
  color: var(--quiet);
  font-size: 1.02rem;
}

.research-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 520;
}

.research-links a,
.article-main a:not(.wordmark):not(.nav a):not(.back):not(.next) {
  border-bottom: 1px solid currentColor;
}

.post-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin-top: 12vh;
  list-style: none;
  border-top: 1px solid var(--line);
}

.post-card {
  display: block;
  padding: 7vh 0;
  border-bottom: 1px solid var(--line);
  transition: padding 560ms var(--ease), border-color 560ms ease, opacity 560ms ease;
}

.post-card:hover,
.post-card:focus-visible {
  padding-right: 10px;
  padding-left: 10px;
  border-color: var(--ink);
  outline: none;
}

.meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--faint);
  font-size: .82rem;
  font-weight: 440;
}

.article-meta {
  margin-top: 5vh;
}

.blog-main h2 {
  max-width: 820px;
  margin-top: 4vh;
  color: var(--ink);
  font-size: 2.15rem;
  line-height: 1.08;
  font-weight: 620;
}

.summary {
  max-width: 720px;
  margin-top: 20px;
  color: var(--quiet);
  font-size: 1.12rem;
  line-height: 1.48;
  font-weight: 390;
}

.read,
.back,
.next {
  display: inline-flex;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 520;
}

.back {
  color: var(--quiet);
}

.read {
  margin-top: 4vh;
}

.read::after {
  width: 46px;
  height: 1px;
  margin: auto 0 auto 12px;
  background: currentColor;
  content: "";
  transform: scaleX(.55);
  transform-origin: left;
  transition: transform 460ms var(--ease);
}

.post-card:hover .read::after,
.post-card:focus-visible .read::after {
  transform: scaleX(1);
}

.cta {
  margin-top: 12vh;
  padding: 7vh 0 0;
  border-top: 1px solid var(--line);
}

.cta h2 {
  margin-top: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.cta p {
  max-width: 660px;
  margin-top: 18px;
  color: var(--quiet);
  font-size: 1.08rem;
}

.cta a {
  display: inline-flex;
  margin-top: 30px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: .92rem;
  font-weight: 520;
}

.article-main article {
  margin-top: 9vh;
  padding-top: 7vh;
  border-top: 1px solid var(--line);
}

.article-main h2 {
  margin: 7vh 0 0;
  color: var(--ink);
  font-size: 1.72rem;
  line-height: 1.14;
  font-weight: 620;
}

.article-main p {
  color: var(--quiet);
}

.article-main article p {
  position: relative;
  margin: 1.2rem 0 0;
  transition: color 720ms var(--ease), opacity 720ms var(--ease);
}

.article-main strong {
  color: var(--ink);
  font-weight: 560;
}

.callout,
.sources,
.faq {
  margin-top: 7vh;
  padding: 4vh 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.callout p:first-child,
.sources p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-weight: 560;
}

.faq h2 {
  margin-top: 0;
}

details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

details:last-child {
  border-bottom: 0;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 560;
}

summary::marker {
  color: var(--quiet);
}

.next {
  margin-top: 8vh;
}

.reveal {
  opacity: 1;
  transform: none;
}

.site-footer {
  width: min(calc(100% - 40px), var(--wide));
  margin: 0 auto;
  padding: 8vh 0 6vh;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: .9rem;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-line:first-child {
  color: var(--ink);
  font-weight: 520;
}

.site-footer a {
  transition: color 260ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

::selection {
  background: var(--ink);
  color: var(--page);
}

@media (min-width: 720px) {
  body {
    font-size: 20px;
  }

  .header-inner,
  .site-footer {
    width: min(calc(100% - 96px), var(--wide));
  }

  .wordmark {
    font-size: 1.1rem;
  }

  .nav {
    gap: 30px;
  }

  .home-main,
  .blog-main,
  .article-main {
    width: min(calc(100% - 96px), var(--measure));
    padding-top: 24vh;
  }

  .home-main {
    padding-top: max(210px, 31vh);
  }

  .blog-main {
    --measure: 920px;
  }

  h1 {
    font-size: 5.35rem;
  }

  .intro,
  .lede {
    font-size: 1.42rem;
  }

  .content p {
    font-size: 1.42rem;
  }

  .content .lead,
  .content .statement,
  .content .closing {
    font-size: 2.06rem;
  }

  .content .goal {
    font-size: 3rem;
  }

  .blog-main h2 {
    font-size: 3rem;
  }

  .summary {
    font-size: 1.24rem;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 62px;
  }

  .nav {
    gap: 16px;
    font-size: .78rem;
  }

  h1 {
    font-size: 3rem;
  }

  .content .goal {
    font-size: 2rem;
  }

  .meta,
  .article-meta {
    display: grid;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .home-main,
  .blog-main,
  .article-main {
    animation: none;
  }

  .scroll-progress {
    display: none;
  }
}
