.home-shell {
  padding-top: 44px;
}

.home-page {
  width: min(1080px, 100%);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  gap: 42px;
  align-items: center;
  margin-bottom: 34px;
}

.home-copy h1 {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: 3.4rem;
  letter-spacing: 0;
}

.home-copy .lede {
  max-width: 620px;
  font-size: 1.1rem;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button.secondary {
  border-color: #b9c9ed;
  background: var(--surface);
  color: var(--accent-dark);
}

.button.secondary:hover {
  border-color: var(--accent);
  background: var(--surface-blue);
}

.installed-panel {
  max-width: 620px;
  border: 1px solid #a9db73;
  border-radius: 8px;
  background: #f5ffe8;
  padding: 18px;
}

.installed-panel p {
  margin-bottom: 14px;
  color: #315f0e;
}

.installed-panel a:not(.button) {
  color: #183d91;
  font-weight: 800;
}

.installed-title {
  margin-bottom: 4px;
  color: #1e4f06;
  font-size: 1.05rem;
  font-weight: 850;
}

.handoff-panel {
  position: relative;
  display: grid;
  min-height: 330px;
  align-content: center;
  gap: 22px;
  overflow: hidden;
  border: 1px solid #c5d5f6;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #fbfdff 0 52%, #e7efff 52% 100%);
  box-shadow: var(--shadow);
  padding: 28px;
}

.handoff-browser {
  position: absolute;
  top: 20px;
  left: 24px;
  display: flex;
  gap: 8px;
}

.handoff-browser span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.handoff-browser span:nth-child(2) {
  background: var(--lime);
}

.handoff-browser span:nth-child(3) {
  background: var(--accent);
}

.handoff-download,
.handoff-upload {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px 20px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
  box-shadow: 0 12px 34px rgb(24 61 145 / 8%);
}

.handoff-download {
  justify-self: start;
}

.handoff-upload {
  justify-self: end;
  min-width: 190px;
  border-style: dashed;
  color: var(--accent-dark);
}

.handoff-arrow {
  width: min(220px, 70%);
  height: 3px;
  justify-self: center;
  background: var(--accent);
}

.handoff-arrow::after {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  margin: -5px 0 0 auto;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  transform: rotate(45deg);
}

.how-it-works {
  display: grid;
  gap: 16px;
}

.how-it-works h2 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  min-height: 180px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 12px 34px rgb(24 61 145 / 7%);
}

.step-list span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 850;
}

.step-list strong {
  display: block;
  margin-bottom: 6px;
}

.step-list p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 840px) {
  .home-hero,
  .step-list {
    grid-template-columns: 1fr;
  }

  .home-copy h1 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .handoff-panel {
    min-height: 280px;
  }
}

@media (max-width: 720px) {
  .home-shell {
    padding-top: 32px;
  }

  .home-hero {
    gap: 24px;
  }

  .home-copy .lede {
    font-size: 1rem;
  }

  .home-actions {
    align-items: stretch;
  }

  .handoff-panel {
    padding: 24px 18px;
  }
}
