.uc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.uc-demo-stage { display: grid; justify-items: center; min-width: 0; }
.uc-app-demo { width: min(100%, 320px); }
.uc-app-demo iframe { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; border: 0; background: transparent; color-scheme: dark; }
.uc-app-demo figcaption { margin: 14px 0 0; color: var(--vm-faint); font-size: 0.78rem; line-height: 1.6; text-align: center; }
.uc-language-note { margin: 10px 12px 4px; color: var(--vm-faint); font-size: 0.7rem; line-height: 1.5; }

.uc-prompts-section { border-block: 1px solid var(--vm-line); background: rgba(255, 255, 255, 0.018); }
.uc-prompts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; }
.uc-prompt { padding-top: 20px; border-top: 1px solid var(--vm-line); }
.uc-prompt h3 { margin: 0; color: var(--vm-ink); font-size: 1.1rem; line-height: 1.4; }
.uc-prompt p { max-width: 470px; margin: 10px 0 0; color: var(--vm-muted); font-size: 0.97rem; line-height: 1.7; }
.uc-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 84px); align-items: start; }
.uc-keeps { margin-top: 0; }
.uc-boundary { margin: 28px 0 0; color: var(--vm-faint); font-size: 0.9rem; line-height: 1.7; }

.uc-related-section { padding-top: 24px; }
.uc-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.uc-related-link { padding-top: 22px; border-top: 1px solid var(--vm-line); text-decoration: none; }
.uc-related-link h3 { display: flex; justify-content: space-between; gap: 14px; margin: 0; color: var(--vm-ink); font-size: 1.05rem; line-height: 1.5; }
.uc-related-link h3 span { color: var(--vm-pink); }
.uc-related-link p { margin: 10px 0 0; color: var(--vm-muted); font-size: 0.93rem; line-height: 1.65; }
.uc-related-link:hover h3 { color: var(--vm-pink); }
.uc-related-link:focus-visible { outline: 2px solid var(--vm-pink); outline-offset: 6px; border-radius: 4px; }

@media (max-width: 980px) {
  .uc-hero-grid { gap: 30px; }
  .uc-hero-grid .vm-actions .button { width: 100%; justify-content: center; }
}

@media (max-width: 720px) {
  .uc-hero-grid, .uc-context, .uc-prompts, .uc-related { grid-template-columns: 1fr; }
  .uc-hero-grid { gap: 36px; }
  .uc-prompts { gap: 24px; }
  .uc-related { gap: 24px; }
  .uc-context { gap: 28px; }
}
