.screenshot {
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(0, 0, 0, var(--opacity-shadow-normal, 0.15));
}

.home-hero {
  isolation: isolate;
  position: relative;
  color: var(--origin-color-text-base-default);
  margin-bottom: 2.5em;
  padding: 1.5rem 0;
}

.home-hero::before {
  position: absolute;
  z-index: -1;
  top: -2.5rem;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  content: '';
  background:
    linear-gradient(135deg, transparent 0 68%, var(--origin-purple-10) 68% 77%, transparent 77%),
    linear-gradient(35deg, transparent 0 83%, var(--origin-purple-enterprise-10) 83%),
    linear-gradient(
      112deg,
      var(--origin-purple-20) 0%,
      var(--origin-purple-0) 48%,
      var(--origin-purple-10) 48%,
      var(--origin-purple-10) 62%,
      var(--origin-purple-20) 100%
    );
}

.home-hero h1 {
  color: var(--origin-color-text-base-default);
  text-align: center;
}

.home-hero p:last-child {
  margin-bottom: 2rem;
}

.home-hero p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

li.yes,
li.no {
  padding-left: 0.5rem;
}

li.yes {
  list-style-type: '✅';
}

li.no {
  list-style-type: '❌';
}

div.yes pre code {
  background-color: #f1f9f1;
}

div.no pre code {
  background-color: #f9f1f1;
}

.landing-row {
  display: flex;
  gap: 5em;
}

.landing-row-reverse {
  flex-direction: row-reverse;
}

@media (max-width: 800px) {
  .landing-row {
    flex-direction: column-reverse;
    gap: 0;
  }
}

.landing-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tutorial-row {
  display: grid;
}

@media (min-width: 1000px) {
  .tutorial-row {
    gap: 2em;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }
}

.tutorial-row > * {
  overflow: auto;
}

.tutorial-row img.screenshot {
  box-shadow: none;
  border: 1px solid var(--md-default-fg-color--lightest);
}

.box-row {
  display: grid;
  gap: 1em;
}

@media (min-width: 800px) {
  .box-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.box-item {
  border: 0.05rem solid var(--md-default-fg-color--lightest);
  padding: 0 2em;
  display: flex;
  flex-direction: column;
}

.box-item p:first-of-type {
  flex: 1;
}

/* Hide the anchor link for headings in boxes. */
.box-item .headerlink {
  display: none;
}

/* Early Access Admonition */

:root {
  --md-admonition-icon--early-access: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path d="M6 0a6 6 0 1 1 0 12A6 6 0 0 1 6 0m3 5H3v2h6Z"/></svg>');
}
.md-typeset .admonition.early-access,
.md-typeset details.early-access {
  border-color: rgb(255, 204, 77);
}
.md-typeset .early-access > .admonition-title,
.md-typeset .early-access > summary {
  background-color: rgb(255, 204, 77, 0.1);
}
.md-typeset .early-access > .admonition-title::before,
.md-typeset .early-access > summary::before {
  background-color: rgb(255, 204, 77);
  -webkit-mask-image: var(--md-admonition-icon--early-access);
  mask-image: var(--md-admonition-icon--early-access);
}

/* Surface-specific admonitions (Superhuman Docs and Superhuman Go) */

:root {
  --md-admonition-icon--docs: url('data:image/svg+xml;charset=utf-8,<svg viewBox="2.084 2.136 15.834 15.834" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" fill="currentColor" d="M15.834 12.188C15.834 11.897 15.41 11.791 15.254 12.037C14.408 13.375 13.271 14.512 11.933 15.358C11.687 15.514 11.793 15.938 12.084 15.938C13.647 15.938 14.428 15.938 14.975 15.54C15.152 15.412 15.308 15.256 15.436 15.079C15.834 14.532 15.834 13.75 15.834 12.188M7.917 4.271C6.355 4.271 5.574 4.271 5.026 4.669C4.849 4.798 4.694 4.953 4.565 5.13C4.168 5.678 4.168 6.459 4.168 8.021L4.168 12.188C4.168 13.75 4.168 14.532 4.565 15.079C4.694 15.256 4.849 15.412 5.026 15.54C5.447 15.846 6.006 15.916 6.951 15.932C11.695 15.591 15.484 11.803 15.829 7.059C15.813 6.112 15.742 5.552 15.436 5.13C15.308 4.953 15.152 4.798 14.975 4.669C14.428 4.271 13.647 4.271 12.084 4.271L7.917 4.271M11.042 8.854C11.388 8.854 11.667 9.134 11.667 9.479C11.667 9.824 11.388 10.104 11.042 10.104L6.876 10.104C6.531 10.104 6.251 9.824 6.251 9.479C6.251 9.134 6.531 8.854 6.876 8.854L11.042 8.854M13.126 6.354C13.471 6.354 13.75 6.634 13.751 6.979C13.751 7.325 13.471 7.604 13.126 7.604L6.876 7.604C6.531 7.604 6.251 7.324 6.251 6.979C6.251 6.634 6.531 6.354 6.876 6.354L13.126 6.354Z"></path></svg>');
  --md-admonition-icon--go: url('data:image/svg+xml;charset=utf-8,<svg viewBox="1.632 1.594 16.787 16.787" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M10.024 3.187C11.14 3.187 12.043 4.089 12.043 5.201C12.043 6.313 11.14 7.214 10.024 7.214C8.909 7.214 8.005 6.313 8.005 5.201C8.005 4.089 8.909 3.187 10.024 3.187M13.834 16.453L13.836 16.453L10.331 14.534C10.14 14.429 9.908 14.429 9.718 14.534L6.213 16.453C5.649 16.762 5.034 16.136 5.359 15.585L9.477 8.608C9.721 8.192 10.326 8.192 10.57 8.608L14.688 15.585C15.013 16.136 14.4 16.762 13.834 16.453Z"></path></svg>');
}

.md-typeset .admonition.docs,
.md-typeset details.docs,
.md-typeset .admonition.go,
.md-typeset details.go {
  border-color: var(--origin-color-mulberry-contrast-high);
}

.md-typeset .docs > .admonition-title,
.md-typeset .docs > summary,
.md-typeset .go > .admonition-title,
.md-typeset .go > summary {
  background-color: color-mix(in srgb, var(--origin-color-mulberry-contrast-high) 10%, transparent);
}

.md-typeset .docs > .admonition-title::before,
.md-typeset .docs > summary::before {
  background-color: var(--origin-color-mulberry-contrast-high);
  -webkit-mask-image: var(--md-admonition-icon--docs);
  mask-image: var(--md-admonition-icon--docs);
}

.md-typeset .go > .admonition-title::before,
.md-typeset .go > summary::before {
  background-color: var(--origin-color-mulberry-contrast-high);
  -webkit-mask-image: var(--md-admonition-icon--go);
  mask-image: var(--md-admonition-icon--go);
}

.md-typeset hr {
  margin: 3em 0;
}

.nowrap {
  white-space: nowrap;
}
