.home .site-main,
body.home .site-main {
  width: min(1120px, calc(100% - 3rem));
}

.home h1,
.home h2,
.home-unknown h1 {
  margin: 0;
  font-weight: var(--mk-weight-bold);
  letter-spacing: -0.03em;
}

.home h2,
.home h3,
.home p {
  margin: 0;
}

.home-lead,
.home-note,
.home-aside,
.home-points,
.home-steps p,
.home-reasons p,
.home-final p {
  color: var(--color-muted);
}

.home-lead {
  max-width: 36rem;
  margin-top: 0.8rem;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: center;
  padding: 3.2rem 0 1.6rem;
}

.home-field {
  position: relative;
  display: grid;
  gap: 0.45rem;
  max-width: 28rem;
  margin-top: 1.6rem;
}

.home-field label {
  font-size: var(--text-caption);
  color: var(--color-muted);
}

.home-field input[type="text"],
.home-field select {
  box-sizing: border-box;
  width: 100%;
  height: 2.75rem;
  padding: 0 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
}

.home-field input:focus,
.home-field select:focus {
  outline: none;
  border-color: var(--mk-color-accent);
  box-shadow: 0 0 0 3px rgba(198, 38, 40, 0.12);
}

.home-field .mk-button {
  justify-self: start;
  margin-top: 0.45rem;
}

.home-field .mk-button:disabled {
  background: var(--mk-color-disabled);
  border-color: var(--mk-color-disabled);
  color: var(--mk-color-disabled-text);
  cursor: not-allowed;
}

.home-suggest {
  position: absolute;
  z-index: 5;
  top: 4.7rem;
  left: 0;
  right: 0;
  padding: 0.25rem 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
}

.home-suggest button,
.home-suggest p {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.8rem;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  text-align: left;
}

.home-suggest button {
  cursor: pointer;
}

.home-suggest button:hover {
  background: var(--color-surface);
}

.home-aside {
  margin-top: 0.9rem;
}

.home-aside a,
.home-actions a,
.home-unknown a {
  color: var(--color-text);
}

.home-stage {
  display: grid;
  gap: 0.8rem;
}

.home-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.home-photo img,
.home-stage > img,
.home-final img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-related li {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  color: var(--color-muted);
  font-size: var(--text-caption);
}

.home-related img {
  display: block;
  width: 100%;
  height: 4.5rem;
  object-fit: contain;
  background: var(--color-surface);
}

.home-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--color-border);
  list-style: none;
}

.home-section {
  padding: 4.2rem 0 0;
}

.home-section h2,
.home-final h2 {
  margin-bottom: 1.1rem;
}

.home-steps,
.home-reasons,
.home-cats,
.home-reviews,
.home-cabinet,
.home-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.home-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
}

.home-steps span {
  color: var(--color-muted);
  font-size: 1.25rem;
}

.home-steps h3,
.home-reasons h3 {
  margin: 0 0 0.3rem;
  font-size: var(--mk-body-size);
  font-weight: var(--mk-weight-semibold);
}

.home-lines {
  display: grid;
  gap: 0;
  max-width: 40rem;
  margin-top: 1.2rem;
}

.home-lines li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid var(--color-border);
}

.home-lines img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  background: var(--color-surface);
}

.home-lines p:last-child {
  color: var(--color-muted);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  align-items: center;
  margin-top: 1.4rem;
}

.home-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem 3rem;
}

.home-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-cats a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
}

.home-cats small {
  color: var(--color-muted);
}

.home-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.home-kicker {
  margin-bottom: 0.35rem;
  color: var(--color-muted);
  font-size: var(--text-caption);
}

.home-cabinet {
  display: grid;
  gap: 0.45rem;
  color: var(--color-text);
}

.home-faq {
  max-width: 40rem;
}

.home-faq details {
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-border);
}

.home-faq summary {
  cursor: pointer;
  font-weight: var(--mk-weight-semibold);
}

.home-faq p {
  margin-top: 0.45rem;
  color: var(--color-muted);
}

.home-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 18rem);
  gap: 2rem;
  align-items: center;
  margin-top: 4.2rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--color-border);
}

.home-final .mk-button {
  margin-top: 1rem;
}

.home-photo-small {
  min-height: 12rem;
}

.home-unknown {
  max-width: 36rem;
  padding-top: 1rem;
}

.home-unknown p {
  margin-top: 0.8rem;
}

@media (max-width: 800px) {
  .home-hero,
  .home-steps,
  .home-reasons,
  .home-reviews,
  .home-final,
  .home-points {
    grid-template-columns: 1fr;
  }

  .home-cats {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 560px) {
  body.home .site-main {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .home-cats,
  .home-related {
    grid-template-columns: 1fr;
  }

  .home-actions .mk-button {
    width: 100%;
  }
}
