/* The landing page: paper, sumi ink and one vermilion route through it. */
.landing main {
  margin-inline: auto;
  max-width: 72rem;
  padding-inline: 1.25rem;
}

.landing code {
  font-size: 0.9em;
  background: color-mix(in oklab, var(--ezu-ochre) 16%, transparent);
  border-radius: 0.25em;
  padding: 0.05em 0.3em;
}

.landing .lc-code-block code {
  background: none;
  padding: 0;
}

.hero {
  padding-block: 4rem 3rem;
  max-width: 48rem;
}

.hero__kicker {
  color: var(--ezu-shu-text);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hero__title {
  line-height: 1.05;
}

/* A dotted road under the words, like a route drawn on the map. */
.route-mark {
  text-decoration: underline dotted var(--ezu-shu);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

.hero__lede {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.band {
  border-top: 1px solid var(--border);
  padding-block: 3.5rem;
}

.band__intro {
  max-width: 40rem;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 60rem) {
  .band--split {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 3rem;
    align-items: start;
  }
}

.repos {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 60rem) {
  .repos {
    grid-template-columns: 1fr auto 1fr;
  }
}

.repo {
  background: var(--card);
  border: 1.5px solid var(--ezu-sumi);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.repo--tool {
  border-style: dashed;
}

.repo__name {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.repo__name span {
  font-family: var(--font-sans, system-ui);
  font-weight: 400;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.repo__files {
  display: grid;
  gap: 0.6rem;
}

.repo__files li {
  display: grid;
  gap: 0.1rem;
}

.repo__files span {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.repo__out {
  border-top: 1px dotted var(--border);
  padding-top: 0.6rem;
}

.repos__arrow {
  display: grid;
  place-items: center;
  color: var(--ezu-shu-text);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.8rem;
}

.repos__arrow span {
  border-bottom: 2px dotted var(--ezu-shu);
  padding: 0.25rem 0.5rem;
}

.repos__arrow span::after {
  content: " ⇄";
}

.run {
  counter-reset: run;
  display: grid;
  gap: 1rem;
}

@media (min-width: 60rem) {
  .run {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.run li {
  counter-increment: run;
  position: relative;
  padding-top: 2.75rem;
  color: var(--muted-foreground);
  font-size: 0.925rem;
  line-height: 1.55;
}

.run li strong {
  display: block;
  color: var(--foreground);
}

/* Each step is a numbered hall on the road. */
.run li::before {
  content: counter(run);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--ezu-shu);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}

@media (min-width: 60rem) {
  .run li::after {
    content: "";
    position: absolute;
    top: 1rem;
    left: 2.5rem;
    right: -0.5rem;
    border-top: 2px dotted var(--ezu-ochre);
  }

  .run li:last-child::after {
    display: none;
  }
}

.cta {
  border-top: 1px solid var(--border);
  padding-block: 4rem 5rem;
  text-align: center;
  display: grid;
  justify-items: center;
}

.cta__mark {
  margin-bottom: 1.5rem;
}

.cta__text {
  margin-top: 1rem;
  max-width: 36rem;
  color: var(--muted-foreground);
}

.landing-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin-inline: auto;
  padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.landing-footer__links {
  display: flex;
  gap: 1.25rem;
}

.landing-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.landing-footer__links svg {
  width: 1rem;
  height: 1rem;
}
