:root {
  --home-icon-size: 64px;
  --home-device-icon: 16px;
  --home-device-text: 0.75rem;
}

.home-screenshot {
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 24px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-board);
}

.home-screenshot > img {
  display: block;
  width: min(100%, 250px);
  height: auto;
  border-radius: 10px;
}

.home-feature-board .feature-tabs {
  grid-column: 1;
  grid-row: 1;
}

.home-feature-board .feature-paper {
  grid-column: 2;
  grid-row: 1;
}

.home-store-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.home-store-note > * {
  min-width: 0;
}

.home-store-note p:last-child {
  margin-bottom: 0;
}

.home-routing {
  margin-top: var(--space-8);
}

.home-routing p {
  max-width: 64em;
}

.home-verification {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding: var(--space-7);
  margin-bottom: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-panel-2);
}

.home-verification > div {
  min-width: 0;
  flex: 1 1 240px;
  overflow-wrap: anywhere;
}

.home-verification p:last-child {
  margin-bottom: 0;
}

.home-verification .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.home-app-icon {
  display: block;
  flex-shrink: 0;
  width: var(--home-icon-size);
  height: var(--home-icon-size);
  border: 1px solid var(--border);
  border-radius: var(--radius-board);
}

.home-fact-grid p {
  color: var(--text-muted);
  line-height: var(--leading-prose);
}

.home-purchase-callout {
  margin-top: var(--space-8);
  line-height: var(--leading-prose);
}

.home-questions {
  margin-top: var(--space-11);
}

@media (max-width: 768px) {
  .home-feature-board .feature-tabs {
    grid-column: 1;
    grid-row: 1;
  }

  .home-feature-board .feature-paper {
    grid-column: 1;
    grid-row: 2;
  }

  .home-store-note {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .home-store-note .appstore-button {
    justify-self: start;
  }

  .home-devices {
    padding-inline: var(--space-4);
  }

  .home-devices .dev-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: var(--space-2);
  }

  .home-devices .dev {
    gap: var(--space-1);
    min-height: 44px;
    font-size: var(--home-device-text);
    white-space: nowrap;
  }

  .home-devices .dev svg {
    width: var(--home-device-icon);
    height: var(--home-device-icon);
  }
}