.starter-directory {
  max-inline-size: 1110px;
  padding-block: clamp(34px, 6vw, 72px) 24px;
}

.starter-directory-heading { max-inline-size: 710px; }
.starter-directory-heading h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.starter-directory-heading > p { margin-block-start: 13px; font-size: 1.0625rem; }

.starter-entry {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  gap: 24px clamp(24px, 5vw, 66px);
  align-items: start;
  margin-block-start: 40px;
  padding-block: 32px 10px;
  border-block-start: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.starter-entry h2 { font-size: clamp(1.65rem, 3.4vw, 2.25rem); }
.starter-entry p { margin-block-start: 9px; max-inline-size: 41ch; }
.starter-entry .actions { margin-block-start: 16px; }

.starter-example-links {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid var(--line);
}
.starter-example-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-block-size: 48px;
  border-block-end: 1px solid var(--line);
  font-size: .9375rem;
  font-weight: 550;
  text-decoration: none;
}
.starter-example-links a:hover { text-decoration: underline; }

.starter-tour {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(12px, 3vw, 22px);
  background: var(--muted);
  scroll-margin-top: 118px;
}
.starter-tour h3 { font-size: 1rem; font-weight: 650; }
.tour-choices { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 10px 16px; }
.tour-choice {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
  font-size: .875rem;
}
.tour-choice[aria-pressed='true'] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 550;
}
.tour-screens figure {
  width: min(100%, 290px);
  margin: 0 auto;
}
.tour-screens figure + figure { margin-block-start: 20px; }
.tour-screens[data-interactive] figure { margin-block-start: 0; }
.tour-screens .phone-frame { --phone-aspect: 770 / 1354; }
.tour-screens img { height: 100%; width: 100%; object-fit: contain; }
.tour-screens figcaption { margin-block-start: 12px; color: var(--secondary); font-size: .875rem; text-align: center; }

@media (max-width: 760px) {
  .starter-entry { grid-template-columns: 1fr; }
  .starter-entry .button { min-height: 44px; }
}
