/* Shared pieces for app screens and inset lists. Used by the home page and the app page. */

/* A phone: a rounded frame around one screenshot. */
.app-phone {
  position: relative;
  padding: 8px;
  border-radius: 44px;
  background: #0B0C10;
  border: 1px solid #2A2F3B;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), 0 20px 48px rgba(0, 0, 0, 0.45);
}

.app-phone .app-phone-img {
  border-radius: 36px;
  overflow: hidden;
}

.app-phone img {
  width: 100%;
  height: auto;
  border-radius: 36px;
}

/* The screens strip. Captions sit below the phone unless a variant says otherwise. */
.screens {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.screen {
  flex: 0 0 auto;
}

.screen-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.screen-cap {
  display: grid;
  gap: 8px;
  max-width: 34ch;
}

.screen-h {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
}

.screen-text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-2);
}

/* The inset list rows: a glyph tile, a title and a line of text, and the chevron from base.css. */
.group-item {
  position: relative;
}

.group-item + .group-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 0;
  height: 1px;
  background: var(--line);
}

.group-list .group-row {
  grid-template-columns: auto 1fr auto;
  min-height: 64px;
  width: 100%;
}

.row-glyph {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--page);
  color: var(--text);
}

.row-glyph-svg {
  width: 20px;
  height: 20px;
}

.row-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.group-row-title {
  font-size: 17px;
}


