:root {
  --ink: #18201d;
  --muted: #6d736f;
  --paper: #f4f0e8;
  --paper-light: #fffdf7;
  --moss: #27443c;
  --blue: #546979;
  --ember: #bc5139;
  --line: rgba(24, 32, 29, 0.2);
  --line-strong: rgba(24, 32, 29, 0.72);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(39, 68, 60, 0.055) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(180deg, rgba(255, 253, 247, 0.86), rgba(244, 240, 232, 0.96)),
    var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ember);
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--line-strong);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 52px;
  width: min(320px, 28vw);
  height: 88px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, var(--ember) 0 18%, transparent 18% 23%, var(--blue) 23% 42%, transparent 42% 49%, var(--moss) 49% 100%);
  content: "";
}

.hero.compact::after {
  display: none;
}

.eyebrow,
.component-row span,
.component-row em,
.footer {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7.6vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.component-list {
  border-top: 2px solid var(--ink);
}

.component-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(128px, 0.24fr);
  gap: 24px;
  align-items: center;
  min-height: 126px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}

.component-row strong {
  font-size: 34px;
  line-height: 1.08;
}

.component-row span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--moss);
}

.component-row em {
  justify-self: end;
  color: var(--moss);
  font-style: normal;
}

.component-row.muted {
  background: rgba(255, 253, 247, 0.5);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  padding: 28px 0 36px;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding: 52px 0 46px;
  }

  .hero::after {
    position: static;
    display: block;
    width: 100%;
    margin-top: 34px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .component-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
  }

  .component-row strong {
    font-size: 28px;
  }

  .component-row em {
    grid-column: 2;
    justify-self: start;
  }
}
