.two-tablets-page {
  --terra-d: #a44320;
}

.two-tablets-page .btn-primary {
  background: var(--terra-d);
}

.two-tablets-page a:focus-visible {
  outline: 2px solid var(--terra-d);
  outline-offset: 3px;
}

.two-tablets-page .article-main h1 {
  font-size: clamp(1.95rem, 5vw, 3.1rem);
  text-wrap: balance;
}

.tablet-flow {
  margin: 20px 0;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--cream2);
}

.tablet-flow-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.tablet-flow-device {
  display: grid;
  gap: 8px;
  text-align: center;
}

.tablet-flow-device span,
.tablet-flow figcaption {
  color: #5d564e;
  font-size: .9rem;
}

.tablet-flow-screen {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 6px solid #312721;
  border-radius: var(--r-sm);
  background: #23201b;
  box-shadow: var(--shadow-sm);
}

.tablet-flow-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tablet-flow-network {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--terra-d);
  font-size: .88rem;
}

.tablet-flow-network strong {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  white-space: nowrap;
}

.tablet-flow-arrow {
  font-size: 1.2rem;
  line-height: 1;
}

.tablet-flow figcaption {
  margin-top: 16px;
  text-align: center;
}

.article-copy .tablet-extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.article-copy .tablet-extras li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
}

.tablet-extras img {
  height: auto;
}

@media (max-width: 640px) {
  .tablet-flow-diagram,
  .article-copy .tablet-extras {
    grid-template-columns: minmax(0, 1fr);
  }

  .tablet-flow-network {
    flex-direction: column;
    justify-self: center;
  }

  .tablet-flow-arrow {
    transform: rotate(90deg);
  }
}
